* lisp/simple.el (handle-shift-selection, exchange-point-and-mark)
[bpt/emacs.git] / lisp / ChangeLog
1 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * simple.el (handle-shift-selection, exchange-point-and-mark)
4 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
5 (transient-mark-mode): Use&set the global value.
6 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
7 * emulation/edt.el (edt-emulation-off): Save&restore the global
8 transient-mark-mode setting.
9 * obsolete/pc-select.el (pc-selection-mode): Use the
10 transient-mark-mode function.
11
12 2014-06-23 Eli Zaretskii <eliz@gnu.org>
13
14 * international/fontset.el (script-representative-chars):
15 Add representative characters for scripts added in Unicode 7.0.
16 (otf-script-alist): Synchronize with the latest registry of OTF
17 script tags.
18
19 * international/characters.el (char-script-table): Update for
20 scripts added and codepoint ranges changed in Unicode 7.0.
21
22 2014-06-23 Eli Barzilay <eli@barzilay.org>
23
24 * calculator.el (calculator-standard-displayer): Fix bug in use of
25 `calculator-groupize-number'.
26 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
27 `eval' code, so it works in v24.3.1 too.
28 (calculator-last-input): Comment to clarify purpose.
29
30 2014-06-22 Mario Lang <mlang@delysid.org>
31
32 * textmodes/rst.el (rst-comment-region): From from -> from.
33
34 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
35
36 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
37
38 * electric.el (electric-layout-post-self-insert-function):
39 * emacs-lisp/ert.el (ert--insert-infos):
40 * obsolete/vi.el (vi-set-mark):
41 * term.el (term-handle-scroll):
42 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
43 * wid-edit.el (widget-editable-list-value-create):
44 Prefer point-marker to copy-marker of point.
45
46 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
47
48 Fix completion retrieval parsing (bug#17209).
49 * progmodes/python.el (python-mode):
50 (python-util-strip-string): New function.
51 (python-shell-completion-get-completions): Use it.
52
53 2014-06-21 Eli Zaretskii <eliz@gnu.org>
54
55 * skeleton.el (skeleton-insert): Fix last change.
56
57 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
58
59 Enhancements for outline integration (bug#17796).
60 * progmodes/python.el (python-mode): Properly set
61 outline-heading-end-regexp so that comments after colons for
62 defuns are supported.
63
64 2014-06-21 Eli Zaretskii <eliz@gnu.org>
65
66 * skeleton.el (skeleton-insert): Doc fix.
67
68 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
69
70 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
71 (smie-config-guess): Use smie-config-local so the rules are obeyed
72 (bug#17818).
73
74 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
75 since it's already done inside the loop (bug#17819).
76
77 2014-06-21 Martin Rudalics <rudalics@gmx.at>
78
79 * mouse.el (mouse-drag-line): Re-remove code initially removed
80 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
81 (Bug#17819).
82
83 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
84
85 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
86 align with the surrounding parent (bug#17721).
87
88 2014-06-21 Eli Zaretskii <eliz@gnu.org>
89
90 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
91 locally to nil.
92 (texinfo-insert-block, texinfo-insert-@end)
93 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
94 local setting of skeleton-end-newline by adding an explicit \n to
95 the skeletons where appropriate. (Bug#17801)
96
97 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
98
99 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
100 (smie-indent--hanging-p): Use it.
101 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
102
103 2014-06-21 Leo Liu <sdl.web@gmail.com>
104
105 * simple.el (read-quoted-char): Don't let help chars pop up help
106 buffer. (Bug#16617)
107
108 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
109
110 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
111 for | (bug#17621).
112
113 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
114 Drop unknown events instead of burping.
115
116 2014-06-21 Eli Zaretskii <eliz@gnu.org>
117
118 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
119 and later. (Bug#17790)
120
121 2014-06-21 Juri Linkov <juri@jurta.org>
122
123 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
124 to `soft'. (Bug#17554)
125
126 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
127
128 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
129 (bug#17737).
130
131 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
132
133 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
134 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
135
136 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
137
138 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
139 `unread-command-events'.
140
141 2014-06-19 William Xu <william.xwl@gmail.com>
142
143 * progmodes/hideif.el (hif-string-to-number): Don't return float for
144 hex integer constants (bug#17807).
145
146 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
147
148 * international/mule-util.el (truncate-string-ellipsis): New var.
149 (truncate-string-to-width): Use it.
150
151 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
152
153 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
154 (lisp-string-in-doc-position-p): New function, extracted from
155 lisp-font-lock-syntactic-face-function.
156 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
157
158 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
159
160 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
161
162 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
163
164 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
165 (bubbles--game-over): Don't add `intangible' properties since they
166 didn't work anyway.
167
168 2014-06-18 Juri Linkov <juri@jurta.org>
169
170 * vc/ediff-init.el (ediff-current-diff-Ancestor)
171 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
172 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
173 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
174 Add `min-colors 88' version with removed black/white foregrounds.
175 (Bug#10181)
176
177 2014-06-18 Juri Linkov <juri@jurta.org>
178
179 * vc/diff-mode.el (diff-changed): Empty face definition to use
180 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
181 (diff-context): Use darker color on light background and
182 lighter color on dark background.
183
184 2014-06-18 Juri Linkov <juri@jurta.org>
185
186 * vc/diff-mode.el (diff-refine-changed): Rename from
187 `diff-refine-change' for consistency with `diff-changed'.
188 (diff-refine-change): Add obsolete face alias. (Bug#10181)
189
190 * vc/smerge-mode.el (smerge-refined-changed): Rename from
191 `smerge-refined-change'.
192 (smerge-refined-change): Add obsolete face alias.
193
194 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
195
196 * rect.el (rectangle-preview): New custom.
197 (rectangle): New group.
198 (rectangle--pos-cols): Add `window' argument.
199 (rectangle--string-preview-state, rectangle--string-preview-window):
200 New vars.
201 (rectangle--string-flush-preview, rectangle--string-erase-preview)
202 (rectangle--space-to, rectangle--string-preview): New functions.
203 (string-rectangle): Use them.
204 (rectangle--inhibit-region-highlight): New var.
205 (rectangle--highlight-for-redisplay): Obey it. Make sure
206 `apply-on-region' uses the point-crutches of the right window.
207 Use :align-to rather than multiple spaces.
208
209 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
210
211 * ruler-mode.el (ruler-mode-window-col)
212 (ruler-mode-mouse-set-left-margin)
213 (ruler-mode-mouse-set-right-margin): Fix calculation of column
214 from mouse position (Bug#17768).
215
216 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
217
218 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
219 without varname or rhs causes crash.
220 (dun-ftp): Fix bug where blank ftp password is allowed, making it
221 impossible to win endgame.
222 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
223 rlogin is anymore.
224 (dun-help): Bump version number; update contact info.
225
226 2014-06-15 Eli Barzilay <eli@barzilay.org>
227
228 * calculator.el (calculator-prompt, calculator-remove-zeros)
229 (calculator-mode-hook, calculator-operators, calculator-stack)
230 (calculator-mode): Tweak docstring.
231 (calculator-user-operators): Tweak docstring, fix a bug in the last
232 example.
233 (calculator-displayer): `std' case has an optional boolean.
234 (calculator-displayers): Use the new boolean to group in decimal mode.
235 (calculator-mode-map, calculator, calculator-message)
236 (calculator-op-arity, calculator-add-operators)
237 (calculator-string-to-number, calculator-displayer-prev)
238 (calculator-displayer-next, calculator-remove-zeros)
239 (calculator-eng-display, calculator-number-to-string)
240 (calculator-update-display, calculator-last-input)
241 (calculator-clear-fragile, calculator-digit, calculator-decimal)
242 (calculator-exp, calculator-saved-move, calculator-clear)
243 (calculator-copy, calculator-put-value, calculator-help)
244 (calculator-expt, calculator-truncate): Minor code improvements.
245 (calculator-need-3-lines): New function pulling out code from
246 `calculator'.
247 (calculator-get-display): Rename from `calculator-get-prompt', and
248 improved.
249 (calculator-push-curnum): Rename from `calculator-curnum-value', and
250 extended for all uses of it. All callers changed.
251 (calculator-groupize-number): New utility for splitting a number into
252 groups.
253 (calculator-standard-displayer): Improve code, new optional argument to
254 use comma-split groups, make second argument optional too to use with
255 'left/'right inputs. All callers changed.
256 (calculator-reduce-stack-once): New utility, doing the meat of what
257 `calculator-reduce-stack' used to do, much improved (mostly using
258 `pcase' for conciseness and clarity).
259 (calculator-reduce-stack): Now doing just the reduction loop using
260 `calculator-reduce-stack-once'.
261 (calculator-funcall): Improve code, make it work in v24.3.1 too.
262 (calculator-last-input): Improve code, remove some old cruft.
263 (calculator-quit): Kill `calculator-buffer' in electric mode too.
264 (calculator-integer-p): Remove.
265 (calculator-fact): Improve code, make it work on non-integer values
266 too (using truncated numbers).
267
268 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
269
270 Sync with Tramp 2.2.10.
271
272 * net/tramp.el (tramp-methods): Tweak docstring.
273 (tramp-handle-file-accessible-directory-p): Check for
274 `file-readable-p' instead of `file-executable-p'.
275 (tramp-check-cached-permissions):
276 Use `tramp-compat-file-attributes'.
277 (tramp-call-process): Add new argument VEC. Adapt callees in all
278 tramp*.el files.
279
280 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
281 (tramp-adb-maybe-open-connection): Don't set
282 `tramp-current-*' variables.
283
284 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
285 file properties of temporary buffers.
286
287 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
288
289 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
290 (tramp-gvfs-handle-delete-file): Flush file
291 properties, not directory properties.
292 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
293 reading "unix::mode".
294 (tramp-gvfs-handle-file-name-all-completions):
295 Use "-h" option for "gvfs-ls".
296 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
297 (tramp-gvfs-send-command): Simplify traces.
298
299 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
300 (vc-git-program, vc-hg-program): Declare.
301 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
302 (tramp-methods) <nc>: Add new method.
303 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
304 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
305 `tramp-login-args'.
306 (tramp-default-user-alist): Add "nc".
307 (top): Remove completion function for "sftp". Add completion
308 functions for "nc" and "psftp".
309 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
310 Implement support for "nc" method.
311 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
312 (tramp-remote-coding-commands, tramp-call-local-coding-command):
313 Tweak docstring.
314 (tramp-sh-handle-write-region): Tweak error message.
315 (tramp-sh-handle-vc-registered): Remove backends when the remote
316 binary does not exist.
317 (tramp-find-inline-encoding): Do not raise an error.
318 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
319 the "nc" case. Quote result also locally.
320
321 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
322 (tramp-smb-handle-set-file-acl): Use `start-process'.
323 (tramp-smb-handle-insert-directory): Use progress reporter.
324 (tramp-smb-handle-rename-file): Flush also file properties of
325 FILENAME.
326
327 * net/trampver.el: Update release number.
328
329 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
330
331 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
332 add-to-list.
333 (ses-localvars): Remove ses--local-printer-list, unused.
334 (ses--metaprogramming): New macro. Use it to defvar variables.
335 (ses-set-localvars): Simplify.
336 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
337 property-list into an alist.
338 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
339 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
340 Remove; use defstruct accessors/setters instead.
341 (ses-cell-formula-aset, ses-cell-printer-aset)
342 (ses-cell-references-aset): Remove, use setf instead.
343 (ses--alist-get): New function.
344 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
345 Use an alist instead of a plist and don't do move-to-front since the
346 list is always short.
347 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
348 (ses-cell-property-set-fun, ses-cell-property-set)
349 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
350 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
351 (ses--letref): New macro.
352 (ses-cell-property-pop): Rewrite.
353 (ses--cell): Rename from ses-cell and make it into a function.
354 Make `formula' fallback on `value' if nil.
355 (ses--local-printer): Rename from ses-local-printer and make it into
356 a function.
357 (ses-set-cell): Turn it into a macro so finding the accessor from the
358 field name is done at compile time.
359 (ses-repair-cell-reference-all): Test presence of `sym' rather than
360 `ref' before adding `sym' to :ses-repair-reference.
361 (ses-calculate-cell): Use ses--letref rather than
362 ses-cell-property-get-handle.
363 (ses-write-cells): Use a single prin1-to-string.
364 (ses-setter-with-undo): New function.
365 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
366 (ses-unset-with-undo): Remove.
367 (ses-load): Prefer apply' over `eval'.
368 (ses-read-printer, ses-set-column-width): Use standard "(default
369 foo)" format.
370
371 2014-06-15 Glenn Morris <rgm@gnu.org>
372
373 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
374
375 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
376 Replace delete-duplicates and mapcan by cl- versions throughout.
377 And cl-macroexpand-all by macroexpand-all.
378 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
379
380 2014-06-15 Eli Zaretskii <eliz@gnu.org>
381
382 * subr.el (posn-col-row): Doc fix. (Bug#17768)
383
384 2014-06-15 Juri Linkov <juri@jurta.org>
385
386 * bindings.el: Put `ascii-character' property on keypad keys
387 mapped to characters. (Bug#17759)
388
389 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
390
391 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
392 bumping forward into a closing paren (bug#17761).
393
394 * term/xterm.el (xterm--version-handler): Work around for OSX
395 Terminal.app (bug#17607).
396
397 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
398
399 * play/dunnet.el (dun-describe-room, dun-mode):
400 If a lamp is in the room, you won't be eaten by a grue.
401
402 2014-06-13 Glenn Morris <rgm@gnu.org>
403
404 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
405 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
406 (compile-always): GNU make automatically passes
407 command-line arguments to sub-makes.
408
409 * calendar/calendar.el (calendar-generate-window):
410 Remove pointless call to font-lock-fontify-buffer.
411
412 2014-06-13 Matthias Meulien <orontee@gmail.com>
413
414 * simple.el (completion-list-mode-map): Navigate with tab and backtab
415 (bug#17767).
416
417 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
418
419 * simple.el (set-mark-command): Simplify a bit.
420
421 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
422
423 * help.el (help--key-binding-keymap): New function.
424 (help--binding-locus): New function.
425 (describe-key): Mention the keymap in which the binding was
426 found. (bug#13948)
427
428 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
429
430 * hippie-exp.el (he--all-buffers): New function.
431 (try-expand-line-all-buffers, try-expand-list-all-buffers)
432 (try-expand-dabbrev-all-buffers): Use it.
433
434 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
435
436 * hippie-exp.el (try-expand-line-all-buffers)
437 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
438 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
439 original buffer, in case they're buffer-local.
440
441 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
442
443 * ses.el (ses-initial-global-parameters-re): New defconst, a
444 specific regexp is needed now that ses.el can handle both
445 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
446 local printers.
447 (ses-localvars): Add local variables needed for local printer handling.
448 (ses-set-localvars): Handle hashmap initialisation.
449 (ses-paramlines-plist): Add param-line for number of local printers.
450 (ses-paramfmt-plist): New defconst, needed for code factorization
451 between functions `ses-set-parameter' and
452 `ses-file-format-extend-paramter-list'
453 (ses-make-local-printer-info): New defsubst.
454 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
455 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
456 (ses-cell-printer-aset): New defmacro.
457 (ses-local-printer-compile): New defun.
458 (ses-local-printer): New defmacro.
459 (ses-printer-validate, ses-call-printer): Add support for local
460 printer functions.
461 (ses-file-format-extend-paramter-list): New defun.
462 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
463 factorization.
464 (ses-load): Add support for local printer functions.
465 (ses-read-printer): Update docstring and add support for local printer
466 functions.
467 (ses-refresh-local-printer, ses-define-local-printer): New defun.
468 (ses-safe-printer): Add support for local printer functions.
469
470 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
471
472 * ffap.el (ffap-lax-url): New var (bug#17723).
473 (ffap-url-at-point): Use it.
474 (ffap-file-at-point): Avoid returning just "/".
475
476 2014-06-12 Matthias Meulien <orontee@gmail.com>
477
478 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
479 (python-mode-map): Bind it.
480
481 * progmodes/python.el (class skeleton): Don't erase last char of class
482 name (bug#17683).
483
484 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
485
486 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
487
488 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
489
490 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
491 (bug#17745).
492
493 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
494
495 * international/mule-cmds.el: Use lexical-binding.
496 (ucs-names): Simplify.
497
498 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
499
500 * progmodes/python.el (run-python): Use read-shell-command.
501
502 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
503
504 * rect.el: Make it possible to move bounds past EOL or into TABs.
505 (operate-on-rectangle): Use apply-on-rectangle.
506 (rectangle--mark-crutches): New var.
507 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
508 (rectangle--crutches, rectangle--reset-crutches): New functions.
509 (apply-on-rectangle): Obey crutches. Avoid setq.
510 Fix missing final iteration if end is at EOB&BOL.
511 (rectangle-mark-mode-map): Add remap bindings for
512 exchange-point-and-mark and char/line movements.
513 (rectangle--*-char): New function.
514 (rectangle-exchange-point-and-mark, rectangle-right-char)
515 (rectangle-left-char, rectangle-forward-char)
516 (rectangle-backward-char, rectangle-next-line)
517 (rectangle-previous-line): New commands.
518 (rectangle--place-cursor): New function.
519 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
520
521 2014-06-08 Glenn Morris <rgm@gnu.org>
522
523 * startup.el (initial-buffer-choice): Doc fix.
524 Reset :version (adding an option does not merit a :version bump).
525
526 * bookmark.el (bookmark-load):
527 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
528
529 2014-06-08 Juri Linkov <juri@jurta.org>
530
531 * desktop.el: Activate auto-saving on window configuration changes.
532 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
533 `desktop-auto-save-set-timer' to/from
534 `window-configuration-change-hook'.
535 (desktop-auto-save-set-timer): Change REPEAT arg of
536 `run-with-idle-timer' from t to nil.
537 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
538
539 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
540
541 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
542 vc-hg-command (bug#17570).
543
544 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
545
546 * international/mule-cmds.el (ucs-names): Add special entry for BEL
547 (bug#17702).
548
549 2014-06-08 Glenn Morris <rgm@gnu.org>
550
551 * startup.el (window-setup-hook): Doc fix.
552
553 * emacs-lisp/package.el (package-check-signature)
554 (package-unsigned-archives): Doc fixes.
555
556 2014-06-08 Martin Rudalics <rudalics@gmx.at>
557
558 * window.el (display-buffer-use-some-window): Don't make window
559 used smaller than it was before (Bug#17671).
560
561 2014-06-08 Eli Zaretskii <eliz@gnu.org>
562
563 * menu-bar.el (menu-bar-open): Fix last change: use the PC
564 'redisplay' instead of '(sit-for 0)'.
565
566 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
567
568 * net/tramp.el (tramp-ssh-controlmaster-options):
569 Improve search regexp. (Bug#17653)
570
571 2014-06-08 Glenn Morris <rgm@gnu.org>
572
573 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
574
575 2014-06-08 Eli Zaretskii <eliz@gnu.org>
576
577 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
578
579 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
580
581 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
582 (bug#17586).
583
584 * vc/vc-hg.el (vc-hg-log-graph): New var.
585 (vc-hg-print-log): Use it.
586 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
587 graph output (bug#17515).
588
589 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
590
591 * mouse.el (mouse-posn-property): Ignore buffer position info when the
592 even happened elsewhere.
593
594 2014-06-06 Mario Lang <mlang@delysid.org>
595
596 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
597 `recenter' if `current-buffer' is equal to `window-buffer'.
598
599 2014-06-05 Leo Liu <sdl.web@gmail.com>
600
601 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
602
603 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
604
605 * textmodes/tildify.el (tildify-foreach-region-outside-env):
606 New function which calls a callback on portions of the buffer that are
607 outside of ignored environments.
608 (tildify-build-regexp): Remove function since it is now
609 incorporated in `tildify-foreach-region-outside-env' where it is
610 optimised and simplified by the use of `mapconcat'.
611 (tildify-tildify): Return number of substitutions made so that…
612 (tildify-count): …can be removed.
613 (tildify-find-env): Accept a new PAIRS argument which was
614 previously looked up in `tildify-ignored-environments-alist' each
615 time the function was called. With this change, the lookup is
616 performed only once in `tildify-foreach-region-outside-env'.
617 (tildify-region): Greatly simplify the function since now most of
618 the work is done by `tildify-foreach-region-outside-env'.
619 (tildify-mode-alist): Simplify slightly by avoiding if and setq
620 and instead using or.
621
622 * textmodes/tildify.el (tildify-ignored-environments-alist):
623 Optimise environments regexes
624
625 Each time beginning of an environment to ignore is found,
626 `tildify-find-env' needs to identify regexp for the ending
627 of the environment. This is done by trying all the opening
628 regexes on matched text in a loop, so to speed that up, this
629 loop should have fewer things to match, which can be done by
630 using alternatives in the opening regexes.
631
632 Coincidentally, this should make matching of the opening
633 regexp faster as well thanks to the use of `regexp-opt' and
634 having common prefix pulled from many regexes.
635
636 * textmodes/tildify.el (tildify-string-alist)
637 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
638 of supported modes since `xml-mode' is no longer a thing but just
639 an alias to the former. Also include comments and insides of tags
640 in `tildify-ignored-environments-alist' for XML modes. Finally,
641 since XML does not define “&nbsp;”[1], use a numeric reference for
642 a no-break space (namely “&#160;”)
643
644 [1] XML specification defines only a handful of predefined entities.
645 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
646 and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
647 >, &, ' and " respectively). This is in contrast to HTML and even
648 XHTML which defined a whole bunch of entities including “&nbsp;”.
649
650 * textmodes/tildify.el (tildify-pattern-alist)
651 (tildify-string-alist, tildify-ignored-environments-alist):
652 Improve defcustom's types by adding more tags explaining what each
653 value means and replace “sexp” used in
654 `tildify-ignored-environments-alist' with a full type declaration.
655
656 * textmodes/tildify.el (tildify-find-env): Fix matched group
657 indexes in end-regex building
658
659 When looking for a start of an ignore-environment, the regex is built
660 by concatenating regexes of all the environments configured in
661 `tildify-ignored-environments-alist'. So for example, the following
662 list could be used to match TeX's \verb and \verb* commands:
663
664 (("\\\\verb\\(.\\)" . (1))
665 ("\\\\verb\\*\\(.\\)" . (1)))
666
667 This would result in the following regex being used to find the start
668 of any of the variants of the \verb command:
669
670 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
671
672 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
673 won't match anything, and thus (match-string 1) will be nil, which
674 will cause building of the end-matching regex to fail.
675
676 Fix this by using capture groups from the time when the opening
677 regexes are matched individually.
678
679 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
680 in `tildify-find-env'
681
682 The `tildify-ignored-environments-alist' allows the end-regex to
683 be provided not as a static string but mix of strings and indexes
684 of groups matched the begin-regex. For example, the “\verb!…!”
685 TeX-command (where “!” is an arbitrary character) is handled
686 using:
687
688 ("\\\\verb\\*?\\(.\\)" . (1))
689
690 In the same way, the following should be supported as well:
691
692 ("open-\\(.\\)" . ("end-" 1))
693
694 However the tildify-find-env function fails at
695
696 (concat result
697 (if (stringp (setq aux (car expression)))
698 expression ; BUG: expression is a list
699 (regexp-quote (match-string aux))))
700
701 where the string part is handled incorrectly.
702
703 The most trivial fix would be to replace `expression' in the
704 true-part of the if-statement with `aux', but instead, this commit
705 optimises `tildify-find-env' by changing it to use `mapconcat'
706 rather than open-coded while-loop.
707
708 2014-06-05 Mario Lang <mlang@delysid.org>
709
710 * woman.el (woman-mapcan): Remove.
711 (woman-parse-colon-path): Use cl-mapcan instead.
712
713 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
714
715 * register.el: Add link to Emacs manual in Commentary.
716
717 2014-06-02 Sam Steingold <sds@gnu.org>
718
719 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
720 (popup-menu): ...here.
721 (menu-bar-open): Use it to avoid an error when `lookup-key'
722 returns a number.
723
724 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
725
726 * net/tramp.el (tramp-call-process): Add traces.
727 (tramp-handle-unhandled-file-name-directory): Return "/".
728
729 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
730
731 Sync with upstream verilog-mode revision 3cd8144.
732 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
733 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
734 (verilog-type-font-keywords): Add nor.
735 (verilog-batch-execute-func): Force reading of Local Variables.
736 Fix printing "no changes to be saved" with verilog-batch.
737 (verilog-auto-arg-ports): Doc fix.
738 Add verilog-auto-arg-format to support newlines in AUTOARG.
739 (verilog-auto-arg): Doc fix.
740
741 2014-06-02 Glenn Morris <rgm@gnu.org>
742
743 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
744 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
745 * emulation/ws-mode.el: Move to obsolete/.
746 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
747
748 2014-06-02 Eli Zaretskii <eliz@gnu.org>
749
750 * simple.el (keyboard-quit): Force update of mode lines, to remove
751 the "Def" indicator, if we were defining a macro. (Bug#17615)
752
753 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
754
755 * minibuffer.el (minibuffer-force-complete-and-exit):
756 Obey minibuffer-default (bug#17545).
757
758 * progmodes/js.el (js-indent-line): Don't mix columns and chars
759 (bug#17619).
760
761 * subr.el (set-transient-map): Don't wait for some "nested"
762 transient-map to finish if we're only supposed to be active for
763 the next command (bug#17642).
764
765 2014-06-02 Leo Liu <sdl.web@gmail.com>
766
767 * emacs-lisp/gv.el (window-buffer, window-display-table)
768 (window-dedicated-p, window-hscroll, window-point, window-start):
769 Fix gv-expander. (Bug#17630)
770
771 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
772
773 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
774 clicks (bug#17633).
775
776 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
777 for the single comma, since ", " is *very* common in normal French text
778 (bug#17643).
779
780 2014-06-02 Glenn Morris <rgm@gnu.org>
781
782 * emacs-lisp/package.el (package-check-signature)
783 (package-unsigned-archives): Fix :version.
784
785 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
786
787 * subr.el (sit-for): Don't run input-methods (bug#15614).
788
789 2014-06-02 Glenn Morris <rgm@gnu.org>
790
791 * cus-start.el: Fix some :version numbers.
792
793 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
794
795 * simple.el (deactivate-mark): Set mark-active to nil even if
796 deactivation is done via setting transient-mark-mode to nil,
797 since one is buffer-local and the other is global.
798
799 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
800 there can't be more than 2 arguments (bug#17584).
801
802 2014-06-02 Glenn Morris <rgm@gnu.org>
803
804 * simple.el (filter-buffer-substring-functions)
805 (filter-buffer-substring-function, buffer-substring-filters)
806 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
807
808 * minibuffer.el (completion-in-region-functions, completion-in-region)
809 (completion--in-region): Doc fixes.
810
811 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
812 (expand-abbrev, abbrev--default-expand): Doc fixes.
813
814 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
815
816 Include sources used to create macuvs.h.
817 * international/README: Refer to the Unicode Terms of Use rather
818 than copying it bodily here, as that simplifies maintenance.
819
820 2014-06-01 Glenn Morris <rgm@gnu.org>
821
822 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
823
824 2014-05-31 Glenn Morris <rgm@gnu.org>
825
826 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
827
828 2014-05-30 Glenn Morris <rgm@gnu.org>
829
830 * loadup.el: Treat `command-line-args' more flexibly.
831
832 2014-05-30 Alan Mackenzie <acm@muc.de>
833
834 Guard (looking-at "\\s!") from XEmacs.
835 * progmodes/cc-engine.el (c-state-pp-to-literal): add guard form.
836
837 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu> (tiny change)
838
839 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
840 The argument COUNT is now optional, to be more backward-compatible.
841 Doc fix. (Bug#17560)
842
843 2014-05-29 Reuben Thomas <rrt@sc3d.org>
844
845 * whitespace.el (whitespace-report-region):
846 Simplify documentation.
847 (whitespace-report-region): Allow report-if-bogus to take the
848 value `never', for non-interactive use.
849 (whitespace-report): Refer to whitespace-report-region's
850 documentation.
851
852 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
853
854 * whitespace.el: Use font-lock-flush. Minimize refontifications.
855 Side benefit: it works without jit-lock.
856 (whitespace-point--used): New buffer-local var.
857 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
858 (whitespace-color-off): Use font-lock-flush.
859 (whitespace-point--used, whitespace-point--flush-used): New functions.
860 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
861 (whitespace-empty-at-eob-regexp): Use them.
862 (whitespace-post-command-hook): Rewrite.
863
864 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
865 (font-lock-fontify-buffer): Mark interactive-only.
866 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
867 Make buffer-local.
868 (font-lock-specified-p): Remove redundant boundp check.
869 (font-lock-flush-function, font-lock-ensure-function): New vars.
870 (font-lock-turn-on-thing-lock): Set them.
871 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
872 (font-lock-after-change-function): Make `old-len' optional.
873 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
874 Call font-lock-flush, just in case.
875 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
876 recent Emacsen.
877 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
878 (vera-mode-map, vera-mode-menu): Remove bindings to it.
879 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
880 and with-syntax-table.
881 * textmodes/conf-mode.el (conf-quote-normal):
882 * progmodes/sh-script.el (sh-set-shell):
883 * progmodes/prog-mode.el (prettify-symbols-mode):
884 * progmodes/f90.el (f90-font-lock-n):
885 * progmodes/cwarn.el (cwarn-mode):
886 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
887 * progmodes/compile.el (compilation-setup, compilation--unsetup):
888 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
889 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
890 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
891 font-lock-fontify-buffer-function and
892 font-lock-unfontify-buffer-function.
893 (rmail-unfontify-buffer-function, rmail-fontify-message):
894 Use with-silent-modifications.
895 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
896 and font-lock-ensure.
897 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
898
899 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
900
901 * emacs-lisp/package.el (package-generate-autoloads):
902 Inhibit backup files.
903
904 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
905
906 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
907 (bug#17608).
908
909 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
910
911 * textmodes/tildify.el (tildify-buffer, tildify-region):
912 Add dont-ask option.
913
914 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
915
916 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
917 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
918
919 * subr.el (internal--funcall-interactively): New.
920 (internal--call-interactively): Remove.
921 (called-interactively-p): Detect funcall-interactively instead of
922 call-interactively.
923 * simple.el (repeat-complex-command): Use funcall-interactively.
924 (repeat-complex-command--called-interactively-skip): Remove.
925
926 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
927
928 * register.el (register-read-with-preview): Don't burp on
929 frame switches (e.g. due to the frame we just popped).
930
931 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
932 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
933
934 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
935
936 * cus-face.el (custom-face-attributes): Add :distant-foreground.
937
938 2014-05-26 Martin Rudalics <rudalics@gmx.at>
939
940 * window.el (window--dump-frame): Remove interactive specification.
941
942 2014-05-26 Glenn Morris <rgm@gnu.org>
943
944 * hippie-exp.el (he-line-search-regexp):
945 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
946
947 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
948
949 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
950 to avoid errors when trying to create or visit a file foo.todo
951 located outside to todo-directory, and to allow having such files
952 without them being tied to Todo mode (bug#17482).
953 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
954 (todo-archive-done-item, todo-find-filtered-items-file)
955 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
956 (todo-category-completions, todo-read-category): When visiting a
957 Todo file, make sure we're in the right mode and the buffer local
958 variables are set.
959 (todo-make-categories-list, todo-reset-nondiary-marker)
960 (todo-reset-done-string, todo-reset-comment-string):
961 After processing all Todo files, kill the buffers of those files that
962 weren't being visited before the processing.
963 (todo-display-as-todo-file, todo-add-to-buffer-list)
964 (todo-visit-files-commands): Comment out.
965 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
966 (auto-mode-alist): Remove add-to-list calls making Todo file
967 extensions unrestrictedly tied to Todo modes.
968
969 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
970
971 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
972 (advice-function-member-p): Tell it to check both names and functions
973 (bug#17531).
974 (advice--add-function): Adjust call accordingly.
975
976 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
977
978 * calendar/todo-mode.el: Miscellaneous bug fixes.
979 (todo-delete-file): When deleting an archive but not its todo
980 file, make sure to update the todo file's category sexp.
981 (todo-move-category): Keep the moved category's name unless the
982 file moved to already has a category with that name. If the
983 numerically last category of the source file was moved, make the
984 first category current to avoid selecting a nonexisting category.
985 (todo-merge-category): Fix implementation to make merging to a
986 category in another file work as documented. Eliminate now
987 insufficient and unnecessary renaming of archive category, correct
988 document string accordingly, and clarify it. If the numerically
989 last category of the source file was merged, make the first
990 category current to avoid selecting a nonexisting category.
991 (todo-archive-done-item): When there are marked items and point
992 happens to be on an unmarked item, ignore the latter. Don't leave
993 point below last item after archiving marked items.
994 (todo-unarchive-items): Fix logic to ensure unarchiving an item
995 from an archive with only one category deletes the archive only
996 when the category is empty after unarchiving. Make sure the todo
997 file's category sexp is updated.
998 (todo-read-file-name): Allow an existing file name even when it is
999 not required (todo-move-category needs this to work as documented).
1000 (todo-add-file): Call todo-validate-name to reject the name of an
1001 existing todo file (needed due to fix in todo-read-file-name).
1002 (todo-reset-nondiary-marker): Also reset in filtered items files.
1003 (todo-reset-done-string, todo-reset-comment-string): Also reset in
1004 regexp filtered items files.
1005 (todo-reset-highlight-item): Also reset in filtered items files.
1006 Fix incorrect variable reference in document string.
1007
1008 2014-05-26 Glenn Morris <rgm@gnu.org>
1009
1010 * window.el (window--dump-frame): Avoid error in --without-x builds.
1011
1012 2014-05-26 Glenn Morris <rgm@gnu.org>
1013
1014 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1015
1016 2014-05-26 Eli Zaretskii <eliz@gnu.org>
1017
1018 * frame.el (set-frame-font): Doc fix.
1019
1020 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
1021
1022 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
1023
1024 * emacs-lisp/package.el (package--download-one-archive):
1025 Use `write-region' instead of `save-buffer' to avoid running various
1026 hooks. (Bug#17155)
1027 (describe-package-1): Same. Insert newline at the end of the
1028 buffer if appropriate.
1029
1030 2014-05-26 Juri Linkov <juri@jurta.org>
1031
1032 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1033 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1034 Add more modifiers: meta, control, shift, hyper, super, alt.
1035 (Bug#17439)
1036
1037 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1038 to allow changing its value with `set-variable'.
1039
1040 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1041
1042 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1043 #; comments.
1044 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1045 New functions.
1046 (scheme-mode-variables): Set syntax-propertize-function instead of
1047 font-lock-syntactic-face-function.
1048 (scheme-font-lock-syntactic-face-function): Delete.
1049
1050 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1051
1052 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1053 (bug#17392).
1054
1055 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
1056
1057 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1058 for a temporary file name.
1059
1060 2014-05-26 Eli Zaretskii <eliz@gnu.org>
1061
1062 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
1063
1064 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
1065
1066 * net/dbus.el (dbus-init-bus, dbus-call-method)
1067 (dbus-call-method-asynchronously, dbus-send-signal)
1068 (dbus-method-return-internal, dbus-method-error-internal):
1069 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
1070
1071 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1072
1073 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1074 methods which do not have a doc string. (Bug#17490)
1075
1076 2014-05-25 Tassilo Horn <tsdh@gnu.org>
1077
1078 * textmodes/reftex-ref.el (reftex-format-special): Make it work
1079 also for AMS Math's \eqref macro.
1080
1081 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
1082
1083 Arrange to never byte-compile the generated -pkg.el file.
1084
1085 * emacs-lisp/package.el (package-generate-description-file):
1086 Output first-line comment to set buffer-local var `no-byte-compile'.
1087 Suggested by Dmitry Gutov:
1088 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
1089
1090 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
1091
1092 Fix bug: Properly quote args to generated -pkg.el `define-package'.
1093
1094 * emacs-lisp/package.el (package-generate-description-file):
1095 Inline `package--alist-to-plist'; rewrite to selectively
1096 quote alist values that are not self-quoting.
1097 (package--alist-to-plist): Delete func.
1098
1099 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1100
1101 * term/xterm.el (xterm-function-map): Add mapping for shifted
1102 keypad keys.
1103
1104 2014-05-24 Daniel Colascione <dancol@dancol.org>
1105
1106 * progmodes/subword.el (subword-find-word-boundary): Move point to
1107 correct spot before search. (Bug#17580)
1108
1109 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
1110 breaking the build.
1111
1112 2014-05-24 Leo Liu <sdl.web@gmail.com>
1113
1114 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
1115
1116 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1117
1118 * minibuffer.el (completion--sreverse): Remove.
1119 (completion--common-suffix): Use `reverse' instead.
1120 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
1121
1122 2014-05-22 Glenn Morris <rgm@gnu.org>
1123
1124 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
1125
1126 2014-05-21 Daniel Colascione <dancol@dancol.org>
1127
1128 * files.el (interpreter-mode-alist): Add mksh.
1129
1130 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
1131 derivative.
1132 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
1133 mksh. Improve custom spec; allow regular expressions.
1134 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
1135 (sh-after-hack-local-variables): New function.
1136 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
1137 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
1138 the normalization.
1139 (sh-canonicalize-shell): Rewrite to support regexes.
1140
1141 2014-05-21 Leo Liu <sdl.web@gmail.com>
1142
1143 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
1144
1145 2014-05-19 Leo Liu <sdl.web@gmail.com>
1146
1147 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
1148
1149 2014-05-18 Glenn Morris <rgm@gnu.org>
1150
1151 * loadup.el:
1152 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
1153
1154 2014-05-14 Sam Steingold <sds@gnu.org>
1155
1156 * progmodes/python.el (python-shell-get-or-create-process):
1157 Do not bind `current-prefix-arg' so that C-c C-z does not talk
1158 back unless requested.
1159
1160 2014-05-14 Glenn Morris <rgm@gnu.org>
1161
1162 * subr.el (with-file-modes): New macro.
1163 * printing.el (pr-save-file-modes): Make obsolete.
1164 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
1165 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
1166 Add with-file-modes.
1167 * doc-view.el (doc-view-make-safe-dir):
1168 * epg.el (epg--start):
1169 * files.el (locate-user-emacs-file, make-temp-file)
1170 (backup-buffer-copy, move-file-to-trash):
1171 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
1172 * eshell/esh-util.el (eshell-with-private-file-modes)
1173 (eshell-make-private-directory):
1174 * net/browse-url.el (browse-url-mosaic):
1175 * obsolete/mailpost.el (post-mail-send-it):
1176 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
1177 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
1178 Use with-file-modes.
1179
1180 * vc/emerge.el (emerge-make-temp-file): Simplify.
1181
1182 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
1183 Stefan Monnier <monnier@iro.umontreal.ca>
1184
1185 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1186 suffix (bug#15419).
1187
1188 2014-05-14 Glenn Morris <rgm@gnu.org>
1189
1190 * vc/emerge.el (emerge-temp-file-prefix):
1191 Make pointless option obsolete.
1192 (emerge-temp-file-mode): Make non-functional option obsolete.
1193
1194 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
1195
1196 * net/browse-url.el (browse-url):
1197 Use `unhandled-file-name-directory' when setting `default-directory',
1198 in order to circumvent stalled remote connections. (Bug#17425)
1199
1200 2014-05-14 Glenn Morris <rgm@gnu.org>
1201
1202 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
1203 Optimize on Emacs, which has the relevant functions for ages.
1204
1205 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1206
1207 * simple.el (undo-make-selective-list): Obey undo-no-redo.
1208
1209 2014-05-12 Sam Steingold <sds@gnu.org>
1210
1211 * calendar/time-date.el (seconds-to-string): New function to
1212 pretty print time delay in seconds.
1213
1214 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1215
1216 * mpc.el (mpc-format): Trim Date to the year.
1217 (mpc-songs-hashcons): Shorten the Date field.
1218
1219 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1220 into autoloading just because of a silly indirection.
1221
1222 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
1223
1224 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
1225
1226 2014-05-12 Glenn Morris <rgm@gnu.org>
1227
1228 * emacs-lisp/find-gc.el: Move to ../admin.
1229
1230 * printing.el (pr-version):
1231 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1232
1233 * net/browse-url.el (browse-url-mosaic):
1234 Create /tmp/Mosaic.PID as a private file.
1235
1236 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1237
1238 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1239 (advice--member-p): If name is given, only compare the name.
1240 (advice--remove-function): Don't stop at the first match.
1241 (advice--normalize-place): New function.
1242 (add-function, remove-function): Use it.
1243 (advice--add-function): Pass the name, if any, to
1244 advice--remove-function.
1245
1246 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
1247
1248 * electric.el (electric-indent-post-self-insert-function): Don't use
1249 `pos' after modifying the buffer (bug#17449).
1250
1251 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
1252
1253 * calendar/todo-mode.el (todo-insert-item-from-calendar):
1254 Correct argument list to conform to todo-insert-item--basic.
1255
1256 2014-05-12 Glenn Morris <rgm@gnu.org>
1257
1258 * files.el (cd-absolute): Test if directory is accessible
1259 rather than executable. (Bug#17330)
1260
1261 * progmodes/compile.el (recompile):
1262 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
1263
1264 * net/browse-url.el (browse-url-mosaic):
1265 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
1266 This is CVE-2014-3423.
1267
1268 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1269
1270 * mouse.el: Use the normal toplevel loop while dragging.
1271 (mouse-set-point): Handle multi-clicks.
1272 (mouse-set-region): Handle multi-clicks for drags.
1273 (mouse-drag-region): Update call accordingly.
1274 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
1275 Use the normal event loop instead of a local while/read-event loop.
1276 (global-map): Remove redundant bindings for double/triple-mouse-1.
1277 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
1278 Generate synthetic down events when the protocol only sends up events.
1279 (xterm-mouse-last): Remove.
1280 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
1281 terminal parameter instead.
1282 (xterm-mouse--set-click-count): New function.
1283 (xterm-mouse-event): Detect/generate double/triple clicks.
1284 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
1285
1286 * info.el (Info-quoted): New face.
1287 (Info-mode-font-lock-keywords): New var.
1288 (Info-mode): Use it.
1289
1290 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
1291 are a hindrance for C-x C-e.
1292
1293 2014-05-11 Leo Liu <sdl.web@gmail.com>
1294
1295 * net/rcirc.el (rcirc-sentinel): Fix last change.
1296
1297 2014-05-08 Sam Steingold <sds@gnu.org>
1298
1299 * net/rcirc.el (rcirc-reconnect-delay): New user option.
1300 (rcirc-sentinel): Auto-reconnect to the server if
1301 `rcirc-reconnect-delay' is non-0 (but not more often than its
1302 value in case the host is off-line).
1303
1304 2014-05-09 Eli Zaretskii <eliz@gnu.org>
1305
1306 * progmodes/grep.el (lgrep): Fix a typo in last commit.
1307
1308 2014-05-09 Glenn Morris <rgm@gnu.org>
1309
1310 * files.el (file-expand-wildcards):
1311 * man.el (Man-support-local-filenames):
1312 * printing.el (pr-i-directory, pr-interface-directory):
1313 * progmodes/grep.el (lgrep, rgrep):
1314 * textmodes/ispell.el (ispell-call-process)
1315 (ispell-call-process-region, ispell-start-process)
1316 (ispell-init-process): Use file-accessible-directory-p.
1317
1318 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1319
1320 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1321 (xterm-mouse--read-event-sequence-1000): Return nil if something
1322 looks fishy.
1323 (xterm-mouse-event): Propagate it.
1324 (xterm-mouse-translate-1): Handle it.
1325
1326 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
1327
1328 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1329 four slots of the parameter list are filled, make sure to pass it
1330 to the argument list of todo-insert-item--basic.
1331
1332 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1333
1334 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1335 Add optional `seen' argument to detect and break infinite loops.
1336
1337 2014-05-08 Eli Zaretskii <eliz@gnu.org>
1338
1339 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1340 (trace-unsafe, trace-use-tree): Make parentheses style be
1341 according to Emacs style.
1342
1343 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
1344
1345 * net/tramp-sh.el (tramp-remote-process-environment):
1346 Remove HISTFILE and HISTSIZE; it's too late to set them here.
1347 Add :version entry.
1348 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1349 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
1350 extra "PSx=..." commands.
1351 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1352 (Bug#17295)
1353
1354 (tramp-uudecode): Replace the hard-coded temporary file name by a
1355 format specifier.
1356 (tramp-remote-coding-commands): Enhance docstring.
1357 (tramp-find-inline-encoding): Replace "%t" by a temporary file
1358 name. (Bug#17415)
1359 This is CVE-2014-3424.
1360
1361 2014-05-08 Glenn Morris <rgm@gnu.org>
1362
1363 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1364 (find-gc-source-files): Update some names.
1365 (trace-call-tree): Simplify and update.
1366 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
1367 This is CVE-2014-3422.
1368
1369 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1370
1371 * minibuffer.el (completion--try-word-completion): Revert fix for
1372 Bug#15980 (bug#17375).
1373
1374 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
1375 Always store button numbers in the same way in xterm-mouse-last;
1376 Don't burp is xterm-mouse-last is not set as expected.
1377 Never return negative indices.
1378
1379 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
1380
1381 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1382 Backtrack one char if the global/char-literal var matcher hits
1383 inside a string. The next char could be the beginning of an
1384 expression expansion.
1385
1386 2014-05-08 Glenn Morris <rgm@gnu.org>
1387
1388 * help-fns.el (describe-function-1): Test for an autoload before a
1389 macro, since `macrop' works on autoloads. (Bug#17410)
1390
1391 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1392
1393 * electric.el (electric-indent-functions-without-reindent): Add yaml.
1394
1395 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
1396 Make sure the new point we return is within the new string (bug#17239).
1397
1398 2014-05-05 Daniel Colascione <dancol@dancol.org>
1399
1400 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1401 Port `gnu' pattern to rx.
1402
1403 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
1404
1405 Remove unneeded prompt when closing a buffer with active
1406 emacsclient ("Buffer ... still has clients"), #16548.
1407 * server.el (server-start): Remove the only call to:
1408 (server-kill-buffer-query-function): Remove.
1409
1410 2014-05-04 Leo Liu <sdl.web@gmail.com>
1411
1412 * calendar/diary-lib.el (calendar-chinese-month-name-array):
1413 Defvar to pacify compiler.
1414
1415 2014-05-04 Eli Zaretskii <eliz@gnu.org>
1416
1417 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
1418
1419 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1420
1421 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1422 Use nil rather than `default' for the "default" appearance (bug#17388).
1423 * vc/ediff-util.el (ediff-inferior-compare-regions)
1424 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
1425 a misleading `default' value when it's really a boolean.
1426 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1427 overlay is not visible.
1428
1429 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
1430
1431 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1432 (todo-menu): Uncomment and update.
1433
1434 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
1435
1436 * calendar/todo-mode.el: Reimplement item editing to have the same
1437 basic user interface as item insertion, and make small UI and
1438 larger internal improvements to the latter.
1439 (todo-insert-item): Add reference to the Todo mode user manual to
1440 the documentation string.
1441 (todo-insert-item--basic): Rename from todo-basic-insert-item and
1442 adjust all callers. Change signature to combine diary and
1443 nonmarking arguments. Incorporate functionality of deleted item
1444 copying command and add error checking. Remove detailed
1445 descriptions of the arguments from the documentation string, since
1446 this is treated in the Todo mode user manual.
1447 (todo-copy-item, todo-edit-multiline-item)
1448 (todo-edit-done-item-comment, todo-edit-item-header)
1449 (todo-edit-item-time, todo-edit-item-date-from-calendar)
1450 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1451 (todo-edit-item-date-year, todo-edit-item-date-month)
1452 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1453 Remove.
1454 (todo-edit-item): Reimplement as wrapper command for
1455 todo-edit-item--next-key and make it distinguish done and not done
1456 todo items.
1457 (todo-edit-item--text): New function, replacing old command
1458 todo-edit-item and incorporating deleted commands
1459 todo-edit-multiline-item and todo-edit-done-item-comment.
1460 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1461 Use only numeric value of prefix argument. Remove detailed
1462 descriptions of the arguments from the documentation string, since
1463 this is treated in the Todo mode user manual.
1464 (todo-edit-item--diary-inclusion): New function, replacing old
1465 command todo-edit-item-diary-inclusion and incorporating and fixing
1466 functionality of deleted command todo-edit-item-diary-nonmarking,
1467 making sure to remove todo-nondiary-marker when adding
1468 diary-nonmarking-symbol.
1469 (todo-edit-category-diary-inclusion): Make sure to delete
1470 diary-nonmarking-symbol when adding todo-nondiary-marker.
1471 (todo-edit-category-diary-nonmarking): Fix indentation.
1472 (todo-insert-item--parameters): Group diary and nonmarking
1473 parameters together.
1474 (todo-insert-item--apply-args): Adjust to signature of
1475 todo-insert-item--basic and incorporate copy parameter.
1476 Make small code improvements.
1477 (todo-insert-item--next-param): Improve prompt and adjust it to
1478 new parameter grouping. Remove obsolete code.
1479 (todo-edit-item--param-key-alist)
1480 (todo-edit-item--date-param-key-alist)
1481 (todo-edit-done-item--param-key-alist): New defconsts.
1482 (todo-edit-item--prompt): New variable.
1483 (todo-edit-item--next-key): New function.
1484 (todo-key-bindings-t): Bind "e" to todo-edit-item.
1485 Remove bindings of deleted commands.
1486
1487 2014-05-04 Leo Liu <sdl.web@gmail.com>
1488
1489 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1490
1491 2014-05-04 Glenn Morris <rgm@gnu.org>
1492
1493 * allout-widgets.el (allout-widgets-tally)
1494 (allout-decorate-item-guides):
1495 * menu-bar.el (menu-bar-positive-p):
1496 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1497 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1498 * progmodes/js.el (js--inside-param-list-p)
1499 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1500 * progmodes/prolog.el (region-exists-p):
1501 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1502 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1503 Doc fixes (replace `iff').
1504
1505 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1506
1507 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1508
1509 2014-05-04 Leo Liu <sdl.web@gmail.com>
1510
1511 Support Chinese diary entries in calendar and diary. (Bug#17393)
1512 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
1513 (calendar-chinese-from-absolute-for-diary)
1514 (calendar-chinese-to-absolute-for-diary)
1515 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
1516 (diary-chinese-list-entries): New functions to list and mark
1517 Chinese diary entries in the calendar window.
1518 (diary-chinese-anniversary)
1519 (diary-chinese-insert-anniversary-entry)
1520 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
1521 (diary-chinese-insert-yearly-entry): New commands to insert
1522 Chinese diary entries.
1523
1524 * calendar/diary-lib.el (diary-font-lock-keywords):
1525 Support font-locking Chinese dates.
1526
1527 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
1528 inserting Chinese diary entries.
1529
1530 * calendar/calendar.el (diary-chinese-entry-symbol):
1531 New customizable variable.
1532 (calendar-mode-map): Add bindings for inserting Chinese diary
1533 entries.
1534
1535 2014-05-03 Juri Linkov <juri@jurta.org>
1536
1537 * dired.el (dired-check-switches, dired-switches-recursive-p):
1538 New functions. (Bug#17218)
1539 (dired-switches-escape-p, dired-move-to-end-of-filename):
1540 Use `dired-check-switches'.
1541 (dired-insert-old-subdirs, dired-build-subdir-alist)
1542 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1543
1544 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
1545
1546 * simple.el (undo-make-selective-list): New algorithm fixes
1547 incorrectness of position adjustments when undoing in region.
1548 (Bug#17235)
1549 (undo-elt-crosses-region): Make obsolete.
1550 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
1551 New functions to adjust positions using undo-deltas.
1552
1553 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1554
1555 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
1556 the last consecutive closing paren (bug#17345).
1557
1558 2014-04-30 Reuben Thomas <rrt@sc3d.org>
1559
1560 * dired.el (dired-mode): make terminology for eXpunge command
1561 consistent. (Bug#17276)
1562
1563 2014-04-30 Eli Zaretskii <eliz@gnu.org>
1564
1565 * dired.el (dired-initial-position-hook, dired-initial-position):
1566 Doc string fixes.
1567
1568 2014-04-30 Glenn Morris <rgm@gnu.org>
1569
1570 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
1571
1572 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
1573
1574 * faces.el (face-spec-recalc): Apply X resources only after the
1575 defface spec has been applied. Thus, X resources are no longer
1576 overriden by the defface spec which also fixes issues on win32 where
1577 the toolbar coloring was wrong because it is set through X resources
1578 and was (wrongfully) overriden. (Bug#16694)
1579
1580 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
1581
1582 * textmodes/rst.el (electric-pair-pairs): Declare.
1583 (rst-mode): Set it (bug#17131).
1584
1585 2014-04-30 Juri Linkov <juri@jurta.org>
1586
1587 * desktop.el (desktop-value-to-string): Let-bind `print-length'
1588 and `print-level' to nil. (Bug#17351)
1589
1590 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1591
1592 * battery.el (battery-update): Handle the case where battery
1593 status is "N/A" (bug#17319).
1594
1595 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1596
1597 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
1598 to syntax-propertize.
1599 (ps-mode-auto-indent): Mark as obsolete.
1600 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
1601 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
1602 word regexp operators.
1603 (ps-mode-map): Move initialization into declaration. Remove binding
1604 for TAB, RET, >, ], and }.
1605 (ps-mode-syntax-table): Move initialization into declaration.
1606 Don't give word syntax to non-word chars.
1607 (ps-run-mode-map): Move initialization into declaration.
1608 (ps-mode-menu-main): Remove auto-indent entry.
1609 (ps-mode-smie-rules): New function.
1610 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
1611 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
1612 (ps-mode--string-syntax-table): New const.
1613 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
1614 New functions.
1615 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
1616 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
1617
1618 2014-04-27 Daniel Colascione <dancol@dancol.org>
1619
1620 * term/xterm.el (xterm-paste): Use large finite timeout when
1621 reading event to avoid putting keys in this-command-keys.
1622
1623 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1624
1625 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
1626 (perl-syntax-propertize-function): Use it. Extend handling of
1627 here-docs to the unquoted case.
1628
1629 2014-04-25 Eli Zaretskii <eliz@gnu.org>
1630
1631 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1632 Use equal-including-properties to compare help-echo strings (bug#17331).
1633
1634 2014-04-25 Leo Liu <sdl.web@gmail.com>
1635
1636 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1637 Fix syntax for @. (Bug#17325)
1638
1639 2014-04-25 Daniel Colascione <dancol@dancol.org>
1640
1641 * emacs-lisp/cl.el (gv): Require gv early to break eager
1642 macro-expansion cycles.
1643
1644 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1645
1646 * simple.el (region-active-p): Check there's a mark (bug#17324).
1647
1648 * simple.el (completion-list-mode-map): Use choose-completion for the
1649 mouse binding as well (bug#17302).
1650 (completion-list-mode, completion-setup-function): Adjust docstring and
1651 echo area message accordingly.
1652 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1653 calling convention of choose-completion.
1654 * comint.el (comint-dynamic-list-completions):
1655 * term.el (term-dynamic-list-completions): Accept choose-completion.
1656
1657 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1658 &, |, +, - and * can't be a division (bug#17317).
1659
1660 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1661 features on gnome-terminal (bug#16988).
1662
1663 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
1664
1665 Improve Scheme font-locking for (define ((foo ...) ...) ...).
1666
1667 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
1668 the declared object, ignore zero or more parens, not zero or one.
1669
1670 2014-04-24 Leo Liu <sdl.web@gmail.com>
1671
1672 * progmodes/xscheme.el (xscheme-expressions-ring)
1673 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
1674 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
1675 (xscheme-allow-output-p, xscheme-prompt)
1676 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
1677
1678 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
1679 Comment out unused functions.
1680
1681 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1682
1683 * info.el: Use lexical-binding and cl-lib.
1684 Use defvar-local and setq-local instead of make-local-variable.
1685 (Info-apropos-matches): Avoid add-to-list.
1686 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
1687
1688 2014-04-24 Daniel Colascione <dancol@dancol.org>
1689
1690 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
1691
1692 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1693
1694 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
1695
1696 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1697
1698 * dired.el (dired-insert-set-properties): Do not consider
1699 subdirectory headings and empty lines to be information that
1700 `dired-hide-details-mode' should hide. (Bug#17228)
1701
1702 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1703
1704 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1705 Remove test messages.
1706 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1707 and `target' twice.
1708
1709 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1710
1711 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1712 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1713
1714 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1715
1716 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1717
1718 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1719 Set "IFS=" when using read builtin, in order to preserve spaces in
1720 the file name. Add test messages for hunting a bug on hydra.
1721 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1722
1723 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1724
1725 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1726 Don't prettify a word within a symbol.
1727
1728 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1729
1730 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1731 possible.
1732
1733 2014-04-22 Daniel Colascione <dancol@dancol.org>
1734
1735 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
1736 use defun to define `function-put'.
1737
1738 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1739
1740 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
1741 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
1742 (lisp-mode-variables): Set font-lock-extra-managed-props.
1743
1744 * emacs-lisp/byte-run.el (function-put): New function.
1745 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
1746 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
1747 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
1748 Use them.
1749
1750 2014-04-22 Daniel Colascione <dancol@dancol.org>
1751
1752 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
1753 Add `full-p' parameter; when nil, call `macroexpand' instead of
1754 `macroexpand-all'.
1755
1756 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1757 Improve docstrings.
1758
1759 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1760 Use lambda function values, not quoted lambdas.
1761 (byte-compile-recurse-toplevel): Remove extraneous &optional.
1762
1763 * emacs-lisp/cl-macs.el
1764 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
1765 (cl-struct-slot-value): Conditionally use aref or nth so that the
1766 compiler produces optimal code.
1767
1768 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1769
1770 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
1771 (inline): Don't inline cl--set-elt.
1772 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
1773 Define as inlinable instead.
1774 (cl-struct-set-slot-value): Remove.
1775
1776 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
1777 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
1778 Use setf instead.
1779
1780 2014-04-21 Daniel Colascione <dancol@dancol.org>
1781
1782 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
1783 last two parameters after all.
1784 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
1785 (cl--compiler-macro-assoc,cl-struct-slot-value)
1786 (cl-struct-set-slot-value): Stop using them.
1787
1788 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1789
1790 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
1791 entry in image-mode-winprops-alist.
1792
1793 2014-04-21 Daniel Colascione <dancol@dancol.org>
1794
1795 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
1796 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
1797 (byte-compile-toplevel-file-form): Use it.
1798
1799 * emacs-lisp/cl-macs.el:
1800 (cl--loop-let): Properly destructure `while' clauses.
1801
1802 2014-04-20 Daniel Colascione <dancol@dancol.org>
1803
1804 * vc/vc.el (vc-root-dir): New public autoloaded function for
1805 generically finding the current VC root.
1806 * vc/vc-hooks.el (vc-not-supported): New error.
1807 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
1808
1809 2014-04-20 Daniel Colascione <dancol@dancol.org>
1810
1811 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
1812 argument.
1813 (cl--const-expr-val): cl--const-expr-val should macroexpand its
1814 argument in case we're inside a symbol-macrolet.
1815 (cl--do-arglist, cl--compiler-macro-typep)
1816 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
1817 environment to `cl--const-expr-val'.
1818 (cl-struct-sequence-type,cl-struct-slot-info)
1819 (cl-struct-slot-offset, cl-struct-slot-value)
1820 (cl-struct-set-slot-value): New functions.
1821
1822 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1823
1824 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1825 assignments such as "case=hello" (bug#17297).
1826
1827 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1828
1829 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1830 Do not autoload.
1831 (tramp-file-name-handler, tramp-completion-file-name-handler):
1832 Revert patch from 2014-04-10, it isn't necessary anymore.
1833 (tramp-autoload-file-name-handler)
1834 (tramp-register-autoload-file-name-handlers): New defuns.
1835 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1836 (tramp-register-file-name-handlers): Remove also
1837 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1838 Do not autoload its invocation, but eval it after loading of 'tramp.
1839
1840 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1841
1842 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1843
1844 2014-04-17 Daniel Colascione <dancol@dancol.org>
1845
1846 Add support for bracketed paste mode; add infrastructure for
1847 managing terminal mode enabling and disabling automatically.
1848
1849 * xt-mouse.el:
1850 (xterm-mouse-mode): Simplify.
1851 (xterm-mouse-tracking-enable-sequence)
1852 (xterm-mouse-tracking-disable-sequence): New constants.
1853 (turn-on-xterm-mouse-tracking-on-terminal)
1854 (turn-off-xterm-mouse-tracking-on-terminal):
1855 Use tty-mode-set-strings and tty-mode-reset-strings terminal
1856 parameters instead of random hooks.
1857 (turn-on-xterm-mouse-tracking)
1858 (turn-off-xterm-mouse-tracking): Delete.
1859
1860 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
1861 (xterm-paste-ending-sequence): New constant.
1862 (xterm-paste): New command used for bracketed paste support.
1863
1864 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
1865 (terminal-init-xterm-bracketed-paste-mode): New function.
1866 (terminal-init-xterm): Call it.
1867 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
1868 and tty-mode-reset-strings instead of random hooks.
1869 (xterm-turn-on-modify-other-keys)
1870 (xterm-turn-off-modify-other-keys)
1871 (xterm-remove-modify-other-keys): Delete obsolete functions.
1872
1873 * term/screen.el: Rewrite to just use the xterm code.
1874 Add copyright notice. Mention tmux.
1875
1876 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
1877
1878 * image-mode.el (image-mode-window-put): Also update the property of
1879 the "default window".
1880 * doc-view.el (doc-view-new-window-function): If no window
1881 exists, move to the last known page.
1882
1883 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1884
1885 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1886 here-documents (bug#17262).
1887
1888 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1889
1890 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1891 Provide doc strings, as required by snarf-documentation.
1892
1893 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1894
1895 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1896 arg of overlays-at. Use `invisible-p'.
1897
1898 * obsolete/lucid.el (extent-at):
1899 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1900 overlays-at.
1901 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1902
1903 2014-04-16 João Távora <joaotavora@gmail.com>
1904
1905 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1906 links. (Bug#17217).
1907
1908 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1909
1910 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1911 Use mapc to loop over a vector. (Bug#17257).
1912
1913 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
1914
1915 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1916 patch, there are new problems with file names containing spaces.
1917 Get rid of backticks. (Bug#17238)
1918
1919 2014-04-16 João Távora <joaotavora@gmail.com>
1920
1921 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1922 possible bug.
1923
1924 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1925
1926 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1927 (blink-cursor-mode): Mention customization variables and the
1928 effect of 'blink-cursor-blinks'.
1929
1930 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
1931
1932 * simple.el (undo): Prevent insertion of identity mapping into
1933 undo-equiv-table so as undo-only does not inf loop in the presence
1934 of consecutive nils in undo list.
1935
1936 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
1937
1938 * faces.el (make-face): Deprecate optional argument as it is no
1939 longer needed/used since the conditional X resources handling
1940 has been pushed down to make-face-x-resource-internal itself.
1941 (make-empty-face): Don't pass optional argument to make-face.
1942
1943 2014-04-16 Karl Fogel <kfogel@red-bean.com>
1944
1945 * savehist.el (savehist-save): Remove workaround for a read-passwd
1946 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
1947 noticing that the shim was still present.
1948
1949 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1950
1951 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
1952
1953 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
1954
1955 * faces.el (face-set-after-frame-default): Remove unused local variable.
1956
1957 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1958
1959 * progmodes/grep.el: Use lexical-binding.
1960 (grep-expand-template): Pass explicit lexical env to `eval'.
1961 (zrgrep): Let-bind grep-find-template explicitly.
1962
1963 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
1964 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
1965
1966 2014-04-12 Eli Zaretskii <eliz@gnu.org>
1967
1968 * international/characters.el <standard-case-table>: Add entries
1969 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
1970 Set category of Coptic characters be 'g' (Greek).
1971
1972 2014-04-12 Leo Liu <sdl.web@gmail.com>
1973
1974 * progmodes/octave.el (completion-table-with-cache):
1975 Define if not available.
1976 (octave-goto-function-definition, octave-sync-function-file-names)
1977 (octave-find-definition-default-filename):
1978 Backquote upattern for compatibility.
1979
1980 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
1981
1982 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1983 name twice due to backticks. (Bug#17238)
1984
1985 2014-04-12 Glenn Morris <rgm@gnu.org>
1986
1987 * term/w32-win.el (x-win-suspend-error):
1988 * term/x-win.el (x-win-suspend-error): Sync docs.
1989
1990 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1991
1992 * faces.el (make-face): Remove deprecated optional argument.
1993 The conditional application of X resources is handled directly by
1994 make-face-x-resource-internal since Emacs 24.4.
1995 (make-empty-face): Don't pass optional argument to make-face.
1996
1997 2014-04-11 Glenn Morris <rgm@gnu.org>
1998
1999 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
2000
2001 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2002
2003 Ediff's overlay priorities cause more trouble than they solve.
2004 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
2005 (ediff-highest-priority): Remove function (bug#17234).
2006 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
2007 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
2008 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
2009 overlay priorities.
2010
2011 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
2012
2013 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
2014 entry; use symbol boundaries to avoid mis-matches.
2015
2016 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
2017
2018 * net/tramp.el (tramp-file-name-handler)
2019 (tramp-completion-file-name-handler): Avoid recursive loading.
2020
2021 * net/tramp-sh.el (tramp-make-copy-program-file-name):
2022 Quote result also locally.
2023
2024 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2025
2026 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
2027 Remove left-over code.
2028
2029 * newcomment.el (comment-indent-new-line): Sink code where it's used.
2030 Reuse the previous comment's indentation unconditionally if it's on its
2031 own line.
2032
2033 2014-04-09 Daniel Colascione <dancol@dancol.org>
2034
2035 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
2036 `no-syntax-crossing' arguments. Forward to `up-list'.
2037 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
2038 Implement logic for escaping from strings. Use narrowing to deal
2039 with corner cases.
2040
2041 2014-04-09 Leo Liu <sdl.web@gmail.com>
2042
2043 * net/rcirc.el (rcirc-connection-info): New variable.
2044 (rcirc-connect): Use it to store connection info.
2045 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
2046 for killed process.
2047 (rcirc-cmd-reconnect): New command. (Bug#17045)
2048 (rcirc-mode, set-rcirc-encode-coding-system)
2049 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
2050
2051 2014-04-09 Daniel Colascione <dancol@dancol.org>
2052
2053 * emacs-lisp/cl-indent.el: Add comment claiming
2054 facility is also good for elisp.
2055 (lisp-indent-find-method): New function.
2056 (common-lisp-indent-function): Recognize cl-loop.
2057 (common-lisp-indent-function-1): Recognize cl constructs; use
2058 `lisp-indent-find-method' instead of `get' directly.
2059 (if): Use else-body style for elisp.
2060
2061 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
2062
2063 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2064 Module methods. (Bug#17216)
2065
2066 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
2067
2068 * help.el (describe-bindings): Fix buffer handling (bug#17210).
2069 (describe-bindings-internal): Mark obsolete.
2070
2071 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
2072
2073 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
2074 buffer-file-name, and buffer-file-truename any more.
2075
2076 2014-04-08 Leo Liu <sdl.web@gmail.com>
2077
2078 Use lexical-binding and require cl-lib.
2079 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
2080 (rcirc-handler-generic, rcirc-fill-paragraph)
2081 (rcirc-format-response-string, rcirc-target-buffer)
2082 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
2083 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
2084 (rcirc-ctcp-sender-PING, rcirc-browse-url)
2085 (rcirc-markup-timestamp, rcirc-markup-attributes)
2086 (rcirc-markup-my-nick, rcirc-markup-urls)
2087 (rcirc-markup-bright-nicks, rcirc-markup-fill)
2088 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
2089 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
2090 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
2091 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
2092 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
2093 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
2094 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
2095 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
2096 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
2097 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
2098 use cl-lib.
2099
2100 2014-04-07 João Távora <joaotavora@gmail.com>
2101
2102 * elec-pair.el (electric-pair--syntax-ppss):
2103 When inside comments parse from comment beginning.
2104 (electric-pair--balance-info): Fix typo in comment.
2105 (electric-pair--in-unterminated-string-p): Delete.
2106 (electric-pair--unbalanced-strings-p): New function.
2107 (electric-pair-string-bound-function): New var.
2108 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2109 according to `electric-pair--in-unterminated-string-p'
2110
2111 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2112 Inhibit quote pairing if point-max is inside an unterminated string.
2113 (electric-pair--looking-at-unterminated-string-p): Delete.
2114 (electric-pair--in-unterminated-string-p): New function.
2115
2116 2014-04-07 Glenn Morris <rgm@gnu.org>
2117
2118 * shell.el (shell-directory-tracker):
2119 Go back to just ignoring failures. (Bug#17159)
2120
2121 2014-04-07 João Távora <joaotavora@gmail.com>
2122
2123 Fix `electric-pair-delete-adjacent-pairs' in modes binding
2124 backspace. (bug#16981)
2125 * elec-pair.el (electric-pair-backward-delete-char): Delete.
2126 (electric-pair-backward-delete-char-untabify): Delete.
2127 (electric-pair-mode-map): Bind backspace to a menu item filtering
2128 a new `electric-pair-delete-pair' command.
2129 (electric-pair-delete-pair): New command.
2130
2131 * progmodes/python.el (python-electric-pair-string-delimiter):
2132 Fix triple-quoting electricity. (Bug#17192)
2133
2134 * elec-pair.el (electric-pair-post-self-insert-function):
2135 Don't skip whitespace when `electric-pair-text-pairs' and
2136 `electric-pair-pairs' were used. syntax to
2137 electric-pair--skip-whitespace. (Bug#17183)
2138
2139 2014-04-07 Eli Zaretskii <eliz@gnu.org>
2140
2141 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2142 "<F>". (Bug#17199)
2143
2144 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
2145
2146 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2147 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2148
2149 2014-04-07 Glenn Morris <rgm@gnu.org>
2150
2151 * help.el (view-lossage): Doc tweak.
2152
2153 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
2154
2155 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2156 only when inhibit-x-resources is nil, and do that earlier in the
2157 function. Doc fix. (Bug#16694)
2158 (face-spec-choose): Accept additional optional argument, whose
2159 value is returned if no matching attributes are found.
2160 (face-spec-recalc): Use the new optional argument when calling
2161 face-spec-choose. (Bug#16378)
2162 (make-face-x-resource-internal): Do nothing when
2163 inhibit-x-resources is non-nil. Don't touch the default face if
2164 reversed video is given--as was done in previous versions of Emacs.
2165 (face-set-after-frame-default): Don't call
2166 make-face-x-resource-internal here. (Bug#16434)
2167
2168 2014-04-07 Tassilo Horn <tsdh@gnu.org>
2169
2170 * doc-view.el (doc-view-bookmark-jump):
2171 Use `bookmark-after-jump-hook' to jump to the right page after the
2172 buffer is shown in a window. (bug#16090)
2173
2174 2014-04-07 Eli Zaretskii <eliz@gnu.org>
2175
2176 * international/characters.el (mirroring): Fix last change:
2177 instead of loading uni-mirrored.el explicitly, do that implicitly
2178 by creating the 'mirroring' uniprop table. This avoids announcing
2179 the loading of uni-mirrored.el.
2180
2181 2014-04-07 Glenn Morris <rgm@gnu.org>
2182
2183 * files.el (buffer-stale--default-function)
2184 (buffer-stale-function, revert-buffer--default):
2185 * autorevert.el (auto-revert-buffers): Doc tweaks.
2186
2187 2014-04-07 Eli Zaretskii <eliz@gnu.org>
2188
2189 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
2190
2191 2014-04-07 Glenn Morris <rgm@gnu.org>
2192
2193 * files.el (make-backup-file-name-function)
2194 (make-backup-file-name, make-backup-file-name--default-function)
2195 (make-backup-file-name-1, find-backup-file-name)
2196 (revert-buffer-function, revert-buffer-insert-file-contents-function)
2197 (buffer-stale--default-function, buffer-stale-function)
2198 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2199 (revert-buffer, revert-buffer--default)
2200 (revert-buffer-insert-file-contents--default-function):
2201 Doc fixes related to defaults no longer being nil.
2202 (make-backup-file-name-function): Bump :version.
2203 Restore nil as a valid but deprecated custom type.
2204
2205 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
2206
2207 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2208 Handle $' used as a variable (bug#17174).
2209
2210 * progmodes/perl-mode.el (perl-indent-new-calculate):
2211 Handle forward-sexp failure (bug#16985).
2212 (perl-syntax-propertize-function): Add "foreach" and "for" statement
2213 modifiers introducing expressions (bug#17116).
2214
2215 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
2216
2217 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
2218
2219 2014-04-05 Leo Liu <sdl.web@gmail.com>
2220
2221 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2222 Add define-compilation-mode.
2223
2224 2014-04-04 João Távora <joaotavora@gmail.com>
2225
2226 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
2227 parse from comment beginning.
2228 (electric-pair--balance-info): Fix typo in comment.
2229 (electric-pair--in-unterminated-string-p): Delete.
2230 (electric-pair--unbalanced-strings-p): New function.
2231 (electric-pair-string-bound-function): New var.
2232 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2233 according to `electric-pair--in-unterminated-string-p'.
2234
2235 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2236
2237 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
2238 Move declaration before first use.
2239 (reftex-move-to-next-arg): Silence compiler warning.
2240
2241 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
2242
2243 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
2244 Use `window-total-width' instead of `window-width'.
2245
2246 2014-04-03 Daniel Colascione <dancol@dancol.org>
2247
2248 * subr.el (set-transient-map): Remove rms's workaround entirely;
2249 use new `suspicious-object' subr to mark our lambda for closer
2250 scrutiny during gc.
2251
2252 2014-04-02 Richard Stallman <rms@gnu.org>
2253
2254 * subr.el (set-transient-map): Comment out previous change.
2255
2256 2014-04-02 Glenn Morris <rgm@gnu.org>
2257
2258 * menu-bar.el (menu-bar-file-menu):
2259 * vc/ediff.el (ediff-current-file):
2260 Update for revert-buffer-function no longer being nil by default.
2261
2262 * simple.el (command-execute): Respect nil disabled-command-function.
2263
2264 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2265
2266 * simple.el (command-execute): Do not execute the command when it
2267 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2268
2269 2014-04-02 Juri Linkov <juri@jurta.org>
2270
2271 * dired-aux.el (dired-compress-file): Don't use string-match-p
2272 because its match data is used afterwards.
2273
2274 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
2275
2276 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2277 0 like nil.
2278
2279 2014-04-02 João Távora <joaotavora@gmail.com>
2280
2281 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2282 Inhibit quote pairing if point-max is inside an unterminated string.
2283 (electric-pair--looking-at-unterminated-string-p):
2284 Delete.
2285 (electric-pair--in-unterminated-string-p): New function.
2286
2287 2014-04-01 Daniel Colascione <dancol@dancol.org>
2288
2289 * minibuffer.el (minibuffer-complete): Prevent assertion failure
2290 when trying to complete the prompt.
2291
2292 2014-03-31 Leo Liu <sdl.web@gmail.com>
2293
2294 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2295 Refactor out eldoc-documentation-function-default.
2296 (eldoc-documentation-function-default): New function.
2297 (eldoc-documentation-function): Change value.
2298
2299 2014-03-31 Glenn Morris <rgm@gnu.org>
2300
2301 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
2302
2303 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
2304 (vhdl-compose-components-package, vhdl-compose-configuration):
2305 Abbreviate default-directory (missing from some previous upstream sync).
2306
2307 2014-03-31 Reto Zimmermann <reto@gnu.org>
2308
2309 Sync with upstream vhdl mode v3.35.2.
2310 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
2311 (top-level): No longer require assoc.
2312 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
2313 New functions. Use throughout to replace aget etc.
2314 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
2315 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
2316 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
2317 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
2318 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
2319 except `vhdl-compiler'.
2320 (vhdl-error-regexp-add-emacs): Remove all other compilers,
2321 when appropriate.
2322
2323 2014-03-31 Glenn Morris <rgm@gnu.org>
2324
2325 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
2326 Revert 2014-03-26 merge goof; go back to using defalias.
2327
2328 2014-03-30 Daniel Colascione <dancol@dancol.org>
2329
2330 * comint.el (comint-send-input):
2331 Deactivate completion-in-region-mode before we send comint input.
2332 (Bug#17139).
2333
2334 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
2335 on keyboard-quit.
2336
2337 2014-03-29 Glenn Morris <rgm@gnu.org>
2338
2339 * textmodes/reftex.el: Manage most autoloads automatically.
2340 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
2341 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
2342 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
2343 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
2344 * textmodes/reftex-toc.el: Set generated-autoload-file,
2345 and add autoload cookies for reftex.el.
2346 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
2347
2348 2014-03-28 Glenn Morris <rgm@gnu.org>
2349
2350 * cus-start.el (report-emacs-bug-address): Set custom properties.
2351 * mail/emacsbug.el (report-emacs-bug-address):
2352 Variable is now defined in emacs.c.
2353
2354 * mail/emacsbug.el (report-emacs-bug):
2355 Include system-configuration-features.
2356
2357 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
2358
2359 * simple.el (cycle-spacing): Never delete spaces on first run by
2360 default, but do so in a new 'fast mode and if there are already
2361 N spaces (the previous behavior).
2362 Compare N with its value in previous invocation so that changing
2363 prefix argument restarts `cycle-spacing' sequence.
2364 The idea is that with this change, binding M-SPC to
2365 `cycle-spacing' should not introduce any changes in behavior of
2366 the binding so long as users do not type M-SPC twice in a raw with
2367 the same prefix argument or lack thereof.
2368
2369 2014-03-28 Glenn Morris <rgm@gnu.org>
2370
2371 * faces.el (term-file-aliases): New variable.
2372 (tty-run-terminal-initialization): Respect term-file-aliases.
2373 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
2374 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
2375 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
2376
2377 2014-03-27 Glenn Morris <rgm@gnu.org>
2378
2379 * startup.el (inhibit-startup-hooks): Doc tweak.
2380 (normal-top-level): Simplify running of hooks.
2381 For window-setup-hook, respect inhibit-startup-hooks.
2382 (command-line-1): Don't set window-setup-hook to nil.
2383
2384 Allow selective autoloading from obsolete/ directory.
2385 * Makefile.in (obsolete-autoloads): New rule.
2386 (autoloads): Run obsolete-autoloads.
2387 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
2388 * simple.el (iswitchb-mode): Remove hand-written autoloads.
2389
2390 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2391
2392 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2393 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2394
2395 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2396 Don't propertize `?' or `!' as symbol constituent when after
2397 colon. (Bug#17097)
2398
2399 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2400
2401 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2402 which is no longer needed and causes trouble in GTK builds (bug#17046).
2403
2404 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2405 Use url-insert-file-contents; package-handle-response no longer exists.
2406
2407 2014-03-26 Daniel Colascione <dancol@dancol.org>
2408
2409 * simple.el (process-menu-mode-map): New variable.
2410 (process-menu-delete-process): New command.
2411
2412 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2413
2414 * emacs-lisp/package.el: Fix bug#16733 (again).
2415 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2416 (url-http-target-url): Remove unused declarations.
2417 (package-handle-response): Remove.
2418 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2419 (package--download-one-archive): Use current-buffer instead of
2420 dynamic binding of `buffer'.
2421 (describe-package-1): Do not decode readme-string.
2422
2423 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
2424
2425 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2426
2427 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2428 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2429 `remote-file-name-inhibit-cache' to nil in the second pass.
2430 (tramp-find-executable): Do not call "which" on SunOS.
2431 (tramp-send-command-and-check): Fix docstring.
2432 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2433 check whether source directory has set the sticky bit.
2434
2435 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
2436
2437 * simple.el (primitive-undo): Only process marker adjustments
2438 validated against their corresponding (TEXT . POS). Issue warning
2439 for lone marker adjustments in undo history. (Bug#16818)
2440 (undo-make-selective-list): Add marker adjustments to selective
2441 undo list based on whether their corresponding (TEXT . POS) is in
2442 the region. Remove variable adjusted-markers, which was unused
2443 and only non nil during undo-make-selective-list.
2444 (undo-elt-in-region): Return nil when passed a marker adjustment
2445 and explain in function doc.
2446
2447 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2448
2449 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2450
2451 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2452
2453 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2454 Match special global variables without curlies, too.
2455 (ruby-font-lock-keywords): Simplify the matcher for special global
2456 variables. Don't require a non-word character after the variable.
2457 (Bug#17057)
2458
2459 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2460
2461 * simple.el (redisplay-highlight-region-function): Increase priority of
2462 overlay to make sure boundaries are visible (bug#15899).
2463
2464 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2465
2466 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2467 (frameset-restore): Compare display strings with equal.
2468
2469 * frame.el (make-frame): Don't quote display name in error message,
2470 it is already a string.
2471
2472 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2473
2474 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2475 the password.
2476
2477 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2478
2479 * emacs-lisp/package.el (package--add-to-archive-contents):
2480 Include already installed and built-in packages in
2481 `package-archive-contents'.
2482 (package-install): Don't include already installed packages in the
2483 options during interactive invocation. (Bug#16762)
2484 (package-show-package-list): If the buffer is already displayed in
2485 another window, switch to that window.
2486
2487 2014-03-26 Reto Zimmermann <reto@gnu.org>
2488
2489 Sync with upstream vhdl mode v3.35.1.
2490 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
2491 (vhdl-compiler-alist): Doc fix.
2492 (vhdl-goto-line): Remove.
2493 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
2494 (vhdl-mode) <paragraph-start>: Fix value.
2495 (vhdl-fix-statement-region): Not `for' in wait-statement.
2496 (vhdl-beautify-region): Also (un)tabify.
2497 (vhdl-get-visible-signals):
2498 Scan declarative part of generate statements.
2499 (vhdl-template-record): Fix indentation for record type declaration.
2500 (vhdl-expand-abbrev, vhdl-expand-paren):
2501 Revert to using fset again rather than defalias.
2502 (vhdl-scan-directory-contents): Tweak.
2503 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
2504 (vhdl-compose-components-package):
2505 Replace vhdl-goto-line with forward-line.
2506 (top-level): Tweak speedbar frame selection.
2507 (vhdl-generate-makefile-1): Support for compilers with no
2508 unit-to-file name mapping (create directory with dummy files).
2509
2510 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
2511
2512 Sync with upstream verilog-mode revision 702457d.
2513 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2514 (create-lockfiles): Declare.
2515 (verilog-read-decls): Fix module header imports, bug709.
2516 Reported by Victor Lau.
2517 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
2518 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
2519 interface-only modules, bug721. Reported by Dean Hoyt.
2520
2521 2014-03-26 Glenn Morris <rgm@gnu.org>
2522
2523 * obsolete/gulp.el: Move here from emacs-lisp/.
2524
2525 * files.el (lock-buffer, unlock-buffer, file-locked-p):
2526 Remove fallback aliases, since they are always defined now.
2527
2528 2014-03-24 Daniel Colascione <dancol@dancol.org>
2529
2530 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2531 instead of cl-loop search function.
2532
2533 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
2534
2535 * calendar/parse-time.el (parse-time-iso8601-regexp)
2536 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
2537 it more generally.
2538
2539 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
2540
2541 * net/dns.el (network-interface-list): Define for XEmacs.
2542
2543 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
2544
2545 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
2546 the network interfaces changed.
2547 (dns-query): Use it to flush the data.
2548
2549 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2550
2551 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
2552
2553 2014-03-23 Daniel Colascione <dancol@dancol.org>
2554
2555 Change subword-mode to use `find-word-boundary-function-table' and
2556 replace `capitalized-words-mode'. Also, convert to lexical
2557 binding.
2558
2559 * progmodes/cap-words.el: Delete now-obsolete file.
2560 * progmodes/subword.el: Reimplement using
2561 `find-word-boundary-function-table'.
2562 (subword-mode-map): Hollow out.
2563 (capitalized-words-mode): Define as obsolete alias for
2564 `subword-mode'.
2565 (subword-mode, superword-mode): Tweak documentation to reflect new
2566 implementation; call `subword-setup-buffer'.
2567 (subword-forward, subword-capitalize): Add underscore to indicate
2568 unused variable.
2569 (subword-find-word-boundary-function-table): New constant.
2570 (subword-empty-char-table): New constant.
2571 (subword-setup-buffer): New function.
2572 (subword-find-word-boundary): New function.
2573
2574 2014-03-23 Daniel Colascione <dancol@dancol.org>
2575
2576 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2577 list to look for keyword arguments instead of `memq', fixing
2578 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2579 Please make bootstrap.
2580
2581 2014-03-22 Glenn Morris <rgm@gnu.org>
2582
2583 * dired.el (dired-read-regexp): Make obsolete.
2584 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
2585 (dired-flag-files-regexp):
2586 * dired-aux.el (dired-mark-read-regexp):
2587 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
2588
2589 * startup.el (fancy-startup-text):
2590 * help.el (describe-gnu-project): Visit online info about GNU project.
2591
2592 * help-fns.el (help-fns--interactive-only): New function.
2593 (help-fns-describe-function-functions): Add the above function.
2594 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
2595 (next-line, previous-line): Remove hand-written interactive-only
2596 information from doc strings, it is auto-generated now.
2597 * bookmark.el (bookmark-write):
2598 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
2599 (epa-mail-import-keys): Mark interactive-only,
2600 and remove hand-written interactive-only information from doc strings.
2601 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
2602 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
2603 * files.el (not-modified):
2604 * simple.el (mark-whole-buffer): Mark interactive-only.
2605
2606 * emacs-lisp/byte-run.el (defun-declarations-alist):
2607 Add interactive-only. Doc tweak.
2608 (macro-declarations-alist): Doc tweak.
2609 * subr.el (declare): Doc tweak (add xref to manual).
2610 * comint.el (comint-run):
2611 * files.el (insert-file-literally, insert-file):
2612 * replace.el (replace-string, replace-regexp):
2613 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2614 (delete-forward-char, goto-line, insert-buffer, next-line)
2615 (previous-line): Set interactive-only via declare.
2616
2617 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2618
2619 * emacs-lisp/package.el (package-desc): Use the contents of the
2620 quoted form, not its cdr. (Bug#16873)
2621
2622 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2623
2624 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2625 benefit of doc.c; change parameter profile to match the X function.
2626
2627 2014-03-22 Leo Liu <sdl.web@gmail.com>
2628
2629 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
2630 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
2631
2632 2014-03-21 Richard Stallman <rms@gnu.org>
2633
2634 * battery.el (battery-linux-sysfs): Search for each field
2635 from the beginning of the buffer.
2636
2637 * subr.el (set-transient-map): Clear out function and value
2638 of the temporary symbol when we're done with it.
2639
2640 * mail/rmailsum.el (rmail-summary-delete-forward):
2641 Optimize case of reaching end and handling count.
2642 (rmail-summary-mark-deleted): Optimize when N is current msg.
2643 Don't create new summary line.
2644 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
2645 (rmail-summary-undelete-many): Rewrite for speed.
2646 (rmail-summary-msg-number): New function.
2647
2648 * mail/rmail.el (rmail-delete-message): Update summary.
2649 (rmail-undelete-previous-message): Handle repeat count arg.
2650 (rmail-delete-backward, rmail-delete-forward): Likewise.
2651
2652 2014-03-21 Daniel Colascione <dancol@dancol.org>
2653
2654 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2655 information in bug reports.
2656
2657 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2658
2659 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2660 and `tramp-copy-env'.
2661
2662 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2663 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2664
2665 2014-03-21 Glenn Morris <rgm@gnu.org>
2666
2667 * electric.el (electric-indent-post-self-insert-function): Add doc.
2668
2669 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2670
2671 * emacs-lisp/package.el (package-compute-transaction):
2672 Use `version-list-<=' to compare the requirement version against
2673 the version of package already to be installed. Update the error
2674 message. (Bug#16826)
2675
2676 * progmodes/ruby-mode.el (ruby-smie-rules):
2677 Add indentation rule for ` @ '. (Bug#17050)
2678
2679 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2680
2681 * align.el (align-regexp): Remove superfluous backslash.
2682
2683 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2684 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2685 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2686 Fix docstring typos.
2687 (ffap-next): Use C-u in docstring.
2688 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2689 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2690 Remove superfluous backslashes.
2691 (ffap-string-at-point): Reflow docstring.
2692
2693 * server.el (server-host): Reflow docstring.
2694 (server-unload-function): Fix docstring typo.
2695 (server-eval-at): Remove superfluous backslash.
2696
2697 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2698 (skeleton-insert): Doc fix.
2699 (skeleton-insert): Reflow docstring.
2700
2701 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2702 (tty-color-approximate, tty-color-by-index, tty-color-values)
2703 (tty-color-desc): Remove superfluous backslashes.
2704
2705 2014-03-21 Glenn Morris <rgm@gnu.org>
2706
2707 * cus-start.el (history-length): Bump :version.
2708
2709 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2710 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2711 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2712 Don't set `make-backup-files'.
2713
2714 * info.el (info--prettify-description): New function,
2715 to give info-finder descriptions consistent case, punctuation.
2716 (Info-finder-find-node): Use it. Sort packages.
2717 Refer to "description" rather than "commentary".
2718
2719 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2720
2721 * frameset.el (frameset--print-register): New function.
2722 (frameset-to-register): Use it.
2723
2724 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
2725
2726 * progmodes/hideif.el (hif-string-to-number): New function.
2727 (hif-tokenize): Use it to understand non-decimal floats.
2728
2729 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
2730
2731 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
2732
2733 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2734
2735 * electric.el (electric-newline-and-maybe-indent): New command.
2736 Bind it globally to C-j.
2737 (electric-indent-mode): Don't mess with the global map any more.
2738 Don't drop the post-self-insert-hook is some buffer is still using it
2739 (bug#16770).
2740
2741 * bindings.el (global-map): Remove C-j binding.
2742
2743 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2744 the docstring of functions advised before dumping (bug#16993).
2745
2746 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2747
2748 * ps-print.el (ps-generate-postscript-with-faces):
2749 Explicitly deactivate the mark (bug#16866).
2750 * simple.el (deactivate-mark): Update region highlight.
2751
2752 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2753
2754 * emacs-lisp/package.el (describe-package-1):
2755 Decode commentary (bug#16733).
2756
2757 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2758
2759 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2760 modification of the value argument of :set (bug#16755).
2761
2762 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2763
2764 * simple.el (newline-and-indent): Do autofill (bug#17031).
2765
2766 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2767
2768 * newcomment.el (comment-normalize-vars): Only add escaping check
2769 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2770 (comment-beginning): Use `narrow-to-region' instead of moving back
2771 one character.
2772 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2773 (comment-start-skip): Update the docstring.
2774
2775 2014-03-18 Richard Stallman <rms@gnu.org>
2776
2777 * dired.el (dired-display-file): Force use of other window.
2778
2779 2014-03-18 Daniel Colascione <dancol@dancol.org>
2780
2781 * startup.el (tty-handle-args): Remove debug message from 2007.
2782
2783 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2784
2785 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2786 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2787 (advice--make-1, advice-add, advice-remove):
2788 Remove braindead :advice-pending hack.
2789
2790 2014-03-17 Glenn Morris <rgm@gnu.org>
2791
2792 * calendar/calendar.el (calendar-generate-month): Apply weekend
2793 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2794
2795 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2796
2797 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2798 (tramp-call-process): Trace also DESTINATION.
2799
2800 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2801 Quote file names when they are local. Remove superfluous trace.
2802
2803 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2804
2805 * newcomment.el (comment-beginning): If `comment-start-skip'
2806 doesn't match, move back one char and try again. (Bug#16971)
2807
2808 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2809 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2810 Set `comment-start-skip' to a simpler value that doesn't try to
2811 check if the semicolon is escaped (this is handled by
2812 `syntax-ppss' now). (Bug#16971)
2813
2814 * progmodes/scheme.el (scheme-mode-variables): Same.
2815
2816 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2817
2818 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2819 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2820 current (Bug#16816, Bug#17007).
2821 (with-current-buffer-window): New macro doing the same as
2822 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2823 * help.el (help-print-return-message): Warn in doc-string to not
2824 use this in `with-help-window'.
2825 (describe-bindings-internal): Call `describe-buffer-bindings'
2826 from within help buffer. See Juanma's scenario in (Bug#16816).
2827 (with-help-window): Update doc-string.
2828 * dired.el (dired-mark-pop-up):
2829 * files.el (save-buffers-kill-emacs):
2830 * register.el (register-preview): Use `with-current-buffer-window'
2831 instead of `with-temp-buffer-window'.
2832
2833 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2834
2835 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2836 Implement inserting into current buffer, documented in their docstrings.
2837 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2838 (rst-section-tree-point, rst-forward-section, rst-indent)
2839 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2840 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2841 (rst-font-lock-handle-adornment-pre-match-form)
2842 (rst-repeat-last-character): Reflow docstrings.
2843 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2844 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2845 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2846 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2847 Fix docstring typos.
2848 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2849 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2850 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2851
2852 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2853
2854 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2855 for compatibility with other ports.
2856 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2857 from the -xrm command line argument, but in the Nextstep port its value
2858 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2859
2860 * progmodes/python.el (defconst, python-syntax-count-quotes)
2861 (python-indent-region, python-indent-shift-right)
2862 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2863 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2864 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2865 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2866 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2867 (python-shell-buffer-substring, python-shell-send-buffer)
2868 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2869 (python-completion-complete-at-point, python-fill-docstring-style)
2870 (python-eldoc-function, python-imenu-format-item-label)
2871 (python-imenu-format-parent-item-label)
2872 (python-imenu-format-parent-item-jump-label)
2873 (python-imenu--build-tree, python-imenu-create-index)
2874 (python-imenu-create-flat-index): Fix docstring typos.
2875 (python-indent-context, python-shell-prompt-regexp, run-python):
2876 Remove superfluous backslashes.
2877 (python-indent-line, python-nav-beginning-of-defun)
2878 (python-shell-get-buffer, python-shell-get-process)
2879 (python-info-current-defun, python-info-current-line-comment-p)
2880 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2881 (python-indent-post-self-insert-function, python-shell-send-file)
2882 (python-shell-completion-get-completions)
2883 (python-shell-completion-complete-or-indent)
2884 (python-eldoc--get-doc-at-point): Reflow docstrings.
2885
2886 2014-03-14 Glenn Morris <rgm@gnu.org>
2887
2888 * emacs-lisp/package.el (package-menu-mode-map):
2889 Replace use of obsolete function alias. Tweak menu item text.
2890
2891 * info.el (Info-finder-find-node):
2892 Ignore the `emacs' metapackage. (Bug#10813)
2893
2894 * finder.el (finder-list-matches): Include unversioned packages
2895 in the result of a keyword search.
2896
2897 * finder.el (finder--builtins-descriptions): New constant.
2898 (finder-compile-keywords): Use finder--builtins-descriptions.
2899
2900 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2901
2902 * simple.el (blink-matching-paren): Describe the new value,
2903 `jump', enabling the old behavior.
2904 (blink-matching-open): Use that value. (Bug#17008)
2905
2906 2014-03-14 Glenn Morris <rgm@gnu.org>
2907
2908 * finder.el (finder-no-scan-regexp): Add leim-list.
2909 (finder-compile-keywords):
2910 Don't skip files with same basename. (Bug#14010)
2911 * Makefile.in (setwins_finder): New, excluding leim.
2912 (finder-data): Use setwins_finder.
2913
2914 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2915 (help-function-arglist, help-make-usage): Move from here...
2916 * help.el (help-split-fundoc, help-add-fundoc-usage)
2917 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2918 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2919
2920 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2921
2922 * net/socks.el (socks, socks-override-functions)
2923 (socks-find-services-entry):
2924 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2925 (hif-find-ifdef-block):
2926 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2927
2928 * net/tls.el (tls-program): Reflow docstring.
2929
2930 * progmodes/pascal.el (pascal-mode-abbrev-table)
2931 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2932 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2933 (pascal-outline-mode): Fix docstring typos.
2934 (pascal-mode): Let define-derived-mode document mode hook.
2935 (pascal-uncomment-area): Reflow.
2936 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2937
2938 * progmodes/opascal.el (opascal-compound-block-indent)
2939 (opascal-case-label-indent): Fix docstring typos.
2940 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2941
2942 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2943
2944 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2945 Fontify multiple adjacent negation chars. (Bug#17004)
2946
2947 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2948
2949 * emacs-lisp/package.el (package--prepare-dependencies):
2950 Accept requirements without explicit version (bug#14941).
2951
2952 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2953
2954 * register.el (register-separator, copy-to-register): Doc fixes.
2955 (register-preview-default): Remove unnecessary call to concat.
2956
2957 * frameset.el (frameset-restore): When checking for a visible frame,
2958 use the action map instead of calling visible-frame-list.
2959
2960 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2961
2962 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2963
2964 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2965
2966 * window.el (fit-frame-to-buffer): Get maximum width from
2967 display's width instead of height.
2968
2969 2014-03-12 Glenn Morris <rgm@gnu.org>
2970
2971 * desktop.el (desktop-restore-frames)
2972 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2973 (desktop-restore-reuses-frames): Doc tweaks.
2974
2975 * electric.el (electric-indent-mode): Doc fix.
2976
2977 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2978
2979 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2980 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2981 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2982 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2983 (cvs-dired-use-hook): Fix docstring typos.
2984 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2985 Doc fixes.
2986
2987 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2988 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2989 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2990 (cvs-execute-single-dir): Fix docstring typos.
2991
2992 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2993 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2994
2995 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2996
2997 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2998 Fix docstring typos.
2999
3000 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3001
3002 * frameset.el (frameset--jump-to-register): Add autoload; it could be
3003 called from jump-to-register after unloading the frameset package.
3004
3005 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3006
3007 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
3008 (bug#16975). Deactivate the mark before setting it to nil.
3009 (activate-mark): Do nothing if region is already active.
3010
3011 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3012
3013 * frameset.el (frameset--target-display): Remove definition; declare.
3014 (frameset-save, frameset-restore): Let-bind frameset--target-display.
3015
3016 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3017
3018 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
3019 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
3020 when the advice is pending.
3021 (advice-remove): Remove this marker when not needed any more.
3022
3023 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3024
3025 * frameset.el: Separate options for reusing frames and cleaning up.
3026 (frameset--reuse-list): Remove definition; declare.
3027 (frameset--action-map): Declare.
3028 (frameset--find-frame-if): Doc fix.
3029 (frameset--restore-frame): Cache frame action.
3030 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
3031 how to clean up the frame list after restoring. Remove cleaning
3032 options from REUSE-FRAMES. Change all keyword values to symbols.
3033 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
3034
3035 * desktop.el (desktop-restore-forces-onscreen)
3036 (desktop-restore-reuses-frames): Use non-keyword values.
3037 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
3038
3039 2014-03-10 Glenn Morris <rgm@gnu.org>
3040
3041 * files.el (find-file): Doc fix: update info node name.
3042
3043 * emacs-lisp/advice.el (ad-add-advice, defadvice):
3044 Doc fix: remove references to deleted info nodes.
3045
3046 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
3047
3048 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3049 Do not add `nil' to the environment, when there's no remote `locale'.
3050 (tramp-find-inline-encoding): Check, that the remote host has
3051 installed perl, before sending scripts.
3052
3053 2014-03-10 Leo Liu <sdl.web@gmail.com>
3054
3055 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3056 Clear eldoc-last-message. (Bug#16920)
3057
3058 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3059
3060 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
3061 (bug#14430).
3062
3063 2014-03-09 Juri Linkov <juri@jurta.org>
3064
3065 * ansi-color.el (ansi-color-names-vector): Copy default colors
3066 from `xterm-standard-colors' that look well on the default white
3067 background (and also on the black background) to avoid illegible
3068 color combinations like yellow-on-white and white-on-white.
3069 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
3070
3071 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
3072
3073 * frameset.el (frameset-restore): When no frame is visible, do not
3074 generate a list of frames, just make visible the selected one.
3075
3076 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
3077
3078 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
3079 it only contains the repository root. (Bug#16897)
3080
3081 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
3082
3083 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
3084 only when `remote-file-name-inhibit-cache' is nil.
3085 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
3086
3087 2014-03-06 Martin Rudalics <rudalics@gmx.at>
3088
3089 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
3090 Fix doc-strings.
3091 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
3092 fit-frame-to-buffer variable. Fix doc-string.
3093 (fit-window-to-buffer): Set ONLY argument in call of
3094 fit-frame-to-buffer. Fix doc-string.
3095
3096 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
3097
3098 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
3099 (tramp-action-password): Clear password cache if needed.
3100 (tramp-read-passwd): Do not clear password cache.
3101
3102 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
3103 cache unless it is the first password request.
3104
3105 2014-03-06 Glenn Morris <rgm@gnu.org>
3106
3107 * simple.el (newline): Doc tweak.
3108
3109 * emacs-lisp/shadow.el (load-path-shadows-find):
3110 Ignore dir-locals. (Bug#12357)
3111
3112 2014-03-05 Glenn Morris <rgm@gnu.org>
3113
3114 * files.el (interpreter-mode-alist):
3115 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
3116
3117 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3118
3119 * frameset.el (frameset--initial-params): Filter out null entries.
3120
3121 2014-03-05 Martin Rudalics <rudalics@gmx.at>
3122
3123 * window.el (window-min-height, window-min-width):
3124 Rewrite doc-strings.
3125 (window-body-size): Add PIXELWISE argument to make it consistent
3126 with its callees.
3127
3128 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3129
3130 * finder.el (finder-mode-map, finder-mode-syntax-table):
3131 Revert part of 2014-02-28 change.
3132
3133 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
3134
3135 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
3136 (eww-setup-buffer): Clear next/prev/etc more reliably.
3137 (eww-textarea-map): [tab] doesn't work on tty.
3138 Reported by Mario Lang.
3139
3140 * net/shr.el (shr-map): Ditto.
3141
3142 2014-03-04 Glenn Morris <rgm@gnu.org>
3143
3144 * minibuffer.el (completion-hilit-commonality):
3145 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
3146
3147 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3148
3149 * hilit-chg.el (hilit-chg-unload-function): New function.
3150 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
3151 (hilit-chg-map-changes): Prefer cardinal number to digit.
3152 (hilit-chg-display-changes): Reflow docstring.
3153 (highlight-changes-rotate-faces): Remove superfluous backslash.
3154
3155 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
3156
3157 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
3158 `tramp-send-command-and-check'.
3159
3160 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3161
3162 * hexl.el (hexl-address-region, hexl-ascii-region)
3163 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
3164 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
3165 (hexl-forward-word, hexl-previous-line, hexl-next-line):
3166 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
3167 (hexl-mode): Doc fix.
3168 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
3169 (hexl-mode-ruler): Fix typos in docstrings.
3170
3171 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
3172 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
3173 Remove superfluous backslashes.
3174 (strokes-last-stroke, strokes-global-map, strokes-mode):
3175 Reflow docstrings.
3176 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
3177 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
3178 (strokes-distance-squared, strokes-global-set-stroke)
3179 (strokes-global-set-stroke-string): Doc fixes.
3180 (strokes-help): Fix typos; reflow docstring.
3181
3182 2014-03-04 Martin Rudalics <rudalics@gmx.at>
3183
3184 * window.el (window-in-direction): Fix doc-string.
3185
3186 2014-03-04 Glenn Morris <rgm@gnu.org>
3187
3188 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
3189 Explicit error if no grammar.
3190 (smie-config-save): Doc fix. Fix quote typo.
3191
3192 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
3193
3194 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
3195 electric-indent-mode-hook if we obey electric-indent-mode.
3196 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
3197 decide whether we obey electric-indent-mode.
3198 (c-change-set-fl-decl-start, c-extend-after-change-region):
3199 Silence warnings.
3200 (c-electric-indent-mode-hook): Assume we do want to obey
3201 electric-indent-mode.
3202
3203 * electric.el (electric-indent-mode-has-been-called): Remove.
3204 (electric-indent-mode): Fix accordingly.
3205
3206 * files.el (hack-local-variables): Mention file name in warning.
3207
3208 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
3209
3210 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
3211
3212 * bindings.el: Add comment describing why C-d binds to `delete-char'.
3213 * simple.el (delete-forward-char): Mark as interactive-only.
3214
3215 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
3216
3217 * icomplete.el (icomplete-completions):
3218 Follow-up to 2014-03-01 change.
3219
3220 * icomplete.el: Miscellaneous doc fixes.
3221 Use Icomplete everywhere instead of icomplete for consistency.
3222 (icomplete-max-delay-chars): Fix typo.
3223 (icomplete-mode): Use \[].
3224 (icomplete-tidy, icomplete-exhibit): Reflow.
3225 (icomplete-minibuffer-setup-hook, icomplete-completions):
3226 Remove superfluous backlashes.
3227
3228 * ido.el: Miscellaneous doc fixes.
3229 Use Ido everywhere instead of ido or `ido' for consistency.
3230 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
3231 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
3232 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
3233 (ido-separator): Extract obsolescence info from docstring and declare
3234 with make-obsolete-variable.
3235 (ido-minibuffer-setup-hook): Simplify example.
3236 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
3237 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
3238 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
3239 (ido-everywhere): Reflow docstring.
3240 (ido-toggle-vc): Doc fix.
3241 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
3242 of long list of keybindings.
3243
3244 2014-03-03 Glenn Morris <rgm@gnu.org>
3245
3246 * frame.el (display-pixel-height, display-pixel-width)
3247 (display-mm-dimensions-alist, display-mm-height)
3248 (display-mm-width): Doc tweaks.
3249
3250 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
3251
3252 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
3253 case of undo in region.
3254
3255 2014-03-02 Martin Rudalics <rudalics@gmx.at>
3256
3257 * window.el (fit-window-to-buffer): Fix argument in window-size
3258 call when window is horizontally combined.
3259
3260 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
3261
3262 * icomplete.el (icomplete-completions): Use string-width.
3263 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
3264
3265 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
3266
3267 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3268 Highlight regexp options. (Bug#16914)
3269
3270 2014-03-01 Martin Rudalics <rudalics@gmx.at>
3271
3272 * window.el (window--max-delta-1): Round down when calculating
3273 how many lines/columns we can get from a window.
3274
3275 2014-03-01 Glenn Morris <rgm@gnu.org>
3276
3277 * isearch.el (search-invisible): Doc fix.
3278
3279 * minibuffer.el (completion-hilit-commonality):
3280 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
3281 * comint.el (comint-dynamic-list-completions): Doc fix.
3282 * comint.el (comint-dynamic-list-completions):
3283 * filecache.el (file-cache-minibuffer-complete):
3284 * tempo.el (tempo-display-completions):
3285 * eshell/em-hist.el (eshell-list-history):
3286 Replace use of obsolete argument of display-completion-list.
3287
3288 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
3289
3290 * icomplete.el (icomplete-completions):
3291 Revert back to using "..." when ?… cannot be displayed.
3292
3293 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3294
3295 * finder.el (finder-unload-function): New function.
3296
3297 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3298
3299 * dframe.el (dframe-detach):
3300 * find-dired.el (find-dired, find-name-dired):
3301 * finder.el (finder-mode-map, finder-mode-syntax-table)
3302 (finder-headmark, finder-select, finder-mouse-select):
3303 Fix docstring typos.
3304
3305 2014-02-28 Martin Rudalics <rudalics@gmx.at>
3306
3307 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
3308 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
3309 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3310 Fix doc-string based on a suggestion by Nicolas Richard
3311 <theonewiththeevillook@yahoo.fr>.
3312 * help.el (with-help-window): Fix doc-string.
3313
3314 2014-02-28 Ivan Kanis <ivan@kanis.fr>
3315
3316 * net/shr.el (shr-image-animate): New option.
3317 (shr-put-image): Respect shr-image-animate.
3318
3319 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
3320
3321 * net/tramp-adb.el (tramp-adb-parse-device-names):
3322 Use `accept-process-output'.
3323 (tramp-adb-handle-file-truename): Cache the localname only.
3324 (tramp-adb-handle-make-directory)
3325 (tramp-adb-handle-delete-directory): Flush file properties correctly.
3326 (tramp-adb-handle-set-file-modes): Do not raise an error when file
3327 modes cannot be changed.
3328
3329 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3330 file properties of symlinks.
3331
3332 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
3333
3334 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3335 required/optional fields to match development biblatex. (Bug#16781)
3336
3337 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
3338
3339 * saveplace.el (toggle-save-place):
3340 Fix argument handling. (Bug#16673)
3341
3342 2014-02-28 Glenn Morris <rgm@gnu.org>
3343
3344 * minibuffer.el (completions-first-difference)
3345 (completions-common-part, completion-hilit-commonality): Doc fixes.
3346
3347 2014-02-28 Karl Berry <karl@gnu.org>
3348
3349 * info.el (Info-mode-map): Add H for describe-mode,
3350 to synchronize with standalone Info.
3351
3352 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
3353
3354 * progmodes/sql.el (sql-interactive-mode):
3355 Avoid setting global comint-input-ring-separator. (Bug#16814)
3356
3357 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3358
3359 * net/dbus.el (dbus--init-bus): Declare function.
3360 (dbus-path-local, dbus-interface-local): New defconst.
3361 (dbus-init-bus): Use them.
3362 (dbus-return-values-table): Extend doc.
3363 (dbus-handle-bus-disconnect): Extend error message.
3364
3365 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
3366
3367 * subr.el (y-or-n-p): Fix double space issue in message.
3368
3369 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3370
3371 * net/tramp.el (tramp-call-process): Improve trace message.
3372 (tramp-handle-insert-file-contents): Trace error case.
3373
3374 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3375 <insert-directory>: Use `tramp-handle-insert-directory'.
3376 (tramp-adb-handle-insert-directory): Remove function.
3377 (tramp-adb-send-command-and-check): New defun, replacing
3378 `tramp-adb-command-exit-status'. Change all callees.
3379 (tramp-adb-handle-file-attributes)
3380 (tramp-adb-handle-directory-files-and-attributes): Use it.
3381 (tramp-adb-ls-output-name-less-p):
3382 Use `directory-listing-before-filename-regexp'.
3383 (tramp-adb-handle-delete-directory): Flush also file properties of
3384 the truename of directory.
3385 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3386 (tramp-adb-handle-file-local-copy): Make the local copy readable.
3387 (tramp-adb-handle-write-region): Implement APPEND.
3388 (tramp-adb-handle-rename-file): Make it more robust. Flush file
3389 properties correctly.
3390 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3391 variables. Check for connected devices only when needed.
3392
3393 2014-02-27 Glenn Morris <rgm@gnu.org>
3394
3395 * minibuffer.el (completion-table-dynamic)
3396 (completion-table-with-cache): Doc fixes.
3397
3398 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3399 (completing-read-multiple): Doc fixes.
3400
3401 2014-02-27 Daniel Colascione <dancol@dancol.org>
3402
3403 * minibuffer.el (completion--nth-completion): Fix indentation.
3404
3405 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3406 explicit tramp path is empty.
3407
3408 2014-02-27 Glenn Morris <rgm@gnu.org>
3409
3410 * emacs-lisp/crm.el (completing-read-multiple):
3411 Empower help-enable-auto-load.
3412
3413 2014-02-26 Glenn Morris <rgm@gnu.org>
3414
3415 * startup.el (command-line): Don't init the tty in daemon mode.
3416
3417 Avoid calling tty-setup-hook twice, eg if a term file
3418 explicitly calls tty-run-terminal-initialization. (Bug#16859)
3419 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3420 (tty-create-frame-with-faces): Use it.
3421 * startup.el (command-line): Pass run-hook argument
3422 to tty-run-terminal-initialization.
3423
3424 * dired.el (dired-restore-desktop-buffer): Demote errors;
3425 eg in case a glob match fails. (Bug#16884)
3426
3427 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
3428
3429 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3430 error from `read-from-string'. (Bug#16850)
3431
3432 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3433 result of `completing-read' in the interactive form. (Bug#16854)
3434
3435 2014-02-25 Glenn Morris <rgm@gnu.org>
3436
3437 * image.el (image-animate, image-animate-timeout):
3438 Stop animating images in dead buffers. (Bug#16878)
3439
3440 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
3441
3442 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3443 Doc fixes.
3444 * startup.el (term-setup-hook): Doc fix. Make obsolete.
3445 * term/sun.el (sun-raw-prefix-hooks):
3446 Use tty-setup-hook instead of term-setup-hook.
3447 (terminal-init-sun): Construct message from bytecomp plist.
3448 * term/wyse50.el (enable-arrow-keys): Doc fix.
3449
3450 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3451
3452 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3453 Fix docstring typos.
3454
3455 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
3456
3457 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3458
3459 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3460
3461 * minibuffer.el (completion--try-word-completion):
3462 Fix error when completing M-x commands (bug#16808).
3463
3464 2014-02-24 Leo Liu <sdl.web@gmail.com>
3465
3466 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3467
3468 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3469
3470 * apropos.el (apropos-print): Avoid formatting error when
3471 apropos-do-all and apropos-compact-layout are both t.
3472
3473 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3474
3475 * apropos.el (apropos-property, apropos-all-words-regexp)
3476 (apropos-true-hit, apropos-variable, apropos-print):
3477 Fix docstring typos, and remove obsolete comment.
3478
3479 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3480
3481 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3482 Preserve trailing "/". (Bug#16851)
3483
3484 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3485
3486 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3487 after `=>' (bug#16811).
3488 (ruby-smie-rules): Handle the inconsistent second element of the
3489 list returned by `smie-indent--parent'.
3490 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3491 method call.
3492
3493 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3494
3495 * elec-pair.el (electric-pair-text-syntax-table)
3496 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3497 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3498 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3499 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3500
3501 2014-02-22 Glenn Morris <rgm@gnu.org>
3502
3503 * imenu.el (imenu--generic-function): Doc fix.
3504
3505 * register.el (frame-configuration-to-register): Make obsolete.
3506
3507 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
3508
3509 * desktop.el (desktop-save-buffer-p): Do not fail when
3510 desktop-files-not-to-save is nil. Return t for true result
3511 as the doc says.
3512
3513 2014-02-22 Daniel Colascione <dancol@dancol.org>
3514
3515 * net/secrets.el (secrets-create-item, secrets-search-items):
3516 Check that attribute values are strings, avoiding the construction
3517 of invalid dbus messages.
3518
3519 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3520
3521 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3522 defun-declarations-alist.
3523
3524 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3525
3526 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3527 (bug#16829).
3528
3529 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3530
3531 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3532 (whitespace-newline, whitespace-trailing, whitespace-line)
3533 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3534 (whitespace-space-after-tab): Fix typo in docstrings.
3535
3536 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3537
3538 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3539
3540 * electric.el (electric-indent-functions-without-reindent):
3541 Add `yaml-indent-line'.
3542
3543 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3544
3545 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3546 It has done nothing for years; should be removed after the release.
3547
3548 * simple.el (choose-completion): Fix docstring typo.
3549 (read-quoted-char-radix): Remove unneeded * in docstring.
3550 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3551 Don't escape parentheses unnecessarily in docstrings.
3552
3553 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3554
3555 Fix handling of window-min-height/-width (Bug#16738).
3556 * window.el (window--dump-window, window--dump-frame):
3557 New functions.
3558 (window--min-size-1): Account for window dividers.
3559 When window-resize-pixelwise is nil, delay rounding till after the
3560 sum of the window components has been calculated.
3561 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3562 nil make sure at least one text line and two text columns remain
3563 fully visible.
3564 (window-resize): Signal an error when window-resize-apply fails.
3565 (window--resize-child-windows): Fix calculation of by how many
3566 pixels a window can still be shrunk via window-new-normal.
3567 (adjust-window-trailing-edge): Call window--resizable with
3568 correct TRAIL argument.
3569
3570 (with-temp-buffer-window): Don't evaluate BODY within
3571 with-current-buffer (Bug#16816).
3572
3573 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3574
3575 * net/tramp.el (tramp-check-cached-permissions):
3576 Call `file-attributes' with `suffix' being a symbol but a string.
3577
3578 2014-02-21 Daniel Colascione <dancol@dancol.org>
3579
3580 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3581 (dbus-init-bus): New function: call into dbus-init-bus-1
3582 and installs a handler for the disconnect signal.
3583 (dbus-call-method): Rewrite to look for result in cons.
3584 (dbus-call-method-handler): Store result in cons.
3585 (dbus-check-event): Recognize events with nil sender as valid.
3586 (dbus-handle-bus-disconnect): New function. React to bus
3587 disconnection signal by synthesizing dbus error for each
3588 pending synchronous or asynchronous call.
3589 (dbus-notice-synchronous-call-errors): New function.
3590 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3591 is true, not all the time.
3592
3593 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3594
3595 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3596 Remove obsolescence declarations, these variables do not exist anymore.
3597
3598 * savehist.el (savehist-save-minibuffer-history)
3599 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3600 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3601 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3602 mostly, refer to "Savehist mode" when talking about the mode,
3603 and not the function.
3604
3605 * saveplace.el (save-place): Remove redundant info in docstring.
3606 (save-place-forget-unreadable-files, toggle-save-place)
3607 (save-place-forget-unreadable-files, save-place-dired-hook):
3608 Fix typos and remove unneeded backslashes.
3609
3610 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3611
3612 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3613 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3614
3615 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3616 <insert-directory>: Use `tramp-handle-insert-directory'.
3617 (tramp-gvfs-handle-insert-directory): Remove function.
3618
3619 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3620 Call `tramp-handle-insert-directory'.
3621
3622 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3623
3624 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3625 before the start of buffer/region (bug#16799).
3626
3627 2014-02-20 Glenn Morris <rgm@gnu.org>
3628
3629 * isearch.el (search-invisible): Doc fix.
3630
3631 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3632
3633 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3634 (bug#16657).
3635
3636 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3637
3638 * frameset.el (frameset-restore): Delay removing an old frame's
3639 duplicate id until the new frame has been correctly created.
3640
3641 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3642
3643 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3644 (tramp-check-cached-permissions): Call `file-attributes' if the
3645 cache is empty.
3646
3647 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3648 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3649
3650 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3651 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3652 (tramp-gvfs-maybe-open-connection): Set always connection
3653 properties, even if target is mounted already.
3654
3655 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3656 Set tramp-autoload cookie.
3657 (tramp-get-remote-touch): New defun.
3658 (tramp-sh-handle-set-file-times): Use it.
3659 (tramp-sh-handle-directory-files-and-attributes):
3660 Use `tramp-handle-directory-files-and-attributes' if neither stat
3661 nor perl are available on the remote host.
3662
3663 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3664 "/". Write long listing only when "l" belongs to the switches.
3665
3666 * net/trampver.el: Update release number.
3667
3668 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3669
3670 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3671
3672 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3673
3674 * window.el (window-state-put): Allow WINDOW to refer to an
3675 internal window (Bug#16793).
3676
3677 2014-02-19 Glenn Morris <rgm@gnu.org>
3678
3679 * textmodes/remember.el: Move provide statement to end.
3680 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3681 (remember-notes): Doc fixes.
3682
3683 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3684
3685 * delsel.el (delete-char): Restore incorrectly erased property
3686 (bug#16795).
3687
3688 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3689
3690 * frameset.el (frameset--restore-frame): When a frame is being reused
3691 and its root window is not alive, delete all the frame's windows before
3692 restoring the window state. This works around the issue in bug#16793.
3693
3694 2014-02-18 Glenn Morris <rgm@gnu.org>
3695
3696 * textmodes/remember.el (remember-data-directory)
3697 (remember-directory-file-name-format, remember-store-in-files)
3698 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3699 (remember-notes-save-and-bury-buffer)
3700 (remember-notes--kill-buffer-query): Doc fixes.
3701
3702 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3703
3704 2014-02-17 Alan Mackenzie <acm@muc.de>
3705
3706 Connect electric-indent-mode up with CC Mode. Bug #15478.
3707 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3708 to electric-indent-{,local-}-mode.
3709 (c-basic-common-init): Set electric-indent-inhibit.
3710 Initialise c-electric-flag from electric-indent-mode.
3711 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3712 New hook functions which propagate electric-indent-mode to CC mode.
3713
3714 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3715 hit, toggle electric-indent-local-mode.
3716
3717 * electric.el (electric-indent-mode-has-been-called):
3718 New variable.
3719
3720 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3721
3722 * frameset.el (frameset-cfg-id): New function.
3723 (frameset--reuse-frame, frameset-restore): Use it.
3724 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3725
3726 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3727
3728 * ido.el (ido-file-internal): Remove unused var `d'.
3729 Use \` for to match BoS. Fit within 80n columns.
3730
3731 2014-02-17 Daniel Colascione <dancol@dancol.org>
3732
3733 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3734 dbus-call-method check for completion using a busy-wait loop with
3735 gradual backoff.
3736
3737 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3738
3739 Sync with Tramp 2.2.9.
3740
3741 * net/trampver.el: Update release number.
3742
3743 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3744
3745 * ido.el (ido-file-internal): Don't add the name of an existing
3746 directory twice. (Bug#16747)
3747
3748 2014-02-16 Glenn Morris <rgm@gnu.org>
3749
3750 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3751 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3752
3753 2014-02-15 Michael R. Mauger <michael@mauger.com>
3754
3755 * progmodes/sql.el: Version 3.4
3756 (sql-oracle-options): New default value ("-L").
3757 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3758 (sql-placeholders-filter): Correct placeholder pattern.
3759 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3760 (sql-login-delay): New variable.
3761 (sql-product-interactive): Use it.
3762
3763 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3764
3765 * frameset.el (frameset--jump-to-register): Check that buffer is live
3766 (bug#16749).
3767
3768 2014-02-15 Glenn Morris <rgm@gnu.org>
3769
3770 * info.el (info-initialize): Revert 2014-01-10 change.
3771
3772 2014-02-14 Glenn Morris <rgm@gnu.org>
3773
3774 * replace.el (map-query-replace-regexp)
3775 (read-regexp-defaults-function, read-regexp): Doc fixes.
3776
3777 * dired.el (dired-read-regexp):
3778 * faces.el (list-faces-display):
3779 * misearch.el (multi-isearch-read-matching-buffers)
3780 (multi-isearch-read-matching-files):
3781 * play/cookie1.el (cookie-apropos):
3782 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3783
3784 * textmodes/remember.el (remember): Use frameset-to-register
3785 rather than frame-configuration-to-register.
3786
3787 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3788
3789 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3790 incorrect keybinding.
3791
3792 2014-02-13 Daniel Colascione <dancol@dancol.org>
3793
3794 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3795 when adding overlays so that line numbers from compiler match line
3796 numbers we use.
3797
3798 2014-02-13 Glenn Morris <rgm@gnu.org>
3799
3800 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3801
3802 * jit-lock.el (jit-lock-mode): Doc fix.
3803
3804 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3805
3806 * apropos.el (apropos-read-pattern): When the user passes an empty
3807 string, give a more helpful error message than "Wrong type
3808 argument: stringp, nil".
3809
3810 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3811
3812 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3813
3814 2014-02-13 Glenn Morris <rgm@gnu.org>
3815
3816 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3817
3818 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3819
3820 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3821 shift-select commands.
3822
3823 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3824
3825 * progmodes/js.el (js-indent-line): Don't widen.
3826 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3827
3828 2014-02-12 Glenn Morris <rgm@gnu.org>
3829
3830 * icomplete.el (icomplete): Add info-link to defgroup.
3831 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3832 (icomplete-minibuffer-map, icomplete-mode)
3833 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3834
3835 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3836 (package-menu-filter): Rename from package-menu-filter-interactive.
3837 Doc fix.
3838
3839 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3840
3841 * frameset.el (frameset--jump-to-register): Select the required
3842 window and buffer before restoring position (bug#16696).
3843
3844 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3845
3846 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3847
3848 2014-02-10 Glenn Morris <rgm@gnu.org>
3849
3850 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3851
3852 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3853
3854 * w32-common-fns.el (x-get-selection): Doc fix.
3855 * select.el (x-get-selection): Doc fix. (Bug#15109)
3856
3857 * face-remap.el (face-remap-add-relative)
3858 (face-remap-remove-relative, face-remap-reset-base)
3859 (face-remap-set-base): Call force-mode-line-update to redisplay
3860 the current buffer due to potential change in faces. (Bug#16709)
3861
3862 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3863
3864 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3865 script more robustly.
3866
3867 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3868
3869 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3870
3871 * simple.el (choose-completion): Doc fix (bug#14160).
3872
3873 * subr.el (event-start): Say what a nil EVENT value means.
3874
3875 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3876 (bug#14197).
3877
3878 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3879
3880 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3881
3882 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3883
3884 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3885 predicate function (bug#15455).
3886
3887 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3888
3889 * ielm.el (inferior-emacs-lisp-mode): Instead of
3890 `comment-use-global-state', set `comment-use-syntax'.
3891
3892 2014-02-10 Glenn Morris <rgm@gnu.org>
3893
3894 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3895
3896 2014-02-09 Alan Mackenzie <acm@muc.de>
3897
3898 Fix c-invalidate-state-cache on narrowed buffers.
3899 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3900 Widen when setting and clearing the CPP delimiter properties.
3901
3902 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3903
3904 * help.el (describe-bindings): Doc fix (bug#9888).
3905
3906 * files.el (save-buffer): Use ARG as the parameter name for
3907 consistency (bug#10346).
3908 (save-buffer): Clarify the 0 argument (bug#10346).
3909
3910 * cus-edit.el (customize-apropos): Fix error string.
3911 (custom-buffer-create): Doc fix (bug#11122).
3912 (custom-sort-items): Doc fix (bug#11121).
3913
3914 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3915
3916 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3917 (icomplete-simple-completing-p): Mention the previous variable.
3918
3919 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3920 meaning of the parameter (bug#12282).
3921
3922 * files.el (find-file-noselect): Clarify prompt when changing
3923 readedness (bug#13261).
3924 (locate-file): Suffixes aren't returned, so don't say that they
3925 are (bug#12674).
3926 (backup-inhibited): Doc clarification (bug#12525).
3927
3928 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3929 before we actually start to delete things (bug#16331).
3930
3931 * subr.el (event-start): Doc fix (bug#14228).
3932 (event-end): Ditto.
3933
3934 2014-02-09 Glenn Morris <rgm@gnu.org>
3935
3936 * emacs-lisp/warnings.el (lwarn):
3937 Empower help-enable-auto-load. (Bug#15940)
3938
3939 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3940
3941 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3942 (Bug#16690)
3943
3944 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3945
3946 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3947 Insert output at end of buffer. (Bug#16120)
3948
3949 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3950
3951 * simple.el (choose-completion-string-functions): Document new
3952 calling convention (bug#14153).
3953 (execute-extended-command): Clarify doc string (bug#13373).
3954
3955 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3956
3957 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3958 (find-grep-dired): Doc fix (bug#14288).
3959
3960 2014-02-08 Juri Linkov <juri@jurta.org>
3961
3962 * isearch.el (isearch-quote-char): Check character validity
3963 like in `quoted-insert' (bug#16677).
3964
3965 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3966
3967 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3968
3969 * isearch.el (isearch-hide-immediately): Doc clarification
3970 (bug#14723).
3971
3972 * simple.el (line-move): Document utility function used many
3973 places in the Emacs sources (bug#14843).
3974
3975 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3976 (dired-prev-marked-file): Doc fix (bug#14855).
3977 (dired-up-directory): Doc fix (bug#14848).
3978
3979 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3980
3981 * files.el (file-relative-name): Doc fix (bug#15159).
3982
3983 * fringe.el (fringe-styles): Doc fix (bug#15239).
3984
3985 * isearch.el (isearch-filter-predicate): Documentation typo fix
3986 (bug#15474).
3987
3988 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3989
3990 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3991
3992 * replace.el (replace-match-maybe-edit): Doc clarification
3993 (bug#15632).
3994
3995 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3996
3997 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3998
3999 2014-02-08 Glenn Morris <rgm@gnu.org>
4000
4001 * help-fns.el (describe-variable):
4002 Check {file,dir}-local-variables-alist, and buffer-file-name,
4003 in the correct buffer.
4004
4005 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
4006
4007 * help-fns.el (describe-variable): Fix the case where
4008 a value is directory-local with no dir-locals file. (Bug#16635)
4009
4010 2014-02-08 Glenn Morris <rgm@gnu.org>
4011
4012 * abbrev.el (edit-abbrevs-mode):
4013 Derive from fundamental-mode. (Bug#16682)
4014
4015 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
4016
4017 * simple.el (quoted-insert): Check character validity (bug#16677).
4018
4019 2014-02-07 Juri Linkov <juri@jurta.org>
4020
4021 * desktop.el (desktop-read): Claim the lock when the owner is not
4022 the current process. (Bug#16157)
4023
4024 2014-02-07 Juri Linkov <juri@jurta.org>
4025
4026 * desktop.el (desktop-buffers-not-to-save): Change default from nil
4027 to "\\` ". (Bug#16651)
4028
4029 2014-02-07 Juri Linkov <juri@jurta.org>
4030
4031 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
4032 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
4033 (desktop-auto-save-cancel-timer): New function with some code from
4034 `desktop-auto-save-set-timer'.
4035 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
4036 Instead of setting `desktop-save-mode' to nil, call
4037 `desktop-save-mode' with arg 0. (Bug#16630)
4038
4039 2014-02-07 Glenn Morris <rgm@gnu.org>
4040
4041 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
4042 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
4043 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
4044
4045 * obsolete/iswitchb.el: Move to obsolete/.
4046 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
4047 since obsolete/ is not scanned for autoloads.
4048 * emacs-lisp/authors.el (authors-valid-file-names):
4049 Add iswitchb.el.
4050
4051 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
4052 Disable now non-functional find-file-hook.
4053
4054 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
4055
4056 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
4057 instead of ";" in order to avoid additional prompts. Let heredoc
4058 scripts read from tty. (Bug#16582)
4059 (tramp-send-command): No special handling of heredocs, it isn't
4060 necessary anymore.
4061
4062 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
4063
4064 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
4065 with a space (bug#16664). Limit the symbols considered to the ones
4066 that are bound or fbound (bug#16646).
4067
4068 2014-02-06 Glenn Morris <rgm@gnu.org>
4069
4070 * epa.el (epa-mail-aliases): Doc fix.
4071
4072 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
4073
4074 * emacs-lisp/lisp.el (lisp-completion-at-point):
4075 Use `completion-table-merge' instead of `completion-table-in-turn'
4076 (bug#16604).
4077
4078 * minibuffer.el (completion-table-merge): New function.
4079
4080 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
4081
4082 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
4083 (tramp-sh-handle-set-file-acl)
4084 (tramp-sh-handle-start-file-process)
4085 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
4086 (tramp-find-executable, tramp-send-command): Use it.
4087
4088 2014-02-05 Glenn Morris <rgm@gnu.org>
4089
4090 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
4091
4092 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
4093
4094 * progmodes/python.el (python-shell-send-string)
4095 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
4096
4097 2014-02-04 Anders Lindgren <andlind@gmail.com>
4098
4099 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
4100 the names (bug#16620).
4101
4102 2014-02-03 Martin Rudalics <rudalics@gmx.at>
4103
4104 * faces.el (window-divider): New default value. Rewrite doc-string.
4105 (window-divider-first-pixel, window-divider-last-pixel): New faces.
4106
4107 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
4108
4109 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
4110 `protected' and `public' can also be called without arguments.
4111
4112 2014-02-03 Glenn Morris <rgm@gnu.org>
4113
4114 * register.el (window-configuration-to-register)
4115 (frame-configuration-to-register): Unadvertise unused argument.
4116 * frameset.el (frameset-to-register): Remove unused argument.
4117
4118 * frameset.el (frameset-to-register):
4119 * kmacro.el (kmacro-to-register):
4120 * register.el (increment-register):
4121 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
4122 (calc-append-to-register, calc-prepend-to-register):
4123 * play/gametree.el (gametree-layout-to-register)
4124 (gametree-apply-register-layout):
4125 * textmodes/picture.el (picture-clear-rectangle-to-register)
4126 (picture-yank-rectangle-from-register):
4127 * vc/emerge.el (emerge-combine-versions-register):
4128 Use register-read-with-preview to read registers.
4129
4130 2014-02-03 João Távora <joaotavora@gmail.com>
4131
4132 * elec-pair.el (electric-pair-backward-delete-char): Don't error
4133 when at beginning of (possibly narrowed) buffer.
4134
4135 2014-02-02 Daniel Colascione <dancol@dancol.org>
4136
4137 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
4138 Also try to display local help from just before point.
4139
4140 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
4141
4142 c-parse-state. Don't "append-lower-brace-pair" in certain
4143 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
4144 recognised as a comment.
4145
4146 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
4147 as well as normal comment starter.
4148 (c-parse-state-get-strategy): Extra return possibility
4149 'back-and-forward.
4150 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
4151 return value list to indicate replacement of a brace-pair cons
4152 with its car.
4153 (c-parse-state-1): With 'back-and-forward, only call
4154 c-append-lower-brace-pair-to state-cache when cons-separated.
4155
4156 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
4157
4158 * term/ns-win.el (ns-suspend-error): New function.
4159 (ns-initialize-window-system): Add ns-suspend-error to
4160 suspend-hook (Bug#16612).
4161
4162 2014-02-02 Daniel Colascione <dancol@dancol.org>
4163
4164 * progmodes/cc-defs.el (c-find-assignment-for-mode):
4165 Make loading cc-mode silent.
4166
4167 2014-02-02 Daniel Colascione <dancol@dancol.org>
4168
4169 * comint.el (comint-prompt-read-only): Change doc to suggest
4170 remap keybinding.
4171
4172 2014-02-02 Glenn Morris <rgm@gnu.org>
4173
4174 * register.el (register-read-with-preview, point-to-register)
4175 (window-configuration-to-register, frame-configuration-to-register)
4176 (jump-to-register, number-to-register, view-register, insert-register)
4177 (copy-to-register, append-to-register, prepend-to-register)
4178 (copy-rectangle-to-register): Doc fixes.
4179
4180 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4181
4182 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
4183 * emacs-lisp/find-func.el (find-function-C-source): Idem.
4184 * emacs-lisp/nadvice.el (advice--cd*r): New function.
4185 * help-fns.el (describe-function-1): Use it.
4186
4187 2014-02-02 Glenn Morris <rgm@gnu.org>
4188
4189 * register.el (register-preview-default): New function,
4190 split from register-preview.
4191 (register-preview-function): Rename from register-preview-functions,
4192 make it not a hook.
4193 (register-preview): Use register-preview-function.
4194 (register-read-with-preview): Error on non-character event. (Bug#16595)
4195
4196 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
4197
4198 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
4199 `:' before binary operators (bug#16609). Don't check for `:'
4200 before `[' and `(', or their syntax status. A percent literal
4201 can't end with either.
4202 (ruby-font-lock-keywords): For built-ins that require arguments,
4203 check that they're followed by something that looks like argument
4204 (bug#16610).
4205
4206 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
4207
4208 * subr.el (butlast): Document what an omitted N means (bug#13437).
4209 (nbutlast): Ditto.
4210
4211 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
4212
4213 * net/shr.el (shr-generic): Make into a defsubst to make the stack
4214 depth shallower (bug#16587).
4215 (shr-tag-svg): Respect `shr-inhibit-images'.
4216 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
4217
4218 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
4219
4220 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
4221 (ruby-smie-grammar): Make "." right-associative. Make its priority
4222 lower than the ternary and all binary operators.
4223 (ruby-smie-rules): Indent "(" relative to the first non-"."
4224 parent, or the first "." parent at indentation.
4225 Use `ruby-align-chained-calls' for indentation of "." tokens.
4226 (Bug#16593)
4227
4228 2014-01-31 Juri Linkov <juri@jurta.org>
4229
4230 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
4231 from `make-hash-table'.
4232
4233 * textmodes/ispell.el (ispell-init-process): Change message format
4234 to be consistent with other messages.
4235
4236 2014-01-31 Glenn Morris <rgm@gnu.org>
4237
4238 * delsel.el (delete-selection-mode): Doc fix.
4239
4240 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
4241 (trace-function-background): Doc fixes.
4242
4243 * ido.el (ido-use-virtual-buffers): Doc fix.
4244 Reset :version, since the default value has not changed.
4245
4246 * register.el (register-preview-delay, register-read-with-preview):
4247 Doc fixes.
4248
4249 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
4250 do not mess with mail-buffer position (fixes 2009-11-03 change).
4251 * progmodes/cc-mode.el (c-submit-bug-report):
4252 Check auto-fill-mode is bound. (Bug#16592)
4253
4254 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
4255
4256 * startup.el (fancy-splash-image-file): New function,
4257 split from fancy-splash-head.
4258 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
4259 so that we are both using the same image. (Bug#16574)
4260
4261 2014-01-30 Glenn Morris <rgm@gnu.org>
4262
4263 * simple.el (eval-expression): Doc fix.
4264
4265 * hexl.el (hexl-mode-hook):
4266 * ielm.el (ielm-mode-hook):
4267 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
4268 (lisp-interaction-mode-hook):
4269 * progmodes/cfengine.el (cfengine3-documentation-function):
4270 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
4271
4272 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4273
4274 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
4275 is a symbol (bug#16584).
4276
4277 2014-01-30 Glenn Morris <rgm@gnu.org>
4278
4279 * help.el (help-for-help-internal): Add "P" to text.
4280
4281 2014-01-29 Glenn Morris <rgm@gnu.org>
4282
4283 * simple.el (just-one-space, cycle-spacing): Doc fixes.
4284
4285 2014-01-28 Martin Rudalics <rudalics@gmx.at>
4286
4287 * window.el (fit-frame-to-buffer): Fix calculations for margins and
4288 height constraints.
4289
4290 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
4291
4292 * progmodes/hideif.el: Extend to full CPP expression syntax.
4293 (hif-token-alist): Add missing tokens.
4294 (hif-token-regexp): Add support for float/octal/hex immediates.
4295 (hif-string-literal-regexp): New const.
4296 (hif-tokenize): Recognize strings and float/octal/hex immediates.
4297 (hif-exprlist): New function.
4298 (hif-parse-if-exp): Use it.
4299 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
4300 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
4301 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
4302 (hif-logxor, hif-comma): New functions.
4303
4304 2014-01-28 Glenn Morris <rgm@gnu.org>
4305
4306 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
4307
4308 * indent.el (tab-stop-list): Doc fix. Add :version.
4309
4310 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
4311 (cvs-append-to-ignore): Add compatibility alias.
4312
4313 2014-01-27 Glenn Morris <rgm@gnu.org>
4314
4315 * dired.el (dired-hide-details-mode): Don't autoload it,
4316 since it cannot be used outside Dired buffers anyway.
4317
4318 * emulation/cua-base.el (cua-mode): Doc fix.
4319
4320 * dired.el (dired-hide-details-hide-symlink-targets)
4321 (dired-hide-details-hide-information-lines)
4322 (dired-hide-details-mode): Doc fixes.
4323
4324 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
4325 * strokes.el (strokes-file): Doc fix. Bump :version.
4326 (strokes-help): Doc fix.
4327 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
4328 * emulation/viper.el (viper): Doc fix for custom group.
4329 (top-level): Remove oh-so-no-longer-relevant text about vip.
4330 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4331
4332 * ido.el (ido-save-directory-list-file):
4333 * saveplace.el (save-place-file):
4334 * calendar/timeclock.el (timeclock-file):
4335 * net/quickurl.el (quickurl-url-file):
4336 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4337 * progmodes/idlwave.el (idlwave-config-directory):
4338 * textmodes/remember.el (remember-data-file):
4339 Bump :version.
4340
4341 2014-01-26 Glenn Morris <rgm@gnu.org>
4342
4343 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4344 Doc fix. Make obsolete.
4345 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4346
4347 * sort.el (delete-duplicate-lines): Doc fix.
4348
4349 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4350
4351 * progmodes/ada-mode.el (ada):
4352 * woman.el (woman): Link to info manual and Commentary section.
4353
4354 * progmodes/flymake.el (flymake):
4355 * nxml/nxml-mode.el (nxml):
4356 * net/eww.el (eww):
4357 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4358 * htmlfontify.el (htmlfontify):
4359 * ses.el (ses):
4360 * epa.el (epa):
4361 * ido.el (ido): Link to info manual.
4362
4363 2014-01-25 Leo Liu <sdl.web@gmail.com>
4364
4365 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4366
4367 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
4368
4369 * net/shr.el (shr-tag-img): Prefer the title over the alt text
4370 (bug#16537).
4371
4372 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
4373
4374 * net/eww.el (eww-download-callback):
4375 Fix reference to eww-download-directory.
4376
4377 * emacs-lisp/bytecomp.el (byte-compile-file):
4378 Remove unused local variable `file-name'.
4379
4380 2014-01-24 Glenn Morris <rgm@gnu.org>
4381
4382 * woman.el (woman-default-faces, woman-monochrome-faces):
4383 Fix obsolescence specification.
4384
4385 * subr.el (with-demoted-errors): Doc fix.
4386
4387 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
4388
4389 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4390 (cl--macroexp-fboundp): New function.
4391 (cl--make-type-test): Use it.
4392
4393 2014-01-23 Glenn Morris <rgm@gnu.org>
4394
4395 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4396 * simple.el (eval-expression): Doc fixes.
4397
4398 2014-01-22 Glenn Morris <rgm@gnu.org>
4399
4400 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4401
4402 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
4403
4404 * emacs-lisp/package.el: Write files silently.
4405 (package-autoload-ensure-default-file, package--write-file-no-coding)
4406 (package-generate-description-file, package--download-one-archive)
4407 (package-install-from-archive): Tell `write-region' to stay quiet.
4408 (package-menu-mode, package-menu--print-info): Omit the Archive column
4409 if there's only one archive.
4410 (package-all-keywords, package--has-keyword-p): Remove dead code.
4411
4412 2014-01-22 Glenn Morris <rgm@gnu.org>
4413
4414 * version.el (emacs-bzr-version-bzr): Fix typo.
4415
4416 * version.el (emacs-repository-get-version):
4417 Check either .bzr or .git, but not both.
4418 Make the git case actually use the DIR argument, and return nil
4419 rather than the empty string.
4420 Avoid error if .git exists but the git executable is not found.
4421
4422 2014-01-22 Martin Rudalics <rudalics@gmx.at>
4423
4424 Fixes in window size functions around Bug#16430 and Bug#16470.
4425 * window.el (window-total-size, window-size): New argument ROUND.
4426 (window--min-delta-1, window-min-delta, window--max-delta-1):
4427 Be more conservative when calculating the numbers of lines or
4428 columns a window can shrink (Bug#16430).
4429 (fit-window-to-buffer): Simplify code.
4430 * term.el (term-window-width): Call window-body-width again.
4431
4432 2014-01-22 Glenn Morris <rgm@gnu.org>
4433
4434 * image.el (image-format-suffixes): Doc fix.
4435
4436 * international/quail.el (quail-define-package): Doc fix.
4437
4438 * emacs-lisp/authors.el (authors-valid-file-names)
4439 (authors-renamed-files-alist): Additions.
4440
4441 * vc/vc-git.el (vc-git-print-log): Remove --follow;
4442 reverts 2014-01-09 change. (Bug#16422)
4443
4444 * calc/calc-embed.el (thing-at-point-looking-at):
4445 * emacs-lisp/map-ynp.el (x-popup-dialog):
4446 * obsolete/lmenu.el (x-popup-dialog):
4447 * emacs-lisp/package.el (url-recreate-url):
4448 * mail/mailclient.el (clipboard-kill-ring-save):
4449 * subr.el (x-popup-dialog): Update declaration.
4450 * mail/rmail.el (rmail-mime-message-p):
4451 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4452
4453 2014-01-21 Daniel Colascione <dancol@dancol.org>
4454
4455 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4456 Correctly detect when we're inside an arithmetic expansion form
4457 containing nested parenthesis.
4458 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4459 to detect cases where we shouldn't expand "<<" to a heredoc
4460 skeleton.
4461
4462 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4463
4464 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4465 (eldoc--message-command-p): New function.
4466 (eldoc-display-message-p): Use it.
4467 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4468 message is not automatically erased for us.
4469 (eldoc-print-current-symbol-info): Erase previous message, if any.
4470
4471 2014-01-21 Tassilo Horn <tsdh@gnu.org>
4472
4473 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4474 specify it's an interactive function.
4475
4476 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4477 Fix regex used for scanning for citation keys which failed for
4478 citations with optional arguments.
4479
4480 2014-01-21 Leo Liu <sdl.web@gmail.com>
4481
4482 * simple.el (read--expression): Don't enable eldoc-mode.
4483
4484 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4485
4486 * simple.el (move-beginning-of-line): Make sure we don't move forward
4487 (bug#16497).
4488
4489 2014-01-20 Juri Linkov <juri@jurta.org>
4490
4491 * saveplace.el (toggle-save-place, save-place-to-alist)
4492 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4493 'dired-mode) before checking for dired-directory. (Bug#16477)
4494
4495 2014-01-20 Juri Linkov <juri@jurta.org>
4496
4497 * indent.el (indent-line-to): Use backward-to-indentation
4498 instead of back-to-indentation. (Bug#16461)
4499
4500 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4501
4502 Revert some of the CANNOT_DUMP fix (Bug#16494).
4503 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4504 but fixing this can wait until after the next release.
4505 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4506
4507 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
4508
4509 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4510 Use `password-word-equivalents'.
4511 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4512 to t. (Bug#5664, Bug#13124)
4513
4514 2014-01-19 Alan Mackenzie <acm@muc.de>
4515
4516 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4517 points.
4518 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4519 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4520 * progmodes/cc-mode.el (c-before-change, c-after-change)
4521 (c-font-lock-fontify-region): Bind it here.
4522
4523 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4524
4525 * term.el (term-window-width): Call window-text-width instead of
4526 window-width (Bug#16470).
4527
4528 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4529
4530 * simple.el (password-word-equivalents): Remove duplicates.
4531 Sort, to make this easier next time.
4532 Downcase. Omit ": " after "jelszó".
4533
4534 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4535
4536 * term/common-win.el (saved-region-selection): Defvar it.
4537 (x-select-text): Set saved-region-selection (Bug#16382).
4538
4539 2014-01-18 Glenn Morris <rgm@gnu.org>
4540
4541 * emacs-lisp/authors.el (authors-aliases)
4542 (authors-renamed-files-alist): Add some entries.
4543
4544 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4545
4546 * net/tramp.el (tramp-password-prompt-regexp):
4547 Use `password-word-equivalents' if available.
4548 (tramp-action-password, tramp-process-one-action)
4549 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4550
4551 2014-01-17 Chong Yidong <cyd@gnu.org>
4552
4553 * simple.el (password-word-equivalents): New defcustom.
4554 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4555 to 24.4.
4556 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4557 to t. (Bug#13124)
4558
4559 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4560
4561 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4562 (ruby-align-to-stmt-keywords): Change the default value.
4563 Use `ruby-alignable-keywords' to generate the possible customization
4564 choices.
4565 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4566 keywords, check against the value of `ruby-alignable-keywords'
4567 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4568
4569 2014-01-17 Glenn Morris <rgm@gnu.org>
4570
4571 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4572
4573 Make M-x authors return zero *Authors Errors* from current logs.
4574 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4575 (authors-ignored-files): Add some entries, remove others.
4576 (authors-ambiguous-files, authors-valid-file-names):
4577 Add some entries.
4578 (authors-renamed-files-alist): Add, remove, and adjust entries.
4579 (authors-renamed-files-regexps): Add some entries.
4580 Remove some very broad ones. Make some entries `lax'.
4581 (authors-lax-changelogs): New constant.
4582 (authors-disambiguate-file-name): Treat top-level specially.
4583 (authors-lax-changelog-p): New function.
4584 (authors-canonical-file-name): Check file as written against
4585 authors-valid-file-names. Do not special-case etc/.
4586 Handle `lax' logs and authors-renamed-files-regexps elements.
4587
4588 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4589
4590 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4591 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4592 callers.
4593
4594 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4595
4596 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4597 Assume we're already in the proper buffer.
4598 Inspired by Anders Lindgren <andlind@gmail.com>.
4599 (follow-post-command-hook): Call it from the right buffer.
4600 (follow-comint-scroll-to-bottom): Adjust call.
4601 (follow-all-followers): Use get-buffer-window-list.
4602
4603 2014-01-15 Daniel Colascione <dancol@dancol.org>
4604
4605 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4606 `buffer-file-name' in interactive-form so that we don't leave
4607 pathless file names in `file-name-history'.
4608
4609 2014-01-15 Juri Linkov <juri@jurta.org>
4610
4611 * indent.el (indent-rigidly): Set deactivate-mark to nil
4612 in transient indentation mode. (Bug#16438)
4613
4614 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4615
4616 * emacs-lisp/package.el (package-desc-keywords): New function
4617 (Bug#16222).
4618 (describe-package-1, package-all-keywords)
4619 (package--has-keyword-p): Use it.
4620
4621 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4622
4623 * simple.el (define-alternatives): When creating the
4624 COMMAND-alternatives variable, assign COMMAND as its definition
4625 name so that `describe-variable' can relocate it.
4626
4627 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4628
4629 * font-lock.el (font-lock-keywords): Fix typo in docstring
4630 (bug#16307).
4631
4632 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4633
4634 * ispell.el (ispell-region): Reset `in-comment' for new line
4635 instead of wrongly reset `add-coment' (bug#13577).
4636
4637 2014-01-14 Daiki Ueno <ueno@gnu.org>
4638
4639 * epa-file.el (epa-file-write-region): Encode the region according
4640 to `buffer-file-format'. Problem reported at:
4641 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4642
4643 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4644
4645 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4646 so it applies in the right buffer (bug#16410).
4647
4648 2014-01-13 Daniel Colascione <dancol@dancol.org>
4649
4650 * textmodes/rst.el (rst-define-key): Provide deprecated
4651 keybindings through named functions instead of anonymous ones so
4652 that "??" doesn't appear in describe-mode output.
4653
4654 2014-01-13 Bastien Guerry <bzg@gnu.org>
4655
4656 * simple.el (define-alternatives): Call the selected command
4657 interactively. When setting `COMMAND--implementation' for the
4658 first time, tell the user how to chose another implementation.
4659 Enhance the docstring.
4660
4661 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4662
4663 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4664 (log-edit--match-first-line): New function.
4665 (log-edit-font-lock-keywords): Use it.
4666 (log-edit-mode): Make jit-lock-defer-multiline work.
4667
4668 2014-01-13 Bastien Guerry <bzg@gnu.org>
4669
4670 * rect.el (rectangle-mark-mode): When the region is not active,
4671 display a message saying that the mark as been set and that
4672 rectangle mode is in use.
4673 (rectangle--highlight-for-redisplay): Only put an overlay with a
4674 visible vertical bar when (display-graphic-p) is non-nil.
4675 This partially fixes Bug#16403.
4676
4677 2014-01-13 Juri Linkov <juri@jurta.org>
4678
4679 * info.el (Info-find-file): Go to DIR before displaying the error
4680 about a nonexistent file if no previous Info file is visited.
4681 Use `user-error' instead of `error' for "Info file %s does not exist".
4682 (Info-find-node-2): In case of a nonexistent node in unwind forms
4683 go to the Top node if there is no previous node to revert to.
4684 (Bug#16405)
4685
4686 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4687
4688 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4689 * window.el (fit-frame-to-buffer): Fix doc-string.
4690 Respect window-min-height/-width. Fit pixelwise when
4691 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4692 when avoiding that frame goes partially off-screen.
4693 (fit-window-to-buffer): Respect window-min-height/-width
4694 (Bug#14096).
4695
4696 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4697
4698 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4699 after an empty line.
4700
4701 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4702
4703 * net/shr.el (shr-render-region): Autoload.
4704
4705 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4706
4707 * net/eww.el (eww-download-directory): Rename from
4708 `eww-download-path' (Bug#16419).
4709
4710 2014-01-12 Leo Liu <sdl.web@gmail.com>
4711
4712 * dired-x.el (dired-mode-map): Fix last change.
4713
4714 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4715
4716 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4717
4718 Spelling fixes.
4719 * emacs-lisp/generic.el (generic--normalize-comments):
4720 Rename from generic--normalise-comments. All uses changed.
4721 * play/bubbles.el (bubbles--neighborhood-score)
4722 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4723 (bubbles--neighborhood-available)
4724 (bubbles--update-neighborhood-score):
4725 Rename from names with 'neighbourhood'. All uses changed.
4726
4727 2014-01-12 Leo Liu <sdl.web@gmail.com>
4728
4729 Re-implement the feature of showing eldoc info after editing.
4730 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4731 (eldoc-edit-message-commands): New function.
4732 (eldoc-print-after-edit): New variable.
4733 (eldoc-pre-command-refresh-echo-area): Emit message only by
4734 eldoc-message-commands.
4735 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4736 if eldoc-print-after-edit is set. (Bug#16346)
4737 * simple.el (read--expression): Enable eldoc-mode.
4738 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4739
4740 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4741 Eric S. Raymond <esr@thyrsus.com>
4742
4743 * version.el (emacs-repository-get-version): Enhance so the
4744 function works correctly in either a Bazaar or Git repo.
4745
4746 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4747
4748 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4749 Goes with removal of the joke manpages from /etc.
4750
4751 2014-01-10 Kenichi Handa <handa@gnu.org>
4752
4753 * mail/rmail.el (rmail-get-coding-system):
4754 Check rmail-get-coding-function before "funcall"ing it.
4755
4756 2014-01-10 Glenn Morris <rgm@gnu.org>
4757
4758 * emacs-lisp/authors.el (authors-fixed-entries):
4759 Update for files that no longer exist.
4760
4761 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4762
4763 * version.el (emacs-bzr-get-version): Restore compatibilty with
4764 24.3 (Tested).
4765
4766 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4767
4768 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4769 and Podfile.
4770
4771 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4772
4773 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4774
4775 2014-01-10 Chong Yidong <cyd@gnu.org>
4776
4777 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4778
4779 2014-01-10 Anders Lindgren <andlind@gmail.com>
4780
4781 * follow.el (follow-cache-command-list): Include right-char and
4782 left-char.
4783
4784 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4785
4786 Spelling fixes.
4787 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4788 * woman.el (woman-mark-horizontal-position):
4789 Rename from woman-mark-horizonal-position. Use changed.
4790
4791 2014-01-10 Glenn Morris <rgm@gnu.org>
4792
4793 * info.el (info-initialize): If running uninstalled, ensure our
4794 own info files are always found first, even if INFOPATH is set.
4795
4796 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4797
4798 2014-01-09 David Engster <deng@randomsample.de>
4799
4800 * emacs-lisp/eieio-custom.el:
4801 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4802 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4803 * emacs-lisp/eieio.el: Regenerate autoloads.
4804
4805 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4806
4807 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4808 following renames. (Bug#8756)
4809
4810 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4811
4812 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4813 (bug#16382).
4814 (activate-mark): Add `no-tmm' argument.
4815 (set-mark, push-mark-command): Use it instead of running
4816 activate-mark-hook by hand.
4817
4818 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4819
4820 In preparation for the move to git, sanitize out some
4821 Bazaar-specific names.
4822
4823 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4824
4825 * version.el (emacs-bzr-version): Name changed to
4826 emacs-repository-version. Obsolete-variable alias made.
4827 * loadup.el: Follow through on this name change.
4828 * mail/emacsbug.el (report-emacs-bug): Factor out any
4829 assumption about the version control system in use.
4830
4831 2014-01-08 David Engster <deng@randomsample.de>
4832
4833 * help-fns.el (help-fns-describe-function-functions):
4834 New variable to call functions for augmenting help buffers.
4835 (describe-function-1): Remove explicit calls to
4836 `help-fns--compiler-macro', `help-fns--parent-mode' and
4837 `help-fns--obsolete'. Put them in above new variable instead, and
4838 call them through `run-hook-with-args'.
4839 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4840 `eieio-describe-class'. Not meant for interactive use anymore,
4841 but to augment existing help buffers. Remove optional second
4842 argument. Create proper button for file location.
4843 Rewrite function to use `insert' instead of `princ' and `prin1' where
4844 possible.
4845 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4846 (eieio-method-def, eieio-class-def): Move further up.
4847 (describe-method, describe-generic, eieio-describe-method):
4848 Remove aliases.
4849 (eieio-help-constructor, eieio-help-generic): Rename from
4850 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4851 Rewrite to use `insert' in the current buffer and use proper help
4852 buttons.
4853 (eieio-help-find-method-definition)
4854 (eieio-help-find-class-definition): Also accept symbols as
4855 arguments.
4856 (eieio-help-mode-augmentation-maybee): Remove.
4857 (eieio-describe-class-sb): Use `describe-function'.
4858 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4859 Add `eieio-help-generic' and `eieio-help-constructor'.
4860
4861 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4862
4863 Spelling fixes.
4864 * language/china-util.el (hz-ascii-designation):
4865 Rename from hz-ascii-designnation.
4866 (hz-ascii-designation): Rename from hz-ascii-designnation.
4867 All uses changed.
4868
4869 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4870
4871 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4872 package-alist.
4873
4874 2014-01-08 Bastien Guerry <bzg@gnu.org>
4875
4876 * emacs-lisp/package.el (package-delete):
4877 Correctly delete the package from package-alist.
4878
4879 2014-01-08 Daiki Ueno <ueno@gnu.org>
4880
4881 * emacs-lisp/package.el (url-recreate-url): Declare.
4882 (url-http-target-url): Declare.
4883 (package-handle-response): Include requested URL in the error message.
4884 (package--check-signature): Don't re-signal errors from
4885 package--with-work-buffer. Suggested by Stefan Monnier.
4886
4887 2014-01-07 Bastien Guerry <bzg@gnu.org>
4888
4889 * minibuffer.el (completion--try-word-completion): When both a
4890 hyphen and a space are possible candidates for the character
4891 following a word, display both candidates. (Bug#15980)
4892
4893 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4894
4895 * window.el (balance-windows-2): While rounding don't give a
4896 window more than the remainder. Bug#16351, bug#16383.
4897
4898 2014-01-07 Glenn Morris <rgm@gnu.org>
4899
4900 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4901 (menu-bar-help-menu): Use view-external-packages instead.
4902
4903 2014-01-07 Bastien Guerry <bzg@gnu.org>
4904
4905 * emacs-lisp/package.el (package-delete): Also delete the package
4906 name from `package-alist', not its description only.
4907
4908 2014-01-07 Glenn Morris <rgm@gnu.org>
4909
4910 * help.el (view-external-packages):
4911 * menu-bar.el (menu-bar-help-extra-packages):
4912 Visit efaq.info rather than etc/MORE.STUFF.
4913
4914 2014-01-07 Juri Linkov <juri@jurta.org>
4915
4916 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4917 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4918
4919 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4920 that shadows RET. (Bug#16342)
4921
4922 2014-01-07 Chong Yidong <cyd@gnu.org>
4923
4924 * isearch.el (isearch-yank-char, isearch-yank-word)
4925 (isearch-yank-line): Doc fix.
4926
4927 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4928
4929 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4930 * emacs-lisp/elint.el (elint-find-builtins):
4931 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4932 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4933 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4934 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4935 * apropos.el (apropos-safe-documentation):
4936 * subr.el (symbol-file): Remove redundant fboundp.
4937 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4938
4939 2014-01-06 Bastien Guerry <bzg@gnu.org>
4940
4941 * hl-line.el (global-hl-line-overlay): Make a local variable.
4942 (global-hl-line-overlays): New variable to store all overlays.
4943 (global-hl-line-mode): Don't delete overlays from the current
4944 buffer when `global-hl-line-sticky-flag' is non-nil.
4945 (global-hl-line-highlight): Add new overlays to
4946 `global-hl-line-overlays'.
4947 (global-hl-line-unhighlight-all): New function to delete all
4948 overlays when turning off `global-hl-line-mode'.
4949 This fixes Bug#16183.
4950
4951 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4952
4953 * subr.el (set-transient-map): Fix nested case and docstring.
4954
4955 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4956
4957 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4958 `Texinfo' entry.
4959
4960 2014-01-06 Daniel Colascione <dancol@dancol.org>
4961
4962 Fix defun navigation in vc log view.
4963
4964 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4965 like `beginning-of-defun'.
4966 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4967 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4968 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4969 (log-view-extract-comment): Call `log-view-current-entry' directly
4970 instead of relying on broken `log-view-beginning-of-defun' behavior.
4971
4972 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4973
4974 Spelling fixes.
4975 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4976 * emacs-lisp/debug.el (cancel-debug-on-entry):
4977 * epg.el (epg-error-to-string):
4978 * files.el (recover-file):
4979 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4980 * mail/emacsbug.el (report-emacs-bug-hook):
4981 * mail/sendmail.el (mail-recover):
4982 * ses.el (ses-yank-resize):
4983 * term/ns-win.el (ns-print-buffer):
4984 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4985 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4986 All uses changed.
4987 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4988
4989 2014-01-06 Leo Liu <sdl.web@gmail.com>
4990
4991 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4992 to avoid shadowing global key. (Bug#16354)
4993
4994 2014-01-06 Daniel Colascione <dancol@dancol.org>
4995
4996 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4997 rst-mode.
4998
4999 2014-01-05 Martin Rudalics <rudalics@gmx.at>
5000
5001 * window.el (balance-windows): Add mising t to fix Bug#16351.
5002
5003 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5004
5005 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
5006 (bug#16285).
5007 (shr-insert): If we have a word that's longer than `shr-width',
5008 break after it anyway. Otherwise we'll do no breaking once we get
5009 such a long word.
5010
5011 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5012
5013 * net/eww.el (eww): Support single/double quote for search.
5014 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
5015 (eww-history-quit): Delete and use quit-window.
5016 (eww-history-kill): Delete, because it doesn't work well and
5017 not necessary.
5018 (eww-history-mode-map): Delete some keys and add easy-menu.
5019
5020 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
5021
5022 Fix misspelling of 'chinese' in rx (Bug#16237).
5023 * emacs-lisp/rx.el (rx-categories): Correct spelling of
5024 chinese-two-byte.
5025
5026 Change subword regexps back to vars (Bug#16296).
5027 * progmodes/subword.el (subword-forward-regexp)
5028 (subword-backward-regexp): Change these back to variables.
5029
5030 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5031
5032 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
5033 syntax-begin-function (bug#16247).
5034
5035 2014-01-03 Chong Yidong <cyd@gnu.org>
5036
5037 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
5038 (advice--docstring): Delete variable.
5039 (advice--make-1): Leave the docstring empty.
5040 (advice-add): Use function-documentation for advised docstring.
5041
5042 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
5043 Ignore function-documentation property when getting documentation.
5044 (ad-activate-advised-definition): Use function-documentation
5045 generate the docstring.
5046 (ad-make-advised-definition): Don't call
5047 ad-make-advised-definition-docstring.
5048 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5049 Delete functions.
5050
5051 * progmodes/sql.el (sql-help): Use function-documentation instead
5052 of dynamic-docstring-function property. No need to autoload now.
5053 (sql--help-docstring): New variable.
5054 (sql--make-help-docstring): Use it.
5055
5056 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5057
5058 * ielm.el (ielm-tab): Retarget.
5059 (ielm-map): Use ielm-tab for tab.
5060 (ielm-complete-filename): Use comint-filename-completion.
5061 (ielm-complete-symbol): Remove.
5062 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
5063 remove ielm-tab from completion-at-point-functions (bug#16224).
5064
5065 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
5066 Beware signals raised by predicates (bug#16201).
5067
5068 2014-01-02 Richard Stallman <rms@gnu.org>
5069
5070 * dired-aux.el (dired-do-print): Handle printer-name.
5071
5072 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
5073 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
5074 (rmail-epa-decrypt): Turn off mime processing.
5075
5076 * mail/rmail.el (rmail-make-in-reply-to-field):
5077 Add parens in message-id.
5078
5079 * mail/rmail.el (rmail-get-coding-function): Variable.
5080 (rmail-get-coding-system): Use it.
5081
5082 2013-12-31 Eli Zaretskii <eliz@gnu.org>
5083
5084 * international/mule-conf.el: Unify the charset indian-is13194.
5085 (indian-is13194): Specify unify-map.
5086
5087 2013-12-31 Leo Liu <sdl.web@gmail.com>
5088
5089 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
5090
5091 2013-12-30 Daniel Colascione <dancol@dancol.org>
5092
5093 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
5094 of printing a useless when we resume from sleep.
5095
5096 * progmodes/sh-script.el
5097 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
5098 in indentation code. (Bug#16233)
5099
5100 2013-12-28 João Távora <joaotavora@gmail.com>
5101
5102 * elec-pair.el (electric-pair-post-self-insert-function):
5103 Don't open extra newlines at beginning of buffer. (Bug#16272)
5104
5105 2013-12-28 Eli Zaretskii <eliz@gnu.org>
5106
5107 * frame.el (window-system-for-display): Don't allow to create a
5108 GUI frame from a -nw session on MS-Windows. (Bug#14739)
5109
5110 2013-12-28 Glenn Morris <rgm@gnu.org>
5111
5112 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
5113 Update callers.
5114
5115 * apropos.el (apropos-match-face):
5116 * calculator.el (calculator-displayer):
5117 * dabbrev.el (dabbrev-search-these-buffers-only):
5118 * face-remap.el (buffer-face-mode-face):
5119 * simple.el (yank-handled-properties):
5120 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
5121 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
5122 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
5123 (hashcash-double-spend-database):
5124 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
5125 (ruby-deep-indent-paren-style):
5126 * textmodes/flyspell.el (flyspell-auto-correct-binding):
5127 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
5128 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
5129 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
5130 Specify custom types.
5131
5132 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
5133 * bookmark.el (bookmark-bmenu-use-header-line):
5134 * doc-view.el (doc-view-scale-internally):
5135 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
5136 * register.el (register-preview-delay):
5137 * net/shr.el (shr-bullet):
5138 * progmodes/cfengine.el (cfengine-cf-promises)
5139 (cfengine-parameters-indent):
5140 * progmodes/octave.el (inferior-octave-error-regexp-alist):
5141 * textmodes/reftex-vars.el (reftex-label-regexps):
5142 * vc/log-edit.el (log-edit-setup-add-author): Add version.
5143
5144 * net/tls.el (tls-certtool-program): Fix default value.
5145
5146 * desktop.el (desktop-restore-in-current-display):
5147 * newcomment.el (comment-empty-lines):
5148 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
5149 (idlwave-pad-keyword):
5150 * progmodes/tcl.el (tcl-tab-always-indent):
5151 * textmodes/reftex-vars.el (reftex-index-default-tag):
5152 * elec-pair.el (electric-pair-skip-whitespace):
5153 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
5154
5155 * emacs-lisp/authors.el (authors-ignored-files)
5156 (authors-valid-file-names, authors-renamed-files-alist): Additions.
5157
5158 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
5159
5160 * shell.el (shell-dynamic-complete-command): Doc fix.
5161 (shell--command-completion-data): Shell completion now matches
5162 executable filenames from the current buffer's directory, on
5163 systems in which this behavior is the default (windows-nt, ms-dos).
5164
5165 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5166
5167 * net/shr.el (shr-insert): Don't infloop if the width is zero.
5168
5169 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
5170
5171 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
5172 (bug#16251).
5173
5174 * electric.el: Move all electric-pair-* to elec-pair.el.
5175 * elec-pair.el: New file, split from electric.el.
5176
5177 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5178
5179 * net/shr.el (shr-find-fill-point): Don't try to fill if the
5180 indentation level is larger than the width, because that will
5181 infloop.
5182 (shr-insert): Fill repeatedly long texts, so that Japanese is
5183 formatted correctly (bug#16263).
5184 (shr-find-fill-point): Off by one error in comparison with the
5185 indentation.
5186
5187 2013-12-26 João Távora <joaotavora@gmail.com>
5188
5189 * electric.el (electric-pair-mode): More flexible engine for skip-
5190 and inhibit predicates, new options for pairing-related functionality.
5191 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
5192 if that keeps or improves their balance in buffers.
5193 (electric-pair-delete-adjacent-pairs): Delete the pair when
5194 backspacing over adjacent matched delimiters.
5195 (electric-pair-open-extra-newline): Open extra newline when
5196 inserting newlines between adjacent matched delimiters.
5197 (electric--sort-post-self-insertion-hook):
5198 Sort post-self-insert-hook according to priority values when
5199 minor-modes are activated.
5200 * simple.el (newline-and-indent): Call newline with interactive
5201 set to t.
5202 (blink-paren-post-self-insert-function): Set priority to 100.
5203 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5204 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
5205 comments. Locally set electric-pair-skip-whitespace to 'chomp and
5206 electric-pair-open-newline-between-pairs to nil.
5207
5208 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
5209
5210 * progmodes/python.el: Use lexical-binding.
5211 (python-nav-beginning-of-defun): Stop searching ASAP.
5212
5213 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
5214
5215 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
5216 Fix interactive spec. Doc fix. (Bug#15754)
5217
5218 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
5219
5220 * emacs-lisp/byte-run.el (eval-when-compile):
5221 * progmodes/cc-defs.el (cc-eval-when-compile):
5222 Fix edebug spec (bug#16184).
5223
5224 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5225
5226 * net/shr.el (shr-visit-file): Remove debugging function.
5227 (shr-insert): Don't infloop if we can't find a good place to break
5228 the line (bug#16256).
5229
5230 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
5231
5232 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
5233 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
5234 python-nav-lisp-forward-sexp-safe.
5235 (python-nav--forward-sexp): New argument SAFE allows switching
5236 forward sexp movement behavior for parens.
5237 (python-nav-forward-sexp): Throw errors on unterminated parens
5238 (Bug#16191).
5239 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
5240 (python-nav-backward-sexp-safe): New functions.
5241 (python-shell-buffer-substring):
5242 Use `python-nav-forward-sexp-safe'.
5243
5244 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5245
5246 * net/shr.el (shr-find-fill-point): Don't break lines before a
5247 quotation mark.
5248 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
5249 (shr-find-fill-point): Remove the special checks for the quotation
5250 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
5251
5252 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5253
5254 * net/eww.el (eww-form-textarea): Use a different face for
5255 textareas than text input since they have different keymaps
5256 (bug#16142).
5257
5258 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
5259
5260 * progmodes/python.el (python-nav-beginning-of-statement):
5261 Speed up (Bug#15295).
5262
5263 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5264
5265 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
5266 the window configuration.
5267
5268 2013-12-24 Eli Zaretskii <eliz@gnu.org>
5269
5270 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
5271 we run on MS-Windows or MS-DOS.
5272
5273 2013-12-24 Martin Rudalics <rudalics@gmx.at>
5274
5275 * window.el (balance-windows-area): Call window-size instead of
5276 window-height and window-width. Bug#16241.
5277
5278 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5279
5280 * net/eww.el (eww-bookmark-quit): Remove.
5281 (eww-bookmark-browse): Restore the window configuration when you
5282 choose a bookmark (bug#16144).
5283
5284 2013-12-24 Daniel Colascione <dancol@dancol.org>
5285
5286 * icomplete.el: Remove redundant :group arguments to `defcustom'
5287 throughout.
5288 (icomplete-show-matches-on-no-input): New customizable variable.
5289 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
5290 we have something to show.
5291 (icomplete-exhibit): Compute completions even if we have no user input.
5292
5293 2013-12-23 Daniel Colascione <dancol@dancol.org>
5294
5295 * icomplete.el: Move `provide' to end of file.
5296
5297 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
5298
5299 * net/gnutls.el (gnutls-verify-error): Add version tag.
5300
5301 2013-12-23 Chong Yidong <cyd@gnu.org>
5302
5303 * subr.el (set-transient-map): Rename from
5304 set-temporary-overlay-map. Doc fix.
5305
5306 * face-remap.el (text-scale-adjust):
5307 * indent.el (indent-rigidly):
5308 * kmacro.el (kmacro-call-macro):
5309 * minibuffer.el (minibuffer-force-complete):
5310 * repeat.el (repeat):
5311 * simple.el (universal-argument--mode):
5312 * calendar/todo-mode.el (todo-insert-item--next-param):
5313 * progmodes/f90.el (f90-abbrev-start): Callers changed.
5314
5315 * indent.el (indent-rigidly): Use substitute-command-keys.
5316
5317 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5318
5319 * net/eww.el (eww-tag-select): Add text-property to jump to next
5320 select field.
5321 (eww): Add non-supported ftp error.
5322
5323 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5324
5325 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
5326 comments. Handle electric indent after typing `?' and `!'.
5327
5328 2013-12-22 Chong Yidong <cyd@gnu.org>
5329
5330 * faces.el (face-spec-recalc): If the theme specs are not
5331 applicable to a frame, fall back on the defface spec.
5332 This prevents themes from obliterating faces on low-color terminals.
5333
5334 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5335
5336 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5337 after `{'. We need it after block openers, and it doesn't seem
5338 to hurt after hash openers.
5339
5340 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5341
5342 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5343 extracted from `ruby-smie-rules'.
5344 (ruby--electric-indent-chars): New variable.
5345 (ruby--electric-indent-p): New function.
5346 (ruby-mode): Use `electric-indent-functions' instead of
5347 `electric-indent-chars'.
5348
5349 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5350
5351 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5352 docstring.
5353 (ruby-smie-rules): Indent plus one level after `=>'.
5354
5355 2013-12-21 Richard Stallman <rms@gnu.org>
5356
5357 * simple.el (newline): Doc fix.
5358
5359 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5360
5361 * net/eww.el (eww-list-histories, eww-list-histories)
5362 (eww-history-browse, eww-history-quit, eww-history-kill)
5363 (eww-history-mode-map, eww-history-mode): New command and
5364 functions to list browser histories.
5365 (eww-form-text): Support text form with disabled
5366 and readonly attributes.
5367 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5368
5369 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5370
5371 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5372 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5373 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5374 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5375 Use `user-error'.
5376 (eww-bookmark-mode-map): Add menu.
5377 (eww-render, eww-mode): Use `setq-local'.
5378 (eww-tool-bar-map): New variable.
5379 (eww-mode): Set `tool-bar-map'.
5380 (eww-view-source): Check for `html-mode' with `fboundp'.
5381
5382 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5383
5384 * net/shr.el (shr--extract-best-source): Don't bug out on audio
5385 elements with text inside. Also remove debugging.
5386
5387 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
5388
5389 * cus-start.el (all): Add ns-use-srgb-colorspace.
5390
5391 2013-12-21 Chong Yidong <cyd@gnu.org>
5392
5393 * custom.el (custom-theme-recalc-face): Do nothing if the face is
5394 undefined. Thus, theme settings for undefined faces do not take
5395 effect until the faces are defined with defface, the same as with
5396 theme variables.
5397
5398 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5399 (face-spec-reset-face): Don't assign extra properties in temacs.
5400 (face-spec-recalc): Apply X resources too.
5401
5402 2013-12-21 Chong Yidong <cyd@gnu.org>
5403
5404 * faces.el (face-spec-set):
5405 * cus-face.el (custom-theme-set-faces, custom-set-faces):
5406 * custom.el (defface): Doc fixes (Bug#16203).
5407
5408 * indent.el (indent-rigidly-map): Add docstring, and move commands
5409 into named functions.
5410 (indent-rigidly-left, indent-rigidly-right)
5411 (indent-rigidly-left-to-tab-stop)
5412 (indent-rigidly-right-to-tab-stop): New functions. Decide on
5413 indentation direction based on bidi direction, and accumulate
5414 sequential commands in a single undo boundary.
5415 (indent-rigidly--pop-undo): New utility function.
5416
5417 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
5418
5419 * faces.el (read-face-name): Require crm.el when using crm-separator.
5420
5421 2013-12-20 Daniel Colascione <dancol@dancol.org>
5422
5423 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5424 so that we don't reflow comments into the shebang line.
5425
5426 2013-12-20 Juri Linkov <juri@jurta.org>
5427
5428 * saveplace.el (save-place-to-alist): Add `dired-filename' as
5429 a position when `dired-directory' is non-nil. Check integer
5430 positions with `integerp'.
5431 (toggle-save-place, save-places-to-alist): Add check for
5432 `dired-directory'.
5433 (save-place-find-file-hook): Check integer positions with
5434 `integerp'.
5435 (save-place-dired-hook): Use `dired-goto-file' when
5436 `dired-filename' is found in the assoc list. Check integer
5437 positions with `integerp'.
5438 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5439
5440 * dired.el (dired-initial-position-hook): Rename back from
5441 `dired-initial-point-hook'.
5442 (dired-initial-position): Rename `dired-initial-point-hook' to
5443 `dired-initial-position-hook'.
5444 (dired-file-name-at-point): Doc fix. (Bug#15329)
5445
5446 2013-12-20 Juri Linkov <juri@jurta.org>
5447
5448 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5449 (read-regexp-suggestions): New function.
5450 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5451 Use `read-regexp-suggestions'. Add non-empty default to history
5452 for empty input.
5453 (occur-read-regexp-defaults-function): Remove function.
5454 (occur-read-primary-args): Use `regexp-history-last' instead of
5455 `occur-read-regexp-defaults-function'.
5456
5457 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5458 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5459 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5460 `hi-lock-read-regexp-defaults-function'. Doc fix.
5461 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5462 with `find-tag-default-as-symbol-regexp'. Doc fix.
5463 (hi-lock-read-regexp-defaults): Remove function.
5464 (hi-lock-regexp-okay): Add check for null.
5465
5466 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5467 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5468
5469 * subr.el (find-tag-default-as-symbol-regexp): New function.
5470 (find-tag-default-as-regexp): Move symbol regexp formatting to
5471 `find-tag-default-as-symbol-regexp'.
5472
5473 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5474
5475 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5476 (Bug#14179)
5477
5478 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5479
5480 * calendar/todo-mode.el: New implementation of item insertion
5481 commands and key bindings.
5482 (todo-key-prompt): New face.
5483 (todo-insert-item): New command.
5484 (todo-insert-item--parameters): New defconst, replacing defvar
5485 todo-insertion-commands-args-genlist.
5486 (todo-insert-item--param-key-alist): New defconst, replacing
5487 defvar todo-insertion-commands-arg-key-list.
5488 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5489 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5490 (todo-insert-item--next-param): New functions.
5491 (todo-insert-item--args, todo-insert-item--argleft)
5492 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5493 New variables.
5494 (todo-key-bindings-t): Change binding of "i" from
5495 todo-insertion-map to todo-insert-item.
5496 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5497 (todo-insertion-command-name, todo-insertion-commands-names)
5498 (todo-define-insertion-command, todo-insertion-commands)
5499 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5500
5501 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5502
5503 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5504 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5505 eval-when-compile.
5506 (todo-move-category): Allow choosing a non-existing todo file to
5507 move the category to, and create that file.
5508 (todo-default-priority): New user option.
5509 (todo-set-item-priority): Use it.
5510 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5511 (desktop-restore-file-buffer): Declare.
5512 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5513 (todo-modes-set-2): Locally set desktop-save-buffer to
5514 todo-desktop-save-buffer.
5515 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5516 (auto-mode-alist): Add autoload cookie.
5517
5518 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5519
5520 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5521 helpers.el was a poor choice of name.
5522 (string-remove-prefix): New function.
5523 (string-remove-suffix): New function.
5524
5525 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5526
5527 Fix assignment for new window total sizes.
5528 * window.el (window--pixel-to-size): Remove function.
5529 (window--pixel-to-total-1, window--pixel-to-total):
5530 Fix calculation of new total sizes.
5531
5532 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5533
5534 * comint.el (comint-output-filter): Fix rear-nonsticky property
5535 placement (Bug#16010).
5536
5537 2013-12-20 Chong Yidong <cyd@gnu.org>
5538
5539 * faces.el (read-color): Minor fix for completion function.
5540
5541 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5542
5543 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5544 New option. (Bug#16182)
5545 (ruby-smie--indent-to-stmt-p): Use it.
5546 (ruby-smie-rules): Revert the logic in the handling of `when'.
5547 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5548 (ruby-deep-arglist, ruby-deep-indent-paren)
5549 (ruby-deep-indent-paren-style): Update docstrings to note that the
5550 vars don't have any effect with SMIE.
5551
5552 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5553
5554 * calc/calc.el (calc-enter, calc-pop): Use the variable
5555 `calc-context-sensitive-enter'.
5556
5557 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5558
5559 * net/shr.el (shr-insert): Protect against infloops in degenerate
5560 tables.
5561
5562 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5563
5564 * progmodes/octave.el (octave): Add link to manual and octave
5565 homepage.
5566 (octave-mode-menu): Link to octave-mode manual.
5567
5568 2013-12-20 Leo Liu <sdl.web@gmail.com>
5569
5570 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5571 insertion using skeleton-end-newline. (Bug#16138)
5572
5573 2013-12-20 Juri Linkov <juri@jurta.org>
5574
5575 * replace.el (occur-engine): Use `add-face-text-property'
5576 to add the face property to matches and titles. (Bug#14645)
5577
5578 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5579 the palette of other hi-lock colors.
5580 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5581
5582 2013-12-19 Juri Linkov <juri@jurta.org>
5583
5584 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5585 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5586 (minibuffer-history-symbol): Move variable declaration closer to
5587 its usage.
5588
5589 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5590 (Bug#14785)
5591
5592 2013-12-19 Juri Linkov <juri@jurta.org>
5593
5594 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5595 New function.
5596 (log-edit-hook): Add it to :options. (Bug#16170)
5597
5598 2013-12-19 Juri Linkov <juri@jurta.org>
5599
5600 * simple.el (eval-expression-print-format): Don't check for
5601 command names and the last command. Always display additional
5602 formats of the integer result in the echo area, and insert them
5603 to the current buffer only with a zero prefix arg.
5604 Display character when char-displayable-p is non-nil.
5605 (eval-expression): With a zero prefix arg, set `print-length' and
5606 `print-level' to nil, and insert the integer values from
5607 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5608
5609 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5610 `eval-last-sexp-arg-internal'. Doc fix.
5611 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5612 `eval-last-sexp-print-value'. Doc fix.
5613 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5614 Set `print-length' and `print-level' to nil when arg is zero.
5615 (eval-last-sexp): Doc fix.
5616 (eval-defun-2): Print the integer values from
5617 `eval-expression-print-format' at the end.
5618
5619 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5620 values from `eval-expression-print-format' at the end.
5621
5622 * ielm.el (ielm-eval-input): Print the integer
5623 values from `eval-expression-print-format' at the end.
5624
5625 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5626
5627 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5628 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5629
5630 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5631
5632 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5633 (hl-line-highlight, global-hl-line-highlight): Use it.
5634 (hl-line-overlay): Use defvar-local.
5635
5636 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5637
5638 * term/ns-win.el: Require dnd.
5639 (global-map): Remove drag items.
5640 (ns-insert-text, ns-set-foreground-at-mouse)
5641 (ns-set-background-at-mouse):
5642 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5643 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5644 New functions.
5645
5646 2013-12-19 Glenn Morris <rgm@gnu.org>
5647
5648 * emacs-lisp/ert.el (ert-select-tests):
5649 Fix string/symbol mixup. (Bug#16121)
5650
5651 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5652
5653 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5654 keywords to their parent.
5655
5656 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5657
5658 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5659 first arg to be a string (fixed dead code), or an operator symbol.
5660 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5661 operator symbols.
5662 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5663 did nothing. Don't respond to `(:after ".")', it will be called
5664 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5665 change anything. Only return indentation for binary operators
5666 when they are hanging. De-dent opening paren when its parent is
5667 `.', otherwise it looks bad when the dot is not at bol or eol
5668 (bug#16182).
5669
5670 2013-12-19 Juri Linkov <juri@jurta.org>
5671
5672 * replace.el (query-replace-read-args): Split a non-negative arg
5673 and a negative arg into separate elements.
5674 (query-replace, query-replace-regexp, replace-string)
5675 (replace-regexp): Add arg `backward'. Doc fix.
5676 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5677 move point to the beginning of the match.
5678 (replace-search, replace-highlight): Use new arg `backward'
5679 to set the value of `isearch-forward'.
5680 (perform-replace): Add arg `backward' and use it to perform
5681 replacement backward. (Bug#14979)
5682
5683 * isearch.el (isearch-query-replace): Use a negative prefix arg
5684 to call `perform-replace' with a non-nil arg `backward'.
5685
5686 2013-12-18 Juri Linkov <juri@jurta.org>
5687
5688 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5689 to the default list. Move `log-edit-show-files' to the end.
5690 Add more available functions to options.
5691 (log-edit): Move default specific settings to
5692 `log-edit-insert-message-template'. Don't move point.
5693 (log-edit-insert-message-template): New function.
5694 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5695 (Bug#16170)
5696
5697 2013-12-18 Juri Linkov <juri@jurta.org>
5698
5699 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5700 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5701
5702 2013-12-18 Leo Liu <sdl.web@gmail.com>
5703
5704 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5705 (Bug#16186)
5706
5707 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5708
5709 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5710 formats for displaying file sizes when the -s switch is given.
5711 Instead, compute a separate format for displaying the size in
5712 blocks, which is displayed in addition to the "regular" size.
5713 When -h is given in addition to -s, produce size in blocks in
5714 human-readable form as well. (Bug#16179)
5715
5716 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5717
5718 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5719 Reference tables with ~\ref{...} instead of only \ref{...}.
5720
5721 2013-12-18 Chong Yidong <cyd@gnu.org>
5722
5723 * cus-edit.el (custom-magic-alist): Fix "themed" description
5724 (Bug#14348).
5725
5726 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5727 is non-nil, do not create a new entry in the symbol's theme-value
5728 or theme-face property; update theme-settings only (Bug#14664).
5729 (custom-available-themes): Doc fix.
5730
5731 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5732 (Bug#15674).
5733
5734 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5735
5736 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5737
5738 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5739 (Bug#13914).
5740
5741 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5742
5743 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5744
5745 2013-12-18 Glenn Morris <rgm@gnu.org>
5746
5747 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5748 * cus-start.el (load-prefer-newer): New option.
5749
5750 2013-12-18 Le Wang <l26wang@gmail.com>
5751
5752 * comint.el (comint-previous-matching-input-from-input):
5753 Retain point (Bug#13404).
5754
5755 2013-12-18 Chong Yidong <cyd@gnu.org>
5756
5757 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5758
5759 2013-12-18 Glenn Morris <rgm@gnu.org>
5760
5761 * mail/emacsbug.el (report-emacs-bug):
5762 Only mention enable-multibyte-characters if non-standard.
5763
5764 2013-12-17 Juri Linkov <juri@jurta.org>
5765
5766 * arc-mode.el (archive-extract-by-file): Check if directory exists
5767 before deletion to not show irrelevant errors if it doesn't exist.
5768
5769 2013-12-17 Juri Linkov <juri@jurta.org>
5770
5771 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5772 (Bug#14751)
5773
5774 * net/eww.el (browse-web): Add alias to `eww'.
5775 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5776 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5777
5778 * net/browse-url.el (browse-url-browser-function): Move `eww'
5779 closer to similar functions.
5780
5781 * startup.el (fancy-startup-screen, fancy-about-screen):
5782 Set browse-url-browser-function to eww-browse-url locally.
5783 (Bug#14751)
5784
5785 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5786
5787 * window.el (window--pixel-to-total): Remove unused `mini' var.
5788 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5789 (split-window): Remove unused `new' var.
5790 (window--display-buffer): Remove unused `frame' and `delta' vars.
5791 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5792 and display-width'.
5793
5794 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5795
5796 * dired.el (dired-mark-pop-up):
5797 * register.el (register-preview): Don't bind
5798 split-height-threshold here since it's now done in
5799 display-buffer-below-selected.
5800
5801 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5802
5803 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5804 xterm-rgb-convert-to-16bit.
5805 (rxvt-register-default-colors): Standardize with
5806 xterm-register-default-colors (Bug#14078).
5807
5808 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5809
5810 * simple.el (kill-region): Pass mark first, then point, so that
5811 kill-append works right (Bug#12819).
5812 (copy-region-as-kill, kill-ring-save): Likewise.
5813
5814 2013-12-17 Leo Liu <sdl.web@gmail.com>
5815
5816 * net/rcirc.el (rcirc-add-face):
5817 * eshell/em-prompt.el (eshell-emit-prompt):
5818 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5819 (Bug#16167)
5820
5821 2013-12-17 Chong Yidong <cyd@gnu.org>
5822
5823 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5824 Suggested by Xue Fuqiao.
5825
5826 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5827
5828 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5829
5830 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5831
5832 * net/shr.el (shr-insert-document): Remove unused var
5833 `shr-preliminary-table-render'.
5834 (shr-rescale-image): Remove unused arg `force'.
5835 (shr-put-image): Update calls accordingly.
5836 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5837
5838 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5839
5840 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5841 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5842 :close-all, to see which indentation method to use (Bug#16116).
5843 (smie-rules-function): Document the method :close-all.
5844
5845 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5846
5847 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5848
5849 * net/eww.el (eww-display-html): If we can't find the anchor we're
5850 looking for, then go to point-min.
5851
5852 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5853
5854 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5855 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5856 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5857 Expand dir too, in case it's relative.
5858
5859 2013-12-16 Juri Linkov <juri@jurta.org>
5860
5861 * desktop.el (desktop-auto-save-timeout): Change default to
5862 `auto-save-timeout'. Doc fix.
5863 (desktop-save): Skip the timestamp in desktop-saved-frameset
5864 when checking for auto-save changes.
5865 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5866 `desktop-auto-save' is called repeatedly by the idle timer.
5867 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5868 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5869 (Bug#15331)
5870
5871 2013-12-16 Juri Linkov <juri@jurta.org>
5872
5873 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5874 (Bug#16035)
5875 (isearch-pre-command-hook): Check `this-command' for symbolp.
5876
5877 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5878
5879 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5880
5881 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5882
5883 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5884 (cfengine3--current-function): Bring in the current-function
5885 functionality from `cfengine3--current-word'.
5886 (cfengine3-completion-function): Bring in the
5887 bounds-of-current-word functionality from
5888 `cfengine3--current-word'.
5889
5890 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5891
5892 * window.el (display-buffer-below-selected):
5893 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5894
5895 2013-12-16 Leo Liu <sdl.web@gmail.com>
5896
5897 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5898 Remove NOMSG arg and all uses changed.
5899
5900 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5901
5902 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5903 (cua--deactivate-rectangle): Don't deactivate the mark.
5904 (cua-set-rectangle-mark): Don't set mark-active since
5905 cua--activate-rectangle already does it for us.
5906 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5907 non-rectangular region.
5908
5909 * emulation/cua-base.el (cua-repeat-replace-region):
5910 Use with-current-buffer.
5911
5912 * net/gnutls.el: Use cl-lib.
5913 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5914
5915 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5916
5917 * emacs-lisp/package.el (package-built-in-p): Support both
5918 built-in and the package.el converted package descriptions.
5919 (package-show-package-list): Allow keywords.
5920 (package-keyword-button-action): Use it instead of
5921 `finder-list-matches'.
5922 (package-menu-filter-interactive): Interactive filtering (by
5923 keyword) function.
5924 (package-menu--generate): Support keywords and change keymappings
5925 and headers when they are given.
5926 (package--has-keyword-p): Helper function.
5927 (package-menu--refresh): Use it.
5928 (package--mapc): Helper function.
5929 (package-all-keywords): Use it.
5930 (package-menu-mode-map): Set up menu items and keybindings to
5931 provide a filtering UI.
5932
5933 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5934
5935 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5936 the behavior when a certificate fails validation. Defaults to
5937 old behavior: never abort, just warn.
5938 (gnutls-negotiate): Use it.
5939
5940 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5941
5942 * window.el (display-buffer-below-selected): Never split window
5943 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5944
5945 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5946
5947 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5948 (package-buffer-info): Use it (bug#15108).
5949
5950 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5951
5952 * icomplete.el (icomplete-completions): Make sure the prefix is already
5953 displayed elsewhere before hiding it (bug#16219).
5954
5955 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5956
5957 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5958 open-paren tokens when preceded by a open-paren, too.
5959 (ruby-smie-rules): Handle virtual indentation after open-paren
5960 tokens specially. If there is code between it and eol, return the
5961 column where is starts (Bug#16118).
5962
5963 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5964
5965 * progmodes/cfengine.el: Fix `add-hook' doc.
5966 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5967 (cfengine3--current-word): Fix parameters.
5968 (cfengine3-make-syntax-cache): Simplify further.
5969 (cfengine3-completion-function, cfengine3--current-function):
5970 Use `assq' for symbols.
5971 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5972
5973 2013-12-13 Glenn Morris <rgm@gnu.org>
5974
5975 * loadup.el (load-path): Warn if site-load or site-init changes it.
5976 No more need to reset it when bootstrapping.
5977
5978 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5979
5980 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5981 locations for cf-promises.
5982 (cfengine-mode-syntax-functions-regex): New caching variable.
5983 (cfengine3-fallback-syntax): Fallback syntax for cases where
5984 cf-promises doesn't run.
5985 (cfengine3--current-word): Reimplement using
5986 `cfengine-mode-syntax-functions-regex'.
5987 (cfengine3-completion-function, cfengine3--current-function):
5988 Use `cfengine3-make-syntax-cache' directly.
5989 (cfengine3-clear-syntax-cache): New function.
5990 (cfengine3-make-syntax-cache): Simplify and create
5991 `cfengine-mode-syntax-functions-regex' on demand.
5992 (cfengine3-format-function-docstring): Don't call
5993 `cfengine3-make-syntax-cache' explicitly.
5994
5995 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5996
5997 Fix windmove-find-other-window broken after pixelwise resizing
5998 (Bug#16017).
5999 * windmove.el (windmove-other-window-loc): Revert change from
6000 2013-12-04.
6001 (windmove-find-other-window): Call window-in-direction.
6002 * window.el (window-in-direction): New arguments SIGN, WRAP and
6003 MINI to emulate original windmove-find-other-window behavior.
6004
6005 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
6006
6007 * simple.el (blink-matching--overlay): New variable.
6008 (blink-matching-open): Instead of moving point, highlight the
6009 matching paren with an overlay
6010 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
6011
6012 * faces.el (paren-showing-faces, show-paren-match)
6013 (show-paren-mismatch): Move from paren.el.
6014
6015 2013-12-13 Leo Liu <sdl.web@gmail.com>
6016
6017 * indent.el (indent-region): Disable progress reporter in
6018 minibuffer. (Bug#16108)
6019
6020 * bindings.el (visual-order-cursor-movement): Fix version.
6021
6022 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6023
6024 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
6025 Also match after beginning of line.
6026 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
6027 files. Thanks to Russell Sim. (Bug#15378)
6028
6029 2013-12-13 Juri Linkov <juri@jurta.org>
6030
6031 * simple.el <Keypad support>: Remove key bindings duplicated
6032 with bindings.el. (Bug#14397)
6033
6034 2013-12-13 Juri Linkov <juri@jurta.org>
6035
6036 * comint.el (comint-mode-map): Replace `delete-char' with
6037 `delete-forward-char'. (Bug#16109)
6038
6039 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6040
6041 * progmodes/python.el (python-indent-calculate-indentation):
6042 Fix de-denters cornercase. (Bug#15731)
6043
6044 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
6045
6046 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
6047 (advice--make): Pay attention to `depth'.
6048 (advice--make-1): Don't autoload commands eagerly.
6049 * emacs-lisp/elp.el (elp-instrument-function):
6050 * emacs-lisp/trace.el (trace-function-internal):
6051 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
6052
6053 * iswitchb.el (iswitchb-mode): Don't belittle ido.
6054
6055 2013-12-12 Eli Zaretskii <eliz@gnu.org>
6056
6057 * term/w32-win.el (w32-handle-dropped-file):
6058 * startup.el (normal-top-level):
6059 * net/browse-url.el (browse-url-file-url):
6060 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
6061 decode file names using 'utf-8' rather than
6062 file-name-coding-system.
6063
6064 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6065
6066 * progmodes/python.el (python-indent-context)
6067 (python-indent-calculate-indentation): Fix auto-identation
6068 behavior for comment blocks. (Bug#15916)
6069
6070 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6071
6072 * progmodes/python.el (python-indent-calculate-indentation):
6073 When determining indentation, don't treat "return", "pass", etc., as
6074 operators when they are just string constituents. (Bug#15812)
6075
6076 2013-12-12 Juri Linkov <juri@jurta.org>
6077
6078 * uniquify.el (uniquify-buffer-name-style): Change default to
6079 `post-forward-angle-brackets'.
6080
6081 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
6082 `uniquify'. Change default to `post-forward-angle-brackets'.
6083
6084 2013-12-11 Glenn Morris <rgm@gnu.org>
6085
6086 * emacs-lisp/package.el (finder-list-matches):
6087 Autoload rather than falsely declaring.
6088
6089 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
6090
6091 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
6092 (eww-mode-map): Use them.
6093
6094 2013-12-11 Martin Rudalics <rudalics@gmx.at>
6095
6096 * window.el (display-buffer-in-side-window): Fix doc-string
6097 (Bug#16115).
6098
6099 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
6100
6101 * vc/vc-git.el: Silence byte-compiler warnings.
6102 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
6103 (log-edit-set-header): Declare.
6104
6105 2013-12-11 Eli Zaretskii <eliz@gnu.org>
6106
6107 * Makefile.in (custom-deps, finder-data): Run output file names
6108 through unmsys--file-name. (Bug#16099)
6109
6110 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
6111
6112 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
6113 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
6114
6115 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
6116 instead of deleting the selection "by hand" (bug#16098).
6117 Rely on insert-for-yank to yank rectangles.
6118 (cua-highlight-region-shift-only): Mark obsolete.
6119 (cua-mode): Don't enable/disable transient-mark-mode,
6120 shift-select-mode (cua-mode works both with and without them), and
6121 pc-selection-mode (obsolete).
6122 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
6123 (cua--deactivate-rectangle): Deactivate it.
6124
6125 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
6126 (delete-selection-helper): Make sure yank starts at the top of the
6127 deleted region.
6128 (minibuffer-keyboard-quit): Use region-active-p.
6129
6130 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
6131
6132 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
6133 to `delete' (bug#16109).
6134
6135 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6136
6137 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
6138 info manual and show keybindings and set `:group' keyword.
6139
6140 2013-12-11 Juri Linkov <juri@jurta.org>
6141
6142 * delsel.el (delete-active-region): Let-bind `this-command'
6143 to prevent `kill-region' from changing its original value.
6144 (delete-selection-helper): Handle `overwrite-mode' for the type
6145 `kill' exactly the same way as for the type `t'.
6146 (insert-char, quoted-insert, reindent-then-newline-and-indent):
6147 Support more commands. (Bug#13312)
6148
6149 2013-12-11 Juri Linkov <juri@jurta.org>
6150
6151 * bindings.el: Map kp keys to non-kp keys systematically
6152 with basic modifiers control, meta and shift. (Bug#14397)
6153
6154 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6155
6156 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
6157 "Close browser" menu items. Fix wrong function of "List
6158 bookmarks".
6159
6160 2013-12-11 Juri Linkov <juri@jurta.org>
6161
6162 * misearch.el (multi-isearch-buffers): Set the value of
6163 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6164 arg of isearch-forward to t.
6165 (multi-isearch-buffers-regexp): Set the value of
6166 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6167 arg of isearch-forward-regexp to t.
6168 (multi-isearch-files): Set the value of
6169 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6170 arg of isearch-forward to t.
6171 (multi-isearch-files-regexp): Set the value of
6172 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6173 arg of isearch-forward-regexp to t. (Bug#16035)
6174
6175 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
6176 arg of isearch-forward to t.
6177 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
6178 arg of isearch-forward-regexp to t.
6179 (dired-isearch-filter-filenames): Remove unnecessary check for
6180 `dired-isearch-filenames'.
6181
6182 * comint.el (comint-history-isearch-backward):
6183 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
6184 (comint-history-isearch-backward-regexp):
6185 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
6186
6187 2013-12-10 Eli Zaretskii <eliz@gnu.org>
6188
6189 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
6190 unmsys--file-name. (Bug#16099)
6191
6192 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
6193
6194 * emacs-lisp/package.el (package-keyword-button-action):
6195 Remove finder.el require dependency.
6196
6197 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
6198
6199 * emacs-lisp/package.el: Require finder.el.
6200 (describe-package-1): Add keyword buttons.
6201 (package-make-button): New convenience function.
6202 (package-keyword-button-action): Keyword button action using
6203 `finder-list-matches'.
6204
6205 2013-12-09 Eli Zaretskii <eliz@gnu.org>
6206
6207 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
6208 last commit.
6209
6210 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
6211
6212 * autorevert.el (auto-revert-notify-add-watch): Do not handle
6213 symlinked files.
6214
6215 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6216
6217 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6218 after the end of a percent literal.
6219
6220 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
6221
6222 * progmodes/ruby-mode.el (ruby-forward-string): Document.
6223 Handle caret-delimited strings (Bug#16079).
6224
6225 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6226
6227 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
6228 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
6229 `ruby-parse-partial' (Bug#16078).
6230
6231 2013-12-09 Leo Liu <sdl.web@gmail.com>
6232
6233 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
6234
6235 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
6236
6237 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
6238 (js-switch-indent-offset): New option.
6239 (js--proper-indentation): Use it. And handle the case when
6240 "default" is actually a key in an object literal.
6241 (js--same-line): New function.
6242 (js--multi-line-declaration-indentation): Use it.
6243 (js--indent-in-array-comp, js--array-comp-indentation):
6244 New functions.
6245 (js--proper-indentation): Use them, to handle array comprehension
6246 continuations.
6247
6248 2013-12-08 Leo Liu <sdl.web@gmail.com>
6249
6250 * progmodes/flymake.el (flymake-highlight-line): Re-write.
6251 (flymake-make-overlay): Remove arg MOUSE-FACE.
6252 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
6253
6254 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6255
6256 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
6257 New function.
6258 (redisplay-highlight-region-function): Use it.
6259
6260 * emulation/cua-base.el (cua--explicit-region-start)
6261 (cua--last-region-shifted): Remove.
6262 (cua--deactivate): Use deactivate-mark.
6263 (cua--pre-command-handler-1): Don't handle shift-selection.
6264 (cua--post-command-handler-1): Don't change transient-mark-mode.
6265 (cua--select-keymaps): Use region-active-p rather than
6266 cua--explicit-region-start or cua--last-region-shifted.
6267 (cua-mode): Enable shift-select-mode.
6268
6269 2013-12-08 Leo Liu <sdl.web@gmail.com>
6270
6271 * progmodes/flymake.el (flymake-popup-current-error-menu):
6272 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6273 (flymake-posn-at-point-as-event, flymake-popup-menu)
6274 (flymake-make-emacs-menu): Remove. (Bug#16077)
6275
6276 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6277
6278 * rect.el (rectangle-mark-mode): Activate mark even if
6279 transient-mark-mode is off (bug#16066).
6280 (rectangle--highlight-for-redisplay): Fix boundary condition when point
6281 is > mark and at bolp.
6282
6283 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
6284 (region-extract-function): Use it.
6285 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
6286 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
6287 Delete functions.
6288 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
6289 kill-ring-save, kill-region, delete-char, delete-forward-char.
6290 Ignore self-insert-iso.
6291
6292 * emulation/cua-gmrk.el (cua--init-global-mark):
6293 Ignore `self-insert-iso'.
6294
6295 * emulation/cua-base.el (cua--prefix-copy-handler)
6296 (cua--prefix-cut-handler): Rely on region-extract-function rather than
6297 checking cua--rectangle.
6298 (cua-delete-region): Use region-extract-function.
6299 (cua-replace-region): Delete function.
6300 (cua-copy-region, cua-cut-region): Obey region-extract-function.
6301 (cua--pre-command-handler-1): Don't do the delete-selection thing.
6302 (cua--self-insert-char-p): Ignore `self-insert-iso'.
6303 (cua--init-keymaps): Don't remap delete-selection commands.
6304 (cua-mode): Use delete-selection-mode instead of rolling our own
6305 (bug#16085).
6306
6307 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
6308 Obey region-extract-function.
6309
6310 Make registers and delete-selection-mode work on rectangles.
6311 * register.el (describe-register-1): Don't modify the register's value.
6312 (copy-to-register): Obey region-extract-function.
6313 * delsel.el (delete-active-region): Obey region-extract-function.
6314
6315 2013-12-08 Leo Liu <sdl.web@gmail.com>
6316
6317 * progmodes/flymake.el (flymake, flymake-error-bitmap)
6318 (flymake-warning-bitmap, flymake-fringe-indicator-position)
6319 (flymake-compilation-prevents-syntax-check)
6320 (flymake-start-syntax-check-on-newline)
6321 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
6322 (flymake-start-syntax-check-on-find-file, flymake-log-level)
6323 (flymake-xml-program, flymake-master-file-dirs)
6324 (flymake-master-file-count-limit)
6325 (flymake-allowed-file-name-masks): Relocate.
6326 (flymake-makehash, flymake-float-time)
6327 (flymake-replace-regexp-in-string, flymake-split-string)
6328 (flymake-get-temp-dir): Remove.
6329 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6330 (flymake-current-row, flymake-selected-frame)
6331 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6332 related functions. (Bug#16077)
6333
6334 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
6335
6336 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6337
6338 2013-12-07 Tassilo Horn <tsdh@gnu.org>
6339
6340 * help-fns.el (describe-function-1): Use new advice-* functions
6341 rather than old ad-* functions. Fix function type description and
6342 source links for advised functions and subrs.
6343
6344 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6345
6346 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
6347
6348 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
6349
6350 * progmodes/compile.el (compilation-start):
6351 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6352
6353 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6354 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
6355
6356 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6357
6358 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6359 Touch up the last change.
6360
6361 2013-12-06 Leo Liu <sdl.web@gmail.com>
6362
6363 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6364 (inferior-octave-startup): Always use "octave> " for prompt.
6365 (octave-goto-function-definition)
6366 (octave-sync-function-file-names)
6367 (octave-find-definition-default-filename): Remove redundant backquotes.
6368
6369 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6370
6371 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6372 syntax for `?'.
6373 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6374 where appropriate already.
6375 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6376 end of method names (Bug#15874).
6377
6378 2013-12-06 Juri Linkov <juri@jurta.org>
6379
6380 * isearch.el (isearch--saved-overriding-local-map):
6381 New internal variable.
6382 (isearch-mode): Set it to the initial value of
6383 `overriding-terminal-local-map'.
6384 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6385 with `isearch--saved-overriding-local-map'. (Bug#16035)
6386
6387 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6388
6389 * progmodes/octave.el (inferior-octave-completion-table):
6390 Turn back into function, use `completion-table-with-cache'
6391 (Bug#11906). Update all references.
6392
6393 * minibuffer.el (completion-table-with-cache): New function.
6394
6395 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
6396
6397 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6398
6399 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
6400
6401 * net/eww.el (eww-current-source): New variable to store page
6402 source.
6403 (eww-display-html, eww-mode, eww-save-history)
6404 (eww-restore-history): Use it.
6405 (eww-view-source): New command to view page source.
6406 Opportunistically uses `html-mode' to highlight the buffer.
6407 (eww-mode-map): Install it.
6408
6409 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
6410
6411 * net/dbus.el (dbus-unregister-service)
6412 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6413 Fix docstring.
6414 (dbus-unregister-service): Skip :serial entries in
6415 `dbus-registered-objects-table'.
6416 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6417
6418 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
6419
6420 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6421 around keywords with extra `split-string' argument.
6422
6423 2013-12-04 Martin Rudalics <rudalics@gmx.at>
6424
6425 * windmove.el (windmove-other-window-loc): Handle navigation
6426 between windows (excluding the minibuffer window - Bug#16017).
6427
6428 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
6429
6430 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6431 in D-Bus type syntax.
6432 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6433 preserve unibyte strings. (Bug#16048)
6434
6435 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6436
6437 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6438 Call force-mode-line-update is the proper buffer (bug#16042).
6439
6440 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
6441
6442 * vc/log-edit.el (log-edit-add-new-comment): Rename to
6443 `log-edit-remember-comment', make argument optional. Adjust all
6444 callers.
6445 (log-edit-mode): Add `log-edit-remember-comment' to
6446 `kill-buffer-hook' locally.
6447 (log-edit-kill-buffer): Don't remember comment explicitly since
6448 the buffer is killed anyway.
6449
6450 2013-12-04 Juri Linkov <juri@jurta.org>
6451
6452 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6453 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6454
6455 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
6456
6457 * notifications.el (notifications-close-notification): Call the
6458 D-Bus method with ID being a `:uint32'. (Bug#16030)
6459
6460 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6461
6462 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6463
6464 2013-12-03 Juri Linkov <juri@jurta.org>
6465
6466 * progmodes/compile.el (compilation-start): Rename window alist
6467 entry `no-display-ok' to `allow-no-window'.
6468
6469 * simple.el (shell-command): Add window alist entry
6470 `allow-no-window' to `display-buffer'.
6471 (async-shell-command): Doc fix.
6472
6473 * window.el (display-buffer-no-window): New action function.
6474 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6475
6476 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6477
6478 * vc/log-edit.el (log-edit-set-header): Extract from
6479 `log-edit-toggle-header'.
6480 (log-edit-extract-headers): Separate the summary, when extracted
6481 from header, from the rest of the message with an empty line.
6482
6483 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6484 line, if present, to the Summary header.
6485
6486 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6487
6488 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6489 in current-buffer (bug#16029).
6490
6491 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
6492
6493 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6494 (debugger-mode-map): Bind it.
6495 (debugger--backtrace-base): New function.
6496 (debugger-eval-expression): Use it.
6497 (debugger-frame-number): Skip local vars when present.
6498 (debugger--locals-visible-p, debugger--insert-locals)
6499 (debugger--show-locals, debugger--hide-locals): New functions.
6500
6501 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
6502
6503 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6504 "LC_ALL".
6505 (tramp-get-remote-locale): New defun.
6506 (tramp-open-connection-setup-interactive-shell): Use it.
6507
6508 2013-12-02 Leo Liu <sdl.web@gmail.com>
6509
6510 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6511
6512 * progmodes/sh-script.el (sh-shell-process):
6513 * progmodes/octave.el (inferior-octave-process-live-p):
6514 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6515 (gdb-inferior-io-sentinel):
6516 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6517
6518 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6519
6520 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6521 `save-selected-window' to `log-edit-hide-buf'. This makes
6522 `log-edit-show-files' idempotent.
6523 (log-edit-show-files): Mark the new window as dedicated.
6524
6525 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6526
6527 * vc/log-edit.el (log-edit-mode-map): Add binding for
6528 `log-edit-kill-biffer'.
6529 (log-edit-hide-buf): Add a FIXME comment.
6530 (log-edit-add-new-comment): New function, extracted from
6531 `log-edit-done'.
6532 (log-edit-done, log-edit-add-to-changelog): Use it.
6533 (log-edit-kill-buffer): New command.
6534
6535 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6536
6537 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6538 instead of killing the buffer.
6539
6540 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6541
6542 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6543
6544 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6545
6546 * net/eww.el (eww-form-checkbox-selected-symbol)
6547 (eww-form-checkbox-symbol): New customizable variable.
6548 (eww-form-checkbox, eww-toggle-checkbox):
6549 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6550
6551 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6552 (shr--get-media-pref, shr--extract-best-source): New function.
6553 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6554 no :src tag was specified.
6555
6556 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6557 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6558 Use \\` to match beginning of string instead of ^.
6559 (eww-browse-with-external-browser): Provide optional URL parameter.
6560 (eww-render): Set `eww-current-title' back to "".
6561
6562 * net/shr.el (shr-tag-video): Display content for video if no
6563 poster is available.
6564 (shr-tag-audio): Add support for <audio> tag.
6565
6566 * net/eww.el (eww-text-input-types): New const.
6567 (eww-process-text-input): Treat input types in
6568 `eww-text-input-types' as text.
6569
6570 * net/shr.el (shr-tag-table): Fix comment typo.
6571
6572 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6573
6574 * net/eww.el (eww-follow-link): New command to avoid reloading
6575 pages when we follow #target links (bug#15243).
6576 (eww-quit): Special mode buffers shouldn't query before exiting.
6577
6578 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6579
6580 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6581 forms.
6582
6583 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6584
6585 * net/eww.el (eww-restore-history): Update the window title after
6586 moving in the history.
6587 (eww-current-dom): New variable used to save the current DOM.
6588
6589 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6590
6591 * vc/log-edit.el (log-edit-mode-map): Add binding for
6592 `log-edit-beginning-of-line'.
6593 (log-edit-setup-add-author): New user option.
6594 (log-edit-beginning-of-line): New command.
6595 (log-edit): Move major mode call above the contents setup so that
6596 the local variable values are already applied.
6597 (log-edit): Only insert "Author: " when
6598 `log-edit-setup-add-author' is non-nil.
6599 (log-edit): When SETUP is non-nil, position point after ": "
6600 instead of point-min.
6601
6602 2013-12-01 Glenn Morris <rgm@gnu.org>
6603
6604 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6605
6606 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6607
6608 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6609 redisplay to make sure the initial frame gets a chance to become
6610 visible. (Bug#16014)
6611
6612 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6613
6614 Support resizing frames and windows pixelwise.
6615 * cus-start.el (frame-resize-pixelwise)
6616 (window-resize-pixelwise): New entries.
6617 * emacs-lisp/debug.el (debug): Use window-total-height instead
6618 of window-total-size.
6619 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6620 * help.el (describe-bindings-internal): Use help-buffer as
6621 argument for with-help-window.
6622 (temp-buffer-max-width): New option.
6623 (resize-temp-buffer-window, help-window-setup)
6624 (with-help-window): Rewrite.
6625 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6626 dragging dividers.
6627 * window.el (frame-char-size, window-min-pixel-height)
6628 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6629 (window-min-pixel-width, window-safe-min-pixel-size)
6630 (window-combination-p, window-safe-min-size)
6631 (window-resizable-p, window--size-to-pixel)
6632 (window--pixel-to-size, window--resize-apply-p): New functions.
6633 (window-safe-min-height): Fix doc-string.
6634 (window-size, window-min-size, window--min-size-1)
6635 (window-sizable, window-sizable-p, window--min-delta-1)
6636 (window-min-delta, window--max-delta-1, window-max-delta)
6637 (window--resizable, window--resizable-p, window-resizable)
6638 (window-full-height-p, window-full-width-p, window-at-side-p)
6639 (window--in-direction-2, window-in-direction)
6640 (window--resize-reset-1, window--resize-mini-window)
6641 (window-resize, window-resize-no-error)
6642 (window--resize-child-windows-normal)
6643 (window--resize-child-windows, window--resize-siblings)
6644 (window--resize-this-window, window--resize-root-window)
6645 (window--resize-root-window-vertically)
6646 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6647 (maximize-window, minimize-window, delete-window)
6648 (quit-restore-window, window-split-min-size, split-window)
6649 (balance-windows-2, balance-windows)
6650 (balance-windows-area-adjust, balance-windows-area)
6651 (window--state-get-1, window-state-get, window--state-put-1)
6652 (window--state-put-2, window-state-put)
6653 (display-buffer-record-window, window--display-buffer):
6654 Make functions handle pixelwise sizing of windows.
6655 (display-buffer--action-function-custom-type)
6656 (display-buffer-fallback-action):
6657 Add display-buffer-in-previous-window.
6658 (display-buffer-use-some-window): Resize window to height it had
6659 before.
6660 (fit-window-to-buffer-horizontally): New option.
6661 (fit-frame-to-buffer): Describe new values.
6662 (fit-frame-to-buffer-bottom-margin): Replace with
6663 fit-frame-to-buffer-margins.
6664 (window--sanitize-margin): New function.
6665 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6666 using window-text-pixel-size.
6667
6668 2013-11-30 Glenn Morris <rgm@gnu.org>
6669
6670 * emacs-lisp/bytecomp.el (byte-compile-form):
6671 Make the `interactive-only' warning like the `obsolete' one.
6672 * comint.el (comint-run):
6673 * files.el (insert-file-literally, insert-file):
6674 * replace.el (replace-string, replace-regexp):
6675 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6676 (goto-line, insert-buffer, next-line, previous-line):
6677 Tweak `interactive-only' spec.
6678
6679 Stop keeping (most) generated cedet grammar files in the repository.
6680 * Makefile.in (semantic): New.
6681 (compile-main): Depend on semantic.
6682
6683 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6684
6685 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6686 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6687
6688 * uniquify.el (uniquify-buffer-name-style): Change default.
6689
6690 * loadup.el: Preload "uniquify".
6691
6692 * time.el (display-time-update): Update all mode lines (bug#15999).
6693
6694 * electric.el (electric-indent-mode): Enable by default.
6695 * loadup.el: Preload "electric".
6696
6697 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6698
6699 * emacs-lisp/helpers.el (string-empty-p): New function.
6700 (string-blank-p): New function.
6701
6702 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6703
6704 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6705 (Bug#14029).
6706
6707 2013-11-29 Andreas Politz <politza@fh-trier.de>
6708 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6709 allow non-lambda lists as functions.
6710 (imenu--in-alist): Don't recurse into non-subalists.
6711 (imenu): Don't pass function itself as an argument (Bug#14029).
6712
6713 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6714
6715 * progmodes/python.el (python-mode-map): Remove binding for ":".
6716 (python-indent-electric-colon): Remove command.
6717 (python-indent-post-self-insert-function): Integrate the previous code
6718 of python-indent-electric-colon. Make it conditional on
6719 electric-indent-mode.
6720 (python-mode): Add ?: to electric-indent-chars.
6721 Move python-indent-post-self-insert-function to the end of
6722 post-self-insert-hook.
6723
6724 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6725
6726 * doc-view.el (doc-view-goto-page): Update mode-line.
6727
6728 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6729
6730 2013-11-27 Glenn Morris <rgm@gnu.org>
6731
6732 * international/charprop.el, international/uni-bidi.el:
6733 * international/uni-category.el, international/uni-combining.el:
6734 * international/uni-comment.el, international/uni-decimal.el:
6735 * international/uni-decomposition.el, international/uni-digit.el:
6736 * international/uni-lowercase.el, international/uni-mirrored.el:
6737 * international/uni-name.el, international/uni-numeric.el:
6738 * international/uni-old-name.el, international/uni-titlecase.el:
6739 * international/uni-uppercase.el:
6740 Remove generated files from VCS repository.
6741
6742 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6743
6744 * filenotify.el (file-notify-add-watch): Don't special-case
6745 w32notify when computing the directory to watch.
6746
6747 2013-11-27 Glenn Morris <rgm@gnu.org>
6748
6749 Make bootstrap without generated uni-*.el files possible again.
6750 * loadup.el: Update command-line-args checking for unidata-gen.
6751 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6752 * composite.el, international/characters.el:
6753 Handle unicode tables being undefined.
6754
6755 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6756 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6757 (compile-main): Depend on leim rule.
6758 (leim): New rule.
6759 * loadup.el: Move leim-list.el to leim/ subdirectory.
6760 * startup.el (normal-top-level): No more leim directory.
6761 * international/ja-dic-cnv.el (skkdic-convert):
6762 Disable version-control and autoloads in output files.
6763 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6764 Disable version-control and autoloads in output files.
6765 * leim/quail: Move here from ../leim.
6766 * leim/quail/hangul.el (hangul-input-method-activate):
6767 Add autoload cookie.
6768 (generated-autoload-load-name): Set file-local value.
6769 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6770 (generated-autoload-load-name): Set file-local value.
6771
6772 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6773
6774 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6775 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6776 (eww-quit): Ask confirmation before quitting eww.
6777
6778 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6779
6780 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6781 reading output from Diff on MS-Windows and MS-DOS.
6782
6783 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6784
6785 * emacs-lisp/helpers.el (string-reverse): New function.
6786
6787 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6788
6789 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6790 names on MS Windows, like "/[::1]:".
6791
6792 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6793 SWITCHES.
6794
6795 2013-11-26 Glenn Morris <rgm@gnu.org>
6796
6797 * progmodes/python.el (python-indent-guess-indent-offset):
6798 Avoid corner-case error. (Bug#15975)
6799
6800 Preload leim-list.el. (Bug#4789)
6801 * loadup.el: Load leim-list.el when found.
6802 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6803
6804 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6805
6806 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6807
6808 * emacs-lisp/helpers.el (string-join): New function.
6809
6810 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6811
6812 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6813 Mark as obsolete and replace it with a symbol property.
6814 (byte-compile-form): Use new 'interactive-only property.
6815 * comint.el, files.el, replace.el, simple.el:
6816 Apply new 'interactive-only properly.
6817
6818 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6819
6820 * window.el (display-buffer-at-bottom): Make sure that
6821 split-window-sensibly creates the new window on bottom
6822 (Bug#15961).
6823
6824 2013-11-23 David Kastrup <dak@gnu.org>
6825
6826 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6827 on the conflict markers when available.
6828 (smerge--get-marker): New function.
6829 (smerge-end-re, smerge-base-re): Add subgroup.
6830
6831 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6832
6833 * frame.el (handle-focus-in, handle-focus-out): Add missing
6834 interactive spec.
6835
6836 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6837
6838 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6839 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6840
6841 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6842
6843 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6844 (gomoku--last-pos): New var.
6845 (gomoku--intangible-chars): New const.
6846 (gomoku--intangible): New function.
6847 (gomoku-mode): Use it. Derive from special-mode.
6848 (gomoku-move-up): Adjust line count.
6849 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6850 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6851 Simplify accordingly.
6852
6853 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6854 Remove blink-cursor code.
6855 (blink-cursor-timer-function, blink-cursor-suspend):
6856 Don't special-case GUIs.
6857 (blink-cursor-mode): Use focus-in/out-hook.
6858
6859 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6860
6861 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6862 work when annotation is invisible (Bug#13886).
6863
6864 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6865
6866 * json.el (json-alist-p): Only return non-nil if the alist has
6867 simple keys (Bug#13518).
6868
6869 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6870
6871 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6872 when control-statement is the first statement in a buffer (Bug#15956).
6873
6874 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6875
6876 * imenu.el (imenu-generic-skip-comments-and-strings):
6877 New option (Bug#15560).
6878 (imenu--generic-function): Use it.
6879
6880 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6881
6882 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6883 (Bug#13898)
6884
6885 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6886
6887 * emacs-lisp/helpers.el: Add some string helpers.
6888 (string-trim-left): Removes leading whitespace.
6889 (string-trim-right): Removes trailing whitespace.
6890 (string-trim): Removes leading and trailing whitespace.
6891
6892 * subr.el (string-suffix-p): New function.
6893
6894 2013-11-23 Glenn Morris <rgm@gnu.org>
6895
6896 * progmodes/python.el (python-shell-send-file):
6897 Add option to delete file when done. (Bug#15647)
6898 (python-shell-send-string, python-shell-send-region): Use it.
6899
6900 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6901
6902 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6903 to set buffer-read-only to t, never to nil. (Bug#15938)
6904
6905 * textmodes/tex-mode.el (latex-noindent-environments):
6906 Add safe-local-variable property. (Bug#15936)
6907
6908 2013-11-23 Glenn Morris <rgm@gnu.org>
6909
6910 * textmodes/enriched.el (enriched-mode): Doc fix.
6911 * emacs-lisp/authors.el (authors-renamed-files-alist):
6912 Add enriched.doc -> enriched.txt.
6913
6914 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6915
6916 2013-11-22 Leo Liu <sdl.web@gmail.com>
6917
6918 * progmodes/octave.el (inferior-octave-startup): Spit out error
6919 message.
6920
6921 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6922
6923 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6924 Improve docstring.
6925 Add :version.
6926 (ruby-encoding-magic-comment-style): Add :version.
6927
6928 2013-11-22 Leo Liu <sdl.web@gmail.com>
6929
6930 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6931 (Bug#15076)
6932 (octave-help-mode): Adapt to change to help-mode-finish to use
6933 derived-mode-p on 2013-09-17.
6934 (inferior-octave-prompt): Also match octave-gui.
6935 (octave-kill-process): Don't ask twice. (Bug#10564)
6936
6937 2013-11-22 Leo Liu <sdl.web@gmail.com>
6938
6939 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6940 (inferior-octave-startup, inferior-octave-check-process)
6941 (inferior-octave-track-window-width-change)
6942 (octave-completion-at-point, octave-eldoc-function): Use it.
6943 (octave-kill-process): Provide confirmation. (Bug#10564)
6944
6945 2013-11-21 Leo Liu <sdl.web@gmail.com>
6946
6947 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6948 Fix obsolete variable comment-use-global-state.
6949
6950 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6951
6952 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6953 Add `octave-source-file'.
6954 (octave-source-file): New function. (Bug#15935)
6955
6956 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6957
6958 * net/eww.el (eww-local-regex): New variable.
6959 (eww): Use it to detect localhost and similar.
6960
6961 2013-11-21 Leo Liu <sdl.web@gmail.com>
6962
6963 Add completion for command `ag'.
6964 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6965 (pcomplete/ag): New function.
6966 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6967
6968 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6969
6970 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6971 (bug#14646).
6972 (make-obsolete): Remove interactive spec.
6973
6974 2013-11-21 Glenn Morris <rgm@gnu.org>
6975
6976 * startup.el (command-line-1): Use path-separator with -L.
6977
6978 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6979
6980 * emacs-lisp/package.el (describe-package-1): Add package archive
6981 to shown fields.
6982
6983 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6984
6985 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6986 Change default to "# encoding: %s" to differentiate it from the
6987 default Ruby encoding comment template.
6988
6989 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6990
6991 * ses.el (ses-mode): Doc fix. (Bug#14748)
6992
6993 2013-11-20 Leo Liu <sdl.web@gmail.com>
6994
6995 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6996
6997 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6998
6999 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
7000 when rebase or bisect are in progress.
7001
7002 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
7003
7004 * filenotify.el (file-notify-add-watch): Doc fix.
7005
7006 2013-11-19 Leo Liu <sdl.web@gmail.com>
7007
7008 * obsolete/rcompile.el: Mark obsolete.
7009
7010 * progmodes/compile.el (compilation-start)
7011 (compilation-goto-locus, compilation-find-file):
7012 Pass no-display-ok and handle nil value from display-buffer.
7013 (Bug#13594)
7014
7015 * window.el (display-buffer-alist, display-buffer): Document the
7016 new parameter no-display-ok. Return either a window or nil
7017 but never a non-window value.
7018
7019 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7020
7021 * electric.el (electric-indent-mode-map): Remove.
7022 (electric-indent-mode): Change the global-map instead (bug#15915).
7023
7024 * textmodes/text-mode.el (paragraph-indent-minor-mode):
7025 Use add-function.
7026
7027 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
7028
7029 * emacs-lisp/nadvice.el (remove-function): Align with
7030 add-function's behavior.
7031
7032 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
7033 (gdb--string-regexp): New constant.
7034 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
7035 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
7036 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
7037 submatch 1.
7038 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
7039 Adjust use accordingly.
7040 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
7041
7042 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
7043
7044 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
7045 interpolation curlies (Bug#15914).
7046
7047 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
7048
7049 * calc/calc.el (calc-context-sensitive-enter): New variable.
7050 (calc-enter): Use `calc-context-sensitive-enter'.
7051
7052 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
7053
7054 * progmodes/cfengine.el: Version bump.
7055 (cfengine-cf-promises): New defcustom to locate cf-promises.
7056 (cfengine3-vartypes): Add new "data" type.
7057 (cfengine3--current-word): New function to get current name-like
7058 word or its bounds.
7059 (cfengine3--current-function): New function to look up a CFEngine
7060 function's definition.
7061 (cfengine3-format-function-docstring): New function.
7062 (cfengine3-make-syntax-cache): New function.
7063 (cfengine3-documentation-function): New function: ElDoc glue.
7064 (cfengine3-completion-function): New function: completion glue.
7065 (cfengine3-mode): Set `compile-command',
7066 `eldoc-documentation-function', and add to
7067 `completion-at-point-functions'.
7068
7069 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
7070
7071 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7072 `tramp-current-connection'.
7073
7074 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
7075
7076 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
7077 nil/self/true/false with "end of symbol".
7078
7079 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
7080
7081 * subr.el (version-regexp-alist): Fix a typo.
7082
7083 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
7084
7085 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
7086 "en_US.utf8" and "LC_CTYPE" to "".
7087 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
7088 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
7089
7090 2013-11-15 Leo Liu <sdl.web@gmail.com>
7091
7092 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
7093
7094 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7095
7096 * progmodes/gud.el (ctl-x-map):
7097 Remove C-x SPC binding. (Bug#12342)
7098 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
7099
7100 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
7101
7102 * subr.el (version-regexp-alist):
7103 Recognize hg, svn and darcs versions as snapshot versions.
7104
7105 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
7106 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
7107 (ruby--encoding-comment-required-p): Extract from
7108 `ruby-mode-set-encoding'.
7109 (ruby-mode-set-encoding): Add the ability to always insert an
7110 utf-8 encoding comment. Fix and simplify coding comment update
7111 logic.
7112
7113 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
7114
7115 * net/tramp-gvfs.el (top): Run init code only when
7116 `tramp-gvfs-enabled' is not nil.
7117 (tramp-gvfs-enabled): Check also :system bus.
7118
7119 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7120
7121 Sync with upstream verilog-mode revision 78e66ba.
7122 * progmodes/verilog-mode.el (verilog-end-of-defun)
7123 (verilog-type-completion, verilog-get-list): Remove unused funcs.
7124 (verilog-get-end-of-defun): Remove unused argument.
7125 (verilog-comment-depth): Remove unused local `e'.
7126 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
7127 Don't pass arg to verilog-get-end-of-defun.
7128
7129 2013-11-14 Glenn Morris <rgm@gnu.org>
7130
7131 * obsolete/assoc.el (aget): Prefix dynamic variable.
7132
7133 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
7134
7135 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7136
7137 * widget.el, hfy-cmap.el: Remove bogus package version number.
7138
7139 2013-11-13 Glenn Morris <rgm@gnu.org>
7140
7141 * replace.el (replace-eval-replacement):
7142 Try to give more helpful error message. (Bug#15836)
7143
7144 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7145 (archive-7z-update): Avoid custom type mismatches.
7146
7147 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
7148
7149 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
7150
7151 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
7152 address can be empty.
7153
7154 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
7155 Accept nil SWITCHES.
7156 (tramp-gvfs-handle-write-region): Implement APPEND.
7157
7158 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
7159
7160 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
7161 binary "|" operator and closing block args delimiter.
7162 Remove FIXME comment referring to Ruby 1.8-only syntax.
7163 (ruby-smie--implicit-semi-p): Not after "|" operator.
7164 (ruby-smie--closing-pipe-p): New function.
7165 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
7166 (ruby-smie-rules): Indent after "|".
7167
7168 2013-11-12 Glenn Morris <rgm@gnu.org>
7169
7170 * ps-print.el (ps-face-attribute-list):
7171 Handle anonymous faces. (Bug#15827)
7172
7173 2013-11-12 Martin Rudalics <rudalics@gmx.at>
7174
7175 * window.el (display-buffer-other-frame): Fix doc-string.
7176 (Bug#15868)
7177
7178 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7179
7180 * subr.el (force-mode-line-update): Delete, move to buffer.c.
7181
7182 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
7183
7184 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
7185 (tramp-sh-handle-file-local-copy): Don't write a message when
7186 saving temporary files.
7187
7188 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
7189 both directories are remote.
7190 (tramp-smb-handle-directory-files): Do not return double entries.
7191 Do not expand full file names.
7192 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
7193 (tramp-smb-handle-write-region): Implement APPEND.
7194 (tramp-smb-get-stat-capability): Fix a stupid bug.
7195
7196 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7197
7198 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
7199
7200 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7201
7202 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
7203 throwing error over malformed let/let* (bug#15814).
7204
7205 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7206
7207 * iswitchb.el (iswitchb-mode): Mark obsolete.
7208
7209 2013-11-11 Glenn Morris <rgm@gnu.org>
7210
7211 * international/uni-bidi.el, international/uni-category.el:
7212 * international/uni-name.el, international/uni-numeric.el:
7213 Regenerate for Unicode 6.3.0.
7214
7215 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
7216
7217 * net/tramp.el (tramp-methods):
7218 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
7219 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
7220
7221 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
7222
7223 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7224 Force highlighting text after Summary keyword in doc face for rpm.
7225
7226 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
7227
7228 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
7229 available and the word has no wildcards, append one to the grep pattern.
7230 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
7231 (ispell-complete-word): Call `ispell-lookup-words' with the value
7232 independent of `ispell-look-p'.
7233
7234 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7235
7236 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
7237 Not after "||".
7238 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
7239 their parent.
7240
7241 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7242
7243 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
7244 (ruby-font-lock-keywords): Use backquote.
7245
7246 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7247
7248 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7249 (ruby-smie--backward-token): Only consider full-string matches.
7250
7251 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
7252
7253 * faces.el (describe-face): Add distant-foreground.
7254
7255 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
7256
7257 * progmodes/ruby-mode.el: Improve encoding comment handling.
7258 (ruby-encoding-magic-comment-style): New option.
7259 (ruby-custom-encoding-magic-comment-template): New option.
7260 (ruby--insert-coding-comment, ruby--detect-encoding):
7261 New functions extracted from `ruby-mode-set-encoding'.
7262 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
7263 to control the style of the auto-inserted encoding comment.
7264
7265 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7266
7267 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
7268 Use `smie-backward-sexp' with token argument.
7269
7270 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
7271
7272 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7273 Remove instrumentation code.
7274
7275 2013-11-08 Glenn Morris <rgm@gnu.org>
7276
7277 * progmodes/autoconf.el (autoconf-mode):
7278 Tweak comment-start-skip. (Bug#15822)
7279
7280 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7281
7282 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
7283 at bobp (bug#15826).
7284 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
7285
7286 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
7287
7288 * man.el (Man-start-calling): New macro, extracted from
7289 Man-getpage-in-background.
7290 (Man-getpage-in-background): Use it.
7291 (Man-update-manpage): New command.
7292 (Man-mode-map): Bind it.
7293
7294 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7295
7296 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
7297 of "and", "or", "&&" and "||".
7298 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
7299 argument. Prohibit opening curly brace because it could only be a
7300 block opener in that position.
7301 (ruby-smie--forward-token, ruby-smie--backward-token):
7302 Separate "|" from "&" or "*" going after it. That can happen in block
7303 arguments.
7304 (ruby-smie--indent-to-stmt): New function, seeks the end of
7305 previous statement or beginning of buffer.
7306 (ruby-smie-rules): Use it.
7307 (ruby-smie-rules): Check if there's a ":" before a curly block
7308 opener candidate; if there is, it's a hash.
7309
7310 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7311
7312 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
7313 (cl--block-wrapper): Fix last accidental change.
7314
7315 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
7316
7317 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7318 Instrument, in order to hunt failure on hydra.
7319
7320 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7321
7322 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
7323 malformed bindings form (bug#15814).
7324
7325 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
7326
7327 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
7328 "." compared to " @ ". This incidentally fixes some indentation
7329 examples with "do".
7330 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
7331 (ruby-smie-grammar): New tokens: "and" and "or".
7332 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7333 Exclude "and" and "or". Remove "do" in order to work around token
7334 priorities.
7335 (ruby-smie-rules): Add all infix tokens. Handle the case of
7336 beginning-of-buffer.
7337
7338 2013-11-06 Glenn Morris <rgm@gnu.org>
7339
7340 * Makefile.in (setwins_almost, setwins_for_subdirs):
7341 Avoid accidental matches.
7342
7343 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7344
7345 * menu-bar.el (popup-menu): Use key-binding.
7346
7347 2013-11-06 Eli Zaretskii <eliz@gnu.org>
7348
7349 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7350 menus, support also the menus produced by minor modes.
7351 (Bug#15817)
7352
7353 2013-11-06 Leo Liu <sdl.web@gmail.com>
7354
7355 * thingatpt.el (thing-at-point-looking-at): Add optional arg
7356 DISTANCE to bound the search. All uses changed. (Bug#15808)
7357
7358 2013-11-06 Glenn Morris <rgm@gnu.org>
7359
7360 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7361 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7362 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7363
7364 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7365
7366 * electric.el (electric-indent-just-newline): New command.
7367 (electric-indent-mode-map): New keymap.
7368 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7369 Re-add :group which weren't redundant.
7370
7371 * electric.el (electric-indent-local-mode): New minor mode.
7372 (electric-indent-functions-without-reindent): New var.
7373 (electric-indent-post-self-insert-function): Use it.
7374 * emacs-lisp/gv.el (buffer-local-value): Add setter.
7375
7376 2013-11-05 Eli Zaretskii <eliz@gnu.org>
7377
7378 * international/quail.el (quail-help): Be more explicit about the
7379 meaning of the labels shown on the keys. (Bug#15800)
7380
7381 * startup.el (normal-top-level): Load the subdirs.el files before
7382 setting the locale environment. (Bug#15805)
7383
7384 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
7385
7386 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7387 via arguments so as to get the right ones (bug#15418).
7388
7389 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7390
7391 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
7392
7393 Fix problems found while writing a test suite.
7394
7395 * net/tramp-compat.el (tramp-compat-load): New defun.
7396 * net/tramp.el (tramp-handle-load): Use it.
7397
7398 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7399 "(numberp ok-if-already-exists)" correctly.
7400
7401 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
7402
7403 * international/characters.el (glyphless-char-display-control):
7404 Add usage note.
7405
7406 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
7407
7408 * progmodes/python.el (python-mode):
7409 * progmodes/scheme.el (scheme-mode):
7410 * progmodes/prolog.el (prolog-mode):
7411 * progmodes/ruby-mode.el (ruby-mode):
7412 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7413 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7414
7415 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7416
7417 * rect.el (rectangle--highlight-for-redisplay):
7418 * emacs-lisp/smie.el (smie--next-indent-change):
7419 Use buffer-chars-modified-tick.
7420
7421 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7422
7423 * electric.el (electric-indent-post-self-insert-function):
7424 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7425
7426 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
7427
7428 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7429
7430 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7431
7432 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7433 (bug#15786).
7434
7435 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7436
7437 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
7438
7439 * progmodes/python.el: Fix up last change.
7440 (python-shell--save-temp-file): New function.
7441 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
7442 `string' comes from the current buffer.
7443 (python-shell-send-string-no-output): Remove `msg' arg.
7444 (python--use-fake-loc): New var.
7445 (python-shell-buffer-substring): Obey it. Try to compensate for the
7446 extra coding line added by python-shell--save-temp-file.
7447 (python-shell-send-region): Use python-shell--save-temp-file and
7448 python-shell-send-file directly. Add `nomain' argument.
7449 (python-shell-send-buffer): Use python-shell-send-region.
7450 (python-electric-pair-string-delimiter): New function.
7451 (python-mode): Use it.
7452
7453 2013-11-04 Eli Zaretskii <eliz@gnu.org>
7454
7455 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7456 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7457 environment and decoding all of the default-directory's to here
7458 from command-line.
7459 (command-line): Decode also argv[0].
7460
7461 * loadup.el: Error out if default-directory is a multibyte string
7462 when we are dumping.
7463
7464 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7465
7466 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7467
7468 * emacs-lisp/package.el (package-menu-mode)
7469 (package-menu--print-info, package-menu--archive-predicate):
7470 Add Archive column to package list.
7471
7472 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
7473
7474 Fix problems found while writing a test suite.
7475
7476 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7477 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7478 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7479 to nil when running original file name handler. Otherwise,
7480 there are problems with constructs like "$$FOO".
7481
7482 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7483 for `localname'.
7484
7485 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7486
7487 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7488
7489 * subr.el (version<, version<=, version=):
7490 Update docstrings with information for snapshot versions.
7491
7492 * helpers.el: New library for misc helper functions.
7493 (hash-table-keys): New function returning a list of hash keys.
7494 (hash-table-values): New function returning a list of hash values.
7495
7496 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7497
7498 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7499 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7500
7501 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
7502
7503 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7504 checking whether point is after a 1-letter word.
7505
7506 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7507
7508 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7509 Don't infloop when expanding region over `multiline' syntax-type that
7510 begins a line (bug#15778).
7511
7512 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7513
7514 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7515 Make it into a proper minor mode.
7516 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
7517 (rectangle-mark-mode-map): New keymap.
7518 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7519
7520 2013-11-04 Glenn Morris <rgm@gnu.org>
7521
7522 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7523
7524 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7525
7526 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7527 (ruby-smie-rules): Use smie-rule-parent instead.
7528
7529 * emacs-lisp/smie.el (smie-rule-parent): Always call
7530 smie-indent-virtual rather than only for hanging tokens.
7531 (smie--next-indent-change): New helper command.
7532
7533 2013-11-03 Glenn Morris <rgm@gnu.org>
7534
7535 * Makefile.in (abs_srcdir): Remove.
7536 (emacs): Unset EMACSLOADPATH.
7537
7538 2013-11-02 Glenn Morris <rgm@gnu.org>
7539
7540 * Makefile.in (EMACS): Use a relative filename.
7541 (abs_top_builddir): Remove.
7542 (custom-deps, finder-data, autoloads): Use --chdir.
7543
7544 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7545
7546 Use relative filenames in TAGS files.
7547 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7548 (lisptagsfiles4, TAGS): Use relative file names.
7549 (TAGS-LISP): Remove.
7550 (maintainer-clean): No more TAGS-LISP file.
7551
7552 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7553 (lisptagsfiles4): Use absolute filenames again.
7554 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7555 Remove all *loaddefs files, not just the first. Remove esh-groups.
7556 (maintainer-clean): Delete TAGS, TAGS-LISP.
7557
7558 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7559
7560 * emacs-lisp/package.el (package-version-join):
7561 Recognize snapshot versions.
7562
7563 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7564
7565 * subr.el (version-regexp-alist): Add support for snapshot versions.
7566
7567 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7568
7569 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7570 New function, replacement for `smie-rule-parent' for when we want to
7571 skip over our direct parent if it's an assignment token..
7572 (ruby-smie-rules): Use it.
7573
7574 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7575
7576 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7577 unconditionally. Remove now unnecessary forward declarations.
7578 Remove XEmacs-specific setup.
7579 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7580 (ruby-font-lock-syntactic-keywords)
7581 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7582 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7583 (ruby-here-doc-end-syntax): Remove.
7584 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7585 defined as function.
7586
7587 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7588
7589 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7590
7591 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7592
7593 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7594 table and abbrev table, `define-derived-mode' does that for us
7595 anyway.
7596
7597 2013-11-01 Glenn Morris <rgm@gnu.org>
7598
7599 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7600 files is atomic for some time, so no parallel compilation issues).
7601
7602 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7603
7604 * faces.el (face-x-resources): Add :distant-foreground.
7605 (region): Use :distant-foreground for gtk and ns.
7606
7607 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7608
7609 Allow multiple bibliographies when BibLaTeX is used rather than
7610 BibTeX.
7611 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7612 (reftex-locate-bibliography-files): Us it.
7613
7614 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7615
7616 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7617 allow comments in pbm files.
7618
7619 * term/w32-win.el (dynamic-library-alist): Support newer versions
7620 of libjpeg starting with v7: look only for the DLL from the
7621 version against which Emacs was built.
7622 Support versions of libpng beyond 1.4.x.
7623 Support libtiff v4.x.
7624
7625 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7626
7627 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7628 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7629 Add property :safe.
7630 (ruby-deep-arglist): Add property :type.
7631
7632 2013-10-31 Glenn Morris <rgm@gnu.org>
7633
7634 * Makefile.in (custom-deps, finder-data): No need to setq the target
7635 variables, we are in the right directory and the defaults work fine.
7636
7637 2013-10-30 Glenn Morris <rgm@gnu.org>
7638
7639 * Makefile.in (autoloads): Do not use abs_lisp.
7640
7641 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7642 `newline' does not respect `standard-output', so use `princ'.
7643
7644 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7645
7646 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7647 * buff-menu.el (Buffer-menu--unmark): New function.
7648 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7649
7650 2013-10-30 Glenn Morris <rgm@gnu.org>
7651
7652 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7653
7654 * emacs-lisp/package.el (lm-homepage): Declare.
7655
7656 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7657 Fix doc typos.
7658
7659 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7660
7661 * Makefile.in (finder-data, autoloads, update-subdirs)
7662 (compile-main, compile-clean, compile-always, bootstrap-clean):
7663 Check return value of cd.
7664 (compile-calc): Remove.
7665
7666 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7667
7668 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7669
7670 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7671 (byte-compile-and-folded): New function.
7672 (=, <, >, <=, >=): Use it.
7673
7674 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7675 (path-separator, null-device, buffer-file-coding-system)
7676 (lpr-headers-switches): Check system-type before modifying them.
7677 (find-buffer-file-type-coding-system): Mark obsolete.
7678 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7679 find-file-not-found-set-buffer-file-coding-system.
7680 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7681 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7682 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7683 (w32-direct-print-region-helper, w32-direct-print-region-function)
7684 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7685 * startup.el (normal-top-level-add-subdirs-to-load-path):
7686 * ps-print.el (ps-print-region-function):
7687 * lpr.el (print-region-function): Use new name.
7688
7689 * subr.el (custom-declare-variable-early): Remove function.
7690 (custom-declare-variable-list): Remove var.
7691 (error, user-error): Remove `while' loop.
7692 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7693 (user-emacs-directory-warning, locate-user-emacs-file):
7694 Move to files.el.
7695 * simple.el (read-quoted-char-radix, read-quoted-char):
7696 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7697 Move from subr.el.
7698 * custom.el (custom-declare-variable-list): Don't process
7699 custom-declare-variable-list.
7700
7701 * progmodes/python.el (python-shell-get-buffer): New function.
7702 (python-shell-get-process): Use it.
7703 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7704 Python which encoding was used. Don't split-string since we only care
7705 about the first line. Return the temp-file, if applicable.
7706 (python-shell-send-region): Tell compile.el how to turn locations in
7707 the temp-file into locations in the source buffer.
7708
7709 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7710
7711 * subr.el (undefined): Add missing behavior from the C code for
7712 unbound keys.
7713
7714 * rect.el: Use lexical-binding. Add new rectangular region support.
7715 (rectangle-mark): New command.
7716 (rectangle--region): New var.
7717 (deactivate-mark-hook): Reset rectangle--region.
7718 (rectangle--extract-region, rectangle--insert-for-yank)
7719 (rectangle--highlight-for-redisplay)
7720 (rectangle--unhighlight-for-redisplay): New functions.
7721 (region-extract-function, redisplay-unhighlight-region-function)
7722 (redisplay-highlight-region-function): Use them to handle
7723 rectangular region.
7724 * simple.el (region-extract-function): New var.
7725 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7726 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7727 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7728 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7729 (redisplay-unhighlight-region-function)
7730 (redisplay-highlight-region-function): New vars.
7731 (redisplay--update-region-highlight): New function.
7732 (pre-redisplay-function): Use it.
7733 (exchange-point-and-mark): Don't deactivate the mark before
7734 reactivate-it anyway.
7735 * comint.el (comint-kill-region): Remove yank-handler argument.
7736 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7737 (delete-char): Remove property, since it's now part of their
7738 default behavior.
7739 (self-insert-iso): Remove property since this command doesn't exist.
7740
7741 * emacs-lisp/package.el (package--download-one-archive)
7742 (describe-package-1): Don't query the user about final newline.
7743
7744 2013-10-29 Daniel Colascione <dancol@dancol.org>
7745
7746 * net/tramp.el (tramp-methods): Document new functionality.
7747 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7748 tramp-hostname-checker if method provides one instead of scanning
7749 argument list for "%h" to decide hostname acceptability.
7750
7751 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7752
7753 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7754 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7755 Handle COPY-CONTENTS. (Bug#15737)
7756
7757 2013-10-28 Daiki Ueno <ueno@gnu.org>
7758
7759 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7760 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7761
7762 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7763
7764 * image.el (defimage, image-load-path): Doc fixes.
7765
7766 2013-10-27 Alan Mackenzie <acm@muc.de>
7767
7768 Indent statements in macros following "##" correctly.
7769 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7770 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7771
7772 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7773
7774 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7775
7776 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7777
7778 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7779 after `=' is probably a new expression.
7780
7781 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7782
7783 * man.el (man-imenu-title): New option.
7784 (Man-mode-map): Add menu. (Bug#15722)
7785 (Man-mode): Add imenu to menu.
7786
7787 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7788
7789 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7790 specific in what the first arg can be: a non-keyword word,
7791 string/regexp/percent literal opener, opening paren, or unary
7792 operator followed directly by word.
7793
7794 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7795
7796 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7797 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7798 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7799 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7800 Remove vars, they do not apply any more.
7801 (prolog-mode-abbrev-table): Remove redundant declaration.
7802 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7803 (prolog-use-smie): Remove.
7804 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7805 supported by prolog-electric-if-then-else-flag.
7806 (prolog-mode-variables, prolog-menu): Use setq-local.
7807 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7808 Remove binding to `Backspace' since this key doesn't exist anyway.
7809 Remove bindings for electric self-inserting keys.
7810 (prog-mode): Assume it's defined.
7811 (prolog-post-self-insert): New function.
7812 (prolog-mode): Use it.
7813 (prolog-indent-line, prolog-indent-level)
7814 (prolog-find-indent-of-matching-paren)
7815 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7816 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7817 (prolog-goto-next-paren, prolog-in-string-or-comment)
7818 (prolog-tokenize, prolog-inside-mline-comment)
7819 (prolog-find-start-of-mline-comment): Remove functions.
7820 (prolog-find-unmatched-paren, prolog-clause-end)
7821 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7822 (prolog-electric--if-then-else): Rename from
7823 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7824 (prolog-tokenize-searchkey): Remove const.
7825 (prolog-clause-info): Use forward-sexp.
7826 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7827 (prolog-electric-if-then-else): Remove commands.
7828 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7829 for use in post-self-insert-hook.
7830 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7831 for use in post-self-insert-hook.
7832 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7833 for use in post-self-insert-hook.
7834 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7835 adapt it for use in post-self-insert-hook.
7836
7837 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7838
7839 * emacs-lisp/ert.el (ert-run-tests-interactively):
7840 Use `completing-read'. (Bug#9756)
7841
7842 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7843
7844 * simple.el (line-move): Call line-move-1 instead of
7845 line-move-visual when the current window hscroll is zero, but
7846 temporary-goal-column indicates we will need to hscroll as result
7847 of the movement. (Bug#15712)
7848
7849 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7850
7851 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7852 capitalization. Use :visible instead of :active.
7853 Fix `ruby-indent-exp' reference. Add menu items for the generic
7854 commands that are used with SMIE.
7855 (ruby-do-end-to-brace): Insert space after `{'.
7856
7857 2013-10-25 John Anthony <john@jo.hnanthony.com>
7858
7859 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7860
7861 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7862
7863 2013-10-25 Glenn Morris <rgm@gnu.org>
7864
7865 * vc/vc.el (vc-print-log): Don't use a working revision unless
7866 one was explicitly specified. (Bug#15322)
7867
7868 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7869
7870 * subr.el (add-to-list): Preserve return value in compiler-macro
7871 (bug#15692).
7872
7873 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7874
7875 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7876 result. Ask user to retry using '-all' flag. (Bug#15701)
7877
7878 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7879
7880 * emacs-lisp/smie.el: New smie-config system.
7881 (smie-config): New defcustom.
7882 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7883 (smie-config-guess, smie-config-save): New commands.
7884 (smie-config--mode-local, smie-config--buffer-local)
7885 (smie-config--trace, smie-config--modefuns): New vars.
7886 (smie-config--advice, smie-config--mode-hook)
7887 (smie-config--setter, smie-config-local, smie-config--get-trace)
7888 (smie-config--guess-value, smie-config--guess): New functions.
7889 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7890 text properties. Treat "string fence" syntax like string syntax.
7891
7892 * progmodes/sh-script.el (sh-use-smie): Change default.
7893 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7894 (sh-var-value): Simplify by CSE.
7895 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7896 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7897 is used.
7898 (sh-guess-basic-offset): Use cl-incf.
7899 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7900
7901 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7902
7903 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7904 (bug#15699).
7905
7906 2013-10-24 Glenn Morris <rgm@gnu.org>
7907
7908 * Makefile.in (abs_top_srcdir): Remove.
7909 (update-subdirs): Use relative path to update-subdirs.
7910
7911 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7912
7913 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7914 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7915 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7916 Call unmsys--file-name before expand-file-name, not after it.
7917
7918 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7919
7920 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7921 (ert-test-skipped): New error.
7922 (ert-skip, ert-stats-skipped): New defuns.
7923 (ert--skip-unless): New macro.
7924 (ert-test-skipped): New struct.
7925 (ert--run-test-debugger, ert-test-result-type-p)
7926 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7927 (ert--stats-set-test-and-result, ert-char-for-test-result)
7928 (ert-string-for-test-result, ert-run-tests-batch)
7929 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7930 Handle skipped tests. (Bug#9803)
7931
7932 2013-10-24 Glenn Morris <rgm@gnu.org>
7933
7934 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7935
7936 * Makefile.in (abs_top_srcdir): New, set by configure.
7937 (update-subdirs): Correct build-aux location.
7938
7939 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7940
7941 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7942 value, whether we could auto-deduce `backend', or not.
7943
7944 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7945 with parameters" example. Simplify the "is it block or is it
7946 hash" check, but also make it more thorough.
7947
7948 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7949
7950 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7951
7952 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7953
7954 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7955 { if it is hanging.
7956
7957 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7958 :before ";".
7959
7960 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7961
7962 * progmodes/compile.el (compilation-directory-matcher)
7963 (compilation-page-delimiter):
7964 Support GNU Make-4.0 directory quoting. (Bug#15678)
7965
7966 2013-10-23 Leo Liu <sdl.web@gmail.com>
7967
7968 * ido.el (ido-tidy): Handle read-only text.
7969
7970 2013-10-23 Glenn Morris <rgm@gnu.org>
7971
7972 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7973 (emacs, compile, compile-always):
7974 Quote entities that might contain whitespace.
7975 (custom-deps, finder-data, autoloads): Use abs_lisp.
7976 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7977 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7978 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7979
7980 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7981
7982 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7983 Use `following-char'.
7984
7985 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7986
7987 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7988 * progmodes/ruby-mode.el (ruby-smie-rules):
7989 Remove corresponding workaround. Fix indentation rule of ";" so it
7990 also applies when ";" is the parent.
7991
7992 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7993
7994 * frame.el (display-screens, display-pixel-height)
7995 (display-pixel-width, display-mm-width, display-backing-store)
7996 (display-save-under, display-planes, display-color-cells)
7997 (display-visual-class, display-monitor-attributes-list):
7998 Mention the optional ‘display’ argument in doc strings.
7999
8000 2013-10-22 Michael Gauland <mikelygee@amuri.net>
8001
8002 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
8003 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
8004
8005 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8006
8007 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
8008 TODO. Add "." after " @ ".
8009 (ruby-smie--at-dot-call): New function. Checks if point at method
8010 call with explicit target.
8011 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
8012 to the method name tokens when it precedes them.
8013 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
8014 (ruby-smie-rules): Add rule for indentation before and after "."
8015 token.
8016
8017 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
8018
8019 * textmodes/remember.el (remember-diary-extract-entries):
8020 Avoid add-to-list.
8021
8022 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
8023 an instruction.
8024
8025 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8026
8027 * progmodes/ruby-mode.el (ruby-smie-grammar):
8028 Add (almost) all infix operators.
8029 (ruby-smie--implicit-semi-p): Add new operator chars.
8030
8031 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8032 `smie-down-list'.
8033 (ruby-smie--args-separator-p): Check that there's no newline
8034 between method call and its arguments.
8035
8036 2013-10-20 Alan Mackenzie <acm@muc.de>
8037
8038 Allow comma separated lists after Java "implements".
8039
8040 * progmodes/cc-engine.el (c-backward-over-enum-header):
8041 Parse commas.
8042 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
8043 from a "disallowed" list in enum fontification.
8044
8045 2013-10-20 Johan Bockgård <bojohan@gnu.org>
8046
8047 * startup.el (default-frame-background-mode): Remove unused defvar.
8048
8049 * progmodes/verilog-mode.el (verilog-mode): Don't set
8050 comment-indent-function globally.
8051
8052 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
8053
8054 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
8055 Move Info menu item creation to ns-win.el.
8056
8057 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
8058 in menu bar.
8059
8060 * menu-bar.el: Move GNUstep specific menus...
8061
8062 * term/ns-win.el (ns-initialize-window-system): ... to here.
8063
8064 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8065
8066 * simple.el (newline): Only run post-self-insert-hook when
8067 called interactively.
8068
8069 2013-10-19 Johan Bockgård <bojohan@gnu.org>
8070
8071 * icomplete.el (icomplete-with-completion-tables): Add :version.
8072
8073 2013-10-19 Alan Mackenzie <acm@muc.de>
8074
8075 Fix fontification bugs with constructors and const.
8076
8077 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
8078 CASE 2) Remove the check for the absence of a suffix construct
8079 after a function declaration with only types (no identifiers) in
8080 the parentheses. Also, accept a function declaration with just a
8081 type inside the parentheses, if this type can be positively
8082 recognised as such, or if a prefix keyword like "explicit" nails
8083 down the construct as a declaration.
8084
8085 2013-10-19 Eli Zaretskii <eliz@gnu.org>
8086
8087 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
8088 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
8089 the problem whereby selecting a menu item that leads to a
8090 minibuffer prompt moves the cursor out of the minibuffer window,
8091 making it hard to type at the prompt. Suggested by Stefan Monnier
8092 <monnier@iro.umontreal.ca>.
8093
8094 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
8095
8096 * menu-bar.el: Don't make Services menu.
8097
8098 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8099
8100 * ffap.el: Handle "/usr/include/c++/<version>" directories.
8101 (ffap-alist): Use ffap-c++-mode for c++-mode.
8102 (ffap-c++-path): New variable.
8103 (ffap-c++-mode): New function.
8104
8105 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
8106
8107 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
8108
8109 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
8110
8111 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
8112 introduced on 2013-09-08, which results in an infinite loop
8113 requesting a password.
8114
8115 2013-10-18 Glenn Morris <rgm@gnu.org>
8116
8117 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
8118
8119 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
8120
8121 Sync with upstream verilog-mode revision 1a6ecec7.
8122 * progmodes/verilog-mode.el (verilog-mode-version): Update.
8123 (verilog-mode-release-date): Remove.
8124 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
8125 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
8126 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
8127 (verilog-auto-tieoff-ignore-regexp)
8128 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
8129 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
8130 (verilog-signals-with, verilog-dir-cache-preserving)
8131 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
8132 Doc fixes.
8133 (verilog-case-fold): New option, to control case folding in
8134 regexp searches, bug597.
8135 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
8136 (verilog-string-match-fold, verilog-in-paren-count)
8137 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
8138 (verilog-at-close-struct-p): New functions.
8139 (verilog-beg-block-re-ordered, verilog-extended-case-re)
8140 (verilog-forward-sexp, verilog-set-auto-endcomments)
8141 (verilog-leap-to-case-head): Handle "unique0" case.
8142 (verilog-in-constraint-re): New constant.
8143 (verilog-keywords, verilog-type-font-keywords):
8144 Add some SystemVerilog 1800-2012 keywords.
8145 (verilog-label-be): Remove unimplemented argument, bug669.
8146 (verilog-batch-execute-func): When batch expanding clear
8147 create-lockfiles to prevent spurious user locks when a file ends
8148 up not changing.
8149 (verilog-calculate-indent, verilog-calc-1)
8150 (verilog-at-close-constraint-p, verilog-at-constraint-p)
8151 (verilog-do-indent): Fix indentation of nested constraints
8152 and structures.
8153 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
8154 (verilog-auto-inst-param): Use verilog-string-match-fold.
8155 (verilog-read-inst-module-matcher):
8156 Fix AUTOINST on gate primitives with #1.
8157 (verilog-read-decls): Fix double-declaring user-defined typed signals.
8158 Reads all user-defined typed variables.
8159 (verilog-read-defines): Fix reading definitions inside comments, bug647.
8160 (verilog-signals-matching-regexp)
8161 (verilog-signals-not-matching-regexp, verilog-auto):
8162 Respect verilog-case-fold.
8163 (verilog-diff-report): Fix line count.
8164 (verilog-auto-assign-modport): Remove unused local `modi'.
8165 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
8166 better handle multidimensional arrays.
8167 Fix packed array ports misadding bit index in AUTOINST, bug637.
8168 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
8169 to not double-declare existing outputs and inputs, respectively.
8170 (verilog-template-map): Bind U to verilog-sk-uvm-component.
8171 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
8172 (verilog-sk-uvm-component): New skeleton.
8173 (verilog-submit-bug-report): Add verilog-case-fold,
8174 remove verilog-mode-release-date.
8175
8176 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
8177
8178 * subr.el (sit-for): Call (input-pending-p t) so as to behave
8179 as before.
8180
8181 2013-10-18 Reuben Thomas <rrt@sc3d.org>
8182
8183 * textmodes/remember.el (remember): Set buffer-offer-save in
8184 remember buffers (bug#13566).
8185
8186 2013-10-18 Daniel Colascione <dancol@dancol.org>
8187
8188 When evaluating forms in ielm, direct standard output to ielm
8189 buffer. Add new ielm-return-for-effect command. Remove trailing
8190 whitespace throughout.
8191
8192 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
8193 (ielm-return-for-effect): New command.
8194 (ielm-send-input): Accept optional `for-effect' parameter.
8195 (ielm-eval-input): Accept optional `for-effect' parameter.
8196 Bind `standard-output' to stream we create using
8197 `ielm-standard-output-impl'. Suppress printing result when
8198 `for-effect'.
8199 (ielm-standard-output-impl): New function.
8200 (inferior-emacs-lisp-mode): Explain new features in documentation.
8201
8202 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
8203
8204 Code cleanup.
8205
8206 * net/tramp.el (tramp-debug-message): Do not check for connection
8207 buffer.
8208 (tramp-message): Use "vector" connection property.
8209
8210 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
8211 (tramp-equal-remote, tramp-eshell-directory-change)
8212 * net/tramp-adb.el (tramp-adb-handle-copy-file)
8213 (tramp-adb-handle-rename-file)
8214 * net/tramp-cmds.el (tramp-list-remote-buffers)
8215 (tramp-cleanup-connection, tramp-cleanup-this-connection)
8216 * net/tramp-compat.el (tramp-compat-process-running-p)
8217 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
8218 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
8219 (tramp-gvfs-handle-rename-file)
8220 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8221 (tramp-set-file-uid-gid)
8222 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8223 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
8224 of `file-remote-p'.
8225
8226 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
8227 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8228 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
8229 (tramp-gw-open-network-stream): Suppress unrelated traces.
8230
8231 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
8232 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8233 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8234 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
8235 connection property.
8236
8237 * net/tramp-cache.el (top): Suppress traces when reading
8238 persistency file.
8239
8240 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8241 Refactor common code. Improve debug message.
8242 (tramp-maybe-open-connection)
8243 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
8244 connection buffer too early.
8245
8246 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
8247 from `tramp-smb-actions-with-acl'.
8248 (tramp-smb-actions-set-acl): New defconst.
8249 (tramp-smb-handle-copy-directory)
8250 (tramp-smb-action-get-acl): New defun, renamed from
8251 `tramp-smb-action-with-acl'.
8252 (tramp-smb-action-set-acl): New defun.
8253 (tramp-smb-handle-set-file-acl): Rewrite.
8254
8255 2013-10-17 Glenn Morris <rgm@gnu.org>
8256
8257 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
8258
8259 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8260
8261 * skeleton.el (skeleton-newline): Remove.
8262 (skeleton-internal-1): Use (insert "\n") instead.
8263
8264 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
8265 let-bindings.
8266
8267 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
8268 forward-sexp-function while we redo its job (bug#15613).
8269
8270 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
8271
8272 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
8273 represented by lists.
8274
8275 2013-10-16 Glenn Morris <rgm@gnu.org>
8276
8277 * tmm.el (tmm--history): New dynamic variable.
8278 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
8279
8280 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
8281
8282 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
8283 (tramp-smb-errors): Add error messages.
8284 (tramp-smb-actions-with-acl): New defconst.
8285 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
8286 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
8287 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
8288 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
8289 (tramp-smb-get-stat-capability): Fix tests.
8290
8291 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
8292
8293 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
8294 (bug#15580).
8295
8296 2013-10-16 Glenn Morris <rgm@gnu.org>
8297
8298 * ansi-color.el (ansi-color-drop-regexp):
8299 Add 1J, 1K, 2K. (Bug#15617)
8300
8301 * files.el (hack-local-variables--warned-lexical): New.
8302 (hack-local-variables):
8303 Warn about misplaced lexical-binding. (Bug#15616)
8304
8305 * net/eww.el (eww-render): Always set eww-current-url,
8306 and update header line. (Bug#15622)
8307 (eww-display-html): ... Rather than just doing it here.
8308
8309 2013-10-15 Eli Zaretskii <eliz@gnu.org>
8310
8311 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
8312 menu navigations commands.
8313
8314 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
8315
8316 * progmodes/subword.el (subword-capitalize): Be careful when
8317 the search for [[:alpha:]] fails (bug#15580).
8318
8319 2013-10-14 Eli Zaretskii <eliz@gnu.org>
8320
8321 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
8322 to commands that scroll the menu.
8323
8324 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
8325
8326 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
8327 Handle methods ending with `?' and `!'.
8328
8329 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
8330
8331 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8332 `japanese-cp932' to `cp932' to fix the problem where saving a
8333 source file written in Shift_JIS twice would end up having
8334 `coding: japanese-cp932' which Ruby could not recognize.
8335 (ruby-mode-set-encoding): Add support for encodings mapped to nil
8336 in `ruby-encoding-map'.
8337 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8338 doesn't need to be explicitly declared in magic comment.
8339 (ruby-encoding-map): Add type declaration for better customize UI.
8340
8341 2013-10-13 Glenn Morris <rgm@gnu.org>
8342
8343 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8344 Occur buffers are read-only. http://bugs.debian.org/720775
8345
8346 * emacs-lisp/authors.el (authors-fixed-entries):
8347 Comment out old alpha stuff.
8348
8349 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
8350
8351 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8352 to `after-save-hook' instead of `before-save-hook'.
8353 (ruby-mode-set-encoding): Use the value of coding system used to
8354 write the file. Call `basic-save-buffer-1' after modifying the
8355 buffer.
8356
8357 2013-10-13 Alan Mackenzie <acm@muc.de>
8358
8359 Fix indentation/fontification of Java enum with
8360 "implements"/generic.
8361
8362 * progmodes/cc-engine.el (c-backward-over-enum-header):
8363 Extracted from the three other places and enhanced to handle generics.
8364 (c-inside-bracelist-p): Uses new function above.
8365 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8366 function above.
8367 (c-font-lock-enum-tail): Uses new function above.
8368
8369 2013-10-13 Kenichi Handa <handa@gnu.org>
8370
8371 * international/mule-cmds.el (select-safe-coding-system): Remove a
8372 superfluous condition in chekcing whether a coding system is safe
8373 or not.
8374
8375 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
8376
8377 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
8378
8379 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
8380
8381 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
8382
8383 2013-10-13 Glenn Morris <rgm@gnu.org>
8384
8385 * menu-bar.el (menu-bar-update-buffers):
8386 Unify Buffers menu prompt string. (Bug#15576)
8387
8388 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
8389
8390 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8391 Add some entries.
8392 (authors-fixed-entries): Use accented form of name.
8393
8394 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8395
8396 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8397 method calls (bug#15594).
8398 (ruby-smie--args-separator-p): New function.
8399 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8400 recognize paren-free method calls.
8401
8402 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8403 internals of universal-argument.
8404
8405 2013-10-11 Eli Zaretskii <eliz@gnu.org>
8406
8407 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8408 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8409 dropped menu on second mouse click on the menu bar.
8410
8411 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8412
8413 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8414 (explicit-shell-file-name): Declare.
8415 (sh--vars-before-point, sh--cmd-completion-table): New functions.
8416 (sh-completion-at-point-function): New function.
8417 (sh-mode): Use it.
8418 (sh-smie--keyword-p): Remove unused argument.
8419 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8420 vars.
8421 (sh-set-shell): Always setup SMIE, even if we use the
8422 old indentation code.
8423
8424 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
8425
8426 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8427 cases of ? and =.
8428 (ruby-smie-rules): Simplify the "do" rule. The cases when the
8429 predicate would return nil are almost non-existent.
8430 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8431
8432 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8433 cache also after commands that modify the buffer but don't move
8434 point.
8435
8436 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8437
8438 * env.el (substitute-env-in-file-name): New function.
8439 (substitute-env-vars): Extend the meaning of the optional arg.
8440
8441 2013-10-10 Eli Zaretskii <eliz@gnu.org>
8442
8443 * term/w32-win.el (dynamic-library-alist): Define separate lists
8444 of GIF DLLs for versions before and after 5.0.0 of giflib.
8445 (Bug#15531)
8446
8447 2013-10-10 João Távora <joaotavora@gmail.com>
8448
8449 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8450 not locked, use last revision and current source as
8451 defaults. (Bug#15569)
8452
8453 2013-10-10 Masatake YAMATO <yamato@redhat.com>
8454
8455 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8456 menu-bar is hidden.
8457
8458 2013-10-10 Martin Rudalics <rudalics@gmx.at>
8459
8460 * window.el (pop-to-buffer-same-window): Fix doc-string.
8461 (Bug#15492)
8462
8463 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8464
8465 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8466
8467 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8468
8469 * calendar/icalendar.el (icalendar-import-file):
8470 Fix interactive spec. (Bug#15482)
8471
8472 2013-10-10 Glenn Morris <rgm@gnu.org>
8473
8474 * desktop.el (desktop-save): Default to saving in .emacs.d,
8475 since PWD is no longer in desktop-path by default. (Bug#15319)
8476
8477 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8478 now that text mode has a menu with the same entry.
8479 (menu-bar-text-mode-auto-fill): Remove now unused func.
8480 * textmodes/text-mode.el (text-mode-map):
8481 Use auto-fill help text from menu-bar.el.
8482
8483 2013-10-10 John Anthony <john@jo.hnanthony.com>
8484
8485 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8486
8487 2013-10-09 Juri Linkov <juri@jurta.org>
8488
8489 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8490 instead of this-command-keys. Add universal-argument-more and
8491 universal-argument-minus to the list of prefix commands. (Bug#15568)
8492
8493 2013-10-09 Glenn Morris <rgm@gnu.org>
8494
8495 * vc/vc-svn.el (vc-svn-create-repo):
8496 Expand paths in file://... url. (Bug#15446)
8497
8498 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8499 Add some entries.
8500 (authors): Remove unused local variables.
8501
8502 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8503
8504 * profiler.el: Create a more coherent calltree from partial backtraces.
8505 (profiler-format): Hide the tail with `invisible' so that C-s can still
8506 find the hidden elements.
8507 (profiler-calltree-depth): Don't recurse so enthusiastically.
8508 (profiler-function-equal): New hash-table-test.
8509 (profiler-calltree-build-unified): New function.
8510 (profiler-calltree-build): Use it.
8511 (profiler-report-make-name-part): Indent the calltree less.
8512 (profiler-report-mode): Add visibility specs for profiler-format.
8513 (profiler-report-expand-entry, profiler-report-toggle-entry):
8514 Expand the whole subtree when provided with a prefix arg.
8515
8516 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8517
8518 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8519 iuwu-mod token.
8520 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8521 hanging iuwu-mod token.
8522 (ruby-smie--forward-token): Do not include a dot after a token in
8523 that token.
8524 (ruby-smie--backward-token): Likewise.
8525
8526 2013-10-08 Juri Linkov <juri@jurta.org>
8527
8528 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8529 to isearch-other-control-char.
8530 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8531 and isearch-post-command-hook to post-command-hook.
8532 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8533 and isearch-post-command-hook from post-command-hook.
8534 (isearch-unread-key-sequence)
8535 (isearch-reread-key-sequence-naturally)
8536 (isearch-lookup-scroll-key, isearch-other-control-char)
8537 (isearch-other-meta-char): Remove functions.
8538 (isearch-pre-command-hook, isearch-post-command-hook):
8539 New functions based on isearch-other-meta-char rewritten
8540 relying on the new behavior of overriding-terminal-local-map
8541 that does not replace the local keymaps any more. (Bug#15200)
8542
8543 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8544
8545 Support menus on text-mode terminals.
8546 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8547 functionality.
8548
8549 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8550
8551 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8552 Move here from mouse.el.
8553 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8554 and arrow keys.
8555 (tty-menu-navigation-map): New map for TTY menu navigation.
8556
8557 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8558
8559 * frame.el (display-mouse-p): Report text-mode mouse as available
8560 on w32.
8561 (display-popup-menus-p): Report availability if mouse is
8562 available; don't condition on window-system.
8563
8564 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8565 (tty-menu-selected-face): New faces.
8566
8567 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8568
8569 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8570 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8571 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8572 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8573 New constants.
8574 (lisp-mode-variables): New `elisp' argument.
8575 (emacs-lisp-mode): Use it.
8576 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8577 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8578
8579 * indent.el: Use lexical-binding.
8580 (indent-region): Add progress reporter.
8581 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8582 last step.
8583 (indent--next-tab-stop): New function to implement this behavior.
8584 (tab-to-tab-stop, move-to-tab-stop): Use it.
8585
8586 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8587
8588 * indent.el (indent-rigidly--current-indentation): New function.
8589 (indent-rigidly-map): New var.
8590 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8591
8592 2013-10-08 Bastien Guerry <bzg@gnu.org>
8593
8594 * register.el (insert-register): Fix 2013-10-07 change.
8595
8596 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8597
8598 * progmodes/perl-mode.el: Use lexical-binding.
8599 Remove redundant :group args.
8600 (perl-nochange): Change default to be closer to other major modes's
8601 standard behavior.
8602 (perl-indent-line): Don't consider text on current line as a
8603 valid beginning of function from which to indent.
8604
8605 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8606 with more than one argument (bug#15538).
8607
8608 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8609
8610 * vc/pcvs.el: Use lexical-binding.
8611 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8612 environment of `eval'.
8613 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8614 than a list of expressions. Adjust callers.
8615 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8616
8617 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8618
8619 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8620 case of the dot in a chained method call being on the following line.
8621
8622 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8623
8624 * electric.el (electric-indent-inhibit): New var.
8625 (electric-indent-post-self-insert-function): Use it.
8626 * progmodes/python.el (python-mode): Set it.
8627
8628 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8629 open braces.
8630
8631 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8632
8633 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8634 (css-mode): Use electric-indent-chars.
8635
8636 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8637 (font-lock-beg, font-lock-end): Move before first use.
8638 (nxml-mode): Use syntax-propertize-function.
8639 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8640 (nxml-extend-after-change-region): Remove.
8641 * nxml/xmltok.el: Use lexical-binding.
8642 (xmltok-save): Use `declare'.
8643 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8644 * nxml/nxml-util.el: Use lexical-binding.
8645 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8646 Use `declare'.
8647 * nxml/nxml-ns.el: Use lexical-binding.
8648 (nxml-ns-save): Use `declare'.
8649 (nxml-ns-prefixes-for): Avoid add-to-list.
8650 * nxml/rng-match.el: Use lexical-binding.
8651 (rng--ipattern): Use cl-defstruct.
8652 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8653 (rng-cons-group-after, rng-subst-group-after)
8654 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8655 Use closures instead of `(lambda...).
8656
8657 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8658
8659 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8660 of BEG and END.
8661
8662 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8663 Use `tramp-handle-insert-file-contents'.
8664 (tramp-gvfs-handle-insert-file-contents): Remove function.
8665
8666 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8667 Use `save-restriction' in order to keep markers.
8668
8669 * net/trampver.el: Update release number.
8670
8671 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8672
8673 * progmodes/compile.el (compilation-parse-errors):
8674 Use compilation--put-prop.
8675 (compilation--ensure-parse): Check compilation-multiline.
8676
8677 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8678
8679 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8680 lexical-binding.
8681
8682 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8683
8684 * progmodes/ruby-mode.el: Fix recently added tests.
8685 (ruby-smie-grammar): Add - and +.
8686 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8687 (ruby-smie--backward-id): New functions.
8688 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8689 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8690 any more.
8691
8692 2013-10-07 Leo Liu <sdl.web@gmail.com>
8693
8694 * register.el (register-preview-delay)
8695 (register-preview-functions): New variables.
8696 (register-read-with-preview, register-preview)
8697 (register-describe-oneline): New functions.
8698 (point-to-register, window-configuration-to-register)
8699 (frame-configuration-to-register, jump-to-register)
8700 (number-to-register, view-register, insert-register)
8701 (copy-to-register, append-to-register, prepend-to-register)
8702 (copy-rectangle-to-register): Use register-read-with-preview to
8703 read register. (Bug#15525)
8704
8705 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8706
8707 * net/network-stream.el (network-stream-open-starttls): Don't add
8708 --insecure if it's already present, because that gnutls-cli
8709 rejects getting that parameter twice.
8710
8711 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8712
8713 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8714 keyword, too.
8715
8716 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8717
8718 * newcomment.el (comment-use-global-state): Change default value
8719 to t, mark obsolete (Bug#15251).
8720 (comment-beginning): In addition to `comment-to-syntax', check the
8721 value of `comment-use-global-state'.
8722
8723 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8724
8725 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8726 (ruby-comment-column): Follow the global default, by default.
8727 (ruby-smie-grammar): Add assignment syntax.
8728 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8729 open-paren, a comma, or a \.
8730 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8731 and line continuations.
8732 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8733 followed by implicit semi-colons. Add rule for string concatenation
8734 and for indentation at BOB.
8735 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8736
8737 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8738 calling next-sexp, since next-token may have skipped chars which
8739 next-sexp doesn't know should be skipped!
8740
8741 2013-10-05 Leo Liu <sdl.web@gmail.com>
8742
8743 * progmodes/octave.el (octave-send-region):
8744 Call compilation-forget-errors.
8745
8746 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8747
8748 * vc/vc-svn.el (vc-svn-find-admin-dir):
8749 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8750 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8751 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8752 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8753
8754 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8755
8756 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8757
8758 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8759
8760 * subr.el (read-passwd): Hide chars even when called within a context
8761 where after-change-functions is disabled (bug#15501).
8762 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8763 until we removed ourself from overriding-terminal-local-map.
8764
8765 2013-10-04 Leo Liu <sdl.web@gmail.com>
8766
8767 * progmodes/octave.el (inferior-octave-mode):
8768 Call compilation-forget-errors.
8769
8770 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8771
8772 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8773
8774 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8775
8776 * net/secrets.el (secrets-create-collection): Add optional
8777 argument ALIAS. Use proper Label keyword. Append ALIAS as
8778 dbus-call-method argument. (Bug#15516)
8779
8780 2013-10-04 Leo Liu <sdl.web@gmail.com>
8781
8782 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8783 (inferior-octave-compilation-font-lock-keywords): New variables.
8784 (compilation-error-regexp-alist)
8785 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8786 (inferior-octave-mode): Use compilation-shell-minor-mode.
8787
8788 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8789
8790 * minibuffer.el (completion--replace): Be careful that `end' might be
8791 a marker.
8792
8793 2013-10-03 Daiki Ueno <ueno@gnu.org>
8794
8795 Add support for package signature checking.
8796 * emacs-lisp/package.el (url-http-file-exists-p)
8797 (epg-make-context, epg-context-set-home-directory)
8798 (epg-verify-string, epg-context-result-for)
8799 (epg-signature-status, epg-signature-to-string)
8800 (epg-check-configuration, epg-configuration)
8801 (epg-import-keys-from-file): Declare.
8802 (package-check-signature): New user option.
8803 (package-unsigned-archives): New user option.
8804 (package-desc): Add `signed' field.
8805 (package-load-descriptor): Set `signed' field if .signed file exists.
8806 (package--archive-file-exists-p): New function.
8807 (package--check-signature): New function.
8808 (package-install-from-archive): Check package signature.
8809 (package--download-one-archive): Check archive signature.
8810 (package-delete): Remove .signed file.
8811 (package-import-keyring): New command.
8812 (package-refresh-contents): Import default keyring.
8813 (package-desc-status): Add "unsigned" status.
8814 (describe-package-1, package-menu--print-info)
8815 (package-menu-mark-delete, package-menu--find-upgrades)
8816 (package-menu--status-predicate): Support "unsigned" status.
8817
8818 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8819
8820 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8821 the new compilation scheme using the new byte-codes.
8822
8823 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8824 (byte-pophandler): New byte codes.
8825 (byte-goto-ops): Adjust accordingly.
8826 (byte-compile--use-old-handlers): New var.
8827 (byte-compile-catch): Use new byte codes depending on
8828 byte-compile--use-old-handlers.
8829 (byte-compile-condition-case--old): Rename from
8830 byte-compile-condition-case.
8831 (byte-compile-condition-case--new): New function.
8832 (byte-compile-condition-case): New function that dispatches depending
8833 on byte-compile--use-old-handlers.
8834 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8835 when we can.
8836
8837 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8838 Optimize under `condition-case' and `catch' if
8839 byte-compile--use-old-handlers is nil.
8840 (disassemble-offset): Handle new bytecodes.
8841
8842 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8843
8844 * subr.el (error): Use `declare'.
8845 (decode-char, encode-char): Use advertised-calling-convention instead
8846 of the docstring to discourage use of the `restriction' arg.
8847
8848 2013-10-03 Daiki Ueno <ueno@gnu.org>
8849
8850 * epg.el (epg-verify-file): Add a comment saying that it does not
8851 notify verification error as a return value nor a signal.
8852 (epg-verify-string): Ditto.
8853
8854 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8855
8856 * progmodes/compile.el (compilation-start): Try globbing the arg to
8857 `cd' (bug#15417).
8858
8859 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8860
8861 Sync with Tramp 2.2.8.
8862
8863 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8864 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8865 * net/trampver.el: Update release number.
8866
8867 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8868
8869 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8870 and default-process-coding-system for darwin only.
8871
8872 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8873
8874 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8875
8876 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8877
8878 * vc/vc-git.el (vc-git-grep): Disable pager.
8879
8880 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8881
8882 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8883 Use :url instead of :homepage, as per
8884 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8885
8886 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8887 non-nil, use `syntax-ppss' (Bug#15251).
8888
8889 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8890
8891 * progmodes/octave.el (inferior-octave-startup-file):
8892 Prefer ~/.emacs.d/init_octave.m.
8893
8894 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8895
8896 * emacs-lisp/package.el (package-desc-from-define):
8897 Accept additional arguments as plist, convert them to an alist and store
8898 them in the `extras' slot.
8899 (package-generate-description-file): Convert extras alist back to
8900 plist and append to the `define-package' form arguments.
8901 (package--alist-to-plist): New function.
8902 (package--ac-desc): Add `extras' slot.
8903 (package--add-to-archive-contents): Check if the archive-contents
8904 vector is long enough, and if it is, pass its `extras' slot value
8905 to `package-desc-create'.
8906 (package-buffer-info): Call `lm-homepage', pass the returned value
8907 to `package-desc-from-define'.
8908 (describe-package-1): Render the homepage button (Bug#13291).
8909
8910 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8911 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8912
8913 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8914
8915 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8916 and default-process-coding-system to utf-8-unix (Bug#15402).
8917
8918 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8919
8920 * subr.el (looking-back): Do not recommend using looking-back.
8921
8922 2013-09-28 Alan Mackenzie <acm@muc.de>
8923
8924 Fix indentation/fontification of Java enum with "implements".
8925
8926 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8927 regexp which matches "implements", etc., in Java.
8928 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8929 specifier clauses coming after "enum".
8930 * progmodes/cc-fonts.el (c-font-lock-declarations)
8931 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8932 after "enum".
8933
8934 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8935
8936 * faces.el (region): Change ns_selection_color to
8937 ns_selection_fg_color, add ns_selection_bg_color.
8938
8939 2013-09-28 Leo Liu <sdl.web@gmail.com>
8940
8941 * progmodes/octave.el (inferior-octave-completion-table)
8942 (inferior-octave-completion-at-point): Minor tweaks.
8943
8944 * textmodes/ispell.el (ispell-lookup-words): Rename from
8945 lookup-words. (Bug#15460)
8946 (lookup-words): Obsolete.
8947 (ispell-complete-word, ispell-command-loop): All uses changed.
8948
8949 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8950
8951 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8952 (octave-mode-menu): Add octave-send-buffer.
8953 (octave-send-buffer): New function.
8954
8955 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8956
8957 * progmodes/octave.el (octave-mode-map): Add key binding for
8958 octave-lookfor.
8959 (octave-mode-menu): Add octave-lookfor.
8960 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8961 octave-lookfor.
8962 (octave-lookfor): New function.
8963
8964 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8965
8966 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8967 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8968 its convention.
8969 (cl--loop-set-iterator-function): New function.
8970 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8971 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8972 Bind `it' with `let' instead of substituting it with `cl-subst'.
8973 (cl--unused-var-p): New function.
8974 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8975 Eliminate some unused variable warnings (bug#15326).
8976
8977 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8978
8979 * doc-view.el (doc-view-scale-reset): Rename from
8980 `doc-view-reset-zoom-level'.
8981 (doc-view-scale-adjust): New command.
8982 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8983 `doc-view-scale-adjust'.
8984
8985 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8986
8987 * doc-view.el (doc-view-reset-zoom-level): New command.
8988 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8989 zoom commands (bug#15466).
8990
8991 2013-09-26 Kenichi Handa <handa@gnu.org>
8992
8993 * international/quail.el (quail-help): Make it not a command.
8994
8995 2013-09-26 Leo Liu <sdl.web@gmail.com>
8996
8997 * minibuffer.el (completion-all-sorted-completions): Make args
8998 optional as they are.
8999
9000 2013-09-25 Daniel Colascione <dancol@dancol.org>
9001
9002 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
9003 specs are and that they're not evaluated.
9004
9005 2013-09-24 Sam Steingold <sds@gnu.org>
9006
9007 * midnight.el (clean-buffer-list-kill-regexps)
9008 (clean-buffer-list-kill-buffer-names): Update for the new Man
9009 buffer naming which includes the object name.
9010
9011 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9012
9013 * eshell/esh-cmd.el (eshell--sep-terms): New var.
9014 (eshell-parse-command, eshell-parse-pipeline): Use it since
9015 eshell-separate-commands requires a dynamic scoped var.
9016 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
9017
9018 2013-09-23 Leo Liu <sdl.web@gmail.com>
9019
9020 * autoinsert.el (auto-insert-alist): Make the value of
9021 lexical-binding match its file setting.
9022
9023 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
9024
9025 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
9026
9027 * autoarg.el (autoarg-kp-digit-argument):
9028 * electric.el (Electric-command-loop):
9029 * kmacro.el (kmacro-step-edit-insert):
9030 Do not set universal-argument-num-events.
9031
9032 2013-09-22 Leo Liu <sdl.web@gmail.com>
9033
9034 * files.el (interpreter-mode-alist): Add octave.
9035
9036 2013-09-21 Alan Mackenzie <acm@muc.de>
9037
9038 C++: fontify identifier in declaration following "public:" correctly.
9039 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
9040 to match "public", etc.
9041 (c-decl-prefix-re): Add ":" into the C++ value.
9042 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
9043 bit. Add a check for a ":" preceded by "public", etc.
9044
9045 2013-09-21 Eli Zaretskii <eliz@gnu.org>
9046
9047 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
9048 recognized by GDB 7.5 and later.
9049
9050 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
9051
9052 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
9053
9054 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9055
9056 * subr.el (internal--call-interactively): New const.
9057 (called-interactively-p): Use it (bug#3984).
9058
9059 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
9060
9061 * vc/pcvs.el (cvs-mode-ignore):
9062 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
9063 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
9064
9065 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9066
9067 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
9068 (eshell-ls-orig-insert-directory): Remove.
9069 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
9070 (eshell-ls-use-in-dired): Use advice-add/remove.
9071 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
9072 Add `orig-fun' arg for use in :around advice.
9073 Make it check (redundantly) eshell-ls-use-in-dired.
9074
9075 2013-09-19 Glenn Morris <rgm@gnu.org>
9076
9077 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
9078
9079 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
9080
9081 * emacs-lisp/eieio.el (class-parent): Undo previous change.
9082
9083 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
9084
9085 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
9086 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
9087 (tramp-get-remote-python): New defuns.
9088 (tramp-get-remote-uid-with-perl)
9089 (tramp-get-remote-gid-with-perl): New defuns. Perl code
9090 contributed by yary <not.com@gmail.com> (tiny change).
9091 (tramp-get-remote-uid-with-python)
9092 (tramp-get-remote-gid-with-python): New defuns. Python code
9093 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
9094 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
9095
9096 2013-09-19 Glenn Morris <rgm@gnu.org>
9097
9098 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
9099
9100 * eshell/em-unix.el (eshell-remove-entries):
9101 Rename argument to avoid name-clash with global `top-level'.
9102
9103 * eshell/esh-proc.el (eshell-kill-process-function):
9104 Remove eshell-reset-after-proc from eshell-kill-hook if present.
9105 (eshell-reset-after-proc): Remove unused arg `proc'.
9106
9107 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
9108 (directory-files-and-attributes): Mark unused arg.
9109
9110 * eshell/em-unix.el (eshell-remove-entries):
9111 Remove unused arg `path'. Update callers.
9112
9113 * eshell/em-hist.el (eshell-hist-parse-arguments):
9114 Remove unused arg `silent'. Update callers.
9115
9116 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
9117 Fix (f)boundp mix-up.
9118
9119 * eshell/em-smart.el (eshell-smart-scroll-window)
9120 (eshell-disable-after-change):
9121 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
9122
9123 2013-09-18 Alan Mackenzie <acm@muc.de>
9124
9125 Fix fontification of type when followed by "const".
9126 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
9127 "known" types from fontification.
9128
9129 2013-09-18 Glenn Morris <rgm@gnu.org>
9130
9131 * emacs-lisp/chart.el (x-display-color-cells): Declare.
9132 (chart-face-list): Drop Emacsen without display-color-p.
9133
9134 * net/eww.el (libxml-parse-html-region): Declare.
9135 (eww-display-html): Explicit error if no libxml2 support.
9136
9137 * doc-view.el (doc-view-mode): Silence --without-x compilation.
9138
9139 * image.el (image-type-from-buffer, image-multi-frame-p):
9140 Remove --without-x warning/error.
9141
9142 * mouse.el (mouse-yank-primary):
9143 * term.el (term-mouse-paste):
9144 Reorder to silence --without-x compilation.
9145
9146 * mpc.el (doc-view-mode): Silence --without-x compilation.
9147
9148 * mail/rmailmm.el (rmail-mime-set-bulk-data):
9149 Silence --without-x compilation.
9150
9151 * progmodes/gud.el (gud-find-file, gud-mode):
9152 Silence --without-x compilation.
9153 (tooltip-mode): Declare.
9154
9155 * wdired.el (dired-backup-overwrite): Remove declaration.
9156 (wdired-mode-map): Add doc string.
9157
9158 * custom.el (x-get-resource): Declare.
9159
9160 * eshell/em-glob.el (ange-cache):
9161 * eshell/em-unix.el (ange-cache): Declare.
9162
9163 * faces.el (x-display-list, x-open-connection, x-get-resource):
9164 Declare.
9165
9166 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
9167 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
9168 Declare.
9169
9170 * frame.el (x-display-grayscale-p, x-display-name): Declare.
9171
9172 * net/gnutls.el (gnutls-log-level): Declare.
9173
9174 * net/shr.el (image-size, image-animate): Declare.
9175
9176 * simple.el (font-info): Declare.
9177
9178 * subr.el (x-popup-dialog): Declare.
9179
9180 * term/common-win.el (x-select-enable-primary)
9181 (x-last-selected-text-primary, x-last-selected-text-clipboard):
9182 Declare.
9183
9184 * term/ns-win.el (x-handle-args): Declare.
9185
9186 * term/x-win.el (x-select-enable-clipboard): Declare.
9187
9188 * term/w32-win.el (create-default-fontset): Declare.
9189
9190 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
9191 Declare.
9192
9193 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
9194 (fit-frame-to-buffer): Explicit error if --without-x.
9195 (mouse-autoselect-window-select): Silence compiler.
9196
9197 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9198
9199 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
9200 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
9201 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
9202 * eshell/esh-util.el (eshell-sublist):
9203 Remove unused local variables.
9204
9205 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
9206
9207 * textmodes/two-column.el: Make 2C-split work for --without-x.
9208 (scroll-bar-columns): Autoload.
9209 (top-level): Require fringe when compiling.
9210
9211 2013-09-18 Leo Liu <sdl.web@gmail.com>
9212
9213 * subr.el (add-hook): Robustify to handle closure as well.
9214
9215 2013-09-17 Glenn Morris <rgm@gnu.org>
9216
9217 * simple.el (messages-buffer-mode-map): Unbind "g".
9218
9219 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9220
9221 * help-mode.el (help-mode-finish): Use derived-mode-p.
9222 Remove obsolete highlighting.
9223
9224 * play/life.el (life-mode): Use define-derived-mode. Derive from
9225 special-mode.
9226 (life): Let-bind inhibit-read-only.
9227 (life-setup): Avoid `setq'. Use `life-mode'.
9228
9229 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
9230 which should not be needed any more.
9231 (package-menu-refresh, package-menu-describe-package): Use user-error.
9232
9233 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
9234 (eshell-post-rewrite-command-hook): Make obsolete.
9235 (eshell-parse-command): Simplify.
9236 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
9237 (eshell--cmd): Declare.
9238 (eshell-parse-pipeline): Remove unused var `final-p'.
9239 Pass a dynvar to eshell-post-rewrite-command-hook.
9240 Implement the new eshell-post-rewrite-command-function.
9241 (eshell-invoke-directly): Remove unused arg `input'.
9242 * eshell/esh-io.el (eshell-io-initialize):
9243 Use eshell-post-rewrite-command-function (bug#15399).
9244 (eshell--apply-redirections): Rename from eshell-apply-redirections;
9245 adjust to new calling convention.
9246 (eshell-create-handles): Rename args to avoid clashing with dynvar
9247 `standard-output'.
9248
9249 2013-09-17 Glenn Morris <rgm@gnu.org>
9250
9251 * simple.el (messages-buffer-mode): New major mode.
9252 (messages-buffer): New function.
9253 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
9254 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
9255 (ert-run-test): Use `messages-buffer' function.
9256 (ert--force-message-log-buffer-truncation): Ignore read-only.
9257 * help.el (view-echo-area-messages): Use `messages-buffer' function.
9258 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
9259
9260 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9261
9262 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
9263
9264 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
9265
9266 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9267
9268 * icomplete.el (icomplete-in-buffer): New var.
9269 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
9270 vars and replace them with functions.
9271 (icomplete-minibuffer-setup): Adjust accordingly.
9272 (icomplete--completion-table, icomplete--completion-predicate)
9273 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
9274 New functions.
9275 (icomplete-forward-completions, icomplete-backward-completions)
9276 (icomplete-simple-completing-p, icomplete-exhibit)
9277 (icomplete-completions): Use them.
9278 (icomplete--in-region-buffer): New var.
9279 (icomplete--in-region-setup): New function.
9280 (icomplete-mode): Use it.
9281
9282 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
9283 (bug#15379).
9284 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
9285 return args and options.
9286 (eshell-eval-using-options): Use the new return value of
9287 eshell--do-opts to set the options's vars in their scope.
9288 (eshell--set-option): Rename from eshell-set-option.
9289 Add arg `opt-vals'.
9290 (eshell--process-option): Rename from eshell-process-option.
9291 Add arg `opt-vals'.
9292 (eshell--process-args): Use an `opt-vals' alist to store the options's
9293 values during their processing and return them additionally to the
9294 remaining args.
9295
9296 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
9297
9298 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
9299 continuation character an operator, as far as indentation is
9300 concerned (Bug#15369).
9301
9302 2013-09-15 Martin Rudalics <rudalics@gmx.at>
9303
9304 * window.el (window--state-put-2): Don't process buffer state
9305 when buffer doesn't exist any more (Bug#15382).
9306
9307 2013-09-15 Glenn Morris <rgm@gnu.org>
9308
9309 * eshell/em-unix.el (eshell/rm):
9310 Make -f ignore missing files. (Bug#15373)
9311
9312 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
9313 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
9314 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
9315
9316 2013-09-14 Glenn Morris <rgm@gnu.org>
9317
9318 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
9319
9320 2013-09-13 Glenn Morris <rgm@gnu.org>
9321
9322 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
9323 (dired-guess-default): Make `file' available in the env. (Bug#15363)
9324
9325 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
9326
9327 * frame.el (x-focus-frame): Mark as declared in frame.c.
9328
9329 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9330
9331 * ls-lisp.el: Use advice-add.
9332 (original-insert-directory): Remove.
9333 (ls-lisp--insert-directory): Rename from insert-directory; add
9334 `orig-fun' argument.
9335 (insert-directory): Advise.
9336
9337 2013-09-13 Eli Zaretskii <eliz@gnu.org>
9338
9339 * term.el (term-emulate-terminal): Decode the command string
9340 before passing it to term-command-hook. (Bug#15337)
9341
9342 2013-09-13 Glenn Morris <rgm@gnu.org>
9343
9344 * eshell/esh-util.el (ange-cache): Move declaration earlier.
9345
9346 * eshell/esh-ext.el (eshell-search-path): Declare.
9347
9348 * eshell/em-prompt.el (eshell/pwd): Autoload it.
9349 Otherwise an error occurs if eshell-dirs module not loaded.
9350
9351 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9352
9353 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
9354
9355 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9356 `tramp-check-proper-host'. Check for a valid method name.
9357
9358 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9359 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9360 * net/tramp-sh.el (tramp-maybe-open-connection):
9361 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9362
9363 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9364 also for hash values.
9365
9366 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9367
9368 * term/ns-win.el (parameters): Don't declare as dynamic.
9369 (before-make-frame-hook): Don't add ineffective function.
9370
9371 * eshell/*.el: Use lexical-binding (bug#15231).
9372
9373 2013-09-12 Kenichi Handa <handa@gnu.org>
9374
9375 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9376
9377 2013-09-12 Glenn Morris <rgm@gnu.org>
9378
9379 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9380 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9381
9382 * subr.el (do-after-load-evaluation): Also give compiler warnings
9383 when obsolete files are used (except by obsolete files).
9384
9385 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9386 in the status output, assume `filename' is the first. (Bug#15322)
9387
9388 * vc/vc.el (vc-deduce-fileset): Doc fix.
9389
9390 * calc/calc-help.el (Info-goto-node):
9391 * progmodes/cperl-mode.el (Info-find-node):
9392 * vc/ediff.el (Info-goto-node): Update declarations.
9393
9394 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9395
9396 * vc/vc-bzr.el (vc-compilation-mode): Declare.
9397 (vc-bzr-pull): Require vc-dispatcher.
9398 * vc/vc-git.el (vc-compilation-mode): Declare.
9399 (vc-git-pull): Require vc-dispatcher.
9400
9401 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9402
9403 * progmodes/octave.el (help-button-action): Declare.
9404
9405 * shell.el (shell-directory-tracker): Output error as a message
9406 rather than just returning it as a string.
9407 (shell-process-pushd): Remove useless use of message.
9408
9409 * dframe.el (dframe-timer-fn):
9410 * files.el (dir-locals-read-from-file):
9411 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9412 (mpc-format):
9413 * reveal.el (reveal-post-command):
9414 * saveplace.el (load-save-place-alist-from-file):
9415 * shell.el (shell-resync-dirs):
9416 * w32-common-fns.el (x-get-selection-value):
9417 * emacs-lisp/copyright.el (copyright-find-copyright):
9418 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9419 * emulation/tpu-edt.el (tpu-copy-keyfile):
9420 * play/bubbles.el (bubbles--mark-neighbourhood):
9421 * progmodes/executable.el
9422 (executable-make-buffer-file-executable-if-script-p):
9423 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9424
9425 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9426
9427 Cleanup Eshell to rely less on dynamic scoping.
9428 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9429 last-value, and ext-command here. Bind `args' closer to `body'.
9430 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9431 (eshell--args): Declare new dynamic var.
9432 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
9433 last-value, and ext-command. Pass `args' to `body'.
9434 (eshell-process-args): Bind eshell--args.
9435 (eshell-set-option): Use eshell--args.
9436 * eshell/eshell.el (eshell): Use derived-mode-p.
9437 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9438 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9439 (eshell-glob-function): Declare.
9440 * eshell/esh-util.el: Require cl-lib.
9441 (eshell-read-hosts-file): Avoid add-to-list.
9442 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9443 `err'.
9444 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9445 Declare.
9446 (eshell/diff): Remove unused var `err'.
9447 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9448 `killflag'.
9449 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9450 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9451 first use.
9452 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9453 Move declaration before first use.
9454 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9455 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9456 rely on cl-return.
9457
9458 2013-09-12 Glenn Morris <rgm@gnu.org>
9459
9460 * term/ns-win.el (global-map): Remove binding for ispell-next,
9461 deleted 1999-05-29. (Bug#15357)
9462
9463 2013-09-11 Glenn Morris <rgm@gnu.org>
9464
9465 * echistory.el (electric-command-history): Remove call to deleted func.
9466
9467 * play/landmark.el (landmark-mode): Fix typos.
9468
9469 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9470 Check cvs-sort-ignore-file is bound.
9471
9472 * savehist.el: No need for cl when compiling on Emacs.
9473
9474 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9475
9476 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9477 (bug#15338).
9478 (eshell-self-insert-command, eshell-send-invisible):
9479 Remove unused argument.
9480 (eshell-handle-control-codes): Remove unused var `orig'.
9481 Avoid delete-backward-char.
9482
9483 * files.el (set-auto-mode): Simplify a bit further.
9484
9485 2013-09-11 Glenn Morris <rgm@gnu.org>
9486
9487 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9488 (set-auto-mode): Don't regexp-quote elements.
9489 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9490 * progmodes/cc-mode.el (interpreter-mode-alist):
9491 * progmodes/ruby-mode.el (interpreter-mode-alist):
9492 Revert previous change.
9493
9494 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9495
9496 * play/snake.el (snake-mode):
9497 * play/mpuz.el (mpuz-mode):
9498 * play/landmark.el (lm-mode):
9499 * play/blackbox.el (blackbox-mode):
9500 * play/5x5.el (5x5-mode):
9501 * obsolete/options.el (Edit-options-mode):
9502 * net/quickurl.el (quickurl-list-mode):
9503 * net/newst-treeview.el (newsticker-treeview-mode):
9504 * mail/rmailsum.el (rmail-summary-mode):
9505 * mail/mspools.el (mspools-mode):
9506 * locate.el (locate-mode):
9507 * ibuffer.el (ibuffer-mode):
9508 * emulation/ws-mode.el (wordstar-mode):
9509 * emacs-lisp/debug.el (debugger-mode):
9510 * array.el (array-mode):
9511 * net/eudc.el (eudc-mode): Use define-derived-mode.
9512 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9513 Move initialization into declaration.
9514 (mairix-searches-mode): Use define-derived-mode.
9515 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9516 (eudc-edit-hotlist): Use dolist.
9517 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9518 (Man-mode): Use define-derived-mode.
9519 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9520 (Info-edit-mode): Use define-derived-mode.
9521 (Info-cease-edit): Use Info-mode.
9522 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9523 into declaration.
9524 (eshell-mode): Use define-derived-mode.
9525 * chistory.el (command-history-mode-map): Rename from
9526 command-history-map.
9527 (command-history-mode): Use define-derived-mode.
9528 (Command-history-setup): Remove function.
9529 * calc/calc.el (calc-trail-mode-map): New var.
9530 (calc-trail-mode): Use define-derived-mode.
9531 (calc-trail-buffer): Set calc-main-buffer manually.
9532 * bookmark.el (bookmark-insert-annotation): New function.
9533 (bookmark-edit-annotation): Use it.
9534 (bookmark-edit-annotation-mode): Make it a proper major mode.
9535 (bookmark-send-edited-annotation): Use derived-mode-p.
9536 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9537 closer to its ideal place. Use \' to match EOS.
9538
9539 * profiler.el (profiler-calltree-find): Use function-equal.
9540
9541 2013-09-10 Glenn Morris <rgm@gnu.org>
9542
9543 * files.el (interpreter-mode-alist): Convert to regexps.
9544 (set-auto-mode): Adapt for this. (Bug#15306)
9545 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9546 Comment out unused variable.
9547 * progmodes/cc-mode.el (interpreter-mode-alist):
9548 * progmodes/python.el (interpreter-mode-alist):
9549 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9550 * progmodes/sh-script.el (sh-set-shell):
9551 No longer use interpreter-mode-alist to get list of shells.
9552
9553 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9554
9555 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9556
9557 * simple.el: Use set-temporary-overlay-map for universal-argument.
9558 (universal-argument-map): Don't use default-bindings (bug#15317).
9559 Bind switch-frame explicitly. Replace universal-argument-minus with
9560 a conditional binding.
9561 (universal-argument-num-events, saved-overriding-map): Remove.
9562 (restore-overriding-map): Remove.
9563 (universal-argument--mode): Rename from save&set-overriding-map,
9564 and rewrite.
9565 (universal-argument, universal-argument-more, negative-argument)
9566 (digit-argument): Adjust accordingly.
9567 (universal-argument-minus): Remove.
9568 (universal-argument-other-key): Remove.
9569
9570 * subr.el (with-demoted-errors): Add `format' argument.
9571
9572 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9573
9574 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9575 `tramp-cleanup-connection'.
9576
9577 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9578 parameters KEEP-DEBUG and KEEP-PASSWORD.
9579
9580 * net/tramp.el (tramp-file-name-handler):
9581 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9582 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9583 (tramp-maybe-open-connection):
9584 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9585 Use `tramp-cleanup-connection'.
9586
9587 * net/tramp-sh.el (tramp-maybe-open-connection):
9588 Catch 'uname-changed inside the progress reporter.
9589
9590 2013-09-10 Glenn Morris <rgm@gnu.org>
9591
9592 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9593
9594 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9595 returns "alternate access method" in mode (eg "-rw-r--r--.").
9596
9597 2013-09-08 Glenn Morris <rgm@gnu.org>
9598
9599 * saveplace.el (load-save-place-alist-from-file):
9600 Demote errors. (Bug#15305)
9601
9602 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9603
9604 Improve compatibility with older Emacsen, and XEmacs.
9605
9606 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9607 only if it is bound. It isn't for XEmacs.
9608 (with-tramp-progress-reporter): Do not let-bind `result'.
9609 This yields to scoping errors in XEmacs.
9610 (tramp-handle-make-auto-save-file-name): New function, moved from
9611 tramp-sh.el.
9612
9613 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9614 for `make-auto-save-file-name'.
9615 (tramp-adb--gnu-switches-to-ash):
9616 Use `tramp-compat-replace-regexp-in-string'.
9617
9618 * net/tramp-cache.el (tramp-cache-print): Call
9619 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9620
9621 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9622 bound. It isn't for XEmacs.
9623
9624 * net/tramp-compat.el (tramp-compat-copy-file):
9625 Catch `wrong-number-of-arguments' error.
9626 (tramp-compat-replace-regexp-in-string): New defun.
9627
9628 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9629 for `make-auto-save-file-name'.
9630 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9631 `copy-file'.
9632 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9633 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9634 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9635
9636 * net/tramp-gw.el (tramp-gw-open-network-stream):
9637 Use `tramp-compat-replace-regexp-in-string'.
9638
9639 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9640 Call `tramp-handle-make-auto-save-file-name'.
9641 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9642 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9643 (tramp-sh-file-inotifywait-process-filter):
9644 Use `tramp-compat-replace-regexp-in-string'.
9645 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9646
9647 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9648 for `make-auto-save-file-name'.
9649 (tramp-smb-handle-copy-directory):
9650 Call `tramp-compat-replace-regexp-in-string'.
9651 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9652 (tramp-smb-handle-copy-file): Improve error message.
9653 (tramp-smb-handle-rename-file): Rename directly only in case
9654 `newname' does not exist yet. This is a restriction of smbclient.
9655 (tramp-smb-maybe-open-connection): Rerun the function only when
9656 `auth-sources' is non-nil.
9657
9658 2013-09-08 Kenichi Handa <handa@gnu.org>
9659
9660 * international/characters.el: Set category "^" (Combining) for
9661 more characters.
9662
9663 2013-09-07 Alan Mackenzie <acm@muc.de>
9664
9665 Correctly fontify Java class constructors.
9666 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9667 in Java Mode.
9668 (c-recognize-typeless-decls): Set the Java value to t.
9669 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9670 While handling a "(", add a check for, effectively, Java, and handle a
9671 "typeless" declaration there.
9672
9673 2013-09-07 Roland Winkler <winkler@gnu.org>
9674
9675 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9676 field subtitle for entry type book.
9677
9678 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9679
9680 * minibuffer.el: Make minibuffer-complete call completion-in-region
9681 rather than other way around.
9682 (completion--some, completion-pcm--find-all-completions):
9683 Don't delay signals when debugging.
9684 (minibuffer-completion-contents): Beware fields within the
9685 minibuffer contents.
9686 (completion-all-sorted-completions): Use defvar-local.
9687 (completion--do-completion, completion--cache-all-sorted-completions)
9688 (completion-all-sorted-completions, minibuffer-force-complete):
9689 Add args `beg' and `end'.
9690 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9691 (minibuffer-complete): Use completion-in-region.
9692 (completion-complete-and-exit): New fun, extracted from
9693 minibuffer-complete-and-exit.
9694 (minibuffer-complete-and-exit): Use it.
9695 (completion--complete-and-exit): Rename from
9696 minibuffer--complete-and-exit.
9697 (completion-in-region--single-word): New function, extracted from
9698 minibuffer-complete-word.
9699 (minibuffer-complete-word): Use it.
9700 (display-completion-list): Make `common-substring' argument obsolete.
9701 (completion--in-region): Call completion--in-region-1 instead of
9702 minibuffer-complete.
9703 (completion-help-at-point): Pass boundaries to
9704 minibuffer-completion-help as args rather than via an overlay.
9705 (completion-pcm--string->pattern): Use `any-delim'.
9706 (completion-pcm--optimize-pattern): New function.
9707 (completion-pcm--pattern->regex): Handle `any-delim'.
9708 * icomplete.el (icomplete-forward-completions)
9709 (icomplete-backward-completions, icomplete-completions):
9710 Adjust calls to completion-all-sorted-completions and
9711 completion--cache-all-sorted-completions.
9712 (icomplete-with-completion-tables): Default to t.
9713 * emacs-lisp/crm.el (crm--current-element): Rename from
9714 crm--select-current-element. Don't put an overlay but return the
9715 boundaries instead.
9716 (crm--completion-command): Take two new args to bind to the boundaries.
9717 (crm-completion-help): Adjust accordingly.
9718 (crm-complete): Use completion-in-region.
9719 (crm-complete-word): Use completion-in-region--single-word.
9720 (crm-complete-and-exit): Use completion-complete-and-exit.
9721
9722 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9723
9724 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9725 than dynamically.
9726
9727 2013-09-06 Juri Linkov <juri@jurta.org>
9728
9729 * info.el (Info-display-images-node): When image file doesn't exist
9730 display text version of the image if it's provided in the Info file.
9731 Otherwise, display the location of missing image from SRC attribute.
9732 Add help-echo text property from ALT attribute. (Bug#15279)
9733
9734 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9735
9736 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9737 (edit-abbrevs-mode): Use define-derived-mode.
9738
9739 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9740 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9741 that it's defined.
9742 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9743 Use define-derived-mode.
9744
9745 * epg.el (epg-start-encrypt): Minor CSE simplification.
9746
9747 2013-09-06 William Xu <william.xwl@gmail.com>
9748
9749 * arc-mode.el: Add support for 7za (bug#15264).
9750 (archive-7z-program): New var.
9751 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9752 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9753 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9754
9755 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9756
9757 Remove URL syntax.
9758
9759 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9760 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9761 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9762 (tramp-postfix-host-format, tramp-file-name-regexp)
9763 (tramp-completion-file-name-regexp)
9764 (tramp-completion-dissect-file-name)
9765 (tramp-handle-substitute-in-file-name): Remove 'url case.
9766 (tramp-file-name-regexp-url)
9767 (tramp-completion-file-name-regexp-url): Remove constants.
9768
9769 2013-09-06 Glenn Morris <rgm@gnu.org>
9770
9771 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9772
9773 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9774
9775 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9776 keywords" below "here-doc beginnings" (Bug#15270).
9777
9778 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9779
9780 * subr.el (pop): Use `car-safe'.
9781 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9782 to detect unused `pop' return value.
9783
9784 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9785 var `block-regexp'.
9786 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9787 (python-fill-string): Remove unused var `marker'.
9788 (python-skeleton-add-menu-items): Remove unused var `items'.
9789
9790 * international/mule-cmds.el: Require CL.
9791 (find-coding-systems-for-charsets): Avoid add-to-list.
9792 (sanitize-coding-system-list): New function, extracted from
9793 select-safe-coding-system-interactively.
9794 (select-safe-coding-system-interactively): Use it.
9795 (read-input-method-name): Accept symbols for `default'.
9796
9797 * emacs-lisp/advice.el (defadvice): Add indent rule.
9798
9799 2013-09-05 Daniel Hackney <dan@haxney.org>
9800
9801 * dired-x.el:
9802 * net/ange-ftp.el:
9803 * net/browse-url.el:
9804 * net/dbus.el:
9805 * net/eudc.el:
9806 * net/eudcb-ldap.el:
9807 * net/eww.el:
9808 * net/imap.el:
9809 * printing.el:
9810 * vc/ediff-diff.el:
9811 * vc/ediff-init.el:
9812 * vc/ediff-merg.el:
9813 * vc/ediff-mult.el:
9814 * vc/ediff-util.el:
9815 * vc/ediff-wind.el:
9816 * vc/ediff.el:
9817 * vc/emerge.el:
9818 * vc/pcvs.el:
9819 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9820 byte compiler. Remove some unused let-bound variables.
9821
9822 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9823
9824 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9825 a "ref-cell", since it gets better optimized (bug#14883).
9826
9827 2013-09-05 Glenn Morris <rgm@gnu.org>
9828
9829 * progmodes/cc-awk.el (c-forward-sws): Declare.
9830
9831 2013-09-04 Glenn Morris <rgm@gnu.org>
9832
9833 * generic-x.el [rul-generic-mode]: Require cc-mode.
9834 (c++-mode-syntax-table): Declare.
9835 (rul-generic-mode-syntax-table): Init in the defvar.
9836
9837 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9838
9839 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9840 (vc-do-command, vc-set-async-update):
9841 * vc/vc-mtn.el (vc-mtn-dir-status):
9842 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9843 (vc-hg-pull, vc-hg-merge-branch):
9844 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9845 (vc-git-merge-branch):
9846 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9847 (vc-cvs-dir-status-files):
9848 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9849 (vc-bzr-dir-status-files):
9850 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9851 * vc/vc-annotate.el: Use lexical-binding.
9852 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9853 (vc-sentinel-movepoint): Declare.
9854 (vc-annotate): Don't use `goto-line'.
9855 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9856 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9857 (vc-sentinel-movepoint): Declare.
9858 * vc/vc-svn.el: Use lexical-binding.
9859 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9860 * vc/vc-sccs.el:
9861 * vc/vc-rcs.el: Use lexical-binding.
9862
9863 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9864 `deleted'. Don't drop errors silently.
9865
9866 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9867
9868 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9869
9870 * vc/vc.el (vc-ignore): Rewrite.
9871 (vc-default-ignore): New function.
9872 (vc-default-ignore-completion-table): Use find-ignore-file.
9873
9874 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9875 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9876 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9877 Remove. Most code moved to vc.el.
9878
9879 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9880
9881 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9882 * net/tramp-smb.el (tramp-smb-get-file-entries):
9883 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9884 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9885
9886 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9887 Update call to it.
9888 (eww-change-select): Remove unused var `properties'.
9889 (eww-make-unique-file-name): Remove unused var `base'.
9890
9891 * finder.el (finder-compile-keywords): Don't mess with windows.
9892
9893 * calculator.el (calculator-funcall): Fix typo in last change.
9894
9895 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9896
9897 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9898 <pkg>-autoloads.el file stop us.
9899
9900 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9901 warnings, and factor out common code.
9902
9903 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9904
9905 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9906 two-character operators and whether the character preceding them
9907 changes their meaning (Bug#15208).
9908
9909 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9910
9911 Format code sent to Python shell for robustness.
9912 * progmodes/python.el (python-shell-buffer-substring):
9913 New function.
9914 (python-shell-send-region, python-shell-send-buffer): Use it.
9915
9916 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9917
9918 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9919 * net/tramp.el (tramp-user-error): ... here.
9920 (tramp-find-method, tramp-check-proper-host)
9921 (tramp-dissect-file-name, tramp-debug-message)
9922 (tramp-handle-shell-command):
9923 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9924 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9925
9926 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9927
9928 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9929
9930 * avoid.el (mouse-avoidance-point-position)
9931 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9932 returns nil.
9933
9934 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9935
9936 * progmodes/python.el (python-shell-completion-get-completions):
9937 Drop use of deleted `comint-last-prompt-overlay'.
9938 (python-nav-if-name-main): New command.
9939
9940 2013-09-01 Glenn Morris <rgm@gnu.org>
9941
9942 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9943 Avoid leading space in $wins. Otherwise the sed command used by
9944 eg compile-main ends up containing "/*.el". (Bug#15170)
9945
9946 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9947
9948 2013-08-30 Glenn Morris <rgm@gnu.org>
9949
9950 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9951 Fix is-this-a-directory logic. (Bug#15220)
9952
9953 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9954
9955 * textmodes/css-mode.el: Use SMIE.
9956 (css-smie-grammar): New var.
9957 (css-smie--forward-token, css-smie--backward-token)
9958 (css-smie-rules): New functions.
9959 (css-mode): Use them.
9960 (css-navigation-syntax-table): Remove var.
9961 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9962 (css-indent-calculate, css-indent-line): Remove functions.
9963
9964 Misc changes to reduce use of `(lambda...); and other cleanups.
9965 * cus-edit.el: Use lexical-binding.
9966 (customize-push-and-save, customize-apropos)
9967 (custom-buffer-create-internal): Use closures.
9968 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9969 * progmodes/ada-xref.el: Use setq.
9970 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9971 * dframe.el: Use lexical-binding.
9972 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9973 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9974 * descr-text.el: Use lexical-binding.
9975 (describe-text-widget, describe-text-sexp, describe-property-list):
9976 Use closures.
9977 * comint.el (comint-history-isearch-push-state): Use a closure.
9978 * calculator.el: Use lexical-binding.
9979 (calculator-number-to-string): Make it work with lexical-binding.
9980 (calculator-funcall): Same and use cl-letf.
9981
9982 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9983 (lisp--company-doc-string, lisp--company-location): New functions.
9984 (lisp-completion-at-point): Use them to improve Company support.
9985
9986 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9987 params of lambda expressions.
9988 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9989 (ruby-smie--opening-pipe-p): New function.
9990 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9991 symbols and matched |...| for formal params.
9992 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9993 from being treated as hanging. Handle "rescue".
9994
9995 2013-08-29 Glenn Morris <rgm@gnu.org>
9996
9997 * progmodes/cc-engine.el (c-pull-open-brace):
9998 Move definition before use.
9999
10000 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10001
10002 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
10003 are immutable. Don't use `unsafe' any more.
10004 (cl--defsubst-expand): Don't substitute at the same time as keeping
10005 a residual unused let-binding. Don't use `unsafe' any more.
10006
10007 2013-08-29 Glenn Morris <rgm@gnu.org>
10008
10009 * calendar/cal-china.el (calendar-chinese-year-cache):
10010 Recenter on 2015.
10011
10012 * nxml/nxml-util.el (nxml-debug-clear-inside):
10013 Use cl-loop rather than loop.
10014
10015 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
10016
10017 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
10018
10019 2013-08-28 Glenn Morris <rgm@gnu.org>
10020
10021 * progmodes/antlr-mode.el: No need to require cc-mode twice.
10022
10023 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
10024
10025 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
10026
10027 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10028
10029 * simple.el (repeat-complex-command--called-interactively-skip):
10030 New function.
10031 (repeat-complex-command): Use it (bug#14136).
10032
10033 * progmodes/cc-mode.el: Minor cleanup of var declarations.
10034 (c-define-abbrev-table): Add `doc' argument.
10035 (c-mode-abbrev-table, c++-mode-abbrev-table)
10036 (objc-mode-abbrev-table, java-mode-abbrev-table)
10037 (idl-mode-abbrev-table, pike-mode-abbrev-table)
10038 (awk-mode-abbrev-table): Use it.
10039 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
10040 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
10041 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
10042 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
10043 Move initialization into the declaration; and remove any
10044 autoload cookie.
10045
10046 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
10047 and dynamic let binding.
10048
10049 * vc/smerge-mode.el: Remove redundant :group args.
10050
10051 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
10052 to load-path.
10053
10054 2013-08-28 Juri Linkov <juri@jurta.org>
10055
10056 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
10057 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
10058 (isearch-other-meta-char): Handle an undefined shifted printing
10059 character by downshifting it. (Bug#15200)
10060
10061 2013-08-28 Juri Linkov <juri@jurta.org>
10062
10063 * isearch.el (isearch-search): Change regexp error message for
10064 non-regexp searches. (Bug#15166)
10065
10066 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
10067
10068 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
10069 for portability to hosts where /bin/sh has problems.
10070
10071 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10072
10073 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
10074
10075 2013-08-27 Juri Linkov <juri@jurta.org>
10076
10077 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
10078 in the keyboard macro. (Bug#15126)
10079
10080 2013-08-27 Juri Linkov <juri@jurta.org>
10081
10082 * isearch.el (isearch-quote-char): Comment out converting unibyte
10083 to multibyte, thus syncing with its `quoted-insert' counterpart.
10084 (Bug#15166)
10085
10086 2013-08-27 Martin Rudalics <rudalics@gmx.at>
10087
10088 * window.el (display-buffer-use-some-window): Add missing
10089 argument in call of get-largest-window (Bug#15185).
10090 Reported by Stephen Leake.
10091
10092 2013-08-27 Glenn Morris <rgm@gnu.org>
10093
10094 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
10095
10096 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
10097
10098 * progmodes/python.el (python-font-lock-keywords): Don't return nil
10099 from a matcher-function unless there's no more matches (bug#15161).
10100
10101 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10102
10103 * minibuffer.el: Revert change from 2013-08-20.
10104
10105 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
10106 with text property `tramp-default', if appropriate.
10107 (tramp-check-proper-host): New defun.
10108 (tramp-dissect-file-name): Do not check hostname. Revert change
10109 of 2013-03-18.
10110 (tramp-backtrace): Make VEC-OR-PROC optional.
10111
10112 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10113 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10114 * net/tramp-sh.el (tramp-maybe-open-connection):
10115 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10116 Apply `tramp-check-proper-host'.
10117
10118 2013-08-26 Tassilo Horn <tsdh@gnu.org>
10119
10120 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
10121 lambda expression in order to have `describe-variable' display it.
10122
10123 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10124
10125 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
10126 BUF can be optional. (Bug#15186)
10127
10128 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
10129
10130 * progmodes/flymake.el (flymake-get-real-file-name-function):
10131 Fix broken customization. (Bug#15184)
10132
10133 2013-08-25 Alan Mackenzie <acm@muc.de>
10134
10135 Improve indentation of bracelists defined by macros (without "=").
10136
10137 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
10138 expansion begins with "{", regard it as bracelist when it doesn't
10139 contain a ";".
10140
10141 Parse C++ inher-intro when there's a template split over 2 lines.
10142
10143 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
10144 rigorously the search for "class" etc. followed by ":".
10145
10146 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
10147 random languages a regexp which never matches rather than nil.
10148
10149 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
10150
10151 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
10152 (c-awk-regexp-one-line-possibly-open-char-list-re)
10153 (c-awk-one-line-possibly-open-regexp-re)
10154 (c-awk-one-line-non-syn-ws*-re): Remove.
10155 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
10156 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
10157 (c-awk-space*-unclosed-regexp-/-re): New constants.
10158 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
10159 aren't regexp delimiters.
10160
10161 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
10162 handling for a rare situation in AWK Mode involving unterminated
10163 strings/regexps.
10164
10165 2013-08-23 Glenn Morris <rgm@gnu.org>
10166
10167 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
10168
10169 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
10170
10171 * files.el (create-file-buffer): If the result would begin with
10172 spaces, prepend a "|" instead of removing them. (Bug#15162)
10173
10174 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10175
10176 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
10177 text-properties (bug#15155).
10178
10179 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
10180 exist any more.
10181 (calc-keypad-redraw): Remove unused var `pad'.
10182 (calc-keypad-press): Remove unused var `menu'.
10183
10184 2013-08-23 Martin Rudalics <rudalics@gmx.at>
10185
10186 * window.el (display-buffer-pop-up-frame):
10187 Call pop-up-frame-function with BUFFER current so `make-frame' will
10188 use it as the new frame's buffer (Bug#15133).
10189
10190 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10191
10192 * calendar/timeclock.el: Minor cleanups.
10193 (timeclock-ask-before-exiting, timeclock-use-display-time):
10194 Use `symbol'.
10195 (timeclock-modeline-display): Define as alias before the
10196 actual definition.
10197 (timeclock-mode-line-display): Use define-minor-mode.
10198 (timeclock-day-list-template): Make it a function, add an argument.
10199 (timeclock-day-list-required, timeclock-day-list-length)
10200 (timeclock-day-list-debt, timeclock-day-list-span)
10201 (timeclock-day-list-break): Adjust calls accordingly.
10202
10203 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
10204
10205 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
10206 Use read--expression so that completion works again.
10207
10208 2013-08-21 Sam Steingold <sds@gnu.org>
10209
10210 Add rudimentary inferior shell interaction
10211 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
10212 (sh-set-shell): Reset it.
10213 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
10214 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
10215
10216 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
10217
10218 * align.el: Use lexical-binding.
10219 (align-region): Simplify accordingly.
10220
10221 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
10222
10223 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
10224
10225 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
10226 `non-essential' up.
10227
10228 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
10229
10230 * net/tramp.el:
10231 * net/tramp-adb.el:
10232 * net/tramp-cmds.el:
10233 * net/tramp-ftp.el:
10234 * net/tramp-gvfs.el:
10235 * net/tramp-gw.el:
10236 * net/tramp-sh.el: Don't wrap external variable declarations by
10237 `eval-when-compile'.
10238
10239 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10240
10241 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
10242 now that Emacs supports ImageMagick animations.
10243
10244 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
10245
10246 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
10247 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
10248
10249 2013-08-16 Martin Rudalics <rudalics@gmx.at>
10250
10251 * window.el (mouse-autoselect-window-select): Do autoselect when
10252 mouse pointer is on margin.
10253
10254 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
10255
10256 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
10257
10258 2013-08-16 Glenn Morris <rgm@gnu.org>
10259
10260 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
10261 Handle "Remote Directory" response of some clients. (Bug#15058)
10262
10263 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
10264 Tweak warning. (Bug#14926)
10265
10266 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
10267 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
10268
10269 * image-mode.el (image-mode-map): Add menu items to reverse,
10270 increase, decrease, reset animation speed.
10271 (image--set-speed, image-increase-speed, image-decrease-speed)
10272 (image-reverse-speed, image-reset-speed): New functions.
10273 (image-mode-map): Add bindings for speed commands.
10274
10275 * image.el (image-animate-get-speed, image-animate-set-speed):
10276 New functions.
10277 (image-animate-timeout): Respect image :speed property.
10278
10279 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10280
10281 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
10282 previous line (bug#15101).
10283 (debugger-eval-expression, debugger-record-expression):
10284 Use read--expression (bug#15102).
10285
10286 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
10287
10288 Remove byte compiler warnings, visible when compiling with
10289 `byte-compile-force-lexical-warnings' set to t.
10290
10291 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
10292 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
10293 (tramp-handle-unhandled-file-name-directory)
10294 (tramp-handle-file-notify-add-watch, tramp-action-login)
10295 (tramp-action-succeed, tramp-action-permission-denied)
10296 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
10297 arguments with "_".
10298
10299 * net/tramp-adb.el (tramp-adb-parse-device-names)
10300 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
10301 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
10302 (tramp-adb-handle-file-truename): Remove unused arguments.
10303
10304 * net/tramp-cache.el (tramp-flush-directory-property)
10305 (tramp-flush-connection-property, tramp-list-connections)
10306 (tramp-parse-connection-properties): Prefix unused arguments with "_".
10307
10308 * net/tramp-compat.el (tramp-compat-make-temp-file):
10309 Rename FILENAME to F.
10310
10311 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10312 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
10313 (tramp-zeroconf-parse-workstation-device-names)
10314 (tramp-zeroconf-parse-webdav-device-names)
10315 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
10316
10317 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10318 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
10319
10320 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
10321 arguments.
10322 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
10323 (tramp-sh-handle-insert-file-contents-literally)
10324 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
10325 with "_".
10326 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
10327 Remove unused variables.
10328
10329 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10330 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10331 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10332
10333 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10334 Make them a defconst.
10335 (tramp-uuencode-region): Remove unused variable.
10336
10337 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
10338
10339 * frameset.el (frameset--prop-setter): New function.
10340 (frameset-prop): Add gv-setter declaration.
10341 (frameset-filter-minibuffer): Deal with the case that the minibuffer
10342 parameter was already set in FILTERED. Doc fix.
10343 (frameset--record-minibuffer-relationships): Allow saving a
10344 minibufferless frame without its corresponding minibuffer frame.
10345 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10346 frame, if the frame id matches.
10347 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10348 frames before orphaned ones.
10349 (frameset-restore): Warn about orphaned windows, instead of error out.
10350
10351 2013-08-14 Martin Rudalics <rudalics@gmx.at>
10352
10353 * window.el (window-make-atom): Don't overwrite parameter
10354 already present.
10355 (display-buffer-in-atom-window): Handle special case where we
10356 split an already atomic window.
10357 (window--major-non-side-window, display-buffer-in-side-window)
10358 (window--side-check): Ignore minibuffer window when walking
10359 window tree.
10360 (window-deletable-p): Return 'frame only if no other frame uses
10361 our minibuffer window.
10362 (record-window-buffer): Run buffer-list-update-hook.
10363 (split-window): Make sure window--check-frame won't destroy an
10364 existing atomic window in case the new window gets nested
10365 inside.
10366 (display-buffer-at-bottom): Ignore minibuffer window when
10367 walking window tree. Don't split a side window.
10368 (pop-to-buffer): Don't set-buffer here, the select-window call
10369 should do that.
10370 (mouse-autoselect-window-select): Autoselect only if we are in the
10371 text portion of the window.
10372
10373 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10374
10375 * net/shr.el (shr-parse-image-data): New function to grab both the
10376 data itself and the Content-Type.
10377 (shr-put-image): Use it.
10378
10379 * net/eww.el (eww-display-image): Ditto.
10380
10381 * image.el (image-content-type-suffixes): New variable.
10382
10383 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10384
10385 * progmodes/python.el (python-imenu--build-tree)
10386 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10387
10388 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
10389
10390 * simple.el (backward-word): Mention the optional argument.
10391
10392 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10393
10394 * frameset.el (frameset--make): Rename constructor from make-frameset.
10395 (frameset-p, frameset-valid-p): Don't autoload.
10396 (frameset-valid-p): Use normal accessors.
10397
10398 2013-08-13 Glenn Morris <rgm@gnu.org>
10399
10400 * progmodes/compile.el (compile-command): Tweak example in doc.
10401 * obsolete/scribe.el (scribe-mode):
10402 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
10403
10404 * mail/feedmail.el (feedmail-confirm-outgoing)
10405 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10406
10407 * cus-start.el (truncate-partial-width-windows): Fix type.
10408
10409 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10410
10411 * net/shr.el (shr-table-horizontal-line): Fix custom type.
10412
10413 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10414
10415 * emacs-lisp/timer.el (timer--time-setter): New function.
10416 (timer--time): Use it as gv-setter.
10417
10418 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10419 setter is not a symbol.
10420
10421 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
10422
10423 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10424 if sending fails. This makes debugging easier.
10425
10426 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
10427
10428 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10429 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10430 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10431
10432 2013-08-12 Eli Zaretskii <eliz@gnu.org>
10433
10434 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10435
10436 2013-08-12 Glenn Morris <rgm@gnu.org>
10437
10438 * format.el (format-annotate-function):
10439 Handle read-only text properties in the source. (Bug#14887)
10440
10441 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10442
10443 * net/eww.el (eww-display-html): Ignore coding system errors.
10444 One web site uses "utf-8lias" as the coding system.
10445
10446 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
10447
10448 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10449
10450 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
10451
10452 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10453 (tutorial--detailed-help): Remove unused local variables.
10454 (tutorial--save-tutorial-to): Use ignore-errors.
10455 (help-with-tutorial): Use looking-at-p.
10456
10457 * view.el (view-buffer-other-window, view-buffer-other-frame):
10458 Mark unused arguments.
10459
10460 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10461 (woman-select-symbol-fonts, woman, woman-find-file)
10462 (woman-insert-file-contents, woman-non-underline-faces):
10463 Use string-match-p.
10464 (woman1-unquote): Move declaration.
10465
10466 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10467 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10468 argument. Remove unused local variable.
10469 (xml-parse-elem-type): Use string-match-p.
10470 (xml-substitute-numeric-entities): Use ignore-errors.
10471
10472 * calculator.el (calculator): Mark unused argument.
10473 (calculator-paste, calculator-quit, calculator-integer-p):
10474 Use ignore-errors.
10475 (calculator-string-to-number, calculator-decimal, calculator-exp)
10476 (calculator-op-or-exp): Use string-match-p.
10477
10478 * dired.el (dired-buffer-more-recently-used-p): Declare.
10479 (dired-insert-set-properties, dired-insert-old-subdirs):
10480 Use ignore-errors.
10481
10482 * dired-aux.el (dired-compress): Use ignore-errors.
10483 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10484 (dired-do-async-shell-command, dired-do-shell-command)
10485 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10486 (dired-insert-subdir-validate): Use string-match-p.
10487 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10488 (dired-add-entry): Use string-match-p, looking-at-p.
10489 (dired-insert-subdir-newpos): Remove unused local variable.
10490
10491 * filenotify.el (file-notify-callback): Remove unused local variable.
10492
10493 * filesets.el (filesets-error): Mark unused argument.
10494 (filesets-which-command-p, filesets-filter-dir-names)
10495 (filesets-directory-files, filesets-get-external-viewer)
10496 (filesets-ingroup-get-data): Use string-match-p.
10497
10498 * find-file.el (ff-other-file-name, ff-other-file-name)
10499 (ff-find-the-other-file, ff-cc-hh-converter):
10500 Remove unused local variables.
10501 (ff-get-file-name): Use string-match-p.
10502 (ff-all-dirs-under): Use ignore-errors.
10503
10504 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10505 (follow-select-if-visible): Remove unused local variable.
10506
10507 * forms.el (read-file-filter): Move declaration.
10508 (forms--make-format, forms--make-parser, forms-insert-record):
10509 Quote function with #'.
10510 (forms--update): Use string-match-p. Quote function with #'.
10511
10512 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10513 (help-make-xrefs): Use looking-at-p.
10514 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10515
10516 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10517 (ibuffer-confirm-operation-on): Use string-match-p.
10518
10519 * msb.el (msb-item-handler, msb-dired-item-handler):
10520 Mark unused arguments.
10521
10522 * ses.el (ses-decode-cell-symbol)
10523 (ses-kill-override): Remove unused local variable.
10524 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10525 (ses-load): Use ignore-errors, looking-at-p.
10526 (ses-jump-safe): Use ignore-errors.
10527 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10528
10529 * tabify.el (untabify, tabify): Mark unused arguments.
10530
10531 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10532 Mark unused argument.
10533 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10534 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10535
10536 * emacs-lisp/timer.el (timer--time): Define setter with
10537 gv-define-setter to avoid deprecation warning.
10538
10539 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10540 (*record-cmpl-statistics-p*): Remove (was commented out).
10541 (cmpl-statistics-block): Remove (body was commented out).
10542 All callers changed.
10543 (add-completions-from-buffer, load-completions-from-file):
10544 Remove unused variables.
10545
10546 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10547
10548 * filecache.el (file-cache-delete-file-list):
10549 Print message only when told so.
10550 (file-cache-files-matching): Use #' in mapconcat argument.
10551
10552 * ffap.el (ffap-url-at-point): Fix reference to variable
10553 thing-at-point-default-mail-uri-scheme.
10554
10555 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10556
10557 * subr.el (define-error): New function.
10558 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10559 error-file-not-found and define with define-error.
10560 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10561 and define with define-error.
10562 * userlock.el (file-locked, file-supersession):
10563 * simple.el (mark-inactive):
10564 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10565 * progmodes/ada-mode.el (ada-mode-errors):
10566 * play/life.el (life-extinct):
10567 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10568 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10569 * nxml/rng-util.el (rng-error):
10570 * nxml/rng-uri.el (rng-uri-error):
10571 * nxml/rng-match.el (rng-compile-error):
10572 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10573 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10574 * nxml/nxml-rap.el (nxml-scan-error):
10575 * nxml/nxml-outln.el (nxml-outline-error):
10576 * net/soap-client.el (soap-error):
10577 * net/gnutls.el (gnutls-error):
10578 * net/ange-ftp.el (ftp-error):
10579 * mpc.el (mpc-proc-error):
10580 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10581 (json-number-format, json-string-escape, json-string-format)
10582 (json-key-format, json-object-format):
10583 * jka-compr.el (compression-error):
10584 * international/quail.el (quail-error):
10585 * international/kkc.el (kkc-error):
10586 * emacs-lisp/ert.el (ert-test-failed):
10587 * calc/calc.el (calc-error, inexact-result, math-overflow)
10588 (math-underflow):
10589 * bookmark.el (bookmark-error-no-filename):
10590 * epg.el (epg-error): Define with define-error.
10591
10592 * time.el (display-time-event-handler)
10593 (display-time-next-load-average): Don't call sit-for since it seems
10594 unnecessary (bug#15045).
10595
10596 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10597 Use #' instead of ' to quote functions.
10598 (checkdoc-output-mode): Use setq-local.
10599 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10600 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10601 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10602 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10603 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10604 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10605 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10606 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10607
10608 * ido.el (ido-completion-help): Fix up compiler warning.
10609
10610 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10611
10612 * frameset.el (frameset-p): Add autoload cookie.
10613 (frameset--jump-to-register): New function, based on code moved from
10614 register.el.
10615 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10616
10617 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10618 (frameset-restore, frameset-save, frameset-session-filter-alist):
10619 Remove declarations.
10620 (register-alist): Doc fix.
10621 (frameset-to-register): Move to frameset.el.
10622 (jump-to-register, describe-register-1): Remove frameset-specific code.
10623
10624 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10625
10626 * allout-widgets.el (allout-widgets-pre-command-business)
10627 (allout-widgets-post-command-business)
10628 (allout-widgets-after-change-handler)
10629 (allout-decorate-item-and-context, allout-set-boundary-marker)
10630 (allout-body-modification-handler)
10631 (allout-graphics-modification-handler): Mark ignored arguments.
10632 (allout-widgets-post-command-business)
10633 (allout-widgets-exposure-change-processor)
10634 (allout-widgets-exposure-undo-processor)
10635 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10636 (allout-parse-item-at-point, allout-decorate-item-guides)
10637 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10638 * allout.el (epa-passphrase-callback-function): Declare.
10639 (allout-overlay-insert-in-front-handler)
10640 (allout-overlay-interior-modification-handler)
10641 (allout-isearch-end-handler, allout-chart-siblings)
10642 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10643 (allout-yank-processing, allout-process-exposed)
10644 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10645 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10646 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10647 (lisp-indent-defform): Mark ignored arguments.
10648 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10649 (calculate-lisp-indent): Remove unused variables.
10650 * international/characters.el (indian-2-column, arabic-2-column)
10651 (tibetan): Mark ignored arguments.
10652 (use-cjk-char-width-table): Mark ignored arguments.
10653 Remove unused variables.
10654 * international/fontset.el (build-default-fontset-data)
10655 (x-compose-font-name, create-fontset-from-fontset-spec):
10656 Mark ignored arguments.
10657 (fontset-plain-name): Remove unused variables.
10658 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10659 (keyboard-coding-system): Mark ignored arguments.
10660 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10661 * help.el (resize-temp-buffer-window):
10662 * window.el (display-buffer-in-major-side-window)
10663 (display-buffer-in-side-window, display-buffer-in-previous-window):
10664 Remove unused variables.
10665 * isearch.el (isearch-forward-symbol):
10666 * version.el (emacs-bzr-version-bzr):
10667 * international/mule-cmds.el (current-language-environment):
10668 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10669 (x-handle-display):
10670 * term/pc-win.el (x-list-fonts, x-display-planes)
10671 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10672 (x-server-version, x-display-screens, x-display-mm-height)
10673 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10674 (x-selection-owner-p, x-own-selection-internal)
10675 (x-disown-selection-internal, x-get-selection-internal)
10676 (msdos-initialize-window-system):
10677 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10678 * term/x-win.el (x-handle-no-bitmap-icon):
10679 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10680 (vc-default-find-file-hook, vc-default-extra-menu):
10681 Mark ignored arguments.
10682
10683 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10684
10685 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10686 break-condition in the context of the debugged code (bug#12685).
10687
10688 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10689
10690 * comint.el:
10691 Do not use an overlay to highlight the last prompt. (Bug#14744)
10692 (comint-mode): Make comint-last-prompt buffer local.
10693 (comint-last-prompt): New variable.
10694 (comint-last-prompt-overlay): Remove. Superseded by
10695 comint-last-prompt.
10696 (comint-snapshot-last-prompt, comint-output-filter):
10697 Use comint-last-prompt.
10698
10699 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10700
10701 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10702 (frameset-save): Check validity of the resulting frameset.
10703
10704 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10705
10706 * ido.el (ido-record-command): Add doc string.
10707
10708 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10709
10710 * frameset.el (frameset): Do not disable creation of the default
10711 frameset-p predicate. Doc fix.
10712 (frameset-valid-p): New function, copied from the old predicate-p.
10713 Add additional checks.
10714 (frameset-restore): Check with frameset-valid-p.
10715 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10716 (frameset-name, frameset-description, frameset-properties)
10717 (frameset-states): Add docstring.
10718 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10719 (frameset-filter-alist): Doc fixes.
10720
10721 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10722
10723 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10724
10725 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10726
10727 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10728 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10729 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10730 (byte-compile-normal-call): Remove obsolescence check.
10731
10732 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10733
10734 * frameset.el (frameset-restore): Doc fix.
10735
10736 * register.el (frameset-frame-id, frameset-frame-with-id)
10737 (frameset-p, frameset-restore, frameset-save): Declare.
10738 (register-alist): Document framesets.
10739 (frameset-session-filter-alist): Declare.
10740 (frameset-to-register): New function.
10741 (jump-to-register): Implement jumping to framesets. Doc fix.
10742 (describe-register-1): Describe framesets.
10743
10744 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10745
10746 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10747
10748 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10749 Use lexical-binding.
10750
10751 * frameset.el (frameset): Use type vector, not list (incompatible
10752 change). Do not declare a new constructor, use the default one.
10753 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10754 `name' and `description', respectively, and add read-only slot
10755 `timestamp'. Doc fixes.
10756 (frameset-copy, frameset-persistent-filter-alist)
10757 (frameset-filter-alist, frameset-switch-to-gui-p)
10758 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10759 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10760 (frameset-filter-iconified, frameset-keep-original-display-p):
10761 Doc fixes.
10762 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10763 Rename from frameset-filter-(save|restore)-param. All callers changed.
10764 Doc fix.
10765 (frameset-p): Adapt to change to vector and be more thorough.
10766 Change arg name to OBJECT. Doc fix.
10767 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10768 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10769 All callers changed.
10770 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10771 All callers changed.
10772 (frameset--record-minibuffer-relationships): Rename from
10773 frameset--process-minibuffer-frames. All callers changed.
10774 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10775 Use new default constructor (again). Doc fix.
10776 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10777 All callers changed.
10778 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10779 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10780 Doc fix.
10781 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10782 PARAMETERS and WINDOW-STATE, respectively.
10783 (frameset-restore): Add new keyword argument PREDICATE.
10784 Reset frameset--target-display to nil. Doc fix.
10785
10786 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10787
10788 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10789 (bat-mode): Use it.
10790 (bat-mode-syntax-table): Mark \n as end-of-comment.
10791 (bat-font-lock-keywords): Remove comment rule.
10792
10793 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10794 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10795
10796 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10797 (byte-compile-callargs-warn): Use `push'.
10798 (byte-compile-arglist-warn): Ignore higher-order "calls".
10799 (byte-compile-file-form-autoload): Use `pcase'.
10800 (byte-compile-function-form): If quoting a symbol, check that it exists.
10801
10802 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10803
10804 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10805 and add a few popular commands found in batch files.
10806 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10807 (dos-mode): Doc fixes.
10808
10809 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10810
10811 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10812 (dos-mode): Use setq-local. Add space after "rem".
10813 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10814 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10815
10816 2013-08-07 Arni Magnusson <arnima@hafro.is>
10817
10818 * progmodes/dos.el: New file.
10819 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10820 dos-mode.
10821
10822 2013-08-06 Glenn Morris <rgm@gnu.org>
10823
10824 * calendar/calendar.el: Add new faces, and day-header-array.
10825 (calendar-weekday-header, calendar-weekend-header)
10826 (calendar-month-header): New faces.
10827 (calendar-day-header-construct): New function.
10828 (calendar-day-header-width): Also :set calendar-day-header-array.
10829 (calendar-american-month-header, calendar-european-month-header)
10830 (calendar-iso-month-header): Use calendar- faces.
10831 (calendar-generate-month):
10832 Use calendar-day-header-array for day headers; apply faces to them.
10833 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10834 (calendar-abbrev-construct): Add optional maxlen argument.
10835 (calendar-day-name-array): Doc fix.
10836 (calendar-day-name-array, calendar-abbrev-length)
10837 (calendar-day-abbrev-array):
10838 Also :set calendar-day-header-array, and maybe redraw.
10839 (calendar-day-header-array): New option. (Bug#15007)
10840 (calendar-font-lock-keywords): Set to nil and make obsolete.
10841 (calendar-day-name): Add option to use header array.
10842
10843 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10844
10845 * net/shr.el (shr-render-td): Remove debugging.
10846 (shr-render-td): Make width computation consistent by defaulting
10847 all zero-width columns to 10 characters. This may not be optimal,
10848 but it's at least consistent.
10849 (shr-make-table-1): Redo last change to fix the real problem in
10850 colspan handling.
10851
10852 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10853
10854 * files.el (cache-long-line-scans):
10855 Make obsolete alias to `cache-long-scans'.
10856
10857 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10858
10859 * frameset.el (frameset, frameset-filter-alist)
10860 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10861 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10862 (frameset-compute-pos): Rename from frameset--compute-pos,
10863 and add docstring.
10864 (frameset-move-onscreen): Use frameset-compute-pos.
10865 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10866
10867 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10868 Fix typos in docstrings.
10869
10870 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10871
10872 * frame.el (get-other-frame): Tiny cleanup.
10873
10874 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10875
10876 * vc/vc.el (vc-default-ignore-completion-table):
10877 Silence byte-compiler warning.
10878
10879 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10880 slot, which can indeed be nil.
10881 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10882 Move entry for `left' from persistent to live filter alist.
10883 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10884 Doc fixes.
10885 (frameset-filter-params): When restoring a frame, copy items added to
10886 `filtered', to avoid unwittingly modifying the original parameters.
10887 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10888 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10889
10890 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10891 to use looking-at-p instead of looking-at. (Bug#15028)
10892
10893 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10894
10895 Revert introduction of isearch-filter-predicates (bug#14714).
10896 Rely on add-function instead.
10897 * isearch.el (isearch-filter-predicates): Rename it back to
10898 isearch-filter-predicate.
10899 (isearch-message-prefix): Use advice-function-mapc and advice
10900 properties to get the isearch-message-prefix.
10901 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10902 instead of run-hook-with-args-until-failure.
10903 (isearch-filter-visible): Not obsolete any more.
10904 * loadup.el: Preload nadvice.
10905 * replace.el (perform-replace): Revert to funcall
10906 instead of run-hook-with-args-until-failure.
10907 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10908 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10909 dired-isearch-filenames-toggle; make it into a proper minor mode.
10910 Use add/remove-function.
10911 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10912 Call the minor-mode rather than add/remove-hook.
10913 (dired-isearch-filter-filenames):
10914 Remove isearch-message-prefix property.
10915 * info.el (Info--search-loop): New function, extracted from Info-search.
10916 Funcall isearch-filter-predicate instead of
10917 run-hook-with-args-until-failure isearch-filter-predicates.
10918 (Info-search): Use it.
10919 (Info-mode): Use isearch-filter-predicate instead of
10920 isearch-filter-predicates.
10921
10922 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10923
10924 Do not call to `selected-window' where it is assumed by default.
10925 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10926 `window-hscroll', `window-width', `window-height', `window-buffer',
10927 `window-frame', `window-start', `window-point', `next-window'
10928 and `window-display-table'.
10929 * abbrev.el (abbrev--default-expand):
10930 * bs.el (bs--show-with-configuration):
10931 * buff-menu.el (Buffer-menu-mouse-select):
10932 * calc/calc.el (calc):
10933 * calendar/calendar.el (calendar-generate-window):
10934 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10935 (diary-make-entry):
10936 * comint.el (send-invisible, comint-dynamic-complete-filename)
10937 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10938 * completion.el (complete):
10939 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10940 * disp-table.el (describe-current-display-table):
10941 * doc-view.el (doc-view-insert-image):
10942 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10943 * ehelp.el (with-electric-help):
10944 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10945 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10946 * emacs-lisp/helper.el (Helper-help-scroller):
10947 * emulation/cua-base.el (cua--post-command-handler-1):
10948 * eshell/esh-mode.el (eshell-output-filter):
10949 * ffap.el (ffap-gnus-wrapper):
10950 * help-macro.el (make-help-screen):
10951 * hilit-chg.el (highlight-compare-buffers):
10952 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10953 * hl-line.el (global-hl-line-highlight):
10954 * icomplete.el (icomplete-simple-completing-p):
10955 * isearch.el (isearch-done):
10956 * jit-lock.el (jit-lock-stealth-fontify):
10957 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10958 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10959 * mpc.el (mpc-tagbrowser, mpc):
10960 * net/rcirc.el (rcirc-any-buffer):
10961 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10962 * play/landmark.el (landmark-max-width, landmark-max-height):
10963 * play/zone.el (zone):
10964 * progmodes/compile.el (compilation-goto-locus):
10965 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10966 * progmodes/etags.el (find-tag-other-window):
10967 * progmodes/fortran.el (fortran-column-ruler):
10968 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10969 * progmodes/verilog-mode.el (verilog-point-text):
10970 * reposition.el (reposition-window):
10971 * rot13.el (toggle-rot13-mode):
10972 * server.el (server-switch-buffer):
10973 * shell.el (shell-dynamic-complete-command)
10974 (shell-dynamic-complete-environment-variable):
10975 * simple.el (insert-buffer, set-selective-display)
10976 (delete-completion-window):
10977 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10978 (speedbar-recenter):
10979 * startup.el (fancy-splash-head):
10980 * textmodes/ispell.el (ispell-command-loop):
10981 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10982 * tutorial.el (help-with-tutorial):
10983 * vc/add-log.el (add-change-log-entry):
10984 * vc/compare-w.el (compare-windows):
10985 * vc/ediff-help.el (ediff-indent-help-message):
10986 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10987 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10988 (ediff-setup-control-frame):
10989 * vc/emerge.el (emerge-position-region):
10990 * vc/pcvs-util.el (cvs-bury-buffer):
10991 * window.el (walk-windows, mouse-autoselect-window-select):
10992 * winner.el (winner-set-conf, winner-undo): Related users changed.
10993
10994 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10995
10996 * frameset.el (frameset--set-id): Doc fix.
10997 (frameset-frame-id, frameset-frame-id-equal-p)
10998 (frameset-locate-frame-id): New functions.
10999 (frameset--process-minibuffer-frames, frameset--reuse-frame)
11000 (frameset-restore): Use them.
11001
11002 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11003
11004 Do not call to `selected-frame' where it is assumed by default.
11005 Affected functions are `raise-frame', `redraw-frame',
11006 `frame-first-window', `frame-terminal' and `delete-frame'.
11007 * calendar/appt.el (appt-disp-window):
11008 * epg.el (epg-wait-for-completion):
11009 * follow.el (follow-delete-other-windows-and-split)
11010 (follow-avoid-tail-recenter):
11011 * international/mule.el (set-terminal-coding-system):
11012 * mail/rmail.el (rmail-mail-return):
11013 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
11014 * progmodes/f90.el (f90-add-imenu-menu):
11015 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
11016 * server.el (server-switch-buffer):
11017 * simple.el (delete-completion-window):
11018 * talk.el (talk):
11019 * term/xterm.el (terminal-init-xterm-modify-other-keys)
11020 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
11021 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
11022 * vc/ediff.el (ediff-documentation): Related users changed.
11023 * frame.el (selected-terminal): Remove the leftover.
11024
11025 2013-08-05 Glenn Morris <rgm@gnu.org>
11026
11027 * calendar/calendar.el (calendar-generate-month):
11028 Fix for calendar-column-width != 1 + calendar-day-digit-width.
11029 (calendar-generate-month, calendar-font-lock-keywords):
11030 Fix for calendar-day-header-width > length of any day name.
11031
11032 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11033
11034 * desktop.el (desktop-clear): Use new name of sort predicate.
11035
11036 * frameset.el (frameset): Add docstring. Move :version property to its
11037 own `version' slot.
11038 (frameset-copy): Rename from copy-frameset.
11039 (frameset-p): Check more thoroughly.
11040 (frameset-prop): Do not check for :version, which is no longer a prop.
11041 (frameset-live-filter-alist, frameset-persistent-filter-alist):
11042 Use new :never value instead of t.
11043 (frameset-filter-alist): Expand and clarify docstring.
11044 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
11045 (frameset-filter-minibuffer, frameset-filter-save-param)
11046 (frameset-filter-restore-param, frameset-filter-iconified):
11047 Add pointer to docstring of frameset-filter-alist.
11048 (frameset-filter-params): Rename filter values to be more meaningful:
11049 :never instead of t, and reverse the meanings of :save and :restore.
11050 (frameset--process-minibuffer-frames): Clarify error message.
11051 (frameset-save): Avoid unnecessary and confusing call to framep.
11052 Use new BOA constructor for framesets.
11053 (frameset--reuse-list): Doc fix.
11054 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
11055 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
11056 (frameset-minibufferless-first-p): Doc fix.
11057 Rename from frameset-sort-frames-for-deletion.
11058 (frameset-restore): Doc fixes. Use new function names.
11059 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11060
11061 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11062
11063 * desktop.el (desktop-restore-forces-onscreen)
11064 (desktop-restore-reuses-frames): Document :keyword constant values.
11065 (desktop-filter-parameters-alist): Remove, now identical to
11066 frameset-filter-alist.
11067 (desktop--filter-tty*): Remove, moved to frameset.el.
11068 (desktop-save-frameset, desktop-restore-frameset):
11069 Do not pass :filters argument.
11070
11071 * frameset.el (frameset-live-filter-alist)
11072 (frameset-persistent-filter-alist): New variables.
11073 (frameset-filter-alist): Use them. Add autoload cookie.
11074 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
11075 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
11076 `frameset--id' (it's supposed to be internal to frameset.el).
11077 (frameset--process-minibuffer-frames): Ditto. Doc fix.
11078 (frameset--initial-params): New function.
11079 (frameset--get-frame): Use it. Doc fix.
11080 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
11081 Accept :all, not 'all.
11082 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
11083 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
11084 with fbound symbols. Fix frame id matching, and remove matching ids if
11085 the frame being restored is deleted. Obey :delete.
11086
11087 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11088
11089 * subr.el (macrop): New function.
11090 (text-clone--maintaining): New var.
11091 (text-clone--maintain): Rename from text-clone-maintain. Use it
11092 instead of inhibit-modification-hooks.
11093
11094 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
11095 a proxy, so as handle autoloads and redefinitions of the target.
11096 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
11097
11098 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
11099 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
11100 (pcase--mutually-exclusive-p): New function.
11101 (pcase--split-consp): Use it.
11102 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
11103 mutually exclusive with the current predicate.
11104
11105 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
11106 (edebug-macrop): Remove. Use `macrop' instead.
11107 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
11108 (ad-macro-p):
11109 * eshell/esh-cmd.el (eshell-macrop):
11110 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
11111
11112 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11113
11114 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
11115 (advice-mapc): New function, using it.
11116 (advice-function-member-p): New function.
11117 (advice--normalize): Store the cdr in advice--saved-rewrite since
11118 that's the part that will be changed.
11119 (advice--symbol-function): New function.
11120 (advice-remove): Handle removal before the function is defined.
11121 Adjust to new advice--saved-rewrite.
11122 (advice-member-p): Use advice-function-member-p and
11123 advice--symbol-function.
11124
11125 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11126
11127 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
11128 (frameset-filter-minibuffer): Doc fix.
11129 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
11130 (frameset--set-id, frameset--process-minibuffer-frames)
11131 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
11132 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
11133
11134 * desktop.el (desktop-clear): Only delete frames when called
11135 interactively and desktop-restore-frames is non-nil. Doc fix.
11136 (desktop-read): Set desktop-saved-frameset to nil.
11137
11138 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
11139
11140 * vc/vc.el (vc-ignore): Rewrite.
11141 (vc-default-ignore-completion-table, vc--read-lines)
11142 (vc--add-line, vc--remove-regexp): New functions.
11143
11144 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
11145 (vc-svn-ignore-completion-table): New function.
11146
11147 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
11148 (vc-hg-ignore-completion-table)
11149 (vc-hg-find-ignore-file): New functions.
11150
11151 * vc/vc-git.el (vc-git-ignore): Rewrite.
11152 (vc-git-ignore-completion-table)
11153 (vc-git-find-ignore-file): New functions.
11154
11155 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
11156
11157 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
11158 (vc-bzr-ignore-completion-table)
11159 (vc-bzr-find-ignore-file): New functions.
11160
11161 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
11162
11163 * frameset.el (frameset-prop): New function and setter.
11164 (frameset-save): Do not modify frame list passed by the caller.
11165
11166 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11167
11168 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
11169
11170 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
11171
11172 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
11173 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
11174
11175 * custom.el (custom-initialize-default, custom-initialize-set)
11176 (custom-initialize-reset, custom-initialize-changed): Affect the
11177 toplevel-default-value (bug#6275, bug#14586).
11178 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
11179 for bug#6275.
11180
11181 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11182
11183 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11184 Add cl-def* expressions.
11185
11186 * frameset.el (frameset-filter-params): Fix order of arguments.
11187
11188 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11189
11190 Move code related to saving frames to frameset.el.
11191 * desktop.el: Require frameset.
11192 (desktop-restore-frames): Doc fix.
11193 (desktop-restore-reuses-frames): Rename from
11194 desktop-restoring-reuses-frames.
11195 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
11196 (desktop-clear): Clear frames too.
11197 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
11198 (desktop--filter-tty*, desktop-save, desktop-read):
11199 Use frameset functions.
11200 (desktop-before-saving-frames-functions, desktop--filter-*-color)
11201 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11202 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
11203 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
11204 (desktop--process-minibuffer-frames, desktop-save-frames)
11205 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
11206 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
11207 (desktop--sort-states, desktop-restoring-frames-p)
11208 (desktop-restore-frames): Remove. Most code moved to frameset.el.
11209 (desktop-restoring-frameset-p, desktop-restore-frameset)
11210 (desktop--check-dont-save, desktop-save-frameset): New functions.
11211 (desktop--app-id): New constant.
11212 (desktop-first-buffer, desktop-buffer-ok-count)
11213 (desktop-buffer-fail-count): Move before first use.
11214 * frameset.el: New file.
11215
11216 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11217
11218 * files.el: Use lexical-binding.
11219 (dir-locals-read-from-file): Remove unused `err' variable.
11220 (hack-dir-local-variables--warned-coding): New var.
11221 (hack-dir-local-variables): Use it to avoid repeated warnings.
11222 (make-backup-file-name--default-function): New function.
11223 (make-backup-file-name-function): Use it as default.
11224 (buffer-stale--default-function): New function.
11225 (buffer-stale-function): Use it as default.
11226 (revert-buffer-insert-file-contents--default-function): New function.
11227 (revert-buffer-insert-file-contents-function): Use it as default.
11228 (insert-directory): Avoid add-to-list.
11229
11230 * autorevert.el (auto-revert-handler): Simplify.
11231 Use buffer-stale--default-function.
11232
11233 2013-08-01 Tassilo Horn <tsdh@gnu.org>
11234
11235 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
11236
11237 * whitespace.el (whitespace-ensure-local-variables): New function.
11238 (whitespace-cleanup-region): Call it.
11239 (whitespace-turn-on): Call it.
11240
11241 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
11242
11243 Complete file name handlers.
11244
11245 * net/tramp.el (tramp-handle-set-visited-file-modtime)
11246 (tramp-handle-verify-visited-file-modtime)
11247 (tramp-handle-file-notify-rm-watch): New functions.
11248 (tramp-call-process): Do not bind `default-directory'.
11249
11250 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11251 Order alphabetically.
11252 <access-file, add-name-to-file, dired-call-process>:
11253 <dired-compress-file, file-acl, file-notify-rm-watch>:
11254 <file-ownership-preserved-p, file-selinux-context>:
11255 <make-directory-internal, make-symbolic-link, set-file-acl>:
11256 <set-file-selinux-context, set-visited-file-modtime>:
11257 <verify-visited-file-modtime>: Add handler.
11258 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
11259
11260 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11261 <file-notify-add-watch, file-notify-rm-watch>:
11262 <set-file-times, set-visited-file-modtime>:
11263 <verify-visited-file-modtime>: Add handler.
11264 (with-tramp-gvfs-error-message)
11265 (tramp-gvfs-handle-set-visited-file-modtime)
11266 (tramp-gvfs-fuse-file-name): Remove.
11267 (tramp-gvfs-handle-file-notify-add-watch)
11268 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
11269 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
11270
11271 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11272 Order alphabetically.
11273 <file-notify-rm-watch>: Use default Tramp handler.
11274 <executable-find>: Remove private handler.
11275 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
11276 `default-directory'.
11277 (tramp-sh-handle-executable-find)
11278 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
11279 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11280 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
11281 Do not use `format' in `tramp-message'.
11282
11283 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
11284 <file-notify-rm-watch, set-visited-file-modtime>:
11285 <verify-visited-file-modtime>: Add handler.
11286 (tramp-smb-call-winexe): Do not bind `default-directory'.
11287
11288 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
11289
11290 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
11291
11292 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
11293
11294 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
11295 use it.
11296 (log-view-diff-changeset): Same.
11297 (log-view-diff-common): Call backend command `previous-revision'
11298 to find out the previous revision, in both cases. Swap the
11299 variables `to' and `fr', so that `fr' usually refers to the
11300 earlier revision (Bug#14989).
11301
11302 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
11303
11304 * ibuf-ext.el (ibuffer-filter-by-filename):
11305 Make it work with dired buffers too.
11306
11307 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
11308
11309 * emacs-lisp/re-builder.el (reb-color-display-p):
11310 * files.el (save-buffers-kill-terminal):
11311 * net/browse-url.el (browse-url):
11312 * server.el (server-save-buffers-kill-terminal):
11313 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
11314 Prefer nil to selected-frame for the first arg of frame-parameter.
11315
11316 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
11317
11318 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
11319
11320 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
11321
11322 * minibuffer.el (completion--twq-all): Try and preserve each
11323 completion's case choice (bug#14907).
11324
11325 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11326
11327 * net/network-stream.el (open-network-stream): Mention the new
11328 :nogreeting parameter.
11329 (network-stream-open-starttls): Use the :nogreeting parameter
11330 (bug#14938).
11331
11332 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11333
11334 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11335 more natural than popping.
11336
11337 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
11338 (shr-urlify): Highlight under mouse.
11339
11340 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11341
11342 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11343
11344 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11345
11346 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
11347 buffer for output.
11348
11349 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
11350 point-min==1. Fix search string. Fix parentheses missing.
11351
11352 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
11353 assume point-min==1. Fix search string. Fix parentheses missing.
11354
11355 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11356
11357 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
11358 buffer for output.
11359
11360 2013-07-29 Eli Zaretskii <eliz@gnu.org>
11361
11362 * frame.el (frame-notice-user-settings): Avoid inflooping when the
11363 initial frame is minibuffer-less. (Bug#14841)
11364
11365 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
11366
11367 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11368 option.
11369
11370 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11371 (tramp-maybe-open-connection): Use it.
11372
11373 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11374
11375 * desktop.el (desktop--make-frame): Include `minibuffer' in the
11376 minimal set of parameters passed when creating a frame, because
11377 the minibuffer status of a frame cannot be changed later.
11378
11379 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
11380
11381 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11382 replace-regexp-in-string and inadvertent omissions in previous change.
11383 (todo-filter-items): Ensure only file names are comma-separated in
11384 name of filtered items buffer.
11385
11386 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11387
11388 * desktop.el: Optionally force offscreen frames back onscreen.
11389 (desktop-restoring-reuses-frames): New option.
11390 (desktop--compute-pos, desktop--move-onscreen): New functions.
11391 (desktop--make-frame): Use desktop--move-onscreen.
11392
11393 2013-07-27 Alan Mackenzie <acm@muc.de>
11394
11395 Fontify a Java generic method as a function.
11396 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11397 value to t.
11398
11399 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
11400
11401 * calendar/todo-mode.el: Add command to rename todo files.
11402 (todo-rename-file): New command.
11403 (todo-key-bindings-t): Add key binding for it. Change the
11404 bindings of todo-filter-regexp-items(-multifile) to use `x'
11405 instead of `r', since the latter is better suited to the new
11406 renaming command.
11407
11408 2013-07-27 Alan Mackenzie <acm@muc.de>
11409
11410 Make Java try-with-resources statement parse properly.
11411 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11412 (c-block-stmt-1-2-key): New language constants/variables.
11413 * progmodes/cc-engine.el (c-beginning-of-statement-1)
11414 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11415 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11416 with c-block-stmt-1-2-key.
11417
11418 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
11419
11420 * desktop.el (desktop--make-frame): Apply most frame parameters after
11421 creating the frame to force (partially or totally) offscreen frames to
11422 be restored as such.
11423
11424 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
11425
11426 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11427 (Bug#14948)
11428
11429 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11430
11431 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11432 `base' arg of backtrace-frame.
11433
11434 2013-07-26 Eli Zaretskii <eliz@gnu.org>
11435
11436 * simple.el (list-processes): Doc fix.
11437
11438 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11439
11440 * desktop.el (desktop--select-frame):
11441 Try harder to reuse existing frames.
11442
11443 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11444
11445 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11446 (edebug-eval): Use backtrace-eval.
11447 (edebug--display, edebug--recursive-edit): Don't let-bind the
11448 edebug-outer-* vars that keep track of variables we locally let-bind.
11449 (edebug-outside-excursion): Don't restore outside values of locally
11450 let-bound vars.
11451 (edebug--display): Use user-error.
11452 (cl-lexical-debug, cl-debug-env): Remove.
11453
11454 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11455
11456 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11457 are restored to be sure that they are visible before deleting any
11458 remaining ones.
11459
11460 2013-07-26 Matthias Meulien <orontee@gmail.com>
11461
11462 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11463 vc-print-root-log. (Bug#14948)
11464
11465 2013-07-26 Richard Stallman <rms@gnu.org>
11466
11467 Add aliases for encrypting mail.
11468 * epa.el (epa-mail-aliases): New option.
11469 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11470 Bind inhibit-read-only so read-only text doesn't ruin everything.
11471 (epa-mail-default-recipients): New subroutine broken out.
11472 Handle epa-mail-aliases.
11473
11474 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11475
11476 Add support for lexical variables to the debugger's `e' command.
11477 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11478 vars, except for debugger-outer-match-data.
11479 (debugger-frame-number): Move check for "on a function call" from
11480 callers into it. Add `skip-base' argument.
11481 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11482 (debugger-env-macro): Only reset the state stored in non-variables,
11483 i.e. current-buffer and match-data.
11484 (debugger-eval-expression): Rewrite using backtrace-eval.
11485 * subr.el (internal--called-interactively-p--get-frame): Remove.
11486 (called-interactively-p):
11487 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11488 `base' arg of backtrace-frame instead.
11489
11490 2013-07-26 Glenn Morris <rgm@gnu.org>
11491
11492 * align.el (align-regexp): Doc fix. (Bug#14857)
11493 (align-region): Explicit error if subexpression missing/does not match.
11494
11495 * simple.el (global-visual-line-mode):
11496 Do not duplicate the mode lighter. (Bug#14858)
11497
11498 2013-07-25 Martin Rudalics <rudalics@gmx.at>
11499
11500 * window.el (display-buffer): In display-buffer bind
11501 split-window-keep-point to t, bug#14829.
11502
11503 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11504
11505 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11506 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11507 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11508 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11509 Change accordingly.
11510 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11511 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11512
11513 2013-07-25 Glenn Morris <rgm@gnu.org>
11514
11515 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11516
11517 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11518
11519 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11520 parameter to modify-frame-parameters if the value has not changed;
11521 this is a workaround for bug#14949.
11522 (desktop--make-frame): On cl-delete-if call, check parameter name,
11523 not full parameter.
11524
11525 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11526
11527 * vc/vc.el (vc-ignore): New function.
11528
11529 * vc/vc-svn.el (vc-svn-ignore): New function.
11530
11531 * vc/vc-hg.el (vc-hg-ignore): New function.
11532
11533 * vc/vc-git.el (vc-git-ignore): New function.
11534
11535 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11536 (vc-dir-ignore): New function.
11537
11538 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11539 (cvs-append-to-ignore): Move here from pcvs.el.
11540
11541 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11542
11543 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11544
11545 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11546
11547 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11548 (desktop-restore-frames): Warn when deleting an existing frame failed.
11549
11550 2013-07-24 Glenn Morris <rgm@gnu.org>
11551
11552 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11553
11554 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11555
11556 * filenotify.el (file-notify-supported-p):
11557 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11558 Remove functions.
11559
11560 * autorevert.el (auto-revert-use-notify)
11561 (auto-revert-notify-add-watch):
11562 * net/tramp.el (tramp-file-name-for-operation):
11563 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11564 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11565 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11566 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11567 Remove `file-notify-supported-p' entry.
11568
11569 2013-07-24 Glenn Morris <rgm@gnu.org>
11570
11571 * printing.el: Replace all uses of deleted ps-windows-system,
11572 ps-lp-system, ps-flatten-list with lpr- versions.
11573
11574 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11575
11576 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11577 checked with memq (bug#14935).
11578
11579 * files.el (revert-buffer-function): Use a non-nil default.
11580 (revert-buffer-preserve-modes): Declare var to
11581 provide access to the `preserve-modes' argument.
11582 (revert-buffer): Let-bind it.
11583 (revert-buffer--default): New function, extracted from revert-buffer.
11584
11585 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11586
11587 * lpr.el: Signal print errors more prominently.
11588 (print-region-function): Don't default to nil.
11589 (lpr-print-region): New function, extracted from print-region-1.
11590 Check lpr's return value and signal an error in case of problem.
11591 (print-region-1): Use it.
11592 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11593 versions instead.
11594 (ps-printer-name): Default to nil.
11595 (ps-printer-name-option): Default to lpr-printer-switch.
11596 (ps-print-region-function): Don't default to nil.
11597 (ps-postscript-code-directory): Simplify default.
11598 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11599 (ps-string-list, ps-eval-switch, ps-flatten-list)
11600 (ps-flatten-list-1): Remove.
11601 (ps-multibyte-buffer): Avoid setq.
11602 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11603 (print-region-function, ps-print-region-function): Don't set them here.
11604
11605 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11606
11607 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11608 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11609 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11610 (ido-decorations): Doc fix.
11611
11612 * ansi-color.el: Fix old URL.
11613
11614 2013-07-23 Michael R. Mauger <michael@mauger.com>
11615
11616 * progmodes/sql.el: Version 3.3
11617 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11618 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11619 (sql-interactive-remove-continuation-prompt): Rewrite, use
11620 functions above. Fix continuation prompt and complete output line
11621 handling.
11622 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11623 redirected output buffer.
11624 (sql-mode): Restore deleted code (Bug#13591).
11625
11626 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11627
11628 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11629
11630 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11631
11632 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11633
11634 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11635 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11636 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11637
11638 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11639
11640 * desktop.el (desktop-clear): Simplify; remove useless checks
11641 against invalid buffer names.
11642 (desktop-list*): Use cl-list*.
11643 (desktop-buffer-info, desktop-create-buffer): Simplify.
11644
11645 2013-07-23 Leo Liu <sdl.web@gmail.com>
11646
11647 * bookmark.el (bookmark-make-record): Restore NAME as a default
11648 value. (Bug#14933)
11649
11650 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11651
11652 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11653 extracted from autoload--insert-text.
11654 (autoload--insert-text): Remove.
11655 (autoload--print-cookie-text): New function, extracted from
11656 autoload--insert-cookie-text.
11657 (autoload--insert-cookie-text): Remove.
11658 (autoload-generate-file-autoloads): Adjust calls accordingly.
11659
11660 * winner.el (winner-hook-installed-p): Remove.
11661 (winner-mode): Simplify accordingly.
11662
11663 * subr.el (add-to-list): Fix compiler-macro when `append' is
11664 not constant. Don't use `cl-member' for the base case.
11665
11666 * progmodes/subword.el: Fix boundary case (bug#13758).
11667 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11668 own group.
11669 (subword-backward-regexp): Make it a constant.
11670 (subword-forward-internal): Don't treat a trailing capital as the
11671 beginning of a word.
11672
11673 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11674
11675 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11676 global value of tabulated-list-revert-hook (bug#14930).
11677
11678 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11679
11680 * desktop.el: Require 'cl-lib.
11681 (desktop-before-saving-frames-functions): New hook.
11682 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11683 for frames being saved. Rename from desktop--save-minibuffer-frames.
11684 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11685 Do not save frames with non-nil `desktop-dont-save' parameter.
11686 Filter out deleted frames.
11687 (desktop--find-frame): Use cl-find-if.
11688 (desktop--select-frame): Use cl-(first|second|third) to access values
11689 of desktop-mini.
11690 (desktop--make-frame): Use cl-delete-if.
11691 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11692 (desktop-restore-frames): Use cl-(first|second|third) to access values
11693 of desktop-mini. Look for visible frame at the end, not while
11694 restoring frames.
11695
11696 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11697 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11698 Use string-match-p, looking-at-p (bug#14927).
11699
11700 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11701
11702 * desktop.el (desktop-saved-frame-states):
11703 Rename from desktop--saved-states; all users changed.
11704 (desktop-save-frames): Rename from desktop--save-frames.
11705 Do not save state to desktop file.
11706 (desktop-save): Save desktop-saved-frame-states to desktop file
11707 and reset to nil.
11708 (desktop-restoring-frames-p): New function.
11709 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11710 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11711 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11712
11713 * desktop.el: Correctly restore iconified frames.
11714 (desktop--filter-iconified-position): New function.
11715 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11716
11717 2013-07-20 Glenn Morris <rgm@gnu.org>
11718
11719 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11720 Let `message' do the formatting.
11721 (def-gdb-preempt-display-buffer): Add explicit format.
11722
11723 * image-dired.el (image-dired-track-original-file):
11724 Use with-current-buffer.
11725 (image-dired-track-thumbnail): Use with-current-buffer.
11726 Avoid changing point of wrong window.
11727
11728 * image-dired.el (image-dired-track-original-file):
11729 Avoid changing point of wrong window. (Bug#14909)
11730
11731 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11732
11733 * progmodes/gdb-mi.el (gdb-done-or-error):
11734 Guard against "%" in gdb output. (Bug#14127)
11735
11736 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11737
11738 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11739 (Bug#14826)
11740
11741 * international/mule.el (coding-system-iso-2022-flags): Fix last
11742 change.
11743
11744 2013-07-20 Kenichi Handa <handa@gnu.org>
11745
11746 * international/mule.el (coding-system-iso-2022-flags):
11747 Add `8-bit-level-4'. (Bug#8522)
11748
11749 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11750
11751 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11752 (bug#14815).
11753
11754 * net/eww.el (eww-process-text-input): Allow inputting when the
11755 point is at the start of the line, as the properties aren't
11756 front-sticky.
11757
11758 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11759 degenerate widths.
11760
11761 2013-07-19 Richard Stallman <rms@gnu.org>
11762
11763 * epa.el (epa-popup-info-window): Doc fix.
11764
11765 * subr.el (split-string): New arg TRIM.
11766
11767 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11768
11769 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11770 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11771
11772 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11773
11774 * filenotify.el (file-notify--library): Rename from
11775 `file-notify-support'. Do not autoload. Adapt all uses.
11776 (file-notify-supported-p): New defun.
11777
11778 * autorevert.el (auto-revert-use-notify):
11779 Use `file-notify-supported-p' instead of `file-notify-support'.
11780 Adapt docstring.
11781 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11782
11783 * net/tramp.el (tramp-file-name-for-operation):
11784 Add `file-notify-supported-p'.
11785
11786 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11787 New defun.
11788 (tramp-sh-file-name-handler-alist): Add it as handler for
11789 `file-notify-supported-p '.
11790
11791 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11792 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11793 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11794 Add `ignore' as handler for `file-notify-*' functions.
11795
11796 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11797
11798 * simple.el (line-move-partial, line-move): Don't start vscroll or
11799 scroll-up if the current line is not taller than the window.
11800 (Bug#14881)
11801
11802 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11803
11804 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11805 highlight question marks in the method names as strings.
11806 (ruby-block-beg-keywords): Inline.
11807 (ruby-font-lock-keyword-beg-re): Extract from
11808 `ruby-font-lock-keywords'.
11809
11810 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11811
11812 * frame.el (blink-cursor-blinks): New defcustom.
11813 (blink-cursor-blinks-done): New defvar.
11814 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11815 (blink-cursor-timer-function): Check if number of blinks has been
11816 done on X and NS.
11817 (blink-cursor-suspend, blink-cursor-check): New defuns.
11818
11819 2013-07-15 Glenn Morris <rgm@gnu.org>
11820
11821 * edmacro.el (edmacro-format-keys): Fix previous change.
11822
11823 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11824
11825 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11826 The hack didn't work outside English locales anyway.
11827
11828 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11829
11830 * simple.el (define-alternatives): Rename from alternatives-define,
11831 per RMS' suggestion.
11832
11833 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11834
11835 * desktop.el (desktop-restore-frames): Change default to t.
11836 (desktop-restore-in-current-display): Now offer more options.
11837 (desktop-restoring-reuses-frames): New customization option.
11838 (desktop--saved-states): Doc fix.
11839 (desktop-filter-parameters-alist): New variable, renamed and expanded
11840 from desktop--excluded-frame-parameters.
11841 (desktop--target-display): New variable.
11842 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11843 (desktop--filter-tty*, desktop--filter-*-color)
11844 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11845 (desktop--filter-save-desktop-parm)
11846 (desktop-restore-in-original-display-p): New functions.
11847 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11848 (desktop--save-minibuffer-frames): New function, inspired by a similar
11849 function from Martin Rudalics.
11850 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11851 (desktop--restore-in-this-display-p): Remove.
11852 (desktop--find-frame): Rename from desktop--find-frame-in-display
11853 and add predicate argument.
11854 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11855 (desktop--reuse-list): New variable.
11856 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11857 New functions.
11858 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11859
11860 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11861
11862 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11863
11864 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11865
11866 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11867 Highlight conversion methods on Kernel.
11868
11869 2013-07-13 Alan Mackenzie <acm@muc.de>
11870
11871 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11872 and comment it out. This out-commenting enables certain C++
11873 declarations to be parsed correctly.
11874
11875 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11876
11877 * international/mule.el (define-coding-system): Doc fix.
11878
11879 * simple.el (default-font-height): Don't call font-info if the
11880 frame's default font didn't change since the frame was created.
11881 (Bug#14838)
11882
11883 2013-07-13 Leo Liu <sdl.web@gmail.com>
11884
11885 * ido.el (ido-read-file-name): Guard against non-symbol value.
11886
11887 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11888
11889 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11890 in nested defuns.
11891
11892 2013-07-13 Leo Liu <sdl.web@gmail.com>
11893
11894 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11895 ido-set-matches call. (Bug#6852)
11896
11897 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11898
11899 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11900 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11901 Ruby 2.0.
11902 (ruby-font-lock-keywords): Distinguish calls to functions with
11903 module-like names from module references. Highlight character
11904 literals.
11905
11906 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11907
11908 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11909 (gdb-send): Handle continued commands. (Bug#14847)
11910
11911 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11912
11913 * desktop.el (desktop--v2s): Remove unused local variable.
11914 (desktop-save-buffer): Make defvar-local; adjust docstring.
11915 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11916 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11917
11918 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11919
11920 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11921
11922 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11923
11924 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11925 (Bug#14842)
11926
11927 2013-07-12 Glenn Morris <rgm@gnu.org>
11928
11929 * doc-view.el: Require cl-lib at runtime too.
11930 (doc-view-remove-if): Remove.
11931 (doc-view-search-next-match, doc-view-search-previous-match):
11932 Use cl-remove-if.
11933
11934 * edmacro.el: Require cl-lib at runtime too.
11935 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11936 (edmacro-mismatch, edmacro-subseq): Remove.
11937
11938 * shadowfile.el: Require cl-lib.
11939 (shadow-remove-if): Remove.
11940 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11941 Use cl-remove-if.
11942
11943 * wid-edit.el: Require cl-lib.
11944 (widget-choose): Use cl-remove-if.
11945 (widget-remove-if): Remove.
11946
11947 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11948 (ebrowse-delete-if-not): Remove.
11949 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11950 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11951 Use cl-delete-if-not.
11952
11953 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11954
11955 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11956 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11957
11958 2013-07-12 Leo Liu <sdl.web@gmail.com>
11959
11960 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11961
11962 2013-07-11 Glenn Morris <rgm@gnu.org>
11963
11964 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11965 (edebug-gensym-index, edebug-gensym):
11966 Remove reimplementation of cl-gensym.
11967 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11968
11969 * thumbs.el: Require cl-lib at run-time too.
11970 (thumbs-gensym-counter, thumbs-gensym):
11971 Remove reimplementation of cl-gensym.
11972 (thumbs-temp-file): Use cl-gensym.
11973
11974 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11975 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11976 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11977 (ert--union, ert--gensym-counter, ert--gensym-counter)
11978 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11979 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11980 (ert-make-test-unbound, ert--expand-should-1)
11981 (ert--expand-should, ert--should-error-handle-error)
11982 (should-error, ert--explain-equal-rec)
11983 (ert--plist-difference-explanation, ert-select-tests)
11984 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11985 Use cl-lib functions rather than reimplementations.
11986
11987 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11988
11989 * net/tramp.el (tramp-methods): Extend docstring.
11990 (tramp-connection-timeout): New defcustom.
11991 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11992 (with-tramp-progress-reporter): Simplify.
11993 (tramp-process-actions): Improve messages.
11994
11995 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11996 * net/tramp-sh.el (tramp-maybe-open-connection):
11997 Use `tramp-connection-timeout'.
11998 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11999 (Bug#14808)
12000
12001 2013-07-11 Leo Liu <sdl.web@gmail.com>
12002
12003 * ido.el (ido-read-file-name): Conform to the requirements of
12004 read-file-name. (Bug#11861)
12005 (ido-read-directory-name): Conform to the requirements of
12006 read-directory-name.
12007
12008 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
12009
12010 * subr.el (delay-warning): New function.
12011
12012 2013-07-10 Eli Zaretskii <eliz@gnu.org>
12013
12014 * simple.el (default-line-height): New function.
12015 (line-move-partial, line-move): Use it instead of computing the
12016 line height inline.
12017 (line-move-partial): Always compute ROWH. If the last line is
12018 partially-visible, but its text is completely visible, allow
12019 cursor to enter such a partially-visible line.
12020
12021 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
12022
12023 Improve error messages. (Bug#14808)
12024
12025 * net/tramp.el (tramp-current-connection): New defvar, moved from
12026 tramp-sh.el.
12027 (tramp-message-show-progress-reporter-message): Remove, not
12028 needed anymore.
12029 (tramp-error-with-buffer): Show message in minibuffer.
12030 Discard input before waiting. Reset connection timestamp.
12031 (with-tramp-progress-reporter): Improve messages.
12032 (tramp-process-actions): Use progress reporter. Delete process in
12033 case of error. Improve messages.
12034
12035 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
12036 Call `tramp-error-with-buffer' with vector and buffer.
12037 (tramp-current-connection): Remove.
12038 (tramp-maybe-open-connection): The car of
12039 `tramp-current-connection' are the first 3 slots of the vector.
12040
12041 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
12042
12043 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
12044 inside continued strings.
12045
12046 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
12047
12048 Timestamp fixes for undo (Bug#14824).
12049 * files.el (clear-visited-file-modtime): Move here from fileio.c.
12050
12051 2013-07-10 Leo Liu <sdl.web@gmail.com>
12052
12053 * files.el (require-final-newline): Allow safe local value.
12054 (Bug#14834)
12055
12056 2013-07-09 Leo Liu <sdl.web@gmail.com>
12057
12058 * ido.el (ido-read-directory-name): Handle fallback.
12059 (ido-read-file-name): Update DIR to ido-current-directory.
12060 (Bug#1516)
12061 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
12062
12063 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
12064
12065 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
12066 "autoload". Remove "warn lower camel case" section, previously
12067 commented out. Highlight negation char. Do not highlight the
12068 target in singleton method definitions.
12069
12070 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12071
12072 * faces.el (tty-setup-hook): Declare the hook.
12073
12074 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
12075 and detect when a guard/pred depends on local vars (bug#14773).
12076 (pcase--u1): Adjust caller.
12077
12078 2013-07-08 Eli Zaretskii <eliz@gnu.org>
12079
12080 * simple.el (line-move-partial, line-move): Account for
12081 line-spacing.
12082 (line-move-partial): Avoid setting vscroll when the last
12083 partially-visible line in window is of default height.
12084
12085 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12086
12087 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
12088 been used a while.
12089
12090 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
12091
12092 * subr.el (read-quoted-char): Remove unused local variable `char'.
12093
12094 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
12095
12096 * ediff.el (ediff-version): Version update.
12097 (ediff-files-command, ediff3-files-command, ediff-merge-command)
12098 (ediff-merge-with-ancestor-command, ediff-directories-command)
12099 (ediff-directories3-command, ediff-merge-directories-command)
12100 (ediff-merge-directories-with-ancestor-command): New functions.
12101 All are command-line interfaces to ediff: to facilitate calling
12102 Emacs with the appropriate ediff functions invoked.
12103
12104 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
12105 (viper-save-kill-buffer): Check if buffer is modified.
12106
12107 * viper.el (viper-version): Version update.
12108 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
12109
12110 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
12111
12112 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
12113 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
12114 (viper-intercept-ESC-key): Simplify.
12115 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
12116 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
12117 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
12118 (viper-setup-ESC-to-escape): New functions.
12119 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
12120 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
12121
12122 2013-07-07 Eli Zaretskii <eliz@gnu.org>
12123
12124 * simple.el (default-font-height, window-screen-lines):
12125 New functions.
12126 (line-move, line-move-partial): Use them instead of
12127 frame-char-height and window-text-height. This makes scrolling
12128 text smoother when the buffer's default face uses a font that is
12129 different from the frame's default font.
12130
12131 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
12132
12133 * files.el (write-file): Do not display confirm dialog for NS,
12134 it does its own dialog, which can't be canceled (Bug#14578).
12135
12136 2013-07-06 Eli Zaretskii <eliz@gnu.org>
12137
12138 * simple.el (line-move-partial): Adjust the row returned by
12139 posn-at-point for the current window-vscroll. (Bug#14567)
12140
12141 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
12142
12143 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
12144 (tramp-sh-file-inotifywait-process-filter): Handle file names with
12145 spaces.
12146
12147 2013-07-06 Martin Rudalics <rudalics@gmx.at>
12148
12149 * window.el (window-state-put-stale-windows): New variable.
12150 (window--state-put-2): Save list of windows without matching buffer.
12151 (window-state-put): Remove "bufferless" windows if possible.
12152
12153 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12154
12155 * simple.el (alternatives-define): Remove leftover :group keyword.
12156 Tweak docstring.
12157
12158 2013-07-06 Leo Liu <sdl.web@gmail.com>
12159
12160 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
12161 (ido-enable-virtual-buffers): New variable.
12162 (ido-buffer-internal, ido-toggle-virtual-buffers)
12163 (ido-make-buffer-list): Use it.
12164 (ido-exhibit): Support turning on and off virtual buffers
12165 automatically.
12166
12167 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12168
12169 * simple.el (alternatives-define): New macro.
12170
12171 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
12172
12173 * subr.el (read-quoted-char): Use read-key.
12174 (sit-for): Let read-event decode tty input (bug#14782).
12175
12176 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
12177
12178 * calendar/todo-mode.el: Add handling of file deletion, both by
12179 mode command and externally. Fix various related bugs.
12180 Clarify Commentary and improve some documentation strings and code.
12181 (todo-delete-file): New command.
12182 (todo-check-file): New function.
12183 (todo-show): Handle external deletion of the file we're trying to
12184 show (bug#14688). Replace called-interactively-p by an optional
12185 prefix argument to avoid problematic interaction with catch form
12186 when byte compiled (bug#14702).
12187 (todo-quit): Handle external deletion of the archive's todo file.
12188 Make sure the buffer that was visiting the archive file is still
12189 live before trying to bury it.
12190 (todo-category-completions): Handle external deletion of any
12191 category completion files.
12192 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
12193 of todo files, in case of external deletion.
12194 (todo-add-file): Replace unnecessary setq by let-binding.
12195 (todo-find-archive): Check whether there are any archives.
12196 Replace unnecessary setq by let-binding.
12197 (todo-archive-done-item): Use find-file-noselect to get the
12198 archive buffer whether or not the archive already exists.
12199 Remove superfluous code. Use file size instead of buffer-file-name to
12200 check if the archive is new; if it is, update list of archives.
12201 (todo-default-todo-file): Allow nil to be a valid value for when
12202 there are no todo files.
12203 (todo-reevaluate-default-file-defcustom): Use corrected definition
12204 of todo-default-todo-file.
12205 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
12206 (todo-delete-category, todo-show-categories-table)
12207 (todo-category-number): Clarify comment.
12208 (todo-filter-items): Clarify documentation string.
12209 (todo-show-current-file, todo-display-as-todo-file)
12210 (todo-reset-and-enable-done-separator): Tweak documentation string.
12211 (todo-done-separator): Make separator length window-width, since
12212 bug#2749 is now fixed.
12213
12214 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
12215
12216 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12217 Support both "gvfs-monitor-dir" and "inotifywait".
12218 (tramp-sh-file-inotifywait-process-filter): Rename from
12219 `tramp-sh-file-notify-process-filter'.
12220 (tramp-sh-file-gvfs-monitor-dir-process-filter)
12221 (tramp-get-remote-gvfs-monitor-dir): New defuns.
12222
12223 2013-07-05 Leo Liu <sdl.web@gmail.com>
12224
12225 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
12226
12227 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12228
12229 * frame.el (display-pixel-height, display-pixel-width)
12230 (display-mm-height, display-mm-width): Mention behavior on
12231 multi-monitor setups in docstrings.
12232 (w32-display-monitor-attributes-list): Declare function.
12233 (display-monitor-attributes-list): Use it.
12234
12235 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
12236
12237 * filenotify.el: New package.
12238
12239 * autorevert.el (top): Require filenotify.el.
12240 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
12241 instead.
12242 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12243 (auto-revert-notify-handler): Use `file-notify-*' functions.
12244
12245 * subr.el (file-notify-handle-event): Move function to filenotify.el.
12246
12247 * net/tramp.el (tramp-file-name-for-operation):
12248 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
12249
12250 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
12251 for `file-notify-add-watch' and `file-notify-rm-watch'.
12252 (tramp-process-sentinel): Improve trace.
12253 (tramp-sh-handle-file-notify-add-watch)
12254 (tramp-sh-file-notify-process-filter)
12255 (tramp-sh-handle-file-notify-rm-watch)
12256 (tramp-get-remote-inotifywait): New defuns.
12257
12258 2013-07-03 Juri Linkov <juri@jurta.org>
12259
12260 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
12261 call of `occur-read-primary-args' to interactive spec.
12262
12263 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
12264 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
12265
12266 2013-07-03 Matthias Meulien <orontee@gmail.com>
12267
12268 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
12269 `Buffer-menu-multi-occur'. Add it to the menu.
12270 (Buffer-menu-mode): Document it in docstring.
12271 (Buffer-menu-multi-occur): New command. (Bug#14673)
12272
12273 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12274
12275 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
12276 keywords and built-ins.
12277
12278 2013-07-03 Glenn Morris <rgm@gnu.org>
12279
12280 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
12281
12282 Make info-xref checks case-sensitive by default
12283 * info.el (Info-find-node, Info-find-in-tag-table)
12284 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
12285 Add option for exact case matching of nodes.
12286 * info-xref.el (info-xref): New custom group.
12287 (info-xref-case-fold): New option.
12288 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
12289
12290 2013-07-03 Leo Liu <sdl.web@gmail.com>
12291
12292 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
12293
12294 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12295
12296 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
12297 middle of block statement initially, lower the depth. Remove
12298 FIXME comment, not longer valid. Remove middle of block statement
12299 detection, no need to do that anymore since we've been using
12300 `ruby-parse-region' here.
12301
12302 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
12303
12304 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
12305
12306 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
12307
12308 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
12309
12310 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
12311
12312 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
12313 (desktop-restore-in-current-display): New customization option.
12314 (desktop--excluded-frame-parameters): Add `font'.
12315 (desktop--save-frames): Rename from desktop--save-windows.
12316 (desktop--restore-in-this-display-p): New function.
12317 (desktop--make-full-frame): Remove unwanted width/height from
12318 full(width|height) frames.
12319 (desktop--restore-frames): Rename from desktop--restore-windows.
12320 Obey desktop-restore-current-display. Do not delete old frames or
12321 select a new frame unless we were able to restore at least one frame.
12322
12323 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
12324
12325 * files.el (find-file-noselect): Simplify conditional expression.
12326
12327 * textmodes/remember.el (remember-append-to-file):
12328 Don't mix `find-buffer-visiting' and `get-file-buffer'.
12329
12330 Add `remember-notes' function to store random notes across Emacs
12331 restarts.
12332 * textmodes/remember.el (remember-data-file): Add :set callback to
12333 affect notes buffer (if any).
12334 (remember-notes): New command.
12335 (remember-notes-buffer-name, bury-remember-notes-on-kill):
12336 New defcustoms for the `remember-notes' function.
12337 (remember-notes-save-and-bury-buffer): New command.
12338 (remember-notes-mode-map): New variable.
12339 (remember-mode): New minor mode.
12340 (remember-notes--kill-buffer-query): New function.
12341 * startup.el (initial-buffer-choice): Add notes to custom type.
12342
12343 2013-06-30 Eli Zaretskii <eliz@gnu.org>
12344
12345 * bindings.el (right-char, left-char): Don't call sit-for, this is
12346 no longer needed. Use arithmetic comparison only for numerical
12347 arguments.
12348
12349 * international/mule-cmds.el (select-safe-coding-system):
12350 Handle the case of FROM being a string correctly. (Bug#14755)
12351
12352 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12353
12354 * net/shr.el (shr-make-table-1): Add a sanity check that allows
12355 progression on degenerate tables.
12356 (shr-rescale-image): ImageMagick animated images currently don't work.
12357
12358 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
12359
12360 Some fixes and improvements for desktop frame restoration.
12361 It is still experimental and disabled by default.
12362 * desktop.el (desktop--save-windows): Put the selected frame at
12363 the head of the list.
12364 (desktop--make-full-frame): New function.
12365 (desktop--restore-windows): Try to re-select the frame that was
12366 selected upon saving. Do not abort if some frames fail to restore,
12367 just show an error message and continue. Set up maximized frames
12368 so they have default non-maximized dimensions.
12369
12370 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
12371
12372 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12373 Don't start heredoc inside a string or comment.
12374
12375 2013-06-29 Eli Zaretskii <eliz@gnu.org>
12376
12377 * bindings.el (visual-order-cursor-movement): New defcustom.
12378 (right-char, left-char): Provide visual-order cursor motion by
12379 calling move-point-visually. Update the doc strings.
12380
12381 2013-06-28 Kenichi Handa <handa@gnu.org>
12382
12383 * international/mule.el (define-coding-system): New coding system
12384 properties :inhibit-null-byte-detection,
12385 :inhibit-iso-escape-detection, and :prefer-utf-8.
12386 (set-buffer-file-coding-system): If :charset-list property of
12387 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12388 appropriate for setting.
12389
12390 * international/mule-cmds.el (select-safe-coding-system):
12391 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12392 multibyte characters, return utf-8 (or one of its siblings).
12393
12394 * international/mule-conf.el (prefer-utf-8): New coding system.
12395 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12396 files.
12397
12398 2013-06-28 Ivan Kanis <ivan@kanis.fr>
12399
12400 * net/shr.el (shr-render-region): New function.
12401
12402 * net/eww.el: Autoload `eww-browse-url'.
12403
12404 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
12405
12406 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12407 Adapt to `package-desc-version' being a list.
12408 Use `package--ac-desc-version' to retrieve version from a package
12409 archive element.
12410
12411 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
12412
12413 New experimental feature to save&restore window and frame setup.
12414 * desktop.el (desktop-save-windows): New defcustom.
12415 (desktop--saved-states): New var.
12416 (desktop--excluded-frame-parameters): New defconst.
12417 (desktop--filter-frame-parms, desktop--find-frame-in-display)
12418 (desktop--restore-windows, desktop--save-windows): New functions.
12419 (desktop-save): Call `desktop--save-windows'.
12420 (desktop-read): Call `desktop--restore-windows'.
12421
12422 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12423
12424 * net/shr.el (add-face-text-property): Remove compat definition.
12425
12426 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12427
12428 * info.el (Info-try-follow-nearest-node): Move search for footnote
12429 above search for node name to prevent missing a footnote (bug#14717).
12430
12431 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12432
12433 * obsolete/otodo-mode.el: Add obsolescence info to file header.
12434
12435 2013-06-27 Leo Liu <sdl.web@gmail.com>
12436
12437 * net/eww.el (eww-read-bookmarks): Check file size.
12438
12439 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12440
12441 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12442 advice--pending if newdef is nil or an autoload (bug#13820).
12443 (advice-mapc): New function.
12444
12445 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12446
12447 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12448 probably.
12449 (eww-mode-map): Add a menu bar.
12450 (eww-add-bookmark): New command.
12451 (eww-bookmark-mode): New mode and commands.
12452 (eww-add-bookmark): Remove newlines from the title.
12453 (eww-bookmark-browse): Don't bug out if it's the only window.
12454
12455 2013-06-26 Glenn Morris <rgm@gnu.org>
12456
12457 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12458 (hfy-size): Handle ttys. (Bug#14668)
12459
12460 * info-xref.el: Update for Texinfo 5 change in *note format.
12461 (info-xref-node-re, info-xref-note-re): New constants.
12462 (info-xref-check-buffer): Use info-xref-note-re.
12463
12464 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12465
12466 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12467
12468 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12469 nil terminate the loop (bug#14718).
12470
12471 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12472
12473 * net/eww.el: Rework history traversal. When going forward/back,
12474 put these actions into the history, too, so that they can be
12475 replayed.
12476 (eww-render): Move the history reset to the correct buffer.
12477
12478 2013-06-25 Juri Linkov <juri@jurta.org>
12479
12480 * files-x.el (modify-dir-local-variable): Change the header comment
12481 in the file with directory local variables. (Bug#14692)
12482
12483 * files-x.el (read-file-local-variable-value): Add `default'.
12484 (Bug#14710)
12485
12486 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12487
12488 * net/eww.el (eww-make-unique-file-name): Create a unique file
12489 name before saving to entering `y' accidentally asynchronously.
12490
12491 2013-06-25 Ivan Kanis <ivan@kanis.fr>
12492
12493 * net/eww.el (eww-download): New command and keystroke.
12494
12495 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12496
12497 * net/eww.el (eww-copy-page-url): Change name of command.
12498
12499 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12500 be more consistent with Info and dired.
12501
12502 * net/eww.el (eww-mode-map): Ditto.
12503
12504 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12505
12506 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12507 packages from archives.
12508 (package-archive-contents): Change format; include obsolete packages.
12509 (package-desc): Use `dir' to mark builtin packages.
12510 (package--from-builtin): Set the `dir' field to `builtin'.
12511 (generated-autoload-file, version-control): Declare.
12512 (package-compute-transaction): Change first arg and return value to be
12513 lists of package-descs. Adjust to new package-archive-contents format.
12514 (package--add-to-archive-contents): Adjust to new
12515 package-archive-contents format.
12516 (package-download-transaction): Arg is now a list of package-descs.
12517 (package-install): If `pkg' is a package name, pass it as
12518 a requirement, so it is subject to the usual (e.g. disabled) checks.
12519 (describe-package): Accept package-desc as well.
12520 (describe-package-1): Describe a specific package-desc. Add links to
12521 other package-descs for the same package name.
12522 (package-menu-describe-package): Pass the actual package-desc.
12523 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12524 works correctly.
12525 (package-desc-status): New function.
12526 (package-menu--refresh): New function, extracted
12527 from package-menu--generate.
12528 (package-menu--generate): Use it.
12529 (package-delete): Update package-alist.
12530 (package-menu-execute): Don't call package-initialize.
12531
12532 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12533 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12534 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12535 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12536 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12537 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12538
12539 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12540
12541 * window.el (window--state-get-1): Workaround for bug#14527.
12542 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12543
12544 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12545
12546 * net/eww.el (eww-back-url): Implement the history by stashing all
12547 the data into a list.
12548 (eww-forward-url): Allow going forward in the history, too.
12549
12550 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12551
12552 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12553 for values and use read--expression for expressions (bug#14710).
12554 (read-file-local-variable): Avoid setq.
12555 (read-file-local-variable-mode): Use minor-mode-list.
12556
12557 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12558
12559 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12560 for DOI URLs.
12561
12562 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12563
12564 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12565 Update imenu-support when dialect changes.
12566
12567 2013-06-25 Leo Liu <sdl.web@gmail.com>
12568
12569 * ido.el (ido-read-internal): Allow forward slash on windows.
12570
12571 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12572
12573 * net/eww.el (eww): Start of strings is \\`, not ^.
12574
12575 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12576
12577 * net/shr.el (shr-browse-url): Fix interactive spec.
12578
12579 * net/eww.el (eww): Add a trailing slash to domain names.
12580
12581 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12582
12583 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12584
12585 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12586
12587 * net/shr.el (shr-browse-url): Use an external browser if given a
12588 prefix.
12589
12590 * net/eww.el (eww-external-browser): Move to shr.
12591
12592 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12593
12594 * net/eww.el (eww): Work more correctly for file: URLs.
12595 (eww-detect-charset): Allow quoted charsets.
12596 (eww-yank-page-url): New command and keystroke.
12597
12598 2013-06-24 Daiki Ueno <ueno@gnu.org>
12599
12600 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12601 file name of gpg executable.
12602 (epg-context-program): New function.
12603 (epg-context-home-directory): New function.
12604 (epg-context-set-program): New function.
12605 (epg-context-set-home-directory): New function.
12606 (epg--start): Use `epg-context-program' instead of
12607 'epg-gpg-program'.
12608 (epg--list-keys-1): Likewise.
12609
12610 2013-06-24 Leo Liu <sdl.web@gmail.com>
12611
12612 * ido.el (ido-read-internal): Fix bug#14620.
12613
12614 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12615
12616 * faces.el (face-documentation): Simplify.
12617 (read-face-attribute, tty-find-type, x-resolve-font-name):
12618 Use `string-match-p'.
12619 (list-faces-display): Use `string-match-p'. Simplify.
12620 (face-spec-recalc): Check face to avoid face alias loops.
12621 (read-color): Use `string-match-p' and non-capturing parenthesis.
12622
12623 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12624
12625 * net/shr.el (shr-rescale-image): Use the new
12626 :max-width/:max-height functionality.
12627
12628 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12629
12630 * net/eww.el (eww-search-prefix): New variable.
12631 (eww): Use it.
12632 (eww-external-browser): New variable.
12633 (eww-mode-map): New keystroke.
12634 (eww-browse-with-external-browser): New command.
12635
12636 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12637
12638 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12639
12640 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12641 Don't skip aligning the next header field when padding is 0;
12642 otherwise, field width is not respected unless the title is as
12643 wide as the field.
12644
12645 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12646
12647 * emacs-lisp/package.el (package-el-version): Remove.
12648 (package-process-define-package): Fix inf-loop.
12649 (package-install): Allow symbols as arguments again.
12650
12651 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12652
12653 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12654 add some more keyword-like methods.
12655 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12656
12657 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12658
12659 * bs.el (bs-buffer-show-mark): Make defvar-local.
12660 (bs-mode): Use setq-local.
12661
12662 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12663 (emacs-lock--try-unlocking): Make defvar-local.
12664
12665 2013-06-22 Glenn Morris <rgm@gnu.org>
12666
12667 * play/cookie1.el (cookie-apropos): Minor simplification.
12668
12669 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12670
12671 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12672
12673 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12674 `regexp-opt', it breaks the build during dumping.
12675
12676 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12677
12678 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12679 Highlight keyword-like methods on Kernel and Module with
12680 font-lock-builtin-face.
12681 (auto-mode-alist): Consolidate different entries into one regexp
12682 and add more *file-s.
12683
12684 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12685
12686 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12687
12688 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12689 (diary-entry): Use it in the action of this button type instead of
12690 diary-goto-entry.
12691
12692 * calendar/todo-mode.el: New version.
12693 (todo-add-category): Append new category to end of file and give
12694 it the highest number, instead of putting it at the beginning and
12695 giving it 0. Incorporate noninteractive functionality.
12696 (todo-forward-category): Adapt to 1-based category numbering.
12697 Allow skipping over archived categories.
12698 (todo-backward-category): Derive from todo-forward-category.
12699 (todo-backward-item, todo-forward-item): Make noninteractive and
12700 delegate interactive part to new commands. Make sensitive to done items.
12701 (todo-categories): Make value an alist of category names and
12702 vectors of item counts.
12703 (todo-category-beg): Make a defconst.
12704 (todo-category-number): Use 1 instead of 0 as initial value.
12705 (todo-category-select): Make sensitive to overlays, optional item
12706 highlighting and done items.
12707 (todo-delete-item): Make sensitive to overlays and marked and done items.
12708 (todo-edit-item): Make sensitive to overlays and editing of
12709 date/time header optional. Add format checks.
12710 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12711 no-op if point is not on an item. Advertise using todo-edit-quit.
12712 (todo-edit-mode): Make sensitive to new format, font-locking, and
12713 multiple todo files.
12714 (todo-insert-item, todo-insert-item-here): Derive from
12715 todo-basic-insert-item and extend functionality.
12716 (todo-item-end, todo-item-start): Make sensitive to done items.
12717 (todo-item-string): Don't return text properties. Restore point.
12718 (todo-jump-to-category): Make sensitive to multiple todo files and
12719 todo archives. Use extended category completion.
12720 (todo-lower-item, todo-raise-item): Rename to *-priority and
12721 derive from todo-set-item-priority.
12722 (todo-mode): Derive from special-mode. Make sensitive to new
12723 format, font-locking and multiple todo files. Make read-only.
12724 (todo-mode-map): Don't suppress digit keys, so they can supply
12725 prefix arguments. Add many new key bindings.
12726 (todo-prefix): Insert as an overlay instead of file text.
12727 Change semantics from diary date expression to purely visual mark.
12728 (todo-print): Rename to todo-print-buffer. Make buffer display
12729 features printable. Remove option to restrict number of items
12730 printed. Add option to print to file.
12731 (todo-print-function): Rename to todo-print-buffer-function.
12732 (todo-quit): Extend to handle exiting new todo modes.
12733 (todo-remove-item): Make sensitive to overlays.
12734 (todo-save): Extend to buffers of filtered items.
12735 (todo-show): Make sensitive to done items, multiple todo files and
12736 new todo modes. Offer to convert legacy todo file before creating
12737 first new todo file.
12738 (todo-show-priorities): Rename to todo-top-priorities.
12739 Change semantics of value 0.
12740 (todo-top-priorities): Rename to todo-filter-top-priorities,
12741 derive from todo-filter-items and extend functionality.
12742 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12743 and extend functionality to other types of filtered items.
12744 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12745 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12746 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12747 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12748 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12749 (todo-edit-mode-hook, todo-entry-prefix-function)
12750 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12751 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12752 (todo-initials, todo-insert-threshold, todo-item-string-start)
12753 (todo-line-string, todo-menu, todo-mode-hook)
12754 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12755 (todo-print-priorities, todo-remove-separator)
12756 (todo-save-top-priorities-too, todo-string-count-lines)
12757 (todo-string-multiline-p, todo-time-string-format)
12758 (todo-tmp-buffer-name): Remove.
12759 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12760 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12761 (todo-edit-category-diary-inclusion)
12762 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12763 (todo-edit-file, todo-edit-item-date-day)
12764 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12765 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12766 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12767 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12768 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12769 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12770 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12771 (todo-filter-top-priorities-multifile, todo-find-archive)
12772 (todo-find-filtered-items-file, todo-go-to-source-item)
12773 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12774 (todo-jump-to-archive-category, todo-lower-category)
12775 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12776 (todo-move-category, todo-move-item, todo-next-button)
12777 (todo-next-item, todo-padded-string, todo-powerset)
12778 (todo-previous-button, todo-previous-item)
12779 (todo-print-buffer-to-file, todo-raise-category)
12780 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12781 (todo-set-category-number, todo-set-item-priority)
12782 (todo-set-top-priorities-in-category)
12783 (todo-set-top-priorities-in-file, todo-show-categories-table)
12784 (todo-sort-categories-alphabetically-or-numerically)
12785 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12786 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12787 (todo-toggle-item-header, todo-toggle-item-highlighting)
12788 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12789 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12790 (todo-unarchive-items, todo-unmark-category): New commands.
12791 (todo-absolute-file-name, todo-add-to-buffer-list)
12792 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12793 (todo-basic-insert-item, todo-category-completions)
12794 (todo-category-number, todo-category-string-matcher-1)
12795 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12796 (todo-check-format, todo-clear-matches)
12797 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12798 (todo-current-category, todo-date-string-matcher)
12799 (todo-define-insertion-command, todo-diary-expired-matcher)
12800 (todo-diary-goto-entry, todo-diary-item-p)
12801 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12802 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12803 (todo-done-item-section-p, todo-done-separator)
12804 (todo-done-string-matcher, todo-files, todo-filter-items)
12805 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12806 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12807 (todo-insert-category-line, todo-insert-item-from-calendar)
12808 (todo-insert-sort-button, todo-insert-with-overlays)
12809 (todo-insertion-command-name, todo-insertion-key-bindings)
12810 (todo-label-to-key, todo-longest-category-name-length)
12811 (todo-make-categories-list, todo-mode-external-set)
12812 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12813 (todo-modes-set-3, todo-multiple-filter-files)
12814 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12815 (todo-read-category, todo-read-date, todo-read-dayname)
12816 (todo-read-file-name, todo-read-time)
12817 (todo-reevaluate-category-completions-files-defcustom)
12818 (todo-reevaluate-default-file-defcustom)
12819 (todo-reevaluate-filelist-defcustoms)
12820 (todo-reevaluate-filter-files-defcustom)
12821 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12822 (todo-reset-done-separator, todo-reset-done-separator-string)
12823 (todo-reset-done-string, todo-reset-global-current-todo-file)
12824 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12825 (todo-reset-prefix, todo-set-categories)
12826 (todo-set-date-from-calendar, todo-set-show-current-file)
12827 (todo-set-top-priorities, todo-short-file-name)
12828 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12829 (todo-total-item-counts, todo-update-buffer-list)
12830 (todo-update-categories-display, todo-update-categories-sexp)
12831 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12832 New functions.
12833 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12834 New major modes.
12835 (todo-categories, todo-display, todo-edit, todo-faces)
12836 (todo-filtered): New defgroups.
12837 (todo-archived-only, todo-button, todo-category-string, todo-date)
12838 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12839 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12840 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12841 (todo-add-item-if-new-category, todo-always-add-time-string)
12842 (todo-categories-align, todo-categories-archived-label)
12843 (todo-categories-category-label, todo-categories-diary-label)
12844 (todo-categories-done-label, todo-categories-number-separator)
12845 (todo-categories-todo-label, todo-categories-totals-label)
12846 (todo-category-completions-files, todo-completion-ignore-case)
12847 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12848 (todo-done-separator-string, todo-done-string)
12849 (todo-files-function, todo-filter-done-items, todo-filter-files)
12850 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12851 (todo-initial-category, todo-initial-file, todo-item-mark)
12852 (todo-legacy-date-time-regexp, todo-mode-line-function)
12853 (todo-nondiary-marker, todo-number-prefix)
12854 (todo-print-buffer-function, todo-show-current-file)
12855 (todo-show-done-only, todo-show-first, todo-show-with-done)
12856 (todo-skip-archived-categories, todo-top-priorities-overrides)
12857 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12858 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12859 New defcustoms.
12860 (todo-category-done, todo-date-pattern, todo-date-string-start)
12861 (todo-diary-items-buffer, todo-done-string-start)
12862 (todo-filtered-items-buffer, todo-item-start)
12863 (todo-month-abbrev-array, todo-month-name-array)
12864 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12865 (todo-top-priorities-buffer): New defconsts.
12866 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12867 (todo-categories-with-marks, todo-category-string-face)
12868 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12869 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12870 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12871 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12872 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12873 (todo-font-lock-keywords, todo-global-current-todo-file)
12874 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12875 (todo-insertion-commands-args)
12876 (todo-insertion-commands-args-genlist)
12877 (todo-insertion-commands-names, todo-insertion-map)
12878 (todo-key-bindings-t, todo-key-bindings-t+a)
12879 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12880 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12881 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12882 (todo-visited): New variables.
12883
12884 2013-06-21 Glenn Morris <rgm@gnu.org>
12885
12886 * play/cookie1.el (cookie-apropos): Add optional display argument.
12887 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12888 (psychoanalyze-pinhead): Use cookie-doctor.
12889
12890 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12891
12892 * emacs-lisp/package.el (tar-get-file-descriptor)
12893 (tar--extract): Declare.
12894
12895 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12896
12897 Extend flymake's warning predicate to be a function (bug#14217).
12898 * progmodes/flymake.el (flymake-warning-predicate): New.
12899 (flymake-parse-line): Use it.
12900 (flymake-warning-re): Make obsolete alias to
12901 `flymake-warning-predicate'.
12902
12903 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12904
12905 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12906 (package-obsolete-list): Remove.
12907 (package-activate): Remove min-version argument. Add `force' argument.
12908 Adjust to new package-alist format.
12909 (package-mark-obsolete): Remove.
12910 (package-unpack): Force reload of the package's autoloads.
12911 (package-installed-p): Check builtins if the installed package is not
12912 recent enough.
12913 (package-initialize): Don't reset package-obsolete-list.
12914 Don't specify which package version to activate.
12915 (package-process-define-package, describe-package-1)
12916 (package-menu--generate): Adjust to new package-alist format.
12917
12918 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12919
12920 * allout-widgets.el (allout-widgets-mode-off)
12921 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12922 (allout-widgets-post-command-business)
12923 (allout-widgets-after-copy-or-kill-function)
12924 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12925 (allout-decorate-item-and-context)
12926 (allout-graphics-modification-handler): Fix typos in docstrings.
12927 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12928
12929 * cmuscheme.el (scheme-start-file): Doc fix.
12930 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12931 (scheme-input-filter): Use `string-match-p'.
12932
12933 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12934
12935 * dired-x.el: Use Dired consistently in docstrings.
12936
12937 * dired.el: Use Dired consistently in docstrings.
12938 (dired-readin, dired-mode): Use `setq-local'.
12939 (dired-switches-alist): Make defvar-local.
12940 (dired-buffers-for-dir): Use `zerop'.
12941 (dired-safe-switches-p, dired-switches-escape-p)
12942 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12943 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12944 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12945 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12946 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12947 (dired-toggle-marks, dired-mark-files-containing-regexp)
12948 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12949 (dired-flag-auto-save-files, dired-flag-backup-files):
12950 Use `looking-at-p'.
12951 (dired-mark-files-regexp, dired-build-subdir-alist):
12952 Use `string-match-p', `looking-at-p'.
12953
12954 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12955 (direct-print-region-helper): Use `string-match-p'.
12956
12957 2013-06-21 Leo Liu <sdl.web@gmail.com>
12958
12959 * comint.el (comint-redirect-results-list-from-process):
12960 Fix infinite loop.
12961
12962 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12963
12964 * net/eww.el (eww-update-header-line-format): Quote % characters.
12965
12966 2013-06-21 Glenn Morris <rgm@gnu.org>
12967
12968 * play/cookie1.el (cookie): New custom group.
12969 (cookie-file): New option.
12970 (cookie-check-file): New function.
12971 (cookie): Make it interactive. Make start and end messages optional.
12972 Interactively, display the result. Default to cookie-file.
12973 (cookie-insert): Default to cookie-file.
12974 (cookie-snarf): Make start and end messages optional.
12975 Default to cookie-file. Use with-temp-buffer.
12976 (cookie-read): Rename from read-cookie.
12977 Make start and end messages optional. Default to cookie-file.
12978 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12979 Do not autoload it.
12980 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12981 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12982
12983 2013-06-21 Leo Liu <sdl.web@gmail.com>
12984
12985 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12986
12987 2013-06-21 Glenn Morris <rgm@gnu.org>
12988
12989 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12990
12991 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12992 Daniel Hackney <dan@haxney.org>
12993
12994 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12995 Consolidate the single-file vs tarball code.
12996 (package-desc-suffix): New function.
12997 (package-desc-full-name): Don't bother inlining it.
12998 (package-load-descriptor): Return the new package-desc.
12999 (package-mark-obsolete): Remove unused arg `package'.
13000 (package-unpack): Make it work for single files as well.
13001 Make it update package-alist.
13002 (package--make-autoloads-and-stuff): Rename from
13003 package--make-autoloads-and-compile. Don't compile any more.
13004 (package--compile): New function.
13005 (package-generate-description-file): New function, extracted from
13006 package-unpack-single.
13007 (package-unpack-single): Remove.
13008 (package--with-work-buffer): Add indentation and debugging info.
13009 (package-download-single): Remove.
13010 (package-install-from-archive): Rename from package-download-tar, make
13011 it take a pkg-desc, and make it work for single files as well.
13012 (package-download-transaction): Simplify.
13013 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
13014 external tar program.
13015 (package-install-from-buffer): Remove `pkg-desc' argument.
13016 Use package-tar-file-info for tar-mode buffers.
13017 (package-install-file): Simplify accordingly.
13018 (package-archive-base): Change to take a pkg-desc.
13019 * tar-mode.el (tar--check-descriptor): New function, extracted from
13020 tar-get-descriptor.
13021 (tar-get-descriptor): Use it.
13022 (tar-get-file-descriptor): New function.
13023 (tar--extract): New function, extracted from tar-extract.
13024 (tar--extract): Use it.
13025 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
13026 case the summary uses non-ascii. Adjust to new calling convention of
13027 package-tar-file-info.
13028
13029 2013-06-21 Leo Liu <sdl.web@gmail.com>
13030
13031 * comint.el (comint-redirect-results-list-from-process):
13032 Fix random delay. (Bug#14681)
13033
13034 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13035
13036 * profiler.el (profiler-format-number): Use log, not log10.
13037
13038 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13039
13040 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
13041
13042 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13043
13044 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
13045 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
13046 yet available.
13047 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
13048 (AUTOGENEL): ... here.
13049 * emacs-lisp/cl-macs.el (cl--sublis): New function.
13050 (cl--defsubst-expand): Use it.
13051
13052 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
13053
13054 * subr.el (log10): Move here from C code, and declare as obsolete.
13055 All uses of (log10 X) replaced with (log X 10).
13056
13057 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13058
13059 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
13060 Declare with `defvar-local'.
13061 (tabulated-list-use-header-line, tabulated-list-entries)
13062 (tabulated-list-padding, tabulated-list-printer)
13063 (tabulated-list-sort-key): Declare with `defvar-local'.
13064 (tabulated-list-init-header, tabulated-list-print-fake-header):
13065 Use `setq-local'.
13066
13067 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
13068
13069 * arc-mode.el (archive-mode): Add `archive-write-file' to
13070 `write-contents-functions' also for remote files. (Bug#14652)
13071
13072 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13073
13074 * cus-edit.el (custom-commands): Fix typos.
13075 (custom-display): Fix tooltip text.
13076 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
13077 Fix typos in docstrings.
13078 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
13079 (custom-unlispify-menu-entry, custom-magic-value-create)
13080 (custom-add-see-also, custom-group-value-create): Use ?\s.
13081 (custom-guess-type, customize-apropos, editable-field)
13082 (custom-face-value-create): Use `string-match-p'.
13083 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
13084
13085 * custom.el (custom-load-symbol): Use `string-match-p'.
13086
13087 * ansi-color.el: Convert to lexical binding.
13088 (ansi-colors): Fix URL.
13089 (ansi-color-context, ansi-color-context-region): Use defvar-local.
13090 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
13091 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
13092
13093 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13094
13095 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
13096
13097 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
13098
13099 2013-06-19 Tom Tromey <tromey@redhat.com>
13100
13101 * net/eww.el (eww-top-url): Remove.
13102 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
13103 (eww-render): Set new variables. Don't set eww-top-url.
13104 (eww-handle-link): Handle "prev", "home", and "contents".
13105 Downcase the rel text.
13106 (eww-top-url): Choose best top URL.
13107
13108 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13109
13110 * net/eww.el: Rewrite to implement form elements "by hand" instead of
13111 relying in widget.el. Using widget.el leads to too many
13112 user interface inconsistencies.
13113 (eww-self-insert): Implement entering commands in text fields.
13114 (eww-process-text-input): New function to make text input field editing
13115 work.
13116 (eww-submit): Rewrite to use the new-style form methods.
13117 (eww-select-display): Display the correct selected item.
13118 (eww-change-select): Implement changing the select value.
13119 (eww-toggle-checkbox): Implement radio/checkboxes.
13120 (eww-update-field): Fix compilation error.
13121 (eww-tag-textarea): Implement <textarea>.
13122
13123 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
13124 we don't shadow mode-specific bindings.
13125
13126 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
13127 nothing to push.
13128
13129 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
13130
13131 2013-06-19 Glenn Morris <rgm@gnu.org>
13132
13133 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
13134
13135 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13136
13137 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
13138 not needed.
13139
13140 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
13141
13142 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13143
13144 * net/browse-url.el (browse-url-browser-function):
13145 `eww-browse-url' has the right calling signature, `eww' does not.
13146
13147 2013-06-19 Glenn Morris <rgm@gnu.org>
13148
13149 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13150 Only eval autoloaded macros.
13151 (byte-compile-autoload): Only give the macro warning for macros.
13152
13153 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
13154 (ps-underlined-faces): Declare.
13155
13156 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
13157 (speedbar-add-supported-extension): Declare.
13158
13159 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
13160 Don't include a date stamp in the header of the generated file;
13161 it leads to needless differences between output files.
13162
13163 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13164
13165 * net/secrets.el (secrets-struct-secret-content-type):
13166 Replace check of introspection data by a test call of "CreateItem".
13167 Some servers do not offer introspection.
13168
13169 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
13170
13171 * electric.el (electric-pair-mode): Improve interaction with
13172 electric-layout-mode.
13173 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
13174 (electric-pair-syntax): Use text-mode-syntax-table in comments
13175 and strings.
13176 (electric-pair--insert): New function.
13177 (electric-pair-post-self-insert-function): Use it and
13178 electric--after-char-pos.
13179
13180 2013-06-19 Leo Liu <sdl.web@gmail.com>
13181
13182 * progmodes/octave.el (octave-help): Fix regexp.
13183
13184 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13185
13186 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
13187 (shr-table-horizontal-line): Allow nil as a value, and change the
13188 default.
13189 (shr-insert-table-ruler): Respect the nil value.
13190
13191 2013-06-18 Tom Tromey <tromey@barimba>
13192
13193 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13194 New defvars.
13195 (eww-open-file): New defun.
13196 (eww-render): Initialize new variables.
13197 (eww-display-html): Handle "link" and "a".
13198 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
13199 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
13200 (eww-back-url): Rename from eww-previous-url.
13201 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13202 New defuns.
13203
13204 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
13205
13206 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
13207 Distinguish ternary operator tokens from slash symbol and slash
13208 char literal.
13209
13210 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13211
13212 Convert symbol prettification into minor mode and global minor mode.
13213
13214 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
13215 `prog-prettify-symbols', and make a local defvar instead of defcustom.
13216 (prettify-symbols--keywords): Rename from
13217 `prog-prettify-symbols-alist' and make a local defvar.
13218 (prettify-symbols--compose-symbol): Rename from
13219 `prog--prettify-font-lock-compose-symbol'.
13220 (prettify-symbols--make-keywords): Rename from
13221 `prog-prettify-font-lock-symbols-keywords' and simplify.
13222 (prog-prettify-install): Remove.
13223 (prettify-symbols-mode): New minor mode, based on
13224 `prog-prettify-install'.
13225 (turn-on-prettify-symbols-mode): New function.
13226 (global-prettify-symbols-mode): New globalized minor mode.
13227
13228 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13229 * progmodes/cfengine.el (cfengine3-mode):
13230 * progmodes/perl-mode.el (perl-mode): Don't call
13231 `prog-prettify-install'; set `prettify-symbols-alist' instead.
13232
13233 2013-06-18 Juri Linkov <juri@jurta.org>
13234
13235 * files-x.el (modify-file-local-variable-message): New function.
13236 (modify-file-local-variable)
13237 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
13238 and call `modify-file-local-variable-message' when it's non-nil.
13239 (add-file-local-variable, delete-file-local-variable)
13240 (add-file-local-variable-prop-line)
13241 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
13242 and use it. (Bug#9820)
13243
13244 2013-06-18 Juri Linkov <juri@jurta.org>
13245
13246 * emulation/vi.el (vi-shell-op):
13247 * emulation/vip.el (vip-execute-com, ex-command):
13248 * emulation/viper-cmd.el (viper-exec-bang):
13249 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
13250 the call of `shell-command-on-region'. (Bug#14637)
13251
13252 * simple.el (shell-command-on-region): Doc fix.
13253
13254 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13255
13256 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
13257 (bug#14633).
13258
13259 2013-06-18 Glenn Morris <rgm@gnu.org>
13260
13261 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
13262
13263 * newcomment.el (comment-search-forward, comment-search-backward):
13264 Doc fix. (Bug#14376)
13265
13266 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13267
13268 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
13269 (buffer-face-mode-invoke): Doc fix.
13270
13271 2013-06-18 Matthias Meulien <orontee@gmail.com>
13272
13273 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
13274 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
13275
13276 2013-06-18 Glenn Morris <rgm@gnu.org>
13277
13278 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
13279 Replace obsolete function generic-make-keywords with its expansion.
13280
13281 * progmodes/python.el (ffap-alist): Declare.
13282
13283 * textmodes/reftex.el (bibtex-mode-map): Declare.
13284
13285 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13286
13287 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
13288 (package-unpack, package-unpack-single): Return the pkg-dir.
13289 (package-download-transaction): Use it to update package-alist.
13290
13291 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13292
13293 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
13294 possible choice.
13295
13296 2013-06-17 Juri Linkov <juri@jurta.org>
13297
13298 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
13299
13300 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13301
13302 * emacs-lisp/package.el (package-load-descriptor):
13303 Remove `with-syntax-table' call, `read' doesn't need it.
13304 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
13305
13306 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13307
13308 * startup.el (command-line): Expand package name returned by
13309 `package--description-file' (bug#14639).
13310
13311 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13312
13313 * emacs-lisp/package.el (package-load-descriptor): Do not call
13314 `emacs-lisp-mode', just use its syntax table.
13315
13316 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13317
13318 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
13319 `font-lock-extra-managed-props' if any prettifying keyword is added.
13320 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
13321 (prog-mode): Use `setq-local'.
13322
13323 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13324
13325 * international/characters.el (standard-case-table): Set syntax of ?»
13326 and ?« to punctuation.
13327
13328 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
13329
13330 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13331 Save relevant match data before calling `syntax-ppss' (bug#14595).
13332
13333 2013-06-15 Juri Linkov <juri@jurta.org>
13334
13335 * files-x.el (modify-file-local-variable-prop-line): Add local
13336 variables to the end of the existing comment on the first line.
13337 Use `file-auto-mode-skip' to skip interpreter magic line,
13338 and also skip XML declaration.
13339
13340 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13341
13342 * startup.el (package--builtin-versions): New var.
13343 (package-subdirectory-regexp): Remove.
13344 (package--description-file): Hard code its value instead.
13345
13346 * emacs-lisp/package.el: Don't activate packages older than builtin.
13347 (package-obsolete-list): Rename from package-obsolete-alist, and make
13348 it into a simple list of package-desc.
13349 (package-strip-version): Remove.
13350 (package-built-in-p): Use package--builtin-versions.
13351 (package-mark-obsolete): Simplify.
13352 (package-process-define-package): Mark it obsolete if older than the
13353 builtin version.
13354 (package-handle-response): Use line-end-position.
13355 (package-read-archive-contents, package--download-one-archive):
13356 Simplify.
13357 (package--add-to-archive-contents): Skip if older than the builtin or
13358 installed version.
13359 (package-menu-describe-package): Fix last change.
13360 (package-list-unversioned): New var.
13361 (package-menu--generate): Use it.
13362
13363 * emacs-lisp/autoload.el: Manage package--builtin-versions.
13364 (autoload--insert-text, autoload--insert-cookie-text): New functions.
13365 (autoload-builtin-package-versions): New variable.
13366 (autoload-generate-file-autoloads): Use them.
13367 Remove the list of autoloaded functions/macros from the
13368 (autoload...) comments.
13369
13370 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13371
13372 2013-06-15 Eli Zaretskii <eliz@gnu.org>
13373
13374 * simple.el (line-move-partial): Don't jump to the next screen
13375 line as soon as it becomes visible. Instead, continue enlarging
13376 the vscroll until the portion of a tall screen line that's left on
13377 display is about the height of the frame's default font.
13378 (Bug#14567)
13379
13380 2013-06-15 Glenn Morris <rgm@gnu.org>
13381
13382 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13383 compilation-error-regexp-alist void, or local while let-bound.
13384
13385 * progmodes/make-mode.el (makefile-mode-syntax-table):
13386 Treat "=" as punctuation. (Bug#14614)
13387
13388 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
13389
13390 * help-fns.el (describe-variable):
13391 Add extra line for permanent-local variables.
13392
13393 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
13394
13395 * progmodes/scheme.el (scheme-font-lock-keywords-2):
13396 Add export, import, library. (Bug#9164)
13397 (library): Set indent function.
13398
13399 2013-06-14 Glenn Morris <rgm@gnu.org>
13400
13401 * term/xterm.el (xterm--query):
13402 Stop after first matching handler. (Bug#14615)
13403
13404 2013-06-14 Ivan Kanis <ivan@kanis.fr>
13405
13406 Add support for dired in saveplace.
13407 * dired.el (dired-initial-position-hook): New variable.
13408 (dired-initial-position): Call hook to place cursor position.
13409 * saveplace.el (save-place-to-alist): Add dired position.
13410 (save-place-dired-hook): New function.
13411
13412 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
13413
13414 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13415 through a symbol rather than letrec.
13416
13417 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
13418 (package-desc): Add `dir' field.
13419 (package-desc-full-name): New function.
13420 (package-load-descriptor): Combine the two arguments. Don't use `load'.
13421 (package-maybe-load-descriptor): Remove.
13422 (package-load-all-descriptors): Just call package-load-descriptor.
13423 (package--disabled-p): New function.
13424 (package-desc-vers, package-desc-doc): Remove aliases.
13425 (package--dir): Remove function.
13426 (package-activate): Check if a package is disabled.
13427 (package-process-define-package): New function, extracted from
13428 define-package.
13429 (define-package): Turn into a place holder.
13430 (package-unpack-single, package-tar-file-info):
13431 Use package--description-file.
13432 (package-compute-transaction): Use package--disabled-p.
13433 (package-download-transaction): Don't call
13434 package-maybe-load-descriptor since they're all loaded anyway.
13435 (package-install): Change argument to be a pkg-desc.
13436 (package-delete): Use a single pkg-desc argument.
13437 (describe-package-1): Use package-desc-dir instead of package--dir.
13438 Use package-desc property instead of package-symbol.
13439 (package-install-button-action): Adjust accordingly.
13440 (package--push): Rewrite.
13441 (package-menu--print-info): Adjust accordingly. Change the ID format
13442 to be a pkg-desc.
13443 (package-menu-describe-package, package-menu-get-status)
13444 (package-menu--find-upgrades, package-menu-mark-upgrades)
13445 (package-menu-execute, package-menu--name-predicate):
13446 Adjust accordingly.
13447 * startup.el (package--description-file): New function.
13448 (command-line): Use it.
13449 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13450 Use package-desc-version.
13451
13452 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13453 (byte-compile-preprocess): Use it.
13454 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13455 can't quite recognize.
13456 (byte-compile-add-to-list): Remove.
13457 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13458 (cconv-closure-convert): Add assertion.
13459
13460 * emacs-lisp/map-ynp.el: Use lexical-binding.
13461 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13462 Factor out some repeated code.
13463
13464 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13465
13466 * subr.el (with-eval-after-load): New macro.
13467 (eval-after-load): Allow form to be a function.
13468 take advantage of lexical-binding.
13469 (do-after-load-evaluation): Use dolist and adjust to new format.
13470 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13471
13472 2013-06-13 Juri Linkov <juri@jurta.org>
13473
13474 * replace.el (perform-replace): Display "symbol " and other search
13475 modes from `isearch-message-prefix' in the *Help* buffer.
13476
13477 * isearch.el (isearch-query-replace): Add " symbol" and other
13478 possible search modes from `isearch-message-prefix' to the prompt.
13479 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13480 when reading a regexp to collect.
13481
13482 2013-06-13 Juri Linkov <juri@jurta.org>
13483
13484 * isearch.el (word-search-regexp): Match whitespace if the search
13485 string begins or ends in whitespace. The LAX arg is applied to
13486 both ends of the search string. Use `regexp-quote' and explicit
13487 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13488 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13489 boundaries are replaced with symbol boundaries, and characters
13490 between symbols match non-word non-symbol syntax. (Bug#14602)
13491
13492 2013-06-13 Juri Linkov <juri@jurta.org>
13493
13494 * isearch.el (isearch-del-char): Don't exceed the length of
13495 `isearch-string' by the prefix arg. (Bug#14563)
13496
13497 2013-06-13 Juri Linkov <juri@jurta.org>
13498
13499 * isearch.el (isearch-yank-word, isearch-yank-line)
13500 (isearch-char-by-name, isearch-quote-char)
13501 (isearch-printing-char, isearch-process-search-char):
13502 Add optional count prefix arg. (Bug#14563)
13503
13504 * international/isearch-x.el
13505 (isearch-process-search-multibyte-characters):
13506 Add optional count prefix arg.
13507
13508 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13509
13510 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13511 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13512 lexical-binding.
13513
13514 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13515
13516 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13517
13518 2013-06-13 Glenn Morris <rgm@gnu.org>
13519
13520 * startup.el (tty-handle-args):
13521 Don't just discard "--" and anything after. (Bug#14608)
13522
13523 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13524
13525 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13526
13527 Implement changes in Secret Service API. Make it backward compatible.
13528 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13529 (secrets-create-item): Use it. Prefix properties with interface.
13530
13531 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13532
13533 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13534 (term-emulate-terminal): Respect term-suppress-hard-newline.
13535
13536 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13537
13538 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13539 Only remove a `thumb-file' overlay. (Bug#14548)
13540
13541 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13542
13543 * mail/reporter.el (reporter-submit-bug-report):
13544 Handle missing package-name. (Bug#14600)
13545
13546 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13547
13548 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13549 (reftex-citation-prompt, reftex-default-bibliography)
13550 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13551 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13552 (reftex-bib-sort-author, reftex-bib-sort-year)
13553 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13554 (reftex-extract-bib-entries-from-thebibliography)
13555 (reftex-get-bibkey-default, reftex-get-bib-names)
13556 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13557 (reftex-format-bib-entry, reftex-parse-bibitem)
13558 (reftex-format-bibitem, reftex-do-citation)
13559 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13560 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13561 (reftex-insert-bib-matches, reftex-format-citation)
13562 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13563 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13564 existing comments into docstrings.
13565
13566 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13567
13568 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13569
13570 2013-06-12 Andreas Schwab <schwab@suse.de>
13571
13572 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13573 for auto-save files.
13574
13575 2013-06-12 Glenn Morris <rgm@gnu.org>
13576
13577 * ido.el (ido-delete-ignored-files): Remove.
13578 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13579 Go back to calling ido-ignore-item-p directly.
13580
13581 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13582
13583 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13584
13585 * ido.el (ido-delete-ignored-files): New function,
13586 split from ido-make-file-list-1.
13587 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13588 (ido-make-file-list-1): Use ido-delete-ignored-files.
13589
13590 2013-06-12 Leo Liu <sdl.web@gmail.com>
13591
13592 * progmodes/octave.el (inferior-octave-startup)
13593 (inferior-octave-completion-table)
13594 (inferior-octave-track-window-width-change)
13595 (octave-eldoc-function-signatures, octave-help)
13596 (octave-find-definition): Use single quoted strings.
13597 (inferior-octave-startup-args): Change default value.
13598 (inferior-octave-startup): Do not hard code "-i" and
13599 "--no-line-editing".
13600 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13601 (inferior-octave-directory-tracker): Use it.
13602 (octave-goto-function-definition): Robustify.
13603 (octave-help): Support highlighting operators in 'See also'.
13604 (octave-find-definition): Find subfunctions only in Octave mode.
13605
13606 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13607
13608 * help-fns.el (help-fns--compiler-macro): If the handler function is
13609 named, then put a link to it.
13610 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13611 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13612 (cl-typep): Use it.
13613 (cl-eval-when): Simplify debug spec.
13614 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13615 compiler-macro function instead of setting `compiler-macro-file'.
13616
13617 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13618
13619 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13620 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13621
13622 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13623 Daniel Hackney <dan@haxney.org>
13624
13625 First part of Daniel Hackney's patch to package.el.
13626 * emacs-lisp/package.el: Use defstruct.
13627 (package-desc): New, main struct.
13628 (package--bi-desc, package--ac-desc): New structs, used to describe the
13629 format in external files.
13630 (package-desc-vers): Replace with package-desc-version accessor.
13631 (package-desc-doc): Replace with package-desc-summary accessor.
13632 (package-activate-1): Remove `package' arg since the pkg-vec now
13633 includes the name.
13634 (define-package): Use package-desc-from-define.
13635 (package-unpack-single): Change file-name arg to be a symbol.
13636 (package--add-to-archive-contents): Use package-desc-create and new
13637 accessor functions to package--ac-desc.
13638 (package-buffer-info, package-tar-file-info): Return a package-desc.
13639 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13640 arg to be a package-desc.
13641 (package-install-file): Adjust accordingly. Use \' to match EOS.
13642 (package--from-builtin): New function.
13643 (describe-package-1, package-menu--generate): Use it.
13644 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13645 (package-generate-autoloads): Idem and return the name of the file.
13646 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13647 Change pkg-info arg to be a package-desc.
13648 Use package-make-ac-desc.
13649 (package-upload-file): Use \' to match EOS.
13650 * finder.el (finder-compile-keywords): Use package-make-builtin.
13651
13652 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13653
13654 * vc/vc.el (vc-deduce-fileset): Change error message.
13655 (vc-read-backend): New function.
13656 (vc-next-action): Use it.
13657
13658 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13659
13660 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13661 (prolog-font-lock-keywords): Use regexp-opt instead.
13662 Don't manually highlight strings.
13663 (prolog-mode-variables): Simplify comment-start-skip.
13664 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13665
13666 * emacs-lisp/generic.el (generic--normalise-comments)
13667 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13668 (generic-mode-set-comments): Use them.
13669 (generic-bracket-support): Use setq-local.
13670 (generic-make-keywords-list): Declare obsolete.
13671
13672 2013-06-11 Glenn Morris <rgm@gnu.org>
13673
13674 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13675 Prettify after setting font-lock-defaults. (Bug#14574)
13676
13677 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13678
13679 * replace.el (query-replace, occur-read-regexp-defaults-function)
13680 (replace-search):
13681 * subr.el (declare-function, number-sequence, local-set-key)
13682 (substitute-key-definition, locate-user-emacs-file)
13683 (with-silent-modifications, split-string, eval-after-load):
13684 Fix typos, remove unneeded backslashes and reflow some docstrings.
13685
13686 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13687
13688 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13689 default for Elisp files.
13690
13691 2013-06-11 Glenn Morris <rgm@gnu.org>
13692
13693 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13694 although define-derived-mode was doing this anyway. (Bug#14583)
13695
13696 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13697
13698 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13699 Fix make-variable-buffer-local call to refer to the correct variable.
13700
13701 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13702
13703 * eshell/em-term.el (eshell-visual-commands)
13704 (eshell-visual-subcommands, eshell-visual-options):
13705 Add summary line to docstrings. Add cross-references.
13706
13707 2013-06-10 Glenn Morris <rgm@gnu.org>
13708
13709 * epa.el (epa-read-file-name): New function. (Bug#14510)
13710 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13711
13712 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13713
13714 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13715 output redirection to be ignored with visual commands.
13716
13717 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13718
13719 * eshell/em-term.el (eshell-visual-command-p): New function.
13720 (eshell-term-initialize): Move long lambda to separate function
13721 eshell-visual-command-p.
13722 * eshell/em-dirs.el (eshell-dirs-initialize):
13723 * eshell/em-script.el (eshell-script-initialize):
13724 Add missing #' to lambda.
13725
13726 2013-06-08 Leo Liu <sdl.web@gmail.com>
13727
13728 * progmodes/octave.el (octave-add-log-current-defun): New function.
13729 (octave-mode): Set add-log-current-defun-function.
13730 (octave-goto-function-definition): Do not move point if not found.
13731 (octave-find-definition): Enhance to try subfunctions first.
13732
13733 2013-06-08 Glenn Morris <rgm@gnu.org>
13734
13735 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13736 (byte-compile-backward-char, byte-compile-backward-word):
13737 Improve previous change, to handle non-explicit nil.
13738
13739 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13740
13741 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13742 (smie--opener/closer-at-point): New function.
13743 (smie--matching-block-data): Use it. Don't match from right after an
13744 opener or right before a closer. Obey smie-blink-matching-inners.
13745 Don't signal a mismatch for repeated inners like "switch..case..case".
13746
13747 2013-06-07 Leo Liu <sdl.web@gmail.com>
13748
13749 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13750 to t. (Bug#14303)
13751 (octave-function-header-regexp): Fix. (Bug#14570)
13752 (octave-help-mode-finish-hook, octave-help-mode-finish):
13753 Remove. Just use temp-buffer-show-hook.
13754
13755 * newcomment.el (comment-search-backward): Revert last change.
13756 (Bug#14434)
13757
13758 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13759
13760 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13761
13762 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13763 through xargs, to avoid failure due to MS-Windows limitations on
13764 command-line length.
13765
13766 2013-06-06 Glenn Morris <rgm@gnu.org>
13767
13768 * font-lock.el (lisp-font-lock-keywords-2):
13769 Treat user-error like error.
13770
13771 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13772 (byte-compile-backward-char, byte-compile-backward-word):
13773 Handle explicit nil arguments. (Bug#14565)
13774
13775 2013-06-05 Alan Mackenzie <acm@muc.de>
13776
13777 * isearch.el (isearch-allow-prefix): New user option.
13778 (isearch-other-meta-char): Don't exit isearch when a prefix
13779 argument is typed whilst `isearch-allow-prefix' is non-nil.
13780 (Bug#9706)
13781
13782 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13783
13784 * autorevert.el (auto-revert-notify-handler): Use memq.
13785 Hide assertion failure.
13786
13787 * skeleton.el: Use cl-lib.
13788 (skeleton-further-elements): Use defvar-local.
13789 (skeleton-insert): Use cl-progv.
13790
13791 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13792
13793 * progmodes/prog-mode.el (prog-prettify-symbols)
13794 (prog-prettify-install): Update docstrings.
13795
13796 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13797
13798 * simple.el: Move all the prog-mode code to prog-mode.el.
13799 * progmodes/prog-mode.el: New file.
13800 * loadup.el: Add prog-mode.el.
13801
13802 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13803
13804 * simple.el (prog-prettify-symbols): Add version.
13805 (prog-prettify-install): Add convenience function to prettify symbols.
13806
13807 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13808 (perl--augmented-font-lock-keywords-1)
13809 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13810 variables and use it.
13811
13812 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13813 (cfengine3-mode): Remove unneeded variable and use it.
13814
13815 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13816 (lisp--augmented-font-lock-keywords-1)
13817 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13818 Remove unneeded variables and use it.
13819
13820 2013-06-05 João Távora <joaotavora@gmail.com>
13821
13822 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13823 to point when opening the connection. (Bug#14380)
13824
13825 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13826
13827 * subr.el (load-history-regexp, load-history-filename-element)
13828 (eval-after-load, after-load-functions, do-after-load-evaluation)
13829 (eval-next-after-load, display-delayed-warnings)
13830 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13831 definition of save-match-data.
13832 (overriding-local-map): Remove accidental obsolescence declaration.
13833
13834 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13835
13836 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13837
13838 Generalize symbol prettify support to prog-mode and implement it
13839 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13840 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13841 (prog--prettify-font-lock-compose-symbol)
13842 (prog-prettify-font-lock-symbols-keywords): New variables and
13843 functions to support symbol prettification.
13844 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13845 (lisp--augmented-font-lock-keywords-1)
13846 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13847 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13848 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13849 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13850 Implement prettify of -> => :: strings.
13851 * progmodes/perl-mode.el (perl-prettify-symbols)
13852 (perl--font-lock-compose-symbol)
13853 (perl--font-lock-symbols-keywords): Move to prog-mode.
13854 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13855 (perl-font-lock-keywords-1)
13856 (perl-font-lock-keywords-2): Remove explicit prettify support.
13857 (perl--augmented-font-lock-keywords)
13858 (perl--augmented-font-lock-keywords-1)
13859 (perl--augmented-font-lock-keywords-2, perl-mode):
13860 Implement prettify support.
13861
13862 2013-06-05 Leo Liu <sdl.web@gmail.com>
13863
13864 Re-implement SMIE matching block highlight using
13865 show-paren-data-function. (Bug#14395)
13866 * emacs-lisp/smie.el (smie-matching-block-highlight)
13867 (smie--highlight-matching-block-overlay)
13868 (smie--highlight-matching-block-lastpos)
13869 (smie-highlight-matching-block)
13870 (smie-highlight-matching-block-mode): Remove.
13871 (smie--matching-block-data-cache): New variable.
13872 (smie--matching-block-data): New function.
13873 (smie-setup): Use smie--matching-block-data for
13874 show-paren-data-function.
13875
13876 * progmodes/octave.el (octave-mode-menu): Fix.
13877 (octave-find-definition): Skip garbage lines.
13878
13879 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13880
13881 Fix compilation error with simultaneous dynamic+lexical scoping.
13882 Add warning when a defvar appears after the first let-binding.
13883 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13884 (byte-compile-close-variables): Initialize it.
13885 (byte-compile--declare-var): New function.
13886 (byte-compile-file-form-defvar)
13887 (byte-compile-file-form-define-abbrev-table)
13888 (byte-compile-file-form-custom-declare-variable): Use it.
13889 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13890 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13891 (byte-compile-bind): Handle dynamic bindings that shadow
13892 lexical bindings.
13893 (byte-compile-unbind): Make arg non-optional.
13894 (byte-compile-let): Simplify.
13895 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13896 (cconv--analyse-function, cconv-analyse-form): Populate it.
13897 Protect byte-compile-bound-variables to limit the scope of defvars.
13898 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13899 Remove unneeded rule for `declare'.
13900
13901 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13902 so as to avoid depending on cl-adjoin at run-time.
13903 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13904
13905 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13906 (macroexp--warn-and-return): Use it.
13907
13908 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13909
13910 * subr.el: Convert to lexical binding.
13911 (overriding-local-map): Make obsolete.
13912 (add-to-list): Doc fix. Add compiler macro.
13913 (read-key): Swap values of local maps.
13914
13915 2013-06-05 Leo Liu <sdl.web@gmail.com>
13916
13917 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13918
13919 2013-06-04 Leo Liu <sdl.web@gmail.com>
13920
13921 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13922 (compilation-auto-jump): Suppress the "Mark set" message to give
13923 way to exit message.
13924
13925 2013-06-04 Alan Mackenzie <acm@muc.de>
13926
13927 Remove faulty optimisation from indentation calculation.
13928 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13929 search limit based on 2000 characters back from indent-point.
13930
13931 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13932
13933 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13934
13935 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13936
13937 * emacs-lisp/lisp.el: Use lexical-binding.
13938 (lisp--local-variables-1, lisp--local-variables): New functions.
13939 (lisp--local-variables-completion-table): New var.
13940 (lisp-completion-at-point): Use it complete let-bound vars.
13941
13942 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13943 eagerly (bug#14422).
13944
13945 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13946
13947 * autorevert.el (auto-revert-notify-enabled)
13948 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13949 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13950 (auto-revert-notify-handler): Handle also gfilenotify.
13951
13952 * subr.el (file-notify-handle-event): New defun. Replacing ...
13953 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13954 Remove.
13955
13956 2013-06-03 Juri Linkov <juri@jurta.org>
13957
13958 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13959 `M-s h .'. (Bug#14427)
13960
13961 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13962 command `hi-lock-face-symbol-at-point'.
13963 (hi-lock-face-symbol-at-point): New command.
13964 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13965 (hi-lock-menu): Add `highlight-symbol-at-point'.
13966 (hi-lock-mode): Doc fix.
13967
13968 * isearch.el (isearch-forward-symbol-at-point): New command.
13969 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13970 (isearch-highlight-regexp): Add a regexp which matches
13971 words/symbols for word/symbol mode.
13972
13973 * subr.el (find-tag-default-bounds): New function with the body
13974 mostly moved from `find-tag-default'.
13975 (find-tag-default): Move most code to `find-tag-default-bounds',
13976 call it and apply `buffer-substring-no-properties' afterwards.
13977
13978 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13979
13980 * eshell/em-term.el (eshell-term-initialize):
13981 Use `cl-intersection' rather than `intersection'.
13982
13983 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13984
13985 * vc/log-view.el: Doc fix.
13986 (log-view-mode-map): Copy keymap from `special-mode-map'.
13987
13988 2013-06-02 Eric Ludlam <zappo@gnu.org>
13989
13990 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13991 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13992 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13993 (eieio-unbound, eieio-default-superclass)
13994 (eieio--define-field-accessors, method-static, method-before)
13995 (method-primary, method-after, method-num-lists)
13996 (method-generic-before, method-generic-primary)
13997 (method-generic-after, method-num-slots)
13998 (eieio-specialized-key-to-generic-key)
13999 (eieio--check-type, class-v, class-p)
14000 (eieio-class-name, define-obsolete-function-alias)
14001 (eieio-class-parents-fast, eieio-class-children-fast)
14002 (same-class-fast-p, class-constructor, generic-p)
14003 (generic-primary-only-p, generic-primary-only-one-p)
14004 (class-option-assoc, class-option, eieio-object-p)
14005 (class-abstract-p, class-method-invocation-order)
14006 (eieio-defclass-autoload-map, eieio-defclass-autoload)
14007 (eieio-class-un-autoload, eieio-defclass)
14008 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
14009 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
14010 (eieio--defgeneric-init-form, eieio-defgeneric-form)
14011 (eieio-defgeneric-reset-generic-form)
14012 (eieio-defgeneric-form-primary-only)
14013 (eieio-defgeneric-reset-generic-form-primary-only)
14014 (eieio-defgeneric-form-primary-only-one)
14015 (eieio-defgeneric-reset-generic-form-primary-only-one)
14016 (eieio-unbind-method-implementations)
14017 (eieio--defmethod, eieio--typep)
14018 (eieio-perform-slot-validation, eieio-validate-slot-value)
14019 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
14020 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
14021 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
14022 (eieio-slot-name-index, eieio-class-slot-name-index)
14023 (eieio-set-defaults, eieio-initarg-to-attribute)
14024 (eieio-attribute-to-initarg, eieio-c3-candidate)
14025 (eieio-c3-merge-lists, eieio-class-precedence-c3)
14026 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
14027 (eieio-class-precedence-list, eieio-generic-call-methodname)
14028 (eieio-generic-call-arglst, eieio-generic-call-key)
14029 (eieio-generic-call-next-method-list)
14030 (eieio-pre-method-execution-functions, eieio-generic-call)
14031 (eieio-generic-call-primary-only, eieiomt-method-list)
14032 (eieiomt-optimizing-obarray, eieiomt-install)
14033 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
14034 (eieio-generic-form, eieio-defmethod, make-obsolete)
14035 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
14036 (defclass): Remove `eval-and-compile' from macro.
14037 (call-next-method, shared-initialize): Instead of using
14038 `scoped-class' variable, use new eieio--scoped-class, and
14039 eieio--with-scoped-class.
14040 (initialize-instance): Rename local variable 'scoped-class' to
14041 'this-class' to remove ambiguitity from old global.
14042
14043 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
14044 eieio.el.
14045 (eieio--scoped-class-stack): New variable.
14046 (eieio--scoped-class): New fcn.
14047 (eieio--with-scoped-class): New scoping macro.
14048 (eieio-defclass): Use pushnew instead of add-to-list.
14049 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
14050 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
14051 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
14052 `scoped-class' variable, use new eieio--scoped-class, and
14053 eieio--with-scoped-class.
14054
14055 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
14056
14057 2013-06-02 Tassilo Horn <tsdh@gnu.org>
14058
14059 * eshell/esh-ext.el (eshell-external-command): Pass args to
14060 `eshell-find-interpreter'.
14061 (eshell-find-interpreter): Add new second parameter ARGS.
14062
14063 * eshell/em-script.el (eshell-script-initialize): Add second arg
14064 to the function added as MATCH to `eshell-interpreter-alist'.
14065
14066 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
14067 the function added as MATCH to `eshell-interpreter-alist'.
14068
14069 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
14070 (eshell-visual-options): New defcustom.
14071 (eshell-escape-control-x): Adapt docstring.
14072 (eshell-term-initialize): Test `eshell-visual-subcommands' and
14073 `eshell-visual-options' in addition to `eshell-visual-commands'.
14074 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
14075
14076 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
14077
14078 * progmodes/python.el (python-indent-block-enders): Add break,
14079 continue and raise keywords.
14080
14081 2013-06-01 Glenn Morris <rgm@gnu.org>
14082
14083 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
14084
14085 Plain (f)boundp silences compilation warnings since Emacs 22.1.
14086 * progmodes/cc-cmds.el (delete-forward-p):
14087 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
14088 * progmodes/cc-engine.el (buffer-syntactic-context):
14089 * progmodes/cc-fonts.el (face-property-instance):
14090 * progmodes/cc-mode.el (set-keymap-parents):
14091 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
14092 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
14093 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
14094 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
14095 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
14096
14097 * progmodes/cc-vars.el (other): Emacs has this widget since
14098 at least 21.1, so don't (re)define it.
14099
14100 * eshell/em-cmpl.el (eshell-cmpl-initialize):
14101 Replace the obsolete alias pcomplete-arg-quote-list.
14102
14103 2013-06-01 Leo Liu <sdl.web@gmail.com>
14104
14105 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
14106 punctuation syntax.
14107 (inferior-octave-minimal-columns)
14108 (inferior-octave-last-column-width): New variables.
14109 (inferior-octave-track-window-width-change): New function.
14110 (inferior-octave-mode): Adjust column width so that Octave output,
14111 for example from 'ls', can fit into the window nicely.
14112
14113 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14114
14115 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14116 Highlight expansions inside regexp literals.
14117
14118 2013-05-31 Glenn Morris <rgm@gnu.org>
14119
14120 * obsolete/sym-comp.el (symbol-complete):
14121 Replace obsolete completion-annotate-function.
14122
14123 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
14124
14125 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14126
14127 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14128 New function, checks if point is inside a literal that allows
14129 expression expansion.
14130 (ruby-syntax-propertize-expansion): Use it.
14131 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
14132 around the body.
14133
14134 2013-05-30 Juri Linkov <juri@jurta.org>
14135
14136 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
14137 to "\M-si".
14138 (isearch-invisible): New variable.
14139 (isearch-forward): Doc fix.
14140 (isearch-mode): Set `isearch-invisible'
14141 to the value of `search-invisible'.
14142 (isearch-toggle-case-fold): Doc fix.
14143 (isearch-toggle-invisible): New command.
14144 (isearch-query-replace): Let-bind `search-invisible'
14145 to the value of `isearch-invisible'.
14146 (isearch-search): Use `isearch-invisible' instead of
14147 `search-invisible'. Let-bind `search-invisible'
14148 to the value of `isearch-invisible'. (Bug#11378)
14149
14150 2013-05-30 Juri Linkov <juri@jurta.org>
14151
14152 * replace.el (perform-replace): Avoid `isearch-range-invisible'
14153 call when `query-flag' is nil and `search-invisible' is non-nil.
14154 (Bug#11746)
14155
14156 2013-05-30 Glenn Morris <rgm@gnu.org>
14157
14158 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
14159
14160 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
14161 (cc-require): Suppress spurious "noruntime" warnings.
14162 (cc-require-when-compile): Use fboundp, for sake of compiler.
14163
14164 * progmodes/cc-mode.el: Move load of cc-vars before that of
14165 cc-langs (which in turn loads cc-vars), to quieten compiler.
14166
14167 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14168
14169 * paren.el: Simplify the code.
14170 (show-paren-mode): Always start the timer.
14171 (show-paren--idle-timer): Rename from show-paren-idle-timer.
14172 (show-paren--overlay, show-paren--overlay-1): Rename from
14173 show-paren-overlay and show-paren-overlay-1, and initialize to an
14174 overlay rather than to nil.
14175 (show-paren-function): Misc cleanup and simplifications.
14176
14177 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14178
14179 * paren.el (show-paren-data-function): New hook.
14180 (show-paren--default): New function, extracted from show-paren-function.
14181 (show-paren-function): Use show-paren-data-function.
14182
14183 2013-05-30 Glenn Morris <rgm@gnu.org>
14184
14185 * ielm.el (ielm-map, ielm-complete-symbol):
14186 Use completion-at-point rather than obsolete functions.
14187 (inferior-emacs-lisp-mode): Doc fix.
14188 Set completion-at-point-functions, rather than
14189 comint-dynamic-complete-functions.
14190
14191 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
14192 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
14193 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
14194
14195 * image.el (image-animated-p): Tweak definition.
14196
14197 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
14198 (rlogin-process-connection-type): Tweak default. Add set-after.
14199 (rlogin-host): Doc fix.
14200 (rlogin): Tweak prompt.
14201 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
14202
14203 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
14204 * progmodes/tcl.el (inferior-tcl-mode-map):
14205 Use completion-at-point rather than obsolete alias.
14206
14207 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
14208
14209 * minibuffer.el (read-file-name-completion-ignore-case):
14210 Move before completion--in-region, for eager macro expansion.
14211
14212 2013-05-29 Juri Linkov <juri@jurta.org>
14213
14214 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
14215 for total count of matching lines. Add `global-matches' for total
14216 count of matches. Rename `matches' to `lines' for count of
14217 matching lines. Add `matches' for count of matches.
14218 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
14219 to `prev-line' for line number of prev match endpt.
14220 Increment `matches' for every match. Print the number of
14221 matching lines in the header.
14222 (occur-context-lines): Rename `lines' to `curr-line'.
14223 Rename `prev-lines' to `prev-line'. (Bug#14017)
14224
14225 2013-05-29 Juri Linkov <juri@jurta.org>
14226
14227 * replace.el (perform-replace): Add `skip-read-only-count',
14228 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
14229 Increment them for corresponding conditions and report the number
14230 of skipped occurrences in the final message. (Bug#11746)
14231 (query-replace, query-replace-regexp, query-replace-regexp-eval)
14232 (replace-string, replace-regexp): Doc fix.
14233
14234 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14235
14236 * emacs-lisp/trace.el (trace--read-args): Provide a default.
14237
14238 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
14239 prog-mode-map (bug#14504).
14240
14241 2013-05-29 Leo Liu <sdl.web@gmail.com>
14242
14243 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
14244 (octave-help): Small simplification.
14245
14246 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
14247 off the highlight first.
14248
14249 2013-05-29 Glenn Morris <rgm@gnu.org>
14250
14251 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
14252 Handle idlwave-last-system-routine-info-cons-cell being nil.
14253
14254 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14255 (idlwave-write-paths): Simplify via with-temp-buffer.
14256
14257 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
14258 * emulation/cua-rect.el: Also load cua-base at run time.
14259
14260 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
14261 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
14262 (cperl-imenu-on-info): Require imenu.
14263
14264 2013-05-28 Alan Mackenzie <acm@muc.de>
14265
14266 Handle "capitalised keywords" correctly.
14267 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
14268
14269 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
14270
14271 * eshell/em-unix.el: Add -r option to cp.
14272
14273 2013-05-28 Glenn Morris <rgm@gnu.org>
14274
14275 * vc/vc-arch.el (vc-exec-after): Declare.
14276 (vc-switches): Autoload.
14277 * vc/vc-bzr.el: No need to require vc when compiling.
14278 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
14279 (vc-resynch-buffer, vc-dir-refresh): Declare.
14280 (vc-setup-buffer, vc-switches): Autoload.
14281 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
14282 (vc-resynch-buffer): Declare.
14283 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
14284 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
14285 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
14286 (grep-read-regexp, grep-read-files, grep-expand-template)
14287 (vc-dir-refresh): Declare.
14288 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
14289 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
14290 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
14291 * vc/vc-mtn.el (vc-exec-after): Declare.
14292 (vc-switches): Autoload.
14293 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
14294 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
14295 (vc-file-tree-walk): Declare.
14296 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
14297 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
14298 (vc-tag-precondition, vc-rename-master): Autoload.
14299 * vc/vc-svn.el (vc-exec-after): Declare.
14300 (vc-switches, vc-setup-buffer): Autoload.
14301 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
14302 Autoload.
14303 (vc-resynch-buffer): Declare.
14304
14305 * obsolete/fast-lock.el (byte-compile-warnings):
14306 Don't warn about obsolete features in this obsolete file.
14307
14308 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
14309 Move definition before use.
14310
14311 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
14312 (dun-unix-verbs): Remove dun-zippy.
14313 (dun-zippy): Remove function.
14314
14315 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
14316
14317 2013-05-27 Juri Linkov <juri@jurta.org>
14318
14319 * replace.el (replace-search): New function with code moved out
14320 from `perform-replace'.
14321 (replace-highlight, replace-dehighlight): Move function definitions
14322 up closer to `replace-search'. (Bug#11746)
14323
14324 2013-05-27 Juri Linkov <juri@jurta.org>
14325
14326 * replace.el (perform-replace): Ignore invisible matches.
14327 In addition to checking `query-replace-skip-read-only', also
14328 filter out matches by calling `run-hook-with-args-until-failure'
14329 on `isearch-filter-predicates', and also check `search-invisible'
14330 for t or call `isearch-range-invisible'.
14331 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
14332
14333 2013-05-27 Juri Linkov <juri@jurta.org>
14334
14335 * isearch.el (isearch-filter-predicates): Rename from
14336 `isearch-filter-predicate'. Doc fix. (Bug#11378)
14337 (isearch-message-prefix): Display text from the property
14338 `isearch-message-prefix' of the currently active filters.
14339 (isearch-search): Don't compare `isearch-filter-predicate' with
14340 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
14341 on `isearch-filter-predicates'. Also check `search-invisible' for t
14342 or call `isearch-range-invisible'.
14343 (isearch-filter-visible): Make obsolete.
14344 (isearch-lazy-highlight-search):
14345 Call `run-hook-with-args-until-failure' on
14346 `isearch-filter-predicates' and use `isearch-range-invisible'.
14347
14348 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14349 `isearch-filter-predicates' instead of `funcall'ing
14350 `isearch-filter-predicate'.
14351 (Info-mode): Set `Info-isearch-filter' to
14352 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14353
14354 * dired-aux.el (dired-isearch-filter-predicate-orig):
14355 Remove variable.
14356 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14357 (dired-isearch-filenames-end): Add and remove
14358 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14359 instead of changing the value of `isearch-filter-predicate'.
14360 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14361 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14362 Put property `isearch-message-prefix' to "filename " on
14363 `dired-isearch-filter-filenames'.
14364
14365 * wdired.el (wdired-change-to-wdired-mode):
14366 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14367 locally instead of changing `isearch-filter-predicate'.
14368 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14369
14370 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
14371
14372 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14373 return the commit hash (Bug#14459). Also set the
14374 `vc-git-detached' property.
14375 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14376 (vc-git-mode-line-string): Use the same help-echo format whether
14377 in detached mode or not, because we know the actual revision now.
14378 When in detached mode, shorten the revision to 7 chars.
14379
14380 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14381
14382 * emacs-lisp/easy-mmode.el (define-minor-mode):
14383 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14384 mode hook and provide a docstring.
14385
14386 2013-05-27 Alan Mackenzie <acm@muc.de>
14387
14388 Remove spurious syntax-table text properties inserted by C-y.
14389 * progmodes/cc-mode.el (c-after-change): Also clear hard
14390 syntax-table property with value nil.
14391
14392 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
14393
14394 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14395 when reading the events; the buffer layout shall not be changed.
14396
14397 2013-05-27 Leo Liu <sdl.web@gmail.com>
14398
14399 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14400 New variable.
14401 (inferior-octave-directory-tracker): Automatically re-sync
14402 default-directory.
14403 (octave-help): Improve handling of 'See also'.
14404
14405 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14406
14407 * doc-view.el: Minor naming convention tweaks.
14408 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14409
14410 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14411 even if there's no `display' property yet (bug#14435).
14412
14413 2013-05-25 Eli Zaretskii <eliz@gnu.org>
14414
14415 * subr.el (unmsys--file-name): Rename from reveal-filename.
14416
14417 * Makefile.in (custom-deps, finder-data, autoloads)
14418 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14419 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14420 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14421
14422 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14423
14424 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14425 error-completion on the first 2 args of condition-case (bug#14446).
14426 Don't burp at EOB.
14427
14428 2013-05-25 Leo Liu <sdl.web@gmail.com>
14429
14430 * comint.el (comint-previous-matching-input): Do not flood the
14431 *Messages* buffer with trivial messages.
14432
14433 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14434
14435 * progmodes/flymake.el (flymake-nop): Don't return a string.
14436 (flymake-set-at): Fix typo.
14437
14438 * simple.el (read--expression): New function, extracted from
14439 eval-expression. Set completion-at-point-functions (bug#14465).
14440 (eval-expression, eval-minibuffer): Use it.
14441
14442 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
14443
14444 * progmodes/flymake.el (flymake-save-buffer-in-file)
14445 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14446 (flymake-selected-frame, flymake-log, flymake-ins-after)
14447 (flymake-set-at, flymake-get-buildfile-from-cache)
14448 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14449 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14450 Refine the doc string.
14451 (flymake-get-file-name-mode-and-masks): Reformat.
14452 (flymake-get-real-file-name-function): Fix a minor bug.
14453
14454 2013-05-24 Juri Linkov <juri@jurta.org>
14455
14456 * progmodes/grep.el (grep-mode-font-lock-keywords):
14457 Support =linenumber= format used by git-grep for lines with
14458 function names. (Bug#13549)
14459
14460 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14461
14462 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14463 0 after a semi-colon; it works better for smie-auto-fill.
14464 (octave--indent-new-comment-line): New function.
14465 (octave-indent-new-comment-line): Use it (indirectly).
14466 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14467 modify comment-line-break-function.
14468
14469 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14470 (smie-setup): Use add-function to set it.
14471
14472 2013-05-24 Sam Steingold <sds@gnu.org>
14473
14474 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14475 argument (before the `interactive' argument).
14476
14477 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14478
14479 * image-mode.el (image-mode-winprops): Add winprops to
14480 image-mode-winprops-alist before running
14481 image-mode-new-window-functions.
14482 * doc-view.el (doc-view-new-window-function): Don't delay
14483 doc-view-goto-page via timers (bug#14435).
14484
14485 2013-05-24 Tassilo Horn <tsdh@gnu.org>
14486
14487 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14488 (doc-view-desktop-save-buffer): New function.
14489 (doc-view-restore-desktop-buffer): New function.
14490 (desktop-buffer-mode-handlers):
14491 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14492 handler.
14493 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14494 `desktop-save-buffer' function.
14495
14496 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
14497
14498 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14499 (tramp-gvfs-file-name-handler): Raise a user error when
14500 `tramp-gvfs-enabled' is nil.
14501 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14502 Do not raise a user error when loading package. (Bug#14447)
14503
14504 * net/xesam.el: Move to obsolete/.
14505
14506 2013-05-24 Glenn Morris <rgm@gnu.org>
14507
14508 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14509
14510 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14511
14512 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14513 (Info-find-node, Man-getpage-in-background): Declare.
14514
14515 * mail/unrmail.el (unrmail):
14516 Replace obsolete detect-coding-with-priority.
14517
14518 * net/socks.el (socks-split-string): Use this rather than split-string.
14519 (socks-nslookup-host): Update for above change.
14520 (dynamic-choice, s5-dynamic-choice-match)
14521 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14522 Comment out unused code.
14523
14524 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14525 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14526 (gud-tooltip-echo-area): Make obsolete.
14527 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14528
14529 * progmodes/js.el (js--optimize-arglist): Declare.
14530
14531 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14532
14533 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14534 (ediff-window-C): Declare.
14535
14536 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14537 Tweak requires to silence compiler.
14538
14539 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14540 (he-search-string, he-tried-table, he-expand-list)
14541 (he-init-string, he-string-member, he-substitute-string)
14542 (he-reset-string): Declare.
14543
14544 * obsolete/options.el (list-options): Use custom-variable-p,
14545 rather than obsolete alias.
14546
14547 2013-05-23 Sam Steingold <sds@gnu.org>
14548
14549 * simple.el (shell-command-on-region): Pass the `replace' argument
14550 down to `call-process-region' to comply with the doc as reported on
14551 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14552
14553 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14554
14555 * emacs-lisp/smie.el (smie-indent-forward-token)
14556 (smie-indent-backward-token): Handle string tokens (bug#14381).
14557
14558 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14559
14560 * ielm.el (ielm-menu): New menu.
14561 (inferior-emacs-lisp-mode): Set comment-start.
14562
14563 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14564
14565 * textmodes/reftex.el (reftex-ref-style-toggle):
14566 Fix deactivate action.
14567
14568 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14569 Add cleveref macros.
14570
14571 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
14572 Accept options for bibliography commands.
14573 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14574 Add addbibresource. Basic Biblatex support.
14575
14576 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14577
14578 * net/tramp-gvfs.el (top):
14579 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14580 when loading package. (Bug#14447)
14581
14582 2013-05-23 Glenn Morris <rgm@gnu.org>
14583
14584 * progmodes/js.el: No need to load comint when compiling.
14585 (ring-insert, comint-send-string, comint-send-input)
14586 (comint-last-input-end, ido-chop): Declare.
14587
14588 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14589 * vc/ediff-mult.el: Adjust requires.
14590 (ediff-directories-internal, ediff-directory-revisions-internal)
14591 (ediff-patch-file-internal): Declare.
14592 * vc/ediff-ptch.el: Adjust requires.
14593 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14594 (ediff-find-file): Autoload.
14595 * vc/ediff-util.el: No need to load ediff when compiling.
14596 (ediff-regions-internal): Declare.
14597 * vc/ediff-wind.el: Adjust requires.
14598 (ediff-compute-toolbar-width): Define when compiling.
14599 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14600 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14601 (dired-get-filename, dired-get-marked-files)
14602 (ediff-last-dir-patch, ediff-patch-default-directory)
14603 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14604 (ediff-patch-buffer-internal): Declare.
14605
14606 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14607 (ispell-process, ispell-buffer-local-words, lm-summary)
14608 (lm-section-start, lm-section-end): Declare.
14609 (checkdoc-ispell-init): Simplify.
14610
14611 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14612 (he-string-member, he-reset-string, he-substitute-string): Declare.
14613
14614 * eshell/em-ls.el: Adjust requires.
14615 (eshell-glob-regexp): Declare.
14616 * eshell/em-tramp.el: Adjust requires.
14617 (eshell-parse-command): Autoload.
14618 * eshell/em-xtra.el: Adjust requires.
14619 (eshell-parse-command): Autoload.
14620 * eshell/esh-ext.el: Adjust requires.
14621 (eshell-parse-command, eshell-close-handles): Autoload.
14622 * eshell/esh-io.el: Adjust requires.
14623 (eshell-output-filter): Autoload.
14624 * eshell/esh-util.el: No need to load tramp when compiling.
14625 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14626 Declare.
14627 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14628 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14629 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14630 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14631 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14632 * eshell/esh-opt.el, eshell/esh-proc.el:
14633 * eshell/esh-var.el: Adjust requires.
14634 * eshell/eshell.el: Do not require esh-util twice.
14635 (eshell-add-input-to-history): Declare.
14636 (eshell-command): Check history module is active before using it.
14637
14638 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14639
14640 2013-05-22 Leo Liu <sdl.web@gmail.com>
14641
14642 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14643
14644 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14645
14646 * autorevert.el (auto-revert-notify-add-watch)
14647 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14648 it indicates changes in file modification time.
14649
14650 2013-05-22 Glenn Morris <rgm@gnu.org>
14651
14652 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14653 Always delete the autoloaded function from the noruntime and
14654 unresolved functions lists.
14655
14656 * allout.el: No need to load epa, epg, overlay when compiling.
14657 (epg-context-set-passphrase-callback, epg-list-keys)
14658 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14659 (epg-key-user-id-list): Declare.
14660
14661 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14662 (viper-set-parsing-style-toggling-macro)
14663 (viper-set-emacs-state-searchstyle-macros):
14664 Use called-interactively-p on Emacs.
14665 (viper-looking-back): Make it an obsolete alias. Update callers.
14666 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14667 Use looking-back rather than viper-looking-back.
14668 (viper-tmp-insert-at-eob, viper-enlarge-region)
14669 (viper-read-string-with-history, viper-register-to-point)
14670 (viper-append-to-register, viper-change-state-to-vi)
14671 (viper-backward-char-carefully, viper-forward-char-carefully)
14672 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14673 (viper-change-state-to-emacs): Declare.
14674 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14675 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14676 * emulation/viper-mous.el: Do not load viper-cmd.
14677 (viper-backward-char-carefully, viper-forward-char-carefully)
14678 (viper-forward-word, viper-adjust-window): Declare.
14679
14680 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14681
14682 * progmodes/idlw-help.el (idlwave-help-fontify):
14683 Use called-interactively-p.
14684
14685 * term/w32console.el (w32-get-console-codepage)
14686 (w32-get-console-output-codepage): Declare.
14687
14688 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14689 Remove unnecessary declarations.
14690 (dframe-message): Doc fix.
14691
14692 * info.el (dframe-select-attached-frame, dframe-current-frame):
14693 Declare.
14694
14695 * speedbar.el (speedbar-message): Make it an obsolete alias.
14696 Update all callers.
14697 (speedbar-with-attached-buffer)
14698 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14699 (speedbar-with-writable): Use backquote.
14700 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14701 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14702 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14703 rather than speedbar- aliases.
14704 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14705 (speedbar-make-specialized-keymap, speedbar-insert-button)
14706 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14707 (speedbar-do-function-pointer): Declare.
14708 (rmail-speedbar-button, rmail-speedbar-find-file)
14709 (rmail-speedbar-move-message):
14710 Use dframe-with-attached-buffer rather than speedbar- alias.
14711 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14712 (dframe-message, speedbar-make-specialized-keymap)
14713 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14714 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14715 (speedbar-insert-button, dframe-select-attached-frame)
14716 (dframe-maybee-jump-to-attached-frame)
14717 (speedbar-change-initial-expansion-list)
14718 (speedbar-previously-used-expansion-list-name): Declare.
14719 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14720 Use dframe-message, dframe-with-attached-buffer rather than
14721 speedbar- aliases.
14722 (gud-sentinel): Silence compiler.
14723 * progmodes/vhdl-mode.el (speedbar-refresh)
14724 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14725 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14726 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14727 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14728 (speedbar-file-lists, speedbar-make-tag-line)
14729 (speedbar-line-directory, speedbar-goto-this-file)
14730 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14731 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14732 (speedbar-make-button, speedbar-reset-scanners)
14733 (speedbar-files-item-info, speedbar-line-text)
14734 (speedbar-find-file-in-frame, speedbar-set-timer)
14735 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14736 (speedbar-with-writable): Do not (re)define it.
14737 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14738 rather than speedbar- alias.
14739
14740 2013-05-21 Leo Liu <sdl.web@gmail.com>
14741
14742 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14743 menu items.
14744 (octave-mode): Tweak fill-nobreak-predicate.
14745 (inferior-octave-startup): Check process to avoid infinite loop.
14746 (inferior-octave): Pop to buffer first to show abornmal process
14747 exit information.
14748
14749 2013-05-21 Glenn Morris <rgm@gnu.org>
14750
14751 * printing.el (pr-menu-bar): Define when compiling.
14752
14753 2013-05-21 Leo Liu <sdl.web@gmail.com>
14754
14755 * progmodes/octave.el (octave-auto-fill): Remove.
14756 (octave-indent-new-comment-line): Improve.
14757 (octave-mode): Use auto fill mode through
14758 comment-line-break-function and fill-nobreak-predicate.
14759 (octave-goto-function-definition): Support DEFUN_DLD.
14760 (octave-beginning-of-defun): Small tweak.
14761 (octave-help): Show parent directory.
14762
14763 2013-05-21 Glenn Morris <rgm@gnu.org>
14764
14765 * files.el (dired-unmark):
14766 * progmodes/gud.el (gdb-input): Update declarations.
14767
14768 * calculator.el (electric, ehelp): No need to load when compiling.
14769 (Electric-command-loop, electric-describe-mode): Declare.
14770
14771 * doc-view.el (doc-view-current-converter-processes): Move before use.
14772
14773 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14774 Move MODE-set-explicitly definition before use.
14775
14776 * international/mule-diag.el (mule-diag):
14777 Don't use obsolete window-system-version.
14778
14779 * mail/feedmail.el (smtpmail): No need to load when compiling.
14780 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14781
14782 * mail/mail-utils.el (rfc822): No need to load when compiling.
14783 (rfc822-addresses): Autoload it.
14784 (mail-strip-quoted-names): Trivial simplification.
14785
14786 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14787 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14788
14789 * net/snmp-mode.el (tempo): Don't duplicate requires.
14790
14791 * progmodes/prolog.el (info): No need to load when compiling.
14792 (comint): Require before shell requires it.
14793 (Info-goto-node): Autoload it.
14794 (Info-follow-nearest-node): Declare.
14795 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14796
14797 * textmodes/artist.el (picture-mode-exit): Declare.
14798
14799 * textmodes/reftex-parse.el (reftex-parse-from-file):
14800 Trivial rewrite so the compiler can parse it better.
14801
14802 2013-05-20 Leo Liu <sdl.web@gmail.com>
14803
14804 * progmodes/octave.el (octave-help-mode-map)
14805 (octave-help-mode-finish-hook): New variables.
14806 (octave-help-mode, octave-help-mode-finish): New functions.
14807 (octave-help): Use octave-help-mode.
14808
14809 2013-05-20 Glenn Morris <rgm@gnu.org>
14810
14811 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14812
14813 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14814
14815 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14816 start at point, so that expansion starting right after opening
14817 slash in a regexp is recognized.
14818 (ruby-syntax-before-regexp-re): New defvar, extracted from
14819 ruby-syntax-propertize-function. Since the value of this regexp
14820 is looked up at runtime now, we should be able to turn
14821 `ruby-syntax-methods-before-regexp' into a defcustom later.
14822 (ruby-syntax-propertize-function): Split regexp matching into two
14823 parts, for opening and closing slashes. That allows us to skip
14824 over string interpolations and support multiline regexps.
14825 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14826 for them, which calls `ruby-syntax-propertize-expansion'.
14827 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14828 call to `ruby-syntax-propertize-function'.
14829 (ruby-syntax-propertize-expansion): Extracted from
14830 `ruby-syntax-propertize-expansions'. Handles one expansion.
14831 (ruby-syntax-propertize-percent-literal): Leave point right after
14832 the percent symbol, so that the expression expansion rule can
14833 propertize the contents.
14834 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14835 heredoc openers.
14836 (ruby-syntax-propertize-expansions): Remove.
14837
14838 2013-05-18 Juri Linkov <juri@jurta.org>
14839
14840 * man.el (Man-default-man-entry): Remove `-' from the end
14841 of the default value. (Bug#14400)
14842
14843 2013-05-18 Glenn Morris <rgm@gnu.org>
14844
14845 * comint.el (comint-password-prompt-regexp):
14846 Allow "password for XXX" where XXX contains colons (eg https://...).
14847
14848 2013-05-18 Leo Liu <sdl.web@gmail.com>
14849
14850 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14851 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14852 (octave-source-directories): Don't check process.
14853 (octave-source-directories, octave-find-definition): Doc fix.
14854
14855 2013-05-18 Glenn Morris <rgm@gnu.org>
14856
14857 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14858 Remove backspace/delete bindings. (Bug#14392)
14859
14860 * cus-dep.el (custom-make-dependencies): Sort the output.
14861 (custom-versions-load-alist): Convert comment to doc.
14862
14863 2013-05-17 Leo Liu <sdl.web@gmail.com>
14864
14865 * newcomment.el (comment-search-backward): Stricter in finding
14866 comment start. (Bug#14303)
14867
14868 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14869 (octave-comment-start-skip): Properly anchored.
14870
14871 2013-05-17 Leo Liu <sdl.web@gmail.com>
14872
14873 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14874 Clean up when turned off. (Bug#14395)
14875 (smie--highlight-matching-block-overlay): No longer buffer-local.
14876 (smie-highlight-matching-block): Adjust.
14877
14878 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14879
14880 Doc string fix for "nanoseconds" (Bug#14406).
14881 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14882 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14883
14884 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14885
14886 * calc/calc-units.el (math-extract-units): Preserve powers
14887 of units.
14888
14889 2013-05-17 Leo Liu <sdl.web@gmail.com>
14890
14891 * subr.el (delete-consecutive-dups): New function.
14892 * ido.el (ido-set-matches-1): Use it.
14893 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14894 * ido.el (ido-remove-consecutive-dups): Remove.
14895
14896 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14897
14898 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14899 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14900 regexp-opt's `words'.
14901
14902 2013-05-16 Leo Liu <sdl.web@gmail.com>
14903
14904 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14905 (smie--highlight-matching-block-overlay)
14906 (smie--highlight-matching-block-lastpos)
14907 (smie--highlight-matching-block-timer): New variables.
14908 (smie-highlight-matching-block): New function.
14909 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14910 (smie-setup): Conditionally enable smie-blink-matching-open.
14911
14912 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14913
14914 Sync with upstream verilog-mode r840.
14915 * progmodes/verilog-mode.el (verilog-mode-version)
14916 (verilog-mode-release-date): Update.
14917 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14918 (verilog-sig-tieoff): Fix string error on
14919 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14920 (verilog-read-decls): Fix parameters confusing
14921 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14922
14923 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14924
14925 * subr.el (reveal-filename): New function.
14926
14927 * loadup.el: Compute Emacs executable versions on MS-Windows,
14928 where executables have the .exe extension. Add a hard link
14929 emacs-XX.YY.ZZ.exe on MS-Windows.
14930
14931 * Makefile.in (XARGS_LIMIT): New variable.
14932 (custom-deps, finder-data, autoloads)
14933 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14934 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14935 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14936 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14937
14938 2013-05-16 Leo Liu <sdl.web@gmail.com>
14939
14940 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14941 (octave-mode-menu, octave-mode-map): Remove its uses.
14942
14943 2013-05-16 Reto Zimmermann <reto@gnu.org>
14944
14945 Sync with upstream vhdl mode v3.34.2.
14946 * progmodes/vhdl-mode.el: Use `push' throughout.
14947 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14948 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14949 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14950 (vhdl-actual-generic-name): New option to derive actual generic name.
14951 (vhdl-port-paste-signals): Replace formal by actual generics.
14952 (vhdl-beautify): New name for old group vhdl-align. Update users.
14953 (vhdl-beautify-options): New option.
14954 (vhdl-last-input-event): New compat alias. Use throughout.
14955 (vhdl-goto-line): Replace user level function `goto-line'.
14956 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14957 vhdl-fix-statement-buffer.
14958 (vhdl-create-mode-menu): Add some entries.
14959 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14960 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14961 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14962 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14963 to force statements on one line.
14964 (vhdl-remove-trailing-spaces-region):
14965 New, split from vhdl-remove-trailing-spaces.
14966 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14967 Respect vhdl-beautify-options.
14968 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14969 (vhdl-update-sensitivity-list): Not add with index if exists without.
14970 Not include array index with signal. Ignore keywords in comments.
14971 (vhdl-get-visible-signals): Regexp tweaks.
14972 (vhdl-template-component-inst): Handle empty library.
14973 (vhdl-template-type): Add template for 'enum' type.
14974 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14975 Use vhdl-replace-string.
14976 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14977 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14978 (vhdl-speedbar-initialize): Update for above name change.
14979 (vhdl-compose-wire-components): Fix in handling of constants.
14980 (vhdl-error-regexp-emacs-alist): New variable.
14981 (vhdl-error-regexp-add-emacs): New function;
14982 adds support for new compile.el (Emacs 22+)
14983 (vhdl-generate-makefile-1): Change target order for single lib. units.
14984 Allow use of absolute file names.
14985
14986 2013-05-16 Leo Liu <sdl.web@gmail.com>
14987
14988 * simple.el (prog-indent-sexp): Indent enclosing defun.
14989
14990 2013-05-15 Glenn Morris <rgm@gnu.org>
14991
14992 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14993 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14994 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14995 (whitespace-highlight): Move to whitespace group.
14996
14997 * comint.el (comint-source):
14998 * pcmpl-linux.el (pcmpl-linux):
14999 * shell.el (shell-faces):
15000 * eshell/esh-opt.el (eshell-opt):
15001 * international/ccl.el (ccl): Remove empty custom groups.
15002
15003 * completion.el (dynamic-completion-mode):
15004 * jit-lock.el (jit-lock-debug-mode):
15005 * minibuffer.el (completion-in-region-mode):
15006 * type-break.el (type-break-mode-line-message-mode)
15007 (type-break-query-mode):
15008 * emulation/tpu-edt.el (tpu-edt-mode):
15009 * progmodes/subword.el (global-subword-mode, global-superword-mode):
15010 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15011 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
15012
15013 * term/xterm.el (xterm): Change parent group to terminals.
15014
15015 * master.el (master): Remove empty custom group.
15016 (master-mode): Remove unused :group argument.
15017 * textmodes/refill.el (refill): Remove empty custom group.
15018 (refill-mode): Remove unused :group argument.
15019
15020 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
15021
15022 * cus-dep.el: Provide a feature.
15023 (custom-make-dependencies): Ignore dotfiles (dir-locals).
15024 Don't mistakenly ignore files whose basenames match a basename
15025 from preloaded-file-list (eg cedet/ede/simple.el).
15026 Add a fallback method for getting :group.
15027
15028 2013-05-15 Juri Linkov <juri@jurta.org>
15029
15030 * isearch.el (isearch-char-by-name): Rename from
15031 `isearch-insert-char-by-name'. Doc fix.
15032 (isearch-forward): Mention `isearch-char-by-name' in
15033 the docstring. (Bug#13348)
15034
15035 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
15036 `exit-minibuffer' instead of
15037 `isearch-nonincremental-exit-minibuffer'.
15038 (isearch-edit-string): Remove mention of
15039 `isearch-nonincremental-exit-minibuffer' from docstring.
15040 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
15041 (isearch-forward-exit-minibuffer)
15042 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
15043
15044 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15045
15046 * loadup.el: Just use unversioned DOC.
15047
15048 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
15049 literals as extending to EOB.
15050 (nxml-last-fontify-end): Remove unused variable.
15051 (nxml-after-change1): Use with-silent-modifications.
15052 (nxml-extend-after-change-region): Simplify.
15053 (nxml-extend-after-change-region1): Remove function.
15054 (nxml-after-change1): Don't adjust for dependent regions.
15055 (nxml-fontify-matcher): Simplify.
15056 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
15057 (xmltok-add-dependent): Remove function.
15058 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
15059 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
15060 (xmltok-scan-prolog-after-processing-instruction-open): Treat
15061 unclosed <[[, <?, comment, and other literals as extending to EOB.
15062 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
15063 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
15064 Remove functions.
15065 (rng-do-some-validation-1): Don't mark dependent regions.
15066 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
15067 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
15068 (nxml-clear-dependent-regions): Remove functions.
15069 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
15070 (nxml-ensure-scan-up-to-date):
15071 Don't clear&mark dependent regions.
15072
15073 2013-05-15 Leo Liu <sdl.web@gmail.com>
15074
15075 * progmodes/octave.el (octave-goto-function-definition):
15076 Improve and fix callers.
15077
15078 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15079
15080 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
15081 the setter (bug#14387).
15082
15083 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
15084 surrounding group (bug#14402).
15085
15086 2013-05-14 Juri Linkov <juri@jurta.org>
15087
15088 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
15089 (Bug#14390)
15090
15091 2013-05-14 Glenn Morris <rgm@gnu.org>
15092
15093 * progmodes/f90.el (f90-imenu-generic-expression):
15094 Fix typo in 2013-05-08 change. (Bug#14402)
15095
15096 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15097
15098 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
15099 Remove signals for which replies are never received.
15100
15101 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15102
15103 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
15104 (gdb-handler-alist, gdb-handler-number): Remove variables.
15105 (gdb-handler-list): New variable.
15106 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
15107 (gdb-pending-handler-p, gdb-handle-reply)
15108 (gdb-remove-all-pending-triggers): New functions.
15109 (gdb-discard-unordered-replies): New defcustom.
15110 (gdb-handler): New defstruct.
15111 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
15112 instead of gdb-pending-triggers. Update docstring.
15113 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
15114 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
15115 (gdb-var-update-handler, def-gdb-auto-update-trigger)
15116 (def-gdb-auto-update-handler, gdb-get-changed-registers)
15117 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
15118 (gdb-frame-handler): Pending triggers are now automatically managed.
15119 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
15120 Remove argument.
15121 (gdb-input): Automatically handles pending triggers. Update docstring.
15122 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
15123 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
15124 Update comments.
15125 (gdb-done-or-error): Now use gdb-handle-reply.
15126
15127 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15128
15129 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
15130 gdb-debug-log.
15131
15132 2013-05-14 Glenn Morris <rgm@gnu.org>
15133
15134 * subr.el (user-emacs-directory-warning): New option.
15135 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
15136
15137 2013-05-14 Leo Liu <sdl.web@gmail.com>
15138
15139 * progmodes/octave.el (octave-font-lock-keywords): Fix error
15140 during redisplay.
15141 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
15142 (octave-font-lock-texinfo-comment): Fix invalid search bound
15143 error: wrong side of point.
15144
15145 2013-05-14 Glenn Morris <rgm@gnu.org>
15146
15147 * progmodes/flymake.el (flymake-xml-program): New option.
15148 (flymake-xml-init): Use it.
15149
15150 * term/xterm.el: Provide a feature.
15151
15152 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
15153
15154 2013-05-13 Glenn Morris <rgm@gnu.org>
15155
15156 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
15157 Add compat aliases as a hack workaround. (Bug#14384)
15158
15159 2013-05-13 Leo Liu <sdl.web@gmail.com>
15160
15161 * progmodes/octave.el (octave-indent-comment): Fix indentation for
15162 ###, and %!.
15163 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
15164 C-M-q.
15165 (octave-comment-start-skip): Include %!.
15166 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
15167
15168 2013-05-12 Leo Liu <sdl.web@gmail.com>
15169
15170 * progmodes/octave.el (inferior-octave-startup): Store the value
15171 of __octave_srcdir__ for octave-source-directories.
15172 (inferior-octave-check-process): New function refactored out of
15173 inferior-octave-send-list-and-digest.
15174 (octave-source-directories)
15175 (octave-find-definition-filename-function): New variables.
15176 (octave-source-directories)
15177 (octave-find-definition-default-filename): New functions.
15178 (octave-find-definition): Improve to find functions implemented in C++.
15179
15180 2013-05-12 Glenn Morris <rgm@gnu.org>
15181
15182 * calendar/diary-lib.el (diary-outlook-format-1):
15183 Don't include dayname in the output. (Bug#14349)
15184
15185 2013-05-11 Glenn Morris <rgm@gnu.org>
15186
15187 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
15188
15189 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
15190 Treat cc-provide like provide.
15191
15192 2013-05-11 Kevin Ryde <user42@zip.com.au>
15193
15194 * cus-dep.el (custom-make-dependencies):
15195 Use generated-autoload-load-name for the sake of files such
15196 such cedet/semantic/bovine/c.el, where the base file name
15197 is not in load-path. (Bug#5277)
15198
15199 2013-05-11 Glenn Morris <rgm@gnu.org>
15200
15201 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
15202 Provide features.
15203
15204 2013-05-11 Leo Liu <sdl.web@gmail.com>
15205
15206 * progmodes/octave.el (octave-indent-comment): Improve.
15207 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
15208 (octave-eldoc-function-signatures, octave-eldoc-function):
15209 New functions.
15210 (octave-mode, inferior-octave-mode): Add eldoc support.
15211
15212 2013-05-11 Richard Stallman <rms@gnu.org>
15213
15214 * epa.el (epa-decrypt-file): Take output file name as argument
15215 and read it using `interactive'.
15216
15217 2013-05-11 Leo Liu <sdl.web@gmail.com>
15218
15219 * progmodes/octave.el (octave-beginning-of-line)
15220 (octave-end-of-line): Check before using up-list because it jumps
15221 out of more syntactic contructs since moving to smie.
15222 (octave-indent-comment): New function.
15223 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
15224 (octave-begin-keywords, octave-end-keywords)
15225 (octave-reserved-words, octave-smie-bnf-table)
15226 (octave-smie-rules): Add new keywords from Octave 3.6.4.
15227
15228 2013-05-11 Glenn Morris <rgm@gnu.org>
15229
15230 * faces.el (internal-face-x-get-resource):
15231 * frame.el (ns-display-monitor-attributes-list):
15232 * calc/calc-aent.el (math-to-radians-2):
15233 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
15234 Fix declarations.
15235
15236 * calc/calc-menu.el: Make it loadable in isolation.
15237
15238 * net/eudcb-bbdb.el: Make it loadable without bbdb.
15239 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
15240 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
15241 (eudc-bbdb-query-internal): Require 'bbdb.
15242
15243 * lpr.el (lpr-headers-switches):
15244 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
15245
15246 * progmodes/sql.el (sql-login-params): Fix and improve :type.
15247
15248 * emulation/edt-mapper.el: In batch mode, error rather than hang.
15249
15250 * term.el (term-set-escape-char): Make it idempotent.
15251
15252 2013-05-10 Leo Liu <sdl.web@gmail.com>
15253
15254 * progmodes/octave.el (inferior-octave-completion-table):
15255 No longer a function and all uses changed. Use cache to speed up
15256 completion due to bug#11906.
15257 (octave-beginning-of-defun): Re-write to be more general.
15258
15259 2013-05-10 Glenn Morris <rgm@gnu.org>
15260
15261 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
15262
15263 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
15264
15265 * comint.el (comint-redirect-send-command-to-process): Use :around
15266 rather than :override for comint-redirect-filter.
15267 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
15268 Call it instead of comint-redirect-original-filter-function (which
15269 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
15270
15271 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
15272
15273 * frame.el (display-monitor-attributes-list): Add NS case.
15274 (ns-display-monitor-attributes-list): Declare.
15275
15276 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
15277
15278 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
15279
15280 2013-05-09 Glenn Morris <rgm@gnu.org>
15281
15282 * international/fontset.el (vertical-centering-font-regexp):
15283 Set standard-value.
15284
15285 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
15286
15287 * bookmark.el (bookmark-search-delay):
15288 * cus-start.el (vertical-centering-font-regexp):
15289 * ps-mule.el (ps-mule-font-info-database-default):
15290 * ps-print.el (ps-default-fg, ps-default-bg):
15291 * type-break.el (type-break-good-break-interval):
15292 * whitespace.el (whitespace-indentation-regexp)
15293 (whitespace-space-after-tab-regexp):
15294 * emacs-lisp/testcover.el (testcover-1value-functions)
15295 (testcover-noreturn-functions, testcover-progn-functions)
15296 (testcover-prog1-functions):
15297 * emulation/viper-init.el (viper-emacs-state-cursor-color):
15298 * eshell/em-glob.el (eshell-glob-translate-alist):
15299 * play/tetris.el (tetris-tty-colors):
15300 * progmodes/cpp.el (cpp-face-default-list):
15301 * progmodes/flymake.el (flymake-allowed-file-name-masks):
15302 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
15303 (idlwave-help-browser-generic-args):
15304 * progmodes/make-mode.el (makefile-special-targets-list):
15305 * progmodes/python.el (python-shell-virtualenv-path):
15306 * progmodes/verilog-mode.el (verilog-active-low-regexp)
15307 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
15308 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
15309 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
15310 * textmodes/reftex-vars.el (reftex-format-label-function):
15311 * textmodes/remember.el (remember-diary-file): Fix custom types.
15312
15313 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
15314 Add :version.
15315
15316 2013-05-09 Leo Liu <sdl.web@gmail.com>
15317
15318 * progmodes/octave.el (inferior-octave-completion-at-point):
15319 Restore file completion. (Bug#14300)
15320 (inferior-octave-startup): Fix incorrect highlighting for the
15321 first prompt.
15322
15323 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15324
15325 * progmodes/ruby-mode.el: First cut at SMIE support.
15326 (ruby-use-smie): New var.
15327 (ruby-smie-grammar): New constant.
15328 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15329 (ruby-smie--forward-token, ruby-smie--backward-token)
15330 (ruby-smie-rules): New functions.
15331 (ruby-mode-variables): Setup SMIE if applicable.
15332
15333 2013-05-08 Eli Zaretskii <eliz@gnu.org>
15334
15335 * simple.el (line-move-visual): Signal beginning/end of buffer
15336 only if vertical-motion moved less than it was requested. Avoids
15337 silly incorrect error messages when there are display strings with
15338 multiple newlines at EOL.
15339
15340 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15341
15342 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15343 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15344 (prolog-char-quote-workaround):
15345 * progmodes/cperl-mode.el (cperl-under-as-char):
15346 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15347 Mark as obsolete.
15348 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15349 their declaration.
15350 (vhdl-mode-syntax-table-init): Remove.
15351
15352 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15353 last change.
15354
15355 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15356 syntax for "_".
15357 (ld-script-font-lock-keywords):
15358 Change regexps to use things like \_< and \_>.
15359
15360 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15361 Change all regexps to use things like \_< and \_>.
15362
15363 * progmodes/autoconf.el (autoconf-definition-regexp)
15364 (autoconf-font-lock-keywords, autoconf-current-defun-function):
15365 Handle a _ with symbol syntax.
15366 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15367
15368 * progmodes/ada-mode.el (ada-mode-abbrev-table):
15369 Consolidate declaration.
15370 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15371 the declaration.
15372 (ada-create-syntax-table): Remove.
15373 (ada-capitalize-word): Don't mess with the syntax of "_" since it
15374 already has the right syntax nowadays.
15375 (ada-goto-next-word): Don't change the syntax of "_".
15376
15377 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15378 with-wrapper-hook.
15379
15380 2013-05-08 Sam Steingold <sds@gnu.org>
15381
15382 * thingatpt.el (thing-at-point): Accept optional second argument
15383 NO-PROPERTIES to strip the text properties from the return value.
15384 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15385 to `thing-at-point' instead of stripping the properties ourselves.
15386 Also, when `thing-at-point' fails to find a url, prepend "http://"
15387 to the filename at point on the assumption that the user is
15388 pointing at something like gnu.org/gnu.
15389
15390 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
15391
15392 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15393 * faces.el (crm-separator):
15394 Silence byte-compiler.
15395
15396 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15397 (tool-bar-map): Remove unneeded defvars.
15398
15399 2013-05-08 Leo Liu <sdl.web@gmail.com>
15400
15401 Re-work a fix for bug#10994 based on Le Wang's patch.
15402 * ido.el (ido-remove-consecutive-dups): New helper.
15403 (ido-completing-read): Use it.
15404 (ido-chop): Revert fix for bug#10994.
15405
15406 2013-05-08 Adam Spiers <emacs@adamspiers.org>
15407
15408 * cus-edit.el (custom-save-variables):
15409 Pretty-print long values. (Bug#14187)
15410
15411 2013-05-08 Glenn Morris <rgm@gnu.org>
15412
15413 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15414 (m4-mode-syntax-table): Init in the defvar.
15415 (m4-mode-abbrev-table): Let define-derived-mode define it.
15416
15417 2013-05-08 Tom Tromey <tromey@redhat.com>
15418
15419 * progmodes/m4-mode.el (m4-mode-syntax-table):
15420 Do not treat "_" as word constituent. (Bug#14167)
15421
15422 2013-05-07 Glenn Morris <rgm@gnu.org>
15423
15424 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15425 Remove explicit eshell-isearch-cancel-map.
15426
15427 * progmodes/f90.el (f90-smart-end-names): New option.
15428 (f90-smart-end): Doc fix.
15429 (f90-end-block-optional-name): New constant.
15430 (f90-block-match): Respect f90-smart-end-names.
15431
15432 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15433
15434 * progmodes/octave.el (octave-smie-forward-token): Be more careful
15435 about implicit semi-colons (bug#14218).
15436
15437 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15438
15439 * frame.el (display-monitor-attributes-list)
15440 (frame-monitor-attributes): New functions.
15441
15442 2013-05-06 Leo Liu <sdl.web@gmail.com>
15443
15444 * progmodes/octave.el (octave-syntax-propertize-function): Change
15445 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15446 (octave-font-lock-keywords): Use octave-operator-regexp.
15447 (octave-completion-at-point): Rename from
15448 octave-completion-at-point-function.
15449 (inferior-octave-directory-tracker): Robustify.
15450 (octave-text-functions): Remove and fix its uses. No such things
15451 any more.
15452
15453 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15454
15455 * emacs-lisp/trace.el (trace--display-buffer): New function.
15456 (trace-make-advice): Use it.
15457
15458 2013-05-06 Juri Linkov <juri@jurta.org>
15459
15460 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15461 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15462 Doc fix.
15463 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15464 in the help string. (Bug#12985)
15465
15466 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15467
15468 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15469
15470 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15471
15472 * progmodes/perl-mode.el: Add support for here documents.
15473 (perl-syntax-propertize-function): Match here-doc markers.
15474 (perl-syntax-propertize-special-constructs): Find their end.
15475 (perl-imenu-generic-expression): Use [:alnum:].
15476
15477 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15478 (advice--add-function): Refresh the advice if already present
15479 (bug#14317).
15480
15481 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
15482
15483 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15484
15485 2013-05-06 Glenn Morris <rgm@gnu.org>
15486
15487 * w32-fns.el (w32-charset-info-alist): Declare.
15488
15489 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15490 of its defcustom properties.
15491 (eshell-cmpl-initialize): No need to load pcomplete.
15492
15493 * generic-x.el: No need to require comint when compiling.
15494
15495 * net/eudc-export.el: Make it loadable without bbdb.
15496 (top-level): Use require rather than load-library.
15497 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15498 (eudc-batch-export-records-to-bbdb)
15499 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15500 Require bbdb.
15501
15502 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15503
15504 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15505 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15506 some tweaks, instead.
15507
15508 2013-05-05 Leo Liu <sdl.web@gmail.com>
15509
15510 * progmodes/octave.el (octave-font-lock-keywords)
15511 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15512 (inferior-octave-send-list-and-digest): Improve error message.
15513 (octave-mode, inferior-octave-mode): Use setq-local.
15514 (octave-help): Set info-lookup-mode.
15515
15516 2013-05-05 Richard Stallman <rms@gnu.org>
15517
15518 * vc/compare-w.el (compare-windows-whitespace):
15519 Treat no-break space as whitespace.
15520
15521 * mail/rmailsum.el (rmail-summary-rmail-update):
15522 Detect empty summary and don't change selected message.
15523 (rmail-summary-goto-msg): Likewise.
15524
15525 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15526 Doc fixes, rename args.
15527
15528 2013-05-05 Alan Mackenzie <acm@muc.de>
15529
15530 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15531
15532 2013-05-05 Juri Linkov <juri@jurta.org>
15533
15534 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15535 to not add the length of the summary segment to the return value.
15536 (Bug#14125)
15537
15538 2013-05-05 Leo Liu <sdl.web@gmail.com>
15539
15540 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15541 (inferior-octave-output-filter): Remove.
15542 (octave-send-region, inferior-octave-startup): Fix callers.
15543 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15544 (octave-binary-file-extensions): New user variable.
15545 (octave-find-definition): Confirm if opening binary files.
15546 (octave-help-file): Use octave-find-definition to get the binary
15547 confirmation.
15548 (octave-help): Adjust for octave-help-file change.
15549
15550 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15551
15552 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15553 Merge the two entries that handle function definitions.
15554 (pascal--syntax-propertize): New const.
15555 (pascal-mode): Use it. Use setq-local.
15556
15557 2013-05-04 Glenn Morris <rgm@gnu.org>
15558
15559 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15560 (diary-from-outlook): Respect diary-from-outlook-function.
15561
15562 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15563
15564 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15565 Move the declaration from C.
15566 (read-minibuffer, eval-minibuffer): Move from C.
15567 (completion-setup-function): Avoid minibuffer-completion-contents.
15568
15569 2013-05-03 Leo Liu <sdl.web@gmail.com>
15570
15571 * progmodes/octave.el (octave-font-lock-keywords): Do not
15572 dehighlight 'end' in comments or strings.
15573 (octave-completing-read, octave-goto-function-definition):
15574 New helpers.
15575 (octave-help-buffer): New user variable.
15576 (octave-help-file, octave-help-function): New button types.
15577 (octave-help): New command and bind it to C-h ;.
15578 (octave-find-definition): New command and bind it to M-.
15579 (user-error): Alias to error if not defined.
15580
15581 2013-05-02 Leo Liu <sdl.web@gmail.com>
15582
15583 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15584 for \. (bug#14332)
15585 (octave-font-lock-keywords): Include [ and {.
15586
15587 2013-05-02 Leo Liu <sdl.web@gmail.com>
15588
15589 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15590 (inferior-octave): Remove calling comint-mode and return the buffer.
15591 (inferior-octave-startup): Cosmetic changes.
15592
15593 2013-05-02 Leo Liu <sdl.web@gmail.com>
15594
15595 * progmodes/octave.el (octave-syntax-propertize-function):
15596 Include the case when ' is at line beginning. (Bug#14336)
15597
15598 2013-05-02 Glenn Morris <rgm@gnu.org>
15599
15600 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15601 * desktop.el (vc-dir-mode): Just autoload it here.
15602
15603 2013-05-02 Alan Mackenzie <acm@muc.de>
15604
15605 Eliminate variable c-standard-font-lock-fontify-region-function.
15606 * progmodes/cc-mode.el
15607 (c-standard-font-lock-fontify-region-function): Remove.
15608 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15609
15610 2013-05-01 Leo Liu <sdl.web@gmail.com>
15611
15612 * progmodes/octave.el: Compatible with older emacs-24 releases.
15613 (inferior-octave-has-built-in-variables): Remove. Built-in
15614 variables were removed from Octave in 2007.
15615 (inferior-octave-startup): Fix uses.
15616 (comint-line-beginning-position): Remove compatibility code for
15617 emacs 21.
15618
15619 2013-05-01 Juri Linkov <juri@jurta.org>
15620
15621 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15622
15623 2013-05-01 Juri Linkov <juri@jurta.org>
15624
15625 * comint.el (comint-previous-matching-input): Don't print message
15626 "History item: %d" when `isearch-mode' is active.
15627 (comint-history-isearch-message): Print message "History item: %d"
15628 when `comint-input-ring-index' is not empty and this function is
15629 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15630
15631 2013-05-01 Leo Liu <sdl.web@gmail.com>
15632
15633 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15634 definitions. Use completion-at-point to insert keywords.
15635 (octave-abbrev-start): Remove.
15636 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15637
15638 2013-04-30 Leo Liu <sdl.web@gmail.com>
15639
15640 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15641 change.
15642
15643 2013-04-30 Alan Mackenzie <acm@muc.de>
15644
15645 Handle arbitrarily long C++ member initialisation lists.
15646 * progmodes/cc-engine.el (c-back-over-member-initializers):
15647 new function.
15648 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15649 (most) member init lists.
15650
15651 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15652
15653 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15654 variable.
15655
15656 2013-04-30 Leo Liu <sdl.web@gmail.com>
15657
15658 * progmodes/octave.el (octave-variables): Remove. No builtin
15659 variables any more. All converted to functions.
15660 (octave-font-lock-keywords, octave-completion-at-point-function):
15661 Fix uses.
15662 (octave-font-lock-texinfo-comment): New user variable.
15663 (octave-texinfo-font-lock-keywords): New variable for texinfo
15664 comment block.
15665 (octave-function-comment-block): New face.
15666 (octave-font-lock-texinfo-comment): New function.
15667 (octave-mode): Font lock texinfo comment block.
15668
15669 2013-04-29 Leo Liu <sdl.web@gmail.com>
15670
15671 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15672 indexing expression.
15673 (octave-continuation-string): Do not use \.
15674 (inferior-octave-complete-impossible): Remove.
15675 (inferior-octave-completion-table)
15676 (inferior-octave-completion-at-point): Remove its uses.
15677 (inferior-octave-startup): completion_matches was introduced to
15678 Octave in 1996 so safe to assume it.
15679 (octave-function-file-comment): Improve to follow how Octave does it.
15680 (octave-update-function-file-comment): Tweak.
15681
15682 2013-04-29 Leo Liu <sdl.web@gmail.com>
15683
15684 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15685 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15686 (octave-function-file-comment): Fix typo.
15687 (octave-sync-function-file-names): Use read-char-choice.
15688
15689 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15690
15691 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15692 to t for the less important warnings.
15693
15694 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15695
15696 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15697
15698 2013-04-27 Glenn Morris <rgm@gnu.org>
15699
15700 * vc/log-view.el (log-view-current-entry):
15701 Treat "---" separator lines as part of the following rev. (Bug#14169)
15702
15703 2013-04-27 Juri Linkov <juri@jurta.org>
15704
15705 * subr.el (read-number): Doc fix about using it by interactive
15706 code letter `n'. (Bug#14254)
15707
15708 2013-04-27 Juri Linkov <juri@jurta.org>
15709
15710 * desktop.el (desktop-auto-save-timeout): New option.
15711 (desktop-file-checksum): New variable.
15712 (desktop-save): Add optional arg `auto-save' and don't auto-save
15713 if nothing changed.
15714 (desktop-auto-save-timer): New variable.
15715 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15716 (after-init-hook): Call `desktop-auto-save-set-timer'.
15717 Suggested by Reuben Thomas <rrt@sc3d.org> in
15718 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15719
15720 2013-04-27 Leo Liu <sdl.web@gmail.com>
15721
15722 * progmodes/octave.el (octave-function-file-p)
15723 (octave-skip-comment-forward, octave-function-file-comment)
15724 (octave-update-function-file-comment): New functions.
15725 (octave-mode-map): Bind C-c ; to
15726 octave-update-function-file-comment.
15727 (octave-mode-menu): Add octave-update-function-file-comment.
15728 (octave-mode, inferior-octave-mode): Fix doc-string.
15729 (octave-insert-defun): Conform to Octave's coding convention.
15730 (Bug#14285)
15731
15732 * files.el (basic-save-buffer): Don't let errors in
15733 before-save-hook prevent saving buffer.
15734
15735 2013-04-20 Roland Winkler <winkler@gnu.org>
15736
15737 * faces.el (read-face-name): Use completing-read if arg multiple
15738 is nil.
15739
15740 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15741
15742 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15743 displayed, move point to after the totals line.
15744 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15745 for the details.
15746
15747 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15748
15749 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15750 Add current dir to the load-path.
15751 (package-generate-autoloads): Don't rely on
15752 autoload-ensure-default-file.
15753
15754 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15755
15756 * textmodes/remember.el (remember-store-in-files): Document that
15757 the file name format is passed to `format-time-string'.
15758
15759 2013-04-26 Leo Liu <sdl.web@gmail.com>
15760
15761 * progmodes/octave.el (octave-sync-function-file-names): New function.
15762 (octave-mode): Use it in before-save-hook.
15763
15764 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15765
15766 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15767 (bug#14274).
15768
15769 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15770 \n and comment, even if it's not an implicit ; (bug#14218).
15771
15772 2013-04-26 Glenn Morris <rgm@gnu.org>
15773
15774 * subr.el (read-number): Once more use `read' rather than
15775 `string-to-number', to trap non-numeric input. (Bug#14254)
15776
15777 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15778
15779 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15780 Use `syntax-multiline' text property consistently instead of
15781 `font-lock-multiline'. (Bug#14237)
15782
15783 2013-04-26 Glenn Morris <rgm@gnu.org>
15784
15785 * emacs-lisp/shadow.el (list-load-path-shadows):
15786 No longer necessary to check for duplicate simple.el, since
15787 2012-07-07 change to init_lread to not include installation lisp
15788 directories in load-path when running uninstalled. (Bug#14270)
15789
15790 2013-04-26 Leo Liu <sdl.web@gmail.com>
15791
15792 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15793 (octave-mode, inferior-octave-mode): Use setq-local.
15794 (octave-not-in-string-or-comment-p): Rename to
15795 octave-in-string-or-comment-p.
15796 (octave-in-comment-p, octave-in-string-p)
15797 (octave-in-string-or-comment-p): Replace defsubst with defun.
15798
15799 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15800
15801 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15802
15803 2013-04-25 Bastien Guerry <bzg@gnu.org>
15804
15805 * textmodes/remember.el (remember-data-directory)
15806 (remember-directory-file-name-format): Fix custom types.
15807
15808 2013-04-25 Leo Liu <sdl.web@gmail.com>
15809
15810 * progmodes/octave.el (octave-completion-at-point-function):
15811 Make use of inferior octave process.
15812 (octave-initialize-completions): Remove.
15813 (inferior-octave-completion-table): New function.
15814 (inferior-octave-completion-at-point): Use it.
15815 (octave-completion-alist): Remove.
15816
15817 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15818
15819 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15820 (opascal-mode-syntax-table): New var.
15821 (opascal-literal-kind, opascal-is-literal-end)
15822 (opascal-literal-token-at): Rewrite.
15823 (opascal--literal-start-re, opascal-font-lock-keywords)
15824 (opascal--syntax-propertize): New constants.
15825 (opascal-font-lock-defaults): Adjust.
15826 (opascal-mode): Use them. Set comment-<foo> variables as well.
15827 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15828 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15829 (delphi-other-face, opascal-other-face): Remove face variables.
15830 (opascal-save-state): Remove macro.
15831 (opascal-fontifying-progress-step): Remove constant.
15832 (opascal--ignore-changes): Remove var.
15833 (opascal-set-token-property, opascal-parse-next-literal)
15834 (opascal-is-stable-literal, opascal-complete-literal)
15835 (opascal-is-literal-start, opascal-face-of)
15836 (opascal-parse-region, opascal-parse-region-until-stable)
15837 (opascal-fontify-region, opascal-after-change)
15838 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15839 (opascal-debug-parse-region, opascal-debug-parse-window)
15840 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15841 (opascal-debug-fontify-buffer): Remove.
15842 (opascal-debug-mode-map): Adjust accordingly.
15843
15844 2013-04-25 Leo Liu <sdl.web@gmail.com>
15845
15846 Merge octave-mod.el and octave-inf.el into octave.el with some
15847 cleanups.
15848 * progmodes/octave.el: New file renamed from octave-mod.el.
15849 * progmodes/octave-inf.el: Merged into octave.el.
15850 * progmodes/octave-mod.el: Renamed to octave.el.
15851
15852 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15853
15854 * textmodes/reftex-vars.el
15855 (reftex-label-ignored-macros-and-environments): New defcustom.
15856
15857 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15858
15859 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15860
15861 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15862 (smie-indent-keyword): Improve the check to ensure that the next
15863 comment is really on the same line.
15864 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15865
15866 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15867 semi-colons if the line is not otherwise empty (bug#14218).
15868
15869 2013-04-25 Glenn Morris <rgm@gnu.org>
15870
15871 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15872
15873 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15874
15875 * progmodes/opascal.el (opascal-set-token-property): Rename from
15876 opascal-set-text-properties and only set `token' (bug#14134).
15877 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15878 (opascal-literal-text-properties): Remove.
15879 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15880 Adjust callers.
15881
15882 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15883
15884 * textmodes/remember.el (remember-handler-functions): Add an
15885 option for a new handler `remember-store-in-files'.
15886 (remember-data-directory, remember-directory-file-name-format):
15887 New options.
15888 (remember-store-in-files): New function to store remember notes
15889 as separate files within a directory.
15890
15891 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15892
15893 * progmodes/compile.el (compilation-next-error-function):
15894 Pass "formats" to compilation-find-file (bug#11777).
15895
15896 2013-04-24 Glenn Morris <rgm@gnu.org>
15897
15898 * vc/vc-bzr.el (vc-bzr-print-log):
15899 * vc/vc-hg.el (vc-hg-print-log):
15900 * vc/vc-svn.el (vc-svn-print-log):
15901 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15902
15903 * vc/vc-bzr.el (vc-bzr-print-log):
15904 * vc/vc-cvs.el (vc-cvs-print-log):
15905 * vc/vc-git.el (vc-git-print-log):
15906 * vc/vc-hg.el (vc-hg-print-log):
15907 * vc/vc-mtn.el (vc-mtn-print-log):
15908 * vc/vc-rcs.el (vc-rcs-print-log):
15909 * vc/vc-sccs.el (vc-sccs-print-log):
15910 * vc/vc-svn.el (vc-svn-print-log):
15911 * vc/vc.el (vc-print-log-internal): Doc fixes.
15912
15913 2013-04-23 Glenn Morris <rgm@gnu.org>
15914
15915 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15916 Remove venerable code attempting to avoid substitute-command-keys.
15917
15918 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15919
15920 * textmodes/reftex-vars.el (reftex-label-regexps):
15921 Call `reftex-compile-variables' after changes to this variable.
15922
15923 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15924
15925 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15926 Use lexical-binding.
15927 (jit-lock-force-redisplay): Use markers, check buffer's continued
15928 existence and beware narrowed buffers.
15929 (jit-lock-fontify-now): Adjust call accordingly.
15930
15931 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15932
15933 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15934 to avoid misleading the user.
15935
15936 2013-04-22 Leo Liu <sdl.web@gmail.com>
15937
15938 * info-look.el: Prefer latex2e.info. (Bug#14240)
15939
15940 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15941
15942 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15943
15944 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15945 * net/tramp.el (tramp-call-process): ... here.
15946 (tramp-set-completion-function, tramp-parse-putty):
15947 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15948 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15949 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15950 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15951 (tramp-call-local-coding-command): Use `tramp-call-process'
15952 instead of `tramp-compat-call-process'.
15953
15954 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15955 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15956 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15957 (tramp-find-inline-compress): Improve traces.
15958 (tramp-maybe-send-script): Check for Perl binary.
15959 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15960
15961 2013-04-22 Daiki Ueno <ueno@gnu.org>
15962
15963 * epg.el (epg-context-pinentry-mode): New function.
15964 (epg-context-set-pinentry-mode): New function.
15965 (epg--start): Pass --pinentry-mode option to gpg command.
15966
15967 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15968
15969 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15970 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15971 `completion-at-point'. (Bug#13774)
15972
15973 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15974 default key binding for `describe-distribution' has been moved to
15975 `C-h C-o'. (Bug#13970)
15976
15977 2013-04-21 Glenn Morris <rgm@gnu.org>
15978
15979 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15980 Add doc strings.
15981 (vc-print-log): Clarify interactive prompt.
15982
15983 2013-04-20 Glenn Morris <rgm@gnu.org>
15984
15985 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15986 No longer include timestamp etc information.
15987
15988 2013-04-20 Roland Winkler <winkler@gnu.org>
15989
15990 * faces.el (read-face-name): Bug fix, return just one face if arg
15991 multiple is nil. (Bug#14209)
15992
15993 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15994
15995 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15996 (remove-function): Autoload.
15997
15998 * comint.el (comint-redirect-original-filter-function): Remove.
15999 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
16000 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
16001 (vc-cvs-annotate-command):
16002 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
16003 * progmodes/prolog.el (prolog-consult-compile):
16004 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
16005 Use add/remove-function instead.
16006 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
16007 (gud-tooltip-process-output, gud-tooltip-tips):
16008 Use add/remove-function instead.
16009 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
16010 (scheme-interaction-mode, exit-scheme-interaction-mode):
16011 Use add/remove-function instead.
16012
16013 * vc/vc-dispatcher.el: Use lexical-binding.
16014 (vc--process-sentinel): Rename from vc-process-sentinel.
16015 Change last arg to be the code to run. Don't use vc-previous-sentinel
16016 and vc-sentinel-commands any more.
16017 (vc-exec-after): Allow code to be a function. Use add/remove-function.
16018 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
16019
16020 2013-04-19 Masatake YAMATO <yamato@redhat.com>
16021
16022 * progmodes/sh-script.el (sh-imenu-generic-expression):
16023 Handle function names with a single character. (Bug#14111)
16024
16025 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
16026
16027 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
16028 for subroutines defined in an eval (bug#14182).
16029
16030 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16031
16032 * bookmark.el (bookmark-completing-read): Improve handling of empty
16033 string (bug#14176).
16034
16035 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16036
16037 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
16038
16039 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
16040
16041 New faster Imenu implementation (bug#14058).
16042 * progmodes/python.el (python-imenu-prev-index-position)
16043 (python-imenu-format-item-label-function)
16044 (python-imenu-format-parent-item-label-function)
16045 (python-imenu-format-parent-item-jump-label-function):
16046 New vars.
16047 (python-imenu-format-item-label)
16048 (python-imenu-format-parent-item-label)
16049 (python-imenu-format-parent-item-jump-label)
16050 (python-imenu--put-parent, python-imenu--build-tree)
16051 (python-imenu-create-index, python-imenu-create-flat-index)
16052 (python-util-popn): New functions.
16053 (python-mode): Set imenu-create-index-function to
16054 python-imenu-create-index.
16055
16056 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16057
16058 * winner.el (winner-active-region): Use region-active-p, activate-mark
16059 and deactivate-mark (bug#14225).
16060
16061 * simple.el (deactivate-mark): Don't inline it.
16062
16063 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
16064
16065 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
16066
16067 2013-04-18 Tassilo Horn <tsdh@gnu.org>
16068
16069 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
16070 file extensions from the archive-mode entry in order to prefer
16071 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
16072
16073 2013-04-18 Leo Liu <sdl.web@gmail.com>
16074
16075 * bindings.el (help-event-list): Add ?\?.
16076
16077 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16078
16079 * subr.el (with-wrapper-hook): Declare obsolete.
16080 * simple.el (filter-buffer-substring-function): New hook.
16081 (filter-buffer-substring): Use it.
16082 (filter-buffer-substring-functions): Mark obsolete.
16083 * minibuffer.el (completion-in-region-function): New hook.
16084 (completion-in-region): Use it.
16085 (completion-in-region-functions): Mark obsolete.
16086 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
16087 * abbrev.el (abbrev-expand-function): New hook.
16088 (expand-abbrev): Use it.
16089 (abbrev-expand-functions): Mark obsolete.
16090 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
16091 and :filter-return.
16092
16093 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16094
16095 * progmodes/python.el (python-nav--syntactically): Fix cornercases
16096 and do not care about match data.
16097
16098 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16099
16100 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
16101 completion tables when completing error conditions and
16102 `declare' arguments.
16103 (lisp-complete-symbol, field-complete): Mark as obsolete.
16104 (check-parens): Unmatched parens are user errors.
16105 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
16106
16107 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
16108
16109 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
16110 command changed buffer (ie. `flyspell-pre-buffer' is not current
16111 buffer), which prevents making decisions based on invalid value of
16112 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
16113 cause an error when `flyspell-pre-point' was nil after switching
16114 buffers.
16115 (flyspell-post-command-hook): No longer needs to change buffers when
16116 checking pre-word. While at it remove unnecessary progn.
16117
16118 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
16119
16120 * textmodes/ispell.el (ispell-add-per-file-word-list):
16121 Fix `flyspell-correct-word-before-point' error when accepting
16122 words and `coment-padding' is an integer by using
16123 `comment-normalize-vars' (Bug #14214).
16124
16125 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16126
16127 New defun movement commands.
16128 * progmodes/python.el (python-nav--syntactically)
16129 (python-nav--forward-defun, python-nav-backward-defun)
16130 (python-nav-forward-defun): New functions.
16131
16132 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16133
16134 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
16135 (python-syntax-context): Use named compiler-macro for backwards
16136 compatibility with Emacs 24.x.
16137
16138 2013-04-17 Leo Liu <sdl.web@gmail.com>
16139
16140 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
16141 octave-hide-process-buffer.
16142
16143 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16144
16145 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
16146 (bug#14216).
16147
16148 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
16149
16150 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
16151 Fix adjustment of offset when receiving incomplete responses from GDB
16152 (bug#14129).
16153
16154 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16155
16156 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
16157 python-mode-abbrev-table.
16158 (python-skeleton-define): Adjust accordingly.
16159 (python-mode-abbrev-table): New table that inherits from it so that
16160 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
16161
16162 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
16163 (abbrev-symbol): Use it.
16164 (abbrev--before-point): Use it since we already handle inheritance.
16165
16166 2013-04-16 Leo Liu <sdl.web@gmail.com>
16167
16168 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
16169 binding to info-lookup-symbol.
16170
16171 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
16172
16173 * minibuffer.el (completion--twq-all):
16174 * term/ns-win.el (ns-initialize-window-system):
16175 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
16176
16177 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16178
16179 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
16180 global bindings.
16181
16182 * doc-view.el (doc-view-start-process): Handle url-handler directories.
16183
16184 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
16185
16186 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
16187 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
16188 to nil.
16189 (ruby-end-of-defun): Remove the unused arg, change the docstring
16190 to reflect that this function is only used as the value of
16191 `end-of-defun-function'.
16192 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
16193 to reflect an earlier change that beginning/end-of-defun functions
16194 jump between methods in a class definition, as well as top-level
16195 functions.
16196
16197 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16198
16199 * minibuffer.el (minibuffer-complete): Don't just scroll
16200 a *Completions* that's been iconified.
16201 (minibuffer-force-complete): Make sure repetitions do cycle when going
16202 through completion-in-region -> minibuffer-complete.
16203
16204 2013-04-15 Alan Mackenzie <acm@muc.de>
16205
16206 Correct the placement of c-cpp-delimiters when there're #s not at
16207 col 0.
16208
16209 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
16210 place a submatch around the #.
16211 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
16212 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
16213 on the #, not BOL.
16214
16215 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16216
16217 * emacs-lisp/nadvice.el: Properly test names when adding advice.
16218 (advice--member-p): New arg `name'.
16219 (advice--add-function, advice-member-p): Use it (bug#14202).
16220
16221 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
16222
16223 Reformulate java imenu-generic-expression.
16224 The old expression contained ill formed regexps.
16225
16226 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
16227 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
16228 (cc-imenu-java-method-arg-regexp): New defconsts.
16229 (cc-imenu-java-build-type-args-regex): New defun.
16230 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
16231 handling of spaces in the regexp.
16232
16233 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16234
16235 * textmodes/ispell.el (ispell-command-loop): Remove
16236 flyspell highlight of a word when ispell accepts it (bug #14178).
16237
16238 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
16239
16240 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
16241 uses code from the previous `ange-ftp-run-real-handler'.
16242 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
16243 only in case that function exist. This is needed for proper
16244 unloading of Tramp.
16245
16246 2013-04-15 Tassilo Horn <tsdh@gnu.org>
16247
16248 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
16249
16250 * textmodes/reftex.el (reftex-compile-variables): Use it.
16251
16252 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16253
16254 * files.el (normal-mode): Only use default major-mode if no other mode
16255 was specified.
16256
16257 * emacs-lisp/trace.el (trace-values): New function.
16258
16259 * files.el: Allow : in local variables (bug#14089).
16260 (hack-local-variable-regexp): New var.
16261 (hack-local-variables-prop-line, hack-local-variables): Use it.
16262
16263 2013-04-13 Roland Winkler <winkler@gnu.org>
16264
16265 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
16266 data before it gets modified by bibtex-beginning-of-entry.
16267
16268 2013-04-13 Roland Winkler <winkler@gnu.org>
16269
16270 * textmodes/bibtex.el (bibtex-url): Doc fix.
16271
16272 2013-04-13 Roland Winkler <winkler@gnu.org>
16273
16274 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
16275 does not visit a BibTeX file, exclude it from the list of buffers
16276 returned by bibtex-initialize.
16277
16278 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
16279
16280 * window.el (split-window): Remove interactive form, since as a
16281 command this function is a special case of split-window-below.
16282 Correct doc string.
16283
16284 2013-04-12 Roland Winkler <winkler@gnu.org>
16285
16286 * faces.el (read-face-name): Do not override value of arg default.
16287 Allow single faces and strings as default values. Remove those
16288 elements from return value that are not faces.
16289 (describe-face): Simplify.
16290 (face-at-point): New optional args thing and multiple so that this
16291 function can provide the same functionality previously provided by
16292 read-face-name.
16293 (make-face-bold, make-face-unbold, make-face-italic)
16294 (make-face-unitalic, make-face-bold-italic, invert-face)
16295 (modify-face, read-face-and-attribute): Use face-at-point.
16296
16297 * cus-edit.el (customize-face, customize-face-other-window)
16298 * cus-theme.el (custom-theme-add-face)
16299 * face-remap.el (buffer-face-set)
16300 * facemenu.el (facemenu-set-face): Use face-at-point.
16301
16302 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
16303
16304 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
16305
16306 2013-04-10 Tassilo Horn <tsdh@gnu.org>
16307
16308 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
16309 off leading { and trailing } from field values.
16310
16311 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16312
16313 * emacs-lisp/timer.el (timer--check): New function.
16314 (timer--time, timer-set-function, timer-event-handler): Use it.
16315 (timer-set-idle-time): Simplify.
16316 (timer--activate): CSE.
16317 (timer-event-handler): Give more info in error message.
16318 (internal-timer-start-idle): New function, moved from C.
16319
16320 * mpc.el (mpc-proc): Add `restart' argument.
16321 (mpc-proc-cmd): Use it.
16322 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
16323 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
16324 less often.
16325
16326 2013-04-10 Masatake YAMATO <yamato@redhat.com>
16327
16328 * progmodes/sh-script.el: Implement `sh-mode' own
16329 `add-log-current-defun-function' (bug#14112).
16330 (sh-current-defun-name): New function.
16331 (sh-mode): Use the function.
16332
16333 2013-04-09 Bastien Guerry <bzg@gnu.org>
16334
16335 * simple.el (choose-completion-string): Fix docstring (bug#14163).
16336
16337 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
16338
16339 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16340
16341 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16342 timer (bug#14156).
16343
16344 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
16345
16346 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16347 declaration.
16348
16349 2013-04-07 Leo Liu <sdl.web@gmail.com>
16350
16351 * pcmpl-x.el: New file.
16352
16353 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
16354
16355 Do not set x-display-name until X connection is established.
16356 This is needed to prevent from weird situation described at
16357 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16358 * frame.el (make-frame): Set x-display-name after call to
16359 window system initialization function, not before.
16360 * term/x-win.el (x-initialize-window-system): Add optional
16361 display argument and use it.
16362 * term/w32-win.el (w32-initialize-window-system):
16363 * term/ns-win.el (ns-initialize-window-system):
16364 * term/pc-win.el (msdos-initialize-window-system):
16365 Add compatible optional display argument.
16366
16367 2013-04-06 Eli Zaretskii <eliz@gnu.org>
16368
16369 * files.el (normal-backup-enable-predicate): On MS-Windows and
16370 MS-DOS compare truenames of temporary-file-directory and of the
16371 file, so that 8+3 aliases (usually found in $TEMP on Windows)
16372 don't fail comparison by compare-strings. Also, compare file
16373 names case-insensitively on MS-Windows and MS-DOS.
16374
16375 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16376
16377 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16378 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16379
16380 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
16381
16382 * whitespace.el (whitespace-color-on, whitespace-color-off):
16383 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16384
16385 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
16386
16387 * ispell.el (ispell-set-spellchecker-params):
16388 Really set `ispell-args' for all equivs.
16389
16390 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16391
16392 * ido.el (ido-completions): Use extra elements of ido-decorations
16393 (bug#14143).
16394 (ido-decorations): Update docstring.
16395
16396 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
16397
16398 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16399 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16400 nil during initialization, in order not to miss changes since the
16401 file was opened. (Bug#14140)
16402
16403 2013-04-05 Leo Liu <sdl.web@gmail.com>
16404
16405 * kmacro.el (kmacro-call-macro): Fix bug#14135.
16406
16407 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
16408
16409 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16410
16411 2013-04-04 Glenn Morris <rgm@gnu.org>
16412
16413 * electric.el (electric-pair-inhibit-predicate): Add :version.
16414
16415 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16416
16417 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16418 when a package is required several times (bug#14082).
16419
16420 2013-04-04 Roland Winkler <winkler@gnu.org>
16421
16422 * faces.el (read-face-name): Behave as promised by the docstring.
16423 Assume that arg default is a list of faces.
16424 (describe-face): Call read-face-name with list of default faces.
16425
16426 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16427
16428 * bookmark.el: Fix deletion of bookmarks (bug#13972).
16429 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16430 (bookmark-bmenu-execute-deletions): Only skip first line if it's
16431 the header.
16432 (bookmark-exit-hook-internal): Save even if list is empty.
16433
16434 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
16435
16436 * emacs-lisp/package.el (package-pinned-packages): New var.
16437 (package--add-to-archive-contents): Obey it (bug#14118).
16438
16439 2013-04-03 Alan Mackenzie <acm@muc.de>
16440
16441 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16442 Also adapt to the new values of element 7 of a parse state.
16443
16444 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16445 parameter `not-in-delimiter'. Handle being inside comment opener.
16446 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16447 character in case we're typing a '*' after a '/'.
16448 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16449 instead by passing the parameter to c-state-pp-to-literal.
16450
16451 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16452 for elt. 7 of a parse state.
16453
16454 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16455
16456 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16457 * international/latin1-disp.el, international/mule-util.el:
16458 * language/cyril-util.el, language/european.el, language/ind-util.el:
16459 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16460 * language/tibetan.el, language/viet-util.el:
16461 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16462
16463 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16464
16465 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16466 (electric-pair-post-self-insert-function): Use it.
16467 (electric-pair-default-inhibit): New function, extracted from
16468 electric-pair-post-self-insert-function.
16469
16470 2013-03-31 Roland Winkler <winkler@gnu.org>
16471
16472 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16473
16474 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16475
16476 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16477
16478 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
16479
16480 Un-indent after "pass" and "return" statements (Bug#13888)
16481 * progmodes/python.el (python-indent-block-enders): New var.
16482 (python-indent-calculate-indentation): Use it.
16483
16484 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
16485
16486 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16487 defun. Defining it as defalias could introduce too eager
16488 byte-compiler optimization. (Bug#14030)
16489
16490 2013-03-30 Chong Yidong <cyd@gnu.org>
16491
16492 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16493
16494 2013-03-30 Leo Liu <sdl.web@gmail.com>
16495
16496 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16497 (kmacro-execute-from-register): Pass the keyboard macro to
16498 kmacro-call-macro or repeating won't work correctly.
16499
16500 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16501
16502 * progmodes/subword.el: Back to using `forward-symbol'.
16503
16504 * subr.el (forward-whitespace, forward-symbol)
16505 (forward-same-syntax): Move from thingatpt.el.
16506
16507 2013-03-29 Leo Liu <sdl.web@gmail.com>
16508
16509 * kmacro.el (kmacro-to-register): New command.
16510 (kmacro-execute-from-register): New function.
16511 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16512
16513 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16514
16515 * mpc.el: Use defvar-local and setq-local.
16516 (mpc--proc-connect): Connection failures are not bugs.
16517 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16518 (mpc-volume-map): Bind to the up-events.
16519
16520 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16521
16522 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16523 instead of `forward-symbol'.
16524
16525 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16526
16527 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16528 (edebug--recursive-edit): Use it.
16529 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16530 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16531
16532 2013-03-28 Leo Liu <sdl.web@gmail.com>
16533
16534 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16535
16536 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16537
16538 * facemenu.el (list-colors-callback): New defvar.
16539 (list-colors-redisplay): New function.
16540 (list-colors-display): Install list-colors-redisplay as the
16541 revert-buffer-function. (Bug#14063)
16542
16543 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16544
16545 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16546 and suffixes don't overlap (bug#14061).
16547
16548 * case-table.el: Use lexical-binding.
16549 (case-table-get-table): New function.
16550 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16551
16552 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16553
16554 * progmodes/subword.el: Add `superword-mode' to do word motion
16555 over symbol_words (parallels and leverages `subword-mode' which
16556 does word motion inside MixedCaseWords).
16557
16558 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16559
16560 * eshell/em-unix.el: Move su and sudo to...
16561 * eshell/em-tramp.el: ...Eshell tramp module.
16562
16563 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16564
16565 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16566 Change return value to be a sexp. Delay `get-buffer' to after
16567 restoring the desktop (bug#13951).
16568
16569 2013-03-26 Leo Liu <sdl.web@gmail.com>
16570
16571 * register.el: Move semantic tag handling back to
16572 cedet/semantic/senator.el. (Bug#14052)
16573
16574 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16575
16576 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16577 into the prompt either (bug#13963).
16578
16579 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16580
16581 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16582 part of "(error-foo)".
16583
16584 2013-03-24 Juri Linkov <juri@jurta.org>
16585
16586 * replace.el (list-matching-lines-prefix-face): New defcustom.
16587 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16588 `occur-engine' if `face-differs-from-default-p' returns t.
16589 (occur-engine): Add `,' inside backquote construct to evaluate
16590 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16591 Pass `prefix-face' to the functions `occur-context-lines' and
16592 `occur-engine-add-prefix'.
16593 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16594 `prefix-face' and propertize the prefix with `prefix-face'.
16595 (Bug#14017)
16596
16597 2013-03-24 Leo Liu <sdl.web@gmail.com>
16598
16599 * nxml/rng-valid.el (rng-validate-while-idle)
16600 (rng-validate-quick-while-idle): Guard against deleted buffer.
16601 (Bug#13999)
16602
16603 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16604 is the last entry in kill-buffer-hook.
16605
16606 * files.el (kill-buffer-hook): Doc fix.
16607
16608 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16609
16610 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16611 Make it safe-local.
16612
16613 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16614
16615 2013-03-23 Leo Liu <sdl.web@gmail.com>
16616
16617 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16618 Remove.
16619
16620 * nxml/rng-valid.el (rng-validate-mode)
16621 (rng-after-change-function, rng-do-some-validation):
16622 * nxml/rng-maint.el (rng-validate-buffer):
16623 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16624 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16625 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16626 (nxml-extend-after-change-region): Use with-silent-modifications.
16627
16628 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16629 timer-idle-list.
16630
16631 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16632 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16633 timer-idle-list. (Bug#13999)
16634
16635 2013-03-23 Juri Linkov <juri@jurta.org>
16636
16637 * info.el (info-index-match): New face.
16638 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16639 main pattern and add text properties with the new face to matches
16640 in index entries relative to the beginning of the index entry.
16641 (Bug#14015)
16642
16643 2013-03-21 Eric Ludlam <zappo@gnu.org>
16644
16645 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16646 Inhibit read only while inserting objects.
16647
16648 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16649
16650 * progmodes/cfengine.el: Update docs to mention
16651 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16652 symbol motion. Remove "_" from the word syntax.
16653
16654 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16655
16656 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16657 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16658
16659 2013-03-20 Juri Linkov <juri@jurta.org>
16660
16661 * info.el (Info-next-reference-or-link)
16662 (Info-prev-reference-or-link): New functions.
16663 (Info-next-reference, Info-prev-reference): Use them.
16664 (Info-try-follow-nearest-node): Handle footnote navigation.
16665 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16666
16667 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16668
16669 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16670 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16671
16672 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16673
16674 Suppress unnecessary non-ASCII chatter during build process.
16675 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16676 (batch-skkdic-convert): Suppress most of the chatter.
16677 It's not needed so much now that machines are faster,
16678 and its non-ASCII component was confusing; see Dmitry Gutov in
16679 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16680
16681 2013-03-20 Leo Liu <sdl.web@gmail.com>
16682
16683 * ido.el (ido-chop): Fix bug#10994.
16684
16685 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16686
16687 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16688 Remove vars.
16689 (whitespace-color-on, whitespace-color-off):
16690 Use `font-lock-fontify-buffer' (Bug#13817).
16691
16692 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16693
16694 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16695 remapping in mode-line.
16696 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16697
16698 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16699
16700 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16701 value for `whitespace-line' face (Bug#13875).
16702 (whitespace-font-lock-keywords): Change description.
16703 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16704 the constructed keywords instead.
16705 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16706
16707 2013-03-19 Leo Liu <sdl.web@gmail.com>
16708
16709 * progmodes/compile.el (compilation-display-error): New command.
16710 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16711 C-o. (Bug#13992)
16712
16713 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16714
16715 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16716
16717 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16718
16719 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16720
16721 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16722
16723 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16724
16725 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16726 * net/tramp-gvfs.el (top):
16727 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16728 (tramp-handle-shell-command): Use it.
16729 (tramp-dissect-file-name): Raise an error when hostname is a
16730 method name, and neither method nor user is specified.
16731
16732 * net/trampver.el: Update release number.
16733
16734 2013-03-18 Leo Liu <sdl.web@gmail.com>
16735
16736 Make sure eldoc can be turned off properly.
16737 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16738 eldoc-mode.
16739 (eldoc-display-message-p): Revert last change.
16740 (eldoc-display-message-no-interference-p)
16741 (eldoc-print-current-symbol-info): Tweak.
16742
16743 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16744
16745 * doc-view.el (doc-view-new-window-function): Check the new window
16746 overlay's display property instead the char property of the
16747 buffer's first char. Use `with-selected-window' instead of
16748 `save-window-excursion' with `select-window'.
16749 (doc-view-document->bitmap): Check the current doc-view overlay's
16750 display property instead the char property of the buffer's first char.
16751
16752 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16753
16754 Automate the build of ja-dic.el (Bug#13984).
16755 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16756 from the input, rather than assume that it's been done for us by the
16757 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16758 the current date into a ja-dic.el comment, as that complicates
16759 regression testing.
16760
16761 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16762
16763 * whitespace.el: Fix double evaluation.
16764 (whitespace-space, whitespace-hspace, whitespace-tab)
16765 (whitespace-newline, whitespace-trailing, whitespace-line)
16766 (whitespace-space-before-tab, whitespace-indentation)
16767 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16768 obsolete defvars.
16769 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16770 (whitespace-color-on): Use a single font-lock-add-keywords call.
16771 Fix double-evaluation of face variables.
16772
16773 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16774
16775 * net/tramp-adb.el (tramp-adb-parse-device-names):
16776 Use `start-process' instead of `call-process'. Otherwise, the
16777 function might be blocked under MS Windows. (Bug#13299)
16778
16779 2013-03-17 Leo Liu <sdl.web@gmail.com>
16780
16781 Extend eldoc to display info in the mode-line. (Bug#13978)
16782 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16783 (eldoc-mode-line-string): New variable.
16784 (eldoc-minibuffer-message): New function.
16785 (eldoc-message-function): New variable.
16786 (eldoc-message): Use it.
16787 (eldoc-display-message-p)
16788 (eldoc-display-message-no-interference-p):
16789 Support eldoc-post-insert-mode.
16790
16791 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16792 (eval-expression): Run it.
16793
16794 2013-03-17 Roland Winkler <winkler@gnu.org>
16795
16796 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16797 strings in the list of return values.
16798
16799 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16800
16801 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16802 radix before checking for HMS forms.
16803
16804 2013-03-16 Leo Liu <sdl.web@gmail.com>
16805
16806 * progmodes/scheme.el: Add indentation and font-locking for λ.
16807 (Bug#13975)
16808
16809 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16810
16811 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16812 token before point (bug#13942).
16813
16814 2013-03-16 Leo Liu <sdl.web@gmail.com>
16815
16816 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16817
16818 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16819
16820 * startup.el (command-line-normalize-file-name): Fix handling of
16821 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16822 <xfq.free@gmail.com> in
16823 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16824
16825 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16826
16827 Sync with Tramp 2.2.7.
16828
16829 * net/trampver.el: Update release number.
16830
16831 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16832
16833 * doc-view.el: Fix bug#13887.
16834 (doc-view-insert-image): Don't modify overlay associated to
16835 non-live windows, and implement horizontal centering of image in
16836 case it's smaller than the window.
16837 (doc-view-new-window-function): Force redisplay of new windows on
16838 doc-view buffers.
16839
16840 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16841
16842 * saveplace.el (save-place-alist-to-file): Don't sort
16843 `save-place-alist', just pretty-print it (bug#13882).
16844
16845 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16846
16847 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16848 Check whether `default-file-name-coding-system' is bound.
16849 It isn't in XEmacs.
16850
16851 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16852
16853 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16854 backquotes for `obsolete' (bug#13929).
16855
16856 * international/mule.el (find-auto-coding): Include file name in
16857 obsolescence warning (bug#13922).
16858
16859 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16860
16861 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16862 for CFEngine 3-specific indentation.
16863 (cfengine3-indent-line): Use it. Fix up category regex.
16864 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16865
16866 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16867
16868 * type-break.el (type-break-file-name):
16869 * textmodes/remember.el (remember-data-file):
16870 * strokes.el (strokes-file):
16871 * shadowfile.el (shadow-initialize):
16872 * saveplace.el (save-place-file):
16873 * ps-bdf.el (bdf-cache-file):
16874 * progmodes/idlwave.el (idlwave-config-directory):
16875 * net/quickurl.el (quickurl-url-file):
16876 * international/kkc.el (kkc-init-file-name):
16877 * ido.el (ido-save-directory-list-file):
16878 * emulation/viper.el (viper-custom-file-name):
16879 * emulation/vip.el (vip-startup-file):
16880 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16881 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16882
16883 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16884
16885 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16886 * language/thai-word.el: Switch to UTF-8.
16887
16888 See ChangeLog.16 for earlier changes.
16889
16890 ;; Local Variables:
16891 ;; coding: utf-8
16892 ;; End:
16893
16894 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16895
16896 This file is part of GNU Emacs.
16897
16898 GNU Emacs is free software: you can redistribute it and/or modify
16899 it under the terms of the GNU General Public License as published by
16900 the Free Software Foundation, either version 3 of the License, or
16901 (at your option) any later version.
16902
16903 GNU Emacs is distributed in the hope that it will be useful,
16904 but WITHOUT ANY WARRANTY; without even the implied warranty of
16905 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16906 GNU General Public License for more details.
16907
16908 You should have received a copy of the GNU General Public License
16909 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.