Make search in reftex-using-biblatex-p non-greedy.
[bpt/emacs.git] / lisp / ChangeLog
1 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com>
2
3 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
4 for comment lines non-greedy and stopping at newlines to fix stack
5 overflows with large files.
6
7 2014-06-24 Eli Barzilay <eli@barzilay.org>
8
9 * calculator.el (calculator-last-input): drop 'ascii-character property
10 lookup.
11
12 2014-06-24 Leo Liu <sdl.web@gmail.com>
13
14 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
15 tab-stop-list to nil. (Bug#16381)
16
17 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
18 (indent-rigidly-left-to-tab-stop)
19 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
20 (move-to-tab-stop): Change callers.
21
22 2014-06-24 Eli Zaretskii <eliz@gnu.org>
23
24 * skeleton.el (skeleton-insert): Yet another fix of the doc string
25 wrt behavior of \n as the first/last element of a skeleton.
26
27 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
28
29 * net/tramp-adb.el (tramp-adb-handle-process-file):
30 * net/tramp-sh.el (tramp-sh-handle-process-file):
31 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
32 the output buffer when DISPLAY is non-nil. (Bug#17815)
33
34 2014-06-24 Glenn Morris <rgm@gnu.org>
35
36 * play/landmark.el (landmark-move-down, landmark-move-up):
37 Fix 2007-10-20 change - preserve horizontal position.
38
39 2014-06-23 Sam Steingold <sds@gnu.org>
40
41 * simple.el (kill-append): Remove undo boundary depending on ...
42 (kill-append-merge-undo): New user option.
43
44 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
45
46 * simple.el (handle-shift-selection, exchange-point-and-mark)
47 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
48 (transient-mark-mode): Use&set the global value.
49 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
50 * emulation/edt.el (edt-emulation-off): Save&restore the global
51 transient-mark-mode setting.
52 * obsolete/pc-select.el (pc-selection-mode): Use the
53 transient-mark-mode function.
54
55 2014-06-23 Eli Zaretskii <eliz@gnu.org>
56
57 * international/fontset.el (script-representative-chars):
58 Add representative characters for scripts added in Unicode 7.0.
59 (otf-script-alist): Synchronize with the latest registry of OTF
60 script tags.
61
62 * international/characters.el (char-script-table): Update for
63 scripts added and codepoint ranges changed in Unicode 7.0.
64
65 2014-06-23 Eli Barzilay <eli@barzilay.org>
66
67 * calculator.el (calculator-standard-displayer): Fix bug in use of
68 `calculator-groupize-number'.
69 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
70 `eval' code, so it works in v24.3.1 too.
71 (calculator-last-input): Comment to clarify purpose.
72
73 2014-06-22 Mario Lang <mlang@delysid.org>
74
75 * textmodes/rst.el (rst-comment-region): From from -> from.
76
77 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
78
79 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
80
81 * electric.el (electric-layout-post-self-insert-function):
82 * emacs-lisp/ert.el (ert--insert-infos):
83 * obsolete/vi.el (vi-set-mark):
84 * term.el (term-handle-scroll):
85 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
86 * wid-edit.el (widget-editable-list-value-create):
87 Prefer point-marker to copy-marker of point.
88
89 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
90
91 Fix completion retrieval parsing (bug#17209).
92 * progmodes/python.el (python-mode):
93 (python-util-strip-string): New function.
94 (python-shell-completion-get-completions): Use it.
95
96 2014-06-21 Eli Zaretskii <eliz@gnu.org>
97
98 * skeleton.el (skeleton-insert): Fix last change.
99
100 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
101
102 Enhancements for outline integration (bug#17796).
103 * progmodes/python.el (python-mode): Properly set
104 outline-heading-end-regexp so that comments after colons for
105 defuns are supported.
106
107 2014-06-21 Eli Zaretskii <eliz@gnu.org>
108
109 * skeleton.el (skeleton-insert): Doc fix.
110
111 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
112
113 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
114 (smie-config-guess): Use smie-config-local so the rules are obeyed
115 (bug#17818).
116
117 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
118 since it's already done inside the loop (bug#17819).
119
120 2014-06-21 Martin Rudalics <rudalics@gmx.at>
121
122 * mouse.el (mouse-drag-line): Re-remove code initially removed
123 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
124 (Bug#17819).
125
126 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
127
128 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
129 align with the surrounding parent (bug#17721).
130
131 2014-06-21 Eli Zaretskii <eliz@gnu.org>
132
133 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
134 locally to nil.
135 (texinfo-insert-block, texinfo-insert-@end)
136 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
137 local setting of skeleton-end-newline by adding an explicit \n to
138 the skeletons where appropriate. (Bug#17801)
139
140 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
141
142 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
143 (smie-indent--hanging-p): Use it.
144 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
145
146 2014-06-21 Leo Liu <sdl.web@gmail.com>
147
148 * simple.el (read-quoted-char): Don't let help chars pop up help
149 buffer. (Bug#16617)
150
151 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
152
153 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
154 for | (bug#17621).
155
156 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
157 Drop unknown events instead of burping.
158
159 2014-06-21 Eli Zaretskii <eliz@gnu.org>
160
161 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
162 and later. (Bug#17790)
163
164 2014-06-21 Juri Linkov <juri@jurta.org>
165
166 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
167 to `soft'. (Bug#17554)
168
169 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
170
171 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
172 (bug#17737).
173
174 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
175
176 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
177 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
178
179 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
180
181 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
182 `unread-command-events'.
183
184 2014-06-19 William Xu <william.xwl@gmail.com>
185
186 * progmodes/hideif.el (hif-string-to-number): Don't return float for
187 hex integer constants (bug#17807).
188
189 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
190
191 * international/mule-util.el (truncate-string-ellipsis): New var.
192 (truncate-string-to-width): Use it.
193
194 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
195
196 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
197 (lisp-string-in-doc-position-p): New function, extracted from
198 lisp-font-lock-syntactic-face-function.
199 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
200
201 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
202
203 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
204
205 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
206
207 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
208 (bubbles--game-over): Don't add `intangible' properties since they
209 didn't work anyway.
210
211 2014-06-18 Juri Linkov <juri@jurta.org>
212
213 * vc/ediff-init.el (ediff-current-diff-Ancestor)
214 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
215 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
216 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
217 Add `min-colors 88' version with removed black/white foregrounds.
218 (Bug#10181)
219
220 2014-06-18 Juri Linkov <juri@jurta.org>
221
222 * vc/diff-mode.el (diff-changed): Empty face definition to use
223 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
224 (diff-context): Use darker color on light background and
225 lighter color on dark background.
226
227 2014-06-18 Juri Linkov <juri@jurta.org>
228
229 * vc/diff-mode.el (diff-refine-changed): Rename from
230 `diff-refine-change' for consistency with `diff-changed'.
231 (diff-refine-change): Add obsolete face alias. (Bug#10181)
232
233 * vc/smerge-mode.el (smerge-refined-changed): Rename from
234 `smerge-refined-change'.
235 (smerge-refined-change): Add obsolete face alias.
236
237 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
238
239 * rect.el (rectangle-preview): New custom.
240 (rectangle): New group.
241 (rectangle--pos-cols): Add `window' argument.
242 (rectangle--string-preview-state, rectangle--string-preview-window):
243 New vars.
244 (rectangle--string-flush-preview, rectangle--string-erase-preview)
245 (rectangle--space-to, rectangle--string-preview): New functions.
246 (string-rectangle): Use them.
247 (rectangle--inhibit-region-highlight): New var.
248 (rectangle--highlight-for-redisplay): Obey it. Make sure
249 `apply-on-region' uses the point-crutches of the right window.
250 Use :align-to rather than multiple spaces.
251
252 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
253
254 * ruler-mode.el (ruler-mode-window-col)
255 (ruler-mode-mouse-set-left-margin)
256 (ruler-mode-mouse-set-right-margin): Fix calculation of column
257 from mouse position (Bug#17768).
258
259 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
260
261 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
262 without varname or rhs causes crash.
263 (dun-ftp): Fix bug where blank ftp password is allowed, making it
264 impossible to win endgame.
265 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
266 rlogin is anymore.
267 (dun-help): Bump version number; update contact info.
268
269 2014-06-15 Eli Barzilay <eli@barzilay.org>
270
271 * calculator.el (calculator-prompt, calculator-remove-zeros)
272 (calculator-mode-hook, calculator-operators, calculator-stack)
273 (calculator-mode): Tweak docstring.
274 (calculator-user-operators): Tweak docstring, fix a bug in the last
275 example.
276 (calculator-displayer): `std' case has an optional boolean.
277 (calculator-displayers): Use the new boolean to group in decimal mode.
278 (calculator-mode-map, calculator, calculator-message)
279 (calculator-op-arity, calculator-add-operators)
280 (calculator-string-to-number, calculator-displayer-prev)
281 (calculator-displayer-next, calculator-remove-zeros)
282 (calculator-eng-display, calculator-number-to-string)
283 (calculator-update-display, calculator-last-input)
284 (calculator-clear-fragile, calculator-digit, calculator-decimal)
285 (calculator-exp, calculator-saved-move, calculator-clear)
286 (calculator-copy, calculator-put-value, calculator-help)
287 (calculator-expt, calculator-truncate): Minor code improvements.
288 (calculator-need-3-lines): New function pulling out code from
289 `calculator'.
290 (calculator-get-display): Rename from `calculator-get-prompt', and
291 improved.
292 (calculator-push-curnum): Rename from `calculator-curnum-value', and
293 extended for all uses of it. All callers changed.
294 (calculator-groupize-number): New utility for splitting a number into
295 groups.
296 (calculator-standard-displayer): Improve code, new optional argument to
297 use comma-split groups, make second argument optional too to use with
298 'left/'right inputs. All callers changed.
299 (calculator-reduce-stack-once): New utility, doing the meat of what
300 `calculator-reduce-stack' used to do, much improved (mostly using
301 `pcase' for conciseness and clarity).
302 (calculator-reduce-stack): Now doing just the reduction loop using
303 `calculator-reduce-stack-once'.
304 (calculator-funcall): Improve code, make it work in v24.3.1 too.
305 (calculator-last-input): Improve code, remove some old cruft.
306 (calculator-quit): Kill `calculator-buffer' in electric mode too.
307 (calculator-integer-p): Remove.
308 (calculator-fact): Improve code, make it work on non-integer values
309 too (using truncated numbers).
310
311 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
312
313 Sync with Tramp 2.2.10.
314
315 * net/tramp.el (tramp-methods): Tweak docstring.
316 (tramp-handle-file-accessible-directory-p): Check for
317 `file-readable-p' instead of `file-executable-p'.
318 (tramp-check-cached-permissions):
319 Use `tramp-compat-file-attributes'.
320 (tramp-call-process): Add new argument VEC. Adapt callees in all
321 tramp*.el files.
322
323 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
324 (tramp-adb-maybe-open-connection): Don't set
325 `tramp-current-*' variables.
326
327 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
328 file properties of temporary buffers.
329
330 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
331
332 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
333 (tramp-gvfs-handle-delete-file): Flush file
334 properties, not directory properties.
335 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
336 reading "unix::mode".
337 (tramp-gvfs-handle-file-name-all-completions):
338 Use "-h" option for "gvfs-ls".
339 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
340 (tramp-gvfs-send-command): Simplify traces.
341
342 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
343 (vc-git-program, vc-hg-program): Declare.
344 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
345 (tramp-methods) <nc>: Add new method.
346 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
347 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
348 `tramp-login-args'.
349 (tramp-default-user-alist): Add "nc".
350 (top): Remove completion function for "sftp". Add completion
351 functions for "nc" and "psftp".
352 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
353 Implement support for "nc" method.
354 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
355 (tramp-remote-coding-commands, tramp-call-local-coding-command):
356 Tweak docstring.
357 (tramp-sh-handle-write-region): Tweak error message.
358 (tramp-sh-handle-vc-registered): Remove backends when the remote
359 binary does not exist.
360 (tramp-find-inline-encoding): Do not raise an error.
361 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
362 the "nc" case. Quote result also locally.
363
364 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
365 (tramp-smb-handle-set-file-acl): Use `start-process'.
366 (tramp-smb-handle-insert-directory): Use progress reporter.
367 (tramp-smb-handle-rename-file): Flush also file properties of
368 FILENAME.
369
370 * net/trampver.el: Update release number.
371
372 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
373
374 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
375 add-to-list.
376 (ses-localvars): Remove ses--local-printer-list, unused.
377 (ses--metaprogramming): New macro. Use it to defvar variables.
378 (ses-set-localvars): Simplify.
379 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
380 property-list into an alist.
381 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
382 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
383 Remove; use defstruct accessors/setters instead.
384 (ses-cell-formula-aset, ses-cell-printer-aset)
385 (ses-cell-references-aset): Remove, use setf instead.
386 (ses--alist-get): New function.
387 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
388 Use an alist instead of a plist and don't do move-to-front since the
389 list is always short.
390 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
391 (ses-cell-property-set-fun, ses-cell-property-set)
392 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
393 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
394 (ses--letref): New macro.
395 (ses-cell-property-pop): Rewrite.
396 (ses--cell): Rename from ses-cell and make it into a function.
397 Make `formula' fallback on `value' if nil.
398 (ses--local-printer): Rename from ses-local-printer and make it into
399 a function.
400 (ses-set-cell): Turn it into a macro so finding the accessor from the
401 field name is done at compile time.
402 (ses-repair-cell-reference-all): Test presence of `sym' rather than
403 `ref' before adding `sym' to :ses-repair-reference.
404 (ses-calculate-cell): Use ses--letref rather than
405 ses-cell-property-get-handle.
406 (ses-write-cells): Use a single prin1-to-string.
407 (ses-setter-with-undo): New function.
408 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
409 (ses-unset-with-undo): Remove.
410 (ses-load): Prefer apply' over `eval'.
411 (ses-read-printer, ses-set-column-width): Use standard "(default
412 foo)" format.
413
414 2014-06-15 Glenn Morris <rgm@gnu.org>
415
416 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
417
418 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
419 Replace delete-duplicates and mapcan by cl- versions throughout.
420 And cl-macroexpand-all by macroexpand-all.
421 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
422
423 2014-06-15 Eli Zaretskii <eliz@gnu.org>
424
425 * subr.el (posn-col-row): Doc fix. (Bug#17768)
426
427 2014-06-15 Juri Linkov <juri@jurta.org>
428
429 * bindings.el: Put `ascii-character' property on keypad keys
430 mapped to characters. (Bug#17759)
431
432 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
433
434 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
435 bumping forward into a closing paren (bug#17761).
436
437 * term/xterm.el (xterm--version-handler): Work around for OSX
438 Terminal.app (bug#17607).
439
440 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
441
442 * play/dunnet.el (dun-describe-room, dun-mode):
443 If a lamp is in the room, you won't be eaten by a grue.
444
445 2014-06-13 Glenn Morris <rgm@gnu.org>
446
447 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
448 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
449 (compile-always): GNU make automatically passes
450 command-line arguments to sub-makes.
451
452 * calendar/calendar.el (calendar-generate-window):
453 Remove pointless call to font-lock-fontify-buffer.
454
455 2014-06-13 Matthias Meulien <orontee@gmail.com>
456
457 * simple.el (completion-list-mode-map): Navigate with tab and backtab
458 (bug#17767).
459
460 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
461
462 * simple.el (set-mark-command): Simplify a bit.
463
464 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
465
466 * help.el (help--key-binding-keymap): New function.
467 (help--binding-locus): New function.
468 (describe-key): Mention the keymap in which the binding was
469 found. (bug#13948)
470
471 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
472
473 * hippie-exp.el (he--all-buffers): New function.
474 (try-expand-line-all-buffers, try-expand-list-all-buffers)
475 (try-expand-dabbrev-all-buffers): Use it.
476
477 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
478
479 * hippie-exp.el (try-expand-line-all-buffers)
480 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
481 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
482 original buffer, in case they're buffer-local.
483
484 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
485
486 * ses.el (ses-initial-global-parameters-re): New defconst, a
487 specific regexp is needed now that ses.el can handle both
488 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
489 local printers.
490 (ses-localvars): Add local variables needed for local printer handling.
491 (ses-set-localvars): Handle hashmap initialisation.
492 (ses-paramlines-plist): Add param-line for number of local printers.
493 (ses-paramfmt-plist): New defconst, needed for code factorization
494 between functions `ses-set-parameter' and
495 `ses-file-format-extend-paramter-list'
496 (ses-make-local-printer-info): New defsubst.
497 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
498 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
499 (ses-cell-printer-aset): New defmacro.
500 (ses-local-printer-compile): New defun.
501 (ses-local-printer): New defmacro.
502 (ses-printer-validate, ses-call-printer): Add support for local
503 printer functions.
504 (ses-file-format-extend-paramter-list): New defun.
505 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
506 factorization.
507 (ses-load): Add support for local printer functions.
508 (ses-read-printer): Update docstring and add support for local printer
509 functions.
510 (ses-refresh-local-printer, ses-define-local-printer): New defun.
511 (ses-safe-printer): Add support for local printer functions.
512
513 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
514
515 * ffap.el (ffap-lax-url): New var (bug#17723).
516 (ffap-url-at-point): Use it.
517 (ffap-file-at-point): Avoid returning just "/".
518
519 2014-06-12 Matthias Meulien <orontee@gmail.com>
520
521 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
522 (python-mode-map): Bind it.
523
524 * progmodes/python.el (class skeleton): Don't erase last char of class
525 name (bug#17683).
526
527 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
528
529 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
530
531 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
532
533 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
534 (bug#17745).
535
536 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
537
538 * international/mule-cmds.el: Use lexical-binding.
539 (ucs-names): Simplify.
540
541 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
542
543 * progmodes/python.el (run-python): Use read-shell-command.
544
545 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
546
547 * rect.el: Make it possible to move bounds past EOL or into TABs.
548 (operate-on-rectangle): Use apply-on-rectangle.
549 (rectangle--mark-crutches): New var.
550 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
551 (rectangle--crutches, rectangle--reset-crutches): New functions.
552 (apply-on-rectangle): Obey crutches. Avoid setq.
553 Fix missing final iteration if end is at EOB&BOL.
554 (rectangle-mark-mode-map): Add remap bindings for
555 exchange-point-and-mark and char/line movements.
556 (rectangle--*-char): New function.
557 (rectangle-exchange-point-and-mark, rectangle-right-char)
558 (rectangle-left-char, rectangle-forward-char)
559 (rectangle-backward-char, rectangle-next-line)
560 (rectangle-previous-line): New commands.
561 (rectangle--place-cursor): New function.
562 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
563
564 2014-06-08 Glenn Morris <rgm@gnu.org>
565
566 * startup.el (initial-buffer-choice): Doc fix.
567 Reset :version (adding an option does not merit a :version bump).
568
569 * bookmark.el (bookmark-load):
570 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
571
572 2014-06-08 Juri Linkov <juri@jurta.org>
573
574 * desktop.el: Activate auto-saving on window configuration changes.
575 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
576 `desktop-auto-save-set-timer' to/from
577 `window-configuration-change-hook'.
578 (desktop-auto-save-set-timer): Change REPEAT arg of
579 `run-with-idle-timer' from t to nil.
580 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
581
582 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
583
584 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
585 vc-hg-command (bug#17570).
586
587 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
588
589 * international/mule-cmds.el (ucs-names): Add special entry for BEL
590 (bug#17702).
591
592 2014-06-08 Glenn Morris <rgm@gnu.org>
593
594 * startup.el (window-setup-hook): Doc fix.
595
596 * emacs-lisp/package.el (package-check-signature)
597 (package-unsigned-archives): Doc fixes.
598
599 2014-06-08 Martin Rudalics <rudalics@gmx.at>
600
601 * window.el (display-buffer-use-some-window): Don't make window
602 used smaller than it was before (Bug#17671).
603
604 2014-06-08 Eli Zaretskii <eliz@gnu.org>
605
606 * menu-bar.el (menu-bar-open): Fix last change: use the PC
607 'redisplay' instead of '(sit-for 0)'.
608
609 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
610
611 * net/tramp.el (tramp-ssh-controlmaster-options):
612 Improve search regexp. (Bug#17653)
613
614 2014-06-08 Glenn Morris <rgm@gnu.org>
615
616 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
617
618 2014-06-08 Eli Zaretskii <eliz@gnu.org>
619
620 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
621
622 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
623
624 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
625 (bug#17586).
626
627 * vc/vc-hg.el (vc-hg-log-graph): New var.
628 (vc-hg-print-log): Use it.
629 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
630 graph output (bug#17515).
631
632 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
633
634 * mouse.el (mouse-posn-property): Ignore buffer position info when the
635 even happened elsewhere.
636
637 2014-06-06 Mario Lang <mlang@delysid.org>
638
639 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
640 `recenter' if `current-buffer' is equal to `window-buffer'.
641
642 2014-06-05 Leo Liu <sdl.web@gmail.com>
643
644 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
645
646 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
647
648 * textmodes/tildify.el (tildify-foreach-region-outside-env):
649 New function which calls a callback on portions of the buffer that are
650 outside of ignored environments.
651 (tildify-build-regexp): Remove function since it is now
652 incorporated in `tildify-foreach-region-outside-env' where it is
653 optimised and simplified by the use of `mapconcat'.
654 (tildify-tildify): Return number of substitutions made so that…
655 (tildify-count): …can be removed.
656 (tildify-find-env): Accept a new PAIRS argument which was
657 previously looked up in `tildify-ignored-environments-alist' each
658 time the function was called. With this change, the lookup is
659 performed only once in `tildify-foreach-region-outside-env'.
660 (tildify-region): Greatly simplify the function since now most of
661 the work is done by `tildify-foreach-region-outside-env'.
662 (tildify-mode-alist): Simplify slightly by avoiding if and setq
663 and instead using or.
664
665 * textmodes/tildify.el (tildify-ignored-environments-alist):
666 Optimise environments regexes
667
668 Each time beginning of an environment to ignore is found,
669 `tildify-find-env' needs to identify regexp for the ending
670 of the environment. This is done by trying all the opening
671 regexes on matched text in a loop, so to speed that up, this
672 loop should have fewer things to match, which can be done by
673 using alternatives in the opening regexes.
674
675 Coincidentally, this should make matching of the opening
676 regexp faster as well thanks to the use of `regexp-opt' and
677 having common prefix pulled from many regexes.
678
679 * textmodes/tildify.el (tildify-string-alist)
680 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
681 of supported modes since `xml-mode' is no longer a thing but just
682 an alias to the former. Also include comments and insides of tags
683 in `tildify-ignored-environments-alist' for XML modes. Finally,
684 since XML does not define “&nbsp;”[1], use a numeric reference for
685 a no-break space (namely “&#160;”)
686
687 [1] XML specification defines only a handful of predefined entities.
688 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
689 and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
690 >, &, ' and " respectively). This is in contrast to HTML and even
691 XHTML which defined a whole bunch of entities including “&nbsp;”.
692
693 * textmodes/tildify.el (tildify-pattern-alist)
694 (tildify-string-alist, tildify-ignored-environments-alist):
695 Improve defcustom's types by adding more tags explaining what each
696 value means and replace “sexp” used in
697 `tildify-ignored-environments-alist' with a full type declaration.
698
699 * textmodes/tildify.el (tildify-find-env): Fix matched group
700 indexes in end-regex building
701
702 When looking for a start of an ignore-environment, the regex is built
703 by concatenating regexes of all the environments configured in
704 `tildify-ignored-environments-alist'. So for example, the following
705 list could be used to match TeX's \verb and \verb* commands:
706
707 (("\\\\verb\\(.\\)" . (1))
708 ("\\\\verb\\*\\(.\\)" . (1)))
709
710 This would result in the following regex being used to find the start
711 of any of the variants of the \verb command:
712
713 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
714
715 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
716 won't match anything, and thus (match-string 1) will be nil, which
717 will cause building of the end-matching regex to fail.
718
719 Fix this by using capture groups from the time when the opening
720 regexes are matched individually.
721
722 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
723 in `tildify-find-env'
724
725 The `tildify-ignored-environments-alist' allows the end-regex to
726 be provided not as a static string but mix of strings and indexes
727 of groups matched the begin-regex. For example, the “\verb!…!”
728 TeX-command (where “!” is an arbitrary character) is handled
729 using:
730
731 ("\\\\verb\\*?\\(.\\)" . (1))
732
733 In the same way, the following should be supported as well:
734
735 ("open-\\(.\\)" . ("end-" 1))
736
737 However the tildify-find-env function fails at
738
739 (concat result
740 (if (stringp (setq aux (car expression)))
741 expression ; BUG: expression is a list
742 (regexp-quote (match-string aux))))
743
744 where the string part is handled incorrectly.
745
746 The most trivial fix would be to replace `expression' in the
747 true-part of the if-statement with `aux', but instead, this commit
748 optimises `tildify-find-env' by changing it to use `mapconcat'
749 rather than open-coded while-loop.
750
751 2014-06-05 Mario Lang <mlang@delysid.org>
752
753 * woman.el (woman-mapcan): Remove.
754 (woman-parse-colon-path): Use cl-mapcan instead.
755
756 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
757
758 * register.el: Add link to Emacs manual in Commentary.
759
760 2014-06-02 Sam Steingold <sds@gnu.org>
761
762 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
763 (popup-menu): ...here.
764 (menu-bar-open): Use it to avoid an error when `lookup-key'
765 returns a number.
766
767 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
768
769 * net/tramp.el (tramp-call-process): Add traces.
770 (tramp-handle-unhandled-file-name-directory): Return "/".
771
772 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
773
774 Sync with upstream verilog-mode revision 3cd8144.
775 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
776 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
777 (verilog-type-font-keywords): Add nor.
778 (verilog-batch-execute-func): Force reading of Local Variables.
779 Fix printing "no changes to be saved" with verilog-batch.
780 (verilog-auto-arg-ports): Doc fix.
781 Add verilog-auto-arg-format to support newlines in AUTOARG.
782 (verilog-auto-arg): Doc fix.
783
784 2014-06-02 Glenn Morris <rgm@gnu.org>
785
786 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
787 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
788 * emulation/ws-mode.el: Move to obsolete/.
789 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
790
791 2014-06-02 Eli Zaretskii <eliz@gnu.org>
792
793 * simple.el (keyboard-quit): Force update of mode lines, to remove
794 the "Def" indicator, if we were defining a macro. (Bug#17615)
795
796 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
797
798 * minibuffer.el (minibuffer-force-complete-and-exit):
799 Obey minibuffer-default (bug#17545).
800
801 * progmodes/js.el (js-indent-line): Don't mix columns and chars
802 (bug#17619).
803
804 * subr.el (set-transient-map): Don't wait for some "nested"
805 transient-map to finish if we're only supposed to be active for
806 the next command (bug#17642).
807
808 2014-06-02 Leo Liu <sdl.web@gmail.com>
809
810 * emacs-lisp/gv.el (window-buffer, window-display-table)
811 (window-dedicated-p, window-hscroll, window-point, window-start):
812 Fix gv-expander. (Bug#17630)
813
814 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
815
816 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
817 clicks (bug#17633).
818
819 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
820 for the single comma, since ", " is *very* common in normal French text
821 (bug#17643).
822
823 2014-06-02 Glenn Morris <rgm@gnu.org>
824
825 * emacs-lisp/package.el (package-check-signature)
826 (package-unsigned-archives): Fix :version.
827
828 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
829
830 * subr.el (sit-for): Don't run input-methods (bug#15614).
831
832 2014-06-02 Glenn Morris <rgm@gnu.org>
833
834 * cus-start.el: Fix some :version numbers.
835
836 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
837
838 * simple.el (deactivate-mark): Set mark-active to nil even if
839 deactivation is done via setting transient-mark-mode to nil,
840 since one is buffer-local and the other is global.
841
842 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
843 there can't be more than 2 arguments (bug#17584).
844
845 2014-06-02 Glenn Morris <rgm@gnu.org>
846
847 * simple.el (filter-buffer-substring-functions)
848 (filter-buffer-substring-function, buffer-substring-filters)
849 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
850
851 * minibuffer.el (completion-in-region-functions, completion-in-region)
852 (completion--in-region): Doc fixes.
853
854 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
855 (expand-abbrev, abbrev--default-expand): Doc fixes.
856
857 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
858
859 Include sources used to create macuvs.h.
860 * international/README: Refer to the Unicode Terms of Use rather
861 than copying it bodily here, as that simplifies maintenance.
862
863 2014-06-01 Glenn Morris <rgm@gnu.org>
864
865 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
866
867 2014-05-31 Glenn Morris <rgm@gnu.org>
868
869 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
870
871 2014-05-30 Glenn Morris <rgm@gnu.org>
872
873 * loadup.el: Treat `command-line-args' more flexibly.
874
875 2014-05-30 Alan Mackenzie <acm@muc.de>
876
877 Guard (looking-at "\\s!") from XEmacs.
878 * progmodes/cc-engine.el (c-state-pp-to-literal): add guard form.
879
880 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu> (tiny change)
881
882 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
883 The argument COUNT is now optional, to be more backward-compatible.
884 Doc fix. (Bug#17560)
885
886 2014-05-29 Reuben Thomas <rrt@sc3d.org>
887
888 * whitespace.el (whitespace-report-region):
889 Simplify documentation.
890 (whitespace-report-region): Allow report-if-bogus to take the
891 value `never', for non-interactive use.
892 (whitespace-report): Refer to whitespace-report-region's
893 documentation.
894
895 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
896
897 * whitespace.el: Use font-lock-flush. Minimize refontifications.
898 Side benefit: it works without jit-lock.
899 (whitespace-point--used): New buffer-local var.
900 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
901 (whitespace-color-off): Use font-lock-flush.
902 (whitespace-point--used, whitespace-point--flush-used): New functions.
903 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
904 (whitespace-empty-at-eob-regexp): Use them.
905 (whitespace-post-command-hook): Rewrite.
906
907 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
908 (font-lock-fontify-buffer): Mark interactive-only.
909 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
910 Make buffer-local.
911 (font-lock-specified-p): Remove redundant boundp check.
912 (font-lock-flush-function, font-lock-ensure-function): New vars.
913 (font-lock-turn-on-thing-lock): Set them.
914 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
915 (font-lock-after-change-function): Make `old-len' optional.
916 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
917 Call font-lock-flush, just in case.
918 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
919 recent Emacsen.
920 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
921 (vera-mode-map, vera-mode-menu): Remove bindings to it.
922 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
923 and with-syntax-table.
924 * textmodes/conf-mode.el (conf-quote-normal):
925 * progmodes/sh-script.el (sh-set-shell):
926 * progmodes/prog-mode.el (prettify-symbols-mode):
927 * progmodes/f90.el (f90-font-lock-n):
928 * progmodes/cwarn.el (cwarn-mode):
929 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
930 * progmodes/compile.el (compilation-setup, compilation--unsetup):
931 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
932 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
933 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
934 font-lock-fontify-buffer-function and
935 font-lock-unfontify-buffer-function.
936 (rmail-unfontify-buffer-function, rmail-fontify-message):
937 Use with-silent-modifications.
938 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
939 and font-lock-ensure.
940 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
941
942 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
943
944 * emacs-lisp/package.el (package-generate-autoloads):
945 Inhibit backup files.
946
947 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
948
949 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
950 (bug#17608).
951
952 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
953
954 * textmodes/tildify.el (tildify-buffer, tildify-region):
955 Add dont-ask option.
956
957 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
958
959 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
960 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
961
962 * subr.el (internal--funcall-interactively): New.
963 (internal--call-interactively): Remove.
964 (called-interactively-p): Detect funcall-interactively instead of
965 call-interactively.
966 * simple.el (repeat-complex-command): Use funcall-interactively.
967 (repeat-complex-command--called-interactively-skip): Remove.
968
969 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
970
971 * register.el (register-read-with-preview): Don't burp on
972 frame switches (e.g. due to the frame we just popped).
973
974 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
975 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
976
977 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
978
979 * cus-face.el (custom-face-attributes): Add :distant-foreground.
980
981 2014-05-26 Martin Rudalics <rudalics@gmx.at>
982
983 * window.el (window--dump-frame): Remove interactive specification.
984
985 2014-05-26 Glenn Morris <rgm@gnu.org>
986
987 * hippie-exp.el (he-line-search-regexp):
988 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
989
990 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
991
992 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
993 to avoid errors when trying to create or visit a file foo.todo
994 located outside to todo-directory, and to allow having such files
995 without them being tied to Todo mode (bug#17482).
996 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
997 (todo-archive-done-item, todo-find-filtered-items-file)
998 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
999 (todo-category-completions, todo-read-category): When visiting a
1000 Todo file, make sure we're in the right mode and the buffer local
1001 variables are set.
1002 (todo-make-categories-list, todo-reset-nondiary-marker)
1003 (todo-reset-done-string, todo-reset-comment-string):
1004 After processing all Todo files, kill the buffers of those files that
1005 weren't being visited before the processing.
1006 (todo-display-as-todo-file, todo-add-to-buffer-list)
1007 (todo-visit-files-commands): Comment out.
1008 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1009 (auto-mode-alist): Remove add-to-list calls making Todo file
1010 extensions unrestrictedly tied to Todo modes.
1011
1012 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1013
1014 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1015 (advice-function-member-p): Tell it to check both names and functions
1016 (bug#17531).
1017 (advice--add-function): Adjust call accordingly.
1018
1019 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
1020
1021 * calendar/todo-mode.el: Miscellaneous bug fixes.
1022 (todo-delete-file): When deleting an archive but not its todo
1023 file, make sure to update the todo file's category sexp.
1024 (todo-move-category): Keep the moved category's name unless the
1025 file moved to already has a category with that name. If the
1026 numerically last category of the source file was moved, make the
1027 first category current to avoid selecting a nonexisting category.
1028 (todo-merge-category): Fix implementation to make merging to a
1029 category in another file work as documented. Eliminate now
1030 insufficient and unnecessary renaming of archive category, correct
1031 document string accordingly, and clarify it. If the numerically
1032 last category of the source file was merged, make the first
1033 category current to avoid selecting a nonexisting category.
1034 (todo-archive-done-item): When there are marked items and point
1035 happens to be on an unmarked item, ignore the latter. Don't leave
1036 point below last item after archiving marked items.
1037 (todo-unarchive-items): Fix logic to ensure unarchiving an item
1038 from an archive with only one category deletes the archive only
1039 when the category is empty after unarchiving. Make sure the todo
1040 file's category sexp is updated.
1041 (todo-read-file-name): Allow an existing file name even when it is
1042 not required (todo-move-category needs this to work as documented).
1043 (todo-add-file): Call todo-validate-name to reject the name of an
1044 existing todo file (needed due to fix in todo-read-file-name).
1045 (todo-reset-nondiary-marker): Also reset in filtered items files.
1046 (todo-reset-done-string, todo-reset-comment-string): Also reset in
1047 regexp filtered items files.
1048 (todo-reset-highlight-item): Also reset in filtered items files.
1049 Fix incorrect variable reference in document string.
1050
1051 2014-05-26 Glenn Morris <rgm@gnu.org>
1052
1053 * window.el (window--dump-frame): Avoid error in --without-x builds.
1054
1055 2014-05-26 Glenn Morris <rgm@gnu.org>
1056
1057 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1058
1059 2014-05-26 Eli Zaretskii <eliz@gnu.org>
1060
1061 * frame.el (set-frame-font): Doc fix.
1062
1063 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
1064
1065 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
1066
1067 * emacs-lisp/package.el (package--download-one-archive):
1068 Use `write-region' instead of `save-buffer' to avoid running various
1069 hooks. (Bug#17155)
1070 (describe-package-1): Same. Insert newline at the end of the
1071 buffer if appropriate.
1072
1073 2014-05-26 Juri Linkov <juri@jurta.org>
1074
1075 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1076 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1077 Add more modifiers: meta, control, shift, hyper, super, alt.
1078 (Bug#17439)
1079
1080 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1081 to allow changing its value with `set-variable'.
1082
1083 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1084
1085 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1086 #; comments.
1087 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1088 New functions.
1089 (scheme-mode-variables): Set syntax-propertize-function instead of
1090 font-lock-syntactic-face-function.
1091 (scheme-font-lock-syntactic-face-function): Delete.
1092
1093 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1094
1095 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1096 (bug#17392).
1097
1098 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
1099
1100 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1101 for a temporary file name.
1102
1103 2014-05-26 Eli Zaretskii <eliz@gnu.org>
1104
1105 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
1106
1107 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
1108
1109 * net/dbus.el (dbus-init-bus, dbus-call-method)
1110 (dbus-call-method-asynchronously, dbus-send-signal)
1111 (dbus-method-return-internal, dbus-method-error-internal):
1112 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
1113
1114 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1115
1116 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1117 methods which do not have a doc string. (Bug#17490)
1118
1119 2014-05-25 Tassilo Horn <tsdh@gnu.org>
1120
1121 * textmodes/reftex-ref.el (reftex-format-special): Make it work
1122 also for AMS Math's \eqref macro.
1123
1124 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
1125
1126 Arrange to never byte-compile the generated -pkg.el file.
1127
1128 * emacs-lisp/package.el (package-generate-description-file):
1129 Output first-line comment to set buffer-local var `no-byte-compile'.
1130 Suggested by Dmitry Gutov:
1131 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
1132
1133 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
1134
1135 Fix bug: Properly quote args to generated -pkg.el `define-package'.
1136
1137 * emacs-lisp/package.el (package-generate-description-file):
1138 Inline `package--alist-to-plist'; rewrite to selectively
1139 quote alist values that are not self-quoting.
1140 (package--alist-to-plist): Delete func.
1141
1142 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1143
1144 * term/xterm.el (xterm-function-map): Add mapping for shifted
1145 keypad keys.
1146
1147 2014-05-24 Daniel Colascione <dancol@dancol.org>
1148
1149 * progmodes/subword.el (subword-find-word-boundary): Move point to
1150 correct spot before search. (Bug#17580)
1151
1152 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
1153 breaking the build.
1154
1155 2014-05-24 Leo Liu <sdl.web@gmail.com>
1156
1157 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
1158
1159 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1160
1161 * minibuffer.el (completion--sreverse): Remove.
1162 (completion--common-suffix): Use `reverse' instead.
1163 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
1164
1165 2014-05-22 Glenn Morris <rgm@gnu.org>
1166
1167 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
1168
1169 2014-05-21 Daniel Colascione <dancol@dancol.org>
1170
1171 * files.el (interpreter-mode-alist): Add mksh.
1172
1173 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
1174 derivative.
1175 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
1176 mksh. Improve custom spec; allow regular expressions.
1177 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
1178 (sh-after-hack-local-variables): New function.
1179 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
1180 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
1181 the normalization.
1182 (sh-canonicalize-shell): Rewrite to support regexes.
1183
1184 2014-05-21 Leo Liu <sdl.web@gmail.com>
1185
1186 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
1187
1188 2014-05-19 Leo Liu <sdl.web@gmail.com>
1189
1190 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
1191
1192 2014-05-18 Glenn Morris <rgm@gnu.org>
1193
1194 * loadup.el:
1195 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
1196
1197 2014-05-14 Sam Steingold <sds@gnu.org>
1198
1199 * progmodes/python.el (python-shell-get-or-create-process):
1200 Do not bind `current-prefix-arg' so that C-c C-z does not talk
1201 back unless requested.
1202
1203 2014-05-14 Glenn Morris <rgm@gnu.org>
1204
1205 * subr.el (with-file-modes): New macro.
1206 * printing.el (pr-save-file-modes): Make obsolete.
1207 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
1208 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
1209 Add with-file-modes.
1210 * doc-view.el (doc-view-make-safe-dir):
1211 * epg.el (epg--start):
1212 * files.el (locate-user-emacs-file, make-temp-file)
1213 (backup-buffer-copy, move-file-to-trash):
1214 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
1215 * eshell/esh-util.el (eshell-with-private-file-modes)
1216 (eshell-make-private-directory):
1217 * net/browse-url.el (browse-url-mosaic):
1218 * obsolete/mailpost.el (post-mail-send-it):
1219 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
1220 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
1221 Use with-file-modes.
1222
1223 * vc/emerge.el (emerge-make-temp-file): Simplify.
1224
1225 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
1226 Stefan Monnier <monnier@iro.umontreal.ca>
1227
1228 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1229 suffix (bug#15419).
1230
1231 2014-05-14 Glenn Morris <rgm@gnu.org>
1232
1233 * vc/emerge.el (emerge-temp-file-prefix):
1234 Make pointless option obsolete.
1235 (emerge-temp-file-mode): Make non-functional option obsolete.
1236
1237 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
1238
1239 * net/browse-url.el (browse-url):
1240 Use `unhandled-file-name-directory' when setting `default-directory',
1241 in order to circumvent stalled remote connections. (Bug#17425)
1242
1243 2014-05-14 Glenn Morris <rgm@gnu.org>
1244
1245 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
1246 Optimize on Emacs, which has the relevant functions for ages.
1247
1248 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1249
1250 * simple.el (undo-make-selective-list): Obey undo-no-redo.
1251
1252 2014-05-12 Sam Steingold <sds@gnu.org>
1253
1254 * calendar/time-date.el (seconds-to-string): New function to
1255 pretty print time delay in seconds.
1256
1257 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1258
1259 * mpc.el (mpc-format): Trim Date to the year.
1260 (mpc-songs-hashcons): Shorten the Date field.
1261
1262 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1263 into autoloading just because of a silly indirection.
1264
1265 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
1266
1267 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
1268
1269 2014-05-12 Glenn Morris <rgm@gnu.org>
1270
1271 * emacs-lisp/find-gc.el: Move to ../admin.
1272
1273 * printing.el (pr-version):
1274 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1275
1276 * net/browse-url.el (browse-url-mosaic):
1277 Create /tmp/Mosaic.PID as a private file.
1278
1279 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1280
1281 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1282 (advice--member-p): If name is given, only compare the name.
1283 (advice--remove-function): Don't stop at the first match.
1284 (advice--normalize-place): New function.
1285 (add-function, remove-function): Use it.
1286 (advice--add-function): Pass the name, if any, to
1287 advice--remove-function.
1288
1289 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
1290
1291 * electric.el (electric-indent-post-self-insert-function): Don't use
1292 `pos' after modifying the buffer (bug#17449).
1293
1294 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
1295
1296 * calendar/todo-mode.el (todo-insert-item-from-calendar):
1297 Correct argument list to conform to todo-insert-item--basic.
1298
1299 2014-05-12 Glenn Morris <rgm@gnu.org>
1300
1301 * files.el (cd-absolute): Test if directory is accessible
1302 rather than executable. (Bug#17330)
1303
1304 * progmodes/compile.el (recompile):
1305 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
1306
1307 * net/browse-url.el (browse-url-mosaic):
1308 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
1309 This is CVE-2014-3423.
1310
1311 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1312
1313 * mouse.el: Use the normal toplevel loop while dragging.
1314 (mouse-set-point): Handle multi-clicks.
1315 (mouse-set-region): Handle multi-clicks for drags.
1316 (mouse-drag-region): Update call accordingly.
1317 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
1318 Use the normal event loop instead of a local while/read-event loop.
1319 (global-map): Remove redundant bindings for double/triple-mouse-1.
1320 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
1321 Generate synthetic down events when the protocol only sends up events.
1322 (xterm-mouse-last): Remove.
1323 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
1324 terminal parameter instead.
1325 (xterm-mouse--set-click-count): New function.
1326 (xterm-mouse-event): Detect/generate double/triple clicks.
1327 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
1328
1329 * info.el (Info-quoted): New face.
1330 (Info-mode-font-lock-keywords): New var.
1331 (Info-mode): Use it.
1332
1333 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
1334 are a hindrance for C-x C-e.
1335
1336 2014-05-11 Leo Liu <sdl.web@gmail.com>
1337
1338 * net/rcirc.el (rcirc-sentinel): Fix last change.
1339
1340 2014-05-08 Sam Steingold <sds@gnu.org>
1341
1342 * net/rcirc.el (rcirc-reconnect-delay): New user option.
1343 (rcirc-sentinel): Auto-reconnect to the server if
1344 `rcirc-reconnect-delay' is non-0 (but not more often than its
1345 value in case the host is off-line).
1346
1347 2014-05-09 Eli Zaretskii <eliz@gnu.org>
1348
1349 * progmodes/grep.el (lgrep): Fix a typo in last commit.
1350
1351 2014-05-09 Glenn Morris <rgm@gnu.org>
1352
1353 * files.el (file-expand-wildcards):
1354 * man.el (Man-support-local-filenames):
1355 * printing.el (pr-i-directory, pr-interface-directory):
1356 * progmodes/grep.el (lgrep, rgrep):
1357 * textmodes/ispell.el (ispell-call-process)
1358 (ispell-call-process-region, ispell-start-process)
1359 (ispell-init-process): Use file-accessible-directory-p.
1360
1361 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1362
1363 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1364 (xterm-mouse--read-event-sequence-1000): Return nil if something
1365 looks fishy.
1366 (xterm-mouse-event): Propagate it.
1367 (xterm-mouse-translate-1): Handle it.
1368
1369 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
1370
1371 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1372 four slots of the parameter list are filled, make sure to pass it
1373 to the argument list of todo-insert-item--basic.
1374
1375 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1376
1377 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1378 Add optional `seen' argument to detect and break infinite loops.
1379
1380 2014-05-08 Eli Zaretskii <eliz@gnu.org>
1381
1382 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1383 (trace-unsafe, trace-use-tree): Make parentheses style be
1384 according to Emacs style.
1385
1386 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
1387
1388 * net/tramp-sh.el (tramp-remote-process-environment):
1389 Remove HISTFILE and HISTSIZE; it's too late to set them here.
1390 Add :version entry.
1391 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1392 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
1393 extra "PSx=..." commands.
1394 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1395 (Bug#17295)
1396
1397 (tramp-uudecode): Replace the hard-coded temporary file name by a
1398 format specifier.
1399 (tramp-remote-coding-commands): Enhance docstring.
1400 (tramp-find-inline-encoding): Replace "%t" by a temporary file
1401 name. (Bug#17415)
1402 This is CVE-2014-3424.
1403
1404 2014-05-08 Glenn Morris <rgm@gnu.org>
1405
1406 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1407 (find-gc-source-files): Update some names.
1408 (trace-call-tree): Simplify and update.
1409 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
1410 This is CVE-2014-3422.
1411
1412 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1413
1414 * minibuffer.el (completion--try-word-completion): Revert fix for
1415 Bug#15980 (bug#17375).
1416
1417 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
1418 Always store button numbers in the same way in xterm-mouse-last;
1419 Don't burp is xterm-mouse-last is not set as expected.
1420 Never return negative indices.
1421
1422 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
1423
1424 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1425 Backtrack one char if the global/char-literal var matcher hits
1426 inside a string. The next char could be the beginning of an
1427 expression expansion.
1428
1429 2014-05-08 Glenn Morris <rgm@gnu.org>
1430
1431 * help-fns.el (describe-function-1): Test for an autoload before a
1432 macro, since `macrop' works on autoloads. (Bug#17410)
1433
1434 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1435
1436 * electric.el (electric-indent-functions-without-reindent): Add yaml.
1437
1438 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
1439 Make sure the new point we return is within the new string (bug#17239).
1440
1441 2014-05-05 Daniel Colascione <dancol@dancol.org>
1442
1443 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1444 Port `gnu' pattern to rx.
1445
1446 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
1447
1448 Remove unneeded prompt when closing a buffer with active
1449 emacsclient ("Buffer ... still has clients"), #16548.
1450 * server.el (server-start): Remove the only call to:
1451 (server-kill-buffer-query-function): Remove.
1452
1453 2014-05-04 Leo Liu <sdl.web@gmail.com>
1454
1455 * calendar/diary-lib.el (calendar-chinese-month-name-array):
1456 Defvar to pacify compiler.
1457
1458 2014-05-04 Eli Zaretskii <eliz@gnu.org>
1459
1460 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
1461
1462 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1463
1464 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1465 Use nil rather than `default' for the "default" appearance (bug#17388).
1466 * vc/ediff-util.el (ediff-inferior-compare-regions)
1467 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
1468 a misleading `default' value when it's really a boolean.
1469 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1470 overlay is not visible.
1471
1472 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
1473
1474 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1475 (todo-menu): Uncomment and update.
1476
1477 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
1478
1479 * calendar/todo-mode.el: Reimplement item editing to have the same
1480 basic user interface as item insertion, and make small UI and
1481 larger internal improvements to the latter.
1482 (todo-insert-item): Add reference to the Todo mode user manual to
1483 the documentation string.
1484 (todo-insert-item--basic): Rename from todo-basic-insert-item and
1485 adjust all callers. Change signature to combine diary and
1486 nonmarking arguments. Incorporate functionality of deleted item
1487 copying command and add error checking. Remove detailed
1488 descriptions of the arguments from the documentation string, since
1489 this is treated in the Todo mode user manual.
1490 (todo-copy-item, todo-edit-multiline-item)
1491 (todo-edit-done-item-comment, todo-edit-item-header)
1492 (todo-edit-item-time, todo-edit-item-date-from-calendar)
1493 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1494 (todo-edit-item-date-year, todo-edit-item-date-month)
1495 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1496 Remove.
1497 (todo-edit-item): Reimplement as wrapper command for
1498 todo-edit-item--next-key and make it distinguish done and not done
1499 todo items.
1500 (todo-edit-item--text): New function, replacing old command
1501 todo-edit-item and incorporating deleted commands
1502 todo-edit-multiline-item and todo-edit-done-item-comment.
1503 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1504 Use only numeric value of prefix argument. Remove detailed
1505 descriptions of the arguments from the documentation string, since
1506 this is treated in the Todo mode user manual.
1507 (todo-edit-item--diary-inclusion): New function, replacing old
1508 command todo-edit-item-diary-inclusion and incorporating and fixing
1509 functionality of deleted command todo-edit-item-diary-nonmarking,
1510 making sure to remove todo-nondiary-marker when adding
1511 diary-nonmarking-symbol.
1512 (todo-edit-category-diary-inclusion): Make sure to delete
1513 diary-nonmarking-symbol when adding todo-nondiary-marker.
1514 (todo-edit-category-diary-nonmarking): Fix indentation.
1515 (todo-insert-item--parameters): Group diary and nonmarking
1516 parameters together.
1517 (todo-insert-item--apply-args): Adjust to signature of
1518 todo-insert-item--basic and incorporate copy parameter.
1519 Make small code improvements.
1520 (todo-insert-item--next-param): Improve prompt and adjust it to
1521 new parameter grouping. Remove obsolete code.
1522 (todo-edit-item--param-key-alist)
1523 (todo-edit-item--date-param-key-alist)
1524 (todo-edit-done-item--param-key-alist): New defconsts.
1525 (todo-edit-item--prompt): New variable.
1526 (todo-edit-item--next-key): New function.
1527 (todo-key-bindings-t): Bind "e" to todo-edit-item.
1528 Remove bindings of deleted commands.
1529
1530 2014-05-04 Leo Liu <sdl.web@gmail.com>
1531
1532 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1533
1534 2014-05-04 Glenn Morris <rgm@gnu.org>
1535
1536 * allout-widgets.el (allout-widgets-tally)
1537 (allout-decorate-item-guides):
1538 * menu-bar.el (menu-bar-positive-p):
1539 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1540 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1541 * progmodes/js.el (js--inside-param-list-p)
1542 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1543 * progmodes/prolog.el (region-exists-p):
1544 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1545 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1546 Doc fixes (replace `iff').
1547
1548 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1549
1550 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1551
1552 2014-05-04 Leo Liu <sdl.web@gmail.com>
1553
1554 Support Chinese diary entries in calendar and diary. (Bug#17393)
1555 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
1556 (calendar-chinese-from-absolute-for-diary)
1557 (calendar-chinese-to-absolute-for-diary)
1558 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
1559 (diary-chinese-list-entries): New functions to list and mark
1560 Chinese diary entries in the calendar window.
1561 (diary-chinese-anniversary)
1562 (diary-chinese-insert-anniversary-entry)
1563 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
1564 (diary-chinese-insert-yearly-entry): New commands to insert
1565 Chinese diary entries.
1566
1567 * calendar/diary-lib.el (diary-font-lock-keywords):
1568 Support font-locking Chinese dates.
1569
1570 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
1571 inserting Chinese diary entries.
1572
1573 * calendar/calendar.el (diary-chinese-entry-symbol):
1574 New customizable variable.
1575 (calendar-mode-map): Add bindings for inserting Chinese diary
1576 entries.
1577
1578 2014-05-03 Juri Linkov <juri@jurta.org>
1579
1580 * dired.el (dired-check-switches, dired-switches-recursive-p):
1581 New functions. (Bug#17218)
1582 (dired-switches-escape-p, dired-move-to-end-of-filename):
1583 Use `dired-check-switches'.
1584 (dired-insert-old-subdirs, dired-build-subdir-alist)
1585 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1586
1587 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
1588
1589 * simple.el (undo-make-selective-list): New algorithm fixes
1590 incorrectness of position adjustments when undoing in region.
1591 (Bug#17235)
1592 (undo-elt-crosses-region): Make obsolete.
1593 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
1594 New functions to adjust positions using undo-deltas.
1595
1596 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1597
1598 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
1599 the last consecutive closing paren (bug#17345).
1600
1601 2014-04-30 Reuben Thomas <rrt@sc3d.org>
1602
1603 * dired.el (dired-mode): make terminology for eXpunge command
1604 consistent. (Bug#17276)
1605
1606 2014-04-30 Eli Zaretskii <eliz@gnu.org>
1607
1608 * dired.el (dired-initial-position-hook, dired-initial-position):
1609 Doc string fixes.
1610
1611 2014-04-30 Glenn Morris <rgm@gnu.org>
1612
1613 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
1614
1615 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
1616
1617 * faces.el (face-spec-recalc): Apply X resources only after the
1618 defface spec has been applied. Thus, X resources are no longer
1619 overriden by the defface spec which also fixes issues on win32 where
1620 the toolbar coloring was wrong because it is set through X resources
1621 and was (wrongfully) overriden. (Bug#16694)
1622
1623 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
1624
1625 * textmodes/rst.el (electric-pair-pairs): Declare.
1626 (rst-mode): Set it (bug#17131).
1627
1628 2014-04-30 Juri Linkov <juri@jurta.org>
1629
1630 * desktop.el (desktop-value-to-string): Let-bind `print-length'
1631 and `print-level' to nil. (Bug#17351)
1632
1633 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1634
1635 * battery.el (battery-update): Handle the case where battery
1636 status is "N/A" (bug#17319).
1637
1638 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1639
1640 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
1641 to syntax-propertize.
1642 (ps-mode-auto-indent): Mark as obsolete.
1643 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
1644 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
1645 word regexp operators.
1646 (ps-mode-map): Move initialization into declaration. Remove binding
1647 for TAB, RET, >, ], and }.
1648 (ps-mode-syntax-table): Move initialization into declaration.
1649 Don't give word syntax to non-word chars.
1650 (ps-run-mode-map): Move initialization into declaration.
1651 (ps-mode-menu-main): Remove auto-indent entry.
1652 (ps-mode-smie-rules): New function.
1653 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
1654 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
1655 (ps-mode--string-syntax-table): New const.
1656 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
1657 New functions.
1658 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
1659 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
1660
1661 2014-04-27 Daniel Colascione <dancol@dancol.org>
1662
1663 * term/xterm.el (xterm-paste): Use large finite timeout when
1664 reading event to avoid putting keys in this-command-keys.
1665
1666 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1667
1668 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
1669 (perl-syntax-propertize-function): Use it. Extend handling of
1670 here-docs to the unquoted case.
1671
1672 2014-04-25 Eli Zaretskii <eliz@gnu.org>
1673
1674 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1675 Use equal-including-properties to compare help-echo strings (bug#17331).
1676
1677 2014-04-25 Leo Liu <sdl.web@gmail.com>
1678
1679 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1680 Fix syntax for @. (Bug#17325)
1681
1682 2014-04-25 Daniel Colascione <dancol@dancol.org>
1683
1684 * emacs-lisp/cl.el (gv): Require gv early to break eager
1685 macro-expansion cycles.
1686
1687 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1688
1689 * simple.el (region-active-p): Check there's a mark (bug#17324).
1690
1691 * simple.el (completion-list-mode-map): Use choose-completion for the
1692 mouse binding as well (bug#17302).
1693 (completion-list-mode, completion-setup-function): Adjust docstring and
1694 echo area message accordingly.
1695 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1696 calling convention of choose-completion.
1697 * comint.el (comint-dynamic-list-completions):
1698 * term.el (term-dynamic-list-completions): Accept choose-completion.
1699
1700 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1701 &, |, +, - and * can't be a division (bug#17317).
1702
1703 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1704 features on gnome-terminal (bug#16988).
1705
1706 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
1707
1708 Improve Scheme font-locking for (define ((foo ...) ...) ...).
1709
1710 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
1711 the declared object, ignore zero or more parens, not zero or one.
1712
1713 2014-04-24 Leo Liu <sdl.web@gmail.com>
1714
1715 * progmodes/xscheme.el (xscheme-expressions-ring)
1716 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
1717 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
1718 (xscheme-allow-output-p, xscheme-prompt)
1719 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
1720
1721 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
1722 Comment out unused functions.
1723
1724 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1725
1726 * info.el: Use lexical-binding and cl-lib.
1727 Use defvar-local and setq-local instead of make-local-variable.
1728 (Info-apropos-matches): Avoid add-to-list.
1729 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
1730
1731 2014-04-24 Daniel Colascione <dancol@dancol.org>
1732
1733 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
1734
1735 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1736
1737 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
1738
1739 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1740
1741 * dired.el (dired-insert-set-properties): Do not consider
1742 subdirectory headings and empty lines to be information that
1743 `dired-hide-details-mode' should hide. (Bug#17228)
1744
1745 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1746
1747 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1748 Remove test messages.
1749 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1750 and `target' twice.
1751
1752 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1753
1754 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1755 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1756
1757 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1758
1759 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1760
1761 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1762 Set "IFS=" when using read builtin, in order to preserve spaces in
1763 the file name. Add test messages for hunting a bug on hydra.
1764 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1765
1766 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1767
1768 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1769 Don't prettify a word within a symbol.
1770
1771 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1772
1773 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1774 possible.
1775
1776 2014-04-22 Daniel Colascione <dancol@dancol.org>
1777
1778 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
1779 use defun to define `function-put'.
1780
1781 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1782
1783 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
1784 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
1785 (lisp-mode-variables): Set font-lock-extra-managed-props.
1786
1787 * emacs-lisp/byte-run.el (function-put): New function.
1788 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
1789 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
1790 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
1791 Use them.
1792
1793 2014-04-22 Daniel Colascione <dancol@dancol.org>
1794
1795 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
1796 Add `full-p' parameter; when nil, call `macroexpand' instead of
1797 `macroexpand-all'.
1798
1799 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1800 Improve docstrings.
1801
1802 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1803 Use lambda function values, not quoted lambdas.
1804 (byte-compile-recurse-toplevel): Remove extraneous &optional.
1805
1806 * emacs-lisp/cl-macs.el
1807 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
1808 (cl-struct-slot-value): Conditionally use aref or nth so that the
1809 compiler produces optimal code.
1810
1811 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1812
1813 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
1814 (inline): Don't inline cl--set-elt.
1815 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
1816 Define as inlinable instead.
1817 (cl-struct-set-slot-value): Remove.
1818
1819 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
1820 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
1821 Use setf instead.
1822
1823 2014-04-21 Daniel Colascione <dancol@dancol.org>
1824
1825 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
1826 last two parameters after all.
1827 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
1828 (cl--compiler-macro-assoc,cl-struct-slot-value)
1829 (cl-struct-set-slot-value): Stop using them.
1830
1831 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1832
1833 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
1834 entry in image-mode-winprops-alist.
1835
1836 2014-04-21 Daniel Colascione <dancol@dancol.org>
1837
1838 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
1839 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
1840 (byte-compile-toplevel-file-form): Use it.
1841
1842 * emacs-lisp/cl-macs.el:
1843 (cl--loop-let): Properly destructure `while' clauses.
1844
1845 2014-04-20 Daniel Colascione <dancol@dancol.org>
1846
1847 * vc/vc.el (vc-root-dir): New public autoloaded function for
1848 generically finding the current VC root.
1849 * vc/vc-hooks.el (vc-not-supported): New error.
1850 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
1851
1852 2014-04-20 Daniel Colascione <dancol@dancol.org>
1853
1854 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
1855 argument.
1856 (cl--const-expr-val): cl--const-expr-val should macroexpand its
1857 argument in case we're inside a symbol-macrolet.
1858 (cl--do-arglist, cl--compiler-macro-typep)
1859 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
1860 environment to `cl--const-expr-val'.
1861 (cl-struct-sequence-type,cl-struct-slot-info)
1862 (cl-struct-slot-offset, cl-struct-slot-value)
1863 (cl-struct-set-slot-value): New functions.
1864
1865 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1866
1867 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1868 assignments such as "case=hello" (bug#17297).
1869
1870 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1871
1872 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1873 Do not autoload.
1874 (tramp-file-name-handler, tramp-completion-file-name-handler):
1875 Revert patch from 2014-04-10, it isn't necessary anymore.
1876 (tramp-autoload-file-name-handler)
1877 (tramp-register-autoload-file-name-handlers): New defuns.
1878 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1879 (tramp-register-file-name-handlers): Remove also
1880 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1881 Do not autoload its invocation, but eval it after loading of 'tramp.
1882
1883 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1884
1885 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1886
1887 2014-04-17 Daniel Colascione <dancol@dancol.org>
1888
1889 Add support for bracketed paste mode; add infrastructure for
1890 managing terminal mode enabling and disabling automatically.
1891
1892 * xt-mouse.el:
1893 (xterm-mouse-mode): Simplify.
1894 (xterm-mouse-tracking-enable-sequence)
1895 (xterm-mouse-tracking-disable-sequence): New constants.
1896 (turn-on-xterm-mouse-tracking-on-terminal)
1897 (turn-off-xterm-mouse-tracking-on-terminal):
1898 Use tty-mode-set-strings and tty-mode-reset-strings terminal
1899 parameters instead of random hooks.
1900 (turn-on-xterm-mouse-tracking)
1901 (turn-off-xterm-mouse-tracking): Delete.
1902
1903 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
1904 (xterm-paste-ending-sequence): New constant.
1905 (xterm-paste): New command used for bracketed paste support.
1906
1907 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
1908 (terminal-init-xterm-bracketed-paste-mode): New function.
1909 (terminal-init-xterm): Call it.
1910 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
1911 and tty-mode-reset-strings instead of random hooks.
1912 (xterm-turn-on-modify-other-keys)
1913 (xterm-turn-off-modify-other-keys)
1914 (xterm-remove-modify-other-keys): Delete obsolete functions.
1915
1916 * term/screen.el: Rewrite to just use the xterm code.
1917 Add copyright notice. Mention tmux.
1918
1919 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
1920
1921 * image-mode.el (image-mode-window-put): Also update the property of
1922 the "default window".
1923 * doc-view.el (doc-view-new-window-function): If no window
1924 exists, move to the last known page.
1925
1926 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1927
1928 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1929 here-documents (bug#17262).
1930
1931 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1932
1933 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1934 Provide doc strings, as required by snarf-documentation.
1935
1936 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1937
1938 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1939 arg of overlays-at. Use `invisible-p'.
1940
1941 * obsolete/lucid.el (extent-at):
1942 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1943 overlays-at.
1944 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1945
1946 2014-04-16 João Távora <joaotavora@gmail.com>
1947
1948 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1949 links. (Bug#17217).
1950
1951 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1952
1953 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1954 Use mapc to loop over a vector. (Bug#17257).
1955
1956 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
1957
1958 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1959 patch, there are new problems with file names containing spaces.
1960 Get rid of backticks. (Bug#17238)
1961
1962 2014-04-16 João Távora <joaotavora@gmail.com>
1963
1964 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1965 possible bug.
1966
1967 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1968
1969 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1970 (blink-cursor-mode): Mention customization variables and the
1971 effect of 'blink-cursor-blinks'.
1972
1973 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
1974
1975 * simple.el (undo): Prevent insertion of identity mapping into
1976 undo-equiv-table so as undo-only does not inf loop in the presence
1977 of consecutive nils in undo list.
1978
1979 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
1980
1981 * faces.el (make-face): Deprecate optional argument as it is no
1982 longer needed/used since the conditional X resources handling
1983 has been pushed down to make-face-x-resource-internal itself.
1984 (make-empty-face): Don't pass optional argument to make-face.
1985
1986 2014-04-16 Karl Fogel <kfogel@red-bean.com>
1987
1988 * savehist.el (savehist-save): Remove workaround for a read-passwd
1989 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
1990 noticing that the shim was still present.
1991
1992 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1993
1994 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
1995
1996 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
1997
1998 * faces.el (face-set-after-frame-default): Remove unused local variable.
1999
2000 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2001
2002 * progmodes/grep.el: Use lexical-binding.
2003 (grep-expand-template): Pass explicit lexical env to `eval'.
2004 (zrgrep): Let-bind grep-find-template explicitly.
2005
2006 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
2007 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
2008
2009 2014-04-12 Eli Zaretskii <eliz@gnu.org>
2010
2011 * international/characters.el <standard-case-table>: Add entries
2012 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
2013 Set category of Coptic characters be 'g' (Greek).
2014
2015 2014-04-12 Leo Liu <sdl.web@gmail.com>
2016
2017 * progmodes/octave.el (completion-table-with-cache):
2018 Define if not available.
2019 (octave-goto-function-definition, octave-sync-function-file-names)
2020 (octave-find-definition-default-filename):
2021 Backquote upattern for compatibility.
2022
2023 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
2024
2025 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
2026 name twice due to backticks. (Bug#17238)
2027
2028 2014-04-12 Glenn Morris <rgm@gnu.org>
2029
2030 * term/w32-win.el (x-win-suspend-error):
2031 * term/x-win.el (x-win-suspend-error): Sync docs.
2032
2033 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
2034
2035 * faces.el (make-face): Remove deprecated optional argument.
2036 The conditional application of X resources is handled directly by
2037 make-face-x-resource-internal since Emacs 24.4.
2038 (make-empty-face): Don't pass optional argument to make-face.
2039
2040 2014-04-11 Glenn Morris <rgm@gnu.org>
2041
2042 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
2043
2044 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2045
2046 Ediff's overlay priorities cause more trouble than they solve.
2047 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
2048 (ediff-highest-priority): Remove function (bug#17234).
2049 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
2050 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
2051 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
2052 overlay priorities.
2053
2054 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
2055
2056 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
2057 entry; use symbol boundaries to avoid mis-matches.
2058
2059 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
2060
2061 * net/tramp.el (tramp-file-name-handler)
2062 (tramp-completion-file-name-handler): Avoid recursive loading.
2063
2064 * net/tramp-sh.el (tramp-make-copy-program-file-name):
2065 Quote result also locally.
2066
2067 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2068
2069 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
2070 Remove left-over code.
2071
2072 * newcomment.el (comment-indent-new-line): Sink code where it's used.
2073 Reuse the previous comment's indentation unconditionally if it's on its
2074 own line.
2075
2076 2014-04-09 Daniel Colascione <dancol@dancol.org>
2077
2078 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
2079 `no-syntax-crossing' arguments. Forward to `up-list'.
2080 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
2081 Implement logic for escaping from strings. Use narrowing to deal
2082 with corner cases.
2083
2084 2014-04-09 Leo Liu <sdl.web@gmail.com>
2085
2086 * net/rcirc.el (rcirc-connection-info): New variable.
2087 (rcirc-connect): Use it to store connection info.
2088 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
2089 for killed process.
2090 (rcirc-cmd-reconnect): New command. (Bug#17045)
2091 (rcirc-mode, set-rcirc-encode-coding-system)
2092 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
2093
2094 2014-04-09 Daniel Colascione <dancol@dancol.org>
2095
2096 * emacs-lisp/cl-indent.el: Add comment claiming
2097 facility is also good for elisp.
2098 (lisp-indent-find-method): New function.
2099 (common-lisp-indent-function): Recognize cl-loop.
2100 (common-lisp-indent-function-1): Recognize cl constructs; use
2101 `lisp-indent-find-method' instead of `get' directly.
2102 (if): Use else-body style for elisp.
2103
2104 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
2105
2106 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2107 Module methods. (Bug#17216)
2108
2109 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
2110
2111 * help.el (describe-bindings): Fix buffer handling (bug#17210).
2112 (describe-bindings-internal): Mark obsolete.
2113
2114 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
2115
2116 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
2117 buffer-file-name, and buffer-file-truename any more.
2118
2119 2014-04-08 Leo Liu <sdl.web@gmail.com>
2120
2121 Use lexical-binding and require cl-lib.
2122 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
2123 (rcirc-handler-generic, rcirc-fill-paragraph)
2124 (rcirc-format-response-string, rcirc-target-buffer)
2125 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
2126 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
2127 (rcirc-ctcp-sender-PING, rcirc-browse-url)
2128 (rcirc-markup-timestamp, rcirc-markup-attributes)
2129 (rcirc-markup-my-nick, rcirc-markup-urls)
2130 (rcirc-markup-bright-nicks, rcirc-markup-fill)
2131 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
2132 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
2133 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
2134 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
2135 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
2136 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
2137 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
2138 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
2139 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
2140 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
2141 use cl-lib.
2142
2143 2014-04-07 João Távora <joaotavora@gmail.com>
2144
2145 * elec-pair.el (electric-pair--syntax-ppss):
2146 When inside comments parse from comment beginning.
2147 (electric-pair--balance-info): Fix typo in comment.
2148 (electric-pair--in-unterminated-string-p): Delete.
2149 (electric-pair--unbalanced-strings-p): New function.
2150 (electric-pair-string-bound-function): New var.
2151 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2152 according to `electric-pair--in-unterminated-string-p'
2153
2154 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2155 Inhibit quote pairing if point-max is inside an unterminated string.
2156 (electric-pair--looking-at-unterminated-string-p): Delete.
2157 (electric-pair--in-unterminated-string-p): New function.
2158
2159 2014-04-07 Glenn Morris <rgm@gnu.org>
2160
2161 * shell.el (shell-directory-tracker):
2162 Go back to just ignoring failures. (Bug#17159)
2163
2164 2014-04-07 João Távora <joaotavora@gmail.com>
2165
2166 Fix `electric-pair-delete-adjacent-pairs' in modes binding
2167 backspace. (bug#16981)
2168 * elec-pair.el (electric-pair-backward-delete-char): Delete.
2169 (electric-pair-backward-delete-char-untabify): Delete.
2170 (electric-pair-mode-map): Bind backspace to a menu item filtering
2171 a new `electric-pair-delete-pair' command.
2172 (electric-pair-delete-pair): New command.
2173
2174 * progmodes/python.el (python-electric-pair-string-delimiter):
2175 Fix triple-quoting electricity. (Bug#17192)
2176
2177 * elec-pair.el (electric-pair-post-self-insert-function):
2178 Don't skip whitespace when `electric-pair-text-pairs' and
2179 `electric-pair-pairs' were used. syntax to
2180 electric-pair--skip-whitespace. (Bug#17183)
2181
2182 2014-04-07 Eli Zaretskii <eliz@gnu.org>
2183
2184 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2185 "<F>". (Bug#17199)
2186
2187 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
2188
2189 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2190 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2191
2192 2014-04-07 Glenn Morris <rgm@gnu.org>
2193
2194 * help.el (view-lossage): Doc tweak.
2195
2196 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
2197
2198 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2199 only when inhibit-x-resources is nil, and do that earlier in the
2200 function. Doc fix. (Bug#16694)
2201 (face-spec-choose): Accept additional optional argument, whose
2202 value is returned if no matching attributes are found.
2203 (face-spec-recalc): Use the new optional argument when calling
2204 face-spec-choose. (Bug#16378)
2205 (make-face-x-resource-internal): Do nothing when
2206 inhibit-x-resources is non-nil. Don't touch the default face if
2207 reversed video is given--as was done in previous versions of Emacs.
2208 (face-set-after-frame-default): Don't call
2209 make-face-x-resource-internal here. (Bug#16434)
2210
2211 2014-04-07 Tassilo Horn <tsdh@gnu.org>
2212
2213 * doc-view.el (doc-view-bookmark-jump):
2214 Use `bookmark-after-jump-hook' to jump to the right page after the
2215 buffer is shown in a window. (bug#16090)
2216
2217 2014-04-07 Eli Zaretskii <eliz@gnu.org>
2218
2219 * international/characters.el (mirroring): Fix last change:
2220 instead of loading uni-mirrored.el explicitly, do that implicitly
2221 by creating the 'mirroring' uniprop table. This avoids announcing
2222 the loading of uni-mirrored.el.
2223
2224 2014-04-07 Glenn Morris <rgm@gnu.org>
2225
2226 * files.el (buffer-stale--default-function)
2227 (buffer-stale-function, revert-buffer--default):
2228 * autorevert.el (auto-revert-buffers): Doc tweaks.
2229
2230 2014-04-07 Eli Zaretskii <eliz@gnu.org>
2231
2232 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
2233
2234 2014-04-07 Glenn Morris <rgm@gnu.org>
2235
2236 * files.el (make-backup-file-name-function)
2237 (make-backup-file-name, make-backup-file-name--default-function)
2238 (make-backup-file-name-1, find-backup-file-name)
2239 (revert-buffer-function, revert-buffer-insert-file-contents-function)
2240 (buffer-stale--default-function, buffer-stale-function)
2241 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2242 (revert-buffer, revert-buffer--default)
2243 (revert-buffer-insert-file-contents--default-function):
2244 Doc fixes related to defaults no longer being nil.
2245 (make-backup-file-name-function): Bump :version.
2246 Restore nil as a valid but deprecated custom type.
2247
2248 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
2249
2250 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2251 Handle $' used as a variable (bug#17174).
2252
2253 * progmodes/perl-mode.el (perl-indent-new-calculate):
2254 Handle forward-sexp failure (bug#16985).
2255 (perl-syntax-propertize-function): Add "foreach" and "for" statement
2256 modifiers introducing expressions (bug#17116).
2257
2258 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
2259
2260 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
2261
2262 2014-04-05 Leo Liu <sdl.web@gmail.com>
2263
2264 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2265 Add define-compilation-mode.
2266
2267 2014-04-04 João Távora <joaotavora@gmail.com>
2268
2269 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
2270 parse from comment beginning.
2271 (electric-pair--balance-info): Fix typo in comment.
2272 (electric-pair--in-unterminated-string-p): Delete.
2273 (electric-pair--unbalanced-strings-p): New function.
2274 (electric-pair-string-bound-function): New var.
2275 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2276 according to `electric-pair--in-unterminated-string-p'.
2277
2278 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2279
2280 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
2281 Move declaration before first use.
2282 (reftex-move-to-next-arg): Silence compiler warning.
2283
2284 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
2285
2286 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
2287 Use `window-total-width' instead of `window-width'.
2288
2289 2014-04-03 Daniel Colascione <dancol@dancol.org>
2290
2291 * subr.el (set-transient-map): Remove rms's workaround entirely;
2292 use new `suspicious-object' subr to mark our lambda for closer
2293 scrutiny during gc.
2294
2295 2014-04-02 Richard Stallman <rms@gnu.org>
2296
2297 * subr.el (set-transient-map): Comment out previous change.
2298
2299 2014-04-02 Glenn Morris <rgm@gnu.org>
2300
2301 * menu-bar.el (menu-bar-file-menu):
2302 * vc/ediff.el (ediff-current-file):
2303 Update for revert-buffer-function no longer being nil by default.
2304
2305 * simple.el (command-execute): Respect nil disabled-command-function.
2306
2307 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2308
2309 * simple.el (command-execute): Do not execute the command when it
2310 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2311
2312 2014-04-02 Juri Linkov <juri@jurta.org>
2313
2314 * dired-aux.el (dired-compress-file): Don't use string-match-p
2315 because its match data is used afterwards.
2316
2317 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
2318
2319 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2320 0 like nil.
2321
2322 2014-04-02 João Távora <joaotavora@gmail.com>
2323
2324 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2325 Inhibit quote pairing if point-max is inside an unterminated string.
2326 (electric-pair--looking-at-unterminated-string-p):
2327 Delete.
2328 (electric-pair--in-unterminated-string-p): New function.
2329
2330 2014-04-01 Daniel Colascione <dancol@dancol.org>
2331
2332 * minibuffer.el (minibuffer-complete): Prevent assertion failure
2333 when trying to complete the prompt.
2334
2335 2014-03-31 Leo Liu <sdl.web@gmail.com>
2336
2337 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2338 Refactor out eldoc-documentation-function-default.
2339 (eldoc-documentation-function-default): New function.
2340 (eldoc-documentation-function): Change value.
2341
2342 2014-03-31 Glenn Morris <rgm@gnu.org>
2343
2344 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
2345
2346 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
2347 (vhdl-compose-components-package, vhdl-compose-configuration):
2348 Abbreviate default-directory (missing from some previous upstream sync).
2349
2350 2014-03-31 Reto Zimmermann <reto@gnu.org>
2351
2352 Sync with upstream vhdl mode v3.35.2.
2353 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
2354 (top-level): No longer require assoc.
2355 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
2356 New functions. Use throughout to replace aget etc.
2357 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
2358 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
2359 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
2360 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
2361 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
2362 except `vhdl-compiler'.
2363 (vhdl-error-regexp-add-emacs): Remove all other compilers,
2364 when appropriate.
2365
2366 2014-03-31 Glenn Morris <rgm@gnu.org>
2367
2368 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
2369 Revert 2014-03-26 merge goof; go back to using defalias.
2370
2371 2014-03-30 Daniel Colascione <dancol@dancol.org>
2372
2373 * comint.el (comint-send-input):
2374 Deactivate completion-in-region-mode before we send comint input.
2375 (Bug#17139).
2376
2377 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
2378 on keyboard-quit.
2379
2380 2014-03-29 Glenn Morris <rgm@gnu.org>
2381
2382 * textmodes/reftex.el: Manage most autoloads automatically.
2383 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
2384 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
2385 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
2386 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
2387 * textmodes/reftex-toc.el: Set generated-autoload-file,
2388 and add autoload cookies for reftex.el.
2389 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
2390
2391 2014-03-28 Glenn Morris <rgm@gnu.org>
2392
2393 * cus-start.el (report-emacs-bug-address): Set custom properties.
2394 * mail/emacsbug.el (report-emacs-bug-address):
2395 Variable is now defined in emacs.c.
2396
2397 * mail/emacsbug.el (report-emacs-bug):
2398 Include system-configuration-features.
2399
2400 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
2401
2402 * simple.el (cycle-spacing): Never delete spaces on first run by
2403 default, but do so in a new 'fast mode and if there are already
2404 N spaces (the previous behavior).
2405 Compare N with its value in previous invocation so that changing
2406 prefix argument restarts `cycle-spacing' sequence.
2407 The idea is that with this change, binding M-SPC to
2408 `cycle-spacing' should not introduce any changes in behavior of
2409 the binding so long as users do not type M-SPC twice in a raw with
2410 the same prefix argument or lack thereof.
2411
2412 2014-03-28 Glenn Morris <rgm@gnu.org>
2413
2414 * faces.el (term-file-aliases): New variable.
2415 (tty-run-terminal-initialization): Respect term-file-aliases.
2416 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
2417 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
2418 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
2419
2420 2014-03-27 Glenn Morris <rgm@gnu.org>
2421
2422 * startup.el (inhibit-startup-hooks): Doc tweak.
2423 (normal-top-level): Simplify running of hooks.
2424 For window-setup-hook, respect inhibit-startup-hooks.
2425 (command-line-1): Don't set window-setup-hook to nil.
2426
2427 Allow selective autoloading from obsolete/ directory.
2428 * Makefile.in (obsolete-autoloads): New rule.
2429 (autoloads): Run obsolete-autoloads.
2430 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
2431 * simple.el (iswitchb-mode): Remove hand-written autoloads.
2432
2433 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2434
2435 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2436 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2437
2438 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2439 Don't propertize `?' or `!' as symbol constituent when after
2440 colon. (Bug#17097)
2441
2442 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2443
2444 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2445 which is no longer needed and causes trouble in GTK builds (bug#17046).
2446
2447 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2448 Use url-insert-file-contents; package-handle-response no longer exists.
2449
2450 2014-03-26 Daniel Colascione <dancol@dancol.org>
2451
2452 * simple.el (process-menu-mode-map): New variable.
2453 (process-menu-delete-process): New command.
2454
2455 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2456
2457 * emacs-lisp/package.el: Fix bug#16733 (again).
2458 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2459 (url-http-target-url): Remove unused declarations.
2460 (package-handle-response): Remove.
2461 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2462 (package--download-one-archive): Use current-buffer instead of
2463 dynamic binding of `buffer'.
2464 (describe-package-1): Do not decode readme-string.
2465
2466 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
2467
2468 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2469
2470 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2471 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2472 `remote-file-name-inhibit-cache' to nil in the second pass.
2473 (tramp-find-executable): Do not call "which" on SunOS.
2474 (tramp-send-command-and-check): Fix docstring.
2475 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2476 check whether source directory has set the sticky bit.
2477
2478 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
2479
2480 * simple.el (primitive-undo): Only process marker adjustments
2481 validated against their corresponding (TEXT . POS). Issue warning
2482 for lone marker adjustments in undo history. (Bug#16818)
2483 (undo-make-selective-list): Add marker adjustments to selective
2484 undo list based on whether their corresponding (TEXT . POS) is in
2485 the region. Remove variable adjusted-markers, which was unused
2486 and only non nil during undo-make-selective-list.
2487 (undo-elt-in-region): Return nil when passed a marker adjustment
2488 and explain in function doc.
2489
2490 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2491
2492 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2493
2494 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2495
2496 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2497 Match special global variables without curlies, too.
2498 (ruby-font-lock-keywords): Simplify the matcher for special global
2499 variables. Don't require a non-word character after the variable.
2500 (Bug#17057)
2501
2502 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2503
2504 * simple.el (redisplay-highlight-region-function): Increase priority of
2505 overlay to make sure boundaries are visible (bug#15899).
2506
2507 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2508
2509 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2510 (frameset-restore): Compare display strings with equal.
2511
2512 * frame.el (make-frame): Don't quote display name in error message,
2513 it is already a string.
2514
2515 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2516
2517 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2518 the password.
2519
2520 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2521
2522 * emacs-lisp/package.el (package--add-to-archive-contents):
2523 Include already installed and built-in packages in
2524 `package-archive-contents'.
2525 (package-install): Don't include already installed packages in the
2526 options during interactive invocation. (Bug#16762)
2527 (package-show-package-list): If the buffer is already displayed in
2528 another window, switch to that window.
2529
2530 2014-03-26 Reto Zimmermann <reto@gnu.org>
2531
2532 Sync with upstream vhdl mode v3.35.1.
2533 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
2534 (vhdl-compiler-alist): Doc fix.
2535 (vhdl-goto-line): Remove.
2536 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
2537 (vhdl-mode) <paragraph-start>: Fix value.
2538 (vhdl-fix-statement-region): Not `for' in wait-statement.
2539 (vhdl-beautify-region): Also (un)tabify.
2540 (vhdl-get-visible-signals):
2541 Scan declarative part of generate statements.
2542 (vhdl-template-record): Fix indentation for record type declaration.
2543 (vhdl-expand-abbrev, vhdl-expand-paren):
2544 Revert to using fset again rather than defalias.
2545 (vhdl-scan-directory-contents): Tweak.
2546 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
2547 (vhdl-compose-components-package):
2548 Replace vhdl-goto-line with forward-line.
2549 (top-level): Tweak speedbar frame selection.
2550 (vhdl-generate-makefile-1): Support for compilers with no
2551 unit-to-file name mapping (create directory with dummy files).
2552
2553 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
2554
2555 Sync with upstream verilog-mode revision 702457d.
2556 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2557 (create-lockfiles): Declare.
2558 (verilog-read-decls): Fix module header imports, bug709.
2559 Reported by Victor Lau.
2560 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
2561 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
2562 interface-only modules, bug721. Reported by Dean Hoyt.
2563
2564 2014-03-26 Glenn Morris <rgm@gnu.org>
2565
2566 * obsolete/gulp.el: Move here from emacs-lisp/.
2567
2568 * files.el (lock-buffer, unlock-buffer, file-locked-p):
2569 Remove fallback aliases, since they are always defined now.
2570
2571 2014-03-24 Daniel Colascione <dancol@dancol.org>
2572
2573 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2574 instead of cl-loop search function.
2575
2576 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
2577
2578 * calendar/parse-time.el (parse-time-iso8601-regexp)
2579 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
2580 it more generally.
2581
2582 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
2583
2584 * net/dns.el (network-interface-list): Define for XEmacs.
2585
2586 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
2587
2588 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
2589 the network interfaces changed.
2590 (dns-query): Use it to flush the data.
2591
2592 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2593
2594 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
2595
2596 2014-03-23 Daniel Colascione <dancol@dancol.org>
2597
2598 Change subword-mode to use `find-word-boundary-function-table' and
2599 replace `capitalized-words-mode'. Also, convert to lexical
2600 binding.
2601
2602 * progmodes/cap-words.el: Delete now-obsolete file.
2603 * progmodes/subword.el: Reimplement using
2604 `find-word-boundary-function-table'.
2605 (subword-mode-map): Hollow out.
2606 (capitalized-words-mode): Define as obsolete alias for
2607 `subword-mode'.
2608 (subword-mode, superword-mode): Tweak documentation to reflect new
2609 implementation; call `subword-setup-buffer'.
2610 (subword-forward, subword-capitalize): Add underscore to indicate
2611 unused variable.
2612 (subword-find-word-boundary-function-table): New constant.
2613 (subword-empty-char-table): New constant.
2614 (subword-setup-buffer): New function.
2615 (subword-find-word-boundary): New function.
2616
2617 2014-03-23 Daniel Colascione <dancol@dancol.org>
2618
2619 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2620 list to look for keyword arguments instead of `memq', fixing
2621 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2622 Please make bootstrap.
2623
2624 2014-03-22 Glenn Morris <rgm@gnu.org>
2625
2626 * dired.el (dired-read-regexp): Make obsolete.
2627 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
2628 (dired-flag-files-regexp):
2629 * dired-aux.el (dired-mark-read-regexp):
2630 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
2631
2632 * startup.el (fancy-startup-text):
2633 * help.el (describe-gnu-project): Visit online info about GNU project.
2634
2635 * help-fns.el (help-fns--interactive-only): New function.
2636 (help-fns-describe-function-functions): Add the above function.
2637 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
2638 (next-line, previous-line): Remove hand-written interactive-only
2639 information from doc strings, it is auto-generated now.
2640 * bookmark.el (bookmark-write):
2641 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
2642 (epa-mail-import-keys): Mark interactive-only,
2643 and remove hand-written interactive-only information from doc strings.
2644 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
2645 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
2646 * files.el (not-modified):
2647 * simple.el (mark-whole-buffer): Mark interactive-only.
2648
2649 * emacs-lisp/byte-run.el (defun-declarations-alist):
2650 Add interactive-only. Doc tweak.
2651 (macro-declarations-alist): Doc tweak.
2652 * subr.el (declare): Doc tweak (add xref to manual).
2653 * comint.el (comint-run):
2654 * files.el (insert-file-literally, insert-file):
2655 * replace.el (replace-string, replace-regexp):
2656 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2657 (delete-forward-char, goto-line, insert-buffer, next-line)
2658 (previous-line): Set interactive-only via declare.
2659
2660 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2661
2662 * emacs-lisp/package.el (package-desc): Use the contents of the
2663 quoted form, not its cdr. (Bug#16873)
2664
2665 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2666
2667 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2668 benefit of doc.c; change parameter profile to match the X function.
2669
2670 2014-03-22 Leo Liu <sdl.web@gmail.com>
2671
2672 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
2673 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
2674
2675 2014-03-21 Richard Stallman <rms@gnu.org>
2676
2677 * battery.el (battery-linux-sysfs): Search for each field
2678 from the beginning of the buffer.
2679
2680 * subr.el (set-transient-map): Clear out function and value
2681 of the temporary symbol when we're done with it.
2682
2683 * mail/rmailsum.el (rmail-summary-delete-forward):
2684 Optimize case of reaching end and handling count.
2685 (rmail-summary-mark-deleted): Optimize when N is current msg.
2686 Don't create new summary line.
2687 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
2688 (rmail-summary-undelete-many): Rewrite for speed.
2689 (rmail-summary-msg-number): New function.
2690
2691 * mail/rmail.el (rmail-delete-message): Update summary.
2692 (rmail-undelete-previous-message): Handle repeat count arg.
2693 (rmail-delete-backward, rmail-delete-forward): Likewise.
2694
2695 2014-03-21 Daniel Colascione <dancol@dancol.org>
2696
2697 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2698 information in bug reports.
2699
2700 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2701
2702 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2703 and `tramp-copy-env'.
2704
2705 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2706 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2707
2708 2014-03-21 Glenn Morris <rgm@gnu.org>
2709
2710 * electric.el (electric-indent-post-self-insert-function): Add doc.
2711
2712 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2713
2714 * emacs-lisp/package.el (package-compute-transaction):
2715 Use `version-list-<=' to compare the requirement version against
2716 the version of package already to be installed. Update the error
2717 message. (Bug#16826)
2718
2719 * progmodes/ruby-mode.el (ruby-smie-rules):
2720 Add indentation rule for ` @ '. (Bug#17050)
2721
2722 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2723
2724 * align.el (align-regexp): Remove superfluous backslash.
2725
2726 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2727 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2728 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2729 Fix docstring typos.
2730 (ffap-next): Use C-u in docstring.
2731 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2732 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2733 Remove superfluous backslashes.
2734 (ffap-string-at-point): Reflow docstring.
2735
2736 * server.el (server-host): Reflow docstring.
2737 (server-unload-function): Fix docstring typo.
2738 (server-eval-at): Remove superfluous backslash.
2739
2740 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2741 (skeleton-insert): Doc fix.
2742 (skeleton-insert): Reflow docstring.
2743
2744 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2745 (tty-color-approximate, tty-color-by-index, tty-color-values)
2746 (tty-color-desc): Remove superfluous backslashes.
2747
2748 2014-03-21 Glenn Morris <rgm@gnu.org>
2749
2750 * cus-start.el (history-length): Bump :version.
2751
2752 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2753 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2754 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2755 Don't set `make-backup-files'.
2756
2757 * info.el (info--prettify-description): New function,
2758 to give info-finder descriptions consistent case, punctuation.
2759 (Info-finder-find-node): Use it. Sort packages.
2760 Refer to "description" rather than "commentary".
2761
2762 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2763
2764 * frameset.el (frameset--print-register): New function.
2765 (frameset-to-register): Use it.
2766
2767 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
2768
2769 * progmodes/hideif.el (hif-string-to-number): New function.
2770 (hif-tokenize): Use it to understand non-decimal floats.
2771
2772 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
2773
2774 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
2775
2776 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2777
2778 * electric.el (electric-newline-and-maybe-indent): New command.
2779 Bind it globally to C-j.
2780 (electric-indent-mode): Don't mess with the global map any more.
2781 Don't drop the post-self-insert-hook is some buffer is still using it
2782 (bug#16770).
2783
2784 * bindings.el (global-map): Remove C-j binding.
2785
2786 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2787 the docstring of functions advised before dumping (bug#16993).
2788
2789 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2790
2791 * ps-print.el (ps-generate-postscript-with-faces):
2792 Explicitly deactivate the mark (bug#16866).
2793 * simple.el (deactivate-mark): Update region highlight.
2794
2795 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2796
2797 * emacs-lisp/package.el (describe-package-1):
2798 Decode commentary (bug#16733).
2799
2800 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2801
2802 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2803 modification of the value argument of :set (bug#16755).
2804
2805 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2806
2807 * simple.el (newline-and-indent): Do autofill (bug#17031).
2808
2809 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2810
2811 * newcomment.el (comment-normalize-vars): Only add escaping check
2812 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2813 (comment-beginning): Use `narrow-to-region' instead of moving back
2814 one character.
2815 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2816 (comment-start-skip): Update the docstring.
2817
2818 2014-03-18 Richard Stallman <rms@gnu.org>
2819
2820 * dired.el (dired-display-file): Force use of other window.
2821
2822 2014-03-18 Daniel Colascione <dancol@dancol.org>
2823
2824 * startup.el (tty-handle-args): Remove debug message from 2007.
2825
2826 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2827
2828 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2829 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2830 (advice--make-1, advice-add, advice-remove):
2831 Remove braindead :advice-pending hack.
2832
2833 2014-03-17 Glenn Morris <rgm@gnu.org>
2834
2835 * calendar/calendar.el (calendar-generate-month): Apply weekend
2836 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2837
2838 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2839
2840 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2841 (tramp-call-process): Trace also DESTINATION.
2842
2843 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2844 Quote file names when they are local. Remove superfluous trace.
2845
2846 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2847
2848 * newcomment.el (comment-beginning): If `comment-start-skip'
2849 doesn't match, move back one char and try again. (Bug#16971)
2850
2851 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2852 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2853 Set `comment-start-skip' to a simpler value that doesn't try to
2854 check if the semicolon is escaped (this is handled by
2855 `syntax-ppss' now). (Bug#16971)
2856
2857 * progmodes/scheme.el (scheme-mode-variables): Same.
2858
2859 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2860
2861 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2862 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2863 current (Bug#16816, Bug#17007).
2864 (with-current-buffer-window): New macro doing the same as
2865 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2866 * help.el (help-print-return-message): Warn in doc-string to not
2867 use this in `with-help-window'.
2868 (describe-bindings-internal): Call `describe-buffer-bindings'
2869 from within help buffer. See Juanma's scenario in (Bug#16816).
2870 (with-help-window): Update doc-string.
2871 * dired.el (dired-mark-pop-up):
2872 * files.el (save-buffers-kill-emacs):
2873 * register.el (register-preview): Use `with-current-buffer-window'
2874 instead of `with-temp-buffer-window'.
2875
2876 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2877
2878 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2879 Implement inserting into current buffer, documented in their docstrings.
2880 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2881 (rst-section-tree-point, rst-forward-section, rst-indent)
2882 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2883 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2884 (rst-font-lock-handle-adornment-pre-match-form)
2885 (rst-repeat-last-character): Reflow docstrings.
2886 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2887 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2888 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2889 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2890 Fix docstring typos.
2891 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2892 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2893 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2894
2895 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2896
2897 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2898 for compatibility with other ports.
2899 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2900 from the -xrm command line argument, but in the Nextstep port its value
2901 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2902
2903 * progmodes/python.el (defconst, python-syntax-count-quotes)
2904 (python-indent-region, python-indent-shift-right)
2905 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2906 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2907 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2908 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2909 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2910 (python-shell-buffer-substring, python-shell-send-buffer)
2911 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2912 (python-completion-complete-at-point, python-fill-docstring-style)
2913 (python-eldoc-function, python-imenu-format-item-label)
2914 (python-imenu-format-parent-item-label)
2915 (python-imenu-format-parent-item-jump-label)
2916 (python-imenu--build-tree, python-imenu-create-index)
2917 (python-imenu-create-flat-index): Fix docstring typos.
2918 (python-indent-context, python-shell-prompt-regexp, run-python):
2919 Remove superfluous backslashes.
2920 (python-indent-line, python-nav-beginning-of-defun)
2921 (python-shell-get-buffer, python-shell-get-process)
2922 (python-info-current-defun, python-info-current-line-comment-p)
2923 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2924 (python-indent-post-self-insert-function, python-shell-send-file)
2925 (python-shell-completion-get-completions)
2926 (python-shell-completion-complete-or-indent)
2927 (python-eldoc--get-doc-at-point): Reflow docstrings.
2928
2929 2014-03-14 Glenn Morris <rgm@gnu.org>
2930
2931 * emacs-lisp/package.el (package-menu-mode-map):
2932 Replace use of obsolete function alias. Tweak menu item text.
2933
2934 * info.el (Info-finder-find-node):
2935 Ignore the `emacs' metapackage. (Bug#10813)
2936
2937 * finder.el (finder-list-matches): Include unversioned packages
2938 in the result of a keyword search.
2939
2940 * finder.el (finder--builtins-descriptions): New constant.
2941 (finder-compile-keywords): Use finder--builtins-descriptions.
2942
2943 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2944
2945 * simple.el (blink-matching-paren): Describe the new value,
2946 `jump', enabling the old behavior.
2947 (blink-matching-open): Use that value. (Bug#17008)
2948
2949 2014-03-14 Glenn Morris <rgm@gnu.org>
2950
2951 * finder.el (finder-no-scan-regexp): Add leim-list.
2952 (finder-compile-keywords):
2953 Don't skip files with same basename. (Bug#14010)
2954 * Makefile.in (setwins_finder): New, excluding leim.
2955 (finder-data): Use setwins_finder.
2956
2957 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2958 (help-function-arglist, help-make-usage): Move from here...
2959 * help.el (help-split-fundoc, help-add-fundoc-usage)
2960 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2961 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2962
2963 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2964
2965 * net/socks.el (socks, socks-override-functions)
2966 (socks-find-services-entry):
2967 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2968 (hif-find-ifdef-block):
2969 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2970
2971 * net/tls.el (tls-program): Reflow docstring.
2972
2973 * progmodes/pascal.el (pascal-mode-abbrev-table)
2974 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2975 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2976 (pascal-outline-mode): Fix docstring typos.
2977 (pascal-mode): Let define-derived-mode document mode hook.
2978 (pascal-uncomment-area): Reflow.
2979 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2980
2981 * progmodes/opascal.el (opascal-compound-block-indent)
2982 (opascal-case-label-indent): Fix docstring typos.
2983 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2984
2985 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2986
2987 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2988 Fontify multiple adjacent negation chars. (Bug#17004)
2989
2990 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2991
2992 * emacs-lisp/package.el (package--prepare-dependencies):
2993 Accept requirements without explicit version (bug#14941).
2994
2995 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2996
2997 * register.el (register-separator, copy-to-register): Doc fixes.
2998 (register-preview-default): Remove unnecessary call to concat.
2999
3000 * frameset.el (frameset-restore): When checking for a visible frame,
3001 use the action map instead of calling visible-frame-list.
3002
3003 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
3004
3005 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
3006
3007 2014-03-12 Martin Rudalics <rudalics@gmx.at>
3008
3009 * window.el (fit-frame-to-buffer): Get maximum width from
3010 display's width instead of height.
3011
3012 2014-03-12 Glenn Morris <rgm@gnu.org>
3013
3014 * desktop.el (desktop-restore-frames)
3015 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
3016 (desktop-restore-reuses-frames): Doc tweaks.
3017
3018 * electric.el (electric-indent-mode): Doc fix.
3019
3020 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3021
3022 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
3023 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
3024 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
3025 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
3026 (cvs-dired-use-hook): Fix docstring typos.
3027 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
3028 Doc fixes.
3029
3030 * vc/pcvs-defs.el (cvs-auto-remove-handled)
3031 (cvs-auto-remove-directories, cvs-default-ignore-marks)
3032 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
3033 (cvs-execute-single-dir): Fix docstring typos.
3034
3035 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
3036 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
3037
3038 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
3039
3040 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
3041 Fix docstring typos.
3042
3043 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3044
3045 * frameset.el (frameset--jump-to-register): Add autoload; it could be
3046 called from jump-to-register after unloading the frameset package.
3047
3048 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3049
3050 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
3051 (bug#16975). Deactivate the mark before setting it to nil.
3052 (activate-mark): Do nothing if region is already active.
3053
3054 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3055
3056 * frameset.el (frameset--target-display): Remove definition; declare.
3057 (frameset-save, frameset-restore): Let-bind frameset--target-display.
3058
3059 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3060
3061 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
3062 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
3063 when the advice is pending.
3064 (advice-remove): Remove this marker when not needed any more.
3065
3066 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3067
3068 * frameset.el: Separate options for reusing frames and cleaning up.
3069 (frameset--reuse-list): Remove definition; declare.
3070 (frameset--action-map): Declare.
3071 (frameset--find-frame-if): Doc fix.
3072 (frameset--restore-frame): Cache frame action.
3073 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
3074 how to clean up the frame list after restoring. Remove cleaning
3075 options from REUSE-FRAMES. Change all keyword values to symbols.
3076 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
3077
3078 * desktop.el (desktop-restore-forces-onscreen)
3079 (desktop-restore-reuses-frames): Use non-keyword values.
3080 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
3081
3082 2014-03-10 Glenn Morris <rgm@gnu.org>
3083
3084 * files.el (find-file): Doc fix: update info node name.
3085
3086 * emacs-lisp/advice.el (ad-add-advice, defadvice):
3087 Doc fix: remove references to deleted info nodes.
3088
3089 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
3090
3091 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3092 Do not add `nil' to the environment, when there's no remote `locale'.
3093 (tramp-find-inline-encoding): Check, that the remote host has
3094 installed perl, before sending scripts.
3095
3096 2014-03-10 Leo Liu <sdl.web@gmail.com>
3097
3098 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3099 Clear eldoc-last-message. (Bug#16920)
3100
3101 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3102
3103 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
3104 (bug#14430).
3105
3106 2014-03-09 Juri Linkov <juri@jurta.org>
3107
3108 * ansi-color.el (ansi-color-names-vector): Copy default colors
3109 from `xterm-standard-colors' that look well on the default white
3110 background (and also on the black background) to avoid illegible
3111 color combinations like yellow-on-white and white-on-white.
3112 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
3113
3114 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
3115
3116 * frameset.el (frameset-restore): When no frame is visible, do not
3117 generate a list of frames, just make visible the selected one.
3118
3119 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
3120
3121 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
3122 it only contains the repository root. (Bug#16897)
3123
3124 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
3125
3126 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
3127 only when `remote-file-name-inhibit-cache' is nil.
3128 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
3129
3130 2014-03-06 Martin Rudalics <rudalics@gmx.at>
3131
3132 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
3133 Fix doc-strings.
3134 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
3135 fit-frame-to-buffer variable. Fix doc-string.
3136 (fit-window-to-buffer): Set ONLY argument in call of
3137 fit-frame-to-buffer. Fix doc-string.
3138
3139 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
3140
3141 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
3142 (tramp-action-password): Clear password cache if needed.
3143 (tramp-read-passwd): Do not clear password cache.
3144
3145 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
3146 cache unless it is the first password request.
3147
3148 2014-03-06 Glenn Morris <rgm@gnu.org>
3149
3150 * simple.el (newline): Doc tweak.
3151
3152 * emacs-lisp/shadow.el (load-path-shadows-find):
3153 Ignore dir-locals. (Bug#12357)
3154
3155 2014-03-05 Glenn Morris <rgm@gnu.org>
3156
3157 * files.el (interpreter-mode-alist):
3158 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
3159
3160 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3161
3162 * frameset.el (frameset--initial-params): Filter out null entries.
3163
3164 2014-03-05 Martin Rudalics <rudalics@gmx.at>
3165
3166 * window.el (window-min-height, window-min-width):
3167 Rewrite doc-strings.
3168 (window-body-size): Add PIXELWISE argument to make it consistent
3169 with its callees.
3170
3171 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3172
3173 * finder.el (finder-mode-map, finder-mode-syntax-table):
3174 Revert part of 2014-02-28 change.
3175
3176 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
3177
3178 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
3179 (eww-setup-buffer): Clear next/prev/etc more reliably.
3180 (eww-textarea-map): [tab] doesn't work on tty.
3181 Reported by Mario Lang.
3182
3183 * net/shr.el (shr-map): Ditto.
3184
3185 2014-03-04 Glenn Morris <rgm@gnu.org>
3186
3187 * minibuffer.el (completion-hilit-commonality):
3188 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
3189
3190 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3191
3192 * hilit-chg.el (hilit-chg-unload-function): New function.
3193 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
3194 (hilit-chg-map-changes): Prefer cardinal number to digit.
3195 (hilit-chg-display-changes): Reflow docstring.
3196 (highlight-changes-rotate-faces): Remove superfluous backslash.
3197
3198 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
3199
3200 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
3201 `tramp-send-command-and-check'.
3202
3203 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3204
3205 * hexl.el (hexl-address-region, hexl-ascii-region)
3206 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
3207 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
3208 (hexl-forward-word, hexl-previous-line, hexl-next-line):
3209 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
3210 (hexl-mode): Doc fix.
3211 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
3212 (hexl-mode-ruler): Fix typos in docstrings.
3213
3214 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
3215 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
3216 Remove superfluous backslashes.
3217 (strokes-last-stroke, strokes-global-map, strokes-mode):
3218 Reflow docstrings.
3219 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
3220 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
3221 (strokes-distance-squared, strokes-global-set-stroke)
3222 (strokes-global-set-stroke-string): Doc fixes.
3223 (strokes-help): Fix typos; reflow docstring.
3224
3225 2014-03-04 Martin Rudalics <rudalics@gmx.at>
3226
3227 * window.el (window-in-direction): Fix doc-string.
3228
3229 2014-03-04 Glenn Morris <rgm@gnu.org>
3230
3231 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
3232 Explicit error if no grammar.
3233 (smie-config-save): Doc fix. Fix quote typo.
3234
3235 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
3236
3237 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
3238 electric-indent-mode-hook if we obey electric-indent-mode.
3239 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
3240 decide whether we obey electric-indent-mode.
3241 (c-change-set-fl-decl-start, c-extend-after-change-region):
3242 Silence warnings.
3243 (c-electric-indent-mode-hook): Assume we do want to obey
3244 electric-indent-mode.
3245
3246 * electric.el (electric-indent-mode-has-been-called): Remove.
3247 (electric-indent-mode): Fix accordingly.
3248
3249 * files.el (hack-local-variables): Mention file name in warning.
3250
3251 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
3252
3253 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
3254
3255 * bindings.el: Add comment describing why C-d binds to `delete-char'.
3256 * simple.el (delete-forward-char): Mark as interactive-only.
3257
3258 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
3259
3260 * icomplete.el (icomplete-completions):
3261 Follow-up to 2014-03-01 change.
3262
3263 * icomplete.el: Miscellaneous doc fixes.
3264 Use Icomplete everywhere instead of icomplete for consistency.
3265 (icomplete-max-delay-chars): Fix typo.
3266 (icomplete-mode): Use \[].
3267 (icomplete-tidy, icomplete-exhibit): Reflow.
3268 (icomplete-minibuffer-setup-hook, icomplete-completions):
3269 Remove superfluous backlashes.
3270
3271 * ido.el: Miscellaneous doc fixes.
3272 Use Ido everywhere instead of ido or `ido' for consistency.
3273 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
3274 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
3275 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
3276 (ido-separator): Extract obsolescence info from docstring and declare
3277 with make-obsolete-variable.
3278 (ido-minibuffer-setup-hook): Simplify example.
3279 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
3280 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
3281 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
3282 (ido-everywhere): Reflow docstring.
3283 (ido-toggle-vc): Doc fix.
3284 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
3285 of long list of keybindings.
3286
3287 2014-03-03 Glenn Morris <rgm@gnu.org>
3288
3289 * frame.el (display-pixel-height, display-pixel-width)
3290 (display-mm-dimensions-alist, display-mm-height)
3291 (display-mm-width): Doc tweaks.
3292
3293 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
3294
3295 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
3296 case of undo in region.
3297
3298 2014-03-02 Martin Rudalics <rudalics@gmx.at>
3299
3300 * window.el (fit-window-to-buffer): Fix argument in window-size
3301 call when window is horizontally combined.
3302
3303 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
3304
3305 * icomplete.el (icomplete-completions): Use string-width.
3306 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
3307
3308 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
3309
3310 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3311 Highlight regexp options. (Bug#16914)
3312
3313 2014-03-01 Martin Rudalics <rudalics@gmx.at>
3314
3315 * window.el (window--max-delta-1): Round down when calculating
3316 how many lines/columns we can get from a window.
3317
3318 2014-03-01 Glenn Morris <rgm@gnu.org>
3319
3320 * isearch.el (search-invisible): Doc fix.
3321
3322 * minibuffer.el (completion-hilit-commonality):
3323 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
3324 * comint.el (comint-dynamic-list-completions): Doc fix.
3325 * comint.el (comint-dynamic-list-completions):
3326 * filecache.el (file-cache-minibuffer-complete):
3327 * tempo.el (tempo-display-completions):
3328 * eshell/em-hist.el (eshell-list-history):
3329 Replace use of obsolete argument of display-completion-list.
3330
3331 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
3332
3333 * icomplete.el (icomplete-completions):
3334 Revert back to using "..." when ?… cannot be displayed.
3335
3336 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3337
3338 * finder.el (finder-unload-function): New function.
3339
3340 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3341
3342 * dframe.el (dframe-detach):
3343 * find-dired.el (find-dired, find-name-dired):
3344 * finder.el (finder-mode-map, finder-mode-syntax-table)
3345 (finder-headmark, finder-select, finder-mouse-select):
3346 Fix docstring typos.
3347
3348 2014-02-28 Martin Rudalics <rudalics@gmx.at>
3349
3350 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
3351 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
3352 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3353 Fix doc-string based on a suggestion by Nicolas Richard
3354 <theonewiththeevillook@yahoo.fr>.
3355 * help.el (with-help-window): Fix doc-string.
3356
3357 2014-02-28 Ivan Kanis <ivan@kanis.fr>
3358
3359 * net/shr.el (shr-image-animate): New option.
3360 (shr-put-image): Respect shr-image-animate.
3361
3362 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
3363
3364 * net/tramp-adb.el (tramp-adb-parse-device-names):
3365 Use `accept-process-output'.
3366 (tramp-adb-handle-file-truename): Cache the localname only.
3367 (tramp-adb-handle-make-directory)
3368 (tramp-adb-handle-delete-directory): Flush file properties correctly.
3369 (tramp-adb-handle-set-file-modes): Do not raise an error when file
3370 modes cannot be changed.
3371
3372 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3373 file properties of symlinks.
3374
3375 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
3376
3377 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3378 required/optional fields to match development biblatex. (Bug#16781)
3379
3380 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
3381
3382 * saveplace.el (toggle-save-place):
3383 Fix argument handling. (Bug#16673)
3384
3385 2014-02-28 Glenn Morris <rgm@gnu.org>
3386
3387 * minibuffer.el (completions-first-difference)
3388 (completions-common-part, completion-hilit-commonality): Doc fixes.
3389
3390 2014-02-28 Karl Berry <karl@gnu.org>
3391
3392 * info.el (Info-mode-map): Add H for describe-mode,
3393 to synchronize with standalone Info.
3394
3395 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
3396
3397 * progmodes/sql.el (sql-interactive-mode):
3398 Avoid setting global comint-input-ring-separator. (Bug#16814)
3399
3400 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3401
3402 * net/dbus.el (dbus--init-bus): Declare function.
3403 (dbus-path-local, dbus-interface-local): New defconst.
3404 (dbus-init-bus): Use them.
3405 (dbus-return-values-table): Extend doc.
3406 (dbus-handle-bus-disconnect): Extend error message.
3407
3408 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
3409
3410 * subr.el (y-or-n-p): Fix double space issue in message.
3411
3412 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3413
3414 * net/tramp.el (tramp-call-process): Improve trace message.
3415 (tramp-handle-insert-file-contents): Trace error case.
3416
3417 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3418 <insert-directory>: Use `tramp-handle-insert-directory'.
3419 (tramp-adb-handle-insert-directory): Remove function.
3420 (tramp-adb-send-command-and-check): New defun, replacing
3421 `tramp-adb-command-exit-status'. Change all callees.
3422 (tramp-adb-handle-file-attributes)
3423 (tramp-adb-handle-directory-files-and-attributes): Use it.
3424 (tramp-adb-ls-output-name-less-p):
3425 Use `directory-listing-before-filename-regexp'.
3426 (tramp-adb-handle-delete-directory): Flush also file properties of
3427 the truename of directory.
3428 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3429 (tramp-adb-handle-file-local-copy): Make the local copy readable.
3430 (tramp-adb-handle-write-region): Implement APPEND.
3431 (tramp-adb-handle-rename-file): Make it more robust. Flush file
3432 properties correctly.
3433 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3434 variables. Check for connected devices only when needed.
3435
3436 2014-02-27 Glenn Morris <rgm@gnu.org>
3437
3438 * minibuffer.el (completion-table-dynamic)
3439 (completion-table-with-cache): Doc fixes.
3440
3441 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3442 (completing-read-multiple): Doc fixes.
3443
3444 2014-02-27 Daniel Colascione <dancol@dancol.org>
3445
3446 * minibuffer.el (completion--nth-completion): Fix indentation.
3447
3448 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3449 explicit tramp path is empty.
3450
3451 2014-02-27 Glenn Morris <rgm@gnu.org>
3452
3453 * emacs-lisp/crm.el (completing-read-multiple):
3454 Empower help-enable-auto-load.
3455
3456 2014-02-26 Glenn Morris <rgm@gnu.org>
3457
3458 * startup.el (command-line): Don't init the tty in daemon mode.
3459
3460 Avoid calling tty-setup-hook twice, eg if a term file
3461 explicitly calls tty-run-terminal-initialization. (Bug#16859)
3462 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3463 (tty-create-frame-with-faces): Use it.
3464 * startup.el (command-line): Pass run-hook argument
3465 to tty-run-terminal-initialization.
3466
3467 * dired.el (dired-restore-desktop-buffer): Demote errors;
3468 eg in case a glob match fails. (Bug#16884)
3469
3470 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
3471
3472 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3473 error from `read-from-string'. (Bug#16850)
3474
3475 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3476 result of `completing-read' in the interactive form. (Bug#16854)
3477
3478 2014-02-25 Glenn Morris <rgm@gnu.org>
3479
3480 * image.el (image-animate, image-animate-timeout):
3481 Stop animating images in dead buffers. (Bug#16878)
3482
3483 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
3484
3485 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3486 Doc fixes.
3487 * startup.el (term-setup-hook): Doc fix. Make obsolete.
3488 * term/sun.el (sun-raw-prefix-hooks):
3489 Use tty-setup-hook instead of term-setup-hook.
3490 (terminal-init-sun): Construct message from bytecomp plist.
3491 * term/wyse50.el (enable-arrow-keys): Doc fix.
3492
3493 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3494
3495 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3496 Fix docstring typos.
3497
3498 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
3499
3500 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3501
3502 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3503
3504 * minibuffer.el (completion--try-word-completion):
3505 Fix error when completing M-x commands (bug#16808).
3506
3507 2014-02-24 Leo Liu <sdl.web@gmail.com>
3508
3509 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3510
3511 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3512
3513 * apropos.el (apropos-print): Avoid formatting error when
3514 apropos-do-all and apropos-compact-layout are both t.
3515
3516 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3517
3518 * apropos.el (apropos-property, apropos-all-words-regexp)
3519 (apropos-true-hit, apropos-variable, apropos-print):
3520 Fix docstring typos, and remove obsolete comment.
3521
3522 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3523
3524 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3525 Preserve trailing "/". (Bug#16851)
3526
3527 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3528
3529 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3530 after `=>' (bug#16811).
3531 (ruby-smie-rules): Handle the inconsistent second element of the
3532 list returned by `smie-indent--parent'.
3533 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3534 method call.
3535
3536 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3537
3538 * elec-pair.el (electric-pair-text-syntax-table)
3539 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3540 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3541 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3542 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3543
3544 2014-02-22 Glenn Morris <rgm@gnu.org>
3545
3546 * imenu.el (imenu--generic-function): Doc fix.
3547
3548 * register.el (frame-configuration-to-register): Make obsolete.
3549
3550 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
3551
3552 * desktop.el (desktop-save-buffer-p): Do not fail when
3553 desktop-files-not-to-save is nil. Return t for true result
3554 as the doc says.
3555
3556 2014-02-22 Daniel Colascione <dancol@dancol.org>
3557
3558 * net/secrets.el (secrets-create-item, secrets-search-items):
3559 Check that attribute values are strings, avoiding the construction
3560 of invalid dbus messages.
3561
3562 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3563
3564 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3565 defun-declarations-alist.
3566
3567 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3568
3569 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3570 (bug#16829).
3571
3572 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3573
3574 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3575 (whitespace-newline, whitespace-trailing, whitespace-line)
3576 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3577 (whitespace-space-after-tab): Fix typo in docstrings.
3578
3579 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3580
3581 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3582
3583 * electric.el (electric-indent-functions-without-reindent):
3584 Add `yaml-indent-line'.
3585
3586 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3587
3588 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3589 It has done nothing for years; should be removed after the release.
3590
3591 * simple.el (choose-completion): Fix docstring typo.
3592 (read-quoted-char-radix): Remove unneeded * in docstring.
3593 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3594 Don't escape parentheses unnecessarily in docstrings.
3595
3596 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3597
3598 Fix handling of window-min-height/-width (Bug#16738).
3599 * window.el (window--dump-window, window--dump-frame):
3600 New functions.
3601 (window--min-size-1): Account for window dividers.
3602 When window-resize-pixelwise is nil, delay rounding till after the
3603 sum of the window components has been calculated.
3604 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3605 nil make sure at least one text line and two text columns remain
3606 fully visible.
3607 (window-resize): Signal an error when window-resize-apply fails.
3608 (window--resize-child-windows): Fix calculation of by how many
3609 pixels a window can still be shrunk via window-new-normal.
3610 (adjust-window-trailing-edge): Call window--resizable with
3611 correct TRAIL argument.
3612
3613 (with-temp-buffer-window): Don't evaluate BODY within
3614 with-current-buffer (Bug#16816).
3615
3616 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3617
3618 * net/tramp.el (tramp-check-cached-permissions):
3619 Call `file-attributes' with `suffix' being a symbol but a string.
3620
3621 2014-02-21 Daniel Colascione <dancol@dancol.org>
3622
3623 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3624 (dbus-init-bus): New function: call into dbus-init-bus-1
3625 and installs a handler for the disconnect signal.
3626 (dbus-call-method): Rewrite to look for result in cons.
3627 (dbus-call-method-handler): Store result in cons.
3628 (dbus-check-event): Recognize events with nil sender as valid.
3629 (dbus-handle-bus-disconnect): New function. React to bus
3630 disconnection signal by synthesizing dbus error for each
3631 pending synchronous or asynchronous call.
3632 (dbus-notice-synchronous-call-errors): New function.
3633 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3634 is true, not all the time.
3635
3636 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3637
3638 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3639 Remove obsolescence declarations, these variables do not exist anymore.
3640
3641 * savehist.el (savehist-save-minibuffer-history)
3642 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3643 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3644 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3645 mostly, refer to "Savehist mode" when talking about the mode,
3646 and not the function.
3647
3648 * saveplace.el (save-place): Remove redundant info in docstring.
3649 (save-place-forget-unreadable-files, toggle-save-place)
3650 (save-place-forget-unreadable-files, save-place-dired-hook):
3651 Fix typos and remove unneeded backslashes.
3652
3653 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3654
3655 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3656 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3657
3658 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3659 <insert-directory>: Use `tramp-handle-insert-directory'.
3660 (tramp-gvfs-handle-insert-directory): Remove function.
3661
3662 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3663 Call `tramp-handle-insert-directory'.
3664
3665 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3666
3667 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3668 before the start of buffer/region (bug#16799).
3669
3670 2014-02-20 Glenn Morris <rgm@gnu.org>
3671
3672 * isearch.el (search-invisible): Doc fix.
3673
3674 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3675
3676 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3677 (bug#16657).
3678
3679 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3680
3681 * frameset.el (frameset-restore): Delay removing an old frame's
3682 duplicate id until the new frame has been correctly created.
3683
3684 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3685
3686 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3687 (tramp-check-cached-permissions): Call `file-attributes' if the
3688 cache is empty.
3689
3690 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3691 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3692
3693 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3694 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3695 (tramp-gvfs-maybe-open-connection): Set always connection
3696 properties, even if target is mounted already.
3697
3698 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3699 Set tramp-autoload cookie.
3700 (tramp-get-remote-touch): New defun.
3701 (tramp-sh-handle-set-file-times): Use it.
3702 (tramp-sh-handle-directory-files-and-attributes):
3703 Use `tramp-handle-directory-files-and-attributes' if neither stat
3704 nor perl are available on the remote host.
3705
3706 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3707 "/". Write long listing only when "l" belongs to the switches.
3708
3709 * net/trampver.el: Update release number.
3710
3711 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3712
3713 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3714
3715 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3716
3717 * window.el (window-state-put): Allow WINDOW to refer to an
3718 internal window (Bug#16793).
3719
3720 2014-02-19 Glenn Morris <rgm@gnu.org>
3721
3722 * textmodes/remember.el: Move provide statement to end.
3723 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3724 (remember-notes): Doc fixes.
3725
3726 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3727
3728 * delsel.el (delete-char): Restore incorrectly erased property
3729 (bug#16795).
3730
3731 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3732
3733 * frameset.el (frameset--restore-frame): When a frame is being reused
3734 and its root window is not alive, delete all the frame's windows before
3735 restoring the window state. This works around the issue in bug#16793.
3736
3737 2014-02-18 Glenn Morris <rgm@gnu.org>
3738
3739 * textmodes/remember.el (remember-data-directory)
3740 (remember-directory-file-name-format, remember-store-in-files)
3741 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3742 (remember-notes-save-and-bury-buffer)
3743 (remember-notes--kill-buffer-query): Doc fixes.
3744
3745 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3746
3747 2014-02-17 Alan Mackenzie <acm@muc.de>
3748
3749 Connect electric-indent-mode up with CC Mode. Bug #15478.
3750 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3751 to electric-indent-{,local-}-mode.
3752 (c-basic-common-init): Set electric-indent-inhibit.
3753 Initialise c-electric-flag from electric-indent-mode.
3754 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3755 New hook functions which propagate electric-indent-mode to CC mode.
3756
3757 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3758 hit, toggle electric-indent-local-mode.
3759
3760 * electric.el (electric-indent-mode-has-been-called):
3761 New variable.
3762
3763 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3764
3765 * frameset.el (frameset-cfg-id): New function.
3766 (frameset--reuse-frame, frameset-restore): Use it.
3767 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3768
3769 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3770
3771 * ido.el (ido-file-internal): Remove unused var `d'.
3772 Use \` for to match BoS. Fit within 80n columns.
3773
3774 2014-02-17 Daniel Colascione <dancol@dancol.org>
3775
3776 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3777 dbus-call-method check for completion using a busy-wait loop with
3778 gradual backoff.
3779
3780 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3781
3782 Sync with Tramp 2.2.9.
3783
3784 * net/trampver.el: Update release number.
3785
3786 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3787
3788 * ido.el (ido-file-internal): Don't add the name of an existing
3789 directory twice. (Bug#16747)
3790
3791 2014-02-16 Glenn Morris <rgm@gnu.org>
3792
3793 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3794 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3795
3796 2014-02-15 Michael R. Mauger <michael@mauger.com>
3797
3798 * progmodes/sql.el: Version 3.4
3799 (sql-oracle-options): New default value ("-L").
3800 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3801 (sql-placeholders-filter): Correct placeholder pattern.
3802 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3803 (sql-login-delay): New variable.
3804 (sql-product-interactive): Use it.
3805
3806 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3807
3808 * frameset.el (frameset--jump-to-register): Check that buffer is live
3809 (bug#16749).
3810
3811 2014-02-15 Glenn Morris <rgm@gnu.org>
3812
3813 * info.el (info-initialize): Revert 2014-01-10 change.
3814
3815 2014-02-14 Glenn Morris <rgm@gnu.org>
3816
3817 * replace.el (map-query-replace-regexp)
3818 (read-regexp-defaults-function, read-regexp): Doc fixes.
3819
3820 * dired.el (dired-read-regexp):
3821 * faces.el (list-faces-display):
3822 * misearch.el (multi-isearch-read-matching-buffers)
3823 (multi-isearch-read-matching-files):
3824 * play/cookie1.el (cookie-apropos):
3825 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3826
3827 * textmodes/remember.el (remember): Use frameset-to-register
3828 rather than frame-configuration-to-register.
3829
3830 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3831
3832 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3833 incorrect keybinding.
3834
3835 2014-02-13 Daniel Colascione <dancol@dancol.org>
3836
3837 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3838 when adding overlays so that line numbers from compiler match line
3839 numbers we use.
3840
3841 2014-02-13 Glenn Morris <rgm@gnu.org>
3842
3843 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3844
3845 * jit-lock.el (jit-lock-mode): Doc fix.
3846
3847 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3848
3849 * apropos.el (apropos-read-pattern): When the user passes an empty
3850 string, give a more helpful error message than "Wrong type
3851 argument: stringp, nil".
3852
3853 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3854
3855 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3856
3857 2014-02-13 Glenn Morris <rgm@gnu.org>
3858
3859 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3860
3861 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3862
3863 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3864 shift-select commands.
3865
3866 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3867
3868 * progmodes/js.el (js-indent-line): Don't widen.
3869 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3870
3871 2014-02-12 Glenn Morris <rgm@gnu.org>
3872
3873 * icomplete.el (icomplete): Add info-link to defgroup.
3874 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3875 (icomplete-minibuffer-map, icomplete-mode)
3876 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3877
3878 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3879 (package-menu-filter): Rename from package-menu-filter-interactive.
3880 Doc fix.
3881
3882 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3883
3884 * frameset.el (frameset--jump-to-register): Select the required
3885 window and buffer before restoring position (bug#16696).
3886
3887 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3888
3889 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3890
3891 2014-02-10 Glenn Morris <rgm@gnu.org>
3892
3893 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3894
3895 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3896
3897 * w32-common-fns.el (x-get-selection): Doc fix.
3898 * select.el (x-get-selection): Doc fix. (Bug#15109)
3899
3900 * face-remap.el (face-remap-add-relative)
3901 (face-remap-remove-relative, face-remap-reset-base)
3902 (face-remap-set-base): Call force-mode-line-update to redisplay
3903 the current buffer due to potential change in faces. (Bug#16709)
3904
3905 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3906
3907 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3908 script more robustly.
3909
3910 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3911
3912 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3913
3914 * simple.el (choose-completion): Doc fix (bug#14160).
3915
3916 * subr.el (event-start): Say what a nil EVENT value means.
3917
3918 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3919 (bug#14197).
3920
3921 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3922
3923 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3924
3925 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3926
3927 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3928 predicate function (bug#15455).
3929
3930 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3931
3932 * ielm.el (inferior-emacs-lisp-mode): Instead of
3933 `comment-use-global-state', set `comment-use-syntax'.
3934
3935 2014-02-10 Glenn Morris <rgm@gnu.org>
3936
3937 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3938
3939 2014-02-09 Alan Mackenzie <acm@muc.de>
3940
3941 Fix c-invalidate-state-cache on narrowed buffers.
3942 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3943 Widen when setting and clearing the CPP delimiter properties.
3944
3945 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3946
3947 * help.el (describe-bindings): Doc fix (bug#9888).
3948
3949 * files.el (save-buffer): Use ARG as the parameter name for
3950 consistency (bug#10346).
3951 (save-buffer): Clarify the 0 argument (bug#10346).
3952
3953 * cus-edit.el (customize-apropos): Fix error string.
3954 (custom-buffer-create): Doc fix (bug#11122).
3955 (custom-sort-items): Doc fix (bug#11121).
3956
3957 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3958
3959 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3960 (icomplete-simple-completing-p): Mention the previous variable.
3961
3962 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3963 meaning of the parameter (bug#12282).
3964
3965 * files.el (find-file-noselect): Clarify prompt when changing
3966 readedness (bug#13261).
3967 (locate-file): Suffixes aren't returned, so don't say that they
3968 are (bug#12674).
3969 (backup-inhibited): Doc clarification (bug#12525).
3970
3971 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3972 before we actually start to delete things (bug#16331).
3973
3974 * subr.el (event-start): Doc fix (bug#14228).
3975 (event-end): Ditto.
3976
3977 2014-02-09 Glenn Morris <rgm@gnu.org>
3978
3979 * emacs-lisp/warnings.el (lwarn):
3980 Empower help-enable-auto-load. (Bug#15940)
3981
3982 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3983
3984 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3985 (Bug#16690)
3986
3987 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3988
3989 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3990 Insert output at end of buffer. (Bug#16120)
3991
3992 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3993
3994 * simple.el (choose-completion-string-functions): Document new
3995 calling convention (bug#14153).
3996 (execute-extended-command): Clarify doc string (bug#13373).
3997
3998 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3999
4000 * find-dired.el (find-name-dired): Doc fix (bug#14290).
4001 (find-grep-dired): Doc fix (bug#14288).
4002
4003 2014-02-08 Juri Linkov <juri@jurta.org>
4004
4005 * isearch.el (isearch-quote-char): Check character validity
4006 like in `quoted-insert' (bug#16677).
4007
4008 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4009
4010 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
4011
4012 * isearch.el (isearch-hide-immediately): Doc clarification
4013 (bug#14723).
4014
4015 * simple.el (line-move): Document utility function used many
4016 places in the Emacs sources (bug#14843).
4017
4018 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
4019 (dired-prev-marked-file): Doc fix (bug#14855).
4020 (dired-up-directory): Doc fix (bug#14848).
4021
4022 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
4023
4024 * files.el (file-relative-name): Doc fix (bug#15159).
4025
4026 * fringe.el (fringe-styles): Doc fix (bug#15239).
4027
4028 * isearch.el (isearch-filter-predicate): Documentation typo fix
4029 (bug#15474).
4030
4031 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
4032
4033 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
4034
4035 * replace.el (replace-match-maybe-edit): Doc clarification
4036 (bug#15632).
4037
4038 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
4039
4040 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
4041
4042 2014-02-08 Glenn Morris <rgm@gnu.org>
4043
4044 * help-fns.el (describe-variable):
4045 Check {file,dir}-local-variables-alist, and buffer-file-name,
4046 in the correct buffer.
4047
4048 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
4049
4050 * help-fns.el (describe-variable): Fix the case where
4051 a value is directory-local with no dir-locals file. (Bug#16635)
4052
4053 2014-02-08 Glenn Morris <rgm@gnu.org>
4054
4055 * abbrev.el (edit-abbrevs-mode):
4056 Derive from fundamental-mode. (Bug#16682)
4057
4058 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
4059
4060 * simple.el (quoted-insert): Check character validity (bug#16677).
4061
4062 2014-02-07 Juri Linkov <juri@jurta.org>
4063
4064 * desktop.el (desktop-read): Claim the lock when the owner is not
4065 the current process. (Bug#16157)
4066
4067 2014-02-07 Juri Linkov <juri@jurta.org>
4068
4069 * desktop.el (desktop-buffers-not-to-save): Change default from nil
4070 to "\\` ". (Bug#16651)
4071
4072 2014-02-07 Juri Linkov <juri@jurta.org>
4073
4074 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
4075 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
4076 (desktop-auto-save-cancel-timer): New function with some code from
4077 `desktop-auto-save-set-timer'.
4078 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
4079 Instead of setting `desktop-save-mode' to nil, call
4080 `desktop-save-mode' with arg 0. (Bug#16630)
4081
4082 2014-02-07 Glenn Morris <rgm@gnu.org>
4083
4084 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
4085 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
4086 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
4087
4088 * obsolete/iswitchb.el: Move to obsolete/.
4089 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
4090 since obsolete/ is not scanned for autoloads.
4091 * emacs-lisp/authors.el (authors-valid-file-names):
4092 Add iswitchb.el.
4093
4094 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
4095 Disable now non-functional find-file-hook.
4096
4097 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
4098
4099 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
4100 instead of ";" in order to avoid additional prompts. Let heredoc
4101 scripts read from tty. (Bug#16582)
4102 (tramp-send-command): No special handling of heredocs, it isn't
4103 necessary anymore.
4104
4105 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
4106
4107 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
4108 with a space (bug#16664). Limit the symbols considered to the ones
4109 that are bound or fbound (bug#16646).
4110
4111 2014-02-06 Glenn Morris <rgm@gnu.org>
4112
4113 * epa.el (epa-mail-aliases): Doc fix.
4114
4115 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
4116
4117 * emacs-lisp/lisp.el (lisp-completion-at-point):
4118 Use `completion-table-merge' instead of `completion-table-in-turn'
4119 (bug#16604).
4120
4121 * minibuffer.el (completion-table-merge): New function.
4122
4123 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
4124
4125 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
4126 (tramp-sh-handle-set-file-acl)
4127 (tramp-sh-handle-start-file-process)
4128 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
4129 (tramp-find-executable, tramp-send-command): Use it.
4130
4131 2014-02-05 Glenn Morris <rgm@gnu.org>
4132
4133 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
4134
4135 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
4136
4137 * progmodes/python.el (python-shell-send-string)
4138 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
4139
4140 2014-02-04 Anders Lindgren <andlind@gmail.com>
4141
4142 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
4143 the names (bug#16620).
4144
4145 2014-02-03 Martin Rudalics <rudalics@gmx.at>
4146
4147 * faces.el (window-divider): New default value. Rewrite doc-string.
4148 (window-divider-first-pixel, window-divider-last-pixel): New faces.
4149
4150 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
4151
4152 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
4153 `protected' and `public' can also be called without arguments.
4154
4155 2014-02-03 Glenn Morris <rgm@gnu.org>
4156
4157 * register.el (window-configuration-to-register)
4158 (frame-configuration-to-register): Unadvertise unused argument.
4159 * frameset.el (frameset-to-register): Remove unused argument.
4160
4161 * frameset.el (frameset-to-register):
4162 * kmacro.el (kmacro-to-register):
4163 * register.el (increment-register):
4164 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
4165 (calc-append-to-register, calc-prepend-to-register):
4166 * play/gametree.el (gametree-layout-to-register)
4167 (gametree-apply-register-layout):
4168 * textmodes/picture.el (picture-clear-rectangle-to-register)
4169 (picture-yank-rectangle-from-register):
4170 * vc/emerge.el (emerge-combine-versions-register):
4171 Use register-read-with-preview to read registers.
4172
4173 2014-02-03 João Távora <joaotavora@gmail.com>
4174
4175 * elec-pair.el (electric-pair-backward-delete-char): Don't error
4176 when at beginning of (possibly narrowed) buffer.
4177
4178 2014-02-02 Daniel Colascione <dancol@dancol.org>
4179
4180 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
4181 Also try to display local help from just before point.
4182
4183 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
4184
4185 c-parse-state. Don't "append-lower-brace-pair" in certain
4186 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
4187 recognised as a comment.
4188
4189 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
4190 as well as normal comment starter.
4191 (c-parse-state-get-strategy): Extra return possibility
4192 'back-and-forward.
4193 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
4194 return value list to indicate replacement of a brace-pair cons
4195 with its car.
4196 (c-parse-state-1): With 'back-and-forward, only call
4197 c-append-lower-brace-pair-to state-cache when cons-separated.
4198
4199 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
4200
4201 * term/ns-win.el (ns-suspend-error): New function.
4202 (ns-initialize-window-system): Add ns-suspend-error to
4203 suspend-hook (Bug#16612).
4204
4205 2014-02-02 Daniel Colascione <dancol@dancol.org>
4206
4207 * progmodes/cc-defs.el (c-find-assignment-for-mode):
4208 Make loading cc-mode silent.
4209
4210 2014-02-02 Daniel Colascione <dancol@dancol.org>
4211
4212 * comint.el (comint-prompt-read-only): Change doc to suggest
4213 remap keybinding.
4214
4215 2014-02-02 Glenn Morris <rgm@gnu.org>
4216
4217 * register.el (register-read-with-preview, point-to-register)
4218 (window-configuration-to-register, frame-configuration-to-register)
4219 (jump-to-register, number-to-register, view-register, insert-register)
4220 (copy-to-register, append-to-register, prepend-to-register)
4221 (copy-rectangle-to-register): Doc fixes.
4222
4223 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4224
4225 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
4226 * emacs-lisp/find-func.el (find-function-C-source): Idem.
4227 * emacs-lisp/nadvice.el (advice--cd*r): New function.
4228 * help-fns.el (describe-function-1): Use it.
4229
4230 2014-02-02 Glenn Morris <rgm@gnu.org>
4231
4232 * register.el (register-preview-default): New function,
4233 split from register-preview.
4234 (register-preview-function): Rename from register-preview-functions,
4235 make it not a hook.
4236 (register-preview): Use register-preview-function.
4237 (register-read-with-preview): Error on non-character event. (Bug#16595)
4238
4239 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
4240
4241 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
4242 `:' before binary operators (bug#16609). Don't check for `:'
4243 before `[' and `(', or their syntax status. A percent literal
4244 can't end with either.
4245 (ruby-font-lock-keywords): For built-ins that require arguments,
4246 check that they're followed by something that looks like argument
4247 (bug#16610).
4248
4249 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
4250
4251 * subr.el (butlast): Document what an omitted N means (bug#13437).
4252 (nbutlast): Ditto.
4253
4254 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
4255
4256 * net/shr.el (shr-generic): Make into a defsubst to make the stack
4257 depth shallower (bug#16587).
4258 (shr-tag-svg): Respect `shr-inhibit-images'.
4259 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
4260
4261 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
4262
4263 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
4264 (ruby-smie-grammar): Make "." right-associative. Make its priority
4265 lower than the ternary and all binary operators.
4266 (ruby-smie-rules): Indent "(" relative to the first non-"."
4267 parent, or the first "." parent at indentation.
4268 Use `ruby-align-chained-calls' for indentation of "." tokens.
4269 (Bug#16593)
4270
4271 2014-01-31 Juri Linkov <juri@jurta.org>
4272
4273 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
4274 from `make-hash-table'.
4275
4276 * textmodes/ispell.el (ispell-init-process): Change message format
4277 to be consistent with other messages.
4278
4279 2014-01-31 Glenn Morris <rgm@gnu.org>
4280
4281 * delsel.el (delete-selection-mode): Doc fix.
4282
4283 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
4284 (trace-function-background): Doc fixes.
4285
4286 * ido.el (ido-use-virtual-buffers): Doc fix.
4287 Reset :version, since the default value has not changed.
4288
4289 * register.el (register-preview-delay, register-read-with-preview):
4290 Doc fixes.
4291
4292 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
4293 do not mess with mail-buffer position (fixes 2009-11-03 change).
4294 * progmodes/cc-mode.el (c-submit-bug-report):
4295 Check auto-fill-mode is bound. (Bug#16592)
4296
4297 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
4298
4299 * startup.el (fancy-splash-image-file): New function,
4300 split from fancy-splash-head.
4301 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
4302 so that we are both using the same image. (Bug#16574)
4303
4304 2014-01-30 Glenn Morris <rgm@gnu.org>
4305
4306 * simple.el (eval-expression): Doc fix.
4307
4308 * hexl.el (hexl-mode-hook):
4309 * ielm.el (ielm-mode-hook):
4310 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
4311 (lisp-interaction-mode-hook):
4312 * progmodes/cfengine.el (cfengine3-documentation-function):
4313 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
4314
4315 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4316
4317 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
4318 is a symbol (bug#16584).
4319
4320 2014-01-30 Glenn Morris <rgm@gnu.org>
4321
4322 * help.el (help-for-help-internal): Add "P" to text.
4323
4324 2014-01-29 Glenn Morris <rgm@gnu.org>
4325
4326 * simple.el (just-one-space, cycle-spacing): Doc fixes.
4327
4328 2014-01-28 Martin Rudalics <rudalics@gmx.at>
4329
4330 * window.el (fit-frame-to-buffer): Fix calculations for margins and
4331 height constraints.
4332
4333 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
4334
4335 * progmodes/hideif.el: Extend to full CPP expression syntax.
4336 (hif-token-alist): Add missing tokens.
4337 (hif-token-regexp): Add support for float/octal/hex immediates.
4338 (hif-string-literal-regexp): New const.
4339 (hif-tokenize): Recognize strings and float/octal/hex immediates.
4340 (hif-exprlist): New function.
4341 (hif-parse-if-exp): Use it.
4342 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
4343 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
4344 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
4345 (hif-logxor, hif-comma): New functions.
4346
4347 2014-01-28 Glenn Morris <rgm@gnu.org>
4348
4349 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
4350
4351 * indent.el (tab-stop-list): Doc fix. Add :version.
4352
4353 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
4354 (cvs-append-to-ignore): Add compatibility alias.
4355
4356 2014-01-27 Glenn Morris <rgm@gnu.org>
4357
4358 * dired.el (dired-hide-details-mode): Don't autoload it,
4359 since it cannot be used outside Dired buffers anyway.
4360
4361 * emulation/cua-base.el (cua-mode): Doc fix.
4362
4363 * dired.el (dired-hide-details-hide-symlink-targets)
4364 (dired-hide-details-hide-information-lines)
4365 (dired-hide-details-mode): Doc fixes.
4366
4367 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
4368 * strokes.el (strokes-file): Doc fix. Bump :version.
4369 (strokes-help): Doc fix.
4370 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
4371 * emulation/viper.el (viper): Doc fix for custom group.
4372 (top-level): Remove oh-so-no-longer-relevant text about vip.
4373 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4374
4375 * ido.el (ido-save-directory-list-file):
4376 * saveplace.el (save-place-file):
4377 * calendar/timeclock.el (timeclock-file):
4378 * net/quickurl.el (quickurl-url-file):
4379 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4380 * progmodes/idlwave.el (idlwave-config-directory):
4381 * textmodes/remember.el (remember-data-file):
4382 Bump :version.
4383
4384 2014-01-26 Glenn Morris <rgm@gnu.org>
4385
4386 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4387 Doc fix. Make obsolete.
4388 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4389
4390 * sort.el (delete-duplicate-lines): Doc fix.
4391
4392 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4393
4394 * progmodes/ada-mode.el (ada):
4395 * woman.el (woman): Link to info manual and Commentary section.
4396
4397 * progmodes/flymake.el (flymake):
4398 * nxml/nxml-mode.el (nxml):
4399 * net/eww.el (eww):
4400 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4401 * htmlfontify.el (htmlfontify):
4402 * ses.el (ses):
4403 * epa.el (epa):
4404 * ido.el (ido): Link to info manual.
4405
4406 2014-01-25 Leo Liu <sdl.web@gmail.com>
4407
4408 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4409
4410 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
4411
4412 * net/shr.el (shr-tag-img): Prefer the title over the alt text
4413 (bug#16537).
4414
4415 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
4416
4417 * net/eww.el (eww-download-callback):
4418 Fix reference to eww-download-directory.
4419
4420 * emacs-lisp/bytecomp.el (byte-compile-file):
4421 Remove unused local variable `file-name'.
4422
4423 2014-01-24 Glenn Morris <rgm@gnu.org>
4424
4425 * woman.el (woman-default-faces, woman-monochrome-faces):
4426 Fix obsolescence specification.
4427
4428 * subr.el (with-demoted-errors): Doc fix.
4429
4430 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
4431
4432 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4433 (cl--macroexp-fboundp): New function.
4434 (cl--make-type-test): Use it.
4435
4436 2014-01-23 Glenn Morris <rgm@gnu.org>
4437
4438 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4439 * simple.el (eval-expression): Doc fixes.
4440
4441 2014-01-22 Glenn Morris <rgm@gnu.org>
4442
4443 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4444
4445 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
4446
4447 * emacs-lisp/package.el: Write files silently.
4448 (package-autoload-ensure-default-file, package--write-file-no-coding)
4449 (package-generate-description-file, package--download-one-archive)
4450 (package-install-from-archive): Tell `write-region' to stay quiet.
4451 (package-menu-mode, package-menu--print-info): Omit the Archive column
4452 if there's only one archive.
4453 (package-all-keywords, package--has-keyword-p): Remove dead code.
4454
4455 2014-01-22 Glenn Morris <rgm@gnu.org>
4456
4457 * version.el (emacs-bzr-version-bzr): Fix typo.
4458
4459 * version.el (emacs-repository-get-version):
4460 Check either .bzr or .git, but not both.
4461 Make the git case actually use the DIR argument, and return nil
4462 rather than the empty string.
4463 Avoid error if .git exists but the git executable is not found.
4464
4465 2014-01-22 Martin Rudalics <rudalics@gmx.at>
4466
4467 Fixes in window size functions around Bug#16430 and Bug#16470.
4468 * window.el (window-total-size, window-size): New argument ROUND.
4469 (window--min-delta-1, window-min-delta, window--max-delta-1):
4470 Be more conservative when calculating the numbers of lines or
4471 columns a window can shrink (Bug#16430).
4472 (fit-window-to-buffer): Simplify code.
4473 * term.el (term-window-width): Call window-body-width again.
4474
4475 2014-01-22 Glenn Morris <rgm@gnu.org>
4476
4477 * image.el (image-format-suffixes): Doc fix.
4478
4479 * international/quail.el (quail-define-package): Doc fix.
4480
4481 * emacs-lisp/authors.el (authors-valid-file-names)
4482 (authors-renamed-files-alist): Additions.
4483
4484 * vc/vc-git.el (vc-git-print-log): Remove --follow;
4485 reverts 2014-01-09 change. (Bug#16422)
4486
4487 * calc/calc-embed.el (thing-at-point-looking-at):
4488 * emacs-lisp/map-ynp.el (x-popup-dialog):
4489 * obsolete/lmenu.el (x-popup-dialog):
4490 * emacs-lisp/package.el (url-recreate-url):
4491 * mail/mailclient.el (clipboard-kill-ring-save):
4492 * subr.el (x-popup-dialog): Update declaration.
4493 * mail/rmail.el (rmail-mime-message-p):
4494 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4495
4496 2014-01-21 Daniel Colascione <dancol@dancol.org>
4497
4498 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4499 Correctly detect when we're inside an arithmetic expansion form
4500 containing nested parenthesis.
4501 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4502 to detect cases where we shouldn't expand "<<" to a heredoc
4503 skeleton.
4504
4505 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4506
4507 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4508 (eldoc--message-command-p): New function.
4509 (eldoc-display-message-p): Use it.
4510 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4511 message is not automatically erased for us.
4512 (eldoc-print-current-symbol-info): Erase previous message, if any.
4513
4514 2014-01-21 Tassilo Horn <tsdh@gnu.org>
4515
4516 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4517 specify it's an interactive function.
4518
4519 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4520 Fix regex used for scanning for citation keys which failed for
4521 citations with optional arguments.
4522
4523 2014-01-21 Leo Liu <sdl.web@gmail.com>
4524
4525 * simple.el (read--expression): Don't enable eldoc-mode.
4526
4527 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4528
4529 * simple.el (move-beginning-of-line): Make sure we don't move forward
4530 (bug#16497).
4531
4532 2014-01-20 Juri Linkov <juri@jurta.org>
4533
4534 * saveplace.el (toggle-save-place, save-place-to-alist)
4535 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4536 'dired-mode) before checking for dired-directory. (Bug#16477)
4537
4538 2014-01-20 Juri Linkov <juri@jurta.org>
4539
4540 * indent.el (indent-line-to): Use backward-to-indentation
4541 instead of back-to-indentation. (Bug#16461)
4542
4543 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4544
4545 Revert some of the CANNOT_DUMP fix (Bug#16494).
4546 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4547 but fixing this can wait until after the next release.
4548 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4549
4550 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
4551
4552 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4553 Use `password-word-equivalents'.
4554 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4555 to t. (Bug#5664, Bug#13124)
4556
4557 2014-01-19 Alan Mackenzie <acm@muc.de>
4558
4559 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4560 points.
4561 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4562 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4563 * progmodes/cc-mode.el (c-before-change, c-after-change)
4564 (c-font-lock-fontify-region): Bind it here.
4565
4566 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4567
4568 * term.el (term-window-width): Call window-text-width instead of
4569 window-width (Bug#16470).
4570
4571 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4572
4573 * simple.el (password-word-equivalents): Remove duplicates.
4574 Sort, to make this easier next time.
4575 Downcase. Omit ": " after "jelszó".
4576
4577 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4578
4579 * term/common-win.el (saved-region-selection): Defvar it.
4580 (x-select-text): Set saved-region-selection (Bug#16382).
4581
4582 2014-01-18 Glenn Morris <rgm@gnu.org>
4583
4584 * emacs-lisp/authors.el (authors-aliases)
4585 (authors-renamed-files-alist): Add some entries.
4586
4587 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4588
4589 * net/tramp.el (tramp-password-prompt-regexp):
4590 Use `password-word-equivalents' if available.
4591 (tramp-action-password, tramp-process-one-action)
4592 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4593
4594 2014-01-17 Chong Yidong <cyd@gnu.org>
4595
4596 * simple.el (password-word-equivalents): New defcustom.
4597 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4598 to 24.4.
4599 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4600 to t. (Bug#13124)
4601
4602 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4603
4604 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4605 (ruby-align-to-stmt-keywords): Change the default value.
4606 Use `ruby-alignable-keywords' to generate the possible customization
4607 choices.
4608 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4609 keywords, check against the value of `ruby-alignable-keywords'
4610 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4611
4612 2014-01-17 Glenn Morris <rgm@gnu.org>
4613
4614 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4615
4616 Make M-x authors return zero *Authors Errors* from current logs.
4617 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4618 (authors-ignored-files): Add some entries, remove others.
4619 (authors-ambiguous-files, authors-valid-file-names):
4620 Add some entries.
4621 (authors-renamed-files-alist): Add, remove, and adjust entries.
4622 (authors-renamed-files-regexps): Add some entries.
4623 Remove some very broad ones. Make some entries `lax'.
4624 (authors-lax-changelogs): New constant.
4625 (authors-disambiguate-file-name): Treat top-level specially.
4626 (authors-lax-changelog-p): New function.
4627 (authors-canonical-file-name): Check file as written against
4628 authors-valid-file-names. Do not special-case etc/.
4629 Handle `lax' logs and authors-renamed-files-regexps elements.
4630
4631 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4632
4633 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4634 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4635 callers.
4636
4637 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4638
4639 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4640 Assume we're already in the proper buffer.
4641 Inspired by Anders Lindgren <andlind@gmail.com>.
4642 (follow-post-command-hook): Call it from the right buffer.
4643 (follow-comint-scroll-to-bottom): Adjust call.
4644 (follow-all-followers): Use get-buffer-window-list.
4645
4646 2014-01-15 Daniel Colascione <dancol@dancol.org>
4647
4648 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4649 `buffer-file-name' in interactive-form so that we don't leave
4650 pathless file names in `file-name-history'.
4651
4652 2014-01-15 Juri Linkov <juri@jurta.org>
4653
4654 * indent.el (indent-rigidly): Set deactivate-mark to nil
4655 in transient indentation mode. (Bug#16438)
4656
4657 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4658
4659 * emacs-lisp/package.el (package-desc-keywords): New function
4660 (Bug#16222).
4661 (describe-package-1, package-all-keywords)
4662 (package--has-keyword-p): Use it.
4663
4664 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4665
4666 * simple.el (define-alternatives): When creating the
4667 COMMAND-alternatives variable, assign COMMAND as its definition
4668 name so that `describe-variable' can relocate it.
4669
4670 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4671
4672 * font-lock.el (font-lock-keywords): Fix typo in docstring
4673 (bug#16307).
4674
4675 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4676
4677 * ispell.el (ispell-region): Reset `in-comment' for new line
4678 instead of wrongly reset `add-coment' (bug#13577).
4679
4680 2014-01-14 Daiki Ueno <ueno@gnu.org>
4681
4682 * epa-file.el (epa-file-write-region): Encode the region according
4683 to `buffer-file-format'. Problem reported at:
4684 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4685
4686 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4687
4688 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4689 so it applies in the right buffer (bug#16410).
4690
4691 2014-01-13 Daniel Colascione <dancol@dancol.org>
4692
4693 * textmodes/rst.el (rst-define-key): Provide deprecated
4694 keybindings through named functions instead of anonymous ones so
4695 that "??" doesn't appear in describe-mode output.
4696
4697 2014-01-13 Bastien Guerry <bzg@gnu.org>
4698
4699 * simple.el (define-alternatives): Call the selected command
4700 interactively. When setting `COMMAND--implementation' for the
4701 first time, tell the user how to chose another implementation.
4702 Enhance the docstring.
4703
4704 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4705
4706 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4707 (log-edit--match-first-line): New function.
4708 (log-edit-font-lock-keywords): Use it.
4709 (log-edit-mode): Make jit-lock-defer-multiline work.
4710
4711 2014-01-13 Bastien Guerry <bzg@gnu.org>
4712
4713 * rect.el (rectangle-mark-mode): When the region is not active,
4714 display a message saying that the mark as been set and that
4715 rectangle mode is in use.
4716 (rectangle--highlight-for-redisplay): Only put an overlay with a
4717 visible vertical bar when (display-graphic-p) is non-nil.
4718 This partially fixes Bug#16403.
4719
4720 2014-01-13 Juri Linkov <juri@jurta.org>
4721
4722 * info.el (Info-find-file): Go to DIR before displaying the error
4723 about a nonexistent file if no previous Info file is visited.
4724 Use `user-error' instead of `error' for "Info file %s does not exist".
4725 (Info-find-node-2): In case of a nonexistent node in unwind forms
4726 go to the Top node if there is no previous node to revert to.
4727 (Bug#16405)
4728
4729 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4730
4731 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4732 * window.el (fit-frame-to-buffer): Fix doc-string.
4733 Respect window-min-height/-width. Fit pixelwise when
4734 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4735 when avoiding that frame goes partially off-screen.
4736 (fit-window-to-buffer): Respect window-min-height/-width
4737 (Bug#14096).
4738
4739 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4740
4741 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4742 after an empty line.
4743
4744 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4745
4746 * net/shr.el (shr-render-region): Autoload.
4747
4748 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4749
4750 * net/eww.el (eww-download-directory): Rename from
4751 `eww-download-path' (Bug#16419).
4752
4753 2014-01-12 Leo Liu <sdl.web@gmail.com>
4754
4755 * dired-x.el (dired-mode-map): Fix last change.
4756
4757 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4758
4759 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4760
4761 Spelling fixes.
4762 * emacs-lisp/generic.el (generic--normalize-comments):
4763 Rename from generic--normalise-comments. All uses changed.
4764 * play/bubbles.el (bubbles--neighborhood-score)
4765 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4766 (bubbles--neighborhood-available)
4767 (bubbles--update-neighborhood-score):
4768 Rename from names with 'neighbourhood'. All uses changed.
4769
4770 2014-01-12 Leo Liu <sdl.web@gmail.com>
4771
4772 Re-implement the feature of showing eldoc info after editing.
4773 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4774 (eldoc-edit-message-commands): New function.
4775 (eldoc-print-after-edit): New variable.
4776 (eldoc-pre-command-refresh-echo-area): Emit message only by
4777 eldoc-message-commands.
4778 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4779 if eldoc-print-after-edit is set. (Bug#16346)
4780 * simple.el (read--expression): Enable eldoc-mode.
4781 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4782
4783 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4784 Eric S. Raymond <esr@thyrsus.com>
4785
4786 * version.el (emacs-repository-get-version): Enhance so the
4787 function works correctly in either a Bazaar or Git repo.
4788
4789 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4790
4791 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4792 Goes with removal of the joke manpages from /etc.
4793
4794 2014-01-10 Kenichi Handa <handa@gnu.org>
4795
4796 * mail/rmail.el (rmail-get-coding-system):
4797 Check rmail-get-coding-function before "funcall"ing it.
4798
4799 2014-01-10 Glenn Morris <rgm@gnu.org>
4800
4801 * emacs-lisp/authors.el (authors-fixed-entries):
4802 Update for files that no longer exist.
4803
4804 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4805
4806 * version.el (emacs-bzr-get-version): Restore compatibilty with
4807 24.3 (Tested).
4808
4809 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4810
4811 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4812 and Podfile.
4813
4814 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4815
4816 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4817
4818 2014-01-10 Chong Yidong <cyd@gnu.org>
4819
4820 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4821
4822 2014-01-10 Anders Lindgren <andlind@gmail.com>
4823
4824 * follow.el (follow-cache-command-list): Include right-char and
4825 left-char.
4826
4827 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4828
4829 Spelling fixes.
4830 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4831 * woman.el (woman-mark-horizontal-position):
4832 Rename from woman-mark-horizonal-position. Use changed.
4833
4834 2014-01-10 Glenn Morris <rgm@gnu.org>
4835
4836 * info.el (info-initialize): If running uninstalled, ensure our
4837 own info files are always found first, even if INFOPATH is set.
4838
4839 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4840
4841 2014-01-09 David Engster <deng@randomsample.de>
4842
4843 * emacs-lisp/eieio-custom.el:
4844 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4845 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4846 * emacs-lisp/eieio.el: Regenerate autoloads.
4847
4848 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4849
4850 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4851 following renames. (Bug#8756)
4852
4853 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4854
4855 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4856 (bug#16382).
4857 (activate-mark): Add `no-tmm' argument.
4858 (set-mark, push-mark-command): Use it instead of running
4859 activate-mark-hook by hand.
4860
4861 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4862
4863 In preparation for the move to git, sanitize out some
4864 Bazaar-specific names.
4865
4866 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4867
4868 * version.el (emacs-bzr-version): Name changed to
4869 emacs-repository-version. Obsolete-variable alias made.
4870 * loadup.el: Follow through on this name change.
4871 * mail/emacsbug.el (report-emacs-bug): Factor out any
4872 assumption about the version control system in use.
4873
4874 2014-01-08 David Engster <deng@randomsample.de>
4875
4876 * help-fns.el (help-fns-describe-function-functions):
4877 New variable to call functions for augmenting help buffers.
4878 (describe-function-1): Remove explicit calls to
4879 `help-fns--compiler-macro', `help-fns--parent-mode' and
4880 `help-fns--obsolete'. Put them in above new variable instead, and
4881 call them through `run-hook-with-args'.
4882 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4883 `eieio-describe-class'. Not meant for interactive use anymore,
4884 but to augment existing help buffers. Remove optional second
4885 argument. Create proper button for file location.
4886 Rewrite function to use `insert' instead of `princ' and `prin1' where
4887 possible.
4888 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4889 (eieio-method-def, eieio-class-def): Move further up.
4890 (describe-method, describe-generic, eieio-describe-method):
4891 Remove aliases.
4892 (eieio-help-constructor, eieio-help-generic): Rename from
4893 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4894 Rewrite to use `insert' in the current buffer and use proper help
4895 buttons.
4896 (eieio-help-find-method-definition)
4897 (eieio-help-find-class-definition): Also accept symbols as
4898 arguments.
4899 (eieio-help-mode-augmentation-maybee): Remove.
4900 (eieio-describe-class-sb): Use `describe-function'.
4901 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4902 Add `eieio-help-generic' and `eieio-help-constructor'.
4903
4904 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4905
4906 Spelling fixes.
4907 * language/china-util.el (hz-ascii-designation):
4908 Rename from hz-ascii-designnation.
4909 (hz-ascii-designation): Rename from hz-ascii-designnation.
4910 All uses changed.
4911
4912 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4913
4914 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4915 package-alist.
4916
4917 2014-01-08 Bastien Guerry <bzg@gnu.org>
4918
4919 * emacs-lisp/package.el (package-delete):
4920 Correctly delete the package from package-alist.
4921
4922 2014-01-08 Daiki Ueno <ueno@gnu.org>
4923
4924 * emacs-lisp/package.el (url-recreate-url): Declare.
4925 (url-http-target-url): Declare.
4926 (package-handle-response): Include requested URL in the error message.
4927 (package--check-signature): Don't re-signal errors from
4928 package--with-work-buffer. Suggested by Stefan Monnier.
4929
4930 2014-01-07 Bastien Guerry <bzg@gnu.org>
4931
4932 * minibuffer.el (completion--try-word-completion): When both a
4933 hyphen and a space are possible candidates for the character
4934 following a word, display both candidates. (Bug#15980)
4935
4936 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4937
4938 * window.el (balance-windows-2): While rounding don't give a
4939 window more than the remainder. Bug#16351, bug#16383.
4940
4941 2014-01-07 Glenn Morris <rgm@gnu.org>
4942
4943 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4944 (menu-bar-help-menu): Use view-external-packages instead.
4945
4946 2014-01-07 Bastien Guerry <bzg@gnu.org>
4947
4948 * emacs-lisp/package.el (package-delete): Also delete the package
4949 name from `package-alist', not its description only.
4950
4951 2014-01-07 Glenn Morris <rgm@gnu.org>
4952
4953 * help.el (view-external-packages):
4954 * menu-bar.el (menu-bar-help-extra-packages):
4955 Visit efaq.info rather than etc/MORE.STUFF.
4956
4957 2014-01-07 Juri Linkov <juri@jurta.org>
4958
4959 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4960 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4961
4962 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4963 that shadows RET. (Bug#16342)
4964
4965 2014-01-07 Chong Yidong <cyd@gnu.org>
4966
4967 * isearch.el (isearch-yank-char, isearch-yank-word)
4968 (isearch-yank-line): Doc fix.
4969
4970 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4971
4972 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4973 * emacs-lisp/elint.el (elint-find-builtins):
4974 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4975 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4976 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4977 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4978 * apropos.el (apropos-safe-documentation):
4979 * subr.el (symbol-file): Remove redundant fboundp.
4980 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4981
4982 2014-01-06 Bastien Guerry <bzg@gnu.org>
4983
4984 * hl-line.el (global-hl-line-overlay): Make a local variable.
4985 (global-hl-line-overlays): New variable to store all overlays.
4986 (global-hl-line-mode): Don't delete overlays from the current
4987 buffer when `global-hl-line-sticky-flag' is non-nil.
4988 (global-hl-line-highlight): Add new overlays to
4989 `global-hl-line-overlays'.
4990 (global-hl-line-unhighlight-all): New function to delete all
4991 overlays when turning off `global-hl-line-mode'.
4992 This fixes Bug#16183.
4993
4994 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4995
4996 * subr.el (set-transient-map): Fix nested case and docstring.
4997
4998 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4999
5000 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
5001 `Texinfo' entry.
5002
5003 2014-01-06 Daniel Colascione <dancol@dancol.org>
5004
5005 Fix defun navigation in vc log view.
5006
5007 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
5008 like `beginning-of-defun'.
5009 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
5010 log-view-end-of-defun to log-view-end-of-defun-1. Replace
5011 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
5012 (log-view-extract-comment): Call `log-view-current-entry' directly
5013 instead of relying on broken `log-view-beginning-of-defun' behavior.
5014
5015 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
5016
5017 Spelling fixes.
5018 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
5019 * emacs-lisp/debug.el (cancel-debug-on-entry):
5020 * epg.el (epg-error-to-string):
5021 * files.el (recover-file):
5022 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
5023 * mail/emacsbug.el (report-emacs-bug-hook):
5024 * mail/sendmail.el (mail-recover):
5025 * ses.el (ses-yank-resize):
5026 * term/ns-win.el (ns-print-buffer):
5027 Spelling fixes in diagnostics, mostly for "canceled" with one L.
5028 * epg.el (epg-key-capability-alist): Rename from misspelled version.
5029 All uses changed.
5030 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
5031
5032 2014-01-06 Leo Liu <sdl.web@gmail.com>
5033
5034 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
5035 to avoid shadowing global key. (Bug#16354)
5036
5037 2014-01-06 Daniel Colascione <dancol@dancol.org>
5038
5039 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
5040 rst-mode.
5041
5042 2014-01-05 Martin Rudalics <rudalics@gmx.at>
5043
5044 * window.el (balance-windows): Add mising t to fix Bug#16351.
5045
5046 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5047
5048 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
5049 (bug#16285).
5050 (shr-insert): If we have a word that's longer than `shr-width',
5051 break after it anyway. Otherwise we'll do no breaking once we get
5052 such a long word.
5053
5054 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5055
5056 * net/eww.el (eww): Support single/double quote for search.
5057 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
5058 (eww-history-quit): Delete and use quit-window.
5059 (eww-history-kill): Delete, because it doesn't work well and
5060 not necessary.
5061 (eww-history-mode-map): Delete some keys and add easy-menu.
5062
5063 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
5064
5065 Fix misspelling of 'chinese' in rx (Bug#16237).
5066 * emacs-lisp/rx.el (rx-categories): Correct spelling of
5067 chinese-two-byte.
5068
5069 Change subword regexps back to vars (Bug#16296).
5070 * progmodes/subword.el (subword-forward-regexp)
5071 (subword-backward-regexp): Change these back to variables.
5072
5073 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5074
5075 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
5076 syntax-begin-function (bug#16247).
5077
5078 2014-01-03 Chong Yidong <cyd@gnu.org>
5079
5080 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
5081 (advice--docstring): Delete variable.
5082 (advice--make-1): Leave the docstring empty.
5083 (advice-add): Use function-documentation for advised docstring.
5084
5085 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
5086 Ignore function-documentation property when getting documentation.
5087 (ad-activate-advised-definition): Use function-documentation
5088 generate the docstring.
5089 (ad-make-advised-definition): Don't call
5090 ad-make-advised-definition-docstring.
5091 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5092 Delete functions.
5093
5094 * progmodes/sql.el (sql-help): Use function-documentation instead
5095 of dynamic-docstring-function property. No need to autoload now.
5096 (sql--help-docstring): New variable.
5097 (sql--make-help-docstring): Use it.
5098
5099 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5100
5101 * ielm.el (ielm-tab): Retarget.
5102 (ielm-map): Use ielm-tab for tab.
5103 (ielm-complete-filename): Use comint-filename-completion.
5104 (ielm-complete-symbol): Remove.
5105 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
5106 remove ielm-tab from completion-at-point-functions (bug#16224).
5107
5108 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
5109 Beware signals raised by predicates (bug#16201).
5110
5111 2014-01-02 Richard Stallman <rms@gnu.org>
5112
5113 * dired-aux.el (dired-do-print): Handle printer-name.
5114
5115 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
5116 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
5117 (rmail-epa-decrypt): Turn off mime processing.
5118
5119 * mail/rmail.el (rmail-make-in-reply-to-field):
5120 Add parens in message-id.
5121
5122 * mail/rmail.el (rmail-get-coding-function): Variable.
5123 (rmail-get-coding-system): Use it.
5124
5125 2013-12-31 Eli Zaretskii <eliz@gnu.org>
5126
5127 * international/mule-conf.el: Unify the charset indian-is13194.
5128 (indian-is13194): Specify unify-map.
5129
5130 2013-12-31 Leo Liu <sdl.web@gmail.com>
5131
5132 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
5133
5134 2013-12-30 Daniel Colascione <dancol@dancol.org>
5135
5136 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
5137 of printing a useless when we resume from sleep.
5138
5139 * progmodes/sh-script.el
5140 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
5141 in indentation code. (Bug#16233)
5142
5143 2013-12-28 João Távora <joaotavora@gmail.com>
5144
5145 * elec-pair.el (electric-pair-post-self-insert-function):
5146 Don't open extra newlines at beginning of buffer. (Bug#16272)
5147
5148 2013-12-28 Eli Zaretskii <eliz@gnu.org>
5149
5150 * frame.el (window-system-for-display): Don't allow to create a
5151 GUI frame from a -nw session on MS-Windows. (Bug#14739)
5152
5153 2013-12-28 Glenn Morris <rgm@gnu.org>
5154
5155 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
5156 Update callers.
5157
5158 * apropos.el (apropos-match-face):
5159 * calculator.el (calculator-displayer):
5160 * dabbrev.el (dabbrev-search-these-buffers-only):
5161 * face-remap.el (buffer-face-mode-face):
5162 * simple.el (yank-handled-properties):
5163 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
5164 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
5165 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
5166 (hashcash-double-spend-database):
5167 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
5168 (ruby-deep-indent-paren-style):
5169 * textmodes/flyspell.el (flyspell-auto-correct-binding):
5170 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
5171 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
5172 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
5173 Specify custom types.
5174
5175 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
5176 * bookmark.el (bookmark-bmenu-use-header-line):
5177 * doc-view.el (doc-view-scale-internally):
5178 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
5179 * register.el (register-preview-delay):
5180 * net/shr.el (shr-bullet):
5181 * progmodes/cfengine.el (cfengine-cf-promises)
5182 (cfengine-parameters-indent):
5183 * progmodes/octave.el (inferior-octave-error-regexp-alist):
5184 * textmodes/reftex-vars.el (reftex-label-regexps):
5185 * vc/log-edit.el (log-edit-setup-add-author): Add version.
5186
5187 * net/tls.el (tls-certtool-program): Fix default value.
5188
5189 * desktop.el (desktop-restore-in-current-display):
5190 * newcomment.el (comment-empty-lines):
5191 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
5192 (idlwave-pad-keyword):
5193 * progmodes/tcl.el (tcl-tab-always-indent):
5194 * textmodes/reftex-vars.el (reftex-index-default-tag):
5195 * elec-pair.el (electric-pair-skip-whitespace):
5196 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
5197
5198 * emacs-lisp/authors.el (authors-ignored-files)
5199 (authors-valid-file-names, authors-renamed-files-alist): Additions.
5200
5201 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
5202
5203 * shell.el (shell-dynamic-complete-command): Doc fix.
5204 (shell--command-completion-data): Shell completion now matches
5205 executable filenames from the current buffer's directory, on
5206 systems in which this behavior is the default (windows-nt, ms-dos).
5207
5208 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5209
5210 * net/shr.el (shr-insert): Don't infloop if the width is zero.
5211
5212 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
5213
5214 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
5215 (bug#16251).
5216
5217 * electric.el: Move all electric-pair-* to elec-pair.el.
5218 * elec-pair.el: New file, split from electric.el.
5219
5220 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5221
5222 * net/shr.el (shr-find-fill-point): Don't try to fill if the
5223 indentation level is larger than the width, because that will
5224 infloop.
5225 (shr-insert): Fill repeatedly long texts, so that Japanese is
5226 formatted correctly (bug#16263).
5227 (shr-find-fill-point): Off by one error in comparison with the
5228 indentation.
5229
5230 2013-12-26 João Távora <joaotavora@gmail.com>
5231
5232 * electric.el (electric-pair-mode): More flexible engine for skip-
5233 and inhibit predicates, new options for pairing-related functionality.
5234 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
5235 if that keeps or improves their balance in buffers.
5236 (electric-pair-delete-adjacent-pairs): Delete the pair when
5237 backspacing over adjacent matched delimiters.
5238 (electric-pair-open-extra-newline): Open extra newline when
5239 inserting newlines between adjacent matched delimiters.
5240 (electric--sort-post-self-insertion-hook):
5241 Sort post-self-insert-hook according to priority values when
5242 minor-modes are activated.
5243 * simple.el (newline-and-indent): Call newline with interactive
5244 set to t.
5245 (blink-paren-post-self-insert-function): Set priority to 100.
5246 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5247 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
5248 comments. Locally set electric-pair-skip-whitespace to 'chomp and
5249 electric-pair-open-newline-between-pairs to nil.
5250
5251 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
5252
5253 * progmodes/python.el: Use lexical-binding.
5254 (python-nav-beginning-of-defun): Stop searching ASAP.
5255
5256 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
5257
5258 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
5259 Fix interactive spec. Doc fix. (Bug#15754)
5260
5261 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
5262
5263 * emacs-lisp/byte-run.el (eval-when-compile):
5264 * progmodes/cc-defs.el (cc-eval-when-compile):
5265 Fix edebug spec (bug#16184).
5266
5267 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5268
5269 * net/shr.el (shr-visit-file): Remove debugging function.
5270 (shr-insert): Don't infloop if we can't find a good place to break
5271 the line (bug#16256).
5272
5273 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
5274
5275 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
5276 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
5277 python-nav-lisp-forward-sexp-safe.
5278 (python-nav--forward-sexp): New argument SAFE allows switching
5279 forward sexp movement behavior for parens.
5280 (python-nav-forward-sexp): Throw errors on unterminated parens
5281 (Bug#16191).
5282 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
5283 (python-nav-backward-sexp-safe): New functions.
5284 (python-shell-buffer-substring):
5285 Use `python-nav-forward-sexp-safe'.
5286
5287 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5288
5289 * net/shr.el (shr-find-fill-point): Don't break lines before a
5290 quotation mark.
5291 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
5292 (shr-find-fill-point): Remove the special checks for the quotation
5293 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
5294
5295 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5296
5297 * net/eww.el (eww-form-textarea): Use a different face for
5298 textareas than text input since they have different keymaps
5299 (bug#16142).
5300
5301 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
5302
5303 * progmodes/python.el (python-nav-beginning-of-statement):
5304 Speed up (Bug#15295).
5305
5306 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5307
5308 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
5309 the window configuration.
5310
5311 2013-12-24 Eli Zaretskii <eliz@gnu.org>
5312
5313 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
5314 we run on MS-Windows or MS-DOS.
5315
5316 2013-12-24 Martin Rudalics <rudalics@gmx.at>
5317
5318 * window.el (balance-windows-area): Call window-size instead of
5319 window-height and window-width. Bug#16241.
5320
5321 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5322
5323 * net/eww.el (eww-bookmark-quit): Remove.
5324 (eww-bookmark-browse): Restore the window configuration when you
5325 choose a bookmark (bug#16144).
5326
5327 2013-12-24 Daniel Colascione <dancol@dancol.org>
5328
5329 * icomplete.el: Remove redundant :group arguments to `defcustom'
5330 throughout.
5331 (icomplete-show-matches-on-no-input): New customizable variable.
5332 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
5333 we have something to show.
5334 (icomplete-exhibit): Compute completions even if we have no user input.
5335
5336 2013-12-23 Daniel Colascione <dancol@dancol.org>
5337
5338 * icomplete.el: Move `provide' to end of file.
5339
5340 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
5341
5342 * net/gnutls.el (gnutls-verify-error): Add version tag.
5343
5344 2013-12-23 Chong Yidong <cyd@gnu.org>
5345
5346 * subr.el (set-transient-map): Rename from
5347 set-temporary-overlay-map. Doc fix.
5348
5349 * face-remap.el (text-scale-adjust):
5350 * indent.el (indent-rigidly):
5351 * kmacro.el (kmacro-call-macro):
5352 * minibuffer.el (minibuffer-force-complete):
5353 * repeat.el (repeat):
5354 * simple.el (universal-argument--mode):
5355 * calendar/todo-mode.el (todo-insert-item--next-param):
5356 * progmodes/f90.el (f90-abbrev-start): Callers changed.
5357
5358 * indent.el (indent-rigidly): Use substitute-command-keys.
5359
5360 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5361
5362 * net/eww.el (eww-tag-select): Add text-property to jump to next
5363 select field.
5364 (eww): Add non-supported ftp error.
5365
5366 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5367
5368 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
5369 comments. Handle electric indent after typing `?' and `!'.
5370
5371 2013-12-22 Chong Yidong <cyd@gnu.org>
5372
5373 * faces.el (face-spec-recalc): If the theme specs are not
5374 applicable to a frame, fall back on the defface spec.
5375 This prevents themes from obliterating faces on low-color terminals.
5376
5377 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5378
5379 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5380 after `{'. We need it after block openers, and it doesn't seem
5381 to hurt after hash openers.
5382
5383 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5384
5385 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5386 extracted from `ruby-smie-rules'.
5387 (ruby--electric-indent-chars): New variable.
5388 (ruby--electric-indent-p): New function.
5389 (ruby-mode): Use `electric-indent-functions' instead of
5390 `electric-indent-chars'.
5391
5392 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5393
5394 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5395 docstring.
5396 (ruby-smie-rules): Indent plus one level after `=>'.
5397
5398 2013-12-21 Richard Stallman <rms@gnu.org>
5399
5400 * simple.el (newline): Doc fix.
5401
5402 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5403
5404 * net/eww.el (eww-list-histories, eww-list-histories)
5405 (eww-history-browse, eww-history-quit, eww-history-kill)
5406 (eww-history-mode-map, eww-history-mode): New command and
5407 functions to list browser histories.
5408 (eww-form-text): Support text form with disabled
5409 and readonly attributes.
5410 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5411
5412 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5413
5414 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5415 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5416 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5417 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5418 Use `user-error'.
5419 (eww-bookmark-mode-map): Add menu.
5420 (eww-render, eww-mode): Use `setq-local'.
5421 (eww-tool-bar-map): New variable.
5422 (eww-mode): Set `tool-bar-map'.
5423 (eww-view-source): Check for `html-mode' with `fboundp'.
5424
5425 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5426
5427 * net/shr.el (shr--extract-best-source): Don't bug out on audio
5428 elements with text inside. Also remove debugging.
5429
5430 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
5431
5432 * cus-start.el (all): Add ns-use-srgb-colorspace.
5433
5434 2013-12-21 Chong Yidong <cyd@gnu.org>
5435
5436 * custom.el (custom-theme-recalc-face): Do nothing if the face is
5437 undefined. Thus, theme settings for undefined faces do not take
5438 effect until the faces are defined with defface, the same as with
5439 theme variables.
5440
5441 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5442 (face-spec-reset-face): Don't assign extra properties in temacs.
5443 (face-spec-recalc): Apply X resources too.
5444
5445 2013-12-21 Chong Yidong <cyd@gnu.org>
5446
5447 * faces.el (face-spec-set):
5448 * cus-face.el (custom-theme-set-faces, custom-set-faces):
5449 * custom.el (defface): Doc fixes (Bug#16203).
5450
5451 * indent.el (indent-rigidly-map): Add docstring, and move commands
5452 into named functions.
5453 (indent-rigidly-left, indent-rigidly-right)
5454 (indent-rigidly-left-to-tab-stop)
5455 (indent-rigidly-right-to-tab-stop): New functions. Decide on
5456 indentation direction based on bidi direction, and accumulate
5457 sequential commands in a single undo boundary.
5458 (indent-rigidly--pop-undo): New utility function.
5459
5460 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
5461
5462 * faces.el (read-face-name): Require crm.el when using crm-separator.
5463
5464 2013-12-20 Daniel Colascione <dancol@dancol.org>
5465
5466 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5467 so that we don't reflow comments into the shebang line.
5468
5469 2013-12-20 Juri Linkov <juri@jurta.org>
5470
5471 * saveplace.el (save-place-to-alist): Add `dired-filename' as
5472 a position when `dired-directory' is non-nil. Check integer
5473 positions with `integerp'.
5474 (toggle-save-place, save-places-to-alist): Add check for
5475 `dired-directory'.
5476 (save-place-find-file-hook): Check integer positions with
5477 `integerp'.
5478 (save-place-dired-hook): Use `dired-goto-file' when
5479 `dired-filename' is found in the assoc list. Check integer
5480 positions with `integerp'.
5481 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5482
5483 * dired.el (dired-initial-position-hook): Rename back from
5484 `dired-initial-point-hook'.
5485 (dired-initial-position): Rename `dired-initial-point-hook' to
5486 `dired-initial-position-hook'.
5487 (dired-file-name-at-point): Doc fix. (Bug#15329)
5488
5489 2013-12-20 Juri Linkov <juri@jurta.org>
5490
5491 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5492 (read-regexp-suggestions): New function.
5493 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5494 Use `read-regexp-suggestions'. Add non-empty default to history
5495 for empty input.
5496 (occur-read-regexp-defaults-function): Remove function.
5497 (occur-read-primary-args): Use `regexp-history-last' instead of
5498 `occur-read-regexp-defaults-function'.
5499
5500 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5501 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5502 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5503 `hi-lock-read-regexp-defaults-function'. Doc fix.
5504 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5505 with `find-tag-default-as-symbol-regexp'. Doc fix.
5506 (hi-lock-read-regexp-defaults): Remove function.
5507 (hi-lock-regexp-okay): Add check for null.
5508
5509 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5510 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5511
5512 * subr.el (find-tag-default-as-symbol-regexp): New function.
5513 (find-tag-default-as-regexp): Move symbol regexp formatting to
5514 `find-tag-default-as-symbol-regexp'.
5515
5516 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5517
5518 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5519 (Bug#14179)
5520
5521 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5522
5523 * calendar/todo-mode.el: New implementation of item insertion
5524 commands and key bindings.
5525 (todo-key-prompt): New face.
5526 (todo-insert-item): New command.
5527 (todo-insert-item--parameters): New defconst, replacing defvar
5528 todo-insertion-commands-args-genlist.
5529 (todo-insert-item--param-key-alist): New defconst, replacing
5530 defvar todo-insertion-commands-arg-key-list.
5531 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5532 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5533 (todo-insert-item--next-param): New functions.
5534 (todo-insert-item--args, todo-insert-item--argleft)
5535 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5536 New variables.
5537 (todo-key-bindings-t): Change binding of "i" from
5538 todo-insertion-map to todo-insert-item.
5539 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5540 (todo-insertion-command-name, todo-insertion-commands-names)
5541 (todo-define-insertion-command, todo-insertion-commands)
5542 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5543
5544 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5545
5546 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5547 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5548 eval-when-compile.
5549 (todo-move-category): Allow choosing a non-existing todo file to
5550 move the category to, and create that file.
5551 (todo-default-priority): New user option.
5552 (todo-set-item-priority): Use it.
5553 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5554 (desktop-restore-file-buffer): Declare.
5555 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5556 (todo-modes-set-2): Locally set desktop-save-buffer to
5557 todo-desktop-save-buffer.
5558 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5559 (auto-mode-alist): Add autoload cookie.
5560
5561 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5562
5563 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5564 helpers.el was a poor choice of name.
5565 (string-remove-prefix): New function.
5566 (string-remove-suffix): New function.
5567
5568 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5569
5570 Fix assignment for new window total sizes.
5571 * window.el (window--pixel-to-size): Remove function.
5572 (window--pixel-to-total-1, window--pixel-to-total):
5573 Fix calculation of new total sizes.
5574
5575 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5576
5577 * comint.el (comint-output-filter): Fix rear-nonsticky property
5578 placement (Bug#16010).
5579
5580 2013-12-20 Chong Yidong <cyd@gnu.org>
5581
5582 * faces.el (read-color): Minor fix for completion function.
5583
5584 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5585
5586 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5587 New option. (Bug#16182)
5588 (ruby-smie--indent-to-stmt-p): Use it.
5589 (ruby-smie-rules): Revert the logic in the handling of `when'.
5590 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5591 (ruby-deep-arglist, ruby-deep-indent-paren)
5592 (ruby-deep-indent-paren-style): Update docstrings to note that the
5593 vars don't have any effect with SMIE.
5594
5595 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5596
5597 * calc/calc.el (calc-enter, calc-pop): Use the variable
5598 `calc-context-sensitive-enter'.
5599
5600 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5601
5602 * net/shr.el (shr-insert): Protect against infloops in degenerate
5603 tables.
5604
5605 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5606
5607 * progmodes/octave.el (octave): Add link to manual and octave
5608 homepage.
5609 (octave-mode-menu): Link to octave-mode manual.
5610
5611 2013-12-20 Leo Liu <sdl.web@gmail.com>
5612
5613 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5614 insertion using skeleton-end-newline. (Bug#16138)
5615
5616 2013-12-20 Juri Linkov <juri@jurta.org>
5617
5618 * replace.el (occur-engine): Use `add-face-text-property'
5619 to add the face property to matches and titles. (Bug#14645)
5620
5621 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5622 the palette of other hi-lock colors.
5623 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5624
5625 2013-12-19 Juri Linkov <juri@jurta.org>
5626
5627 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5628 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5629 (minibuffer-history-symbol): Move variable declaration closer to
5630 its usage.
5631
5632 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5633 (Bug#14785)
5634
5635 2013-12-19 Juri Linkov <juri@jurta.org>
5636
5637 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5638 New function.
5639 (log-edit-hook): Add it to :options. (Bug#16170)
5640
5641 2013-12-19 Juri Linkov <juri@jurta.org>
5642
5643 * simple.el (eval-expression-print-format): Don't check for
5644 command names and the last command. Always display additional
5645 formats of the integer result in the echo area, and insert them
5646 to the current buffer only with a zero prefix arg.
5647 Display character when char-displayable-p is non-nil.
5648 (eval-expression): With a zero prefix arg, set `print-length' and
5649 `print-level' to nil, and insert the integer values from
5650 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5651
5652 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5653 `eval-last-sexp-arg-internal'. Doc fix.
5654 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5655 `eval-last-sexp-print-value'. Doc fix.
5656 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5657 Set `print-length' and `print-level' to nil when arg is zero.
5658 (eval-last-sexp): Doc fix.
5659 (eval-defun-2): Print the integer values from
5660 `eval-expression-print-format' at the end.
5661
5662 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5663 values from `eval-expression-print-format' at the end.
5664
5665 * ielm.el (ielm-eval-input): Print the integer
5666 values from `eval-expression-print-format' at the end.
5667
5668 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5669
5670 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5671 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5672
5673 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5674
5675 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5676 (hl-line-highlight, global-hl-line-highlight): Use it.
5677 (hl-line-overlay): Use defvar-local.
5678
5679 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5680
5681 * term/ns-win.el: Require dnd.
5682 (global-map): Remove drag items.
5683 (ns-insert-text, ns-set-foreground-at-mouse)
5684 (ns-set-background-at-mouse):
5685 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5686 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5687 New functions.
5688
5689 2013-12-19 Glenn Morris <rgm@gnu.org>
5690
5691 * emacs-lisp/ert.el (ert-select-tests):
5692 Fix string/symbol mixup. (Bug#16121)
5693
5694 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5695
5696 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5697 keywords to their parent.
5698
5699 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5700
5701 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5702 first arg to be a string (fixed dead code), or an operator symbol.
5703 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5704 operator symbols.
5705 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5706 did nothing. Don't respond to `(:after ".")', it will be called
5707 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5708 change anything. Only return indentation for binary operators
5709 when they are hanging. De-dent opening paren when its parent is
5710 `.', otherwise it looks bad when the dot is not at bol or eol
5711 (bug#16182).
5712
5713 2013-12-19 Juri Linkov <juri@jurta.org>
5714
5715 * replace.el (query-replace-read-args): Split a non-negative arg
5716 and a negative arg into separate elements.
5717 (query-replace, query-replace-regexp, replace-string)
5718 (replace-regexp): Add arg `backward'. Doc fix.
5719 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5720 move point to the beginning of the match.
5721 (replace-search, replace-highlight): Use new arg `backward'
5722 to set the value of `isearch-forward'.
5723 (perform-replace): Add arg `backward' and use it to perform
5724 replacement backward. (Bug#14979)
5725
5726 * isearch.el (isearch-query-replace): Use a negative prefix arg
5727 to call `perform-replace' with a non-nil arg `backward'.
5728
5729 2013-12-18 Juri Linkov <juri@jurta.org>
5730
5731 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5732 to the default list. Move `log-edit-show-files' to the end.
5733 Add more available functions to options.
5734 (log-edit): Move default specific settings to
5735 `log-edit-insert-message-template'. Don't move point.
5736 (log-edit-insert-message-template): New function.
5737 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5738 (Bug#16170)
5739
5740 2013-12-18 Juri Linkov <juri@jurta.org>
5741
5742 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5743 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5744
5745 2013-12-18 Leo Liu <sdl.web@gmail.com>
5746
5747 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5748 (Bug#16186)
5749
5750 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5751
5752 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5753 formats for displaying file sizes when the -s switch is given.
5754 Instead, compute a separate format for displaying the size in
5755 blocks, which is displayed in addition to the "regular" size.
5756 When -h is given in addition to -s, produce size in blocks in
5757 human-readable form as well. (Bug#16179)
5758
5759 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5760
5761 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5762 Reference tables with ~\ref{...} instead of only \ref{...}.
5763
5764 2013-12-18 Chong Yidong <cyd@gnu.org>
5765
5766 * cus-edit.el (custom-magic-alist): Fix "themed" description
5767 (Bug#14348).
5768
5769 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5770 is non-nil, do not create a new entry in the symbol's theme-value
5771 or theme-face property; update theme-settings only (Bug#14664).
5772 (custom-available-themes): Doc fix.
5773
5774 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5775 (Bug#15674).
5776
5777 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5778
5779 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5780
5781 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5782 (Bug#13914).
5783
5784 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5785
5786 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5787
5788 2013-12-18 Glenn Morris <rgm@gnu.org>
5789
5790 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5791 * cus-start.el (load-prefer-newer): New option.
5792
5793 2013-12-18 Le Wang <l26wang@gmail.com>
5794
5795 * comint.el (comint-previous-matching-input-from-input):
5796 Retain point (Bug#13404).
5797
5798 2013-12-18 Chong Yidong <cyd@gnu.org>
5799
5800 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5801
5802 2013-12-18 Glenn Morris <rgm@gnu.org>
5803
5804 * mail/emacsbug.el (report-emacs-bug):
5805 Only mention enable-multibyte-characters if non-standard.
5806
5807 2013-12-17 Juri Linkov <juri@jurta.org>
5808
5809 * arc-mode.el (archive-extract-by-file): Check if directory exists
5810 before deletion to not show irrelevant errors if it doesn't exist.
5811
5812 2013-12-17 Juri Linkov <juri@jurta.org>
5813
5814 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5815 (Bug#14751)
5816
5817 * net/eww.el (browse-web): Add alias to `eww'.
5818 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5819 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5820
5821 * net/browse-url.el (browse-url-browser-function): Move `eww'
5822 closer to similar functions.
5823
5824 * startup.el (fancy-startup-screen, fancy-about-screen):
5825 Set browse-url-browser-function to eww-browse-url locally.
5826 (Bug#14751)
5827
5828 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5829
5830 * window.el (window--pixel-to-total): Remove unused `mini' var.
5831 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5832 (split-window): Remove unused `new' var.
5833 (window--display-buffer): Remove unused `frame' and `delta' vars.
5834 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5835 and display-width'.
5836
5837 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5838
5839 * dired.el (dired-mark-pop-up):
5840 * register.el (register-preview): Don't bind
5841 split-height-threshold here since it's now done in
5842 display-buffer-below-selected.
5843
5844 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5845
5846 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5847 xterm-rgb-convert-to-16bit.
5848 (rxvt-register-default-colors): Standardize with
5849 xterm-register-default-colors (Bug#14078).
5850
5851 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5852
5853 * simple.el (kill-region): Pass mark first, then point, so that
5854 kill-append works right (Bug#12819).
5855 (copy-region-as-kill, kill-ring-save): Likewise.
5856
5857 2013-12-17 Leo Liu <sdl.web@gmail.com>
5858
5859 * net/rcirc.el (rcirc-add-face):
5860 * eshell/em-prompt.el (eshell-emit-prompt):
5861 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5862 (Bug#16167)
5863
5864 2013-12-17 Chong Yidong <cyd@gnu.org>
5865
5866 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5867 Suggested by Xue Fuqiao.
5868
5869 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5870
5871 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5872
5873 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5874
5875 * net/shr.el (shr-insert-document): Remove unused var
5876 `shr-preliminary-table-render'.
5877 (shr-rescale-image): Remove unused arg `force'.
5878 (shr-put-image): Update calls accordingly.
5879 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5880
5881 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5882
5883 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5884 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5885 :close-all, to see which indentation method to use (Bug#16116).
5886 (smie-rules-function): Document the method :close-all.
5887
5888 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5889
5890 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5891
5892 * net/eww.el (eww-display-html): If we can't find the anchor we're
5893 looking for, then go to point-min.
5894
5895 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5896
5897 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5898 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5899 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5900 Expand dir too, in case it's relative.
5901
5902 2013-12-16 Juri Linkov <juri@jurta.org>
5903
5904 * desktop.el (desktop-auto-save-timeout): Change default to
5905 `auto-save-timeout'. Doc fix.
5906 (desktop-save): Skip the timestamp in desktop-saved-frameset
5907 when checking for auto-save changes.
5908 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5909 `desktop-auto-save' is called repeatedly by the idle timer.
5910 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5911 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5912 (Bug#15331)
5913
5914 2013-12-16 Juri Linkov <juri@jurta.org>
5915
5916 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5917 (Bug#16035)
5918 (isearch-pre-command-hook): Check `this-command' for symbolp.
5919
5920 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5921
5922 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5923
5924 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5925
5926 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5927 (cfengine3--current-function): Bring in the current-function
5928 functionality from `cfengine3--current-word'.
5929 (cfengine3-completion-function): Bring in the
5930 bounds-of-current-word functionality from
5931 `cfengine3--current-word'.
5932
5933 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5934
5935 * window.el (display-buffer-below-selected):
5936 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5937
5938 2013-12-16 Leo Liu <sdl.web@gmail.com>
5939
5940 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5941 Remove NOMSG arg and all uses changed.
5942
5943 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5944
5945 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5946 (cua--deactivate-rectangle): Don't deactivate the mark.
5947 (cua-set-rectangle-mark): Don't set mark-active since
5948 cua--activate-rectangle already does it for us.
5949 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5950 non-rectangular region.
5951
5952 * emulation/cua-base.el (cua-repeat-replace-region):
5953 Use with-current-buffer.
5954
5955 * net/gnutls.el: Use cl-lib.
5956 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5957
5958 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5959
5960 * emacs-lisp/package.el (package-built-in-p): Support both
5961 built-in and the package.el converted package descriptions.
5962 (package-show-package-list): Allow keywords.
5963 (package-keyword-button-action): Use it instead of
5964 `finder-list-matches'.
5965 (package-menu-filter-interactive): Interactive filtering (by
5966 keyword) function.
5967 (package-menu--generate): Support keywords and change keymappings
5968 and headers when they are given.
5969 (package--has-keyword-p): Helper function.
5970 (package-menu--refresh): Use it.
5971 (package--mapc): Helper function.
5972 (package-all-keywords): Use it.
5973 (package-menu-mode-map): Set up menu items and keybindings to
5974 provide a filtering UI.
5975
5976 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5977
5978 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5979 the behavior when a certificate fails validation. Defaults to
5980 old behavior: never abort, just warn.
5981 (gnutls-negotiate): Use it.
5982
5983 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5984
5985 * window.el (display-buffer-below-selected): Never split window
5986 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5987
5988 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5989
5990 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5991 (package-buffer-info): Use it (bug#15108).
5992
5993 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5994
5995 * icomplete.el (icomplete-completions): Make sure the prefix is already
5996 displayed elsewhere before hiding it (bug#16219).
5997
5998 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5999
6000 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
6001 open-paren tokens when preceded by a open-paren, too.
6002 (ruby-smie-rules): Handle virtual indentation after open-paren
6003 tokens specially. If there is code between it and eol, return the
6004 column where is starts (Bug#16118).
6005
6006 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6007
6008 * progmodes/cfengine.el: Fix `add-hook' doc.
6009 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
6010 (cfengine3--current-word): Fix parameters.
6011 (cfengine3-make-syntax-cache): Simplify further.
6012 (cfengine3-completion-function, cfengine3--current-function):
6013 Use `assq' for symbols.
6014 (cfengine3--current-function): Fix `cfengine3--current-word' call.
6015
6016 2013-12-13 Glenn Morris <rgm@gnu.org>
6017
6018 * loadup.el (load-path): Warn if site-load or site-init changes it.
6019 No more need to reset it when bootstrapping.
6020
6021 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6022
6023 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
6024 locations for cf-promises.
6025 (cfengine-mode-syntax-functions-regex): New caching variable.
6026 (cfengine3-fallback-syntax): Fallback syntax for cases where
6027 cf-promises doesn't run.
6028 (cfengine3--current-word): Reimplement using
6029 `cfengine-mode-syntax-functions-regex'.
6030 (cfengine3-completion-function, cfengine3--current-function):
6031 Use `cfengine3-make-syntax-cache' directly.
6032 (cfengine3-clear-syntax-cache): New function.
6033 (cfengine3-make-syntax-cache): Simplify and create
6034 `cfengine-mode-syntax-functions-regex' on demand.
6035 (cfengine3-format-function-docstring): Don't call
6036 `cfengine3-make-syntax-cache' explicitly.
6037
6038 2013-12-13 Martin Rudalics <rudalics@gmx.at>
6039
6040 Fix windmove-find-other-window broken after pixelwise resizing
6041 (Bug#16017).
6042 * windmove.el (windmove-other-window-loc): Revert change from
6043 2013-12-04.
6044 (windmove-find-other-window): Call window-in-direction.
6045 * window.el (window-in-direction): New arguments SIGN, WRAP and
6046 MINI to emulate original windmove-find-other-window behavior.
6047
6048 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
6049
6050 * simple.el (blink-matching--overlay): New variable.
6051 (blink-matching-open): Instead of moving point, highlight the
6052 matching paren with an overlay
6053 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
6054
6055 * faces.el (paren-showing-faces, show-paren-match)
6056 (show-paren-mismatch): Move from paren.el.
6057
6058 2013-12-13 Leo Liu <sdl.web@gmail.com>
6059
6060 * indent.el (indent-region): Disable progress reporter in
6061 minibuffer. (Bug#16108)
6062
6063 * bindings.el (visual-order-cursor-movement): Fix version.
6064
6065 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6066
6067 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
6068 Also match after beginning of line.
6069 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
6070 files. Thanks to Russell Sim. (Bug#15378)
6071
6072 2013-12-13 Juri Linkov <juri@jurta.org>
6073
6074 * simple.el <Keypad support>: Remove key bindings duplicated
6075 with bindings.el. (Bug#14397)
6076
6077 2013-12-13 Juri Linkov <juri@jurta.org>
6078
6079 * comint.el (comint-mode-map): Replace `delete-char' with
6080 `delete-forward-char'. (Bug#16109)
6081
6082 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6083
6084 * progmodes/python.el (python-indent-calculate-indentation):
6085 Fix de-denters cornercase. (Bug#15731)
6086
6087 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
6088
6089 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
6090 (advice--make): Pay attention to `depth'.
6091 (advice--make-1): Don't autoload commands eagerly.
6092 * emacs-lisp/elp.el (elp-instrument-function):
6093 * emacs-lisp/trace.el (trace-function-internal):
6094 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
6095
6096 * iswitchb.el (iswitchb-mode): Don't belittle ido.
6097
6098 2013-12-12 Eli Zaretskii <eliz@gnu.org>
6099
6100 * term/w32-win.el (w32-handle-dropped-file):
6101 * startup.el (normal-top-level):
6102 * net/browse-url.el (browse-url-file-url):
6103 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
6104 decode file names using 'utf-8' rather than
6105 file-name-coding-system.
6106
6107 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6108
6109 * progmodes/python.el (python-indent-context)
6110 (python-indent-calculate-indentation): Fix auto-identation
6111 behavior for comment blocks. (Bug#15916)
6112
6113 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6114
6115 * progmodes/python.el (python-indent-calculate-indentation):
6116 When determining indentation, don't treat "return", "pass", etc., as
6117 operators when they are just string constituents. (Bug#15812)
6118
6119 2013-12-12 Juri Linkov <juri@jurta.org>
6120
6121 * uniquify.el (uniquify-buffer-name-style): Change default to
6122 `post-forward-angle-brackets'.
6123
6124 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
6125 `uniquify'. Change default to `post-forward-angle-brackets'.
6126
6127 2013-12-11 Glenn Morris <rgm@gnu.org>
6128
6129 * emacs-lisp/package.el (finder-list-matches):
6130 Autoload rather than falsely declaring.
6131
6132 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
6133
6134 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
6135 (eww-mode-map): Use them.
6136
6137 2013-12-11 Martin Rudalics <rudalics@gmx.at>
6138
6139 * window.el (display-buffer-in-side-window): Fix doc-string
6140 (Bug#16115).
6141
6142 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
6143
6144 * vc/vc-git.el: Silence byte-compiler warnings.
6145 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
6146 (log-edit-set-header): Declare.
6147
6148 2013-12-11 Eli Zaretskii <eliz@gnu.org>
6149
6150 * Makefile.in (custom-deps, finder-data): Run output file names
6151 through unmsys--file-name. (Bug#16099)
6152
6153 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
6154
6155 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
6156 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
6157
6158 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
6159 instead of deleting the selection "by hand" (bug#16098).
6160 Rely on insert-for-yank to yank rectangles.
6161 (cua-highlight-region-shift-only): Mark obsolete.
6162 (cua-mode): Don't enable/disable transient-mark-mode,
6163 shift-select-mode (cua-mode works both with and without them), and
6164 pc-selection-mode (obsolete).
6165 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
6166 (cua--deactivate-rectangle): Deactivate it.
6167
6168 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
6169 (delete-selection-helper): Make sure yank starts at the top of the
6170 deleted region.
6171 (minibuffer-keyboard-quit): Use region-active-p.
6172
6173 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
6174
6175 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
6176 to `delete' (bug#16109).
6177
6178 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6179
6180 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
6181 info manual and show keybindings and set `:group' keyword.
6182
6183 2013-12-11 Juri Linkov <juri@jurta.org>
6184
6185 * delsel.el (delete-active-region): Let-bind `this-command'
6186 to prevent `kill-region' from changing its original value.
6187 (delete-selection-helper): Handle `overwrite-mode' for the type
6188 `kill' exactly the same way as for the type `t'.
6189 (insert-char, quoted-insert, reindent-then-newline-and-indent):
6190 Support more commands. (Bug#13312)
6191
6192 2013-12-11 Juri Linkov <juri@jurta.org>
6193
6194 * bindings.el: Map kp keys to non-kp keys systematically
6195 with basic modifiers control, meta and shift. (Bug#14397)
6196
6197 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6198
6199 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
6200 "Close browser" menu items. Fix wrong function of "List
6201 bookmarks".
6202
6203 2013-12-11 Juri Linkov <juri@jurta.org>
6204
6205 * misearch.el (multi-isearch-buffers): Set the value of
6206 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6207 arg of isearch-forward to t.
6208 (multi-isearch-buffers-regexp): Set the value of
6209 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6210 arg of isearch-forward-regexp to t.
6211 (multi-isearch-files): Set the value of
6212 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6213 arg of isearch-forward to t.
6214 (multi-isearch-files-regexp): Set the value of
6215 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6216 arg of isearch-forward-regexp to t. (Bug#16035)
6217
6218 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
6219 arg of isearch-forward to t.
6220 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
6221 arg of isearch-forward-regexp to t.
6222 (dired-isearch-filter-filenames): Remove unnecessary check for
6223 `dired-isearch-filenames'.
6224
6225 * comint.el (comint-history-isearch-backward):
6226 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
6227 (comint-history-isearch-backward-regexp):
6228 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
6229
6230 2013-12-10 Eli Zaretskii <eliz@gnu.org>
6231
6232 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
6233 unmsys--file-name. (Bug#16099)
6234
6235 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
6236
6237 * emacs-lisp/package.el (package-keyword-button-action):
6238 Remove finder.el require dependency.
6239
6240 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
6241
6242 * emacs-lisp/package.el: Require finder.el.
6243 (describe-package-1): Add keyword buttons.
6244 (package-make-button): New convenience function.
6245 (package-keyword-button-action): Keyword button action using
6246 `finder-list-matches'.
6247
6248 2013-12-09 Eli Zaretskii <eliz@gnu.org>
6249
6250 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
6251 last commit.
6252
6253 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
6254
6255 * autorevert.el (auto-revert-notify-add-watch): Do not handle
6256 symlinked files.
6257
6258 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6259
6260 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6261 after the end of a percent literal.
6262
6263 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
6264
6265 * progmodes/ruby-mode.el (ruby-forward-string): Document.
6266 Handle caret-delimited strings (Bug#16079).
6267
6268 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6269
6270 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
6271 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
6272 `ruby-parse-partial' (Bug#16078).
6273
6274 2013-12-09 Leo Liu <sdl.web@gmail.com>
6275
6276 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
6277
6278 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
6279
6280 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
6281 (js-switch-indent-offset): New option.
6282 (js--proper-indentation): Use it. And handle the case when
6283 "default" is actually a key in an object literal.
6284 (js--same-line): New function.
6285 (js--multi-line-declaration-indentation): Use it.
6286 (js--indent-in-array-comp, js--array-comp-indentation):
6287 New functions.
6288 (js--proper-indentation): Use them, to handle array comprehension
6289 continuations.
6290
6291 2013-12-08 Leo Liu <sdl.web@gmail.com>
6292
6293 * progmodes/flymake.el (flymake-highlight-line): Re-write.
6294 (flymake-make-overlay): Remove arg MOUSE-FACE.
6295 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
6296
6297 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6298
6299 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
6300 New function.
6301 (redisplay-highlight-region-function): Use it.
6302
6303 * emulation/cua-base.el (cua--explicit-region-start)
6304 (cua--last-region-shifted): Remove.
6305 (cua--deactivate): Use deactivate-mark.
6306 (cua--pre-command-handler-1): Don't handle shift-selection.
6307 (cua--post-command-handler-1): Don't change transient-mark-mode.
6308 (cua--select-keymaps): Use region-active-p rather than
6309 cua--explicit-region-start or cua--last-region-shifted.
6310 (cua-mode): Enable shift-select-mode.
6311
6312 2013-12-08 Leo Liu <sdl.web@gmail.com>
6313
6314 * progmodes/flymake.el (flymake-popup-current-error-menu):
6315 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6316 (flymake-posn-at-point-as-event, flymake-popup-menu)
6317 (flymake-make-emacs-menu): Remove. (Bug#16077)
6318
6319 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6320
6321 * rect.el (rectangle-mark-mode): Activate mark even if
6322 transient-mark-mode is off (bug#16066).
6323 (rectangle--highlight-for-redisplay): Fix boundary condition when point
6324 is > mark and at bolp.
6325
6326 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
6327 (region-extract-function): Use it.
6328 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
6329 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
6330 Delete functions.
6331 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
6332 kill-ring-save, kill-region, delete-char, delete-forward-char.
6333 Ignore self-insert-iso.
6334
6335 * emulation/cua-gmrk.el (cua--init-global-mark):
6336 Ignore `self-insert-iso'.
6337
6338 * emulation/cua-base.el (cua--prefix-copy-handler)
6339 (cua--prefix-cut-handler): Rely on region-extract-function rather than
6340 checking cua--rectangle.
6341 (cua-delete-region): Use region-extract-function.
6342 (cua-replace-region): Delete function.
6343 (cua-copy-region, cua-cut-region): Obey region-extract-function.
6344 (cua--pre-command-handler-1): Don't do the delete-selection thing.
6345 (cua--self-insert-char-p): Ignore `self-insert-iso'.
6346 (cua--init-keymaps): Don't remap delete-selection commands.
6347 (cua-mode): Use delete-selection-mode instead of rolling our own
6348 (bug#16085).
6349
6350 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
6351 Obey region-extract-function.
6352
6353 Make registers and delete-selection-mode work on rectangles.
6354 * register.el (describe-register-1): Don't modify the register's value.
6355 (copy-to-register): Obey region-extract-function.
6356 * delsel.el (delete-active-region): Obey region-extract-function.
6357
6358 2013-12-08 Leo Liu <sdl.web@gmail.com>
6359
6360 * progmodes/flymake.el (flymake, flymake-error-bitmap)
6361 (flymake-warning-bitmap, flymake-fringe-indicator-position)
6362 (flymake-compilation-prevents-syntax-check)
6363 (flymake-start-syntax-check-on-newline)
6364 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
6365 (flymake-start-syntax-check-on-find-file, flymake-log-level)
6366 (flymake-xml-program, flymake-master-file-dirs)
6367 (flymake-master-file-count-limit)
6368 (flymake-allowed-file-name-masks): Relocate.
6369 (flymake-makehash, flymake-float-time)
6370 (flymake-replace-regexp-in-string, flymake-split-string)
6371 (flymake-get-temp-dir): Remove.
6372 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6373 (flymake-current-row, flymake-selected-frame)
6374 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6375 related functions. (Bug#16077)
6376
6377 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
6378
6379 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6380
6381 2013-12-07 Tassilo Horn <tsdh@gnu.org>
6382
6383 * help-fns.el (describe-function-1): Use new advice-* functions
6384 rather than old ad-* functions. Fix function type description and
6385 source links for advised functions and subrs.
6386
6387 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6388
6389 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
6390
6391 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
6392
6393 * progmodes/compile.el (compilation-start):
6394 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6395
6396 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6397 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
6398
6399 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6400
6401 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6402 Touch up the last change.
6403
6404 2013-12-06 Leo Liu <sdl.web@gmail.com>
6405
6406 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6407 (inferior-octave-startup): Always use "octave> " for prompt.
6408 (octave-goto-function-definition)
6409 (octave-sync-function-file-names)
6410 (octave-find-definition-default-filename): Remove redundant backquotes.
6411
6412 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6413
6414 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6415 syntax for `?'.
6416 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6417 where appropriate already.
6418 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6419 end of method names (Bug#15874).
6420
6421 2013-12-06 Juri Linkov <juri@jurta.org>
6422
6423 * isearch.el (isearch--saved-overriding-local-map):
6424 New internal variable.
6425 (isearch-mode): Set it to the initial value of
6426 `overriding-terminal-local-map'.
6427 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6428 with `isearch--saved-overriding-local-map'. (Bug#16035)
6429
6430 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6431
6432 * progmodes/octave.el (inferior-octave-completion-table):
6433 Turn back into function, use `completion-table-with-cache'
6434 (Bug#11906). Update all references.
6435
6436 * minibuffer.el (completion-table-with-cache): New function.
6437
6438 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
6439
6440 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6441
6442 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
6443
6444 * net/eww.el (eww-current-source): New variable to store page
6445 source.
6446 (eww-display-html, eww-mode, eww-save-history)
6447 (eww-restore-history): Use it.
6448 (eww-view-source): New command to view page source.
6449 Opportunistically uses `html-mode' to highlight the buffer.
6450 (eww-mode-map): Install it.
6451
6452 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
6453
6454 * net/dbus.el (dbus-unregister-service)
6455 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6456 Fix docstring.
6457 (dbus-unregister-service): Skip :serial entries in
6458 `dbus-registered-objects-table'.
6459 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6460
6461 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
6462
6463 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6464 around keywords with extra `split-string' argument.
6465
6466 2013-12-04 Martin Rudalics <rudalics@gmx.at>
6467
6468 * windmove.el (windmove-other-window-loc): Handle navigation
6469 between windows (excluding the minibuffer window - Bug#16017).
6470
6471 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
6472
6473 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6474 in D-Bus type syntax.
6475 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6476 preserve unibyte strings. (Bug#16048)
6477
6478 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6479
6480 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6481 Call force-mode-line-update is the proper buffer (bug#16042).
6482
6483 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
6484
6485 * vc/log-edit.el (log-edit-add-new-comment): Rename to
6486 `log-edit-remember-comment', make argument optional. Adjust all
6487 callers.
6488 (log-edit-mode): Add `log-edit-remember-comment' to
6489 `kill-buffer-hook' locally.
6490 (log-edit-kill-buffer): Don't remember comment explicitly since
6491 the buffer is killed anyway.
6492
6493 2013-12-04 Juri Linkov <juri@jurta.org>
6494
6495 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6496 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6497
6498 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
6499
6500 * notifications.el (notifications-close-notification): Call the
6501 D-Bus method with ID being a `:uint32'. (Bug#16030)
6502
6503 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6504
6505 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6506
6507 2013-12-03 Juri Linkov <juri@jurta.org>
6508
6509 * progmodes/compile.el (compilation-start): Rename window alist
6510 entry `no-display-ok' to `allow-no-window'.
6511
6512 * simple.el (shell-command): Add window alist entry
6513 `allow-no-window' to `display-buffer'.
6514 (async-shell-command): Doc fix.
6515
6516 * window.el (display-buffer-no-window): New action function.
6517 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6518
6519 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6520
6521 * vc/log-edit.el (log-edit-set-header): Extract from
6522 `log-edit-toggle-header'.
6523 (log-edit-extract-headers): Separate the summary, when extracted
6524 from header, from the rest of the message with an empty line.
6525
6526 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6527 line, if present, to the Summary header.
6528
6529 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6530
6531 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6532 in current-buffer (bug#16029).
6533
6534 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
6535
6536 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6537 (debugger-mode-map): Bind it.
6538 (debugger--backtrace-base): New function.
6539 (debugger-eval-expression): Use it.
6540 (debugger-frame-number): Skip local vars when present.
6541 (debugger--locals-visible-p, debugger--insert-locals)
6542 (debugger--show-locals, debugger--hide-locals): New functions.
6543
6544 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
6545
6546 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6547 "LC_ALL".
6548 (tramp-get-remote-locale): New defun.
6549 (tramp-open-connection-setup-interactive-shell): Use it.
6550
6551 2013-12-02 Leo Liu <sdl.web@gmail.com>
6552
6553 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6554
6555 * progmodes/sh-script.el (sh-shell-process):
6556 * progmodes/octave.el (inferior-octave-process-live-p):
6557 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6558 (gdb-inferior-io-sentinel):
6559 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6560
6561 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6562
6563 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6564 `save-selected-window' to `log-edit-hide-buf'. This makes
6565 `log-edit-show-files' idempotent.
6566 (log-edit-show-files): Mark the new window as dedicated.
6567
6568 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6569
6570 * vc/log-edit.el (log-edit-mode-map): Add binding for
6571 `log-edit-kill-biffer'.
6572 (log-edit-hide-buf): Add a FIXME comment.
6573 (log-edit-add-new-comment): New function, extracted from
6574 `log-edit-done'.
6575 (log-edit-done, log-edit-add-to-changelog): Use it.
6576 (log-edit-kill-buffer): New command.
6577
6578 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6579
6580 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6581 instead of killing the buffer.
6582
6583 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6584
6585 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6586
6587 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6588
6589 * net/eww.el (eww-form-checkbox-selected-symbol)
6590 (eww-form-checkbox-symbol): New customizable variable.
6591 (eww-form-checkbox, eww-toggle-checkbox):
6592 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6593
6594 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6595 (shr--get-media-pref, shr--extract-best-source): New function.
6596 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6597 no :src tag was specified.
6598
6599 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6600 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6601 Use \\` to match beginning of string instead of ^.
6602 (eww-browse-with-external-browser): Provide optional URL parameter.
6603 (eww-render): Set `eww-current-title' back to "".
6604
6605 * net/shr.el (shr-tag-video): Display content for video if no
6606 poster is available.
6607 (shr-tag-audio): Add support for <audio> tag.
6608
6609 * net/eww.el (eww-text-input-types): New const.
6610 (eww-process-text-input): Treat input types in
6611 `eww-text-input-types' as text.
6612
6613 * net/shr.el (shr-tag-table): Fix comment typo.
6614
6615 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6616
6617 * net/eww.el (eww-follow-link): New command to avoid reloading
6618 pages when we follow #target links (bug#15243).
6619 (eww-quit): Special mode buffers shouldn't query before exiting.
6620
6621 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6622
6623 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6624 forms.
6625
6626 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6627
6628 * net/eww.el (eww-restore-history): Update the window title after
6629 moving in the history.
6630 (eww-current-dom): New variable used to save the current DOM.
6631
6632 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6633
6634 * vc/log-edit.el (log-edit-mode-map): Add binding for
6635 `log-edit-beginning-of-line'.
6636 (log-edit-setup-add-author): New user option.
6637 (log-edit-beginning-of-line): New command.
6638 (log-edit): Move major mode call above the contents setup so that
6639 the local variable values are already applied.
6640 (log-edit): Only insert "Author: " when
6641 `log-edit-setup-add-author' is non-nil.
6642 (log-edit): When SETUP is non-nil, position point after ": "
6643 instead of point-min.
6644
6645 2013-12-01 Glenn Morris <rgm@gnu.org>
6646
6647 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6648
6649 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6650
6651 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6652 redisplay to make sure the initial frame gets a chance to become
6653 visible. (Bug#16014)
6654
6655 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6656
6657 Support resizing frames and windows pixelwise.
6658 * cus-start.el (frame-resize-pixelwise)
6659 (window-resize-pixelwise): New entries.
6660 * emacs-lisp/debug.el (debug): Use window-total-height instead
6661 of window-total-size.
6662 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6663 * help.el (describe-bindings-internal): Use help-buffer as
6664 argument for with-help-window.
6665 (temp-buffer-max-width): New option.
6666 (resize-temp-buffer-window, help-window-setup)
6667 (with-help-window): Rewrite.
6668 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6669 dragging dividers.
6670 * window.el (frame-char-size, window-min-pixel-height)
6671 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6672 (window-min-pixel-width, window-safe-min-pixel-size)
6673 (window-combination-p, window-safe-min-size)
6674 (window-resizable-p, window--size-to-pixel)
6675 (window--pixel-to-size, window--resize-apply-p): New functions.
6676 (window-safe-min-height): Fix doc-string.
6677 (window-size, window-min-size, window--min-size-1)
6678 (window-sizable, window-sizable-p, window--min-delta-1)
6679 (window-min-delta, window--max-delta-1, window-max-delta)
6680 (window--resizable, window--resizable-p, window-resizable)
6681 (window-full-height-p, window-full-width-p, window-at-side-p)
6682 (window--in-direction-2, window-in-direction)
6683 (window--resize-reset-1, window--resize-mini-window)
6684 (window-resize, window-resize-no-error)
6685 (window--resize-child-windows-normal)
6686 (window--resize-child-windows, window--resize-siblings)
6687 (window--resize-this-window, window--resize-root-window)
6688 (window--resize-root-window-vertically)
6689 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6690 (maximize-window, minimize-window, delete-window)
6691 (quit-restore-window, window-split-min-size, split-window)
6692 (balance-windows-2, balance-windows)
6693 (balance-windows-area-adjust, balance-windows-area)
6694 (window--state-get-1, window-state-get, window--state-put-1)
6695 (window--state-put-2, window-state-put)
6696 (display-buffer-record-window, window--display-buffer):
6697 Make functions handle pixelwise sizing of windows.
6698 (display-buffer--action-function-custom-type)
6699 (display-buffer-fallback-action):
6700 Add display-buffer-in-previous-window.
6701 (display-buffer-use-some-window): Resize window to height it had
6702 before.
6703 (fit-window-to-buffer-horizontally): New option.
6704 (fit-frame-to-buffer): Describe new values.
6705 (fit-frame-to-buffer-bottom-margin): Replace with
6706 fit-frame-to-buffer-margins.
6707 (window--sanitize-margin): New function.
6708 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6709 using window-text-pixel-size.
6710
6711 2013-11-30 Glenn Morris <rgm@gnu.org>
6712
6713 * emacs-lisp/bytecomp.el (byte-compile-form):
6714 Make the `interactive-only' warning like the `obsolete' one.
6715 * comint.el (comint-run):
6716 * files.el (insert-file-literally, insert-file):
6717 * replace.el (replace-string, replace-regexp):
6718 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6719 (goto-line, insert-buffer, next-line, previous-line):
6720 Tweak `interactive-only' spec.
6721
6722 Stop keeping (most) generated cedet grammar files in the repository.
6723 * Makefile.in (semantic): New.
6724 (compile-main): Depend on semantic.
6725
6726 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6727
6728 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6729 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6730
6731 * uniquify.el (uniquify-buffer-name-style): Change default.
6732
6733 * loadup.el: Preload "uniquify".
6734
6735 * time.el (display-time-update): Update all mode lines (bug#15999).
6736
6737 * electric.el (electric-indent-mode): Enable by default.
6738 * loadup.el: Preload "electric".
6739
6740 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6741
6742 * emacs-lisp/helpers.el (string-empty-p): New function.
6743 (string-blank-p): New function.
6744
6745 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6746
6747 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6748 (Bug#14029).
6749
6750 2013-11-29 Andreas Politz <politza@fh-trier.de>
6751 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6752 allow non-lambda lists as functions.
6753 (imenu--in-alist): Don't recurse into non-subalists.
6754 (imenu): Don't pass function itself as an argument (Bug#14029).
6755
6756 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6757
6758 * progmodes/python.el (python-mode-map): Remove binding for ":".
6759 (python-indent-electric-colon): Remove command.
6760 (python-indent-post-self-insert-function): Integrate the previous code
6761 of python-indent-electric-colon. Make it conditional on
6762 electric-indent-mode.
6763 (python-mode): Add ?: to electric-indent-chars.
6764 Move python-indent-post-self-insert-function to the end of
6765 post-self-insert-hook.
6766
6767 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6768
6769 * doc-view.el (doc-view-goto-page): Update mode-line.
6770
6771 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6772
6773 2013-11-27 Glenn Morris <rgm@gnu.org>
6774
6775 * international/charprop.el, international/uni-bidi.el:
6776 * international/uni-category.el, international/uni-combining.el:
6777 * international/uni-comment.el, international/uni-decimal.el:
6778 * international/uni-decomposition.el, international/uni-digit.el:
6779 * international/uni-lowercase.el, international/uni-mirrored.el:
6780 * international/uni-name.el, international/uni-numeric.el:
6781 * international/uni-old-name.el, international/uni-titlecase.el:
6782 * international/uni-uppercase.el:
6783 Remove generated files from VCS repository.
6784
6785 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6786
6787 * filenotify.el (file-notify-add-watch): Don't special-case
6788 w32notify when computing the directory to watch.
6789
6790 2013-11-27 Glenn Morris <rgm@gnu.org>
6791
6792 Make bootstrap without generated uni-*.el files possible again.
6793 * loadup.el: Update command-line-args checking for unidata-gen.
6794 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6795 * composite.el, international/characters.el:
6796 Handle unicode tables being undefined.
6797
6798 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6799 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6800 (compile-main): Depend on leim rule.
6801 (leim): New rule.
6802 * loadup.el: Move leim-list.el to leim/ subdirectory.
6803 * startup.el (normal-top-level): No more leim directory.
6804 * international/ja-dic-cnv.el (skkdic-convert):
6805 Disable version-control and autoloads in output files.
6806 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6807 Disable version-control and autoloads in output files.
6808 * leim/quail: Move here from ../leim.
6809 * leim/quail/hangul.el (hangul-input-method-activate):
6810 Add autoload cookie.
6811 (generated-autoload-load-name): Set file-local value.
6812 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6813 (generated-autoload-load-name): Set file-local value.
6814
6815 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6816
6817 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6818 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6819 (eww-quit): Ask confirmation before quitting eww.
6820
6821 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6822
6823 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6824 reading output from Diff on MS-Windows and MS-DOS.
6825
6826 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6827
6828 * emacs-lisp/helpers.el (string-reverse): New function.
6829
6830 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6831
6832 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6833 names on MS Windows, like "/[::1]:".
6834
6835 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6836 SWITCHES.
6837
6838 2013-11-26 Glenn Morris <rgm@gnu.org>
6839
6840 * progmodes/python.el (python-indent-guess-indent-offset):
6841 Avoid corner-case error. (Bug#15975)
6842
6843 Preload leim-list.el. (Bug#4789)
6844 * loadup.el: Load leim-list.el when found.
6845 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6846
6847 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6848
6849 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6850
6851 * emacs-lisp/helpers.el (string-join): New function.
6852
6853 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6854
6855 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6856 Mark as obsolete and replace it with a symbol property.
6857 (byte-compile-form): Use new 'interactive-only property.
6858 * comint.el, files.el, replace.el, simple.el:
6859 Apply new 'interactive-only properly.
6860
6861 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6862
6863 * window.el (display-buffer-at-bottom): Make sure that
6864 split-window-sensibly creates the new window on bottom
6865 (Bug#15961).
6866
6867 2013-11-23 David Kastrup <dak@gnu.org>
6868
6869 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6870 on the conflict markers when available.
6871 (smerge--get-marker): New function.
6872 (smerge-end-re, smerge-base-re): Add subgroup.
6873
6874 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6875
6876 * frame.el (handle-focus-in, handle-focus-out): Add missing
6877 interactive spec.
6878
6879 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6880
6881 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6882 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6883
6884 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6885
6886 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6887 (gomoku--last-pos): New var.
6888 (gomoku--intangible-chars): New const.
6889 (gomoku--intangible): New function.
6890 (gomoku-mode): Use it. Derive from special-mode.
6891 (gomoku-move-up): Adjust line count.
6892 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6893 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6894 Simplify accordingly.
6895
6896 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6897 Remove blink-cursor code.
6898 (blink-cursor-timer-function, blink-cursor-suspend):
6899 Don't special-case GUIs.
6900 (blink-cursor-mode): Use focus-in/out-hook.
6901
6902 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6903
6904 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6905 work when annotation is invisible (Bug#13886).
6906
6907 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6908
6909 * json.el (json-alist-p): Only return non-nil if the alist has
6910 simple keys (Bug#13518).
6911
6912 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6913
6914 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6915 when control-statement is the first statement in a buffer (Bug#15956).
6916
6917 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6918
6919 * imenu.el (imenu-generic-skip-comments-and-strings):
6920 New option (Bug#15560).
6921 (imenu--generic-function): Use it.
6922
6923 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6924
6925 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6926 (Bug#13898)
6927
6928 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6929
6930 * emacs-lisp/helpers.el: Add some string helpers.
6931 (string-trim-left): Removes leading whitespace.
6932 (string-trim-right): Removes trailing whitespace.
6933 (string-trim): Removes leading and trailing whitespace.
6934
6935 * subr.el (string-suffix-p): New function.
6936
6937 2013-11-23 Glenn Morris <rgm@gnu.org>
6938
6939 * progmodes/python.el (python-shell-send-file):
6940 Add option to delete file when done. (Bug#15647)
6941 (python-shell-send-string, python-shell-send-region): Use it.
6942
6943 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6944
6945 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6946 to set buffer-read-only to t, never to nil. (Bug#15938)
6947
6948 * textmodes/tex-mode.el (latex-noindent-environments):
6949 Add safe-local-variable property. (Bug#15936)
6950
6951 2013-11-23 Glenn Morris <rgm@gnu.org>
6952
6953 * textmodes/enriched.el (enriched-mode): Doc fix.
6954 * emacs-lisp/authors.el (authors-renamed-files-alist):
6955 Add enriched.doc -> enriched.txt.
6956
6957 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6958
6959 2013-11-22 Leo Liu <sdl.web@gmail.com>
6960
6961 * progmodes/octave.el (inferior-octave-startup): Spit out error
6962 message.
6963
6964 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6965
6966 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6967 Improve docstring.
6968 Add :version.
6969 (ruby-encoding-magic-comment-style): Add :version.
6970
6971 2013-11-22 Leo Liu <sdl.web@gmail.com>
6972
6973 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6974 (Bug#15076)
6975 (octave-help-mode): Adapt to change to help-mode-finish to use
6976 derived-mode-p on 2013-09-17.
6977 (inferior-octave-prompt): Also match octave-gui.
6978 (octave-kill-process): Don't ask twice. (Bug#10564)
6979
6980 2013-11-22 Leo Liu <sdl.web@gmail.com>
6981
6982 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6983 (inferior-octave-startup, inferior-octave-check-process)
6984 (inferior-octave-track-window-width-change)
6985 (octave-completion-at-point, octave-eldoc-function): Use it.
6986 (octave-kill-process): Provide confirmation. (Bug#10564)
6987
6988 2013-11-21 Leo Liu <sdl.web@gmail.com>
6989
6990 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6991 Fix obsolete variable comment-use-global-state.
6992
6993 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6994
6995 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6996 Add `octave-source-file'.
6997 (octave-source-file): New function. (Bug#15935)
6998
6999 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
7000
7001 * net/eww.el (eww-local-regex): New variable.
7002 (eww): Use it to detect localhost and similar.
7003
7004 2013-11-21 Leo Liu <sdl.web@gmail.com>
7005
7006 Add completion for command `ag'.
7007 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
7008 (pcomplete/ag): New function.
7009 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
7010
7011 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7012
7013 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
7014 (bug#14646).
7015 (make-obsolete): Remove interactive spec.
7016
7017 2013-11-21 Glenn Morris <rgm@gnu.org>
7018
7019 * startup.el (command-line-1): Use path-separator with -L.
7020
7021 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
7022
7023 * emacs-lisp/package.el (describe-package-1): Add package archive
7024 to shown fields.
7025
7026 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7027
7028 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7029 Change default to "# encoding: %s" to differentiate it from the
7030 default Ruby encoding comment template.
7031
7032 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
7033
7034 * ses.el (ses-mode): Doc fix. (Bug#14748)
7035
7036 2013-11-20 Leo Liu <sdl.web@gmail.com>
7037
7038 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
7039
7040 2013-11-19 Dan Nicolaescu <dann@gnu.org>
7041
7042 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
7043 when rebase or bisect are in progress.
7044
7045 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
7046
7047 * filenotify.el (file-notify-add-watch): Doc fix.
7048
7049 2013-11-19 Leo Liu <sdl.web@gmail.com>
7050
7051 * obsolete/rcompile.el: Mark obsolete.
7052
7053 * progmodes/compile.el (compilation-start)
7054 (compilation-goto-locus, compilation-find-file):
7055 Pass no-display-ok and handle nil value from display-buffer.
7056 (Bug#13594)
7057
7058 * window.el (display-buffer-alist, display-buffer): Document the
7059 new parameter no-display-ok. Return either a window or nil
7060 but never a non-window value.
7061
7062 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7063
7064 * electric.el (electric-indent-mode-map): Remove.
7065 (electric-indent-mode): Change the global-map instead (bug#15915).
7066
7067 * textmodes/text-mode.el (paragraph-indent-minor-mode):
7068 Use add-function.
7069
7070 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
7071
7072 * emacs-lisp/nadvice.el (remove-function): Align with
7073 add-function's behavior.
7074
7075 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
7076 (gdb--string-regexp): New constant.
7077 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
7078 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
7079 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
7080 submatch 1.
7081 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
7082 Adjust use accordingly.
7083 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
7084
7085 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
7086
7087 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
7088 interpolation curlies (Bug#15914).
7089
7090 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
7091
7092 * calc/calc.el (calc-context-sensitive-enter): New variable.
7093 (calc-enter): Use `calc-context-sensitive-enter'.
7094
7095 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
7096
7097 * progmodes/cfengine.el: Version bump.
7098 (cfengine-cf-promises): New defcustom to locate cf-promises.
7099 (cfengine3-vartypes): Add new "data" type.
7100 (cfengine3--current-word): New function to get current name-like
7101 word or its bounds.
7102 (cfengine3--current-function): New function to look up a CFEngine
7103 function's definition.
7104 (cfengine3-format-function-docstring): New function.
7105 (cfengine3-make-syntax-cache): New function.
7106 (cfengine3-documentation-function): New function: ElDoc glue.
7107 (cfengine3-completion-function): New function: completion glue.
7108 (cfengine3-mode): Set `compile-command',
7109 `eldoc-documentation-function', and add to
7110 `completion-at-point-functions'.
7111
7112 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
7113
7114 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7115 `tramp-current-connection'.
7116
7117 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
7118
7119 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
7120 nil/self/true/false with "end of symbol".
7121
7122 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
7123
7124 * subr.el (version-regexp-alist): Fix a typo.
7125
7126 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
7127
7128 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
7129 "en_US.utf8" and "LC_CTYPE" to "".
7130 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
7131 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
7132
7133 2013-11-15 Leo Liu <sdl.web@gmail.com>
7134
7135 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
7136
7137 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7138
7139 * progmodes/gud.el (ctl-x-map):
7140 Remove C-x SPC binding. (Bug#12342)
7141 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
7142
7143 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
7144
7145 * subr.el (version-regexp-alist):
7146 Recognize hg, svn and darcs versions as snapshot versions.
7147
7148 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
7149 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
7150 (ruby--encoding-comment-required-p): Extract from
7151 `ruby-mode-set-encoding'.
7152 (ruby-mode-set-encoding): Add the ability to always insert an
7153 utf-8 encoding comment. Fix and simplify coding comment update
7154 logic.
7155
7156 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
7157
7158 * net/tramp-gvfs.el (top): Run init code only when
7159 `tramp-gvfs-enabled' is not nil.
7160 (tramp-gvfs-enabled): Check also :system bus.
7161
7162 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7163
7164 Sync with upstream verilog-mode revision 78e66ba.
7165 * progmodes/verilog-mode.el (verilog-end-of-defun)
7166 (verilog-type-completion, verilog-get-list): Remove unused funcs.
7167 (verilog-get-end-of-defun): Remove unused argument.
7168 (verilog-comment-depth): Remove unused local `e'.
7169 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
7170 Don't pass arg to verilog-get-end-of-defun.
7171
7172 2013-11-14 Glenn Morris <rgm@gnu.org>
7173
7174 * obsolete/assoc.el (aget): Prefix dynamic variable.
7175
7176 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
7177
7178 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7179
7180 * widget.el, hfy-cmap.el: Remove bogus package version number.
7181
7182 2013-11-13 Glenn Morris <rgm@gnu.org>
7183
7184 * replace.el (replace-eval-replacement):
7185 Try to give more helpful error message. (Bug#15836)
7186
7187 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7188 (archive-7z-update): Avoid custom type mismatches.
7189
7190 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
7191
7192 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
7193
7194 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
7195 address can be empty.
7196
7197 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
7198 Accept nil SWITCHES.
7199 (tramp-gvfs-handle-write-region): Implement APPEND.
7200
7201 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
7202
7203 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
7204 binary "|" operator and closing block args delimiter.
7205 Remove FIXME comment referring to Ruby 1.8-only syntax.
7206 (ruby-smie--implicit-semi-p): Not after "|" operator.
7207 (ruby-smie--closing-pipe-p): New function.
7208 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
7209 (ruby-smie-rules): Indent after "|".
7210
7211 2013-11-12 Glenn Morris <rgm@gnu.org>
7212
7213 * ps-print.el (ps-face-attribute-list):
7214 Handle anonymous faces. (Bug#15827)
7215
7216 2013-11-12 Martin Rudalics <rudalics@gmx.at>
7217
7218 * window.el (display-buffer-other-frame): Fix doc-string.
7219 (Bug#15868)
7220
7221 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7222
7223 * subr.el (force-mode-line-update): Delete, move to buffer.c.
7224
7225 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
7226
7227 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
7228 (tramp-sh-handle-file-local-copy): Don't write a message when
7229 saving temporary files.
7230
7231 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
7232 both directories are remote.
7233 (tramp-smb-handle-directory-files): Do not return double entries.
7234 Do not expand full file names.
7235 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
7236 (tramp-smb-handle-write-region): Implement APPEND.
7237 (tramp-smb-get-stat-capability): Fix a stupid bug.
7238
7239 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7240
7241 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
7242
7243 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7244
7245 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
7246 throwing error over malformed let/let* (bug#15814).
7247
7248 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7249
7250 * iswitchb.el (iswitchb-mode): Mark obsolete.
7251
7252 2013-11-11 Glenn Morris <rgm@gnu.org>
7253
7254 * international/uni-bidi.el, international/uni-category.el:
7255 * international/uni-name.el, international/uni-numeric.el:
7256 Regenerate for Unicode 6.3.0.
7257
7258 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
7259
7260 * net/tramp.el (tramp-methods):
7261 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
7262 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
7263
7264 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
7265
7266 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7267 Force highlighting text after Summary keyword in doc face for rpm.
7268
7269 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
7270
7271 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
7272 available and the word has no wildcards, append one to the grep pattern.
7273 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
7274 (ispell-complete-word): Call `ispell-lookup-words' with the value
7275 independent of `ispell-look-p'.
7276
7277 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7278
7279 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
7280 Not after "||".
7281 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
7282 their parent.
7283
7284 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7285
7286 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
7287 (ruby-font-lock-keywords): Use backquote.
7288
7289 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7290
7291 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7292 (ruby-smie--backward-token): Only consider full-string matches.
7293
7294 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
7295
7296 * faces.el (describe-face): Add distant-foreground.
7297
7298 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
7299
7300 * progmodes/ruby-mode.el: Improve encoding comment handling.
7301 (ruby-encoding-magic-comment-style): New option.
7302 (ruby-custom-encoding-magic-comment-template): New option.
7303 (ruby--insert-coding-comment, ruby--detect-encoding):
7304 New functions extracted from `ruby-mode-set-encoding'.
7305 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
7306 to control the style of the auto-inserted encoding comment.
7307
7308 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7309
7310 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
7311 Use `smie-backward-sexp' with token argument.
7312
7313 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
7314
7315 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7316 Remove instrumentation code.
7317
7318 2013-11-08 Glenn Morris <rgm@gnu.org>
7319
7320 * progmodes/autoconf.el (autoconf-mode):
7321 Tweak comment-start-skip. (Bug#15822)
7322
7323 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7324
7325 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
7326 at bobp (bug#15826).
7327 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
7328
7329 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
7330
7331 * man.el (Man-start-calling): New macro, extracted from
7332 Man-getpage-in-background.
7333 (Man-getpage-in-background): Use it.
7334 (Man-update-manpage): New command.
7335 (Man-mode-map): Bind it.
7336
7337 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7338
7339 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
7340 of "and", "or", "&&" and "||".
7341 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
7342 argument. Prohibit opening curly brace because it could only be a
7343 block opener in that position.
7344 (ruby-smie--forward-token, ruby-smie--backward-token):
7345 Separate "|" from "&" or "*" going after it. That can happen in block
7346 arguments.
7347 (ruby-smie--indent-to-stmt): New function, seeks the end of
7348 previous statement or beginning of buffer.
7349 (ruby-smie-rules): Use it.
7350 (ruby-smie-rules): Check if there's a ":" before a curly block
7351 opener candidate; if there is, it's a hash.
7352
7353 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7354
7355 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
7356 (cl--block-wrapper): Fix last accidental change.
7357
7358 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
7359
7360 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7361 Instrument, in order to hunt failure on hydra.
7362
7363 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7364
7365 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
7366 malformed bindings form (bug#15814).
7367
7368 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
7369
7370 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
7371 "." compared to " @ ". This incidentally fixes some indentation
7372 examples with "do".
7373 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
7374 (ruby-smie-grammar): New tokens: "and" and "or".
7375 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7376 Exclude "and" and "or". Remove "do" in order to work around token
7377 priorities.
7378 (ruby-smie-rules): Add all infix tokens. Handle the case of
7379 beginning-of-buffer.
7380
7381 2013-11-06 Glenn Morris <rgm@gnu.org>
7382
7383 * Makefile.in (setwins_almost, setwins_for_subdirs):
7384 Avoid accidental matches.
7385
7386 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7387
7388 * menu-bar.el (popup-menu): Use key-binding.
7389
7390 2013-11-06 Eli Zaretskii <eliz@gnu.org>
7391
7392 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7393 menus, support also the menus produced by minor modes.
7394 (Bug#15817)
7395
7396 2013-11-06 Leo Liu <sdl.web@gmail.com>
7397
7398 * thingatpt.el (thing-at-point-looking-at): Add optional arg
7399 DISTANCE to bound the search. All uses changed. (Bug#15808)
7400
7401 2013-11-06 Glenn Morris <rgm@gnu.org>
7402
7403 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7404 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7405 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7406
7407 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7408
7409 * electric.el (electric-indent-just-newline): New command.
7410 (electric-indent-mode-map): New keymap.
7411 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7412 Re-add :group which weren't redundant.
7413
7414 * electric.el (electric-indent-local-mode): New minor mode.
7415 (electric-indent-functions-without-reindent): New var.
7416 (electric-indent-post-self-insert-function): Use it.
7417 * emacs-lisp/gv.el (buffer-local-value): Add setter.
7418
7419 2013-11-05 Eli Zaretskii <eliz@gnu.org>
7420
7421 * international/quail.el (quail-help): Be more explicit about the
7422 meaning of the labels shown on the keys. (Bug#15800)
7423
7424 * startup.el (normal-top-level): Load the subdirs.el files before
7425 setting the locale environment. (Bug#15805)
7426
7427 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
7428
7429 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7430 via arguments so as to get the right ones (bug#15418).
7431
7432 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7433
7434 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
7435
7436 Fix problems found while writing a test suite.
7437
7438 * net/tramp-compat.el (tramp-compat-load): New defun.
7439 * net/tramp.el (tramp-handle-load): Use it.
7440
7441 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7442 "(numberp ok-if-already-exists)" correctly.
7443
7444 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
7445
7446 * international/characters.el (glyphless-char-display-control):
7447 Add usage note.
7448
7449 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
7450
7451 * progmodes/python.el (python-mode):
7452 * progmodes/scheme.el (scheme-mode):
7453 * progmodes/prolog.el (prolog-mode):
7454 * progmodes/ruby-mode.el (ruby-mode):
7455 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7456 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7457
7458 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7459
7460 * rect.el (rectangle--highlight-for-redisplay):
7461 * emacs-lisp/smie.el (smie--next-indent-change):
7462 Use buffer-chars-modified-tick.
7463
7464 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7465
7466 * electric.el (electric-indent-post-self-insert-function):
7467 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7468
7469 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
7470
7471 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7472
7473 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7474
7475 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7476 (bug#15786).
7477
7478 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7479
7480 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
7481
7482 * progmodes/python.el: Fix up last change.
7483 (python-shell--save-temp-file): New function.
7484 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
7485 `string' comes from the current buffer.
7486 (python-shell-send-string-no-output): Remove `msg' arg.
7487 (python--use-fake-loc): New var.
7488 (python-shell-buffer-substring): Obey it. Try to compensate for the
7489 extra coding line added by python-shell--save-temp-file.
7490 (python-shell-send-region): Use python-shell--save-temp-file and
7491 python-shell-send-file directly. Add `nomain' argument.
7492 (python-shell-send-buffer): Use python-shell-send-region.
7493 (python-electric-pair-string-delimiter): New function.
7494 (python-mode): Use it.
7495
7496 2013-11-04 Eli Zaretskii <eliz@gnu.org>
7497
7498 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7499 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7500 environment and decoding all of the default-directory's to here
7501 from command-line.
7502 (command-line): Decode also argv[0].
7503
7504 * loadup.el: Error out if default-directory is a multibyte string
7505 when we are dumping.
7506
7507 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7508
7509 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7510
7511 * emacs-lisp/package.el (package-menu-mode)
7512 (package-menu--print-info, package-menu--archive-predicate):
7513 Add Archive column to package list.
7514
7515 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
7516
7517 Fix problems found while writing a test suite.
7518
7519 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7520 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7521 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7522 to nil when running original file name handler. Otherwise,
7523 there are problems with constructs like "$$FOO".
7524
7525 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7526 for `localname'.
7527
7528 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7529
7530 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7531
7532 * subr.el (version<, version<=, version=):
7533 Update docstrings with information for snapshot versions.
7534
7535 * helpers.el: New library for misc helper functions.
7536 (hash-table-keys): New function returning a list of hash keys.
7537 (hash-table-values): New function returning a list of hash values.
7538
7539 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7540
7541 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7542 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7543
7544 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
7545
7546 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7547 checking whether point is after a 1-letter word.
7548
7549 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7550
7551 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7552 Don't infloop when expanding region over `multiline' syntax-type that
7553 begins a line (bug#15778).
7554
7555 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7556
7557 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7558 Make it into a proper minor mode.
7559 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
7560 (rectangle-mark-mode-map): New keymap.
7561 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7562
7563 2013-11-04 Glenn Morris <rgm@gnu.org>
7564
7565 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7566
7567 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7568
7569 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7570 (ruby-smie-rules): Use smie-rule-parent instead.
7571
7572 * emacs-lisp/smie.el (smie-rule-parent): Always call
7573 smie-indent-virtual rather than only for hanging tokens.
7574 (smie--next-indent-change): New helper command.
7575
7576 2013-11-03 Glenn Morris <rgm@gnu.org>
7577
7578 * Makefile.in (abs_srcdir): Remove.
7579 (emacs): Unset EMACSLOADPATH.
7580
7581 2013-11-02 Glenn Morris <rgm@gnu.org>
7582
7583 * Makefile.in (EMACS): Use a relative filename.
7584 (abs_top_builddir): Remove.
7585 (custom-deps, finder-data, autoloads): Use --chdir.
7586
7587 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7588
7589 Use relative filenames in TAGS files.
7590 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7591 (lisptagsfiles4, TAGS): Use relative file names.
7592 (TAGS-LISP): Remove.
7593 (maintainer-clean): No more TAGS-LISP file.
7594
7595 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7596 (lisptagsfiles4): Use absolute filenames again.
7597 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7598 Remove all *loaddefs files, not just the first. Remove esh-groups.
7599 (maintainer-clean): Delete TAGS, TAGS-LISP.
7600
7601 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7602
7603 * emacs-lisp/package.el (package-version-join):
7604 Recognize snapshot versions.
7605
7606 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7607
7608 * subr.el (version-regexp-alist): Add support for snapshot versions.
7609
7610 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7611
7612 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7613 New function, replacement for `smie-rule-parent' for when we want to
7614 skip over our direct parent if it's an assignment token..
7615 (ruby-smie-rules): Use it.
7616
7617 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7618
7619 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7620 unconditionally. Remove now unnecessary forward declarations.
7621 Remove XEmacs-specific setup.
7622 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7623 (ruby-font-lock-syntactic-keywords)
7624 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7625 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7626 (ruby-here-doc-end-syntax): Remove.
7627 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7628 defined as function.
7629
7630 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7631
7632 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7633
7634 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7635
7636 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7637 table and abbrev table, `define-derived-mode' does that for us
7638 anyway.
7639
7640 2013-11-01 Glenn Morris <rgm@gnu.org>
7641
7642 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7643 files is atomic for some time, so no parallel compilation issues).
7644
7645 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7646
7647 * faces.el (face-x-resources): Add :distant-foreground.
7648 (region): Use :distant-foreground for gtk and ns.
7649
7650 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7651
7652 Allow multiple bibliographies when BibLaTeX is used rather than
7653 BibTeX.
7654 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7655 (reftex-locate-bibliography-files): Us it.
7656
7657 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7658
7659 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7660 allow comments in pbm files.
7661
7662 * term/w32-win.el (dynamic-library-alist): Support newer versions
7663 of libjpeg starting with v7: look only for the DLL from the
7664 version against which Emacs was built.
7665 Support versions of libpng beyond 1.4.x.
7666 Support libtiff v4.x.
7667
7668 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7669
7670 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7671 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7672 Add property :safe.
7673 (ruby-deep-arglist): Add property :type.
7674
7675 2013-10-31 Glenn Morris <rgm@gnu.org>
7676
7677 * Makefile.in (custom-deps, finder-data): No need to setq the target
7678 variables, we are in the right directory and the defaults work fine.
7679
7680 2013-10-30 Glenn Morris <rgm@gnu.org>
7681
7682 * Makefile.in (autoloads): Do not use abs_lisp.
7683
7684 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7685 `newline' does not respect `standard-output', so use `princ'.
7686
7687 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7688
7689 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7690 * buff-menu.el (Buffer-menu--unmark): New function.
7691 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7692
7693 2013-10-30 Glenn Morris <rgm@gnu.org>
7694
7695 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7696
7697 * emacs-lisp/package.el (lm-homepage): Declare.
7698
7699 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7700 Fix doc typos.
7701
7702 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7703
7704 * Makefile.in (finder-data, autoloads, update-subdirs)
7705 (compile-main, compile-clean, compile-always, bootstrap-clean):
7706 Check return value of cd.
7707 (compile-calc): Remove.
7708
7709 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7710
7711 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7712
7713 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7714 (byte-compile-and-folded): New function.
7715 (=, <, >, <=, >=): Use it.
7716
7717 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7718 (path-separator, null-device, buffer-file-coding-system)
7719 (lpr-headers-switches): Check system-type before modifying them.
7720 (find-buffer-file-type-coding-system): Mark obsolete.
7721 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7722 find-file-not-found-set-buffer-file-coding-system.
7723 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7724 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7725 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7726 (w32-direct-print-region-helper, w32-direct-print-region-function)
7727 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7728 * startup.el (normal-top-level-add-subdirs-to-load-path):
7729 * ps-print.el (ps-print-region-function):
7730 * lpr.el (print-region-function): Use new name.
7731
7732 * subr.el (custom-declare-variable-early): Remove function.
7733 (custom-declare-variable-list): Remove var.
7734 (error, user-error): Remove `while' loop.
7735 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7736 (user-emacs-directory-warning, locate-user-emacs-file):
7737 Move to files.el.
7738 * simple.el (read-quoted-char-radix, read-quoted-char):
7739 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7740 Move from subr.el.
7741 * custom.el (custom-declare-variable-list): Don't process
7742 custom-declare-variable-list.
7743
7744 * progmodes/python.el (python-shell-get-buffer): New function.
7745 (python-shell-get-process): Use it.
7746 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7747 Python which encoding was used. Don't split-string since we only care
7748 about the first line. Return the temp-file, if applicable.
7749 (python-shell-send-region): Tell compile.el how to turn locations in
7750 the temp-file into locations in the source buffer.
7751
7752 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7753
7754 * subr.el (undefined): Add missing behavior from the C code for
7755 unbound keys.
7756
7757 * rect.el: Use lexical-binding. Add new rectangular region support.
7758 (rectangle-mark): New command.
7759 (rectangle--region): New var.
7760 (deactivate-mark-hook): Reset rectangle--region.
7761 (rectangle--extract-region, rectangle--insert-for-yank)
7762 (rectangle--highlight-for-redisplay)
7763 (rectangle--unhighlight-for-redisplay): New functions.
7764 (region-extract-function, redisplay-unhighlight-region-function)
7765 (redisplay-highlight-region-function): Use them to handle
7766 rectangular region.
7767 * simple.el (region-extract-function): New var.
7768 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7769 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7770 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7771 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7772 (redisplay-unhighlight-region-function)
7773 (redisplay-highlight-region-function): New vars.
7774 (redisplay--update-region-highlight): New function.
7775 (pre-redisplay-function): Use it.
7776 (exchange-point-and-mark): Don't deactivate the mark before
7777 reactivate-it anyway.
7778 * comint.el (comint-kill-region): Remove yank-handler argument.
7779 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7780 (delete-char): Remove property, since it's now part of their
7781 default behavior.
7782 (self-insert-iso): Remove property since this command doesn't exist.
7783
7784 * emacs-lisp/package.el (package--download-one-archive)
7785 (describe-package-1): Don't query the user about final newline.
7786
7787 2013-10-29 Daniel Colascione <dancol@dancol.org>
7788
7789 * net/tramp.el (tramp-methods): Document new functionality.
7790 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7791 tramp-hostname-checker if method provides one instead of scanning
7792 argument list for "%h" to decide hostname acceptability.
7793
7794 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7795
7796 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7797 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7798 Handle COPY-CONTENTS. (Bug#15737)
7799
7800 2013-10-28 Daiki Ueno <ueno@gnu.org>
7801
7802 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7803 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7804
7805 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7806
7807 * image.el (defimage, image-load-path): Doc fixes.
7808
7809 2013-10-27 Alan Mackenzie <acm@muc.de>
7810
7811 Indent statements in macros following "##" correctly.
7812 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7813 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7814
7815 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7816
7817 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7818
7819 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7820
7821 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7822 after `=' is probably a new expression.
7823
7824 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7825
7826 * man.el (man-imenu-title): New option.
7827 (Man-mode-map): Add menu. (Bug#15722)
7828 (Man-mode): Add imenu to menu.
7829
7830 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7831
7832 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7833 specific in what the first arg can be: a non-keyword word,
7834 string/regexp/percent literal opener, opening paren, or unary
7835 operator followed directly by word.
7836
7837 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7838
7839 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7840 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7841 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7842 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7843 Remove vars, they do not apply any more.
7844 (prolog-mode-abbrev-table): Remove redundant declaration.
7845 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7846 (prolog-use-smie): Remove.
7847 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7848 supported by prolog-electric-if-then-else-flag.
7849 (prolog-mode-variables, prolog-menu): Use setq-local.
7850 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7851 Remove binding to `Backspace' since this key doesn't exist anyway.
7852 Remove bindings for electric self-inserting keys.
7853 (prog-mode): Assume it's defined.
7854 (prolog-post-self-insert): New function.
7855 (prolog-mode): Use it.
7856 (prolog-indent-line, prolog-indent-level)
7857 (prolog-find-indent-of-matching-paren)
7858 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7859 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7860 (prolog-goto-next-paren, prolog-in-string-or-comment)
7861 (prolog-tokenize, prolog-inside-mline-comment)
7862 (prolog-find-start-of-mline-comment): Remove functions.
7863 (prolog-find-unmatched-paren, prolog-clause-end)
7864 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7865 (prolog-electric--if-then-else): Rename from
7866 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7867 (prolog-tokenize-searchkey): Remove const.
7868 (prolog-clause-info): Use forward-sexp.
7869 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7870 (prolog-electric-if-then-else): Remove commands.
7871 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7872 for use in post-self-insert-hook.
7873 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7874 for use in post-self-insert-hook.
7875 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7876 for use in post-self-insert-hook.
7877 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7878 adapt it for use in post-self-insert-hook.
7879
7880 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7881
7882 * emacs-lisp/ert.el (ert-run-tests-interactively):
7883 Use `completing-read'. (Bug#9756)
7884
7885 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7886
7887 * simple.el (line-move): Call line-move-1 instead of
7888 line-move-visual when the current window hscroll is zero, but
7889 temporary-goal-column indicates we will need to hscroll as result
7890 of the movement. (Bug#15712)
7891
7892 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7893
7894 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7895 capitalization. Use :visible instead of :active.
7896 Fix `ruby-indent-exp' reference. Add menu items for the generic
7897 commands that are used with SMIE.
7898 (ruby-do-end-to-brace): Insert space after `{'.
7899
7900 2013-10-25 John Anthony <john@jo.hnanthony.com>
7901
7902 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7903
7904 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7905
7906 2013-10-25 Glenn Morris <rgm@gnu.org>
7907
7908 * vc/vc.el (vc-print-log): Don't use a working revision unless
7909 one was explicitly specified. (Bug#15322)
7910
7911 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7912
7913 * subr.el (add-to-list): Preserve return value in compiler-macro
7914 (bug#15692).
7915
7916 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7917
7918 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7919 result. Ask user to retry using '-all' flag. (Bug#15701)
7920
7921 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7922
7923 * emacs-lisp/smie.el: New smie-config system.
7924 (smie-config): New defcustom.
7925 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7926 (smie-config-guess, smie-config-save): New commands.
7927 (smie-config--mode-local, smie-config--buffer-local)
7928 (smie-config--trace, smie-config--modefuns): New vars.
7929 (smie-config--advice, smie-config--mode-hook)
7930 (smie-config--setter, smie-config-local, smie-config--get-trace)
7931 (smie-config--guess-value, smie-config--guess): New functions.
7932 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7933 text properties. Treat "string fence" syntax like string syntax.
7934
7935 * progmodes/sh-script.el (sh-use-smie): Change default.
7936 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7937 (sh-var-value): Simplify by CSE.
7938 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7939 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7940 is used.
7941 (sh-guess-basic-offset): Use cl-incf.
7942 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7943
7944 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7945
7946 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7947 (bug#15699).
7948
7949 2013-10-24 Glenn Morris <rgm@gnu.org>
7950
7951 * Makefile.in (abs_top_srcdir): Remove.
7952 (update-subdirs): Use relative path to update-subdirs.
7953
7954 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7955
7956 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7957 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7958 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7959 Call unmsys--file-name before expand-file-name, not after it.
7960
7961 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7962
7963 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7964 (ert-test-skipped): New error.
7965 (ert-skip, ert-stats-skipped): New defuns.
7966 (ert--skip-unless): New macro.
7967 (ert-test-skipped): New struct.
7968 (ert--run-test-debugger, ert-test-result-type-p)
7969 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7970 (ert--stats-set-test-and-result, ert-char-for-test-result)
7971 (ert-string-for-test-result, ert-run-tests-batch)
7972 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7973 Handle skipped tests. (Bug#9803)
7974
7975 2013-10-24 Glenn Morris <rgm@gnu.org>
7976
7977 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7978
7979 * Makefile.in (abs_top_srcdir): New, set by configure.
7980 (update-subdirs): Correct build-aux location.
7981
7982 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7983
7984 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7985 value, whether we could auto-deduce `backend', or not.
7986
7987 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7988 with parameters" example. Simplify the "is it block or is it
7989 hash" check, but also make it more thorough.
7990
7991 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7992
7993 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7994
7995 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7996
7997 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7998 { if it is hanging.
7999
8000 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
8001 :before ";".
8002
8003 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
8004
8005 * progmodes/compile.el (compilation-directory-matcher)
8006 (compilation-page-delimiter):
8007 Support GNU Make-4.0 directory quoting. (Bug#15678)
8008
8009 2013-10-23 Leo Liu <sdl.web@gmail.com>
8010
8011 * ido.el (ido-tidy): Handle read-only text.
8012
8013 2013-10-23 Glenn Morris <rgm@gnu.org>
8014
8015 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
8016 (emacs, compile, compile-always):
8017 Quote entities that might contain whitespace.
8018 (custom-deps, finder-data, autoloads): Use abs_lisp.
8019 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8020 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8021 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
8022
8023 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
8024
8025 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
8026 Use `following-char'.
8027
8028 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
8029
8030 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
8031 * progmodes/ruby-mode.el (ruby-smie-rules):
8032 Remove corresponding workaround. Fix indentation rule of ";" so it
8033 also applies when ";" is the parent.
8034
8035 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
8036
8037 * frame.el (display-screens, display-pixel-height)
8038 (display-pixel-width, display-mm-width, display-backing-store)
8039 (display-save-under, display-planes, display-color-cells)
8040 (display-visual-class, display-monitor-attributes-list):
8041 Mention the optional ‘display’ argument in doc strings.
8042
8043 2013-10-22 Michael Gauland <mikelygee@amuri.net>
8044
8045 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
8046 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
8047
8048 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8049
8050 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
8051 TODO. Add "." after " @ ".
8052 (ruby-smie--at-dot-call): New function. Checks if point at method
8053 call with explicit target.
8054 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
8055 to the method name tokens when it precedes them.
8056 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
8057 (ruby-smie-rules): Add rule for indentation before and after "."
8058 token.
8059
8060 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
8061
8062 * textmodes/remember.el (remember-diary-extract-entries):
8063 Avoid add-to-list.
8064
8065 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
8066 an instruction.
8067
8068 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8069
8070 * progmodes/ruby-mode.el (ruby-smie-grammar):
8071 Add (almost) all infix operators.
8072 (ruby-smie--implicit-semi-p): Add new operator chars.
8073
8074 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8075 `smie-down-list'.
8076 (ruby-smie--args-separator-p): Check that there's no newline
8077 between method call and its arguments.
8078
8079 2013-10-20 Alan Mackenzie <acm@muc.de>
8080
8081 Allow comma separated lists after Java "implements".
8082
8083 * progmodes/cc-engine.el (c-backward-over-enum-header):
8084 Parse commas.
8085 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
8086 from a "disallowed" list in enum fontification.
8087
8088 2013-10-20 Johan Bockgård <bojohan@gnu.org>
8089
8090 * startup.el (default-frame-background-mode): Remove unused defvar.
8091
8092 * progmodes/verilog-mode.el (verilog-mode): Don't set
8093 comment-indent-function globally.
8094
8095 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
8096
8097 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
8098 Move Info menu item creation to ns-win.el.
8099
8100 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
8101 in menu bar.
8102
8103 * menu-bar.el: Move GNUstep specific menus...
8104
8105 * term/ns-win.el (ns-initialize-window-system): ... to here.
8106
8107 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8108
8109 * simple.el (newline): Only run post-self-insert-hook when
8110 called interactively.
8111
8112 2013-10-19 Johan Bockgård <bojohan@gnu.org>
8113
8114 * icomplete.el (icomplete-with-completion-tables): Add :version.
8115
8116 2013-10-19 Alan Mackenzie <acm@muc.de>
8117
8118 Fix fontification bugs with constructors and const.
8119
8120 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
8121 CASE 2) Remove the check for the absence of a suffix construct
8122 after a function declaration with only types (no identifiers) in
8123 the parentheses. Also, accept a function declaration with just a
8124 type inside the parentheses, if this type can be positively
8125 recognised as such, or if a prefix keyword like "explicit" nails
8126 down the construct as a declaration.
8127
8128 2013-10-19 Eli Zaretskii <eliz@gnu.org>
8129
8130 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
8131 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
8132 the problem whereby selecting a menu item that leads to a
8133 minibuffer prompt moves the cursor out of the minibuffer window,
8134 making it hard to type at the prompt. Suggested by Stefan Monnier
8135 <monnier@iro.umontreal.ca>.
8136
8137 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
8138
8139 * menu-bar.el: Don't make Services menu.
8140
8141 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8142
8143 * ffap.el: Handle "/usr/include/c++/<version>" directories.
8144 (ffap-alist): Use ffap-c++-mode for c++-mode.
8145 (ffap-c++-path): New variable.
8146 (ffap-c++-mode): New function.
8147
8148 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
8149
8150 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
8151
8152 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
8153
8154 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
8155 introduced on 2013-09-08, which results in an infinite loop
8156 requesting a password.
8157
8158 2013-10-18 Glenn Morris <rgm@gnu.org>
8159
8160 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
8161
8162 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
8163
8164 Sync with upstream verilog-mode revision 1a6ecec7.
8165 * progmodes/verilog-mode.el (verilog-mode-version): Update.
8166 (verilog-mode-release-date): Remove.
8167 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
8168 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
8169 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
8170 (verilog-auto-tieoff-ignore-regexp)
8171 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
8172 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
8173 (verilog-signals-with, verilog-dir-cache-preserving)
8174 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
8175 Doc fixes.
8176 (verilog-case-fold): New option, to control case folding in
8177 regexp searches, bug597.
8178 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
8179 (verilog-string-match-fold, verilog-in-paren-count)
8180 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
8181 (verilog-at-close-struct-p): New functions.
8182 (verilog-beg-block-re-ordered, verilog-extended-case-re)
8183 (verilog-forward-sexp, verilog-set-auto-endcomments)
8184 (verilog-leap-to-case-head): Handle "unique0" case.
8185 (verilog-in-constraint-re): New constant.
8186 (verilog-keywords, verilog-type-font-keywords):
8187 Add some SystemVerilog 1800-2012 keywords.
8188 (verilog-label-be): Remove unimplemented argument, bug669.
8189 (verilog-batch-execute-func): When batch expanding clear
8190 create-lockfiles to prevent spurious user locks when a file ends
8191 up not changing.
8192 (verilog-calculate-indent, verilog-calc-1)
8193 (verilog-at-close-constraint-p, verilog-at-constraint-p)
8194 (verilog-do-indent): Fix indentation of nested constraints
8195 and structures.
8196 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
8197 (verilog-auto-inst-param): Use verilog-string-match-fold.
8198 (verilog-read-inst-module-matcher):
8199 Fix AUTOINST on gate primitives with #1.
8200 (verilog-read-decls): Fix double-declaring user-defined typed signals.
8201 Reads all user-defined typed variables.
8202 (verilog-read-defines): Fix reading definitions inside comments, bug647.
8203 (verilog-signals-matching-regexp)
8204 (verilog-signals-not-matching-regexp, verilog-auto):
8205 Respect verilog-case-fold.
8206 (verilog-diff-report): Fix line count.
8207 (verilog-auto-assign-modport): Remove unused local `modi'.
8208 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
8209 better handle multidimensional arrays.
8210 Fix packed array ports misadding bit index in AUTOINST, bug637.
8211 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
8212 to not double-declare existing outputs and inputs, respectively.
8213 (verilog-template-map): Bind U to verilog-sk-uvm-component.
8214 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
8215 (verilog-sk-uvm-component): New skeleton.
8216 (verilog-submit-bug-report): Add verilog-case-fold,
8217 remove verilog-mode-release-date.
8218
8219 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
8220
8221 * subr.el (sit-for): Call (input-pending-p t) so as to behave
8222 as before.
8223
8224 2013-10-18 Reuben Thomas <rrt@sc3d.org>
8225
8226 * textmodes/remember.el (remember): Set buffer-offer-save in
8227 remember buffers (bug#13566).
8228
8229 2013-10-18 Daniel Colascione <dancol@dancol.org>
8230
8231 When evaluating forms in ielm, direct standard output to ielm
8232 buffer. Add new ielm-return-for-effect command. Remove trailing
8233 whitespace throughout.
8234
8235 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
8236 (ielm-return-for-effect): New command.
8237 (ielm-send-input): Accept optional `for-effect' parameter.
8238 (ielm-eval-input): Accept optional `for-effect' parameter.
8239 Bind `standard-output' to stream we create using
8240 `ielm-standard-output-impl'. Suppress printing result when
8241 `for-effect'.
8242 (ielm-standard-output-impl): New function.
8243 (inferior-emacs-lisp-mode): Explain new features in documentation.
8244
8245 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
8246
8247 Code cleanup.
8248
8249 * net/tramp.el (tramp-debug-message): Do not check for connection
8250 buffer.
8251 (tramp-message): Use "vector" connection property.
8252
8253 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
8254 (tramp-equal-remote, tramp-eshell-directory-change)
8255 * net/tramp-adb.el (tramp-adb-handle-copy-file)
8256 (tramp-adb-handle-rename-file)
8257 * net/tramp-cmds.el (tramp-list-remote-buffers)
8258 (tramp-cleanup-connection, tramp-cleanup-this-connection)
8259 * net/tramp-compat.el (tramp-compat-process-running-p)
8260 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
8261 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
8262 (tramp-gvfs-handle-rename-file)
8263 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8264 (tramp-set-file-uid-gid)
8265 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8266 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
8267 of `file-remote-p'.
8268
8269 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
8270 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8271 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
8272 (tramp-gw-open-network-stream): Suppress unrelated traces.
8273
8274 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
8275 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8276 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8277 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
8278 connection property.
8279
8280 * net/tramp-cache.el (top): Suppress traces when reading
8281 persistency file.
8282
8283 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8284 Refactor common code. Improve debug message.
8285 (tramp-maybe-open-connection)
8286 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
8287 connection buffer too early.
8288
8289 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
8290 from `tramp-smb-actions-with-acl'.
8291 (tramp-smb-actions-set-acl): New defconst.
8292 (tramp-smb-handle-copy-directory)
8293 (tramp-smb-action-get-acl): New defun, renamed from
8294 `tramp-smb-action-with-acl'.
8295 (tramp-smb-action-set-acl): New defun.
8296 (tramp-smb-handle-set-file-acl): Rewrite.
8297
8298 2013-10-17 Glenn Morris <rgm@gnu.org>
8299
8300 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
8301
8302 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8303
8304 * skeleton.el (skeleton-newline): Remove.
8305 (skeleton-internal-1): Use (insert "\n") instead.
8306
8307 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
8308 let-bindings.
8309
8310 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
8311 forward-sexp-function while we redo its job (bug#15613).
8312
8313 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
8314
8315 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
8316 represented by lists.
8317
8318 2013-10-16 Glenn Morris <rgm@gnu.org>
8319
8320 * tmm.el (tmm--history): New dynamic variable.
8321 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
8322
8323 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
8324
8325 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
8326 (tramp-smb-errors): Add error messages.
8327 (tramp-smb-actions-with-acl): New defconst.
8328 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
8329 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
8330 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
8331 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
8332 (tramp-smb-get-stat-capability): Fix tests.
8333
8334 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
8335
8336 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
8337 (bug#15580).
8338
8339 2013-10-16 Glenn Morris <rgm@gnu.org>
8340
8341 * ansi-color.el (ansi-color-drop-regexp):
8342 Add 1J, 1K, 2K. (Bug#15617)
8343
8344 * files.el (hack-local-variables--warned-lexical): New.
8345 (hack-local-variables):
8346 Warn about misplaced lexical-binding. (Bug#15616)
8347
8348 * net/eww.el (eww-render): Always set eww-current-url,
8349 and update header line. (Bug#15622)
8350 (eww-display-html): ... Rather than just doing it here.
8351
8352 2013-10-15 Eli Zaretskii <eliz@gnu.org>
8353
8354 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
8355 menu navigations commands.
8356
8357 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
8358
8359 * progmodes/subword.el (subword-capitalize): Be careful when
8360 the search for [[:alpha:]] fails (bug#15580).
8361
8362 2013-10-14 Eli Zaretskii <eliz@gnu.org>
8363
8364 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
8365 to commands that scroll the menu.
8366
8367 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
8368
8369 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
8370 Handle methods ending with `?' and `!'.
8371
8372 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
8373
8374 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8375 `japanese-cp932' to `cp932' to fix the problem where saving a
8376 source file written in Shift_JIS twice would end up having
8377 `coding: japanese-cp932' which Ruby could not recognize.
8378 (ruby-mode-set-encoding): Add support for encodings mapped to nil
8379 in `ruby-encoding-map'.
8380 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8381 doesn't need to be explicitly declared in magic comment.
8382 (ruby-encoding-map): Add type declaration for better customize UI.
8383
8384 2013-10-13 Glenn Morris <rgm@gnu.org>
8385
8386 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8387 Occur buffers are read-only. http://bugs.debian.org/720775
8388
8389 * emacs-lisp/authors.el (authors-fixed-entries):
8390 Comment out old alpha stuff.
8391
8392 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
8393
8394 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8395 to `after-save-hook' instead of `before-save-hook'.
8396 (ruby-mode-set-encoding): Use the value of coding system used to
8397 write the file. Call `basic-save-buffer-1' after modifying the
8398 buffer.
8399
8400 2013-10-13 Alan Mackenzie <acm@muc.de>
8401
8402 Fix indentation/fontification of Java enum with
8403 "implements"/generic.
8404
8405 * progmodes/cc-engine.el (c-backward-over-enum-header):
8406 Extracted from the three other places and enhanced to handle generics.
8407 (c-inside-bracelist-p): Uses new function above.
8408 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8409 function above.
8410 (c-font-lock-enum-tail): Uses new function above.
8411
8412 2013-10-13 Kenichi Handa <handa@gnu.org>
8413
8414 * international/mule-cmds.el (select-safe-coding-system): Remove a
8415 superfluous condition in chekcing whether a coding system is safe
8416 or not.
8417
8418 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
8419
8420 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
8421
8422 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
8423
8424 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
8425
8426 2013-10-13 Glenn Morris <rgm@gnu.org>
8427
8428 * menu-bar.el (menu-bar-update-buffers):
8429 Unify Buffers menu prompt string. (Bug#15576)
8430
8431 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
8432
8433 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8434 Add some entries.
8435 (authors-fixed-entries): Use accented form of name.
8436
8437 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8438
8439 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8440 method calls (bug#15594).
8441 (ruby-smie--args-separator-p): New function.
8442 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8443 recognize paren-free method calls.
8444
8445 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8446 internals of universal-argument.
8447
8448 2013-10-11 Eli Zaretskii <eliz@gnu.org>
8449
8450 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8451 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8452 dropped menu on second mouse click on the menu bar.
8453
8454 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8455
8456 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8457 (explicit-shell-file-name): Declare.
8458 (sh--vars-before-point, sh--cmd-completion-table): New functions.
8459 (sh-completion-at-point-function): New function.
8460 (sh-mode): Use it.
8461 (sh-smie--keyword-p): Remove unused argument.
8462 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8463 vars.
8464 (sh-set-shell): Always setup SMIE, even if we use the
8465 old indentation code.
8466
8467 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
8468
8469 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8470 cases of ? and =.
8471 (ruby-smie-rules): Simplify the "do" rule. The cases when the
8472 predicate would return nil are almost non-existent.
8473 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8474
8475 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8476 cache also after commands that modify the buffer but don't move
8477 point.
8478
8479 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8480
8481 * env.el (substitute-env-in-file-name): New function.
8482 (substitute-env-vars): Extend the meaning of the optional arg.
8483
8484 2013-10-10 Eli Zaretskii <eliz@gnu.org>
8485
8486 * term/w32-win.el (dynamic-library-alist): Define separate lists
8487 of GIF DLLs for versions before and after 5.0.0 of giflib.
8488 (Bug#15531)
8489
8490 2013-10-10 João Távora <joaotavora@gmail.com>
8491
8492 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8493 not locked, use last revision and current source as
8494 defaults. (Bug#15569)
8495
8496 2013-10-10 Masatake YAMATO <yamato@redhat.com>
8497
8498 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8499 menu-bar is hidden.
8500
8501 2013-10-10 Martin Rudalics <rudalics@gmx.at>
8502
8503 * window.el (pop-to-buffer-same-window): Fix doc-string.
8504 (Bug#15492)
8505
8506 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8507
8508 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8509
8510 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8511
8512 * calendar/icalendar.el (icalendar-import-file):
8513 Fix interactive spec. (Bug#15482)
8514
8515 2013-10-10 Glenn Morris <rgm@gnu.org>
8516
8517 * desktop.el (desktop-save): Default to saving in .emacs.d,
8518 since PWD is no longer in desktop-path by default. (Bug#15319)
8519
8520 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8521 now that text mode has a menu with the same entry.
8522 (menu-bar-text-mode-auto-fill): Remove now unused func.
8523 * textmodes/text-mode.el (text-mode-map):
8524 Use auto-fill help text from menu-bar.el.
8525
8526 2013-10-10 John Anthony <john@jo.hnanthony.com>
8527
8528 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8529
8530 2013-10-09 Juri Linkov <juri@jurta.org>
8531
8532 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8533 instead of this-command-keys. Add universal-argument-more and
8534 universal-argument-minus to the list of prefix commands. (Bug#15568)
8535
8536 2013-10-09 Glenn Morris <rgm@gnu.org>
8537
8538 * vc/vc-svn.el (vc-svn-create-repo):
8539 Expand paths in file://... url. (Bug#15446)
8540
8541 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8542 Add some entries.
8543 (authors): Remove unused local variables.
8544
8545 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8546
8547 * profiler.el: Create a more coherent calltree from partial backtraces.
8548 (profiler-format): Hide the tail with `invisible' so that C-s can still
8549 find the hidden elements.
8550 (profiler-calltree-depth): Don't recurse so enthusiastically.
8551 (profiler-function-equal): New hash-table-test.
8552 (profiler-calltree-build-unified): New function.
8553 (profiler-calltree-build): Use it.
8554 (profiler-report-make-name-part): Indent the calltree less.
8555 (profiler-report-mode): Add visibility specs for profiler-format.
8556 (profiler-report-expand-entry, profiler-report-toggle-entry):
8557 Expand the whole subtree when provided with a prefix arg.
8558
8559 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8560
8561 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8562 iuwu-mod token.
8563 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8564 hanging iuwu-mod token.
8565 (ruby-smie--forward-token): Do not include a dot after a token in
8566 that token.
8567 (ruby-smie--backward-token): Likewise.
8568
8569 2013-10-08 Juri Linkov <juri@jurta.org>
8570
8571 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8572 to isearch-other-control-char.
8573 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8574 and isearch-post-command-hook to post-command-hook.
8575 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8576 and isearch-post-command-hook from post-command-hook.
8577 (isearch-unread-key-sequence)
8578 (isearch-reread-key-sequence-naturally)
8579 (isearch-lookup-scroll-key, isearch-other-control-char)
8580 (isearch-other-meta-char): Remove functions.
8581 (isearch-pre-command-hook, isearch-post-command-hook):
8582 New functions based on isearch-other-meta-char rewritten
8583 relying on the new behavior of overriding-terminal-local-map
8584 that does not replace the local keymaps any more. (Bug#15200)
8585
8586 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8587
8588 Support menus on text-mode terminals.
8589 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8590 functionality.
8591
8592 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8593
8594 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8595 Move here from mouse.el.
8596 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8597 and arrow keys.
8598 (tty-menu-navigation-map): New map for TTY menu navigation.
8599
8600 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8601
8602 * frame.el (display-mouse-p): Report text-mode mouse as available
8603 on w32.
8604 (display-popup-menus-p): Report availability if mouse is
8605 available; don't condition on window-system.
8606
8607 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8608 (tty-menu-selected-face): New faces.
8609
8610 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8611
8612 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8613 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8614 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8615 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8616 New constants.
8617 (lisp-mode-variables): New `elisp' argument.
8618 (emacs-lisp-mode): Use it.
8619 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8620 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8621
8622 * indent.el: Use lexical-binding.
8623 (indent-region): Add progress reporter.
8624 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8625 last step.
8626 (indent--next-tab-stop): New function to implement this behavior.
8627 (tab-to-tab-stop, move-to-tab-stop): Use it.
8628
8629 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8630
8631 * indent.el (indent-rigidly--current-indentation): New function.
8632 (indent-rigidly-map): New var.
8633 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8634
8635 2013-10-08 Bastien Guerry <bzg@gnu.org>
8636
8637 * register.el (insert-register): Fix 2013-10-07 change.
8638
8639 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8640
8641 * progmodes/perl-mode.el: Use lexical-binding.
8642 Remove redundant :group args.
8643 (perl-nochange): Change default to be closer to other major modes's
8644 standard behavior.
8645 (perl-indent-line): Don't consider text on current line as a
8646 valid beginning of function from which to indent.
8647
8648 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8649 with more than one argument (bug#15538).
8650
8651 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8652
8653 * vc/pcvs.el: Use lexical-binding.
8654 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8655 environment of `eval'.
8656 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8657 than a list of expressions. Adjust callers.
8658 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8659
8660 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8661
8662 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8663 case of the dot in a chained method call being on the following line.
8664
8665 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8666
8667 * electric.el (electric-indent-inhibit): New var.
8668 (electric-indent-post-self-insert-function): Use it.
8669 * progmodes/python.el (python-mode): Set it.
8670
8671 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8672 open braces.
8673
8674 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8675
8676 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8677 (css-mode): Use electric-indent-chars.
8678
8679 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8680 (font-lock-beg, font-lock-end): Move before first use.
8681 (nxml-mode): Use syntax-propertize-function.
8682 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8683 (nxml-extend-after-change-region): Remove.
8684 * nxml/xmltok.el: Use lexical-binding.
8685 (xmltok-save): Use `declare'.
8686 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8687 * nxml/nxml-util.el: Use lexical-binding.
8688 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8689 Use `declare'.
8690 * nxml/nxml-ns.el: Use lexical-binding.
8691 (nxml-ns-save): Use `declare'.
8692 (nxml-ns-prefixes-for): Avoid add-to-list.
8693 * nxml/rng-match.el: Use lexical-binding.
8694 (rng--ipattern): Use cl-defstruct.
8695 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8696 (rng-cons-group-after, rng-subst-group-after)
8697 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8698 Use closures instead of `(lambda...).
8699
8700 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8701
8702 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8703 of BEG and END.
8704
8705 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8706 Use `tramp-handle-insert-file-contents'.
8707 (tramp-gvfs-handle-insert-file-contents): Remove function.
8708
8709 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8710 Use `save-restriction' in order to keep markers.
8711
8712 * net/trampver.el: Update release number.
8713
8714 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8715
8716 * progmodes/compile.el (compilation-parse-errors):
8717 Use compilation--put-prop.
8718 (compilation--ensure-parse): Check compilation-multiline.
8719
8720 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8721
8722 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8723 lexical-binding.
8724
8725 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8726
8727 * progmodes/ruby-mode.el: Fix recently added tests.
8728 (ruby-smie-grammar): Add - and +.
8729 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8730 (ruby-smie--backward-id): New functions.
8731 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8732 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8733 any more.
8734
8735 2013-10-07 Leo Liu <sdl.web@gmail.com>
8736
8737 * register.el (register-preview-delay)
8738 (register-preview-functions): New variables.
8739 (register-read-with-preview, register-preview)
8740 (register-describe-oneline): New functions.
8741 (point-to-register, window-configuration-to-register)
8742 (frame-configuration-to-register, jump-to-register)
8743 (number-to-register, view-register, insert-register)
8744 (copy-to-register, append-to-register, prepend-to-register)
8745 (copy-rectangle-to-register): Use register-read-with-preview to
8746 read register. (Bug#15525)
8747
8748 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8749
8750 * net/network-stream.el (network-stream-open-starttls): Don't add
8751 --insecure if it's already present, because that gnutls-cli
8752 rejects getting that parameter twice.
8753
8754 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8755
8756 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8757 keyword, too.
8758
8759 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8760
8761 * newcomment.el (comment-use-global-state): Change default value
8762 to t, mark obsolete (Bug#15251).
8763 (comment-beginning): In addition to `comment-to-syntax', check the
8764 value of `comment-use-global-state'.
8765
8766 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8767
8768 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8769 (ruby-comment-column): Follow the global default, by default.
8770 (ruby-smie-grammar): Add assignment syntax.
8771 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8772 open-paren, a comma, or a \.
8773 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8774 and line continuations.
8775 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8776 followed by implicit semi-colons. Add rule for string concatenation
8777 and for indentation at BOB.
8778 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8779
8780 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8781 calling next-sexp, since next-token may have skipped chars which
8782 next-sexp doesn't know should be skipped!
8783
8784 2013-10-05 Leo Liu <sdl.web@gmail.com>
8785
8786 * progmodes/octave.el (octave-send-region):
8787 Call compilation-forget-errors.
8788
8789 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8790
8791 * vc/vc-svn.el (vc-svn-find-admin-dir):
8792 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8793 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8794 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8795 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8796
8797 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8798
8799 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8800
8801 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8802
8803 * subr.el (read-passwd): Hide chars even when called within a context
8804 where after-change-functions is disabled (bug#15501).
8805 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8806 until we removed ourself from overriding-terminal-local-map.
8807
8808 2013-10-04 Leo Liu <sdl.web@gmail.com>
8809
8810 * progmodes/octave.el (inferior-octave-mode):
8811 Call compilation-forget-errors.
8812
8813 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8814
8815 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8816
8817 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8818
8819 * net/secrets.el (secrets-create-collection): Add optional
8820 argument ALIAS. Use proper Label keyword. Append ALIAS as
8821 dbus-call-method argument. (Bug#15516)
8822
8823 2013-10-04 Leo Liu <sdl.web@gmail.com>
8824
8825 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8826 (inferior-octave-compilation-font-lock-keywords): New variables.
8827 (compilation-error-regexp-alist)
8828 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8829 (inferior-octave-mode): Use compilation-shell-minor-mode.
8830
8831 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8832
8833 * minibuffer.el (completion--replace): Be careful that `end' might be
8834 a marker.
8835
8836 2013-10-03 Daiki Ueno <ueno@gnu.org>
8837
8838 Add support for package signature checking.
8839 * emacs-lisp/package.el (url-http-file-exists-p)
8840 (epg-make-context, epg-context-set-home-directory)
8841 (epg-verify-string, epg-context-result-for)
8842 (epg-signature-status, epg-signature-to-string)
8843 (epg-check-configuration, epg-configuration)
8844 (epg-import-keys-from-file): Declare.
8845 (package-check-signature): New user option.
8846 (package-unsigned-archives): New user option.
8847 (package-desc): Add `signed' field.
8848 (package-load-descriptor): Set `signed' field if .signed file exists.
8849 (package--archive-file-exists-p): New function.
8850 (package--check-signature): New function.
8851 (package-install-from-archive): Check package signature.
8852 (package--download-one-archive): Check archive signature.
8853 (package-delete): Remove .signed file.
8854 (package-import-keyring): New command.
8855 (package-refresh-contents): Import default keyring.
8856 (package-desc-status): Add "unsigned" status.
8857 (describe-package-1, package-menu--print-info)
8858 (package-menu-mark-delete, package-menu--find-upgrades)
8859 (package-menu--status-predicate): Support "unsigned" status.
8860
8861 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8862
8863 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8864 the new compilation scheme using the new byte-codes.
8865
8866 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8867 (byte-pophandler): New byte codes.
8868 (byte-goto-ops): Adjust accordingly.
8869 (byte-compile--use-old-handlers): New var.
8870 (byte-compile-catch): Use new byte codes depending on
8871 byte-compile--use-old-handlers.
8872 (byte-compile-condition-case--old): Rename from
8873 byte-compile-condition-case.
8874 (byte-compile-condition-case--new): New function.
8875 (byte-compile-condition-case): New function that dispatches depending
8876 on byte-compile--use-old-handlers.
8877 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8878 when we can.
8879
8880 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8881 Optimize under `condition-case' and `catch' if
8882 byte-compile--use-old-handlers is nil.
8883 (disassemble-offset): Handle new bytecodes.
8884
8885 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8886
8887 * subr.el (error): Use `declare'.
8888 (decode-char, encode-char): Use advertised-calling-convention instead
8889 of the docstring to discourage use of the `restriction' arg.
8890
8891 2013-10-03 Daiki Ueno <ueno@gnu.org>
8892
8893 * epg.el (epg-verify-file): Add a comment saying that it does not
8894 notify verification error as a return value nor a signal.
8895 (epg-verify-string): Ditto.
8896
8897 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8898
8899 * progmodes/compile.el (compilation-start): Try globbing the arg to
8900 `cd' (bug#15417).
8901
8902 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8903
8904 Sync with Tramp 2.2.8.
8905
8906 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8907 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8908 * net/trampver.el: Update release number.
8909
8910 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8911
8912 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8913 and default-process-coding-system for darwin only.
8914
8915 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8916
8917 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8918
8919 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8920
8921 * vc/vc-git.el (vc-git-grep): Disable pager.
8922
8923 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8924
8925 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8926 Use :url instead of :homepage, as per
8927 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8928
8929 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8930 non-nil, use `syntax-ppss' (Bug#15251).
8931
8932 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8933
8934 * progmodes/octave.el (inferior-octave-startup-file):
8935 Prefer ~/.emacs.d/init_octave.m.
8936
8937 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8938
8939 * emacs-lisp/package.el (package-desc-from-define):
8940 Accept additional arguments as plist, convert them to an alist and store
8941 them in the `extras' slot.
8942 (package-generate-description-file): Convert extras alist back to
8943 plist and append to the `define-package' form arguments.
8944 (package--alist-to-plist): New function.
8945 (package--ac-desc): Add `extras' slot.
8946 (package--add-to-archive-contents): Check if the archive-contents
8947 vector is long enough, and if it is, pass its `extras' slot value
8948 to `package-desc-create'.
8949 (package-buffer-info): Call `lm-homepage', pass the returned value
8950 to `package-desc-from-define'.
8951 (describe-package-1): Render the homepage button (Bug#13291).
8952
8953 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8954 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8955
8956 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8957
8958 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8959 and default-process-coding-system to utf-8-unix (Bug#15402).
8960
8961 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8962
8963 * subr.el (looking-back): Do not recommend using looking-back.
8964
8965 2013-09-28 Alan Mackenzie <acm@muc.de>
8966
8967 Fix indentation/fontification of Java enum with "implements".
8968
8969 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8970 regexp which matches "implements", etc., in Java.
8971 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8972 specifier clauses coming after "enum".
8973 * progmodes/cc-fonts.el (c-font-lock-declarations)
8974 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8975 after "enum".
8976
8977 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8978
8979 * faces.el (region): Change ns_selection_color to
8980 ns_selection_fg_color, add ns_selection_bg_color.
8981
8982 2013-09-28 Leo Liu <sdl.web@gmail.com>
8983
8984 * progmodes/octave.el (inferior-octave-completion-table)
8985 (inferior-octave-completion-at-point): Minor tweaks.
8986
8987 * textmodes/ispell.el (ispell-lookup-words): Rename from
8988 lookup-words. (Bug#15460)
8989 (lookup-words): Obsolete.
8990 (ispell-complete-word, ispell-command-loop): All uses changed.
8991
8992 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8993
8994 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8995 (octave-mode-menu): Add octave-send-buffer.
8996 (octave-send-buffer): New function.
8997
8998 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8999
9000 * progmodes/octave.el (octave-mode-map): Add key binding for
9001 octave-lookfor.
9002 (octave-mode-menu): Add octave-lookfor.
9003 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
9004 octave-lookfor.
9005 (octave-lookfor): New function.
9006
9007 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9008
9009 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
9010 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
9011 its convention.
9012 (cl--loop-set-iterator-function): New function.
9013 (cl-loop): Adjust accordingly, so as not to use cl-subst.
9014 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
9015 Bind `it' with `let' instead of substituting it with `cl-subst'.
9016 (cl--unused-var-p): New function.
9017 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
9018 Eliminate some unused variable warnings (bug#15326).
9019
9020 2013-09-27 Tassilo Horn <tsdh@gnu.org>
9021
9022 * doc-view.el (doc-view-scale-reset): Rename from
9023 `doc-view-reset-zoom-level'.
9024 (doc-view-scale-adjust): New command.
9025 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
9026 `doc-view-scale-adjust'.
9027
9028 2013-09-26 Tassilo Horn <tsdh@gnu.org>
9029
9030 * doc-view.el (doc-view-reset-zoom-level): New command.
9031 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
9032 zoom commands (bug#15466).
9033
9034 2013-09-26 Kenichi Handa <handa@gnu.org>
9035
9036 * international/quail.el (quail-help): Make it not a command.
9037
9038 2013-09-26 Leo Liu <sdl.web@gmail.com>
9039
9040 * minibuffer.el (completion-all-sorted-completions): Make args
9041 optional as they are.
9042
9043 2013-09-25 Daniel Colascione <dancol@dancol.org>
9044
9045 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
9046 specs are and that they're not evaluated.
9047
9048 2013-09-24 Sam Steingold <sds@gnu.org>
9049
9050 * midnight.el (clean-buffer-list-kill-regexps)
9051 (clean-buffer-list-kill-buffer-names): Update for the new Man
9052 buffer naming which includes the object name.
9053
9054 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9055
9056 * eshell/esh-cmd.el (eshell--sep-terms): New var.
9057 (eshell-parse-command, eshell-parse-pipeline): Use it since
9058 eshell-separate-commands requires a dynamic scoped var.
9059 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
9060
9061 2013-09-23 Leo Liu <sdl.web@gmail.com>
9062
9063 * autoinsert.el (auto-insert-alist): Make the value of
9064 lexical-binding match its file setting.
9065
9066 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
9067
9068 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
9069
9070 * autoarg.el (autoarg-kp-digit-argument):
9071 * electric.el (Electric-command-loop):
9072 * kmacro.el (kmacro-step-edit-insert):
9073 Do not set universal-argument-num-events.
9074
9075 2013-09-22 Leo Liu <sdl.web@gmail.com>
9076
9077 * files.el (interpreter-mode-alist): Add octave.
9078
9079 2013-09-21 Alan Mackenzie <acm@muc.de>
9080
9081 C++: fontify identifier in declaration following "public:" correctly.
9082 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
9083 to match "public", etc.
9084 (c-decl-prefix-re): Add ":" into the C++ value.
9085 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
9086 bit. Add a check for a ":" preceded by "public", etc.
9087
9088 2013-09-21 Eli Zaretskii <eliz@gnu.org>
9089
9090 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
9091 recognized by GDB 7.5 and later.
9092
9093 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
9094
9095 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
9096
9097 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9098
9099 * subr.el (internal--call-interactively): New const.
9100 (called-interactively-p): Use it (bug#3984).
9101
9102 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
9103
9104 * vc/pcvs.el (cvs-mode-ignore):
9105 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
9106 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
9107
9108 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9109
9110 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
9111 (eshell-ls-orig-insert-directory): Remove.
9112 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
9113 (eshell-ls-use-in-dired): Use advice-add/remove.
9114 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
9115 Add `orig-fun' arg for use in :around advice.
9116 Make it check (redundantly) eshell-ls-use-in-dired.
9117
9118 2013-09-19 Glenn Morris <rgm@gnu.org>
9119
9120 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
9121
9122 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
9123
9124 * emacs-lisp/eieio.el (class-parent): Undo previous change.
9125
9126 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
9127
9128 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
9129 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
9130 (tramp-get-remote-python): New defuns.
9131 (tramp-get-remote-uid-with-perl)
9132 (tramp-get-remote-gid-with-perl): New defuns. Perl code
9133 contributed by yary <not.com@gmail.com> (tiny change).
9134 (tramp-get-remote-uid-with-python)
9135 (tramp-get-remote-gid-with-python): New defuns. Python code
9136 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
9137 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
9138
9139 2013-09-19 Glenn Morris <rgm@gnu.org>
9140
9141 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
9142
9143 * eshell/em-unix.el (eshell-remove-entries):
9144 Rename argument to avoid name-clash with global `top-level'.
9145
9146 * eshell/esh-proc.el (eshell-kill-process-function):
9147 Remove eshell-reset-after-proc from eshell-kill-hook if present.
9148 (eshell-reset-after-proc): Remove unused arg `proc'.
9149
9150 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
9151 (directory-files-and-attributes): Mark unused arg.
9152
9153 * eshell/em-unix.el (eshell-remove-entries):
9154 Remove unused arg `path'. Update callers.
9155
9156 * eshell/em-hist.el (eshell-hist-parse-arguments):
9157 Remove unused arg `silent'. Update callers.
9158
9159 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
9160 Fix (f)boundp mix-up.
9161
9162 * eshell/em-smart.el (eshell-smart-scroll-window)
9163 (eshell-disable-after-change):
9164 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
9165
9166 2013-09-18 Alan Mackenzie <acm@muc.de>
9167
9168 Fix fontification of type when followed by "const".
9169 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
9170 "known" types from fontification.
9171
9172 2013-09-18 Glenn Morris <rgm@gnu.org>
9173
9174 * emacs-lisp/chart.el (x-display-color-cells): Declare.
9175 (chart-face-list): Drop Emacsen without display-color-p.
9176
9177 * net/eww.el (libxml-parse-html-region): Declare.
9178 (eww-display-html): Explicit error if no libxml2 support.
9179
9180 * doc-view.el (doc-view-mode): Silence --without-x compilation.
9181
9182 * image.el (image-type-from-buffer, image-multi-frame-p):
9183 Remove --without-x warning/error.
9184
9185 * mouse.el (mouse-yank-primary):
9186 * term.el (term-mouse-paste):
9187 Reorder to silence --without-x compilation.
9188
9189 * mpc.el (doc-view-mode): Silence --without-x compilation.
9190
9191 * mail/rmailmm.el (rmail-mime-set-bulk-data):
9192 Silence --without-x compilation.
9193
9194 * progmodes/gud.el (gud-find-file, gud-mode):
9195 Silence --without-x compilation.
9196 (tooltip-mode): Declare.
9197
9198 * wdired.el (dired-backup-overwrite): Remove declaration.
9199 (wdired-mode-map): Add doc string.
9200
9201 * custom.el (x-get-resource): Declare.
9202
9203 * eshell/em-glob.el (ange-cache):
9204 * eshell/em-unix.el (ange-cache): Declare.
9205
9206 * faces.el (x-display-list, x-open-connection, x-get-resource):
9207 Declare.
9208
9209 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
9210 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
9211 Declare.
9212
9213 * frame.el (x-display-grayscale-p, x-display-name): Declare.
9214
9215 * net/gnutls.el (gnutls-log-level): Declare.
9216
9217 * net/shr.el (image-size, image-animate): Declare.
9218
9219 * simple.el (font-info): Declare.
9220
9221 * subr.el (x-popup-dialog): Declare.
9222
9223 * term/common-win.el (x-select-enable-primary)
9224 (x-last-selected-text-primary, x-last-selected-text-clipboard):
9225 Declare.
9226
9227 * term/ns-win.el (x-handle-args): Declare.
9228
9229 * term/x-win.el (x-select-enable-clipboard): Declare.
9230
9231 * term/w32-win.el (create-default-fontset): Declare.
9232
9233 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
9234 Declare.
9235
9236 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
9237 (fit-frame-to-buffer): Explicit error if --without-x.
9238 (mouse-autoselect-window-select): Silence compiler.
9239
9240 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9241
9242 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
9243 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
9244 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
9245 * eshell/esh-util.el (eshell-sublist):
9246 Remove unused local variables.
9247
9248 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
9249
9250 * textmodes/two-column.el: Make 2C-split work for --without-x.
9251 (scroll-bar-columns): Autoload.
9252 (top-level): Require fringe when compiling.
9253
9254 2013-09-18 Leo Liu <sdl.web@gmail.com>
9255
9256 * subr.el (add-hook): Robustify to handle closure as well.
9257
9258 2013-09-17 Glenn Morris <rgm@gnu.org>
9259
9260 * simple.el (messages-buffer-mode-map): Unbind "g".
9261
9262 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9263
9264 * help-mode.el (help-mode-finish): Use derived-mode-p.
9265 Remove obsolete highlighting.
9266
9267 * play/life.el (life-mode): Use define-derived-mode. Derive from
9268 special-mode.
9269 (life): Let-bind inhibit-read-only.
9270 (life-setup): Avoid `setq'. Use `life-mode'.
9271
9272 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
9273 which should not be needed any more.
9274 (package-menu-refresh, package-menu-describe-package): Use user-error.
9275
9276 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
9277 (eshell-post-rewrite-command-hook): Make obsolete.
9278 (eshell-parse-command): Simplify.
9279 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
9280 (eshell--cmd): Declare.
9281 (eshell-parse-pipeline): Remove unused var `final-p'.
9282 Pass a dynvar to eshell-post-rewrite-command-hook.
9283 Implement the new eshell-post-rewrite-command-function.
9284 (eshell-invoke-directly): Remove unused arg `input'.
9285 * eshell/esh-io.el (eshell-io-initialize):
9286 Use eshell-post-rewrite-command-function (bug#15399).
9287 (eshell--apply-redirections): Rename from eshell-apply-redirections;
9288 adjust to new calling convention.
9289 (eshell-create-handles): Rename args to avoid clashing with dynvar
9290 `standard-output'.
9291
9292 2013-09-17 Glenn Morris <rgm@gnu.org>
9293
9294 * simple.el (messages-buffer-mode): New major mode.
9295 (messages-buffer): New function.
9296 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
9297 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
9298 (ert-run-test): Use `messages-buffer' function.
9299 (ert--force-message-log-buffer-truncation): Ignore read-only.
9300 * help.el (view-echo-area-messages): Use `messages-buffer' function.
9301 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
9302
9303 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9304
9305 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
9306
9307 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
9308
9309 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9310
9311 * icomplete.el (icomplete-in-buffer): New var.
9312 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
9313 vars and replace them with functions.
9314 (icomplete-minibuffer-setup): Adjust accordingly.
9315 (icomplete--completion-table, icomplete--completion-predicate)
9316 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
9317 New functions.
9318 (icomplete-forward-completions, icomplete-backward-completions)
9319 (icomplete-simple-completing-p, icomplete-exhibit)
9320 (icomplete-completions): Use them.
9321 (icomplete--in-region-buffer): New var.
9322 (icomplete--in-region-setup): New function.
9323 (icomplete-mode): Use it.
9324
9325 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
9326 (bug#15379).
9327 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
9328 return args and options.
9329 (eshell-eval-using-options): Use the new return value of
9330 eshell--do-opts to set the options's vars in their scope.
9331 (eshell--set-option): Rename from eshell-set-option.
9332 Add arg `opt-vals'.
9333 (eshell--process-option): Rename from eshell-process-option.
9334 Add arg `opt-vals'.
9335 (eshell--process-args): Use an `opt-vals' alist to store the options's
9336 values during their processing and return them additionally to the
9337 remaining args.
9338
9339 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
9340
9341 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
9342 continuation character an operator, as far as indentation is
9343 concerned (Bug#15369).
9344
9345 2013-09-15 Martin Rudalics <rudalics@gmx.at>
9346
9347 * window.el (window--state-put-2): Don't process buffer state
9348 when buffer doesn't exist any more (Bug#15382).
9349
9350 2013-09-15 Glenn Morris <rgm@gnu.org>
9351
9352 * eshell/em-unix.el (eshell/rm):
9353 Make -f ignore missing files. (Bug#15373)
9354
9355 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
9356 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
9357 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
9358
9359 2013-09-14 Glenn Morris <rgm@gnu.org>
9360
9361 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
9362
9363 2013-09-13 Glenn Morris <rgm@gnu.org>
9364
9365 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
9366 (dired-guess-default): Make `file' available in the env. (Bug#15363)
9367
9368 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
9369
9370 * frame.el (x-focus-frame): Mark as declared in frame.c.
9371
9372 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9373
9374 * ls-lisp.el: Use advice-add.
9375 (original-insert-directory): Remove.
9376 (ls-lisp--insert-directory): Rename from insert-directory; add
9377 `orig-fun' argument.
9378 (insert-directory): Advise.
9379
9380 2013-09-13 Eli Zaretskii <eliz@gnu.org>
9381
9382 * term.el (term-emulate-terminal): Decode the command string
9383 before passing it to term-command-hook. (Bug#15337)
9384
9385 2013-09-13 Glenn Morris <rgm@gnu.org>
9386
9387 * eshell/esh-util.el (ange-cache): Move declaration earlier.
9388
9389 * eshell/esh-ext.el (eshell-search-path): Declare.
9390
9391 * eshell/em-prompt.el (eshell/pwd): Autoload it.
9392 Otherwise an error occurs if eshell-dirs module not loaded.
9393
9394 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9395
9396 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
9397
9398 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9399 `tramp-check-proper-host'. Check for a valid method name.
9400
9401 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9402 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9403 * net/tramp-sh.el (tramp-maybe-open-connection):
9404 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9405
9406 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9407 also for hash values.
9408
9409 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9410
9411 * term/ns-win.el (parameters): Don't declare as dynamic.
9412 (before-make-frame-hook): Don't add ineffective function.
9413
9414 * eshell/*.el: Use lexical-binding (bug#15231).
9415
9416 2013-09-12 Kenichi Handa <handa@gnu.org>
9417
9418 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9419
9420 2013-09-12 Glenn Morris <rgm@gnu.org>
9421
9422 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9423 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9424
9425 * subr.el (do-after-load-evaluation): Also give compiler warnings
9426 when obsolete files are used (except by obsolete files).
9427
9428 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9429 in the status output, assume `filename' is the first. (Bug#15322)
9430
9431 * vc/vc.el (vc-deduce-fileset): Doc fix.
9432
9433 * calc/calc-help.el (Info-goto-node):
9434 * progmodes/cperl-mode.el (Info-find-node):
9435 * vc/ediff.el (Info-goto-node): Update declarations.
9436
9437 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9438
9439 * vc/vc-bzr.el (vc-compilation-mode): Declare.
9440 (vc-bzr-pull): Require vc-dispatcher.
9441 * vc/vc-git.el (vc-compilation-mode): Declare.
9442 (vc-git-pull): Require vc-dispatcher.
9443
9444 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9445
9446 * progmodes/octave.el (help-button-action): Declare.
9447
9448 * shell.el (shell-directory-tracker): Output error as a message
9449 rather than just returning it as a string.
9450 (shell-process-pushd): Remove useless use of message.
9451
9452 * dframe.el (dframe-timer-fn):
9453 * files.el (dir-locals-read-from-file):
9454 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9455 (mpc-format):
9456 * reveal.el (reveal-post-command):
9457 * saveplace.el (load-save-place-alist-from-file):
9458 * shell.el (shell-resync-dirs):
9459 * w32-common-fns.el (x-get-selection-value):
9460 * emacs-lisp/copyright.el (copyright-find-copyright):
9461 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9462 * emulation/tpu-edt.el (tpu-copy-keyfile):
9463 * play/bubbles.el (bubbles--mark-neighbourhood):
9464 * progmodes/executable.el
9465 (executable-make-buffer-file-executable-if-script-p):
9466 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9467
9468 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9469
9470 Cleanup Eshell to rely less on dynamic scoping.
9471 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9472 last-value, and ext-command here. Bind `args' closer to `body'.
9473 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9474 (eshell--args): Declare new dynamic var.
9475 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
9476 last-value, and ext-command. Pass `args' to `body'.
9477 (eshell-process-args): Bind eshell--args.
9478 (eshell-set-option): Use eshell--args.
9479 * eshell/eshell.el (eshell): Use derived-mode-p.
9480 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9481 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9482 (eshell-glob-function): Declare.
9483 * eshell/esh-util.el: Require cl-lib.
9484 (eshell-read-hosts-file): Avoid add-to-list.
9485 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9486 `err'.
9487 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9488 Declare.
9489 (eshell/diff): Remove unused var `err'.
9490 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9491 `killflag'.
9492 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9493 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9494 first use.
9495 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9496 Move declaration before first use.
9497 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9498 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9499 rely on cl-return.
9500
9501 2013-09-12 Glenn Morris <rgm@gnu.org>
9502
9503 * term/ns-win.el (global-map): Remove binding for ispell-next,
9504 deleted 1999-05-29. (Bug#15357)
9505
9506 2013-09-11 Glenn Morris <rgm@gnu.org>
9507
9508 * echistory.el (electric-command-history): Remove call to deleted func.
9509
9510 * play/landmark.el (landmark-mode): Fix typos.
9511
9512 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9513 Check cvs-sort-ignore-file is bound.
9514
9515 * savehist.el: No need for cl when compiling on Emacs.
9516
9517 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9518
9519 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9520 (bug#15338).
9521 (eshell-self-insert-command, eshell-send-invisible):
9522 Remove unused argument.
9523 (eshell-handle-control-codes): Remove unused var `orig'.
9524 Avoid delete-backward-char.
9525
9526 * files.el (set-auto-mode): Simplify a bit further.
9527
9528 2013-09-11 Glenn Morris <rgm@gnu.org>
9529
9530 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9531 (set-auto-mode): Don't regexp-quote elements.
9532 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9533 * progmodes/cc-mode.el (interpreter-mode-alist):
9534 * progmodes/ruby-mode.el (interpreter-mode-alist):
9535 Revert previous change.
9536
9537 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9538
9539 * play/snake.el (snake-mode):
9540 * play/mpuz.el (mpuz-mode):
9541 * play/landmark.el (lm-mode):
9542 * play/blackbox.el (blackbox-mode):
9543 * play/5x5.el (5x5-mode):
9544 * obsolete/options.el (Edit-options-mode):
9545 * net/quickurl.el (quickurl-list-mode):
9546 * net/newst-treeview.el (newsticker-treeview-mode):
9547 * mail/rmailsum.el (rmail-summary-mode):
9548 * mail/mspools.el (mspools-mode):
9549 * locate.el (locate-mode):
9550 * ibuffer.el (ibuffer-mode):
9551 * emulation/ws-mode.el (wordstar-mode):
9552 * emacs-lisp/debug.el (debugger-mode):
9553 * array.el (array-mode):
9554 * net/eudc.el (eudc-mode): Use define-derived-mode.
9555 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9556 Move initialization into declaration.
9557 (mairix-searches-mode): Use define-derived-mode.
9558 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9559 (eudc-edit-hotlist): Use dolist.
9560 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9561 (Man-mode): Use define-derived-mode.
9562 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9563 (Info-edit-mode): Use define-derived-mode.
9564 (Info-cease-edit): Use Info-mode.
9565 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9566 into declaration.
9567 (eshell-mode): Use define-derived-mode.
9568 * chistory.el (command-history-mode-map): Rename from
9569 command-history-map.
9570 (command-history-mode): Use define-derived-mode.
9571 (Command-history-setup): Remove function.
9572 * calc/calc.el (calc-trail-mode-map): New var.
9573 (calc-trail-mode): Use define-derived-mode.
9574 (calc-trail-buffer): Set calc-main-buffer manually.
9575 * bookmark.el (bookmark-insert-annotation): New function.
9576 (bookmark-edit-annotation): Use it.
9577 (bookmark-edit-annotation-mode): Make it a proper major mode.
9578 (bookmark-send-edited-annotation): Use derived-mode-p.
9579 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9580 closer to its ideal place. Use \' to match EOS.
9581
9582 * profiler.el (profiler-calltree-find): Use function-equal.
9583
9584 2013-09-10 Glenn Morris <rgm@gnu.org>
9585
9586 * files.el (interpreter-mode-alist): Convert to regexps.
9587 (set-auto-mode): Adapt for this. (Bug#15306)
9588 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9589 Comment out unused variable.
9590 * progmodes/cc-mode.el (interpreter-mode-alist):
9591 * progmodes/python.el (interpreter-mode-alist):
9592 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9593 * progmodes/sh-script.el (sh-set-shell):
9594 No longer use interpreter-mode-alist to get list of shells.
9595
9596 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9597
9598 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9599
9600 * simple.el: Use set-temporary-overlay-map for universal-argument.
9601 (universal-argument-map): Don't use default-bindings (bug#15317).
9602 Bind switch-frame explicitly. Replace universal-argument-minus with
9603 a conditional binding.
9604 (universal-argument-num-events, saved-overriding-map): Remove.
9605 (restore-overriding-map): Remove.
9606 (universal-argument--mode): Rename from save&set-overriding-map,
9607 and rewrite.
9608 (universal-argument, universal-argument-more, negative-argument)
9609 (digit-argument): Adjust accordingly.
9610 (universal-argument-minus): Remove.
9611 (universal-argument-other-key): Remove.
9612
9613 * subr.el (with-demoted-errors): Add `format' argument.
9614
9615 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9616
9617 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9618 `tramp-cleanup-connection'.
9619
9620 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9621 parameters KEEP-DEBUG and KEEP-PASSWORD.
9622
9623 * net/tramp.el (tramp-file-name-handler):
9624 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9625 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9626 (tramp-maybe-open-connection):
9627 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9628 Use `tramp-cleanup-connection'.
9629
9630 * net/tramp-sh.el (tramp-maybe-open-connection):
9631 Catch 'uname-changed inside the progress reporter.
9632
9633 2013-09-10 Glenn Morris <rgm@gnu.org>
9634
9635 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9636
9637 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9638 returns "alternate access method" in mode (eg "-rw-r--r--.").
9639
9640 2013-09-08 Glenn Morris <rgm@gnu.org>
9641
9642 * saveplace.el (load-save-place-alist-from-file):
9643 Demote errors. (Bug#15305)
9644
9645 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9646
9647 Improve compatibility with older Emacsen, and XEmacs.
9648
9649 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9650 only if it is bound. It isn't for XEmacs.
9651 (with-tramp-progress-reporter): Do not let-bind `result'.
9652 This yields to scoping errors in XEmacs.
9653 (tramp-handle-make-auto-save-file-name): New function, moved from
9654 tramp-sh.el.
9655
9656 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9657 for `make-auto-save-file-name'.
9658 (tramp-adb--gnu-switches-to-ash):
9659 Use `tramp-compat-replace-regexp-in-string'.
9660
9661 * net/tramp-cache.el (tramp-cache-print): Call
9662 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9663
9664 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9665 bound. It isn't for XEmacs.
9666
9667 * net/tramp-compat.el (tramp-compat-copy-file):
9668 Catch `wrong-number-of-arguments' error.
9669 (tramp-compat-replace-regexp-in-string): New defun.
9670
9671 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9672 for `make-auto-save-file-name'.
9673 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9674 `copy-file'.
9675 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9676 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9677 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9678
9679 * net/tramp-gw.el (tramp-gw-open-network-stream):
9680 Use `tramp-compat-replace-regexp-in-string'.
9681
9682 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9683 Call `tramp-handle-make-auto-save-file-name'.
9684 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9685 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9686 (tramp-sh-file-inotifywait-process-filter):
9687 Use `tramp-compat-replace-regexp-in-string'.
9688 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9689
9690 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9691 for `make-auto-save-file-name'.
9692 (tramp-smb-handle-copy-directory):
9693 Call `tramp-compat-replace-regexp-in-string'.
9694 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9695 (tramp-smb-handle-copy-file): Improve error message.
9696 (tramp-smb-handle-rename-file): Rename directly only in case
9697 `newname' does not exist yet. This is a restriction of smbclient.
9698 (tramp-smb-maybe-open-connection): Rerun the function only when
9699 `auth-sources' is non-nil.
9700
9701 2013-09-08 Kenichi Handa <handa@gnu.org>
9702
9703 * international/characters.el: Set category "^" (Combining) for
9704 more characters.
9705
9706 2013-09-07 Alan Mackenzie <acm@muc.de>
9707
9708 Correctly fontify Java class constructors.
9709 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9710 in Java Mode.
9711 (c-recognize-typeless-decls): Set the Java value to t.
9712 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9713 While handling a "(", add a check for, effectively, Java, and handle a
9714 "typeless" declaration there.
9715
9716 2013-09-07 Roland Winkler <winkler@gnu.org>
9717
9718 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9719 field subtitle for entry type book.
9720
9721 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9722
9723 * minibuffer.el: Make minibuffer-complete call completion-in-region
9724 rather than other way around.
9725 (completion--some, completion-pcm--find-all-completions):
9726 Don't delay signals when debugging.
9727 (minibuffer-completion-contents): Beware fields within the
9728 minibuffer contents.
9729 (completion-all-sorted-completions): Use defvar-local.
9730 (completion--do-completion, completion--cache-all-sorted-completions)
9731 (completion-all-sorted-completions, minibuffer-force-complete):
9732 Add args `beg' and `end'.
9733 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9734 (minibuffer-complete): Use completion-in-region.
9735 (completion-complete-and-exit): New fun, extracted from
9736 minibuffer-complete-and-exit.
9737 (minibuffer-complete-and-exit): Use it.
9738 (completion--complete-and-exit): Rename from
9739 minibuffer--complete-and-exit.
9740 (completion-in-region--single-word): New function, extracted from
9741 minibuffer-complete-word.
9742 (minibuffer-complete-word): Use it.
9743 (display-completion-list): Make `common-substring' argument obsolete.
9744 (completion--in-region): Call completion--in-region-1 instead of
9745 minibuffer-complete.
9746 (completion-help-at-point): Pass boundaries to
9747 minibuffer-completion-help as args rather than via an overlay.
9748 (completion-pcm--string->pattern): Use `any-delim'.
9749 (completion-pcm--optimize-pattern): New function.
9750 (completion-pcm--pattern->regex): Handle `any-delim'.
9751 * icomplete.el (icomplete-forward-completions)
9752 (icomplete-backward-completions, icomplete-completions):
9753 Adjust calls to completion-all-sorted-completions and
9754 completion--cache-all-sorted-completions.
9755 (icomplete-with-completion-tables): Default to t.
9756 * emacs-lisp/crm.el (crm--current-element): Rename from
9757 crm--select-current-element. Don't put an overlay but return the
9758 boundaries instead.
9759 (crm--completion-command): Take two new args to bind to the boundaries.
9760 (crm-completion-help): Adjust accordingly.
9761 (crm-complete): Use completion-in-region.
9762 (crm-complete-word): Use completion-in-region--single-word.
9763 (crm-complete-and-exit): Use completion-complete-and-exit.
9764
9765 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9766
9767 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9768 than dynamically.
9769
9770 2013-09-06 Juri Linkov <juri@jurta.org>
9771
9772 * info.el (Info-display-images-node): When image file doesn't exist
9773 display text version of the image if it's provided in the Info file.
9774 Otherwise, display the location of missing image from SRC attribute.
9775 Add help-echo text property from ALT attribute. (Bug#15279)
9776
9777 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9778
9779 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9780 (edit-abbrevs-mode): Use define-derived-mode.
9781
9782 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9783 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9784 that it's defined.
9785 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9786 Use define-derived-mode.
9787
9788 * epg.el (epg-start-encrypt): Minor CSE simplification.
9789
9790 2013-09-06 William Xu <william.xwl@gmail.com>
9791
9792 * arc-mode.el: Add support for 7za (bug#15264).
9793 (archive-7z-program): New var.
9794 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9795 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9796 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9797
9798 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9799
9800 Remove URL syntax.
9801
9802 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9803 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9804 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9805 (tramp-postfix-host-format, tramp-file-name-regexp)
9806 (tramp-completion-file-name-regexp)
9807 (tramp-completion-dissect-file-name)
9808 (tramp-handle-substitute-in-file-name): Remove 'url case.
9809 (tramp-file-name-regexp-url)
9810 (tramp-completion-file-name-regexp-url): Remove constants.
9811
9812 2013-09-06 Glenn Morris <rgm@gnu.org>
9813
9814 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9815
9816 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9817
9818 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9819 keywords" below "here-doc beginnings" (Bug#15270).
9820
9821 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9822
9823 * subr.el (pop): Use `car-safe'.
9824 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9825 to detect unused `pop' return value.
9826
9827 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9828 var `block-regexp'.
9829 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9830 (python-fill-string): Remove unused var `marker'.
9831 (python-skeleton-add-menu-items): Remove unused var `items'.
9832
9833 * international/mule-cmds.el: Require CL.
9834 (find-coding-systems-for-charsets): Avoid add-to-list.
9835 (sanitize-coding-system-list): New function, extracted from
9836 select-safe-coding-system-interactively.
9837 (select-safe-coding-system-interactively): Use it.
9838 (read-input-method-name): Accept symbols for `default'.
9839
9840 * emacs-lisp/advice.el (defadvice): Add indent rule.
9841
9842 2013-09-05 Daniel Hackney <dan@haxney.org>
9843
9844 * dired-x.el:
9845 * net/ange-ftp.el:
9846 * net/browse-url.el:
9847 * net/dbus.el:
9848 * net/eudc.el:
9849 * net/eudcb-ldap.el:
9850 * net/eww.el:
9851 * net/imap.el:
9852 * printing.el:
9853 * vc/ediff-diff.el:
9854 * vc/ediff-init.el:
9855 * vc/ediff-merg.el:
9856 * vc/ediff-mult.el:
9857 * vc/ediff-util.el:
9858 * vc/ediff-wind.el:
9859 * vc/ediff.el:
9860 * vc/emerge.el:
9861 * vc/pcvs.el:
9862 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9863 byte compiler. Remove some unused let-bound variables.
9864
9865 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9866
9867 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9868 a "ref-cell", since it gets better optimized (bug#14883).
9869
9870 2013-09-05 Glenn Morris <rgm@gnu.org>
9871
9872 * progmodes/cc-awk.el (c-forward-sws): Declare.
9873
9874 2013-09-04 Glenn Morris <rgm@gnu.org>
9875
9876 * generic-x.el [rul-generic-mode]: Require cc-mode.
9877 (c++-mode-syntax-table): Declare.
9878 (rul-generic-mode-syntax-table): Init in the defvar.
9879
9880 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9881
9882 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9883 (vc-do-command, vc-set-async-update):
9884 * vc/vc-mtn.el (vc-mtn-dir-status):
9885 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9886 (vc-hg-pull, vc-hg-merge-branch):
9887 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9888 (vc-git-merge-branch):
9889 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9890 (vc-cvs-dir-status-files):
9891 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9892 (vc-bzr-dir-status-files):
9893 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9894 * vc/vc-annotate.el: Use lexical-binding.
9895 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9896 (vc-sentinel-movepoint): Declare.
9897 (vc-annotate): Don't use `goto-line'.
9898 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9899 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9900 (vc-sentinel-movepoint): Declare.
9901 * vc/vc-svn.el: Use lexical-binding.
9902 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9903 * vc/vc-sccs.el:
9904 * vc/vc-rcs.el: Use lexical-binding.
9905
9906 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9907 `deleted'. Don't drop errors silently.
9908
9909 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9910
9911 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9912
9913 * vc/vc.el (vc-ignore): Rewrite.
9914 (vc-default-ignore): New function.
9915 (vc-default-ignore-completion-table): Use find-ignore-file.
9916
9917 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9918 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9919 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9920 Remove. Most code moved to vc.el.
9921
9922 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9923
9924 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9925 * net/tramp-smb.el (tramp-smb-get-file-entries):
9926 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9927 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9928
9929 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9930 Update call to it.
9931 (eww-change-select): Remove unused var `properties'.
9932 (eww-make-unique-file-name): Remove unused var `base'.
9933
9934 * finder.el (finder-compile-keywords): Don't mess with windows.
9935
9936 * calculator.el (calculator-funcall): Fix typo in last change.
9937
9938 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9939
9940 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9941 <pkg>-autoloads.el file stop us.
9942
9943 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9944 warnings, and factor out common code.
9945
9946 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9947
9948 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9949 two-character operators and whether the character preceding them
9950 changes their meaning (Bug#15208).
9951
9952 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9953
9954 Format code sent to Python shell for robustness.
9955 * progmodes/python.el (python-shell-buffer-substring):
9956 New function.
9957 (python-shell-send-region, python-shell-send-buffer): Use it.
9958
9959 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9960
9961 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9962 * net/tramp.el (tramp-user-error): ... here.
9963 (tramp-find-method, tramp-check-proper-host)
9964 (tramp-dissect-file-name, tramp-debug-message)
9965 (tramp-handle-shell-command):
9966 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9967 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9968
9969 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9970
9971 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9972
9973 * avoid.el (mouse-avoidance-point-position)
9974 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9975 returns nil.
9976
9977 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9978
9979 * progmodes/python.el (python-shell-completion-get-completions):
9980 Drop use of deleted `comint-last-prompt-overlay'.
9981 (python-nav-if-name-main): New command.
9982
9983 2013-09-01 Glenn Morris <rgm@gnu.org>
9984
9985 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9986 Avoid leading space in $wins. Otherwise the sed command used by
9987 eg compile-main ends up containing "/*.el". (Bug#15170)
9988
9989 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9990
9991 2013-08-30 Glenn Morris <rgm@gnu.org>
9992
9993 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9994 Fix is-this-a-directory logic. (Bug#15220)
9995
9996 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9997
9998 * textmodes/css-mode.el: Use SMIE.
9999 (css-smie-grammar): New var.
10000 (css-smie--forward-token, css-smie--backward-token)
10001 (css-smie-rules): New functions.
10002 (css-mode): Use them.
10003 (css-navigation-syntax-table): Remove var.
10004 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
10005 (css-indent-calculate, css-indent-line): Remove functions.
10006
10007 Misc changes to reduce use of `(lambda...); and other cleanups.
10008 * cus-edit.el: Use lexical-binding.
10009 (customize-push-and-save, customize-apropos)
10010 (custom-buffer-create-internal): Use closures.
10011 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
10012 * progmodes/ada-xref.el: Use setq.
10013 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
10014 * dframe.el: Use lexical-binding.
10015 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
10016 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
10017 * descr-text.el: Use lexical-binding.
10018 (describe-text-widget, describe-text-sexp, describe-property-list):
10019 Use closures.
10020 * comint.el (comint-history-isearch-push-state): Use a closure.
10021 * calculator.el: Use lexical-binding.
10022 (calculator-number-to-string): Make it work with lexical-binding.
10023 (calculator-funcall): Same and use cl-letf.
10024
10025 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
10026 (lisp--company-doc-string, lisp--company-location): New functions.
10027 (lisp-completion-at-point): Use them to improve Company support.
10028
10029 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
10030 params of lambda expressions.
10031 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
10032 (ruby-smie--opening-pipe-p): New function.
10033 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
10034 symbols and matched |...| for formal params.
10035 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
10036 from being treated as hanging. Handle "rescue".
10037
10038 2013-08-29 Glenn Morris <rgm@gnu.org>
10039
10040 * progmodes/cc-engine.el (c-pull-open-brace):
10041 Move definition before use.
10042
10043 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10044
10045 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
10046 are immutable. Don't use `unsafe' any more.
10047 (cl--defsubst-expand): Don't substitute at the same time as keeping
10048 a residual unused let-binding. Don't use `unsafe' any more.
10049
10050 2013-08-29 Glenn Morris <rgm@gnu.org>
10051
10052 * calendar/cal-china.el (calendar-chinese-year-cache):
10053 Recenter on 2015.
10054
10055 * nxml/nxml-util.el (nxml-debug-clear-inside):
10056 Use cl-loop rather than loop.
10057
10058 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
10059
10060 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
10061
10062 2013-08-28 Glenn Morris <rgm@gnu.org>
10063
10064 * progmodes/antlr-mode.el: No need to require cc-mode twice.
10065
10066 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
10067
10068 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
10069
10070 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10071
10072 * simple.el (repeat-complex-command--called-interactively-skip):
10073 New function.
10074 (repeat-complex-command): Use it (bug#14136).
10075
10076 * progmodes/cc-mode.el: Minor cleanup of var declarations.
10077 (c-define-abbrev-table): Add `doc' argument.
10078 (c-mode-abbrev-table, c++-mode-abbrev-table)
10079 (objc-mode-abbrev-table, java-mode-abbrev-table)
10080 (idl-mode-abbrev-table, pike-mode-abbrev-table)
10081 (awk-mode-abbrev-table): Use it.
10082 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
10083 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
10084 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
10085 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
10086 Move initialization into the declaration; and remove any
10087 autoload cookie.
10088
10089 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
10090 and dynamic let binding.
10091
10092 * vc/smerge-mode.el: Remove redundant :group args.
10093
10094 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
10095 to load-path.
10096
10097 2013-08-28 Juri Linkov <juri@jurta.org>
10098
10099 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
10100 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
10101 (isearch-other-meta-char): Handle an undefined shifted printing
10102 character by downshifting it. (Bug#15200)
10103
10104 2013-08-28 Juri Linkov <juri@jurta.org>
10105
10106 * isearch.el (isearch-search): Change regexp error message for
10107 non-regexp searches. (Bug#15166)
10108
10109 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
10110
10111 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
10112 for portability to hosts where /bin/sh has problems.
10113
10114 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10115
10116 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
10117
10118 2013-08-27 Juri Linkov <juri@jurta.org>
10119
10120 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
10121 in the keyboard macro. (Bug#15126)
10122
10123 2013-08-27 Juri Linkov <juri@jurta.org>
10124
10125 * isearch.el (isearch-quote-char): Comment out converting unibyte
10126 to multibyte, thus syncing with its `quoted-insert' counterpart.
10127 (Bug#15166)
10128
10129 2013-08-27 Martin Rudalics <rudalics@gmx.at>
10130
10131 * window.el (display-buffer-use-some-window): Add missing
10132 argument in call of get-largest-window (Bug#15185).
10133 Reported by Stephen Leake.
10134
10135 2013-08-27 Glenn Morris <rgm@gnu.org>
10136
10137 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
10138
10139 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
10140
10141 * progmodes/python.el (python-font-lock-keywords): Don't return nil
10142 from a matcher-function unless there's no more matches (bug#15161).
10143
10144 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10145
10146 * minibuffer.el: Revert change from 2013-08-20.
10147
10148 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
10149 with text property `tramp-default', if appropriate.
10150 (tramp-check-proper-host): New defun.
10151 (tramp-dissect-file-name): Do not check hostname. Revert change
10152 of 2013-03-18.
10153 (tramp-backtrace): Make VEC-OR-PROC optional.
10154
10155 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10156 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10157 * net/tramp-sh.el (tramp-maybe-open-connection):
10158 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10159 Apply `tramp-check-proper-host'.
10160
10161 2013-08-26 Tassilo Horn <tsdh@gnu.org>
10162
10163 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
10164 lambda expression in order to have `describe-variable' display it.
10165
10166 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10167
10168 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
10169 BUF can be optional. (Bug#15186)
10170
10171 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
10172
10173 * progmodes/flymake.el (flymake-get-real-file-name-function):
10174 Fix broken customization. (Bug#15184)
10175
10176 2013-08-25 Alan Mackenzie <acm@muc.de>
10177
10178 Improve indentation of bracelists defined by macros (without "=").
10179
10180 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
10181 expansion begins with "{", regard it as bracelist when it doesn't
10182 contain a ";".
10183
10184 Parse C++ inher-intro when there's a template split over 2 lines.
10185
10186 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
10187 rigorously the search for "class" etc. followed by ":".
10188
10189 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
10190 random languages a regexp which never matches rather than nil.
10191
10192 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
10193
10194 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
10195 (c-awk-regexp-one-line-possibly-open-char-list-re)
10196 (c-awk-one-line-possibly-open-regexp-re)
10197 (c-awk-one-line-non-syn-ws*-re): Remove.
10198 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
10199 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
10200 (c-awk-space*-unclosed-regexp-/-re): New constants.
10201 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
10202 aren't regexp delimiters.
10203
10204 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
10205 handling for a rare situation in AWK Mode involving unterminated
10206 strings/regexps.
10207
10208 2013-08-23 Glenn Morris <rgm@gnu.org>
10209
10210 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
10211
10212 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
10213
10214 * files.el (create-file-buffer): If the result would begin with
10215 spaces, prepend a "|" instead of removing them. (Bug#15162)
10216
10217 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10218
10219 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
10220 text-properties (bug#15155).
10221
10222 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
10223 exist any more.
10224 (calc-keypad-redraw): Remove unused var `pad'.
10225 (calc-keypad-press): Remove unused var `menu'.
10226
10227 2013-08-23 Martin Rudalics <rudalics@gmx.at>
10228
10229 * window.el (display-buffer-pop-up-frame):
10230 Call pop-up-frame-function with BUFFER current so `make-frame' will
10231 use it as the new frame's buffer (Bug#15133).
10232
10233 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10234
10235 * calendar/timeclock.el: Minor cleanups.
10236 (timeclock-ask-before-exiting, timeclock-use-display-time):
10237 Use `symbol'.
10238 (timeclock-modeline-display): Define as alias before the
10239 actual definition.
10240 (timeclock-mode-line-display): Use define-minor-mode.
10241 (timeclock-day-list-template): Make it a function, add an argument.
10242 (timeclock-day-list-required, timeclock-day-list-length)
10243 (timeclock-day-list-debt, timeclock-day-list-span)
10244 (timeclock-day-list-break): Adjust calls accordingly.
10245
10246 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
10247
10248 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
10249 Use read--expression so that completion works again.
10250
10251 2013-08-21 Sam Steingold <sds@gnu.org>
10252
10253 Add rudimentary inferior shell interaction
10254 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
10255 (sh-set-shell): Reset it.
10256 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
10257 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
10258
10259 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
10260
10261 * align.el: Use lexical-binding.
10262 (align-region): Simplify accordingly.
10263
10264 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
10265
10266 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
10267
10268 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
10269 `non-essential' up.
10270
10271 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
10272
10273 * net/tramp.el:
10274 * net/tramp-adb.el:
10275 * net/tramp-cmds.el:
10276 * net/tramp-ftp.el:
10277 * net/tramp-gvfs.el:
10278 * net/tramp-gw.el:
10279 * net/tramp-sh.el: Don't wrap external variable declarations by
10280 `eval-when-compile'.
10281
10282 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10283
10284 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
10285 now that Emacs supports ImageMagick animations.
10286
10287 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
10288
10289 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
10290 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
10291
10292 2013-08-16 Martin Rudalics <rudalics@gmx.at>
10293
10294 * window.el (mouse-autoselect-window-select): Do autoselect when
10295 mouse pointer is on margin.
10296
10297 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
10298
10299 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
10300
10301 2013-08-16 Glenn Morris <rgm@gnu.org>
10302
10303 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
10304 Handle "Remote Directory" response of some clients. (Bug#15058)
10305
10306 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
10307 Tweak warning. (Bug#14926)
10308
10309 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
10310 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
10311
10312 * image-mode.el (image-mode-map): Add menu items to reverse,
10313 increase, decrease, reset animation speed.
10314 (image--set-speed, image-increase-speed, image-decrease-speed)
10315 (image-reverse-speed, image-reset-speed): New functions.
10316 (image-mode-map): Add bindings for speed commands.
10317
10318 * image.el (image-animate-get-speed, image-animate-set-speed):
10319 New functions.
10320 (image-animate-timeout): Respect image :speed property.
10321
10322 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10323
10324 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
10325 previous line (bug#15101).
10326 (debugger-eval-expression, debugger-record-expression):
10327 Use read--expression (bug#15102).
10328
10329 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
10330
10331 Remove byte compiler warnings, visible when compiling with
10332 `byte-compile-force-lexical-warnings' set to t.
10333
10334 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
10335 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
10336 (tramp-handle-unhandled-file-name-directory)
10337 (tramp-handle-file-notify-add-watch, tramp-action-login)
10338 (tramp-action-succeed, tramp-action-permission-denied)
10339 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
10340 arguments with "_".
10341
10342 * net/tramp-adb.el (tramp-adb-parse-device-names)
10343 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
10344 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
10345 (tramp-adb-handle-file-truename): Remove unused arguments.
10346
10347 * net/tramp-cache.el (tramp-flush-directory-property)
10348 (tramp-flush-connection-property, tramp-list-connections)
10349 (tramp-parse-connection-properties): Prefix unused arguments with "_".
10350
10351 * net/tramp-compat.el (tramp-compat-make-temp-file):
10352 Rename FILENAME to F.
10353
10354 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10355 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
10356 (tramp-zeroconf-parse-workstation-device-names)
10357 (tramp-zeroconf-parse-webdav-device-names)
10358 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
10359
10360 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10361 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
10362
10363 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
10364 arguments.
10365 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
10366 (tramp-sh-handle-insert-file-contents-literally)
10367 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
10368 with "_".
10369 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
10370 Remove unused variables.
10371
10372 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10373 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10374 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10375
10376 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10377 Make them a defconst.
10378 (tramp-uuencode-region): Remove unused variable.
10379
10380 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
10381
10382 * frameset.el (frameset--prop-setter): New function.
10383 (frameset-prop): Add gv-setter declaration.
10384 (frameset-filter-minibuffer): Deal with the case that the minibuffer
10385 parameter was already set in FILTERED. Doc fix.
10386 (frameset--record-minibuffer-relationships): Allow saving a
10387 minibufferless frame without its corresponding minibuffer frame.
10388 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10389 frame, if the frame id matches.
10390 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10391 frames before orphaned ones.
10392 (frameset-restore): Warn about orphaned windows, instead of error out.
10393
10394 2013-08-14 Martin Rudalics <rudalics@gmx.at>
10395
10396 * window.el (window-make-atom): Don't overwrite parameter
10397 already present.
10398 (display-buffer-in-atom-window): Handle special case where we
10399 split an already atomic window.
10400 (window--major-non-side-window, display-buffer-in-side-window)
10401 (window--side-check): Ignore minibuffer window when walking
10402 window tree.
10403 (window-deletable-p): Return 'frame only if no other frame uses
10404 our minibuffer window.
10405 (record-window-buffer): Run buffer-list-update-hook.
10406 (split-window): Make sure window--check-frame won't destroy an
10407 existing atomic window in case the new window gets nested
10408 inside.
10409 (display-buffer-at-bottom): Ignore minibuffer window when
10410 walking window tree. Don't split a side window.
10411 (pop-to-buffer): Don't set-buffer here, the select-window call
10412 should do that.
10413 (mouse-autoselect-window-select): Autoselect only if we are in the
10414 text portion of the window.
10415
10416 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10417
10418 * net/shr.el (shr-parse-image-data): New function to grab both the
10419 data itself and the Content-Type.
10420 (shr-put-image): Use it.
10421
10422 * net/eww.el (eww-display-image): Ditto.
10423
10424 * image.el (image-content-type-suffixes): New variable.
10425
10426 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10427
10428 * progmodes/python.el (python-imenu--build-tree)
10429 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10430
10431 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
10432
10433 * simple.el (backward-word): Mention the optional argument.
10434
10435 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10436
10437 * frameset.el (frameset--make): Rename constructor from make-frameset.
10438 (frameset-p, frameset-valid-p): Don't autoload.
10439 (frameset-valid-p): Use normal accessors.
10440
10441 2013-08-13 Glenn Morris <rgm@gnu.org>
10442
10443 * progmodes/compile.el (compile-command): Tweak example in doc.
10444 * obsolete/scribe.el (scribe-mode):
10445 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
10446
10447 * mail/feedmail.el (feedmail-confirm-outgoing)
10448 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10449
10450 * cus-start.el (truncate-partial-width-windows): Fix type.
10451
10452 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10453
10454 * net/shr.el (shr-table-horizontal-line): Fix custom type.
10455
10456 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10457
10458 * emacs-lisp/timer.el (timer--time-setter): New function.
10459 (timer--time): Use it as gv-setter.
10460
10461 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10462 setter is not a symbol.
10463
10464 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
10465
10466 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10467 if sending fails. This makes debugging easier.
10468
10469 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
10470
10471 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10472 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10473 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10474
10475 2013-08-12 Eli Zaretskii <eliz@gnu.org>
10476
10477 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10478
10479 2013-08-12 Glenn Morris <rgm@gnu.org>
10480
10481 * format.el (format-annotate-function):
10482 Handle read-only text properties in the source. (Bug#14887)
10483
10484 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10485
10486 * net/eww.el (eww-display-html): Ignore coding system errors.
10487 One web site uses "utf-8lias" as the coding system.
10488
10489 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
10490
10491 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10492
10493 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
10494
10495 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10496 (tutorial--detailed-help): Remove unused local variables.
10497 (tutorial--save-tutorial-to): Use ignore-errors.
10498 (help-with-tutorial): Use looking-at-p.
10499
10500 * view.el (view-buffer-other-window, view-buffer-other-frame):
10501 Mark unused arguments.
10502
10503 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10504 (woman-select-symbol-fonts, woman, woman-find-file)
10505 (woman-insert-file-contents, woman-non-underline-faces):
10506 Use string-match-p.
10507 (woman1-unquote): Move declaration.
10508
10509 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10510 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10511 argument. Remove unused local variable.
10512 (xml-parse-elem-type): Use string-match-p.
10513 (xml-substitute-numeric-entities): Use ignore-errors.
10514
10515 * calculator.el (calculator): Mark unused argument.
10516 (calculator-paste, calculator-quit, calculator-integer-p):
10517 Use ignore-errors.
10518 (calculator-string-to-number, calculator-decimal, calculator-exp)
10519 (calculator-op-or-exp): Use string-match-p.
10520
10521 * dired.el (dired-buffer-more-recently-used-p): Declare.
10522 (dired-insert-set-properties, dired-insert-old-subdirs):
10523 Use ignore-errors.
10524
10525 * dired-aux.el (dired-compress): Use ignore-errors.
10526 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10527 (dired-do-async-shell-command, dired-do-shell-command)
10528 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10529 (dired-insert-subdir-validate): Use string-match-p.
10530 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10531 (dired-add-entry): Use string-match-p, looking-at-p.
10532 (dired-insert-subdir-newpos): Remove unused local variable.
10533
10534 * filenotify.el (file-notify-callback): Remove unused local variable.
10535
10536 * filesets.el (filesets-error): Mark unused argument.
10537 (filesets-which-command-p, filesets-filter-dir-names)
10538 (filesets-directory-files, filesets-get-external-viewer)
10539 (filesets-ingroup-get-data): Use string-match-p.
10540
10541 * find-file.el (ff-other-file-name, ff-other-file-name)
10542 (ff-find-the-other-file, ff-cc-hh-converter):
10543 Remove unused local variables.
10544 (ff-get-file-name): Use string-match-p.
10545 (ff-all-dirs-under): Use ignore-errors.
10546
10547 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10548 (follow-select-if-visible): Remove unused local variable.
10549
10550 * forms.el (read-file-filter): Move declaration.
10551 (forms--make-format, forms--make-parser, forms-insert-record):
10552 Quote function with #'.
10553 (forms--update): Use string-match-p. Quote function with #'.
10554
10555 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10556 (help-make-xrefs): Use looking-at-p.
10557 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10558
10559 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10560 (ibuffer-confirm-operation-on): Use string-match-p.
10561
10562 * msb.el (msb-item-handler, msb-dired-item-handler):
10563 Mark unused arguments.
10564
10565 * ses.el (ses-decode-cell-symbol)
10566 (ses-kill-override): Remove unused local variable.
10567 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10568 (ses-load): Use ignore-errors, looking-at-p.
10569 (ses-jump-safe): Use ignore-errors.
10570 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10571
10572 * tabify.el (untabify, tabify): Mark unused arguments.
10573
10574 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10575 Mark unused argument.
10576 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10577 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10578
10579 * emacs-lisp/timer.el (timer--time): Define setter with
10580 gv-define-setter to avoid deprecation warning.
10581
10582 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10583 (*record-cmpl-statistics-p*): Remove (was commented out).
10584 (cmpl-statistics-block): Remove (body was commented out).
10585 All callers changed.
10586 (add-completions-from-buffer, load-completions-from-file):
10587 Remove unused variables.
10588
10589 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10590
10591 * filecache.el (file-cache-delete-file-list):
10592 Print message only when told so.
10593 (file-cache-files-matching): Use #' in mapconcat argument.
10594
10595 * ffap.el (ffap-url-at-point): Fix reference to variable
10596 thing-at-point-default-mail-uri-scheme.
10597
10598 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10599
10600 * subr.el (define-error): New function.
10601 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10602 error-file-not-found and define with define-error.
10603 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10604 and define with define-error.
10605 * userlock.el (file-locked, file-supersession):
10606 * simple.el (mark-inactive):
10607 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10608 * progmodes/ada-mode.el (ada-mode-errors):
10609 * play/life.el (life-extinct):
10610 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10611 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10612 * nxml/rng-util.el (rng-error):
10613 * nxml/rng-uri.el (rng-uri-error):
10614 * nxml/rng-match.el (rng-compile-error):
10615 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10616 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10617 * nxml/nxml-rap.el (nxml-scan-error):
10618 * nxml/nxml-outln.el (nxml-outline-error):
10619 * net/soap-client.el (soap-error):
10620 * net/gnutls.el (gnutls-error):
10621 * net/ange-ftp.el (ftp-error):
10622 * mpc.el (mpc-proc-error):
10623 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10624 (json-number-format, json-string-escape, json-string-format)
10625 (json-key-format, json-object-format):
10626 * jka-compr.el (compression-error):
10627 * international/quail.el (quail-error):
10628 * international/kkc.el (kkc-error):
10629 * emacs-lisp/ert.el (ert-test-failed):
10630 * calc/calc.el (calc-error, inexact-result, math-overflow)
10631 (math-underflow):
10632 * bookmark.el (bookmark-error-no-filename):
10633 * epg.el (epg-error): Define with define-error.
10634
10635 * time.el (display-time-event-handler)
10636 (display-time-next-load-average): Don't call sit-for since it seems
10637 unnecessary (bug#15045).
10638
10639 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10640 Use #' instead of ' to quote functions.
10641 (checkdoc-output-mode): Use setq-local.
10642 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10643 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10644 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10645 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10646 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10647 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10648 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10649 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10650
10651 * ido.el (ido-completion-help): Fix up compiler warning.
10652
10653 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10654
10655 * frameset.el (frameset-p): Add autoload cookie.
10656 (frameset--jump-to-register): New function, based on code moved from
10657 register.el.
10658 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10659
10660 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10661 (frameset-restore, frameset-save, frameset-session-filter-alist):
10662 Remove declarations.
10663 (register-alist): Doc fix.
10664 (frameset-to-register): Move to frameset.el.
10665 (jump-to-register, describe-register-1): Remove frameset-specific code.
10666
10667 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10668
10669 * allout-widgets.el (allout-widgets-pre-command-business)
10670 (allout-widgets-post-command-business)
10671 (allout-widgets-after-change-handler)
10672 (allout-decorate-item-and-context, allout-set-boundary-marker)
10673 (allout-body-modification-handler)
10674 (allout-graphics-modification-handler): Mark ignored arguments.
10675 (allout-widgets-post-command-business)
10676 (allout-widgets-exposure-change-processor)
10677 (allout-widgets-exposure-undo-processor)
10678 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10679 (allout-parse-item-at-point, allout-decorate-item-guides)
10680 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10681 * allout.el (epa-passphrase-callback-function): Declare.
10682 (allout-overlay-insert-in-front-handler)
10683 (allout-overlay-interior-modification-handler)
10684 (allout-isearch-end-handler, allout-chart-siblings)
10685 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10686 (allout-yank-processing, allout-process-exposed)
10687 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10688 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10689 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10690 (lisp-indent-defform): Mark ignored arguments.
10691 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10692 (calculate-lisp-indent): Remove unused variables.
10693 * international/characters.el (indian-2-column, arabic-2-column)
10694 (tibetan): Mark ignored arguments.
10695 (use-cjk-char-width-table): Mark ignored arguments.
10696 Remove unused variables.
10697 * international/fontset.el (build-default-fontset-data)
10698 (x-compose-font-name, create-fontset-from-fontset-spec):
10699 Mark ignored arguments.
10700 (fontset-plain-name): Remove unused variables.
10701 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10702 (keyboard-coding-system): Mark ignored arguments.
10703 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10704 * help.el (resize-temp-buffer-window):
10705 * window.el (display-buffer-in-major-side-window)
10706 (display-buffer-in-side-window, display-buffer-in-previous-window):
10707 Remove unused variables.
10708 * isearch.el (isearch-forward-symbol):
10709 * version.el (emacs-bzr-version-bzr):
10710 * international/mule-cmds.el (current-language-environment):
10711 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10712 (x-handle-display):
10713 * term/pc-win.el (x-list-fonts, x-display-planes)
10714 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10715 (x-server-version, x-display-screens, x-display-mm-height)
10716 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10717 (x-selection-owner-p, x-own-selection-internal)
10718 (x-disown-selection-internal, x-get-selection-internal)
10719 (msdos-initialize-window-system):
10720 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10721 * term/x-win.el (x-handle-no-bitmap-icon):
10722 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10723 (vc-default-find-file-hook, vc-default-extra-menu):
10724 Mark ignored arguments.
10725
10726 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10727
10728 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10729 break-condition in the context of the debugged code (bug#12685).
10730
10731 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10732
10733 * comint.el:
10734 Do not use an overlay to highlight the last prompt. (Bug#14744)
10735 (comint-mode): Make comint-last-prompt buffer local.
10736 (comint-last-prompt): New variable.
10737 (comint-last-prompt-overlay): Remove. Superseded by
10738 comint-last-prompt.
10739 (comint-snapshot-last-prompt, comint-output-filter):
10740 Use comint-last-prompt.
10741
10742 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10743
10744 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10745 (frameset-save): Check validity of the resulting frameset.
10746
10747 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10748
10749 * ido.el (ido-record-command): Add doc string.
10750
10751 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10752
10753 * frameset.el (frameset): Do not disable creation of the default
10754 frameset-p predicate. Doc fix.
10755 (frameset-valid-p): New function, copied from the old predicate-p.
10756 Add additional checks.
10757 (frameset-restore): Check with frameset-valid-p.
10758 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10759 (frameset-name, frameset-description, frameset-properties)
10760 (frameset-states): Add docstring.
10761 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10762 (frameset-filter-alist): Doc fixes.
10763
10764 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10765
10766 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10767
10768 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10769
10770 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10771 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10772 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10773 (byte-compile-normal-call): Remove obsolescence check.
10774
10775 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10776
10777 * frameset.el (frameset-restore): Doc fix.
10778
10779 * register.el (frameset-frame-id, frameset-frame-with-id)
10780 (frameset-p, frameset-restore, frameset-save): Declare.
10781 (register-alist): Document framesets.
10782 (frameset-session-filter-alist): Declare.
10783 (frameset-to-register): New function.
10784 (jump-to-register): Implement jumping to framesets. Doc fix.
10785 (describe-register-1): Describe framesets.
10786
10787 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10788
10789 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10790
10791 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10792 Use lexical-binding.
10793
10794 * frameset.el (frameset): Use type vector, not list (incompatible
10795 change). Do not declare a new constructor, use the default one.
10796 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10797 `name' and `description', respectively, and add read-only slot
10798 `timestamp'. Doc fixes.
10799 (frameset-copy, frameset-persistent-filter-alist)
10800 (frameset-filter-alist, frameset-switch-to-gui-p)
10801 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10802 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10803 (frameset-filter-iconified, frameset-keep-original-display-p):
10804 Doc fixes.
10805 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10806 Rename from frameset-filter-(save|restore)-param. All callers changed.
10807 Doc fix.
10808 (frameset-p): Adapt to change to vector and be more thorough.
10809 Change arg name to OBJECT. Doc fix.
10810 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10811 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10812 All callers changed.
10813 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10814 All callers changed.
10815 (frameset--record-minibuffer-relationships): Rename from
10816 frameset--process-minibuffer-frames. All callers changed.
10817 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10818 Use new default constructor (again). Doc fix.
10819 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10820 All callers changed.
10821 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10822 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10823 Doc fix.
10824 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10825 PARAMETERS and WINDOW-STATE, respectively.
10826 (frameset-restore): Add new keyword argument PREDICATE.
10827 Reset frameset--target-display to nil. Doc fix.
10828
10829 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10830
10831 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10832 (bat-mode): Use it.
10833 (bat-mode-syntax-table): Mark \n as end-of-comment.
10834 (bat-font-lock-keywords): Remove comment rule.
10835
10836 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10837 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10838
10839 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10840 (byte-compile-callargs-warn): Use `push'.
10841 (byte-compile-arglist-warn): Ignore higher-order "calls".
10842 (byte-compile-file-form-autoload): Use `pcase'.
10843 (byte-compile-function-form): If quoting a symbol, check that it exists.
10844
10845 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10846
10847 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10848 and add a few popular commands found in batch files.
10849 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10850 (dos-mode): Doc fixes.
10851
10852 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10853
10854 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10855 (dos-mode): Use setq-local. Add space after "rem".
10856 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10857 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10858
10859 2013-08-07 Arni Magnusson <arnima@hafro.is>
10860
10861 * progmodes/dos.el: New file.
10862 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10863 dos-mode.
10864
10865 2013-08-06 Glenn Morris <rgm@gnu.org>
10866
10867 * calendar/calendar.el: Add new faces, and day-header-array.
10868 (calendar-weekday-header, calendar-weekend-header)
10869 (calendar-month-header): New faces.
10870 (calendar-day-header-construct): New function.
10871 (calendar-day-header-width): Also :set calendar-day-header-array.
10872 (calendar-american-month-header, calendar-european-month-header)
10873 (calendar-iso-month-header): Use calendar- faces.
10874 (calendar-generate-month):
10875 Use calendar-day-header-array for day headers; apply faces to them.
10876 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10877 (calendar-abbrev-construct): Add optional maxlen argument.
10878 (calendar-day-name-array): Doc fix.
10879 (calendar-day-name-array, calendar-abbrev-length)
10880 (calendar-day-abbrev-array):
10881 Also :set calendar-day-header-array, and maybe redraw.
10882 (calendar-day-header-array): New option. (Bug#15007)
10883 (calendar-font-lock-keywords): Set to nil and make obsolete.
10884 (calendar-day-name): Add option to use header array.
10885
10886 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10887
10888 * net/shr.el (shr-render-td): Remove debugging.
10889 (shr-render-td): Make width computation consistent by defaulting
10890 all zero-width columns to 10 characters. This may not be optimal,
10891 but it's at least consistent.
10892 (shr-make-table-1): Redo last change to fix the real problem in
10893 colspan handling.
10894
10895 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10896
10897 * files.el (cache-long-line-scans):
10898 Make obsolete alias to `cache-long-scans'.
10899
10900 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10901
10902 * frameset.el (frameset, frameset-filter-alist)
10903 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10904 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10905 (frameset-compute-pos): Rename from frameset--compute-pos,
10906 and add docstring.
10907 (frameset-move-onscreen): Use frameset-compute-pos.
10908 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10909
10910 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10911 Fix typos in docstrings.
10912
10913 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10914
10915 * frame.el (get-other-frame): Tiny cleanup.
10916
10917 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10918
10919 * vc/vc.el (vc-default-ignore-completion-table):
10920 Silence byte-compiler warning.
10921
10922 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10923 slot, which can indeed be nil.
10924 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10925 Move entry for `left' from persistent to live filter alist.
10926 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10927 Doc fixes.
10928 (frameset-filter-params): When restoring a frame, copy items added to
10929 `filtered', to avoid unwittingly modifying the original parameters.
10930 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10931 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10932
10933 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10934 to use looking-at-p instead of looking-at. (Bug#15028)
10935
10936 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10937
10938 Revert introduction of isearch-filter-predicates (bug#14714).
10939 Rely on add-function instead.
10940 * isearch.el (isearch-filter-predicates): Rename it back to
10941 isearch-filter-predicate.
10942 (isearch-message-prefix): Use advice-function-mapc and advice
10943 properties to get the isearch-message-prefix.
10944 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10945 instead of run-hook-with-args-until-failure.
10946 (isearch-filter-visible): Not obsolete any more.
10947 * loadup.el: Preload nadvice.
10948 * replace.el (perform-replace): Revert to funcall
10949 instead of run-hook-with-args-until-failure.
10950 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10951 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10952 dired-isearch-filenames-toggle; make it into a proper minor mode.
10953 Use add/remove-function.
10954 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10955 Call the minor-mode rather than add/remove-hook.
10956 (dired-isearch-filter-filenames):
10957 Remove isearch-message-prefix property.
10958 * info.el (Info--search-loop): New function, extracted from Info-search.
10959 Funcall isearch-filter-predicate instead of
10960 run-hook-with-args-until-failure isearch-filter-predicates.
10961 (Info-search): Use it.
10962 (Info-mode): Use isearch-filter-predicate instead of
10963 isearch-filter-predicates.
10964
10965 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10966
10967 Do not call to `selected-window' where it is assumed by default.
10968 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10969 `window-hscroll', `window-width', `window-height', `window-buffer',
10970 `window-frame', `window-start', `window-point', `next-window'
10971 and `window-display-table'.
10972 * abbrev.el (abbrev--default-expand):
10973 * bs.el (bs--show-with-configuration):
10974 * buff-menu.el (Buffer-menu-mouse-select):
10975 * calc/calc.el (calc):
10976 * calendar/calendar.el (calendar-generate-window):
10977 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10978 (diary-make-entry):
10979 * comint.el (send-invisible, comint-dynamic-complete-filename)
10980 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10981 * completion.el (complete):
10982 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10983 * disp-table.el (describe-current-display-table):
10984 * doc-view.el (doc-view-insert-image):
10985 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10986 * ehelp.el (with-electric-help):
10987 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10988 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10989 * emacs-lisp/helper.el (Helper-help-scroller):
10990 * emulation/cua-base.el (cua--post-command-handler-1):
10991 * eshell/esh-mode.el (eshell-output-filter):
10992 * ffap.el (ffap-gnus-wrapper):
10993 * help-macro.el (make-help-screen):
10994 * hilit-chg.el (highlight-compare-buffers):
10995 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10996 * hl-line.el (global-hl-line-highlight):
10997 * icomplete.el (icomplete-simple-completing-p):
10998 * isearch.el (isearch-done):
10999 * jit-lock.el (jit-lock-stealth-fontify):
11000 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
11001 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
11002 * mpc.el (mpc-tagbrowser, mpc):
11003 * net/rcirc.el (rcirc-any-buffer):
11004 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
11005 * play/landmark.el (landmark-max-width, landmark-max-height):
11006 * play/zone.el (zone):
11007 * progmodes/compile.el (compilation-goto-locus):
11008 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
11009 * progmodes/etags.el (find-tag-other-window):
11010 * progmodes/fortran.el (fortran-column-ruler):
11011 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
11012 * progmodes/verilog-mode.el (verilog-point-text):
11013 * reposition.el (reposition-window):
11014 * rot13.el (toggle-rot13-mode):
11015 * server.el (server-switch-buffer):
11016 * shell.el (shell-dynamic-complete-command)
11017 (shell-dynamic-complete-environment-variable):
11018 * simple.el (insert-buffer, set-selective-display)
11019 (delete-completion-window):
11020 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
11021 (speedbar-recenter):
11022 * startup.el (fancy-splash-head):
11023 * textmodes/ispell.el (ispell-command-loop):
11024 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
11025 * tutorial.el (help-with-tutorial):
11026 * vc/add-log.el (add-change-log-entry):
11027 * vc/compare-w.el (compare-windows):
11028 * vc/ediff-help.el (ediff-indent-help-message):
11029 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
11030 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
11031 (ediff-setup-control-frame):
11032 * vc/emerge.el (emerge-position-region):
11033 * vc/pcvs-util.el (cvs-bury-buffer):
11034 * window.el (walk-windows, mouse-autoselect-window-select):
11035 * winner.el (winner-set-conf, winner-undo): Related users changed.
11036
11037 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11038
11039 * frameset.el (frameset--set-id): Doc fix.
11040 (frameset-frame-id, frameset-frame-id-equal-p)
11041 (frameset-locate-frame-id): New functions.
11042 (frameset--process-minibuffer-frames, frameset--reuse-frame)
11043 (frameset-restore): Use them.
11044
11045 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11046
11047 Do not call to `selected-frame' where it is assumed by default.
11048 Affected functions are `raise-frame', `redraw-frame',
11049 `frame-first-window', `frame-terminal' and `delete-frame'.
11050 * calendar/appt.el (appt-disp-window):
11051 * epg.el (epg-wait-for-completion):
11052 * follow.el (follow-delete-other-windows-and-split)
11053 (follow-avoid-tail-recenter):
11054 * international/mule.el (set-terminal-coding-system):
11055 * mail/rmail.el (rmail-mail-return):
11056 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
11057 * progmodes/f90.el (f90-add-imenu-menu):
11058 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
11059 * server.el (server-switch-buffer):
11060 * simple.el (delete-completion-window):
11061 * talk.el (talk):
11062 * term/xterm.el (terminal-init-xterm-modify-other-keys)
11063 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
11064 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
11065 * vc/ediff.el (ediff-documentation): Related users changed.
11066 * frame.el (selected-terminal): Remove the leftover.
11067
11068 2013-08-05 Glenn Morris <rgm@gnu.org>
11069
11070 * calendar/calendar.el (calendar-generate-month):
11071 Fix for calendar-column-width != 1 + calendar-day-digit-width.
11072 (calendar-generate-month, calendar-font-lock-keywords):
11073 Fix for calendar-day-header-width > length of any day name.
11074
11075 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11076
11077 * desktop.el (desktop-clear): Use new name of sort predicate.
11078
11079 * frameset.el (frameset): Add docstring. Move :version property to its
11080 own `version' slot.
11081 (frameset-copy): Rename from copy-frameset.
11082 (frameset-p): Check more thoroughly.
11083 (frameset-prop): Do not check for :version, which is no longer a prop.
11084 (frameset-live-filter-alist, frameset-persistent-filter-alist):
11085 Use new :never value instead of t.
11086 (frameset-filter-alist): Expand and clarify docstring.
11087 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
11088 (frameset-filter-minibuffer, frameset-filter-save-param)
11089 (frameset-filter-restore-param, frameset-filter-iconified):
11090 Add pointer to docstring of frameset-filter-alist.
11091 (frameset-filter-params): Rename filter values to be more meaningful:
11092 :never instead of t, and reverse the meanings of :save and :restore.
11093 (frameset--process-minibuffer-frames): Clarify error message.
11094 (frameset-save): Avoid unnecessary and confusing call to framep.
11095 Use new BOA constructor for framesets.
11096 (frameset--reuse-list): Doc fix.
11097 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
11098 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
11099 (frameset-minibufferless-first-p): Doc fix.
11100 Rename from frameset-sort-frames-for-deletion.
11101 (frameset-restore): Doc fixes. Use new function names.
11102 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11103
11104 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11105
11106 * desktop.el (desktop-restore-forces-onscreen)
11107 (desktop-restore-reuses-frames): Document :keyword constant values.
11108 (desktop-filter-parameters-alist): Remove, now identical to
11109 frameset-filter-alist.
11110 (desktop--filter-tty*): Remove, moved to frameset.el.
11111 (desktop-save-frameset, desktop-restore-frameset):
11112 Do not pass :filters argument.
11113
11114 * frameset.el (frameset-live-filter-alist)
11115 (frameset-persistent-filter-alist): New variables.
11116 (frameset-filter-alist): Use them. Add autoload cookie.
11117 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
11118 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
11119 `frameset--id' (it's supposed to be internal to frameset.el).
11120 (frameset--process-minibuffer-frames): Ditto. Doc fix.
11121 (frameset--initial-params): New function.
11122 (frameset--get-frame): Use it. Doc fix.
11123 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
11124 Accept :all, not 'all.
11125 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
11126 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
11127 with fbound symbols. Fix frame id matching, and remove matching ids if
11128 the frame being restored is deleted. Obey :delete.
11129
11130 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11131
11132 * subr.el (macrop): New function.
11133 (text-clone--maintaining): New var.
11134 (text-clone--maintain): Rename from text-clone-maintain. Use it
11135 instead of inhibit-modification-hooks.
11136
11137 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
11138 a proxy, so as handle autoloads and redefinitions of the target.
11139 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
11140
11141 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
11142 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
11143 (pcase--mutually-exclusive-p): New function.
11144 (pcase--split-consp): Use it.
11145 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
11146 mutually exclusive with the current predicate.
11147
11148 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
11149 (edebug-macrop): Remove. Use `macrop' instead.
11150 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
11151 (ad-macro-p):
11152 * eshell/esh-cmd.el (eshell-macrop):
11153 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
11154
11155 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11156
11157 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
11158 (advice-mapc): New function, using it.
11159 (advice-function-member-p): New function.
11160 (advice--normalize): Store the cdr in advice--saved-rewrite since
11161 that's the part that will be changed.
11162 (advice--symbol-function): New function.
11163 (advice-remove): Handle removal before the function is defined.
11164 Adjust to new advice--saved-rewrite.
11165 (advice-member-p): Use advice-function-member-p and
11166 advice--symbol-function.
11167
11168 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11169
11170 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
11171 (frameset-filter-minibuffer): Doc fix.
11172 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
11173 (frameset--set-id, frameset--process-minibuffer-frames)
11174 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
11175 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
11176
11177 * desktop.el (desktop-clear): Only delete frames when called
11178 interactively and desktop-restore-frames is non-nil. Doc fix.
11179 (desktop-read): Set desktop-saved-frameset to nil.
11180
11181 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
11182
11183 * vc/vc.el (vc-ignore): Rewrite.
11184 (vc-default-ignore-completion-table, vc--read-lines)
11185 (vc--add-line, vc--remove-regexp): New functions.
11186
11187 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
11188 (vc-svn-ignore-completion-table): New function.
11189
11190 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
11191 (vc-hg-ignore-completion-table)
11192 (vc-hg-find-ignore-file): New functions.
11193
11194 * vc/vc-git.el (vc-git-ignore): Rewrite.
11195 (vc-git-ignore-completion-table)
11196 (vc-git-find-ignore-file): New functions.
11197
11198 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
11199
11200 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
11201 (vc-bzr-ignore-completion-table)
11202 (vc-bzr-find-ignore-file): New functions.
11203
11204 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
11205
11206 * frameset.el (frameset-prop): New function and setter.
11207 (frameset-save): Do not modify frame list passed by the caller.
11208
11209 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11210
11211 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
11212
11213 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
11214
11215 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
11216 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
11217
11218 * custom.el (custom-initialize-default, custom-initialize-set)
11219 (custom-initialize-reset, custom-initialize-changed): Affect the
11220 toplevel-default-value (bug#6275, bug#14586).
11221 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
11222 for bug#6275.
11223
11224 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11225
11226 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11227 Add cl-def* expressions.
11228
11229 * frameset.el (frameset-filter-params): Fix order of arguments.
11230
11231 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11232
11233 Move code related to saving frames to frameset.el.
11234 * desktop.el: Require frameset.
11235 (desktop-restore-frames): Doc fix.
11236 (desktop-restore-reuses-frames): Rename from
11237 desktop-restoring-reuses-frames.
11238 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
11239 (desktop-clear): Clear frames too.
11240 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
11241 (desktop--filter-tty*, desktop-save, desktop-read):
11242 Use frameset functions.
11243 (desktop-before-saving-frames-functions, desktop--filter-*-color)
11244 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11245 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
11246 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
11247 (desktop--process-minibuffer-frames, desktop-save-frames)
11248 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
11249 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
11250 (desktop--sort-states, desktop-restoring-frames-p)
11251 (desktop-restore-frames): Remove. Most code moved to frameset.el.
11252 (desktop-restoring-frameset-p, desktop-restore-frameset)
11253 (desktop--check-dont-save, desktop-save-frameset): New functions.
11254 (desktop--app-id): New constant.
11255 (desktop-first-buffer, desktop-buffer-ok-count)
11256 (desktop-buffer-fail-count): Move before first use.
11257 * frameset.el: New file.
11258
11259 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11260
11261 * files.el: Use lexical-binding.
11262 (dir-locals-read-from-file): Remove unused `err' variable.
11263 (hack-dir-local-variables--warned-coding): New var.
11264 (hack-dir-local-variables): Use it to avoid repeated warnings.
11265 (make-backup-file-name--default-function): New function.
11266 (make-backup-file-name-function): Use it as default.
11267 (buffer-stale--default-function): New function.
11268 (buffer-stale-function): Use it as default.
11269 (revert-buffer-insert-file-contents--default-function): New function.
11270 (revert-buffer-insert-file-contents-function): Use it as default.
11271 (insert-directory): Avoid add-to-list.
11272
11273 * autorevert.el (auto-revert-handler): Simplify.
11274 Use buffer-stale--default-function.
11275
11276 2013-08-01 Tassilo Horn <tsdh@gnu.org>
11277
11278 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
11279
11280 * whitespace.el (whitespace-ensure-local-variables): New function.
11281 (whitespace-cleanup-region): Call it.
11282 (whitespace-turn-on): Call it.
11283
11284 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
11285
11286 Complete file name handlers.
11287
11288 * net/tramp.el (tramp-handle-set-visited-file-modtime)
11289 (tramp-handle-verify-visited-file-modtime)
11290 (tramp-handle-file-notify-rm-watch): New functions.
11291 (tramp-call-process): Do not bind `default-directory'.
11292
11293 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11294 Order alphabetically.
11295 <access-file, add-name-to-file, dired-call-process>:
11296 <dired-compress-file, file-acl, file-notify-rm-watch>:
11297 <file-ownership-preserved-p, file-selinux-context>:
11298 <make-directory-internal, make-symbolic-link, set-file-acl>:
11299 <set-file-selinux-context, set-visited-file-modtime>:
11300 <verify-visited-file-modtime>: Add handler.
11301 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
11302
11303 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11304 <file-notify-add-watch, file-notify-rm-watch>:
11305 <set-file-times, set-visited-file-modtime>:
11306 <verify-visited-file-modtime>: Add handler.
11307 (with-tramp-gvfs-error-message)
11308 (tramp-gvfs-handle-set-visited-file-modtime)
11309 (tramp-gvfs-fuse-file-name): Remove.
11310 (tramp-gvfs-handle-file-notify-add-watch)
11311 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
11312 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
11313
11314 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11315 Order alphabetically.
11316 <file-notify-rm-watch>: Use default Tramp handler.
11317 <executable-find>: Remove private handler.
11318 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
11319 `default-directory'.
11320 (tramp-sh-handle-executable-find)
11321 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
11322 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11323 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
11324 Do not use `format' in `tramp-message'.
11325
11326 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
11327 <file-notify-rm-watch, set-visited-file-modtime>:
11328 <verify-visited-file-modtime>: Add handler.
11329 (tramp-smb-call-winexe): Do not bind `default-directory'.
11330
11331 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
11332
11333 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
11334
11335 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
11336
11337 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
11338 use it.
11339 (log-view-diff-changeset): Same.
11340 (log-view-diff-common): Call backend command `previous-revision'
11341 to find out the previous revision, in both cases. Swap the
11342 variables `to' and `fr', so that `fr' usually refers to the
11343 earlier revision (Bug#14989).
11344
11345 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
11346
11347 * ibuf-ext.el (ibuffer-filter-by-filename):
11348 Make it work with dired buffers too.
11349
11350 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
11351
11352 * emacs-lisp/re-builder.el (reb-color-display-p):
11353 * files.el (save-buffers-kill-terminal):
11354 * net/browse-url.el (browse-url):
11355 * server.el (server-save-buffers-kill-terminal):
11356 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
11357 Prefer nil to selected-frame for the first arg of frame-parameter.
11358
11359 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
11360
11361 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
11362
11363 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
11364
11365 * minibuffer.el (completion--twq-all): Try and preserve each
11366 completion's case choice (bug#14907).
11367
11368 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11369
11370 * net/network-stream.el (open-network-stream): Mention the new
11371 :nogreeting parameter.
11372 (network-stream-open-starttls): Use the :nogreeting parameter
11373 (bug#14938).
11374
11375 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11376
11377 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11378 more natural than popping.
11379
11380 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
11381 (shr-urlify): Highlight under mouse.
11382
11383 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11384
11385 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11386
11387 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11388
11389 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
11390 buffer for output.
11391
11392 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
11393 point-min==1. Fix search string. Fix parentheses missing.
11394
11395 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
11396 assume point-min==1. Fix search string. Fix parentheses missing.
11397
11398 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11399
11400 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
11401 buffer for output.
11402
11403 2013-07-29 Eli Zaretskii <eliz@gnu.org>
11404
11405 * frame.el (frame-notice-user-settings): Avoid inflooping when the
11406 initial frame is minibuffer-less. (Bug#14841)
11407
11408 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
11409
11410 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11411 option.
11412
11413 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11414 (tramp-maybe-open-connection): Use it.
11415
11416 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11417
11418 * desktop.el (desktop--make-frame): Include `minibuffer' in the
11419 minimal set of parameters passed when creating a frame, because
11420 the minibuffer status of a frame cannot be changed later.
11421
11422 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
11423
11424 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11425 replace-regexp-in-string and inadvertent omissions in previous change.
11426 (todo-filter-items): Ensure only file names are comma-separated in
11427 name of filtered items buffer.
11428
11429 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11430
11431 * desktop.el: Optionally force offscreen frames back onscreen.
11432 (desktop-restoring-reuses-frames): New option.
11433 (desktop--compute-pos, desktop--move-onscreen): New functions.
11434 (desktop--make-frame): Use desktop--move-onscreen.
11435
11436 2013-07-27 Alan Mackenzie <acm@muc.de>
11437
11438 Fontify a Java generic method as a function.
11439 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11440 value to t.
11441
11442 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
11443
11444 * calendar/todo-mode.el: Add command to rename todo files.
11445 (todo-rename-file): New command.
11446 (todo-key-bindings-t): Add key binding for it. Change the
11447 bindings of todo-filter-regexp-items(-multifile) to use `x'
11448 instead of `r', since the latter is better suited to the new
11449 renaming command.
11450
11451 2013-07-27 Alan Mackenzie <acm@muc.de>
11452
11453 Make Java try-with-resources statement parse properly.
11454 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11455 (c-block-stmt-1-2-key): New language constants/variables.
11456 * progmodes/cc-engine.el (c-beginning-of-statement-1)
11457 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11458 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11459 with c-block-stmt-1-2-key.
11460
11461 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
11462
11463 * desktop.el (desktop--make-frame): Apply most frame parameters after
11464 creating the frame to force (partially or totally) offscreen frames to
11465 be restored as such.
11466
11467 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
11468
11469 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11470 (Bug#14948)
11471
11472 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11473
11474 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11475 `base' arg of backtrace-frame.
11476
11477 2013-07-26 Eli Zaretskii <eliz@gnu.org>
11478
11479 * simple.el (list-processes): Doc fix.
11480
11481 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11482
11483 * desktop.el (desktop--select-frame):
11484 Try harder to reuse existing frames.
11485
11486 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11487
11488 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11489 (edebug-eval): Use backtrace-eval.
11490 (edebug--display, edebug--recursive-edit): Don't let-bind the
11491 edebug-outer-* vars that keep track of variables we locally let-bind.
11492 (edebug-outside-excursion): Don't restore outside values of locally
11493 let-bound vars.
11494 (edebug--display): Use user-error.
11495 (cl-lexical-debug, cl-debug-env): Remove.
11496
11497 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11498
11499 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11500 are restored to be sure that they are visible before deleting any
11501 remaining ones.
11502
11503 2013-07-26 Matthias Meulien <orontee@gmail.com>
11504
11505 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11506 vc-print-root-log. (Bug#14948)
11507
11508 2013-07-26 Richard Stallman <rms@gnu.org>
11509
11510 Add aliases for encrypting mail.
11511 * epa.el (epa-mail-aliases): New option.
11512 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11513 Bind inhibit-read-only so read-only text doesn't ruin everything.
11514 (epa-mail-default-recipients): New subroutine broken out.
11515 Handle epa-mail-aliases.
11516
11517 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11518
11519 Add support for lexical variables to the debugger's `e' command.
11520 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11521 vars, except for debugger-outer-match-data.
11522 (debugger-frame-number): Move check for "on a function call" from
11523 callers into it. Add `skip-base' argument.
11524 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11525 (debugger-env-macro): Only reset the state stored in non-variables,
11526 i.e. current-buffer and match-data.
11527 (debugger-eval-expression): Rewrite using backtrace-eval.
11528 * subr.el (internal--called-interactively-p--get-frame): Remove.
11529 (called-interactively-p):
11530 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11531 `base' arg of backtrace-frame instead.
11532
11533 2013-07-26 Glenn Morris <rgm@gnu.org>
11534
11535 * align.el (align-regexp): Doc fix. (Bug#14857)
11536 (align-region): Explicit error if subexpression missing/does not match.
11537
11538 * simple.el (global-visual-line-mode):
11539 Do not duplicate the mode lighter. (Bug#14858)
11540
11541 2013-07-25 Martin Rudalics <rudalics@gmx.at>
11542
11543 * window.el (display-buffer): In display-buffer bind
11544 split-window-keep-point to t, bug#14829.
11545
11546 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11547
11548 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11549 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11550 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11551 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11552 Change accordingly.
11553 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11554 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11555
11556 2013-07-25 Glenn Morris <rgm@gnu.org>
11557
11558 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11559
11560 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11561
11562 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11563 parameter to modify-frame-parameters if the value has not changed;
11564 this is a workaround for bug#14949.
11565 (desktop--make-frame): On cl-delete-if call, check parameter name,
11566 not full parameter.
11567
11568 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11569
11570 * vc/vc.el (vc-ignore): New function.
11571
11572 * vc/vc-svn.el (vc-svn-ignore): New function.
11573
11574 * vc/vc-hg.el (vc-hg-ignore): New function.
11575
11576 * vc/vc-git.el (vc-git-ignore): New function.
11577
11578 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11579 (vc-dir-ignore): New function.
11580
11581 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11582 (cvs-append-to-ignore): Move here from pcvs.el.
11583
11584 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11585
11586 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11587
11588 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11589
11590 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11591 (desktop-restore-frames): Warn when deleting an existing frame failed.
11592
11593 2013-07-24 Glenn Morris <rgm@gnu.org>
11594
11595 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11596
11597 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11598
11599 * filenotify.el (file-notify-supported-p):
11600 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11601 Remove functions.
11602
11603 * autorevert.el (auto-revert-use-notify)
11604 (auto-revert-notify-add-watch):
11605 * net/tramp.el (tramp-file-name-for-operation):
11606 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11607 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11608 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11609 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11610 Remove `file-notify-supported-p' entry.
11611
11612 2013-07-24 Glenn Morris <rgm@gnu.org>
11613
11614 * printing.el: Replace all uses of deleted ps-windows-system,
11615 ps-lp-system, ps-flatten-list with lpr- versions.
11616
11617 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11618
11619 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11620 checked with memq (bug#14935).
11621
11622 * files.el (revert-buffer-function): Use a non-nil default.
11623 (revert-buffer-preserve-modes): Declare var to
11624 provide access to the `preserve-modes' argument.
11625 (revert-buffer): Let-bind it.
11626 (revert-buffer--default): New function, extracted from revert-buffer.
11627
11628 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11629
11630 * lpr.el: Signal print errors more prominently.
11631 (print-region-function): Don't default to nil.
11632 (lpr-print-region): New function, extracted from print-region-1.
11633 Check lpr's return value and signal an error in case of problem.
11634 (print-region-1): Use it.
11635 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11636 versions instead.
11637 (ps-printer-name): Default to nil.
11638 (ps-printer-name-option): Default to lpr-printer-switch.
11639 (ps-print-region-function): Don't default to nil.
11640 (ps-postscript-code-directory): Simplify default.
11641 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11642 (ps-string-list, ps-eval-switch, ps-flatten-list)
11643 (ps-flatten-list-1): Remove.
11644 (ps-multibyte-buffer): Avoid setq.
11645 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11646 (print-region-function, ps-print-region-function): Don't set them here.
11647
11648 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11649
11650 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11651 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11652 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11653 (ido-decorations): Doc fix.
11654
11655 * ansi-color.el: Fix old URL.
11656
11657 2013-07-23 Michael R. Mauger <michael@mauger.com>
11658
11659 * progmodes/sql.el: Version 3.3
11660 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11661 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11662 (sql-interactive-remove-continuation-prompt): Rewrite, use
11663 functions above. Fix continuation prompt and complete output line
11664 handling.
11665 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11666 redirected output buffer.
11667 (sql-mode): Restore deleted code (Bug#13591).
11668
11669 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11670
11671 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11672
11673 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11674
11675 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11676
11677 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11678 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11679 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11680
11681 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11682
11683 * desktop.el (desktop-clear): Simplify; remove useless checks
11684 against invalid buffer names.
11685 (desktop-list*): Use cl-list*.
11686 (desktop-buffer-info, desktop-create-buffer): Simplify.
11687
11688 2013-07-23 Leo Liu <sdl.web@gmail.com>
11689
11690 * bookmark.el (bookmark-make-record): Restore NAME as a default
11691 value. (Bug#14933)
11692
11693 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11694
11695 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11696 extracted from autoload--insert-text.
11697 (autoload--insert-text): Remove.
11698 (autoload--print-cookie-text): New function, extracted from
11699 autoload--insert-cookie-text.
11700 (autoload--insert-cookie-text): Remove.
11701 (autoload-generate-file-autoloads): Adjust calls accordingly.
11702
11703 * winner.el (winner-hook-installed-p): Remove.
11704 (winner-mode): Simplify accordingly.
11705
11706 * subr.el (add-to-list): Fix compiler-macro when `append' is
11707 not constant. Don't use `cl-member' for the base case.
11708
11709 * progmodes/subword.el: Fix boundary case (bug#13758).
11710 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11711 own group.
11712 (subword-backward-regexp): Make it a constant.
11713 (subword-forward-internal): Don't treat a trailing capital as the
11714 beginning of a word.
11715
11716 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11717
11718 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11719 global value of tabulated-list-revert-hook (bug#14930).
11720
11721 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11722
11723 * desktop.el: Require 'cl-lib.
11724 (desktop-before-saving-frames-functions): New hook.
11725 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11726 for frames being saved. Rename from desktop--save-minibuffer-frames.
11727 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11728 Do not save frames with non-nil `desktop-dont-save' parameter.
11729 Filter out deleted frames.
11730 (desktop--find-frame): Use cl-find-if.
11731 (desktop--select-frame): Use cl-(first|second|third) to access values
11732 of desktop-mini.
11733 (desktop--make-frame): Use cl-delete-if.
11734 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11735 (desktop-restore-frames): Use cl-(first|second|third) to access values
11736 of desktop-mini. Look for visible frame at the end, not while
11737 restoring frames.
11738
11739 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11740 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11741 Use string-match-p, looking-at-p (bug#14927).
11742
11743 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11744
11745 * desktop.el (desktop-saved-frame-states):
11746 Rename from desktop--saved-states; all users changed.
11747 (desktop-save-frames): Rename from desktop--save-frames.
11748 Do not save state to desktop file.
11749 (desktop-save): Save desktop-saved-frame-states to desktop file
11750 and reset to nil.
11751 (desktop-restoring-frames-p): New function.
11752 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11753 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11754 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11755
11756 * desktop.el: Correctly restore iconified frames.
11757 (desktop--filter-iconified-position): New function.
11758 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11759
11760 2013-07-20 Glenn Morris <rgm@gnu.org>
11761
11762 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11763 Let `message' do the formatting.
11764 (def-gdb-preempt-display-buffer): Add explicit format.
11765
11766 * image-dired.el (image-dired-track-original-file):
11767 Use with-current-buffer.
11768 (image-dired-track-thumbnail): Use with-current-buffer.
11769 Avoid changing point of wrong window.
11770
11771 * image-dired.el (image-dired-track-original-file):
11772 Avoid changing point of wrong window. (Bug#14909)
11773
11774 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11775
11776 * progmodes/gdb-mi.el (gdb-done-or-error):
11777 Guard against "%" in gdb output. (Bug#14127)
11778
11779 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11780
11781 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11782 (Bug#14826)
11783
11784 * international/mule.el (coding-system-iso-2022-flags): Fix last
11785 change.
11786
11787 2013-07-20 Kenichi Handa <handa@gnu.org>
11788
11789 * international/mule.el (coding-system-iso-2022-flags):
11790 Add `8-bit-level-4'. (Bug#8522)
11791
11792 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11793
11794 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11795 (bug#14815).
11796
11797 * net/eww.el (eww-process-text-input): Allow inputting when the
11798 point is at the start of the line, as the properties aren't
11799 front-sticky.
11800
11801 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11802 degenerate widths.
11803
11804 2013-07-19 Richard Stallman <rms@gnu.org>
11805
11806 * epa.el (epa-popup-info-window): Doc fix.
11807
11808 * subr.el (split-string): New arg TRIM.
11809
11810 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11811
11812 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11813 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11814
11815 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11816
11817 * filenotify.el (file-notify--library): Rename from
11818 `file-notify-support'. Do not autoload. Adapt all uses.
11819 (file-notify-supported-p): New defun.
11820
11821 * autorevert.el (auto-revert-use-notify):
11822 Use `file-notify-supported-p' instead of `file-notify-support'.
11823 Adapt docstring.
11824 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11825
11826 * net/tramp.el (tramp-file-name-for-operation):
11827 Add `file-notify-supported-p'.
11828
11829 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11830 New defun.
11831 (tramp-sh-file-name-handler-alist): Add it as handler for
11832 `file-notify-supported-p '.
11833
11834 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11835 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11836 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11837 Add `ignore' as handler for `file-notify-*' functions.
11838
11839 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11840
11841 * simple.el (line-move-partial, line-move): Don't start vscroll or
11842 scroll-up if the current line is not taller than the window.
11843 (Bug#14881)
11844
11845 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11846
11847 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11848 highlight question marks in the method names as strings.
11849 (ruby-block-beg-keywords): Inline.
11850 (ruby-font-lock-keyword-beg-re): Extract from
11851 `ruby-font-lock-keywords'.
11852
11853 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11854
11855 * frame.el (blink-cursor-blinks): New defcustom.
11856 (blink-cursor-blinks-done): New defvar.
11857 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11858 (blink-cursor-timer-function): Check if number of blinks has been
11859 done on X and NS.
11860 (blink-cursor-suspend, blink-cursor-check): New defuns.
11861
11862 2013-07-15 Glenn Morris <rgm@gnu.org>
11863
11864 * edmacro.el (edmacro-format-keys): Fix previous change.
11865
11866 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11867
11868 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11869 The hack didn't work outside English locales anyway.
11870
11871 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11872
11873 * simple.el (define-alternatives): Rename from alternatives-define,
11874 per RMS' suggestion.
11875
11876 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11877
11878 * desktop.el (desktop-restore-frames): Change default to t.
11879 (desktop-restore-in-current-display): Now offer more options.
11880 (desktop-restoring-reuses-frames): New customization option.
11881 (desktop--saved-states): Doc fix.
11882 (desktop-filter-parameters-alist): New variable, renamed and expanded
11883 from desktop--excluded-frame-parameters.
11884 (desktop--target-display): New variable.
11885 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11886 (desktop--filter-tty*, desktop--filter-*-color)
11887 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11888 (desktop--filter-save-desktop-parm)
11889 (desktop-restore-in-original-display-p): New functions.
11890 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11891 (desktop--save-minibuffer-frames): New function, inspired by a similar
11892 function from Martin Rudalics.
11893 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11894 (desktop--restore-in-this-display-p): Remove.
11895 (desktop--find-frame): Rename from desktop--find-frame-in-display
11896 and add predicate argument.
11897 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11898 (desktop--reuse-list): New variable.
11899 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11900 New functions.
11901 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11902
11903 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11904
11905 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11906
11907 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11908
11909 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11910 Highlight conversion methods on Kernel.
11911
11912 2013-07-13 Alan Mackenzie <acm@muc.de>
11913
11914 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11915 and comment it out. This out-commenting enables certain C++
11916 declarations to be parsed correctly.
11917
11918 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11919
11920 * international/mule.el (define-coding-system): Doc fix.
11921
11922 * simple.el (default-font-height): Don't call font-info if the
11923 frame's default font didn't change since the frame was created.
11924 (Bug#14838)
11925
11926 2013-07-13 Leo Liu <sdl.web@gmail.com>
11927
11928 * ido.el (ido-read-file-name): Guard against non-symbol value.
11929
11930 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11931
11932 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11933 in nested defuns.
11934
11935 2013-07-13 Leo Liu <sdl.web@gmail.com>
11936
11937 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11938 ido-set-matches call. (Bug#6852)
11939
11940 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11941
11942 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11943 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11944 Ruby 2.0.
11945 (ruby-font-lock-keywords): Distinguish calls to functions with
11946 module-like names from module references. Highlight character
11947 literals.
11948
11949 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11950
11951 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11952 (gdb-send): Handle continued commands. (Bug#14847)
11953
11954 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11955
11956 * desktop.el (desktop--v2s): Remove unused local variable.
11957 (desktop-save-buffer): Make defvar-local; adjust docstring.
11958 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11959 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11960
11961 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11962
11963 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11964
11965 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11966
11967 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11968 (Bug#14842)
11969
11970 2013-07-12 Glenn Morris <rgm@gnu.org>
11971
11972 * doc-view.el: Require cl-lib at runtime too.
11973 (doc-view-remove-if): Remove.
11974 (doc-view-search-next-match, doc-view-search-previous-match):
11975 Use cl-remove-if.
11976
11977 * edmacro.el: Require cl-lib at runtime too.
11978 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11979 (edmacro-mismatch, edmacro-subseq): Remove.
11980
11981 * shadowfile.el: Require cl-lib.
11982 (shadow-remove-if): Remove.
11983 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11984 Use cl-remove-if.
11985
11986 * wid-edit.el: Require cl-lib.
11987 (widget-choose): Use cl-remove-if.
11988 (widget-remove-if): Remove.
11989
11990 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11991 (ebrowse-delete-if-not): Remove.
11992 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11993 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11994 Use cl-delete-if-not.
11995
11996 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11997
11998 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11999 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
12000
12001 2013-07-12 Leo Liu <sdl.web@gmail.com>
12002
12003 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
12004
12005 2013-07-11 Glenn Morris <rgm@gnu.org>
12006
12007 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
12008 (edebug-gensym-index, edebug-gensym):
12009 Remove reimplementation of cl-gensym.
12010 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
12011
12012 * thumbs.el: Require cl-lib at run-time too.
12013 (thumbs-gensym-counter, thumbs-gensym):
12014 Remove reimplementation of cl-gensym.
12015 (thumbs-temp-file): Use cl-gensym.
12016
12017 * emacs-lisp/ert.el: Require cl-lib at runtime too.
12018 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
12019 (ert--intersection, ert--set-difference, ert--set-difference-eq)
12020 (ert--union, ert--gensym-counter, ert--gensym-counter)
12021 (ert--coerce-to-vector, ert--remove*, ert--string-position)
12022 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
12023 (ert-make-test-unbound, ert--expand-should-1)
12024 (ert--expand-should, ert--should-error-handle-error)
12025 (should-error, ert--explain-equal-rec)
12026 (ert--plist-difference-explanation, ert-select-tests)
12027 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
12028 Use cl-lib functions rather than reimplementations.
12029
12030 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
12031
12032 * net/tramp.el (tramp-methods): Extend docstring.
12033 (tramp-connection-timeout): New defcustom.
12034 (tramp-error-with-buffer): Reset timestamp only when appropriate.
12035 (with-tramp-progress-reporter): Simplify.
12036 (tramp-process-actions): Improve messages.
12037
12038 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
12039 * net/tramp-sh.el (tramp-maybe-open-connection):
12040 Use `tramp-connection-timeout'.
12041 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
12042 (Bug#14808)
12043
12044 2013-07-11 Leo Liu <sdl.web@gmail.com>
12045
12046 * ido.el (ido-read-file-name): Conform to the requirements of
12047 read-file-name. (Bug#11861)
12048 (ido-read-directory-name): Conform to the requirements of
12049 read-directory-name.
12050
12051 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
12052
12053 * subr.el (delay-warning): New function.
12054
12055 2013-07-10 Eli Zaretskii <eliz@gnu.org>
12056
12057 * simple.el (default-line-height): New function.
12058 (line-move-partial, line-move): Use it instead of computing the
12059 line height inline.
12060 (line-move-partial): Always compute ROWH. If the last line is
12061 partially-visible, but its text is completely visible, allow
12062 cursor to enter such a partially-visible line.
12063
12064 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
12065
12066 Improve error messages. (Bug#14808)
12067
12068 * net/tramp.el (tramp-current-connection): New defvar, moved from
12069 tramp-sh.el.
12070 (tramp-message-show-progress-reporter-message): Remove, not
12071 needed anymore.
12072 (tramp-error-with-buffer): Show message in minibuffer.
12073 Discard input before waiting. Reset connection timestamp.
12074 (with-tramp-progress-reporter): Improve messages.
12075 (tramp-process-actions): Use progress reporter. Delete process in
12076 case of error. Improve messages.
12077
12078 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
12079 Call `tramp-error-with-buffer' with vector and buffer.
12080 (tramp-current-connection): Remove.
12081 (tramp-maybe-open-connection): The car of
12082 `tramp-current-connection' are the first 3 slots of the vector.
12083
12084 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
12085
12086 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
12087 inside continued strings.
12088
12089 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
12090
12091 Timestamp fixes for undo (Bug#14824).
12092 * files.el (clear-visited-file-modtime): Move here from fileio.c.
12093
12094 2013-07-10 Leo Liu <sdl.web@gmail.com>
12095
12096 * files.el (require-final-newline): Allow safe local value.
12097 (Bug#14834)
12098
12099 2013-07-09 Leo Liu <sdl.web@gmail.com>
12100
12101 * ido.el (ido-read-directory-name): Handle fallback.
12102 (ido-read-file-name): Update DIR to ido-current-directory.
12103 (Bug#1516)
12104 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
12105
12106 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
12107
12108 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
12109 "autoload". Remove "warn lower camel case" section, previously
12110 commented out. Highlight negation char. Do not highlight the
12111 target in singleton method definitions.
12112
12113 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12114
12115 * faces.el (tty-setup-hook): Declare the hook.
12116
12117 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
12118 and detect when a guard/pred depends on local vars (bug#14773).
12119 (pcase--u1): Adjust caller.
12120
12121 2013-07-08 Eli Zaretskii <eliz@gnu.org>
12122
12123 * simple.el (line-move-partial, line-move): Account for
12124 line-spacing.
12125 (line-move-partial): Avoid setting vscroll when the last
12126 partially-visible line in window is of default height.
12127
12128 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12129
12130 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
12131 been used a while.
12132
12133 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
12134
12135 * subr.el (read-quoted-char): Remove unused local variable `char'.
12136
12137 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
12138
12139 * ediff.el (ediff-version): Version update.
12140 (ediff-files-command, ediff3-files-command, ediff-merge-command)
12141 (ediff-merge-with-ancestor-command, ediff-directories-command)
12142 (ediff-directories3-command, ediff-merge-directories-command)
12143 (ediff-merge-directories-with-ancestor-command): New functions.
12144 All are command-line interfaces to ediff: to facilitate calling
12145 Emacs with the appropriate ediff functions invoked.
12146
12147 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
12148 (viper-save-kill-buffer): Check if buffer is modified.
12149
12150 * viper.el (viper-version): Version update.
12151 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
12152
12153 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
12154
12155 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
12156 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
12157 (viper-intercept-ESC-key): Simplify.
12158 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
12159 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
12160 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
12161 (viper-setup-ESC-to-escape): New functions.
12162 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
12163 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
12164
12165 2013-07-07 Eli Zaretskii <eliz@gnu.org>
12166
12167 * simple.el (default-font-height, window-screen-lines):
12168 New functions.
12169 (line-move, line-move-partial): Use them instead of
12170 frame-char-height and window-text-height. This makes scrolling
12171 text smoother when the buffer's default face uses a font that is
12172 different from the frame's default font.
12173
12174 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
12175
12176 * files.el (write-file): Do not display confirm dialog for NS,
12177 it does its own dialog, which can't be canceled (Bug#14578).
12178
12179 2013-07-06 Eli Zaretskii <eliz@gnu.org>
12180
12181 * simple.el (line-move-partial): Adjust the row returned by
12182 posn-at-point for the current window-vscroll. (Bug#14567)
12183
12184 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
12185
12186 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
12187 (tramp-sh-file-inotifywait-process-filter): Handle file names with
12188 spaces.
12189
12190 2013-07-06 Martin Rudalics <rudalics@gmx.at>
12191
12192 * window.el (window-state-put-stale-windows): New variable.
12193 (window--state-put-2): Save list of windows without matching buffer.
12194 (window-state-put): Remove "bufferless" windows if possible.
12195
12196 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12197
12198 * simple.el (alternatives-define): Remove leftover :group keyword.
12199 Tweak docstring.
12200
12201 2013-07-06 Leo Liu <sdl.web@gmail.com>
12202
12203 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
12204 (ido-enable-virtual-buffers): New variable.
12205 (ido-buffer-internal, ido-toggle-virtual-buffers)
12206 (ido-make-buffer-list): Use it.
12207 (ido-exhibit): Support turning on and off virtual buffers
12208 automatically.
12209
12210 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12211
12212 * simple.el (alternatives-define): New macro.
12213
12214 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
12215
12216 * subr.el (read-quoted-char): Use read-key.
12217 (sit-for): Let read-event decode tty input (bug#14782).
12218
12219 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
12220
12221 * calendar/todo-mode.el: Add handling of file deletion, both by
12222 mode command and externally. Fix various related bugs.
12223 Clarify Commentary and improve some documentation strings and code.
12224 (todo-delete-file): New command.
12225 (todo-check-file): New function.
12226 (todo-show): Handle external deletion of the file we're trying to
12227 show (bug#14688). Replace called-interactively-p by an optional
12228 prefix argument to avoid problematic interaction with catch form
12229 when byte compiled (bug#14702).
12230 (todo-quit): Handle external deletion of the archive's todo file.
12231 Make sure the buffer that was visiting the archive file is still
12232 live before trying to bury it.
12233 (todo-category-completions): Handle external deletion of any
12234 category completion files.
12235 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
12236 of todo files, in case of external deletion.
12237 (todo-add-file): Replace unnecessary setq by let-binding.
12238 (todo-find-archive): Check whether there are any archives.
12239 Replace unnecessary setq by let-binding.
12240 (todo-archive-done-item): Use find-file-noselect to get the
12241 archive buffer whether or not the archive already exists.
12242 Remove superfluous code. Use file size instead of buffer-file-name to
12243 check if the archive is new; if it is, update list of archives.
12244 (todo-default-todo-file): Allow nil to be a valid value for when
12245 there are no todo files.
12246 (todo-reevaluate-default-file-defcustom): Use corrected definition
12247 of todo-default-todo-file.
12248 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
12249 (todo-delete-category, todo-show-categories-table)
12250 (todo-category-number): Clarify comment.
12251 (todo-filter-items): Clarify documentation string.
12252 (todo-show-current-file, todo-display-as-todo-file)
12253 (todo-reset-and-enable-done-separator): Tweak documentation string.
12254 (todo-done-separator): Make separator length window-width, since
12255 bug#2749 is now fixed.
12256
12257 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
12258
12259 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12260 Support both "gvfs-monitor-dir" and "inotifywait".
12261 (tramp-sh-file-inotifywait-process-filter): Rename from
12262 `tramp-sh-file-notify-process-filter'.
12263 (tramp-sh-file-gvfs-monitor-dir-process-filter)
12264 (tramp-get-remote-gvfs-monitor-dir): New defuns.
12265
12266 2013-07-05 Leo Liu <sdl.web@gmail.com>
12267
12268 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
12269
12270 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12271
12272 * frame.el (display-pixel-height, display-pixel-width)
12273 (display-mm-height, display-mm-width): Mention behavior on
12274 multi-monitor setups in docstrings.
12275 (w32-display-monitor-attributes-list): Declare function.
12276 (display-monitor-attributes-list): Use it.
12277
12278 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
12279
12280 * filenotify.el: New package.
12281
12282 * autorevert.el (top): Require filenotify.el.
12283 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
12284 instead.
12285 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12286 (auto-revert-notify-handler): Use `file-notify-*' functions.
12287
12288 * subr.el (file-notify-handle-event): Move function to filenotify.el.
12289
12290 * net/tramp.el (tramp-file-name-for-operation):
12291 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
12292
12293 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
12294 for `file-notify-add-watch' and `file-notify-rm-watch'.
12295 (tramp-process-sentinel): Improve trace.
12296 (tramp-sh-handle-file-notify-add-watch)
12297 (tramp-sh-file-notify-process-filter)
12298 (tramp-sh-handle-file-notify-rm-watch)
12299 (tramp-get-remote-inotifywait): New defuns.
12300
12301 2013-07-03 Juri Linkov <juri@jurta.org>
12302
12303 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
12304 call of `occur-read-primary-args' to interactive spec.
12305
12306 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
12307 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
12308
12309 2013-07-03 Matthias Meulien <orontee@gmail.com>
12310
12311 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
12312 `Buffer-menu-multi-occur'. Add it to the menu.
12313 (Buffer-menu-mode): Document it in docstring.
12314 (Buffer-menu-multi-occur): New command. (Bug#14673)
12315
12316 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12317
12318 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
12319 keywords and built-ins.
12320
12321 2013-07-03 Glenn Morris <rgm@gnu.org>
12322
12323 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
12324
12325 Make info-xref checks case-sensitive by default
12326 * info.el (Info-find-node, Info-find-in-tag-table)
12327 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
12328 Add option for exact case matching of nodes.
12329 * info-xref.el (info-xref): New custom group.
12330 (info-xref-case-fold): New option.
12331 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
12332
12333 2013-07-03 Leo Liu <sdl.web@gmail.com>
12334
12335 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
12336
12337 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12338
12339 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
12340 middle of block statement initially, lower the depth. Remove
12341 FIXME comment, not longer valid. Remove middle of block statement
12342 detection, no need to do that anymore since we've been using
12343 `ruby-parse-region' here.
12344
12345 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
12346
12347 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
12348
12349 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
12350
12351 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
12352
12353 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
12354
12355 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
12356 (desktop-restore-in-current-display): New customization option.
12357 (desktop--excluded-frame-parameters): Add `font'.
12358 (desktop--save-frames): Rename from desktop--save-windows.
12359 (desktop--restore-in-this-display-p): New function.
12360 (desktop--make-full-frame): Remove unwanted width/height from
12361 full(width|height) frames.
12362 (desktop--restore-frames): Rename from desktop--restore-windows.
12363 Obey desktop-restore-current-display. Do not delete old frames or
12364 select a new frame unless we were able to restore at least one frame.
12365
12366 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
12367
12368 * files.el (find-file-noselect): Simplify conditional expression.
12369
12370 * textmodes/remember.el (remember-append-to-file):
12371 Don't mix `find-buffer-visiting' and `get-file-buffer'.
12372
12373 Add `remember-notes' function to store random notes across Emacs
12374 restarts.
12375 * textmodes/remember.el (remember-data-file): Add :set callback to
12376 affect notes buffer (if any).
12377 (remember-notes): New command.
12378 (remember-notes-buffer-name, bury-remember-notes-on-kill):
12379 New defcustoms for the `remember-notes' function.
12380 (remember-notes-save-and-bury-buffer): New command.
12381 (remember-notes-mode-map): New variable.
12382 (remember-mode): New minor mode.
12383 (remember-notes--kill-buffer-query): New function.
12384 * startup.el (initial-buffer-choice): Add notes to custom type.
12385
12386 2013-06-30 Eli Zaretskii <eliz@gnu.org>
12387
12388 * bindings.el (right-char, left-char): Don't call sit-for, this is
12389 no longer needed. Use arithmetic comparison only for numerical
12390 arguments.
12391
12392 * international/mule-cmds.el (select-safe-coding-system):
12393 Handle the case of FROM being a string correctly. (Bug#14755)
12394
12395 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12396
12397 * net/shr.el (shr-make-table-1): Add a sanity check that allows
12398 progression on degenerate tables.
12399 (shr-rescale-image): ImageMagick animated images currently don't work.
12400
12401 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
12402
12403 Some fixes and improvements for desktop frame restoration.
12404 It is still experimental and disabled by default.
12405 * desktop.el (desktop--save-windows): Put the selected frame at
12406 the head of the list.
12407 (desktop--make-full-frame): New function.
12408 (desktop--restore-windows): Try to re-select the frame that was
12409 selected upon saving. Do not abort if some frames fail to restore,
12410 just show an error message and continue. Set up maximized frames
12411 so they have default non-maximized dimensions.
12412
12413 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
12414
12415 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12416 Don't start heredoc inside a string or comment.
12417
12418 2013-06-29 Eli Zaretskii <eliz@gnu.org>
12419
12420 * bindings.el (visual-order-cursor-movement): New defcustom.
12421 (right-char, left-char): Provide visual-order cursor motion by
12422 calling move-point-visually. Update the doc strings.
12423
12424 2013-06-28 Kenichi Handa <handa@gnu.org>
12425
12426 * international/mule.el (define-coding-system): New coding system
12427 properties :inhibit-null-byte-detection,
12428 :inhibit-iso-escape-detection, and :prefer-utf-8.
12429 (set-buffer-file-coding-system): If :charset-list property of
12430 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12431 appropriate for setting.
12432
12433 * international/mule-cmds.el (select-safe-coding-system):
12434 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12435 multibyte characters, return utf-8 (or one of its siblings).
12436
12437 * international/mule-conf.el (prefer-utf-8): New coding system.
12438 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12439 files.
12440
12441 2013-06-28 Ivan Kanis <ivan@kanis.fr>
12442
12443 * net/shr.el (shr-render-region): New function.
12444
12445 * net/eww.el: Autoload `eww-browse-url'.
12446
12447 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
12448
12449 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12450 Adapt to `package-desc-version' being a list.
12451 Use `package--ac-desc-version' to retrieve version from a package
12452 archive element.
12453
12454 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
12455
12456 New experimental feature to save&restore window and frame setup.
12457 * desktop.el (desktop-save-windows): New defcustom.
12458 (desktop--saved-states): New var.
12459 (desktop--excluded-frame-parameters): New defconst.
12460 (desktop--filter-frame-parms, desktop--find-frame-in-display)
12461 (desktop--restore-windows, desktop--save-windows): New functions.
12462 (desktop-save): Call `desktop--save-windows'.
12463 (desktop-read): Call `desktop--restore-windows'.
12464
12465 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12466
12467 * net/shr.el (add-face-text-property): Remove compat definition.
12468
12469 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12470
12471 * info.el (Info-try-follow-nearest-node): Move search for footnote
12472 above search for node name to prevent missing a footnote (bug#14717).
12473
12474 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12475
12476 * obsolete/otodo-mode.el: Add obsolescence info to file header.
12477
12478 2013-06-27 Leo Liu <sdl.web@gmail.com>
12479
12480 * net/eww.el (eww-read-bookmarks): Check file size.
12481
12482 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12483
12484 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12485 advice--pending if newdef is nil or an autoload (bug#13820).
12486 (advice-mapc): New function.
12487
12488 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12489
12490 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12491 probably.
12492 (eww-mode-map): Add a menu bar.
12493 (eww-add-bookmark): New command.
12494 (eww-bookmark-mode): New mode and commands.
12495 (eww-add-bookmark): Remove newlines from the title.
12496 (eww-bookmark-browse): Don't bug out if it's the only window.
12497
12498 2013-06-26 Glenn Morris <rgm@gnu.org>
12499
12500 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12501 (hfy-size): Handle ttys. (Bug#14668)
12502
12503 * info-xref.el: Update for Texinfo 5 change in *note format.
12504 (info-xref-node-re, info-xref-note-re): New constants.
12505 (info-xref-check-buffer): Use info-xref-note-re.
12506
12507 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12508
12509 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12510
12511 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12512 nil terminate the loop (bug#14718).
12513
12514 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12515
12516 * net/eww.el: Rework history traversal. When going forward/back,
12517 put these actions into the history, too, so that they can be
12518 replayed.
12519 (eww-render): Move the history reset to the correct buffer.
12520
12521 2013-06-25 Juri Linkov <juri@jurta.org>
12522
12523 * files-x.el (modify-dir-local-variable): Change the header comment
12524 in the file with directory local variables. (Bug#14692)
12525
12526 * files-x.el (read-file-local-variable-value): Add `default'.
12527 (Bug#14710)
12528
12529 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12530
12531 * net/eww.el (eww-make-unique-file-name): Create a unique file
12532 name before saving to entering `y' accidentally asynchronously.
12533
12534 2013-06-25 Ivan Kanis <ivan@kanis.fr>
12535
12536 * net/eww.el (eww-download): New command and keystroke.
12537
12538 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12539
12540 * net/eww.el (eww-copy-page-url): Change name of command.
12541
12542 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12543 be more consistent with Info and dired.
12544
12545 * net/eww.el (eww-mode-map): Ditto.
12546
12547 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12548
12549 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12550 packages from archives.
12551 (package-archive-contents): Change format; include obsolete packages.
12552 (package-desc): Use `dir' to mark builtin packages.
12553 (package--from-builtin): Set the `dir' field to `builtin'.
12554 (generated-autoload-file, version-control): Declare.
12555 (package-compute-transaction): Change first arg and return value to be
12556 lists of package-descs. Adjust to new package-archive-contents format.
12557 (package--add-to-archive-contents): Adjust to new
12558 package-archive-contents format.
12559 (package-download-transaction): Arg is now a list of package-descs.
12560 (package-install): If `pkg' is a package name, pass it as
12561 a requirement, so it is subject to the usual (e.g. disabled) checks.
12562 (describe-package): Accept package-desc as well.
12563 (describe-package-1): Describe a specific package-desc. Add links to
12564 other package-descs for the same package name.
12565 (package-menu-describe-package): Pass the actual package-desc.
12566 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12567 works correctly.
12568 (package-desc-status): New function.
12569 (package-menu--refresh): New function, extracted
12570 from package-menu--generate.
12571 (package-menu--generate): Use it.
12572 (package-delete): Update package-alist.
12573 (package-menu-execute): Don't call package-initialize.
12574
12575 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12576 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12577 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12578 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12579 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12580 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12581
12582 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12583
12584 * window.el (window--state-get-1): Workaround for bug#14527.
12585 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12586
12587 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12588
12589 * net/eww.el (eww-back-url): Implement the history by stashing all
12590 the data into a list.
12591 (eww-forward-url): Allow going forward in the history, too.
12592
12593 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12594
12595 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12596 for values and use read--expression for expressions (bug#14710).
12597 (read-file-local-variable): Avoid setq.
12598 (read-file-local-variable-mode): Use minor-mode-list.
12599
12600 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12601
12602 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12603 for DOI URLs.
12604
12605 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12606
12607 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12608 Update imenu-support when dialect changes.
12609
12610 2013-06-25 Leo Liu <sdl.web@gmail.com>
12611
12612 * ido.el (ido-read-internal): Allow forward slash on windows.
12613
12614 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12615
12616 * net/eww.el (eww): Start of strings is \\`, not ^.
12617
12618 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12619
12620 * net/shr.el (shr-browse-url): Fix interactive spec.
12621
12622 * net/eww.el (eww): Add a trailing slash to domain names.
12623
12624 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12625
12626 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12627
12628 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12629
12630 * net/shr.el (shr-browse-url): Use an external browser if given a
12631 prefix.
12632
12633 * net/eww.el (eww-external-browser): Move to shr.
12634
12635 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12636
12637 * net/eww.el (eww): Work more correctly for file: URLs.
12638 (eww-detect-charset): Allow quoted charsets.
12639 (eww-yank-page-url): New command and keystroke.
12640
12641 2013-06-24 Daiki Ueno <ueno@gnu.org>
12642
12643 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12644 file name of gpg executable.
12645 (epg-context-program): New function.
12646 (epg-context-home-directory): New function.
12647 (epg-context-set-program): New function.
12648 (epg-context-set-home-directory): New function.
12649 (epg--start): Use `epg-context-program' instead of
12650 'epg-gpg-program'.
12651 (epg--list-keys-1): Likewise.
12652
12653 2013-06-24 Leo Liu <sdl.web@gmail.com>
12654
12655 * ido.el (ido-read-internal): Fix bug#14620.
12656
12657 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12658
12659 * faces.el (face-documentation): Simplify.
12660 (read-face-attribute, tty-find-type, x-resolve-font-name):
12661 Use `string-match-p'.
12662 (list-faces-display): Use `string-match-p'. Simplify.
12663 (face-spec-recalc): Check face to avoid face alias loops.
12664 (read-color): Use `string-match-p' and non-capturing parenthesis.
12665
12666 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12667
12668 * net/shr.el (shr-rescale-image): Use the new
12669 :max-width/:max-height functionality.
12670
12671 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12672
12673 * net/eww.el (eww-search-prefix): New variable.
12674 (eww): Use it.
12675 (eww-external-browser): New variable.
12676 (eww-mode-map): New keystroke.
12677 (eww-browse-with-external-browser): New command.
12678
12679 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12680
12681 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12682
12683 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12684 Don't skip aligning the next header field when padding is 0;
12685 otherwise, field width is not respected unless the title is as
12686 wide as the field.
12687
12688 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12689
12690 * emacs-lisp/package.el (package-el-version): Remove.
12691 (package-process-define-package): Fix inf-loop.
12692 (package-install): Allow symbols as arguments again.
12693
12694 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12695
12696 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12697 add some more keyword-like methods.
12698 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12699
12700 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12701
12702 * bs.el (bs-buffer-show-mark): Make defvar-local.
12703 (bs-mode): Use setq-local.
12704
12705 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12706 (emacs-lock--try-unlocking): Make defvar-local.
12707
12708 2013-06-22 Glenn Morris <rgm@gnu.org>
12709
12710 * play/cookie1.el (cookie-apropos): Minor simplification.
12711
12712 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12713
12714 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12715
12716 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12717 `regexp-opt', it breaks the build during dumping.
12718
12719 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12720
12721 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12722 Highlight keyword-like methods on Kernel and Module with
12723 font-lock-builtin-face.
12724 (auto-mode-alist): Consolidate different entries into one regexp
12725 and add more *file-s.
12726
12727 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12728
12729 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12730
12731 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12732 (diary-entry): Use it in the action of this button type instead of
12733 diary-goto-entry.
12734
12735 * calendar/todo-mode.el: New version.
12736 (todo-add-category): Append new category to end of file and give
12737 it the highest number, instead of putting it at the beginning and
12738 giving it 0. Incorporate noninteractive functionality.
12739 (todo-forward-category): Adapt to 1-based category numbering.
12740 Allow skipping over archived categories.
12741 (todo-backward-category): Derive from todo-forward-category.
12742 (todo-backward-item, todo-forward-item): Make noninteractive and
12743 delegate interactive part to new commands. Make sensitive to done items.
12744 (todo-categories): Make value an alist of category names and
12745 vectors of item counts.
12746 (todo-category-beg): Make a defconst.
12747 (todo-category-number): Use 1 instead of 0 as initial value.
12748 (todo-category-select): Make sensitive to overlays, optional item
12749 highlighting and done items.
12750 (todo-delete-item): Make sensitive to overlays and marked and done items.
12751 (todo-edit-item): Make sensitive to overlays and editing of
12752 date/time header optional. Add format checks.
12753 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12754 no-op if point is not on an item. Advertise using todo-edit-quit.
12755 (todo-edit-mode): Make sensitive to new format, font-locking, and
12756 multiple todo files.
12757 (todo-insert-item, todo-insert-item-here): Derive from
12758 todo-basic-insert-item and extend functionality.
12759 (todo-item-end, todo-item-start): Make sensitive to done items.
12760 (todo-item-string): Don't return text properties. Restore point.
12761 (todo-jump-to-category): Make sensitive to multiple todo files and
12762 todo archives. Use extended category completion.
12763 (todo-lower-item, todo-raise-item): Rename to *-priority and
12764 derive from todo-set-item-priority.
12765 (todo-mode): Derive from special-mode. Make sensitive to new
12766 format, font-locking and multiple todo files. Make read-only.
12767 (todo-mode-map): Don't suppress digit keys, so they can supply
12768 prefix arguments. Add many new key bindings.
12769 (todo-prefix): Insert as an overlay instead of file text.
12770 Change semantics from diary date expression to purely visual mark.
12771 (todo-print): Rename to todo-print-buffer. Make buffer display
12772 features printable. Remove option to restrict number of items
12773 printed. Add option to print to file.
12774 (todo-print-function): Rename to todo-print-buffer-function.
12775 (todo-quit): Extend to handle exiting new todo modes.
12776 (todo-remove-item): Make sensitive to overlays.
12777 (todo-save): Extend to buffers of filtered items.
12778 (todo-show): Make sensitive to done items, multiple todo files and
12779 new todo modes. Offer to convert legacy todo file before creating
12780 first new todo file.
12781 (todo-show-priorities): Rename to todo-top-priorities.
12782 Change semantics of value 0.
12783 (todo-top-priorities): Rename to todo-filter-top-priorities,
12784 derive from todo-filter-items and extend functionality.
12785 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12786 and extend functionality to other types of filtered items.
12787 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12788 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12789 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12790 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12791 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12792 (todo-edit-mode-hook, todo-entry-prefix-function)
12793 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12794 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12795 (todo-initials, todo-insert-threshold, todo-item-string-start)
12796 (todo-line-string, todo-menu, todo-mode-hook)
12797 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12798 (todo-print-priorities, todo-remove-separator)
12799 (todo-save-top-priorities-too, todo-string-count-lines)
12800 (todo-string-multiline-p, todo-time-string-format)
12801 (todo-tmp-buffer-name): Remove.
12802 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12803 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12804 (todo-edit-category-diary-inclusion)
12805 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12806 (todo-edit-file, todo-edit-item-date-day)
12807 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12808 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12809 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12810 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12811 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12812 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12813 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12814 (todo-filter-top-priorities-multifile, todo-find-archive)
12815 (todo-find-filtered-items-file, todo-go-to-source-item)
12816 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12817 (todo-jump-to-archive-category, todo-lower-category)
12818 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12819 (todo-move-category, todo-move-item, todo-next-button)
12820 (todo-next-item, todo-padded-string, todo-powerset)
12821 (todo-previous-button, todo-previous-item)
12822 (todo-print-buffer-to-file, todo-raise-category)
12823 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12824 (todo-set-category-number, todo-set-item-priority)
12825 (todo-set-top-priorities-in-category)
12826 (todo-set-top-priorities-in-file, todo-show-categories-table)
12827 (todo-sort-categories-alphabetically-or-numerically)
12828 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12829 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12830 (todo-toggle-item-header, todo-toggle-item-highlighting)
12831 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12832 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12833 (todo-unarchive-items, todo-unmark-category): New commands.
12834 (todo-absolute-file-name, todo-add-to-buffer-list)
12835 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12836 (todo-basic-insert-item, todo-category-completions)
12837 (todo-category-number, todo-category-string-matcher-1)
12838 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12839 (todo-check-format, todo-clear-matches)
12840 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12841 (todo-current-category, todo-date-string-matcher)
12842 (todo-define-insertion-command, todo-diary-expired-matcher)
12843 (todo-diary-goto-entry, todo-diary-item-p)
12844 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12845 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12846 (todo-done-item-section-p, todo-done-separator)
12847 (todo-done-string-matcher, todo-files, todo-filter-items)
12848 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12849 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12850 (todo-insert-category-line, todo-insert-item-from-calendar)
12851 (todo-insert-sort-button, todo-insert-with-overlays)
12852 (todo-insertion-command-name, todo-insertion-key-bindings)
12853 (todo-label-to-key, todo-longest-category-name-length)
12854 (todo-make-categories-list, todo-mode-external-set)
12855 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12856 (todo-modes-set-3, todo-multiple-filter-files)
12857 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12858 (todo-read-category, todo-read-date, todo-read-dayname)
12859 (todo-read-file-name, todo-read-time)
12860 (todo-reevaluate-category-completions-files-defcustom)
12861 (todo-reevaluate-default-file-defcustom)
12862 (todo-reevaluate-filelist-defcustoms)
12863 (todo-reevaluate-filter-files-defcustom)
12864 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12865 (todo-reset-done-separator, todo-reset-done-separator-string)
12866 (todo-reset-done-string, todo-reset-global-current-todo-file)
12867 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12868 (todo-reset-prefix, todo-set-categories)
12869 (todo-set-date-from-calendar, todo-set-show-current-file)
12870 (todo-set-top-priorities, todo-short-file-name)
12871 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12872 (todo-total-item-counts, todo-update-buffer-list)
12873 (todo-update-categories-display, todo-update-categories-sexp)
12874 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12875 New functions.
12876 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12877 New major modes.
12878 (todo-categories, todo-display, todo-edit, todo-faces)
12879 (todo-filtered): New defgroups.
12880 (todo-archived-only, todo-button, todo-category-string, todo-date)
12881 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12882 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12883 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12884 (todo-add-item-if-new-category, todo-always-add-time-string)
12885 (todo-categories-align, todo-categories-archived-label)
12886 (todo-categories-category-label, todo-categories-diary-label)
12887 (todo-categories-done-label, todo-categories-number-separator)
12888 (todo-categories-todo-label, todo-categories-totals-label)
12889 (todo-category-completions-files, todo-completion-ignore-case)
12890 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12891 (todo-done-separator-string, todo-done-string)
12892 (todo-files-function, todo-filter-done-items, todo-filter-files)
12893 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12894 (todo-initial-category, todo-initial-file, todo-item-mark)
12895 (todo-legacy-date-time-regexp, todo-mode-line-function)
12896 (todo-nondiary-marker, todo-number-prefix)
12897 (todo-print-buffer-function, todo-show-current-file)
12898 (todo-show-done-only, todo-show-first, todo-show-with-done)
12899 (todo-skip-archived-categories, todo-top-priorities-overrides)
12900 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12901 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12902 New defcustoms.
12903 (todo-category-done, todo-date-pattern, todo-date-string-start)
12904 (todo-diary-items-buffer, todo-done-string-start)
12905 (todo-filtered-items-buffer, todo-item-start)
12906 (todo-month-abbrev-array, todo-month-name-array)
12907 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12908 (todo-top-priorities-buffer): New defconsts.
12909 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12910 (todo-categories-with-marks, todo-category-string-face)
12911 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12912 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12913 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12914 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12915 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12916 (todo-font-lock-keywords, todo-global-current-todo-file)
12917 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12918 (todo-insertion-commands-args)
12919 (todo-insertion-commands-args-genlist)
12920 (todo-insertion-commands-names, todo-insertion-map)
12921 (todo-key-bindings-t, todo-key-bindings-t+a)
12922 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12923 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12924 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12925 (todo-visited): New variables.
12926
12927 2013-06-21 Glenn Morris <rgm@gnu.org>
12928
12929 * play/cookie1.el (cookie-apropos): Add optional display argument.
12930 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12931 (psychoanalyze-pinhead): Use cookie-doctor.
12932
12933 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12934
12935 * emacs-lisp/package.el (tar-get-file-descriptor)
12936 (tar--extract): Declare.
12937
12938 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12939
12940 Extend flymake's warning predicate to be a function (bug#14217).
12941 * progmodes/flymake.el (flymake-warning-predicate): New.
12942 (flymake-parse-line): Use it.
12943 (flymake-warning-re): Make obsolete alias to
12944 `flymake-warning-predicate'.
12945
12946 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12947
12948 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12949 (package-obsolete-list): Remove.
12950 (package-activate): Remove min-version argument. Add `force' argument.
12951 Adjust to new package-alist format.
12952 (package-mark-obsolete): Remove.
12953 (package-unpack): Force reload of the package's autoloads.
12954 (package-installed-p): Check builtins if the installed package is not
12955 recent enough.
12956 (package-initialize): Don't reset package-obsolete-list.
12957 Don't specify which package version to activate.
12958 (package-process-define-package, describe-package-1)
12959 (package-menu--generate): Adjust to new package-alist format.
12960
12961 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12962
12963 * allout-widgets.el (allout-widgets-mode-off)
12964 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12965 (allout-widgets-post-command-business)
12966 (allout-widgets-after-copy-or-kill-function)
12967 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12968 (allout-decorate-item-and-context)
12969 (allout-graphics-modification-handler): Fix typos in docstrings.
12970 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12971
12972 * cmuscheme.el (scheme-start-file): Doc fix.
12973 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12974 (scheme-input-filter): Use `string-match-p'.
12975
12976 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12977
12978 * dired-x.el: Use Dired consistently in docstrings.
12979
12980 * dired.el: Use Dired consistently in docstrings.
12981 (dired-readin, dired-mode): Use `setq-local'.
12982 (dired-switches-alist): Make defvar-local.
12983 (dired-buffers-for-dir): Use `zerop'.
12984 (dired-safe-switches-p, dired-switches-escape-p)
12985 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12986 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12987 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12988 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12989 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12990 (dired-toggle-marks, dired-mark-files-containing-regexp)
12991 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12992 (dired-flag-auto-save-files, dired-flag-backup-files):
12993 Use `looking-at-p'.
12994 (dired-mark-files-regexp, dired-build-subdir-alist):
12995 Use `string-match-p', `looking-at-p'.
12996
12997 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12998 (direct-print-region-helper): Use `string-match-p'.
12999
13000 2013-06-21 Leo Liu <sdl.web@gmail.com>
13001
13002 * comint.el (comint-redirect-results-list-from-process):
13003 Fix infinite loop.
13004
13005 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13006
13007 * net/eww.el (eww-update-header-line-format): Quote % characters.
13008
13009 2013-06-21 Glenn Morris <rgm@gnu.org>
13010
13011 * play/cookie1.el (cookie): New custom group.
13012 (cookie-file): New option.
13013 (cookie-check-file): New function.
13014 (cookie): Make it interactive. Make start and end messages optional.
13015 Interactively, display the result. Default to cookie-file.
13016 (cookie-insert): Default to cookie-file.
13017 (cookie-snarf): Make start and end messages optional.
13018 Default to cookie-file. Use with-temp-buffer.
13019 (cookie-read): Rename from read-cookie.
13020 Make start and end messages optional. Default to cookie-file.
13021 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
13022 Do not autoload it.
13023 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
13024 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
13025
13026 2013-06-21 Leo Liu <sdl.web@gmail.com>
13027
13028 * progmodes/octave.el (octave-mode): Backward compatibility fix.
13029
13030 2013-06-21 Glenn Morris <rgm@gnu.org>
13031
13032 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
13033
13034 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13035 Daniel Hackney <dan@haxney.org>
13036
13037 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
13038 Consolidate the single-file vs tarball code.
13039 (package-desc-suffix): New function.
13040 (package-desc-full-name): Don't bother inlining it.
13041 (package-load-descriptor): Return the new package-desc.
13042 (package-mark-obsolete): Remove unused arg `package'.
13043 (package-unpack): Make it work for single files as well.
13044 Make it update package-alist.
13045 (package--make-autoloads-and-stuff): Rename from
13046 package--make-autoloads-and-compile. Don't compile any more.
13047 (package--compile): New function.
13048 (package-generate-description-file): New function, extracted from
13049 package-unpack-single.
13050 (package-unpack-single): Remove.
13051 (package--with-work-buffer): Add indentation and debugging info.
13052 (package-download-single): Remove.
13053 (package-install-from-archive): Rename from package-download-tar, make
13054 it take a pkg-desc, and make it work for single files as well.
13055 (package-download-transaction): Simplify.
13056 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
13057 external tar program.
13058 (package-install-from-buffer): Remove `pkg-desc' argument.
13059 Use package-tar-file-info for tar-mode buffers.
13060 (package-install-file): Simplify accordingly.
13061 (package-archive-base): Change to take a pkg-desc.
13062 * tar-mode.el (tar--check-descriptor): New function, extracted from
13063 tar-get-descriptor.
13064 (tar-get-descriptor): Use it.
13065 (tar-get-file-descriptor): New function.
13066 (tar--extract): New function, extracted from tar-extract.
13067 (tar--extract): Use it.
13068 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
13069 case the summary uses non-ascii. Adjust to new calling convention of
13070 package-tar-file-info.
13071
13072 2013-06-21 Leo Liu <sdl.web@gmail.com>
13073
13074 * comint.el (comint-redirect-results-list-from-process):
13075 Fix random delay. (Bug#14681)
13076
13077 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13078
13079 * profiler.el (profiler-format-number): Use log, not log10.
13080
13081 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13082
13083 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
13084
13085 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13086
13087 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
13088 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
13089 yet available.
13090 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
13091 (AUTOGENEL): ... here.
13092 * emacs-lisp/cl-macs.el (cl--sublis): New function.
13093 (cl--defsubst-expand): Use it.
13094
13095 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
13096
13097 * subr.el (log10): Move here from C code, and declare as obsolete.
13098 All uses of (log10 X) replaced with (log X 10).
13099
13100 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13101
13102 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
13103 Declare with `defvar-local'.
13104 (tabulated-list-use-header-line, tabulated-list-entries)
13105 (tabulated-list-padding, tabulated-list-printer)
13106 (tabulated-list-sort-key): Declare with `defvar-local'.
13107 (tabulated-list-init-header, tabulated-list-print-fake-header):
13108 Use `setq-local'.
13109
13110 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
13111
13112 * arc-mode.el (archive-mode): Add `archive-write-file' to
13113 `write-contents-functions' also for remote files. (Bug#14652)
13114
13115 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13116
13117 * cus-edit.el (custom-commands): Fix typos.
13118 (custom-display): Fix tooltip text.
13119 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
13120 Fix typos in docstrings.
13121 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
13122 (custom-unlispify-menu-entry, custom-magic-value-create)
13123 (custom-add-see-also, custom-group-value-create): Use ?\s.
13124 (custom-guess-type, customize-apropos, editable-field)
13125 (custom-face-value-create): Use `string-match-p'.
13126 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
13127
13128 * custom.el (custom-load-symbol): Use `string-match-p'.
13129
13130 * ansi-color.el: Convert to lexical binding.
13131 (ansi-colors): Fix URL.
13132 (ansi-color-context, ansi-color-context-region): Use defvar-local.
13133 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
13134 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
13135
13136 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13137
13138 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
13139
13140 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
13141
13142 2013-06-19 Tom Tromey <tromey@redhat.com>
13143
13144 * net/eww.el (eww-top-url): Remove.
13145 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
13146 (eww-render): Set new variables. Don't set eww-top-url.
13147 (eww-handle-link): Handle "prev", "home", and "contents".
13148 Downcase the rel text.
13149 (eww-top-url): Choose best top URL.
13150
13151 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13152
13153 * net/eww.el: Rewrite to implement form elements "by hand" instead of
13154 relying in widget.el. Using widget.el leads to too many
13155 user interface inconsistencies.
13156 (eww-self-insert): Implement entering commands in text fields.
13157 (eww-process-text-input): New function to make text input field editing
13158 work.
13159 (eww-submit): Rewrite to use the new-style form methods.
13160 (eww-select-display): Display the correct selected item.
13161 (eww-change-select): Implement changing the select value.
13162 (eww-toggle-checkbox): Implement radio/checkboxes.
13163 (eww-update-field): Fix compilation error.
13164 (eww-tag-textarea): Implement <textarea>.
13165
13166 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
13167 we don't shadow mode-specific bindings.
13168
13169 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
13170 nothing to push.
13171
13172 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
13173
13174 2013-06-19 Glenn Morris <rgm@gnu.org>
13175
13176 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
13177
13178 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13179
13180 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
13181 not needed.
13182
13183 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
13184
13185 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13186
13187 * net/browse-url.el (browse-url-browser-function):
13188 `eww-browse-url' has the right calling signature, `eww' does not.
13189
13190 2013-06-19 Glenn Morris <rgm@gnu.org>
13191
13192 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13193 Only eval autoloaded macros.
13194 (byte-compile-autoload): Only give the macro warning for macros.
13195
13196 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
13197 (ps-underlined-faces): Declare.
13198
13199 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
13200 (speedbar-add-supported-extension): Declare.
13201
13202 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
13203 Don't include a date stamp in the header of the generated file;
13204 it leads to needless differences between output files.
13205
13206 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13207
13208 * net/secrets.el (secrets-struct-secret-content-type):
13209 Replace check of introspection data by a test call of "CreateItem".
13210 Some servers do not offer introspection.
13211
13212 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
13213
13214 * electric.el (electric-pair-mode): Improve interaction with
13215 electric-layout-mode.
13216 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
13217 (electric-pair-syntax): Use text-mode-syntax-table in comments
13218 and strings.
13219 (electric-pair--insert): New function.
13220 (electric-pair-post-self-insert-function): Use it and
13221 electric--after-char-pos.
13222
13223 2013-06-19 Leo Liu <sdl.web@gmail.com>
13224
13225 * progmodes/octave.el (octave-help): Fix regexp.
13226
13227 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13228
13229 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
13230 (shr-table-horizontal-line): Allow nil as a value, and change the
13231 default.
13232 (shr-insert-table-ruler): Respect the nil value.
13233
13234 2013-06-18 Tom Tromey <tromey@barimba>
13235
13236 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13237 New defvars.
13238 (eww-open-file): New defun.
13239 (eww-render): Initialize new variables.
13240 (eww-display-html): Handle "link" and "a".
13241 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
13242 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
13243 (eww-back-url): Rename from eww-previous-url.
13244 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13245 New defuns.
13246
13247 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
13248
13249 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
13250 Distinguish ternary operator tokens from slash symbol and slash
13251 char literal.
13252
13253 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13254
13255 Convert symbol prettification into minor mode and global minor mode.
13256
13257 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
13258 `prog-prettify-symbols', and make a local defvar instead of defcustom.
13259 (prettify-symbols--keywords): Rename from
13260 `prog-prettify-symbols-alist' and make a local defvar.
13261 (prettify-symbols--compose-symbol): Rename from
13262 `prog--prettify-font-lock-compose-symbol'.
13263 (prettify-symbols--make-keywords): Rename from
13264 `prog-prettify-font-lock-symbols-keywords' and simplify.
13265 (prog-prettify-install): Remove.
13266 (prettify-symbols-mode): New minor mode, based on
13267 `prog-prettify-install'.
13268 (turn-on-prettify-symbols-mode): New function.
13269 (global-prettify-symbols-mode): New globalized minor mode.
13270
13271 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13272 * progmodes/cfengine.el (cfengine3-mode):
13273 * progmodes/perl-mode.el (perl-mode): Don't call
13274 `prog-prettify-install'; set `prettify-symbols-alist' instead.
13275
13276 2013-06-18 Juri Linkov <juri@jurta.org>
13277
13278 * files-x.el (modify-file-local-variable-message): New function.
13279 (modify-file-local-variable)
13280 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
13281 and call `modify-file-local-variable-message' when it's non-nil.
13282 (add-file-local-variable, delete-file-local-variable)
13283 (add-file-local-variable-prop-line)
13284 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
13285 and use it. (Bug#9820)
13286
13287 2013-06-18 Juri Linkov <juri@jurta.org>
13288
13289 * emulation/vi.el (vi-shell-op):
13290 * emulation/vip.el (vip-execute-com, ex-command):
13291 * emulation/viper-cmd.el (viper-exec-bang):
13292 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
13293 the call of `shell-command-on-region'. (Bug#14637)
13294
13295 * simple.el (shell-command-on-region): Doc fix.
13296
13297 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13298
13299 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
13300 (bug#14633).
13301
13302 2013-06-18 Glenn Morris <rgm@gnu.org>
13303
13304 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
13305
13306 * newcomment.el (comment-search-forward, comment-search-backward):
13307 Doc fix. (Bug#14376)
13308
13309 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13310
13311 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
13312 (buffer-face-mode-invoke): Doc fix.
13313
13314 2013-06-18 Matthias Meulien <orontee@gmail.com>
13315
13316 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
13317 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
13318
13319 2013-06-18 Glenn Morris <rgm@gnu.org>
13320
13321 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
13322 Replace obsolete function generic-make-keywords with its expansion.
13323
13324 * progmodes/python.el (ffap-alist): Declare.
13325
13326 * textmodes/reftex.el (bibtex-mode-map): Declare.
13327
13328 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13329
13330 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
13331 (package-unpack, package-unpack-single): Return the pkg-dir.
13332 (package-download-transaction): Use it to update package-alist.
13333
13334 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13335
13336 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
13337 possible choice.
13338
13339 2013-06-17 Juri Linkov <juri@jurta.org>
13340
13341 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
13342
13343 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13344
13345 * emacs-lisp/package.el (package-load-descriptor):
13346 Remove `with-syntax-table' call, `read' doesn't need it.
13347 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
13348
13349 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13350
13351 * startup.el (command-line): Expand package name returned by
13352 `package--description-file' (bug#14639).
13353
13354 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13355
13356 * emacs-lisp/package.el (package-load-descriptor): Do not call
13357 `emacs-lisp-mode', just use its syntax table.
13358
13359 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13360
13361 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
13362 `font-lock-extra-managed-props' if any prettifying keyword is added.
13363 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
13364 (prog-mode): Use `setq-local'.
13365
13366 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13367
13368 * international/characters.el (standard-case-table): Set syntax of ?»
13369 and ?« to punctuation.
13370
13371 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
13372
13373 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13374 Save relevant match data before calling `syntax-ppss' (bug#14595).
13375
13376 2013-06-15 Juri Linkov <juri@jurta.org>
13377
13378 * files-x.el (modify-file-local-variable-prop-line): Add local
13379 variables to the end of the existing comment on the first line.
13380 Use `file-auto-mode-skip' to skip interpreter magic line,
13381 and also skip XML declaration.
13382
13383 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13384
13385 * startup.el (package--builtin-versions): New var.
13386 (package-subdirectory-regexp): Remove.
13387 (package--description-file): Hard code its value instead.
13388
13389 * emacs-lisp/package.el: Don't activate packages older than builtin.
13390 (package-obsolete-list): Rename from package-obsolete-alist, and make
13391 it into a simple list of package-desc.
13392 (package-strip-version): Remove.
13393 (package-built-in-p): Use package--builtin-versions.
13394 (package-mark-obsolete): Simplify.
13395 (package-process-define-package): Mark it obsolete if older than the
13396 builtin version.
13397 (package-handle-response): Use line-end-position.
13398 (package-read-archive-contents, package--download-one-archive):
13399 Simplify.
13400 (package--add-to-archive-contents): Skip if older than the builtin or
13401 installed version.
13402 (package-menu-describe-package): Fix last change.
13403 (package-list-unversioned): New var.
13404 (package-menu--generate): Use it.
13405
13406 * emacs-lisp/autoload.el: Manage package--builtin-versions.
13407 (autoload--insert-text, autoload--insert-cookie-text): New functions.
13408 (autoload-builtin-package-versions): New variable.
13409 (autoload-generate-file-autoloads): Use them.
13410 Remove the list of autoloaded functions/macros from the
13411 (autoload...) comments.
13412
13413 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13414
13415 2013-06-15 Eli Zaretskii <eliz@gnu.org>
13416
13417 * simple.el (line-move-partial): Don't jump to the next screen
13418 line as soon as it becomes visible. Instead, continue enlarging
13419 the vscroll until the portion of a tall screen line that's left on
13420 display is about the height of the frame's default font.
13421 (Bug#14567)
13422
13423 2013-06-15 Glenn Morris <rgm@gnu.org>
13424
13425 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13426 compilation-error-regexp-alist void, or local while let-bound.
13427
13428 * progmodes/make-mode.el (makefile-mode-syntax-table):
13429 Treat "=" as punctuation. (Bug#14614)
13430
13431 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
13432
13433 * help-fns.el (describe-variable):
13434 Add extra line for permanent-local variables.
13435
13436 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
13437
13438 * progmodes/scheme.el (scheme-font-lock-keywords-2):
13439 Add export, import, library. (Bug#9164)
13440 (library): Set indent function.
13441
13442 2013-06-14 Glenn Morris <rgm@gnu.org>
13443
13444 * term/xterm.el (xterm--query):
13445 Stop after first matching handler. (Bug#14615)
13446
13447 2013-06-14 Ivan Kanis <ivan@kanis.fr>
13448
13449 Add support for dired in saveplace.
13450 * dired.el (dired-initial-position-hook): New variable.
13451 (dired-initial-position): Call hook to place cursor position.
13452 * saveplace.el (save-place-to-alist): Add dired position.
13453 (save-place-dired-hook): New function.
13454
13455 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
13456
13457 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13458 through a symbol rather than letrec.
13459
13460 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
13461 (package-desc): Add `dir' field.
13462 (package-desc-full-name): New function.
13463 (package-load-descriptor): Combine the two arguments. Don't use `load'.
13464 (package-maybe-load-descriptor): Remove.
13465 (package-load-all-descriptors): Just call package-load-descriptor.
13466 (package--disabled-p): New function.
13467 (package-desc-vers, package-desc-doc): Remove aliases.
13468 (package--dir): Remove function.
13469 (package-activate): Check if a package is disabled.
13470 (package-process-define-package): New function, extracted from
13471 define-package.
13472 (define-package): Turn into a place holder.
13473 (package-unpack-single, package-tar-file-info):
13474 Use package--description-file.
13475 (package-compute-transaction): Use package--disabled-p.
13476 (package-download-transaction): Don't call
13477 package-maybe-load-descriptor since they're all loaded anyway.
13478 (package-install): Change argument to be a pkg-desc.
13479 (package-delete): Use a single pkg-desc argument.
13480 (describe-package-1): Use package-desc-dir instead of package--dir.
13481 Use package-desc property instead of package-symbol.
13482 (package-install-button-action): Adjust accordingly.
13483 (package--push): Rewrite.
13484 (package-menu--print-info): Adjust accordingly. Change the ID format
13485 to be a pkg-desc.
13486 (package-menu-describe-package, package-menu-get-status)
13487 (package-menu--find-upgrades, package-menu-mark-upgrades)
13488 (package-menu-execute, package-menu--name-predicate):
13489 Adjust accordingly.
13490 * startup.el (package--description-file): New function.
13491 (command-line): Use it.
13492 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13493 Use package-desc-version.
13494
13495 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13496 (byte-compile-preprocess): Use it.
13497 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13498 can't quite recognize.
13499 (byte-compile-add-to-list): Remove.
13500 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13501 (cconv-closure-convert): Add assertion.
13502
13503 * emacs-lisp/map-ynp.el: Use lexical-binding.
13504 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13505 Factor out some repeated code.
13506
13507 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13508
13509 * subr.el (with-eval-after-load): New macro.
13510 (eval-after-load): Allow form to be a function.
13511 take advantage of lexical-binding.
13512 (do-after-load-evaluation): Use dolist and adjust to new format.
13513 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13514
13515 2013-06-13 Juri Linkov <juri@jurta.org>
13516
13517 * replace.el (perform-replace): Display "symbol " and other search
13518 modes from `isearch-message-prefix' in the *Help* buffer.
13519
13520 * isearch.el (isearch-query-replace): Add " symbol" and other
13521 possible search modes from `isearch-message-prefix' to the prompt.
13522 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13523 when reading a regexp to collect.
13524
13525 2013-06-13 Juri Linkov <juri@jurta.org>
13526
13527 * isearch.el (word-search-regexp): Match whitespace if the search
13528 string begins or ends in whitespace. The LAX arg is applied to
13529 both ends of the search string. Use `regexp-quote' and explicit
13530 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13531 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13532 boundaries are replaced with symbol boundaries, and characters
13533 between symbols match non-word non-symbol syntax. (Bug#14602)
13534
13535 2013-06-13 Juri Linkov <juri@jurta.org>
13536
13537 * isearch.el (isearch-del-char): Don't exceed the length of
13538 `isearch-string' by the prefix arg. (Bug#14563)
13539
13540 2013-06-13 Juri Linkov <juri@jurta.org>
13541
13542 * isearch.el (isearch-yank-word, isearch-yank-line)
13543 (isearch-char-by-name, isearch-quote-char)
13544 (isearch-printing-char, isearch-process-search-char):
13545 Add optional count prefix arg. (Bug#14563)
13546
13547 * international/isearch-x.el
13548 (isearch-process-search-multibyte-characters):
13549 Add optional count prefix arg.
13550
13551 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13552
13553 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13554 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13555 lexical-binding.
13556
13557 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13558
13559 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13560
13561 2013-06-13 Glenn Morris <rgm@gnu.org>
13562
13563 * startup.el (tty-handle-args):
13564 Don't just discard "--" and anything after. (Bug#14608)
13565
13566 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13567
13568 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13569
13570 Implement changes in Secret Service API. Make it backward compatible.
13571 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13572 (secrets-create-item): Use it. Prefix properties with interface.
13573
13574 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13575
13576 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13577 (term-emulate-terminal): Respect term-suppress-hard-newline.
13578
13579 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13580
13581 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13582 Only remove a `thumb-file' overlay. (Bug#14548)
13583
13584 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13585
13586 * mail/reporter.el (reporter-submit-bug-report):
13587 Handle missing package-name. (Bug#14600)
13588
13589 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13590
13591 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13592 (reftex-citation-prompt, reftex-default-bibliography)
13593 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13594 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13595 (reftex-bib-sort-author, reftex-bib-sort-year)
13596 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13597 (reftex-extract-bib-entries-from-thebibliography)
13598 (reftex-get-bibkey-default, reftex-get-bib-names)
13599 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13600 (reftex-format-bib-entry, reftex-parse-bibitem)
13601 (reftex-format-bibitem, reftex-do-citation)
13602 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13603 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13604 (reftex-insert-bib-matches, reftex-format-citation)
13605 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13606 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13607 existing comments into docstrings.
13608
13609 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13610
13611 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13612
13613 2013-06-12 Andreas Schwab <schwab@suse.de>
13614
13615 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13616 for auto-save files.
13617
13618 2013-06-12 Glenn Morris <rgm@gnu.org>
13619
13620 * ido.el (ido-delete-ignored-files): Remove.
13621 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13622 Go back to calling ido-ignore-item-p directly.
13623
13624 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13625
13626 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13627
13628 * ido.el (ido-delete-ignored-files): New function,
13629 split from ido-make-file-list-1.
13630 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13631 (ido-make-file-list-1): Use ido-delete-ignored-files.
13632
13633 2013-06-12 Leo Liu <sdl.web@gmail.com>
13634
13635 * progmodes/octave.el (inferior-octave-startup)
13636 (inferior-octave-completion-table)
13637 (inferior-octave-track-window-width-change)
13638 (octave-eldoc-function-signatures, octave-help)
13639 (octave-find-definition): Use single quoted strings.
13640 (inferior-octave-startup-args): Change default value.
13641 (inferior-octave-startup): Do not hard code "-i" and
13642 "--no-line-editing".
13643 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13644 (inferior-octave-directory-tracker): Use it.
13645 (octave-goto-function-definition): Robustify.
13646 (octave-help): Support highlighting operators in 'See also'.
13647 (octave-find-definition): Find subfunctions only in Octave mode.
13648
13649 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13650
13651 * help-fns.el (help-fns--compiler-macro): If the handler function is
13652 named, then put a link to it.
13653 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13654 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13655 (cl-typep): Use it.
13656 (cl-eval-when): Simplify debug spec.
13657 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13658 compiler-macro function instead of setting `compiler-macro-file'.
13659
13660 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13661
13662 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13663 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13664
13665 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13666 Daniel Hackney <dan@haxney.org>
13667
13668 First part of Daniel Hackney's patch to package.el.
13669 * emacs-lisp/package.el: Use defstruct.
13670 (package-desc): New, main struct.
13671 (package--bi-desc, package--ac-desc): New structs, used to describe the
13672 format in external files.
13673 (package-desc-vers): Replace with package-desc-version accessor.
13674 (package-desc-doc): Replace with package-desc-summary accessor.
13675 (package-activate-1): Remove `package' arg since the pkg-vec now
13676 includes the name.
13677 (define-package): Use package-desc-from-define.
13678 (package-unpack-single): Change file-name arg to be a symbol.
13679 (package--add-to-archive-contents): Use package-desc-create and new
13680 accessor functions to package--ac-desc.
13681 (package-buffer-info, package-tar-file-info): Return a package-desc.
13682 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13683 arg to be a package-desc.
13684 (package-install-file): Adjust accordingly. Use \' to match EOS.
13685 (package--from-builtin): New function.
13686 (describe-package-1, package-menu--generate): Use it.
13687 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13688 (package-generate-autoloads): Idem and return the name of the file.
13689 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13690 Change pkg-info arg to be a package-desc.
13691 Use package-make-ac-desc.
13692 (package-upload-file): Use \' to match EOS.
13693 * finder.el (finder-compile-keywords): Use package-make-builtin.
13694
13695 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13696
13697 * vc/vc.el (vc-deduce-fileset): Change error message.
13698 (vc-read-backend): New function.
13699 (vc-next-action): Use it.
13700
13701 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13702
13703 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13704 (prolog-font-lock-keywords): Use regexp-opt instead.
13705 Don't manually highlight strings.
13706 (prolog-mode-variables): Simplify comment-start-skip.
13707 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13708
13709 * emacs-lisp/generic.el (generic--normalise-comments)
13710 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13711 (generic-mode-set-comments): Use them.
13712 (generic-bracket-support): Use setq-local.
13713 (generic-make-keywords-list): Declare obsolete.
13714
13715 2013-06-11 Glenn Morris <rgm@gnu.org>
13716
13717 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13718 Prettify after setting font-lock-defaults. (Bug#14574)
13719
13720 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13721
13722 * replace.el (query-replace, occur-read-regexp-defaults-function)
13723 (replace-search):
13724 * subr.el (declare-function, number-sequence, local-set-key)
13725 (substitute-key-definition, locate-user-emacs-file)
13726 (with-silent-modifications, split-string, eval-after-load):
13727 Fix typos, remove unneeded backslashes and reflow some docstrings.
13728
13729 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13730
13731 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13732 default for Elisp files.
13733
13734 2013-06-11 Glenn Morris <rgm@gnu.org>
13735
13736 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13737 although define-derived-mode was doing this anyway. (Bug#14583)
13738
13739 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13740
13741 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13742 Fix make-variable-buffer-local call to refer to the correct variable.
13743
13744 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13745
13746 * eshell/em-term.el (eshell-visual-commands)
13747 (eshell-visual-subcommands, eshell-visual-options):
13748 Add summary line to docstrings. Add cross-references.
13749
13750 2013-06-10 Glenn Morris <rgm@gnu.org>
13751
13752 * epa.el (epa-read-file-name): New function. (Bug#14510)
13753 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13754
13755 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13756
13757 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13758 output redirection to be ignored with visual commands.
13759
13760 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13761
13762 * eshell/em-term.el (eshell-visual-command-p): New function.
13763 (eshell-term-initialize): Move long lambda to separate function
13764 eshell-visual-command-p.
13765 * eshell/em-dirs.el (eshell-dirs-initialize):
13766 * eshell/em-script.el (eshell-script-initialize):
13767 Add missing #' to lambda.
13768
13769 2013-06-08 Leo Liu <sdl.web@gmail.com>
13770
13771 * progmodes/octave.el (octave-add-log-current-defun): New function.
13772 (octave-mode): Set add-log-current-defun-function.
13773 (octave-goto-function-definition): Do not move point if not found.
13774 (octave-find-definition): Enhance to try subfunctions first.
13775
13776 2013-06-08 Glenn Morris <rgm@gnu.org>
13777
13778 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13779 (byte-compile-backward-char, byte-compile-backward-word):
13780 Improve previous change, to handle non-explicit nil.
13781
13782 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13783
13784 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13785 (smie--opener/closer-at-point): New function.
13786 (smie--matching-block-data): Use it. Don't match from right after an
13787 opener or right before a closer. Obey smie-blink-matching-inners.
13788 Don't signal a mismatch for repeated inners like "switch..case..case".
13789
13790 2013-06-07 Leo Liu <sdl.web@gmail.com>
13791
13792 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13793 to t. (Bug#14303)
13794 (octave-function-header-regexp): Fix. (Bug#14570)
13795 (octave-help-mode-finish-hook, octave-help-mode-finish):
13796 Remove. Just use temp-buffer-show-hook.
13797
13798 * newcomment.el (comment-search-backward): Revert last change.
13799 (Bug#14434)
13800
13801 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13802
13803 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13804
13805 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13806 through xargs, to avoid failure due to MS-Windows limitations on
13807 command-line length.
13808
13809 2013-06-06 Glenn Morris <rgm@gnu.org>
13810
13811 * font-lock.el (lisp-font-lock-keywords-2):
13812 Treat user-error like error.
13813
13814 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13815 (byte-compile-backward-char, byte-compile-backward-word):
13816 Handle explicit nil arguments. (Bug#14565)
13817
13818 2013-06-05 Alan Mackenzie <acm@muc.de>
13819
13820 * isearch.el (isearch-allow-prefix): New user option.
13821 (isearch-other-meta-char): Don't exit isearch when a prefix
13822 argument is typed whilst `isearch-allow-prefix' is non-nil.
13823 (Bug#9706)
13824
13825 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13826
13827 * autorevert.el (auto-revert-notify-handler): Use memq.
13828 Hide assertion failure.
13829
13830 * skeleton.el: Use cl-lib.
13831 (skeleton-further-elements): Use defvar-local.
13832 (skeleton-insert): Use cl-progv.
13833
13834 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13835
13836 * progmodes/prog-mode.el (prog-prettify-symbols)
13837 (prog-prettify-install): Update docstrings.
13838
13839 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13840
13841 * simple.el: Move all the prog-mode code to prog-mode.el.
13842 * progmodes/prog-mode.el: New file.
13843 * loadup.el: Add prog-mode.el.
13844
13845 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13846
13847 * simple.el (prog-prettify-symbols): Add version.
13848 (prog-prettify-install): Add convenience function to prettify symbols.
13849
13850 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13851 (perl--augmented-font-lock-keywords-1)
13852 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13853 variables and use it.
13854
13855 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13856 (cfengine3-mode): Remove unneeded variable and use it.
13857
13858 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13859 (lisp--augmented-font-lock-keywords-1)
13860 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13861 Remove unneeded variables and use it.
13862
13863 2013-06-05 João Távora <joaotavora@gmail.com>
13864
13865 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13866 to point when opening the connection. (Bug#14380)
13867
13868 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13869
13870 * subr.el (load-history-regexp, load-history-filename-element)
13871 (eval-after-load, after-load-functions, do-after-load-evaluation)
13872 (eval-next-after-load, display-delayed-warnings)
13873 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13874 definition of save-match-data.
13875 (overriding-local-map): Remove accidental obsolescence declaration.
13876
13877 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13878
13879 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13880
13881 Generalize symbol prettify support to prog-mode and implement it
13882 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13883 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13884 (prog--prettify-font-lock-compose-symbol)
13885 (prog-prettify-font-lock-symbols-keywords): New variables and
13886 functions to support symbol prettification.
13887 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13888 (lisp--augmented-font-lock-keywords-1)
13889 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13890 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13891 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13892 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13893 Implement prettify of -> => :: strings.
13894 * progmodes/perl-mode.el (perl-prettify-symbols)
13895 (perl--font-lock-compose-symbol)
13896 (perl--font-lock-symbols-keywords): Move to prog-mode.
13897 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13898 (perl-font-lock-keywords-1)
13899 (perl-font-lock-keywords-2): Remove explicit prettify support.
13900 (perl--augmented-font-lock-keywords)
13901 (perl--augmented-font-lock-keywords-1)
13902 (perl--augmented-font-lock-keywords-2, perl-mode):
13903 Implement prettify support.
13904
13905 2013-06-05 Leo Liu <sdl.web@gmail.com>
13906
13907 Re-implement SMIE matching block highlight using
13908 show-paren-data-function. (Bug#14395)
13909 * emacs-lisp/smie.el (smie-matching-block-highlight)
13910 (smie--highlight-matching-block-overlay)
13911 (smie--highlight-matching-block-lastpos)
13912 (smie-highlight-matching-block)
13913 (smie-highlight-matching-block-mode): Remove.
13914 (smie--matching-block-data-cache): New variable.
13915 (smie--matching-block-data): New function.
13916 (smie-setup): Use smie--matching-block-data for
13917 show-paren-data-function.
13918
13919 * progmodes/octave.el (octave-mode-menu): Fix.
13920 (octave-find-definition): Skip garbage lines.
13921
13922 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13923
13924 Fix compilation error with simultaneous dynamic+lexical scoping.
13925 Add warning when a defvar appears after the first let-binding.
13926 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13927 (byte-compile-close-variables): Initialize it.
13928 (byte-compile--declare-var): New function.
13929 (byte-compile-file-form-defvar)
13930 (byte-compile-file-form-define-abbrev-table)
13931 (byte-compile-file-form-custom-declare-variable): Use it.
13932 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13933 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13934 (byte-compile-bind): Handle dynamic bindings that shadow
13935 lexical bindings.
13936 (byte-compile-unbind): Make arg non-optional.
13937 (byte-compile-let): Simplify.
13938 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13939 (cconv--analyse-function, cconv-analyse-form): Populate it.
13940 Protect byte-compile-bound-variables to limit the scope of defvars.
13941 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13942 Remove unneeded rule for `declare'.
13943
13944 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13945 so as to avoid depending on cl-adjoin at run-time.
13946 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13947
13948 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13949 (macroexp--warn-and-return): Use it.
13950
13951 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13952
13953 * subr.el: Convert to lexical binding.
13954 (overriding-local-map): Make obsolete.
13955 (add-to-list): Doc fix. Add compiler macro.
13956 (read-key): Swap values of local maps.
13957
13958 2013-06-05 Leo Liu <sdl.web@gmail.com>
13959
13960 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13961
13962 2013-06-04 Leo Liu <sdl.web@gmail.com>
13963
13964 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13965 (compilation-auto-jump): Suppress the "Mark set" message to give
13966 way to exit message.
13967
13968 2013-06-04 Alan Mackenzie <acm@muc.de>
13969
13970 Remove faulty optimisation from indentation calculation.
13971 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13972 search limit based on 2000 characters back from indent-point.
13973
13974 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13975
13976 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13977
13978 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13979
13980 * emacs-lisp/lisp.el: Use lexical-binding.
13981 (lisp--local-variables-1, lisp--local-variables): New functions.
13982 (lisp--local-variables-completion-table): New var.
13983 (lisp-completion-at-point): Use it complete let-bound vars.
13984
13985 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13986 eagerly (bug#14422).
13987
13988 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13989
13990 * autorevert.el (auto-revert-notify-enabled)
13991 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13992 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13993 (auto-revert-notify-handler): Handle also gfilenotify.
13994
13995 * subr.el (file-notify-handle-event): New defun. Replacing ...
13996 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13997 Remove.
13998
13999 2013-06-03 Juri Linkov <juri@jurta.org>
14000
14001 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
14002 `M-s h .'. (Bug#14427)
14003
14004 * hi-lock.el (highlight-symbol-at-point): New alias for the new
14005 command `hi-lock-face-symbol-at-point'.
14006 (hi-lock-face-symbol-at-point): New command.
14007 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
14008 (hi-lock-menu): Add `highlight-symbol-at-point'.
14009 (hi-lock-mode): Doc fix.
14010
14011 * isearch.el (isearch-forward-symbol-at-point): New command.
14012 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
14013 (isearch-highlight-regexp): Add a regexp which matches
14014 words/symbols for word/symbol mode.
14015
14016 * subr.el (find-tag-default-bounds): New function with the body
14017 mostly moved from `find-tag-default'.
14018 (find-tag-default): Move most code to `find-tag-default-bounds',
14019 call it and apply `buffer-substring-no-properties' afterwards.
14020
14021 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14022
14023 * eshell/em-term.el (eshell-term-initialize):
14024 Use `cl-intersection' rather than `intersection'.
14025
14026 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
14027
14028 * vc/log-view.el: Doc fix.
14029 (log-view-mode-map): Copy keymap from `special-mode-map'.
14030
14031 2013-06-02 Eric Ludlam <zappo@gnu.org>
14032
14033 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
14034 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
14035 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
14036 (eieio-unbound, eieio-default-superclass)
14037 (eieio--define-field-accessors, method-static, method-before)
14038 (method-primary, method-after, method-num-lists)
14039 (method-generic-before, method-generic-primary)
14040 (method-generic-after, method-num-slots)
14041 (eieio-specialized-key-to-generic-key)
14042 (eieio--check-type, class-v, class-p)
14043 (eieio-class-name, define-obsolete-function-alias)
14044 (eieio-class-parents-fast, eieio-class-children-fast)
14045 (same-class-fast-p, class-constructor, generic-p)
14046 (generic-primary-only-p, generic-primary-only-one-p)
14047 (class-option-assoc, class-option, eieio-object-p)
14048 (class-abstract-p, class-method-invocation-order)
14049 (eieio-defclass-autoload-map, eieio-defclass-autoload)
14050 (eieio-class-un-autoload, eieio-defclass)
14051 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
14052 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
14053 (eieio--defgeneric-init-form, eieio-defgeneric-form)
14054 (eieio-defgeneric-reset-generic-form)
14055 (eieio-defgeneric-form-primary-only)
14056 (eieio-defgeneric-reset-generic-form-primary-only)
14057 (eieio-defgeneric-form-primary-only-one)
14058 (eieio-defgeneric-reset-generic-form-primary-only-one)
14059 (eieio-unbind-method-implementations)
14060 (eieio--defmethod, eieio--typep)
14061 (eieio-perform-slot-validation, eieio-validate-slot-value)
14062 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
14063 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
14064 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
14065 (eieio-slot-name-index, eieio-class-slot-name-index)
14066 (eieio-set-defaults, eieio-initarg-to-attribute)
14067 (eieio-attribute-to-initarg, eieio-c3-candidate)
14068 (eieio-c3-merge-lists, eieio-class-precedence-c3)
14069 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
14070 (eieio-class-precedence-list, eieio-generic-call-methodname)
14071 (eieio-generic-call-arglst, eieio-generic-call-key)
14072 (eieio-generic-call-next-method-list)
14073 (eieio-pre-method-execution-functions, eieio-generic-call)
14074 (eieio-generic-call-primary-only, eieiomt-method-list)
14075 (eieiomt-optimizing-obarray, eieiomt-install)
14076 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
14077 (eieio-generic-form, eieio-defmethod, make-obsolete)
14078 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
14079 (defclass): Remove `eval-and-compile' from macro.
14080 (call-next-method, shared-initialize): Instead of using
14081 `scoped-class' variable, use new eieio--scoped-class, and
14082 eieio--with-scoped-class.
14083 (initialize-instance): Rename local variable 'scoped-class' to
14084 'this-class' to remove ambiguitity from old global.
14085
14086 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
14087 eieio.el.
14088 (eieio--scoped-class-stack): New variable.
14089 (eieio--scoped-class): New fcn.
14090 (eieio--with-scoped-class): New scoping macro.
14091 (eieio-defclass): Use pushnew instead of add-to-list.
14092 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
14093 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
14094 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
14095 `scoped-class' variable, use new eieio--scoped-class, and
14096 eieio--with-scoped-class.
14097
14098 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
14099
14100 2013-06-02 Tassilo Horn <tsdh@gnu.org>
14101
14102 * eshell/esh-ext.el (eshell-external-command): Pass args to
14103 `eshell-find-interpreter'.
14104 (eshell-find-interpreter): Add new second parameter ARGS.
14105
14106 * eshell/em-script.el (eshell-script-initialize): Add second arg
14107 to the function added as MATCH to `eshell-interpreter-alist'.
14108
14109 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
14110 the function added as MATCH to `eshell-interpreter-alist'.
14111
14112 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
14113 (eshell-visual-options): New defcustom.
14114 (eshell-escape-control-x): Adapt docstring.
14115 (eshell-term-initialize): Test `eshell-visual-subcommands' and
14116 `eshell-visual-options' in addition to `eshell-visual-commands'.
14117 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
14118
14119 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
14120
14121 * progmodes/python.el (python-indent-block-enders): Add break,
14122 continue and raise keywords.
14123
14124 2013-06-01 Glenn Morris <rgm@gnu.org>
14125
14126 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
14127
14128 Plain (f)boundp silences compilation warnings since Emacs 22.1.
14129 * progmodes/cc-cmds.el (delete-forward-p):
14130 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
14131 * progmodes/cc-engine.el (buffer-syntactic-context):
14132 * progmodes/cc-fonts.el (face-property-instance):
14133 * progmodes/cc-mode.el (set-keymap-parents):
14134 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
14135 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
14136 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
14137 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
14138 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
14139
14140 * progmodes/cc-vars.el (other): Emacs has this widget since
14141 at least 21.1, so don't (re)define it.
14142
14143 * eshell/em-cmpl.el (eshell-cmpl-initialize):
14144 Replace the obsolete alias pcomplete-arg-quote-list.
14145
14146 2013-06-01 Leo Liu <sdl.web@gmail.com>
14147
14148 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
14149 punctuation syntax.
14150 (inferior-octave-minimal-columns)
14151 (inferior-octave-last-column-width): New variables.
14152 (inferior-octave-track-window-width-change): New function.
14153 (inferior-octave-mode): Adjust column width so that Octave output,
14154 for example from 'ls', can fit into the window nicely.
14155
14156 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14157
14158 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14159 Highlight expansions inside regexp literals.
14160
14161 2013-05-31 Glenn Morris <rgm@gnu.org>
14162
14163 * obsolete/sym-comp.el (symbol-complete):
14164 Replace obsolete completion-annotate-function.
14165
14166 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
14167
14168 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14169
14170 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14171 New function, checks if point is inside a literal that allows
14172 expression expansion.
14173 (ruby-syntax-propertize-expansion): Use it.
14174 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
14175 around the body.
14176
14177 2013-05-30 Juri Linkov <juri@jurta.org>
14178
14179 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
14180 to "\M-si".
14181 (isearch-invisible): New variable.
14182 (isearch-forward): Doc fix.
14183 (isearch-mode): Set `isearch-invisible'
14184 to the value of `search-invisible'.
14185 (isearch-toggle-case-fold): Doc fix.
14186 (isearch-toggle-invisible): New command.
14187 (isearch-query-replace): Let-bind `search-invisible'
14188 to the value of `isearch-invisible'.
14189 (isearch-search): Use `isearch-invisible' instead of
14190 `search-invisible'. Let-bind `search-invisible'
14191 to the value of `isearch-invisible'. (Bug#11378)
14192
14193 2013-05-30 Juri Linkov <juri@jurta.org>
14194
14195 * replace.el (perform-replace): Avoid `isearch-range-invisible'
14196 call when `query-flag' is nil and `search-invisible' is non-nil.
14197 (Bug#11746)
14198
14199 2013-05-30 Glenn Morris <rgm@gnu.org>
14200
14201 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
14202
14203 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
14204 (cc-require): Suppress spurious "noruntime" warnings.
14205 (cc-require-when-compile): Use fboundp, for sake of compiler.
14206
14207 * progmodes/cc-mode.el: Move load of cc-vars before that of
14208 cc-langs (which in turn loads cc-vars), to quieten compiler.
14209
14210 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14211
14212 * paren.el: Simplify the code.
14213 (show-paren-mode): Always start the timer.
14214 (show-paren--idle-timer): Rename from show-paren-idle-timer.
14215 (show-paren--overlay, show-paren--overlay-1): Rename from
14216 show-paren-overlay and show-paren-overlay-1, and initialize to an
14217 overlay rather than to nil.
14218 (show-paren-function): Misc cleanup and simplifications.
14219
14220 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14221
14222 * paren.el (show-paren-data-function): New hook.
14223 (show-paren--default): New function, extracted from show-paren-function.
14224 (show-paren-function): Use show-paren-data-function.
14225
14226 2013-05-30 Glenn Morris <rgm@gnu.org>
14227
14228 * ielm.el (ielm-map, ielm-complete-symbol):
14229 Use completion-at-point rather than obsolete functions.
14230 (inferior-emacs-lisp-mode): Doc fix.
14231 Set completion-at-point-functions, rather than
14232 comint-dynamic-complete-functions.
14233
14234 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
14235 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
14236 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
14237
14238 * image.el (image-animated-p): Tweak definition.
14239
14240 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
14241 (rlogin-process-connection-type): Tweak default. Add set-after.
14242 (rlogin-host): Doc fix.
14243 (rlogin): Tweak prompt.
14244 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
14245
14246 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
14247 * progmodes/tcl.el (inferior-tcl-mode-map):
14248 Use completion-at-point rather than obsolete alias.
14249
14250 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
14251
14252 * minibuffer.el (read-file-name-completion-ignore-case):
14253 Move before completion--in-region, for eager macro expansion.
14254
14255 2013-05-29 Juri Linkov <juri@jurta.org>
14256
14257 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
14258 for total count of matching lines. Add `global-matches' for total
14259 count of matches. Rename `matches' to `lines' for count of
14260 matching lines. Add `matches' for count of matches.
14261 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
14262 to `prev-line' for line number of prev match endpt.
14263 Increment `matches' for every match. Print the number of
14264 matching lines in the header.
14265 (occur-context-lines): Rename `lines' to `curr-line'.
14266 Rename `prev-lines' to `prev-line'. (Bug#14017)
14267
14268 2013-05-29 Juri Linkov <juri@jurta.org>
14269
14270 * replace.el (perform-replace): Add `skip-read-only-count',
14271 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
14272 Increment them for corresponding conditions and report the number
14273 of skipped occurrences in the final message. (Bug#11746)
14274 (query-replace, query-replace-regexp, query-replace-regexp-eval)
14275 (replace-string, replace-regexp): Doc fix.
14276
14277 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14278
14279 * emacs-lisp/trace.el (trace--read-args): Provide a default.
14280
14281 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
14282 prog-mode-map (bug#14504).
14283
14284 2013-05-29 Leo Liu <sdl.web@gmail.com>
14285
14286 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
14287 (octave-help): Small simplification.
14288
14289 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
14290 off the highlight first.
14291
14292 2013-05-29 Glenn Morris <rgm@gnu.org>
14293
14294 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
14295 Handle idlwave-last-system-routine-info-cons-cell being nil.
14296
14297 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14298 (idlwave-write-paths): Simplify via with-temp-buffer.
14299
14300 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
14301 * emulation/cua-rect.el: Also load cua-base at run time.
14302
14303 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
14304 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
14305 (cperl-imenu-on-info): Require imenu.
14306
14307 2013-05-28 Alan Mackenzie <acm@muc.de>
14308
14309 Handle "capitalised keywords" correctly.
14310 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
14311
14312 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
14313
14314 * eshell/em-unix.el: Add -r option to cp.
14315
14316 2013-05-28 Glenn Morris <rgm@gnu.org>
14317
14318 * vc/vc-arch.el (vc-exec-after): Declare.
14319 (vc-switches): Autoload.
14320 * vc/vc-bzr.el: No need to require vc when compiling.
14321 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
14322 (vc-resynch-buffer, vc-dir-refresh): Declare.
14323 (vc-setup-buffer, vc-switches): Autoload.
14324 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
14325 (vc-resynch-buffer): Declare.
14326 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
14327 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
14328 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
14329 (grep-read-regexp, grep-read-files, grep-expand-template)
14330 (vc-dir-refresh): Declare.
14331 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
14332 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
14333 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
14334 * vc/vc-mtn.el (vc-exec-after): Declare.
14335 (vc-switches): Autoload.
14336 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
14337 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
14338 (vc-file-tree-walk): Declare.
14339 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
14340 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
14341 (vc-tag-precondition, vc-rename-master): Autoload.
14342 * vc/vc-svn.el (vc-exec-after): Declare.
14343 (vc-switches, vc-setup-buffer): Autoload.
14344 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
14345 Autoload.
14346 (vc-resynch-buffer): Declare.
14347
14348 * obsolete/fast-lock.el (byte-compile-warnings):
14349 Don't warn about obsolete features in this obsolete file.
14350
14351 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
14352 Move definition before use.
14353
14354 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
14355 (dun-unix-verbs): Remove dun-zippy.
14356 (dun-zippy): Remove function.
14357
14358 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
14359
14360 2013-05-27 Juri Linkov <juri@jurta.org>
14361
14362 * replace.el (replace-search): New function with code moved out
14363 from `perform-replace'.
14364 (replace-highlight, replace-dehighlight): Move function definitions
14365 up closer to `replace-search'. (Bug#11746)
14366
14367 2013-05-27 Juri Linkov <juri@jurta.org>
14368
14369 * replace.el (perform-replace): Ignore invisible matches.
14370 In addition to checking `query-replace-skip-read-only', also
14371 filter out matches by calling `run-hook-with-args-until-failure'
14372 on `isearch-filter-predicates', and also check `search-invisible'
14373 for t or call `isearch-range-invisible'.
14374 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
14375
14376 2013-05-27 Juri Linkov <juri@jurta.org>
14377
14378 * isearch.el (isearch-filter-predicates): Rename from
14379 `isearch-filter-predicate'. Doc fix. (Bug#11378)
14380 (isearch-message-prefix): Display text from the property
14381 `isearch-message-prefix' of the currently active filters.
14382 (isearch-search): Don't compare `isearch-filter-predicate' with
14383 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
14384 on `isearch-filter-predicates'. Also check `search-invisible' for t
14385 or call `isearch-range-invisible'.
14386 (isearch-filter-visible): Make obsolete.
14387 (isearch-lazy-highlight-search):
14388 Call `run-hook-with-args-until-failure' on
14389 `isearch-filter-predicates' and use `isearch-range-invisible'.
14390
14391 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14392 `isearch-filter-predicates' instead of `funcall'ing
14393 `isearch-filter-predicate'.
14394 (Info-mode): Set `Info-isearch-filter' to
14395 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14396
14397 * dired-aux.el (dired-isearch-filter-predicate-orig):
14398 Remove variable.
14399 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14400 (dired-isearch-filenames-end): Add and remove
14401 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14402 instead of changing the value of `isearch-filter-predicate'.
14403 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14404 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14405 Put property `isearch-message-prefix' to "filename " on
14406 `dired-isearch-filter-filenames'.
14407
14408 * wdired.el (wdired-change-to-wdired-mode):
14409 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14410 locally instead of changing `isearch-filter-predicate'.
14411 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14412
14413 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
14414
14415 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14416 return the commit hash (Bug#14459). Also set the
14417 `vc-git-detached' property.
14418 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14419 (vc-git-mode-line-string): Use the same help-echo format whether
14420 in detached mode or not, because we know the actual revision now.
14421 When in detached mode, shorten the revision to 7 chars.
14422
14423 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14424
14425 * emacs-lisp/easy-mmode.el (define-minor-mode):
14426 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14427 mode hook and provide a docstring.
14428
14429 2013-05-27 Alan Mackenzie <acm@muc.de>
14430
14431 Remove spurious syntax-table text properties inserted by C-y.
14432 * progmodes/cc-mode.el (c-after-change): Also clear hard
14433 syntax-table property with value nil.
14434
14435 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
14436
14437 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14438 when reading the events; the buffer layout shall not be changed.
14439
14440 2013-05-27 Leo Liu <sdl.web@gmail.com>
14441
14442 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14443 New variable.
14444 (inferior-octave-directory-tracker): Automatically re-sync
14445 default-directory.
14446 (octave-help): Improve handling of 'See also'.
14447
14448 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14449
14450 * doc-view.el: Minor naming convention tweaks.
14451 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14452
14453 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14454 even if there's no `display' property yet (bug#14435).
14455
14456 2013-05-25 Eli Zaretskii <eliz@gnu.org>
14457
14458 * subr.el (unmsys--file-name): Rename from reveal-filename.
14459
14460 * Makefile.in (custom-deps, finder-data, autoloads)
14461 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14462 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14463 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14464
14465 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14466
14467 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14468 error-completion on the first 2 args of condition-case (bug#14446).
14469 Don't burp at EOB.
14470
14471 2013-05-25 Leo Liu <sdl.web@gmail.com>
14472
14473 * comint.el (comint-previous-matching-input): Do not flood the
14474 *Messages* buffer with trivial messages.
14475
14476 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14477
14478 * progmodes/flymake.el (flymake-nop): Don't return a string.
14479 (flymake-set-at): Fix typo.
14480
14481 * simple.el (read--expression): New function, extracted from
14482 eval-expression. Set completion-at-point-functions (bug#14465).
14483 (eval-expression, eval-minibuffer): Use it.
14484
14485 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
14486
14487 * progmodes/flymake.el (flymake-save-buffer-in-file)
14488 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14489 (flymake-selected-frame, flymake-log, flymake-ins-after)
14490 (flymake-set-at, flymake-get-buildfile-from-cache)
14491 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14492 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14493 Refine the doc string.
14494 (flymake-get-file-name-mode-and-masks): Reformat.
14495 (flymake-get-real-file-name-function): Fix a minor bug.
14496
14497 2013-05-24 Juri Linkov <juri@jurta.org>
14498
14499 * progmodes/grep.el (grep-mode-font-lock-keywords):
14500 Support =linenumber= format used by git-grep for lines with
14501 function names. (Bug#13549)
14502
14503 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14504
14505 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14506 0 after a semi-colon; it works better for smie-auto-fill.
14507 (octave--indent-new-comment-line): New function.
14508 (octave-indent-new-comment-line): Use it (indirectly).
14509 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14510 modify comment-line-break-function.
14511
14512 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14513 (smie-setup): Use add-function to set it.
14514
14515 2013-05-24 Sam Steingold <sds@gnu.org>
14516
14517 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14518 argument (before the `interactive' argument).
14519
14520 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14521
14522 * image-mode.el (image-mode-winprops): Add winprops to
14523 image-mode-winprops-alist before running
14524 image-mode-new-window-functions.
14525 * doc-view.el (doc-view-new-window-function): Don't delay
14526 doc-view-goto-page via timers (bug#14435).
14527
14528 2013-05-24 Tassilo Horn <tsdh@gnu.org>
14529
14530 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14531 (doc-view-desktop-save-buffer): New function.
14532 (doc-view-restore-desktop-buffer): New function.
14533 (desktop-buffer-mode-handlers):
14534 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14535 handler.
14536 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14537 `desktop-save-buffer' function.
14538
14539 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
14540
14541 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14542 (tramp-gvfs-file-name-handler): Raise a user error when
14543 `tramp-gvfs-enabled' is nil.
14544 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14545 Do not raise a user error when loading package. (Bug#14447)
14546
14547 * net/xesam.el: Move to obsolete/.
14548
14549 2013-05-24 Glenn Morris <rgm@gnu.org>
14550
14551 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14552
14553 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14554
14555 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14556 (Info-find-node, Man-getpage-in-background): Declare.
14557
14558 * mail/unrmail.el (unrmail):
14559 Replace obsolete detect-coding-with-priority.
14560
14561 * net/socks.el (socks-split-string): Use this rather than split-string.
14562 (socks-nslookup-host): Update for above change.
14563 (dynamic-choice, s5-dynamic-choice-match)
14564 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14565 Comment out unused code.
14566
14567 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14568 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14569 (gud-tooltip-echo-area): Make obsolete.
14570 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14571
14572 * progmodes/js.el (js--optimize-arglist): Declare.
14573
14574 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14575
14576 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14577 (ediff-window-C): Declare.
14578
14579 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14580 Tweak requires to silence compiler.
14581
14582 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14583 (he-search-string, he-tried-table, he-expand-list)
14584 (he-init-string, he-string-member, he-substitute-string)
14585 (he-reset-string): Declare.
14586
14587 * obsolete/options.el (list-options): Use custom-variable-p,
14588 rather than obsolete alias.
14589
14590 2013-05-23 Sam Steingold <sds@gnu.org>
14591
14592 * simple.el (shell-command-on-region): Pass the `replace' argument
14593 down to `call-process-region' to comply with the doc as reported on
14594 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14595
14596 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14597
14598 * emacs-lisp/smie.el (smie-indent-forward-token)
14599 (smie-indent-backward-token): Handle string tokens (bug#14381).
14600
14601 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14602
14603 * ielm.el (ielm-menu): New menu.
14604 (inferior-emacs-lisp-mode): Set comment-start.
14605
14606 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14607
14608 * textmodes/reftex.el (reftex-ref-style-toggle):
14609 Fix deactivate action.
14610
14611 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14612 Add cleveref macros.
14613
14614 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
14615 Accept options for bibliography commands.
14616 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14617 Add addbibresource. Basic Biblatex support.
14618
14619 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14620
14621 * net/tramp-gvfs.el (top):
14622 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14623 when loading package. (Bug#14447)
14624
14625 2013-05-23 Glenn Morris <rgm@gnu.org>
14626
14627 * progmodes/js.el: No need to load comint when compiling.
14628 (ring-insert, comint-send-string, comint-send-input)
14629 (comint-last-input-end, ido-chop): Declare.
14630
14631 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14632 * vc/ediff-mult.el: Adjust requires.
14633 (ediff-directories-internal, ediff-directory-revisions-internal)
14634 (ediff-patch-file-internal): Declare.
14635 * vc/ediff-ptch.el: Adjust requires.
14636 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14637 (ediff-find-file): Autoload.
14638 * vc/ediff-util.el: No need to load ediff when compiling.
14639 (ediff-regions-internal): Declare.
14640 * vc/ediff-wind.el: Adjust requires.
14641 (ediff-compute-toolbar-width): Define when compiling.
14642 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14643 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14644 (dired-get-filename, dired-get-marked-files)
14645 (ediff-last-dir-patch, ediff-patch-default-directory)
14646 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14647 (ediff-patch-buffer-internal): Declare.
14648
14649 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14650 (ispell-process, ispell-buffer-local-words, lm-summary)
14651 (lm-section-start, lm-section-end): Declare.
14652 (checkdoc-ispell-init): Simplify.
14653
14654 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14655 (he-string-member, he-reset-string, he-substitute-string): Declare.
14656
14657 * eshell/em-ls.el: Adjust requires.
14658 (eshell-glob-regexp): Declare.
14659 * eshell/em-tramp.el: Adjust requires.
14660 (eshell-parse-command): Autoload.
14661 * eshell/em-xtra.el: Adjust requires.
14662 (eshell-parse-command): Autoload.
14663 * eshell/esh-ext.el: Adjust requires.
14664 (eshell-parse-command, eshell-close-handles): Autoload.
14665 * eshell/esh-io.el: Adjust requires.
14666 (eshell-output-filter): Autoload.
14667 * eshell/esh-util.el: No need to load tramp when compiling.
14668 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14669 Declare.
14670 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14671 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14672 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14673 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14674 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14675 * eshell/esh-opt.el, eshell/esh-proc.el:
14676 * eshell/esh-var.el: Adjust requires.
14677 * eshell/eshell.el: Do not require esh-util twice.
14678 (eshell-add-input-to-history): Declare.
14679 (eshell-command): Check history module is active before using it.
14680
14681 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14682
14683 2013-05-22 Leo Liu <sdl.web@gmail.com>
14684
14685 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14686
14687 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14688
14689 * autorevert.el (auto-revert-notify-add-watch)
14690 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14691 it indicates changes in file modification time.
14692
14693 2013-05-22 Glenn Morris <rgm@gnu.org>
14694
14695 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14696 Always delete the autoloaded function from the noruntime and
14697 unresolved functions lists.
14698
14699 * allout.el: No need to load epa, epg, overlay when compiling.
14700 (epg-context-set-passphrase-callback, epg-list-keys)
14701 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14702 (epg-key-user-id-list): Declare.
14703
14704 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14705 (viper-set-parsing-style-toggling-macro)
14706 (viper-set-emacs-state-searchstyle-macros):
14707 Use called-interactively-p on Emacs.
14708 (viper-looking-back): Make it an obsolete alias. Update callers.
14709 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14710 Use looking-back rather than viper-looking-back.
14711 (viper-tmp-insert-at-eob, viper-enlarge-region)
14712 (viper-read-string-with-history, viper-register-to-point)
14713 (viper-append-to-register, viper-change-state-to-vi)
14714 (viper-backward-char-carefully, viper-forward-char-carefully)
14715 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14716 (viper-change-state-to-emacs): Declare.
14717 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14718 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14719 * emulation/viper-mous.el: Do not load viper-cmd.
14720 (viper-backward-char-carefully, viper-forward-char-carefully)
14721 (viper-forward-word, viper-adjust-window): Declare.
14722
14723 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14724
14725 * progmodes/idlw-help.el (idlwave-help-fontify):
14726 Use called-interactively-p.
14727
14728 * term/w32console.el (w32-get-console-codepage)
14729 (w32-get-console-output-codepage): Declare.
14730
14731 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14732 Remove unnecessary declarations.
14733 (dframe-message): Doc fix.
14734
14735 * info.el (dframe-select-attached-frame, dframe-current-frame):
14736 Declare.
14737
14738 * speedbar.el (speedbar-message): Make it an obsolete alias.
14739 Update all callers.
14740 (speedbar-with-attached-buffer)
14741 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14742 (speedbar-with-writable): Use backquote.
14743 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14744 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14745 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14746 rather than speedbar- aliases.
14747 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14748 (speedbar-make-specialized-keymap, speedbar-insert-button)
14749 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14750 (speedbar-do-function-pointer): Declare.
14751 (rmail-speedbar-button, rmail-speedbar-find-file)
14752 (rmail-speedbar-move-message):
14753 Use dframe-with-attached-buffer rather than speedbar- alias.
14754 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14755 (dframe-message, speedbar-make-specialized-keymap)
14756 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14757 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14758 (speedbar-insert-button, dframe-select-attached-frame)
14759 (dframe-maybee-jump-to-attached-frame)
14760 (speedbar-change-initial-expansion-list)
14761 (speedbar-previously-used-expansion-list-name): Declare.
14762 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14763 Use dframe-message, dframe-with-attached-buffer rather than
14764 speedbar- aliases.
14765 (gud-sentinel): Silence compiler.
14766 * progmodes/vhdl-mode.el (speedbar-refresh)
14767 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14768 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14769 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14770 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14771 (speedbar-file-lists, speedbar-make-tag-line)
14772 (speedbar-line-directory, speedbar-goto-this-file)
14773 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14774 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14775 (speedbar-make-button, speedbar-reset-scanners)
14776 (speedbar-files-item-info, speedbar-line-text)
14777 (speedbar-find-file-in-frame, speedbar-set-timer)
14778 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14779 (speedbar-with-writable): Do not (re)define it.
14780 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14781 rather than speedbar- alias.
14782
14783 2013-05-21 Leo Liu <sdl.web@gmail.com>
14784
14785 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14786 menu items.
14787 (octave-mode): Tweak fill-nobreak-predicate.
14788 (inferior-octave-startup): Check process to avoid infinite loop.
14789 (inferior-octave): Pop to buffer first to show abornmal process
14790 exit information.
14791
14792 2013-05-21 Glenn Morris <rgm@gnu.org>
14793
14794 * printing.el (pr-menu-bar): Define when compiling.
14795
14796 2013-05-21 Leo Liu <sdl.web@gmail.com>
14797
14798 * progmodes/octave.el (octave-auto-fill): Remove.
14799 (octave-indent-new-comment-line): Improve.
14800 (octave-mode): Use auto fill mode through
14801 comment-line-break-function and fill-nobreak-predicate.
14802 (octave-goto-function-definition): Support DEFUN_DLD.
14803 (octave-beginning-of-defun): Small tweak.
14804 (octave-help): Show parent directory.
14805
14806 2013-05-21 Glenn Morris <rgm@gnu.org>
14807
14808 * files.el (dired-unmark):
14809 * progmodes/gud.el (gdb-input): Update declarations.
14810
14811 * calculator.el (electric, ehelp): No need to load when compiling.
14812 (Electric-command-loop, electric-describe-mode): Declare.
14813
14814 * doc-view.el (doc-view-current-converter-processes): Move before use.
14815
14816 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14817 Move MODE-set-explicitly definition before use.
14818
14819 * international/mule-diag.el (mule-diag):
14820 Don't use obsolete window-system-version.
14821
14822 * mail/feedmail.el (smtpmail): No need to load when compiling.
14823 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14824
14825 * mail/mail-utils.el (rfc822): No need to load when compiling.
14826 (rfc822-addresses): Autoload it.
14827 (mail-strip-quoted-names): Trivial simplification.
14828
14829 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14830 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14831
14832 * net/snmp-mode.el (tempo): Don't duplicate requires.
14833
14834 * progmodes/prolog.el (info): No need to load when compiling.
14835 (comint): Require before shell requires it.
14836 (Info-goto-node): Autoload it.
14837 (Info-follow-nearest-node): Declare.
14838 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14839
14840 * textmodes/artist.el (picture-mode-exit): Declare.
14841
14842 * textmodes/reftex-parse.el (reftex-parse-from-file):
14843 Trivial rewrite so the compiler can parse it better.
14844
14845 2013-05-20 Leo Liu <sdl.web@gmail.com>
14846
14847 * progmodes/octave.el (octave-help-mode-map)
14848 (octave-help-mode-finish-hook): New variables.
14849 (octave-help-mode, octave-help-mode-finish): New functions.
14850 (octave-help): Use octave-help-mode.
14851
14852 2013-05-20 Glenn Morris <rgm@gnu.org>
14853
14854 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14855
14856 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14857
14858 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14859 start at point, so that expansion starting right after opening
14860 slash in a regexp is recognized.
14861 (ruby-syntax-before-regexp-re): New defvar, extracted from
14862 ruby-syntax-propertize-function. Since the value of this regexp
14863 is looked up at runtime now, we should be able to turn
14864 `ruby-syntax-methods-before-regexp' into a defcustom later.
14865 (ruby-syntax-propertize-function): Split regexp matching into two
14866 parts, for opening and closing slashes. That allows us to skip
14867 over string interpolations and support multiline regexps.
14868 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14869 for them, which calls `ruby-syntax-propertize-expansion'.
14870 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14871 call to `ruby-syntax-propertize-function'.
14872 (ruby-syntax-propertize-expansion): Extracted from
14873 `ruby-syntax-propertize-expansions'. Handles one expansion.
14874 (ruby-syntax-propertize-percent-literal): Leave point right after
14875 the percent symbol, so that the expression expansion rule can
14876 propertize the contents.
14877 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14878 heredoc openers.
14879 (ruby-syntax-propertize-expansions): Remove.
14880
14881 2013-05-18 Juri Linkov <juri@jurta.org>
14882
14883 * man.el (Man-default-man-entry): Remove `-' from the end
14884 of the default value. (Bug#14400)
14885
14886 2013-05-18 Glenn Morris <rgm@gnu.org>
14887
14888 * comint.el (comint-password-prompt-regexp):
14889 Allow "password for XXX" where XXX contains colons (eg https://...).
14890
14891 2013-05-18 Leo Liu <sdl.web@gmail.com>
14892
14893 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14894 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14895 (octave-source-directories): Don't check process.
14896 (octave-source-directories, octave-find-definition): Doc fix.
14897
14898 2013-05-18 Glenn Morris <rgm@gnu.org>
14899
14900 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14901 Remove backspace/delete bindings. (Bug#14392)
14902
14903 * cus-dep.el (custom-make-dependencies): Sort the output.
14904 (custom-versions-load-alist): Convert comment to doc.
14905
14906 2013-05-17 Leo Liu <sdl.web@gmail.com>
14907
14908 * newcomment.el (comment-search-backward): Stricter in finding
14909 comment start. (Bug#14303)
14910
14911 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14912 (octave-comment-start-skip): Properly anchored.
14913
14914 2013-05-17 Leo Liu <sdl.web@gmail.com>
14915
14916 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14917 Clean up when turned off. (Bug#14395)
14918 (smie--highlight-matching-block-overlay): No longer buffer-local.
14919 (smie-highlight-matching-block): Adjust.
14920
14921 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14922
14923 Doc string fix for "nanoseconds" (Bug#14406).
14924 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14925 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14926
14927 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14928
14929 * calc/calc-units.el (math-extract-units): Preserve powers
14930 of units.
14931
14932 2013-05-17 Leo Liu <sdl.web@gmail.com>
14933
14934 * subr.el (delete-consecutive-dups): New function.
14935 * ido.el (ido-set-matches-1): Use it.
14936 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14937 * ido.el (ido-remove-consecutive-dups): Remove.
14938
14939 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14940
14941 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14942 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14943 regexp-opt's `words'.
14944
14945 2013-05-16 Leo Liu <sdl.web@gmail.com>
14946
14947 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14948 (smie--highlight-matching-block-overlay)
14949 (smie--highlight-matching-block-lastpos)
14950 (smie--highlight-matching-block-timer): New variables.
14951 (smie-highlight-matching-block): New function.
14952 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14953 (smie-setup): Conditionally enable smie-blink-matching-open.
14954
14955 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14956
14957 Sync with upstream verilog-mode r840.
14958 * progmodes/verilog-mode.el (verilog-mode-version)
14959 (verilog-mode-release-date): Update.
14960 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14961 (verilog-sig-tieoff): Fix string error on
14962 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14963 (verilog-read-decls): Fix parameters confusing
14964 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14965
14966 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14967
14968 * subr.el (reveal-filename): New function.
14969
14970 * loadup.el: Compute Emacs executable versions on MS-Windows,
14971 where executables have the .exe extension. Add a hard link
14972 emacs-XX.YY.ZZ.exe on MS-Windows.
14973
14974 * Makefile.in (XARGS_LIMIT): New variable.
14975 (custom-deps, finder-data, autoloads)
14976 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14977 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14978 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14979 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14980
14981 2013-05-16 Leo Liu <sdl.web@gmail.com>
14982
14983 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14984 (octave-mode-menu, octave-mode-map): Remove its uses.
14985
14986 2013-05-16 Reto Zimmermann <reto@gnu.org>
14987
14988 Sync with upstream vhdl mode v3.34.2.
14989 * progmodes/vhdl-mode.el: Use `push' throughout.
14990 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14991 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14992 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14993 (vhdl-actual-generic-name): New option to derive actual generic name.
14994 (vhdl-port-paste-signals): Replace formal by actual generics.
14995 (vhdl-beautify): New name for old group vhdl-align. Update users.
14996 (vhdl-beautify-options): New option.
14997 (vhdl-last-input-event): New compat alias. Use throughout.
14998 (vhdl-goto-line): Replace user level function `goto-line'.
14999 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
15000 vhdl-fix-statement-buffer.
15001 (vhdl-create-mode-menu): Add some entries.
15002 (vhdl-align-region-groups): Respect vhdl-beautify-options.
15003 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
15004 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
15005 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
15006 to force statements on one line.
15007 (vhdl-remove-trailing-spaces-region):
15008 New, split from vhdl-remove-trailing-spaces.
15009 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
15010 Respect vhdl-beautify-options.
15011 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
15012 (vhdl-update-sensitivity-list): Not add with index if exists without.
15013 Not include array index with signal. Ignore keywords in comments.
15014 (vhdl-get-visible-signals): Regexp tweaks.
15015 (vhdl-template-component-inst): Handle empty library.
15016 (vhdl-template-type): Add template for 'enum' type.
15017 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
15018 Use vhdl-replace-string.
15019 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
15020 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
15021 (vhdl-speedbar-initialize): Update for above name change.
15022 (vhdl-compose-wire-components): Fix in handling of constants.
15023 (vhdl-error-regexp-emacs-alist): New variable.
15024 (vhdl-error-regexp-add-emacs): New function;
15025 adds support for new compile.el (Emacs 22+)
15026 (vhdl-generate-makefile-1): Change target order for single lib. units.
15027 Allow use of absolute file names.
15028
15029 2013-05-16 Leo Liu <sdl.web@gmail.com>
15030
15031 * simple.el (prog-indent-sexp): Indent enclosing defun.
15032
15033 2013-05-15 Glenn Morris <rgm@gnu.org>
15034
15035 * cus-start.el (show-trailing-whitespace): Move to editing basics.
15036 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
15037 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
15038 (whitespace-highlight): Move to whitespace group.
15039
15040 * comint.el (comint-source):
15041 * pcmpl-linux.el (pcmpl-linux):
15042 * shell.el (shell-faces):
15043 * eshell/esh-opt.el (eshell-opt):
15044 * international/ccl.el (ccl): Remove empty custom groups.
15045
15046 * completion.el (dynamic-completion-mode):
15047 * jit-lock.el (jit-lock-debug-mode):
15048 * minibuffer.el (completion-in-region-mode):
15049 * type-break.el (type-break-mode-line-message-mode)
15050 (type-break-query-mode):
15051 * emulation/tpu-edt.el (tpu-edt-mode):
15052 * progmodes/subword.el (global-subword-mode, global-superword-mode):
15053 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15054 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
15055
15056 * term/xterm.el (xterm): Change parent group to terminals.
15057
15058 * master.el (master): Remove empty custom group.
15059 (master-mode): Remove unused :group argument.
15060 * textmodes/refill.el (refill): Remove empty custom group.
15061 (refill-mode): Remove unused :group argument.
15062
15063 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
15064
15065 * cus-dep.el: Provide a feature.
15066 (custom-make-dependencies): Ignore dotfiles (dir-locals).
15067 Don't mistakenly ignore files whose basenames match a basename
15068 from preloaded-file-list (eg cedet/ede/simple.el).
15069 Add a fallback method for getting :group.
15070
15071 2013-05-15 Juri Linkov <juri@jurta.org>
15072
15073 * isearch.el (isearch-char-by-name): Rename from
15074 `isearch-insert-char-by-name'. Doc fix.
15075 (isearch-forward): Mention `isearch-char-by-name' in
15076 the docstring. (Bug#13348)
15077
15078 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
15079 `exit-minibuffer' instead of
15080 `isearch-nonincremental-exit-minibuffer'.
15081 (isearch-edit-string): Remove mention of
15082 `isearch-nonincremental-exit-minibuffer' from docstring.
15083 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
15084 (isearch-forward-exit-minibuffer)
15085 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
15086
15087 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15088
15089 * loadup.el: Just use unversioned DOC.
15090
15091 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
15092 literals as extending to EOB.
15093 (nxml-last-fontify-end): Remove unused variable.
15094 (nxml-after-change1): Use with-silent-modifications.
15095 (nxml-extend-after-change-region): Simplify.
15096 (nxml-extend-after-change-region1): Remove function.
15097 (nxml-after-change1): Don't adjust for dependent regions.
15098 (nxml-fontify-matcher): Simplify.
15099 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
15100 (xmltok-add-dependent): Remove function.
15101 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
15102 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
15103 (xmltok-scan-prolog-after-processing-instruction-open): Treat
15104 unclosed <[[, <?, comment, and other literals as extending to EOB.
15105 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
15106 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
15107 Remove functions.
15108 (rng-do-some-validation-1): Don't mark dependent regions.
15109 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
15110 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
15111 (nxml-clear-dependent-regions): Remove functions.
15112 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
15113 (nxml-ensure-scan-up-to-date):
15114 Don't clear&mark dependent regions.
15115
15116 2013-05-15 Leo Liu <sdl.web@gmail.com>
15117
15118 * progmodes/octave.el (octave-goto-function-definition):
15119 Improve and fix callers.
15120
15121 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15122
15123 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
15124 the setter (bug#14387).
15125
15126 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
15127 surrounding group (bug#14402).
15128
15129 2013-05-14 Juri Linkov <juri@jurta.org>
15130
15131 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
15132 (Bug#14390)
15133
15134 2013-05-14 Glenn Morris <rgm@gnu.org>
15135
15136 * progmodes/f90.el (f90-imenu-generic-expression):
15137 Fix typo in 2013-05-08 change. (Bug#14402)
15138
15139 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15140
15141 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
15142 Remove signals for which replies are never received.
15143
15144 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15145
15146 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
15147 (gdb-handler-alist, gdb-handler-number): Remove variables.
15148 (gdb-handler-list): New variable.
15149 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
15150 (gdb-pending-handler-p, gdb-handle-reply)
15151 (gdb-remove-all-pending-triggers): New functions.
15152 (gdb-discard-unordered-replies): New defcustom.
15153 (gdb-handler): New defstruct.
15154 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
15155 instead of gdb-pending-triggers. Update docstring.
15156 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
15157 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
15158 (gdb-var-update-handler, def-gdb-auto-update-trigger)
15159 (def-gdb-auto-update-handler, gdb-get-changed-registers)
15160 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
15161 (gdb-frame-handler): Pending triggers are now automatically managed.
15162 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
15163 Remove argument.
15164 (gdb-input): Automatically handles pending triggers. Update docstring.
15165 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
15166 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
15167 Update comments.
15168 (gdb-done-or-error): Now use gdb-handle-reply.
15169
15170 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15171
15172 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
15173 gdb-debug-log.
15174
15175 2013-05-14 Glenn Morris <rgm@gnu.org>
15176
15177 * subr.el (user-emacs-directory-warning): New option.
15178 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
15179
15180 2013-05-14 Leo Liu <sdl.web@gmail.com>
15181
15182 * progmodes/octave.el (octave-font-lock-keywords): Fix error
15183 during redisplay.
15184 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
15185 (octave-font-lock-texinfo-comment): Fix invalid search bound
15186 error: wrong side of point.
15187
15188 2013-05-14 Glenn Morris <rgm@gnu.org>
15189
15190 * progmodes/flymake.el (flymake-xml-program): New option.
15191 (flymake-xml-init): Use it.
15192
15193 * term/xterm.el: Provide a feature.
15194
15195 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
15196
15197 2013-05-13 Glenn Morris <rgm@gnu.org>
15198
15199 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
15200 Add compat aliases as a hack workaround. (Bug#14384)
15201
15202 2013-05-13 Leo Liu <sdl.web@gmail.com>
15203
15204 * progmodes/octave.el (octave-indent-comment): Fix indentation for
15205 ###, and %!.
15206 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
15207 C-M-q.
15208 (octave-comment-start-skip): Include %!.
15209 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
15210
15211 2013-05-12 Leo Liu <sdl.web@gmail.com>
15212
15213 * progmodes/octave.el (inferior-octave-startup): Store the value
15214 of __octave_srcdir__ for octave-source-directories.
15215 (inferior-octave-check-process): New function refactored out of
15216 inferior-octave-send-list-and-digest.
15217 (octave-source-directories)
15218 (octave-find-definition-filename-function): New variables.
15219 (octave-source-directories)
15220 (octave-find-definition-default-filename): New functions.
15221 (octave-find-definition): Improve to find functions implemented in C++.
15222
15223 2013-05-12 Glenn Morris <rgm@gnu.org>
15224
15225 * calendar/diary-lib.el (diary-outlook-format-1):
15226 Don't include dayname in the output. (Bug#14349)
15227
15228 2013-05-11 Glenn Morris <rgm@gnu.org>
15229
15230 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
15231
15232 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
15233 Treat cc-provide like provide.
15234
15235 2013-05-11 Kevin Ryde <user42@zip.com.au>
15236
15237 * cus-dep.el (custom-make-dependencies):
15238 Use generated-autoload-load-name for the sake of files such
15239 such cedet/semantic/bovine/c.el, where the base file name
15240 is not in load-path. (Bug#5277)
15241
15242 2013-05-11 Glenn Morris <rgm@gnu.org>
15243
15244 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
15245 Provide features.
15246
15247 2013-05-11 Leo Liu <sdl.web@gmail.com>
15248
15249 * progmodes/octave.el (octave-indent-comment): Improve.
15250 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
15251 (octave-eldoc-function-signatures, octave-eldoc-function):
15252 New functions.
15253 (octave-mode, inferior-octave-mode): Add eldoc support.
15254
15255 2013-05-11 Richard Stallman <rms@gnu.org>
15256
15257 * epa.el (epa-decrypt-file): Take output file name as argument
15258 and read it using `interactive'.
15259
15260 2013-05-11 Leo Liu <sdl.web@gmail.com>
15261
15262 * progmodes/octave.el (octave-beginning-of-line)
15263 (octave-end-of-line): Check before using up-list because it jumps
15264 out of more syntactic contructs since moving to smie.
15265 (octave-indent-comment): New function.
15266 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
15267 (octave-begin-keywords, octave-end-keywords)
15268 (octave-reserved-words, octave-smie-bnf-table)
15269 (octave-smie-rules): Add new keywords from Octave 3.6.4.
15270
15271 2013-05-11 Glenn Morris <rgm@gnu.org>
15272
15273 * faces.el (internal-face-x-get-resource):
15274 * frame.el (ns-display-monitor-attributes-list):
15275 * calc/calc-aent.el (math-to-radians-2):
15276 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
15277 Fix declarations.
15278
15279 * calc/calc-menu.el: Make it loadable in isolation.
15280
15281 * net/eudcb-bbdb.el: Make it loadable without bbdb.
15282 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
15283 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
15284 (eudc-bbdb-query-internal): Require 'bbdb.
15285
15286 * lpr.el (lpr-headers-switches):
15287 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
15288
15289 * progmodes/sql.el (sql-login-params): Fix and improve :type.
15290
15291 * emulation/edt-mapper.el: In batch mode, error rather than hang.
15292
15293 * term.el (term-set-escape-char): Make it idempotent.
15294
15295 2013-05-10 Leo Liu <sdl.web@gmail.com>
15296
15297 * progmodes/octave.el (inferior-octave-completion-table):
15298 No longer a function and all uses changed. Use cache to speed up
15299 completion due to bug#11906.
15300 (octave-beginning-of-defun): Re-write to be more general.
15301
15302 2013-05-10 Glenn Morris <rgm@gnu.org>
15303
15304 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
15305
15306 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
15307
15308 * comint.el (comint-redirect-send-command-to-process): Use :around
15309 rather than :override for comint-redirect-filter.
15310 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
15311 Call it instead of comint-redirect-original-filter-function (which
15312 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
15313
15314 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
15315
15316 * frame.el (display-monitor-attributes-list): Add NS case.
15317 (ns-display-monitor-attributes-list): Declare.
15318
15319 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
15320
15321 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
15322
15323 2013-05-09 Glenn Morris <rgm@gnu.org>
15324
15325 * international/fontset.el (vertical-centering-font-regexp):
15326 Set standard-value.
15327
15328 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
15329
15330 * bookmark.el (bookmark-search-delay):
15331 * cus-start.el (vertical-centering-font-regexp):
15332 * ps-mule.el (ps-mule-font-info-database-default):
15333 * ps-print.el (ps-default-fg, ps-default-bg):
15334 * type-break.el (type-break-good-break-interval):
15335 * whitespace.el (whitespace-indentation-regexp)
15336 (whitespace-space-after-tab-regexp):
15337 * emacs-lisp/testcover.el (testcover-1value-functions)
15338 (testcover-noreturn-functions, testcover-progn-functions)
15339 (testcover-prog1-functions):
15340 * emulation/viper-init.el (viper-emacs-state-cursor-color):
15341 * eshell/em-glob.el (eshell-glob-translate-alist):
15342 * play/tetris.el (tetris-tty-colors):
15343 * progmodes/cpp.el (cpp-face-default-list):
15344 * progmodes/flymake.el (flymake-allowed-file-name-masks):
15345 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
15346 (idlwave-help-browser-generic-args):
15347 * progmodes/make-mode.el (makefile-special-targets-list):
15348 * progmodes/python.el (python-shell-virtualenv-path):
15349 * progmodes/verilog-mode.el (verilog-active-low-regexp)
15350 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
15351 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
15352 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
15353 * textmodes/reftex-vars.el (reftex-format-label-function):
15354 * textmodes/remember.el (remember-diary-file): Fix custom types.
15355
15356 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
15357 Add :version.
15358
15359 2013-05-09 Leo Liu <sdl.web@gmail.com>
15360
15361 * progmodes/octave.el (inferior-octave-completion-at-point):
15362 Restore file completion. (Bug#14300)
15363 (inferior-octave-startup): Fix incorrect highlighting for the
15364 first prompt.
15365
15366 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15367
15368 * progmodes/ruby-mode.el: First cut at SMIE support.
15369 (ruby-use-smie): New var.
15370 (ruby-smie-grammar): New constant.
15371 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15372 (ruby-smie--forward-token, ruby-smie--backward-token)
15373 (ruby-smie-rules): New functions.
15374 (ruby-mode-variables): Setup SMIE if applicable.
15375
15376 2013-05-08 Eli Zaretskii <eliz@gnu.org>
15377
15378 * simple.el (line-move-visual): Signal beginning/end of buffer
15379 only if vertical-motion moved less than it was requested. Avoids
15380 silly incorrect error messages when there are display strings with
15381 multiple newlines at EOL.
15382
15383 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15384
15385 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15386 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15387 (prolog-char-quote-workaround):
15388 * progmodes/cperl-mode.el (cperl-under-as-char):
15389 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15390 Mark as obsolete.
15391 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15392 their declaration.
15393 (vhdl-mode-syntax-table-init): Remove.
15394
15395 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15396 last change.
15397
15398 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15399 syntax for "_".
15400 (ld-script-font-lock-keywords):
15401 Change regexps to use things like \_< and \_>.
15402
15403 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15404 Change all regexps to use things like \_< and \_>.
15405
15406 * progmodes/autoconf.el (autoconf-definition-regexp)
15407 (autoconf-font-lock-keywords, autoconf-current-defun-function):
15408 Handle a _ with symbol syntax.
15409 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15410
15411 * progmodes/ada-mode.el (ada-mode-abbrev-table):
15412 Consolidate declaration.
15413 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15414 the declaration.
15415 (ada-create-syntax-table): Remove.
15416 (ada-capitalize-word): Don't mess with the syntax of "_" since it
15417 already has the right syntax nowadays.
15418 (ada-goto-next-word): Don't change the syntax of "_".
15419
15420 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15421 with-wrapper-hook.
15422
15423 2013-05-08 Sam Steingold <sds@gnu.org>
15424
15425 * thingatpt.el (thing-at-point): Accept optional second argument
15426 NO-PROPERTIES to strip the text properties from the return value.
15427 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15428 to `thing-at-point' instead of stripping the properties ourselves.
15429 Also, when `thing-at-point' fails to find a url, prepend "http://"
15430 to the filename at point on the assumption that the user is
15431 pointing at something like gnu.org/gnu.
15432
15433 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
15434
15435 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15436 * faces.el (crm-separator):
15437 Silence byte-compiler.
15438
15439 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15440 (tool-bar-map): Remove unneeded defvars.
15441
15442 2013-05-08 Leo Liu <sdl.web@gmail.com>
15443
15444 Re-work a fix for bug#10994 based on Le Wang's patch.
15445 * ido.el (ido-remove-consecutive-dups): New helper.
15446 (ido-completing-read): Use it.
15447 (ido-chop): Revert fix for bug#10994.
15448
15449 2013-05-08 Adam Spiers <emacs@adamspiers.org>
15450
15451 * cus-edit.el (custom-save-variables):
15452 Pretty-print long values. (Bug#14187)
15453
15454 2013-05-08 Glenn Morris <rgm@gnu.org>
15455
15456 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15457 (m4-mode-syntax-table): Init in the defvar.
15458 (m4-mode-abbrev-table): Let define-derived-mode define it.
15459
15460 2013-05-08 Tom Tromey <tromey@redhat.com>
15461
15462 * progmodes/m4-mode.el (m4-mode-syntax-table):
15463 Do not treat "_" as word constituent. (Bug#14167)
15464
15465 2013-05-07 Glenn Morris <rgm@gnu.org>
15466
15467 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15468 Remove explicit eshell-isearch-cancel-map.
15469
15470 * progmodes/f90.el (f90-smart-end-names): New option.
15471 (f90-smart-end): Doc fix.
15472 (f90-end-block-optional-name): New constant.
15473 (f90-block-match): Respect f90-smart-end-names.
15474
15475 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15476
15477 * progmodes/octave.el (octave-smie-forward-token): Be more careful
15478 about implicit semi-colons (bug#14218).
15479
15480 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15481
15482 * frame.el (display-monitor-attributes-list)
15483 (frame-monitor-attributes): New functions.
15484
15485 2013-05-06 Leo Liu <sdl.web@gmail.com>
15486
15487 * progmodes/octave.el (octave-syntax-propertize-function): Change
15488 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15489 (octave-font-lock-keywords): Use octave-operator-regexp.
15490 (octave-completion-at-point): Rename from
15491 octave-completion-at-point-function.
15492 (inferior-octave-directory-tracker): Robustify.
15493 (octave-text-functions): Remove and fix its uses. No such things
15494 any more.
15495
15496 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15497
15498 * emacs-lisp/trace.el (trace--display-buffer): New function.
15499 (trace-make-advice): Use it.
15500
15501 2013-05-06 Juri Linkov <juri@jurta.org>
15502
15503 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15504 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15505 Doc fix.
15506 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15507 in the help string. (Bug#12985)
15508
15509 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15510
15511 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15512
15513 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15514
15515 * progmodes/perl-mode.el: Add support for here documents.
15516 (perl-syntax-propertize-function): Match here-doc markers.
15517 (perl-syntax-propertize-special-constructs): Find their end.
15518 (perl-imenu-generic-expression): Use [:alnum:].
15519
15520 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15521 (advice--add-function): Refresh the advice if already present
15522 (bug#14317).
15523
15524 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
15525
15526 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15527
15528 2013-05-06 Glenn Morris <rgm@gnu.org>
15529
15530 * w32-fns.el (w32-charset-info-alist): Declare.
15531
15532 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15533 of its defcustom properties.
15534 (eshell-cmpl-initialize): No need to load pcomplete.
15535
15536 * generic-x.el: No need to require comint when compiling.
15537
15538 * net/eudc-export.el: Make it loadable without bbdb.
15539 (top-level): Use require rather than load-library.
15540 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15541 (eudc-batch-export-records-to-bbdb)
15542 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15543 Require bbdb.
15544
15545 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15546
15547 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15548 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15549 some tweaks, instead.
15550
15551 2013-05-05 Leo Liu <sdl.web@gmail.com>
15552
15553 * progmodes/octave.el (octave-font-lock-keywords)
15554 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15555 (inferior-octave-send-list-and-digest): Improve error message.
15556 (octave-mode, inferior-octave-mode): Use setq-local.
15557 (octave-help): Set info-lookup-mode.
15558
15559 2013-05-05 Richard Stallman <rms@gnu.org>
15560
15561 * vc/compare-w.el (compare-windows-whitespace):
15562 Treat no-break space as whitespace.
15563
15564 * mail/rmailsum.el (rmail-summary-rmail-update):
15565 Detect empty summary and don't change selected message.
15566 (rmail-summary-goto-msg): Likewise.
15567
15568 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15569 Doc fixes, rename args.
15570
15571 2013-05-05 Alan Mackenzie <acm@muc.de>
15572
15573 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15574
15575 2013-05-05 Juri Linkov <juri@jurta.org>
15576
15577 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15578 to not add the length of the summary segment to the return value.
15579 (Bug#14125)
15580
15581 2013-05-05 Leo Liu <sdl.web@gmail.com>
15582
15583 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15584 (inferior-octave-output-filter): Remove.
15585 (octave-send-region, inferior-octave-startup): Fix callers.
15586 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15587 (octave-binary-file-extensions): New user variable.
15588 (octave-find-definition): Confirm if opening binary files.
15589 (octave-help-file): Use octave-find-definition to get the binary
15590 confirmation.
15591 (octave-help): Adjust for octave-help-file change.
15592
15593 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15594
15595 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15596 Merge the two entries that handle function definitions.
15597 (pascal--syntax-propertize): New const.
15598 (pascal-mode): Use it. Use setq-local.
15599
15600 2013-05-04 Glenn Morris <rgm@gnu.org>
15601
15602 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15603 (diary-from-outlook): Respect diary-from-outlook-function.
15604
15605 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15606
15607 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15608 Move the declaration from C.
15609 (read-minibuffer, eval-minibuffer): Move from C.
15610 (completion-setup-function): Avoid minibuffer-completion-contents.
15611
15612 2013-05-03 Leo Liu <sdl.web@gmail.com>
15613
15614 * progmodes/octave.el (octave-font-lock-keywords): Do not
15615 dehighlight 'end' in comments or strings.
15616 (octave-completing-read, octave-goto-function-definition):
15617 New helpers.
15618 (octave-help-buffer): New user variable.
15619 (octave-help-file, octave-help-function): New button types.
15620 (octave-help): New command and bind it to C-h ;.
15621 (octave-find-definition): New command and bind it to M-.
15622 (user-error): Alias to error if not defined.
15623
15624 2013-05-02 Leo Liu <sdl.web@gmail.com>
15625
15626 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15627 for \. (bug#14332)
15628 (octave-font-lock-keywords): Include [ and {.
15629
15630 2013-05-02 Leo Liu <sdl.web@gmail.com>
15631
15632 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15633 (inferior-octave): Remove calling comint-mode and return the buffer.
15634 (inferior-octave-startup): Cosmetic changes.
15635
15636 2013-05-02 Leo Liu <sdl.web@gmail.com>
15637
15638 * progmodes/octave.el (octave-syntax-propertize-function):
15639 Include the case when ' is at line beginning. (Bug#14336)
15640
15641 2013-05-02 Glenn Morris <rgm@gnu.org>
15642
15643 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15644 * desktop.el (vc-dir-mode): Just autoload it here.
15645
15646 2013-05-02 Alan Mackenzie <acm@muc.de>
15647
15648 Eliminate variable c-standard-font-lock-fontify-region-function.
15649 * progmodes/cc-mode.el
15650 (c-standard-font-lock-fontify-region-function): Remove.
15651 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15652
15653 2013-05-01 Leo Liu <sdl.web@gmail.com>
15654
15655 * progmodes/octave.el: Compatible with older emacs-24 releases.
15656 (inferior-octave-has-built-in-variables): Remove. Built-in
15657 variables were removed from Octave in 2007.
15658 (inferior-octave-startup): Fix uses.
15659 (comint-line-beginning-position): Remove compatibility code for
15660 emacs 21.
15661
15662 2013-05-01 Juri Linkov <juri@jurta.org>
15663
15664 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15665
15666 2013-05-01 Juri Linkov <juri@jurta.org>
15667
15668 * comint.el (comint-previous-matching-input): Don't print message
15669 "History item: %d" when `isearch-mode' is active.
15670 (comint-history-isearch-message): Print message "History item: %d"
15671 when `comint-input-ring-index' is not empty and this function is
15672 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15673
15674 2013-05-01 Leo Liu <sdl.web@gmail.com>
15675
15676 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15677 definitions. Use completion-at-point to insert keywords.
15678 (octave-abbrev-start): Remove.
15679 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15680
15681 2013-04-30 Leo Liu <sdl.web@gmail.com>
15682
15683 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15684 change.
15685
15686 2013-04-30 Alan Mackenzie <acm@muc.de>
15687
15688 Handle arbitrarily long C++ member initialisation lists.
15689 * progmodes/cc-engine.el (c-back-over-member-initializers):
15690 new function.
15691 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15692 (most) member init lists.
15693
15694 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15695
15696 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15697 variable.
15698
15699 2013-04-30 Leo Liu <sdl.web@gmail.com>
15700
15701 * progmodes/octave.el (octave-variables): Remove. No builtin
15702 variables any more. All converted to functions.
15703 (octave-font-lock-keywords, octave-completion-at-point-function):
15704 Fix uses.
15705 (octave-font-lock-texinfo-comment): New user variable.
15706 (octave-texinfo-font-lock-keywords): New variable for texinfo
15707 comment block.
15708 (octave-function-comment-block): New face.
15709 (octave-font-lock-texinfo-comment): New function.
15710 (octave-mode): Font lock texinfo comment block.
15711
15712 2013-04-29 Leo Liu <sdl.web@gmail.com>
15713
15714 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15715 indexing expression.
15716 (octave-continuation-string): Do not use \.
15717 (inferior-octave-complete-impossible): Remove.
15718 (inferior-octave-completion-table)
15719 (inferior-octave-completion-at-point): Remove its uses.
15720 (inferior-octave-startup): completion_matches was introduced to
15721 Octave in 1996 so safe to assume it.
15722 (octave-function-file-comment): Improve to follow how Octave does it.
15723 (octave-update-function-file-comment): Tweak.
15724
15725 2013-04-29 Leo Liu <sdl.web@gmail.com>
15726
15727 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15728 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15729 (octave-function-file-comment): Fix typo.
15730 (octave-sync-function-file-names): Use read-char-choice.
15731
15732 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15733
15734 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15735 to t for the less important warnings.
15736
15737 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15738
15739 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15740
15741 2013-04-27 Glenn Morris <rgm@gnu.org>
15742
15743 * vc/log-view.el (log-view-current-entry):
15744 Treat "---" separator lines as part of the following rev. (Bug#14169)
15745
15746 2013-04-27 Juri Linkov <juri@jurta.org>
15747
15748 * subr.el (read-number): Doc fix about using it by interactive
15749 code letter `n'. (Bug#14254)
15750
15751 2013-04-27 Juri Linkov <juri@jurta.org>
15752
15753 * desktop.el (desktop-auto-save-timeout): New option.
15754 (desktop-file-checksum): New variable.
15755 (desktop-save): Add optional arg `auto-save' and don't auto-save
15756 if nothing changed.
15757 (desktop-auto-save-timer): New variable.
15758 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15759 (after-init-hook): Call `desktop-auto-save-set-timer'.
15760 Suggested by Reuben Thomas <rrt@sc3d.org> in
15761 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15762
15763 2013-04-27 Leo Liu <sdl.web@gmail.com>
15764
15765 * progmodes/octave.el (octave-function-file-p)
15766 (octave-skip-comment-forward, octave-function-file-comment)
15767 (octave-update-function-file-comment): New functions.
15768 (octave-mode-map): Bind C-c ; to
15769 octave-update-function-file-comment.
15770 (octave-mode-menu): Add octave-update-function-file-comment.
15771 (octave-mode, inferior-octave-mode): Fix doc-string.
15772 (octave-insert-defun): Conform to Octave's coding convention.
15773 (Bug#14285)
15774
15775 * files.el (basic-save-buffer): Don't let errors in
15776 before-save-hook prevent saving buffer.
15777
15778 2013-04-20 Roland Winkler <winkler@gnu.org>
15779
15780 * faces.el (read-face-name): Use completing-read if arg multiple
15781 is nil.
15782
15783 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15784
15785 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15786 displayed, move point to after the totals line.
15787 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15788 for the details.
15789
15790 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15791
15792 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15793 Add current dir to the load-path.
15794 (package-generate-autoloads): Don't rely on
15795 autoload-ensure-default-file.
15796
15797 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15798
15799 * textmodes/remember.el (remember-store-in-files): Document that
15800 the file name format is passed to `format-time-string'.
15801
15802 2013-04-26 Leo Liu <sdl.web@gmail.com>
15803
15804 * progmodes/octave.el (octave-sync-function-file-names): New function.
15805 (octave-mode): Use it in before-save-hook.
15806
15807 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15808
15809 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15810 (bug#14274).
15811
15812 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15813 \n and comment, even if it's not an implicit ; (bug#14218).
15814
15815 2013-04-26 Glenn Morris <rgm@gnu.org>
15816
15817 * subr.el (read-number): Once more use `read' rather than
15818 `string-to-number', to trap non-numeric input. (Bug#14254)
15819
15820 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15821
15822 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15823 Use `syntax-multiline' text property consistently instead of
15824 `font-lock-multiline'. (Bug#14237)
15825
15826 2013-04-26 Glenn Morris <rgm@gnu.org>
15827
15828 * emacs-lisp/shadow.el (list-load-path-shadows):
15829 No longer necessary to check for duplicate simple.el, since
15830 2012-07-07 change to init_lread to not include installation lisp
15831 directories in load-path when running uninstalled. (Bug#14270)
15832
15833 2013-04-26 Leo Liu <sdl.web@gmail.com>
15834
15835 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15836 (octave-mode, inferior-octave-mode): Use setq-local.
15837 (octave-not-in-string-or-comment-p): Rename to
15838 octave-in-string-or-comment-p.
15839 (octave-in-comment-p, octave-in-string-p)
15840 (octave-in-string-or-comment-p): Replace defsubst with defun.
15841
15842 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15843
15844 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15845
15846 2013-04-25 Bastien Guerry <bzg@gnu.org>
15847
15848 * textmodes/remember.el (remember-data-directory)
15849 (remember-directory-file-name-format): Fix custom types.
15850
15851 2013-04-25 Leo Liu <sdl.web@gmail.com>
15852
15853 * progmodes/octave.el (octave-completion-at-point-function):
15854 Make use of inferior octave process.
15855 (octave-initialize-completions): Remove.
15856 (inferior-octave-completion-table): New function.
15857 (inferior-octave-completion-at-point): Use it.
15858 (octave-completion-alist): Remove.
15859
15860 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15861
15862 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15863 (opascal-mode-syntax-table): New var.
15864 (opascal-literal-kind, opascal-is-literal-end)
15865 (opascal-literal-token-at): Rewrite.
15866 (opascal--literal-start-re, opascal-font-lock-keywords)
15867 (opascal--syntax-propertize): New constants.
15868 (opascal-font-lock-defaults): Adjust.
15869 (opascal-mode): Use them. Set comment-<foo> variables as well.
15870 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15871 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15872 (delphi-other-face, opascal-other-face): Remove face variables.
15873 (opascal-save-state): Remove macro.
15874 (opascal-fontifying-progress-step): Remove constant.
15875 (opascal--ignore-changes): Remove var.
15876 (opascal-set-token-property, opascal-parse-next-literal)
15877 (opascal-is-stable-literal, opascal-complete-literal)
15878 (opascal-is-literal-start, opascal-face-of)
15879 (opascal-parse-region, opascal-parse-region-until-stable)
15880 (opascal-fontify-region, opascal-after-change)
15881 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15882 (opascal-debug-parse-region, opascal-debug-parse-window)
15883 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15884 (opascal-debug-fontify-buffer): Remove.
15885 (opascal-debug-mode-map): Adjust accordingly.
15886
15887 2013-04-25 Leo Liu <sdl.web@gmail.com>
15888
15889 Merge octave-mod.el and octave-inf.el into octave.el with some
15890 cleanups.
15891 * progmodes/octave.el: New file renamed from octave-mod.el.
15892 * progmodes/octave-inf.el: Merged into octave.el.
15893 * progmodes/octave-mod.el: Renamed to octave.el.
15894
15895 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15896
15897 * textmodes/reftex-vars.el
15898 (reftex-label-ignored-macros-and-environments): New defcustom.
15899
15900 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15901
15902 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15903
15904 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15905 (smie-indent-keyword): Improve the check to ensure that the next
15906 comment is really on the same line.
15907 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15908
15909 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15910 semi-colons if the line is not otherwise empty (bug#14218).
15911
15912 2013-04-25 Glenn Morris <rgm@gnu.org>
15913
15914 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15915
15916 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15917
15918 * progmodes/opascal.el (opascal-set-token-property): Rename from
15919 opascal-set-text-properties and only set `token' (bug#14134).
15920 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15921 (opascal-literal-text-properties): Remove.
15922 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15923 Adjust callers.
15924
15925 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15926
15927 * textmodes/remember.el (remember-handler-functions): Add an
15928 option for a new handler `remember-store-in-files'.
15929 (remember-data-directory, remember-directory-file-name-format):
15930 New options.
15931 (remember-store-in-files): New function to store remember notes
15932 as separate files within a directory.
15933
15934 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15935
15936 * progmodes/compile.el (compilation-next-error-function):
15937 Pass "formats" to compilation-find-file (bug#11777).
15938
15939 2013-04-24 Glenn Morris <rgm@gnu.org>
15940
15941 * vc/vc-bzr.el (vc-bzr-print-log):
15942 * vc/vc-hg.el (vc-hg-print-log):
15943 * vc/vc-svn.el (vc-svn-print-log):
15944 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15945
15946 * vc/vc-bzr.el (vc-bzr-print-log):
15947 * vc/vc-cvs.el (vc-cvs-print-log):
15948 * vc/vc-git.el (vc-git-print-log):
15949 * vc/vc-hg.el (vc-hg-print-log):
15950 * vc/vc-mtn.el (vc-mtn-print-log):
15951 * vc/vc-rcs.el (vc-rcs-print-log):
15952 * vc/vc-sccs.el (vc-sccs-print-log):
15953 * vc/vc-svn.el (vc-svn-print-log):
15954 * vc/vc.el (vc-print-log-internal): Doc fixes.
15955
15956 2013-04-23 Glenn Morris <rgm@gnu.org>
15957
15958 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15959 Remove venerable code attempting to avoid substitute-command-keys.
15960
15961 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15962
15963 * textmodes/reftex-vars.el (reftex-label-regexps):
15964 Call `reftex-compile-variables' after changes to this variable.
15965
15966 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15967
15968 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15969 Use lexical-binding.
15970 (jit-lock-force-redisplay): Use markers, check buffer's continued
15971 existence and beware narrowed buffers.
15972 (jit-lock-fontify-now): Adjust call accordingly.
15973
15974 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15975
15976 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15977 to avoid misleading the user.
15978
15979 2013-04-22 Leo Liu <sdl.web@gmail.com>
15980
15981 * info-look.el: Prefer latex2e.info. (Bug#14240)
15982
15983 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15984
15985 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15986
15987 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15988 * net/tramp.el (tramp-call-process): ... here.
15989 (tramp-set-completion-function, tramp-parse-putty):
15990 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15991 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15992 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15993 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15994 (tramp-call-local-coding-command): Use `tramp-call-process'
15995 instead of `tramp-compat-call-process'.
15996
15997 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15998 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15999 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
16000 (tramp-find-inline-compress): Improve traces.
16001 (tramp-maybe-send-script): Check for Perl binary.
16002 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
16003
16004 2013-04-22 Daiki Ueno <ueno@gnu.org>
16005
16006 * epg.el (epg-context-pinentry-mode): New function.
16007 (epg-context-set-pinentry-mode): New function.
16008 (epg--start): Pass --pinentry-mode option to gpg command.
16009
16010 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
16011
16012 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
16013 `comint-dynamic-complete' is obsolete since 24.1, replaced by
16014 `completion-at-point'. (Bug#13774)
16015
16016 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
16017 default key binding for `describe-distribution' has been moved to
16018 `C-h C-o'. (Bug#13970)
16019
16020 2013-04-21 Glenn Morris <rgm@gnu.org>
16021
16022 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
16023 Add doc strings.
16024 (vc-print-log): Clarify interactive prompt.
16025
16026 2013-04-20 Glenn Morris <rgm@gnu.org>
16027
16028 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
16029 No longer include timestamp etc information.
16030
16031 2013-04-20 Roland Winkler <winkler@gnu.org>
16032
16033 * faces.el (read-face-name): Bug fix, return just one face if arg
16034 multiple is nil. (Bug#14209)
16035
16036 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16037
16038 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
16039 (remove-function): Autoload.
16040
16041 * comint.el (comint-redirect-original-filter-function): Remove.
16042 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
16043 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
16044 (vc-cvs-annotate-command):
16045 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
16046 * progmodes/prolog.el (prolog-consult-compile):
16047 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
16048 Use add/remove-function instead.
16049 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
16050 (gud-tooltip-process-output, gud-tooltip-tips):
16051 Use add/remove-function instead.
16052 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
16053 (scheme-interaction-mode, exit-scheme-interaction-mode):
16054 Use add/remove-function instead.
16055
16056 * vc/vc-dispatcher.el: Use lexical-binding.
16057 (vc--process-sentinel): Rename from vc-process-sentinel.
16058 Change last arg to be the code to run. Don't use vc-previous-sentinel
16059 and vc-sentinel-commands any more.
16060 (vc-exec-after): Allow code to be a function. Use add/remove-function.
16061 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
16062
16063 2013-04-19 Masatake YAMATO <yamato@redhat.com>
16064
16065 * progmodes/sh-script.el (sh-imenu-generic-expression):
16066 Handle function names with a single character. (Bug#14111)
16067
16068 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
16069
16070 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
16071 for subroutines defined in an eval (bug#14182).
16072
16073 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16074
16075 * bookmark.el (bookmark-completing-read): Improve handling of empty
16076 string (bug#14176).
16077
16078 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16079
16080 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
16081
16082 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
16083
16084 New faster Imenu implementation (bug#14058).
16085 * progmodes/python.el (python-imenu-prev-index-position)
16086 (python-imenu-format-item-label-function)
16087 (python-imenu-format-parent-item-label-function)
16088 (python-imenu-format-parent-item-jump-label-function):
16089 New vars.
16090 (python-imenu-format-item-label)
16091 (python-imenu-format-parent-item-label)
16092 (python-imenu-format-parent-item-jump-label)
16093 (python-imenu--put-parent, python-imenu--build-tree)
16094 (python-imenu-create-index, python-imenu-create-flat-index)
16095 (python-util-popn): New functions.
16096 (python-mode): Set imenu-create-index-function to
16097 python-imenu-create-index.
16098
16099 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16100
16101 * winner.el (winner-active-region): Use region-active-p, activate-mark
16102 and deactivate-mark (bug#14225).
16103
16104 * simple.el (deactivate-mark): Don't inline it.
16105
16106 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
16107
16108 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
16109
16110 2013-04-18 Tassilo Horn <tsdh@gnu.org>
16111
16112 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
16113 file extensions from the archive-mode entry in order to prefer
16114 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
16115
16116 2013-04-18 Leo Liu <sdl.web@gmail.com>
16117
16118 * bindings.el (help-event-list): Add ?\?.
16119
16120 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16121
16122 * subr.el (with-wrapper-hook): Declare obsolete.
16123 * simple.el (filter-buffer-substring-function): New hook.
16124 (filter-buffer-substring): Use it.
16125 (filter-buffer-substring-functions): Mark obsolete.
16126 * minibuffer.el (completion-in-region-function): New hook.
16127 (completion-in-region): Use it.
16128 (completion-in-region-functions): Mark obsolete.
16129 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
16130 * abbrev.el (abbrev-expand-function): New hook.
16131 (expand-abbrev): Use it.
16132 (abbrev-expand-functions): Mark obsolete.
16133 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
16134 and :filter-return.
16135
16136 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16137
16138 * progmodes/python.el (python-nav--syntactically): Fix cornercases
16139 and do not care about match data.
16140
16141 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16142
16143 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
16144 completion tables when completing error conditions and
16145 `declare' arguments.
16146 (lisp-complete-symbol, field-complete): Mark as obsolete.
16147 (check-parens): Unmatched parens are user errors.
16148 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
16149
16150 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
16151
16152 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
16153 command changed buffer (ie. `flyspell-pre-buffer' is not current
16154 buffer), which prevents making decisions based on invalid value of
16155 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
16156 cause an error when `flyspell-pre-point' was nil after switching
16157 buffers.
16158 (flyspell-post-command-hook): No longer needs to change buffers when
16159 checking pre-word. While at it remove unnecessary progn.
16160
16161 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
16162
16163 * textmodes/ispell.el (ispell-add-per-file-word-list):
16164 Fix `flyspell-correct-word-before-point' error when accepting
16165 words and `coment-padding' is an integer by using
16166 `comment-normalize-vars' (Bug #14214).
16167
16168 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16169
16170 New defun movement commands.
16171 * progmodes/python.el (python-nav--syntactically)
16172 (python-nav--forward-defun, python-nav-backward-defun)
16173 (python-nav-forward-defun): New functions.
16174
16175 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16176
16177 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
16178 (python-syntax-context): Use named compiler-macro for backwards
16179 compatibility with Emacs 24.x.
16180
16181 2013-04-17 Leo Liu <sdl.web@gmail.com>
16182
16183 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
16184 octave-hide-process-buffer.
16185
16186 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16187
16188 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
16189 (bug#14216).
16190
16191 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
16192
16193 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
16194 Fix adjustment of offset when receiving incomplete responses from GDB
16195 (bug#14129).
16196
16197 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16198
16199 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
16200 python-mode-abbrev-table.
16201 (python-skeleton-define): Adjust accordingly.
16202 (python-mode-abbrev-table): New table that inherits from it so that
16203 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
16204
16205 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
16206 (abbrev-symbol): Use it.
16207 (abbrev--before-point): Use it since we already handle inheritance.
16208
16209 2013-04-16 Leo Liu <sdl.web@gmail.com>
16210
16211 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
16212 binding to info-lookup-symbol.
16213
16214 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
16215
16216 * minibuffer.el (completion--twq-all):
16217 * term/ns-win.el (ns-initialize-window-system):
16218 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
16219
16220 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16221
16222 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
16223 global bindings.
16224
16225 * doc-view.el (doc-view-start-process): Handle url-handler directories.
16226
16227 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
16228
16229 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
16230 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
16231 to nil.
16232 (ruby-end-of-defun): Remove the unused arg, change the docstring
16233 to reflect that this function is only used as the value of
16234 `end-of-defun-function'.
16235 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
16236 to reflect an earlier change that beginning/end-of-defun functions
16237 jump between methods in a class definition, as well as top-level
16238 functions.
16239
16240 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16241
16242 * minibuffer.el (minibuffer-complete): Don't just scroll
16243 a *Completions* that's been iconified.
16244 (minibuffer-force-complete): Make sure repetitions do cycle when going
16245 through completion-in-region -> minibuffer-complete.
16246
16247 2013-04-15 Alan Mackenzie <acm@muc.de>
16248
16249 Correct the placement of c-cpp-delimiters when there're #s not at
16250 col 0.
16251
16252 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
16253 place a submatch around the #.
16254 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
16255 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
16256 on the #, not BOL.
16257
16258 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16259
16260 * emacs-lisp/nadvice.el: Properly test names when adding advice.
16261 (advice--member-p): New arg `name'.
16262 (advice--add-function, advice-member-p): Use it (bug#14202).
16263
16264 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
16265
16266 Reformulate java imenu-generic-expression.
16267 The old expression contained ill formed regexps.
16268
16269 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
16270 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
16271 (cc-imenu-java-method-arg-regexp): New defconsts.
16272 (cc-imenu-java-build-type-args-regex): New defun.
16273 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
16274 handling of spaces in the regexp.
16275
16276 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16277
16278 * textmodes/ispell.el (ispell-command-loop): Remove
16279 flyspell highlight of a word when ispell accepts it (bug #14178).
16280
16281 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
16282
16283 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
16284 uses code from the previous `ange-ftp-run-real-handler'.
16285 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
16286 only in case that function exist. This is needed for proper
16287 unloading of Tramp.
16288
16289 2013-04-15 Tassilo Horn <tsdh@gnu.org>
16290
16291 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
16292
16293 * textmodes/reftex.el (reftex-compile-variables): Use it.
16294
16295 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16296
16297 * files.el (normal-mode): Only use default major-mode if no other mode
16298 was specified.
16299
16300 * emacs-lisp/trace.el (trace-values): New function.
16301
16302 * files.el: Allow : in local variables (bug#14089).
16303 (hack-local-variable-regexp): New var.
16304 (hack-local-variables-prop-line, hack-local-variables): Use it.
16305
16306 2013-04-13 Roland Winkler <winkler@gnu.org>
16307
16308 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
16309 data before it gets modified by bibtex-beginning-of-entry.
16310
16311 2013-04-13 Roland Winkler <winkler@gnu.org>
16312
16313 * textmodes/bibtex.el (bibtex-url): Doc fix.
16314
16315 2013-04-13 Roland Winkler <winkler@gnu.org>
16316
16317 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
16318 does not visit a BibTeX file, exclude it from the list of buffers
16319 returned by bibtex-initialize.
16320
16321 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
16322
16323 * window.el (split-window): Remove interactive form, since as a
16324 command this function is a special case of split-window-below.
16325 Correct doc string.
16326
16327 2013-04-12 Roland Winkler <winkler@gnu.org>
16328
16329 * faces.el (read-face-name): Do not override value of arg default.
16330 Allow single faces and strings as default values. Remove those
16331 elements from return value that are not faces.
16332 (describe-face): Simplify.
16333 (face-at-point): New optional args thing and multiple so that this
16334 function can provide the same functionality previously provided by
16335 read-face-name.
16336 (make-face-bold, make-face-unbold, make-face-italic)
16337 (make-face-unitalic, make-face-bold-italic, invert-face)
16338 (modify-face, read-face-and-attribute): Use face-at-point.
16339
16340 * cus-edit.el (customize-face, customize-face-other-window)
16341 * cus-theme.el (custom-theme-add-face)
16342 * face-remap.el (buffer-face-set)
16343 * facemenu.el (facemenu-set-face): Use face-at-point.
16344
16345 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
16346
16347 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
16348
16349 2013-04-10 Tassilo Horn <tsdh@gnu.org>
16350
16351 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
16352 off leading { and trailing } from field values.
16353
16354 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16355
16356 * emacs-lisp/timer.el (timer--check): New function.
16357 (timer--time, timer-set-function, timer-event-handler): Use it.
16358 (timer-set-idle-time): Simplify.
16359 (timer--activate): CSE.
16360 (timer-event-handler): Give more info in error message.
16361 (internal-timer-start-idle): New function, moved from C.
16362
16363 * mpc.el (mpc-proc): Add `restart' argument.
16364 (mpc-proc-cmd): Use it.
16365 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
16366 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
16367 less often.
16368
16369 2013-04-10 Masatake YAMATO <yamato@redhat.com>
16370
16371 * progmodes/sh-script.el: Implement `sh-mode' own
16372 `add-log-current-defun-function' (bug#14112).
16373 (sh-current-defun-name): New function.
16374 (sh-mode): Use the function.
16375
16376 2013-04-09 Bastien Guerry <bzg@gnu.org>
16377
16378 * simple.el (choose-completion-string): Fix docstring (bug#14163).
16379
16380 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
16381
16382 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16383
16384 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16385 timer (bug#14156).
16386
16387 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
16388
16389 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16390 declaration.
16391
16392 2013-04-07 Leo Liu <sdl.web@gmail.com>
16393
16394 * pcmpl-x.el: New file.
16395
16396 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
16397
16398 Do not set x-display-name until X connection is established.
16399 This is needed to prevent from weird situation described at
16400 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16401 * frame.el (make-frame): Set x-display-name after call to
16402 window system initialization function, not before.
16403 * term/x-win.el (x-initialize-window-system): Add optional
16404 display argument and use it.
16405 * term/w32-win.el (w32-initialize-window-system):
16406 * term/ns-win.el (ns-initialize-window-system):
16407 * term/pc-win.el (msdos-initialize-window-system):
16408 Add compatible optional display argument.
16409
16410 2013-04-06 Eli Zaretskii <eliz@gnu.org>
16411
16412 * files.el (normal-backup-enable-predicate): On MS-Windows and
16413 MS-DOS compare truenames of temporary-file-directory and of the
16414 file, so that 8+3 aliases (usually found in $TEMP on Windows)
16415 don't fail comparison by compare-strings. Also, compare file
16416 names case-insensitively on MS-Windows and MS-DOS.
16417
16418 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16419
16420 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16421 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16422
16423 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
16424
16425 * whitespace.el (whitespace-color-on, whitespace-color-off):
16426 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16427
16428 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
16429
16430 * ispell.el (ispell-set-spellchecker-params):
16431 Really set `ispell-args' for all equivs.
16432
16433 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16434
16435 * ido.el (ido-completions): Use extra elements of ido-decorations
16436 (bug#14143).
16437 (ido-decorations): Update docstring.
16438
16439 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
16440
16441 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16442 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16443 nil during initialization, in order not to miss changes since the
16444 file was opened. (Bug#14140)
16445
16446 2013-04-05 Leo Liu <sdl.web@gmail.com>
16447
16448 * kmacro.el (kmacro-call-macro): Fix bug#14135.
16449
16450 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
16451
16452 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16453
16454 2013-04-04 Glenn Morris <rgm@gnu.org>
16455
16456 * electric.el (electric-pair-inhibit-predicate): Add :version.
16457
16458 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16459
16460 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16461 when a package is required several times (bug#14082).
16462
16463 2013-04-04 Roland Winkler <winkler@gnu.org>
16464
16465 * faces.el (read-face-name): Behave as promised by the docstring.
16466 Assume that arg default is a list of faces.
16467 (describe-face): Call read-face-name with list of default faces.
16468
16469 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16470
16471 * bookmark.el: Fix deletion of bookmarks (bug#13972).
16472 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16473 (bookmark-bmenu-execute-deletions): Only skip first line if it's
16474 the header.
16475 (bookmark-exit-hook-internal): Save even if list is empty.
16476
16477 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
16478
16479 * emacs-lisp/package.el (package-pinned-packages): New var.
16480 (package--add-to-archive-contents): Obey it (bug#14118).
16481
16482 2013-04-03 Alan Mackenzie <acm@muc.de>
16483
16484 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16485 Also adapt to the new values of element 7 of a parse state.
16486
16487 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16488 parameter `not-in-delimiter'. Handle being inside comment opener.
16489 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16490 character in case we're typing a '*' after a '/'.
16491 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16492 instead by passing the parameter to c-state-pp-to-literal.
16493
16494 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16495 for elt. 7 of a parse state.
16496
16497 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16498
16499 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16500 * international/latin1-disp.el, international/mule-util.el:
16501 * language/cyril-util.el, language/european.el, language/ind-util.el:
16502 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16503 * language/tibetan.el, language/viet-util.el:
16504 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16505
16506 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16507
16508 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16509 (electric-pair-post-self-insert-function): Use it.
16510 (electric-pair-default-inhibit): New function, extracted from
16511 electric-pair-post-self-insert-function.
16512
16513 2013-03-31 Roland Winkler <winkler@gnu.org>
16514
16515 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16516
16517 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16518
16519 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16520
16521 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
16522
16523 Un-indent after "pass" and "return" statements (Bug#13888)
16524 * progmodes/python.el (python-indent-block-enders): New var.
16525 (python-indent-calculate-indentation): Use it.
16526
16527 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
16528
16529 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16530 defun. Defining it as defalias could introduce too eager
16531 byte-compiler optimization. (Bug#14030)
16532
16533 2013-03-30 Chong Yidong <cyd@gnu.org>
16534
16535 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16536
16537 2013-03-30 Leo Liu <sdl.web@gmail.com>
16538
16539 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16540 (kmacro-execute-from-register): Pass the keyboard macro to
16541 kmacro-call-macro or repeating won't work correctly.
16542
16543 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16544
16545 * progmodes/subword.el: Back to using `forward-symbol'.
16546
16547 * subr.el (forward-whitespace, forward-symbol)
16548 (forward-same-syntax): Move from thingatpt.el.
16549
16550 2013-03-29 Leo Liu <sdl.web@gmail.com>
16551
16552 * kmacro.el (kmacro-to-register): New command.
16553 (kmacro-execute-from-register): New function.
16554 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16555
16556 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16557
16558 * mpc.el: Use defvar-local and setq-local.
16559 (mpc--proc-connect): Connection failures are not bugs.
16560 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16561 (mpc-volume-map): Bind to the up-events.
16562
16563 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16564
16565 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16566 instead of `forward-symbol'.
16567
16568 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16569
16570 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16571 (edebug--recursive-edit): Use it.
16572 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16573 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16574
16575 2013-03-28 Leo Liu <sdl.web@gmail.com>
16576
16577 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16578
16579 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16580
16581 * facemenu.el (list-colors-callback): New defvar.
16582 (list-colors-redisplay): New function.
16583 (list-colors-display): Install list-colors-redisplay as the
16584 revert-buffer-function. (Bug#14063)
16585
16586 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16587
16588 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16589 and suffixes don't overlap (bug#14061).
16590
16591 * case-table.el: Use lexical-binding.
16592 (case-table-get-table): New function.
16593 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16594
16595 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16596
16597 * progmodes/subword.el: Add `superword-mode' to do word motion
16598 over symbol_words (parallels and leverages `subword-mode' which
16599 does word motion inside MixedCaseWords).
16600
16601 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16602
16603 * eshell/em-unix.el: Move su and sudo to...
16604 * eshell/em-tramp.el: ...Eshell tramp module.
16605
16606 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16607
16608 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16609 Change return value to be a sexp. Delay `get-buffer' to after
16610 restoring the desktop (bug#13951).
16611
16612 2013-03-26 Leo Liu <sdl.web@gmail.com>
16613
16614 * register.el: Move semantic tag handling back to
16615 cedet/semantic/senator.el. (Bug#14052)
16616
16617 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16618
16619 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16620 into the prompt either (bug#13963).
16621
16622 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16623
16624 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16625 part of "(error-foo)".
16626
16627 2013-03-24 Juri Linkov <juri@jurta.org>
16628
16629 * replace.el (list-matching-lines-prefix-face): New defcustom.
16630 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16631 `occur-engine' if `face-differs-from-default-p' returns t.
16632 (occur-engine): Add `,' inside backquote construct to evaluate
16633 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16634 Pass `prefix-face' to the functions `occur-context-lines' and
16635 `occur-engine-add-prefix'.
16636 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16637 `prefix-face' and propertize the prefix with `prefix-face'.
16638 (Bug#14017)
16639
16640 2013-03-24 Leo Liu <sdl.web@gmail.com>
16641
16642 * nxml/rng-valid.el (rng-validate-while-idle)
16643 (rng-validate-quick-while-idle): Guard against deleted buffer.
16644 (Bug#13999)
16645
16646 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16647 is the last entry in kill-buffer-hook.
16648
16649 * files.el (kill-buffer-hook): Doc fix.
16650
16651 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16652
16653 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16654 Make it safe-local.
16655
16656 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16657
16658 2013-03-23 Leo Liu <sdl.web@gmail.com>
16659
16660 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16661 Remove.
16662
16663 * nxml/rng-valid.el (rng-validate-mode)
16664 (rng-after-change-function, rng-do-some-validation):
16665 * nxml/rng-maint.el (rng-validate-buffer):
16666 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16667 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16668 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16669 (nxml-extend-after-change-region): Use with-silent-modifications.
16670
16671 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16672 timer-idle-list.
16673
16674 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16675 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16676 timer-idle-list. (Bug#13999)
16677
16678 2013-03-23 Juri Linkov <juri@jurta.org>
16679
16680 * info.el (info-index-match): New face.
16681 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16682 main pattern and add text properties with the new face to matches
16683 in index entries relative to the beginning of the index entry.
16684 (Bug#14015)
16685
16686 2013-03-21 Eric Ludlam <zappo@gnu.org>
16687
16688 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16689 Inhibit read only while inserting objects.
16690
16691 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16692
16693 * progmodes/cfengine.el: Update docs to mention
16694 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16695 symbol motion. Remove "_" from the word syntax.
16696
16697 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16698
16699 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16700 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16701
16702 2013-03-20 Juri Linkov <juri@jurta.org>
16703
16704 * info.el (Info-next-reference-or-link)
16705 (Info-prev-reference-or-link): New functions.
16706 (Info-next-reference, Info-prev-reference): Use them.
16707 (Info-try-follow-nearest-node): Handle footnote navigation.
16708 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16709
16710 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16711
16712 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16713 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16714
16715 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16716
16717 Suppress unnecessary non-ASCII chatter during build process.
16718 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16719 (batch-skkdic-convert): Suppress most of the chatter.
16720 It's not needed so much now that machines are faster,
16721 and its non-ASCII component was confusing; see Dmitry Gutov in
16722 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16723
16724 2013-03-20 Leo Liu <sdl.web@gmail.com>
16725
16726 * ido.el (ido-chop): Fix bug#10994.
16727
16728 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16729
16730 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16731 Remove vars.
16732 (whitespace-color-on, whitespace-color-off):
16733 Use `font-lock-fontify-buffer' (Bug#13817).
16734
16735 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16736
16737 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16738 remapping in mode-line.
16739 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16740
16741 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16742
16743 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16744 value for `whitespace-line' face (Bug#13875).
16745 (whitespace-font-lock-keywords): Change description.
16746 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16747 the constructed keywords instead.
16748 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16749
16750 2013-03-19 Leo Liu <sdl.web@gmail.com>
16751
16752 * progmodes/compile.el (compilation-display-error): New command.
16753 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16754 C-o. (Bug#13992)
16755
16756 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16757
16758 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16759
16760 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16761
16762 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16763
16764 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16765
16766 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16767
16768 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16769 * net/tramp-gvfs.el (top):
16770 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16771 (tramp-handle-shell-command): Use it.
16772 (tramp-dissect-file-name): Raise an error when hostname is a
16773 method name, and neither method nor user is specified.
16774
16775 * net/trampver.el: Update release number.
16776
16777 2013-03-18 Leo Liu <sdl.web@gmail.com>
16778
16779 Make sure eldoc can be turned off properly.
16780 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16781 eldoc-mode.
16782 (eldoc-display-message-p): Revert last change.
16783 (eldoc-display-message-no-interference-p)
16784 (eldoc-print-current-symbol-info): Tweak.
16785
16786 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16787
16788 * doc-view.el (doc-view-new-window-function): Check the new window
16789 overlay's display property instead the char property of the
16790 buffer's first char. Use `with-selected-window' instead of
16791 `save-window-excursion' with `select-window'.
16792 (doc-view-document->bitmap): Check the current doc-view overlay's
16793 display property instead the char property of the buffer's first char.
16794
16795 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16796
16797 Automate the build of ja-dic.el (Bug#13984).
16798 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16799 from the input, rather than assume that it's been done for us by the
16800 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16801 the current date into a ja-dic.el comment, as that complicates
16802 regression testing.
16803
16804 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16805
16806 * whitespace.el: Fix double evaluation.
16807 (whitespace-space, whitespace-hspace, whitespace-tab)
16808 (whitespace-newline, whitespace-trailing, whitespace-line)
16809 (whitespace-space-before-tab, whitespace-indentation)
16810 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16811 obsolete defvars.
16812 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16813 (whitespace-color-on): Use a single font-lock-add-keywords call.
16814 Fix double-evaluation of face variables.
16815
16816 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16817
16818 * net/tramp-adb.el (tramp-adb-parse-device-names):
16819 Use `start-process' instead of `call-process'. Otherwise, the
16820 function might be blocked under MS Windows. (Bug#13299)
16821
16822 2013-03-17 Leo Liu <sdl.web@gmail.com>
16823
16824 Extend eldoc to display info in the mode-line. (Bug#13978)
16825 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16826 (eldoc-mode-line-string): New variable.
16827 (eldoc-minibuffer-message): New function.
16828 (eldoc-message-function): New variable.
16829 (eldoc-message): Use it.
16830 (eldoc-display-message-p)
16831 (eldoc-display-message-no-interference-p):
16832 Support eldoc-post-insert-mode.
16833
16834 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16835 (eval-expression): Run it.
16836
16837 2013-03-17 Roland Winkler <winkler@gnu.org>
16838
16839 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16840 strings in the list of return values.
16841
16842 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16843
16844 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16845 radix before checking for HMS forms.
16846
16847 2013-03-16 Leo Liu <sdl.web@gmail.com>
16848
16849 * progmodes/scheme.el: Add indentation and font-locking for λ.
16850 (Bug#13975)
16851
16852 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16853
16854 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16855 token before point (bug#13942).
16856
16857 2013-03-16 Leo Liu <sdl.web@gmail.com>
16858
16859 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16860
16861 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16862
16863 * startup.el (command-line-normalize-file-name): Fix handling of
16864 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16865 <xfq.free@gmail.com> in
16866 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16867
16868 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16869
16870 Sync with Tramp 2.2.7.
16871
16872 * net/trampver.el: Update release number.
16873
16874 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16875
16876 * doc-view.el: Fix bug#13887.
16877 (doc-view-insert-image): Don't modify overlay associated to
16878 non-live windows, and implement horizontal centering of image in
16879 case it's smaller than the window.
16880 (doc-view-new-window-function): Force redisplay of new windows on
16881 doc-view buffers.
16882
16883 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16884
16885 * saveplace.el (save-place-alist-to-file): Don't sort
16886 `save-place-alist', just pretty-print it (bug#13882).
16887
16888 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16889
16890 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16891 Check whether `default-file-name-coding-system' is bound.
16892 It isn't in XEmacs.
16893
16894 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16895
16896 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16897 backquotes for `obsolete' (bug#13929).
16898
16899 * international/mule.el (find-auto-coding): Include file name in
16900 obsolescence warning (bug#13922).
16901
16902 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16903
16904 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16905 for CFEngine 3-specific indentation.
16906 (cfengine3-indent-line): Use it. Fix up category regex.
16907 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16908
16909 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16910
16911 * type-break.el (type-break-file-name):
16912 * textmodes/remember.el (remember-data-file):
16913 * strokes.el (strokes-file):
16914 * shadowfile.el (shadow-initialize):
16915 * saveplace.el (save-place-file):
16916 * ps-bdf.el (bdf-cache-file):
16917 * progmodes/idlwave.el (idlwave-config-directory):
16918 * net/quickurl.el (quickurl-url-file):
16919 * international/kkc.el (kkc-init-file-name):
16920 * ido.el (ido-save-directory-list-file):
16921 * emulation/viper.el (viper-custom-file-name):
16922 * emulation/vip.el (vip-startup-file):
16923 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16924 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16925
16926 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16927
16928 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16929 * language/thai-word.el: Switch to UTF-8.
16930
16931 See ChangeLog.16 for earlier changes.
16932
16933 ;; Local Variables:
16934 ;; coding: utf-8
16935 ;; End:
16936
16937 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16938
16939 This file is part of GNU Emacs.
16940
16941 GNU Emacs is free software: you can redistribute it and/or modify
16942 it under the terms of the GNU General Public License as published by
16943 the Free Software Foundation, either version 3 of the License, or
16944 (at your option) any later version.
16945
16946 GNU Emacs is distributed in the hope that it will be useful,
16947 but WITHOUT ANY WARRANTY; without even the implied warranty of
16948 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16949 GNU General Public License for more details.
16950
16951 You should have received a copy of the GNU General Public License
16952 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.