]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Fix handling of frame color parameters in TTY sessions (Bug#19802)
[gnu-emacs] / lisp / ChangeLog
1 2015-02-08 Eli Zaretskii <eliz@gnu.org>
2
3 * frame.el (frame-notice-user-settings): Refresh the value of
4 frame parameters after calling tty-handle-reverse-video. Call
5 face-set-after-frame-default with the actual parameters, to avoid
6 resetting colors back to unspecified.
7 (set-background-color, set-foreground-color): Pass the selected
8 color to face-set-after-frame-default. (Bug#19802)
9
10 2015-02-06 Wolfgang Jenkner <wjenkner@inode.at>
11
12 * net/network-stream.el (network-stream-open-tls): Respect the
13 :end-of-capability setting.
14
15 2015-02-05 Juri Linkov <juri@linkov.net>
16
17 Revert the previous change of comint-line-beginning-position callers,
18 and modify comint-line-beginning-position instead.
19
20 * comint.el (comint-history-isearch-search)
21 (comint-history-isearch-message, comint-history-isearch-wrap):
22 Use comint-line-beginning-position instead of field-beginning.
23 (comint-send-input): Use either end-of-line or field-end
24 depending on comint-use-prompt-regexp.
25 (comint-line-beginning-position): Search backward
26 for comint-prompt-regexp if comint-use-prompt-regexp is non-nil.
27 Use field-beginning instead of line-beginning-position
28 if comint-use-prompt-regexp is nil. (Bug#19710)
29
30 2015-02-04 Robert Pluim <rpluim@gmail.com> (tiny change)
31
32 * calendar/todo-mode.el (todo-item-done): When done items are
33 hidden, restore point to its location prior to invoking this
34 command. (Bug#19727)
35
36 2015-02-04 Eli Zaretskii <eliz@gnu.org>
37
38 * textmodes/artist.el (artist-ellipse-compute-fill-info): Use
39 mapcar, not mapc, to create the other half of fill-info.
40 (Bug#19763)
41
42 2015-02-04 Nicolas Petton <nicolas@petton.fr>
43
44 * emacs-lisp/authors.el (authors-ignored-files)
45 (authors-renamed-files-alist): Additions.
46
47 2015-02-03 Michael Albinus <michael.albinus@gmx.de>
48
49 * net/tramp.el (tramp-ssh-controlmaster-options): Don't use a
50 tempfile for ControlPath. (Bug#19702)
51
52 2015-02-02 Michael Albinus <michael.albinus@gmx.de>
53
54 * net/tramp.el (tramp-ssh-controlmaster-options): Use "%C" for
55 ControlPath if possible. (Bug#19702)
56
57 2015-02-02 Glenn Morris <rgm@gnu.org>
58
59 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
60 (authors-valid-file-names, authors-renamed-files-alist): Additions.
61
62 2015-02-01 Alan Mackenzie <acm@muc.de>
63
64 CC Mode: Stop Font Lock forcing fontification from BOL. Fixes
65 debbugs#19669.
66
67 * progmodes/cc-mode.el (c-font-lock-init): Setq
68 font-lock-extend-region-functions to nil.
69
70 2015-01-31 Alan Mackenzie <acm@muc.de>
71
72 Handle "#" operator properly inside macro. Fix coding bug.
73
74 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP): On
75 finding a "#" which looks like the start of a macro, check it
76 isn't already inside a macro.
77
78 * progmodes/cc-engine.el (c-state-safe-place): Don't record a new
79 "safe" position into the list of them when this is beyond our
80 current position.
81
82 2015-01-31 Martin Rudalics <rudalics@gmx.at>
83
84 * menu-bar.el (menu-bar-non-minibuffer-window-p): Return nil when
85 the menu frame is dead. (Bug#19728)
86
87 2015-01-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
88
89 python.el: Handle tabs in python-indent-dedent-line.
90
91 * progmodes/python.el (python-indent-dedent-line): Fixes for
92 indentation with tabs. Thanks to <dale@codefu.org> (Bug#19730).
93
94 2015-01-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
95
96 * progmodes/python.el (python-indent-context): Respect user
97 indentation after comment.
98
99 2015-01-29 Tassilo Horn <tsdh@gnu.org>
100
101 * textmodes/reftex-vars.el (featurep): Conditionalize value of
102 reftex-label-regexps in order to stay compatible with XEmacs 21.5
103 which has no explicitly numbered groups in regexps (bug#19714).
104
105 2015-01-28 Tassilo Horn <tsdh@gnu.org>
106
107 * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
108 punctuation syntax since to allow bibtex fields with values such
109 as {Test 1) and 2)} (bug#19205, bug#19707).
110 (reftex--prepare-syntax-tables): New function.
111 (reftex-mode): Use it.
112
113 2015-01-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
114
115 python.el: New non-global state dependent indentation engine.
116 (Bug#18319, Bug#19595)
117
118 * progmodes/python.el (python-syntax-comment-or-string-p): Accept
119 PPSS as argument.
120 (python-syntax-closing-paren-p): New function.
121 (python-indent-current-level)
122 (python-indent-levels): Mark obsolete.
123 (python-indent-context): Return more context cases.
124 (python-indent--calculate-indentation)
125 (python-indent--calculate-levels): New functions.
126 (python-indent-calculate-levels): Use them.
127 (python-indent-calculate-indentation, python-indent-line):
128 (python-indent-line-function): Rewritten to use new API.
129 (python-indent-dedent-line): Simplify logic.
130 (python-indent-dedent-line-backspace): Use `unless`.
131 (python-indent-toggle-levels): Delete function.
132
133 2015-01-22 Wolfgang Jenkner <wjenkner@inode.at>
134
135 * calc/calc-units.el (math-units-in-expr-p)
136 (math-single-units-in-expr-p, math-find-compatible-unit-rec)
137 (math-extract-units): Handle the `neg' operator. (Bug#19582)
138 [Backport]
139
140 2015-01-21 Daniel Koning <dk@danielkoning.com> (tiny change)
141
142 * subr.el (posnp): Correct docstring of `posnp'.
143 (posn-col-row): Make it work with all mouse position objects.
144 * textmodes/artist.el (artist-mouse-draw-continously): Cancel
145 timers if an error occurs during continuous drawing. (Bug#6130)
146
147 2015-01-20 Eli Zaretskii <eliz@gnu.org>
148
149 * button.el (button-activate, push-button): Doc fix. (Bug#19628)
150
151 2015-01-16 Samer Masterson <samer@samertm.com> (tiny change)
152
153 * pcomplete.el (pcomplete-parse-arguments): Parse arguments
154 regardless of pcomplete-cycle-completions's value. (Bug#18950)
155
156 2015-01-13 Michael Albinus <michael.albinus@gmx.de>
157
158 * filenotify.el (file-notify-descriptors, file-notify-handle-event):
159 Adapt docstring.
160 (file-notify--descriptor): New defun.
161 (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
162 Adapt docstring. Handle multiple values for
163 `file-notify-descriptors' entries. (Bug#18880)
164
165 * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
166 `file-notify-descriptors', the implementation has been changed.
167
168 2015-01-13 Juri Linkov <juri@linkov.net>
169
170 * comint.el (comint-history-isearch-search)
171 (comint-history-isearch-wrap): Use field-beginning instead of
172 comint-line-beginning-position.
173 (comint-send-input): Go to the end of the field instead of the end
174 of the line to accept whole multi-line input.
175 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
176 (comint-history-isearch-message): Use field-beginning
177 instead of comint-line-beginning-position - that's more fixes for
178 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
179 (comint-history-isearch-message): Fix args of isearch-message-prefix.
180
181 [Backport]
182
183 2015-01-09 Eli Zaretskii <eliz@gnu.org>
184
185 * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
186 On MS-Windows, bind coding-system-for-read to the console output
187 codepage. (Bug#19458)
188
189 2015-01-08 Eli Zaretskii <eliz@gnu.org>
190
191 * simple.el (line-move-visual): When converting X pixel coordinate
192 to temporary-goal-column, adjust the value for right-to-left
193 screen lines. This fixes vertical-motion, next/prev-line, etc.
194
195 2015-01-06 Glenn Morris <rgm@gnu.org>
196
197 * progmodes/sh-script.el (sh-mode): Doc fix.
198 (sh-basic-indent-line): Handle electric newline. (Bug#18756)
199
200 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
201
202 * emacs-lisp/package.el (package-menu-mode): Use an extra column
203 for the "Version" column, to accomodate date-and-time-based versions.
204
205 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
206
207 Fix dired quoting bug with "Hit`N`Hide". Fixes Bug#19498.
208 * files.el (shell-quote-wildcard-pattern): Also quote "`".
209
210 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
211
212 Unbreak `mouse-action' property in text buttons.
213 * button.el (push-button): Fix regression from 2012-12-06.
214
215 2015-01-01 Eli Zaretskii <eliz@gnu.org>
216
217 * tool-bar.el (tool-bar-local-item)
218 (tool-bar-local-item-from-menu): Call force-mode-line-update to
219 make sure the tool-bar changes show on display.
220
221 2014-12-29 Michael Albinus <michael.albinus@gmx.de>
222
223 Sync with Tramp 2.2.11.
224
225 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
226 Make an alias for `default-toplevel-value' if it doesn't exist.
227
228 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
229 Use `tramp-compat-delete-directory'.
230
231 * net/trampver.el: Update release number.
232
233 2014-12-29 Filipp Gunbin <fgunbin@fastmail.fm>
234
235 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
236 for remote files. (Bug#19449)
237
238 2014-12-28 Eli Zaretskii <eliz@gnu.org>
239
240 * international/mule.el (define-coding-system): Fix typos in the
241 doc string.
242
243 2014-12-28 Kenichi Handa <handa@gnu.org>
244
245 * international/mule.el (define-coding-system): Improve the doc
246 string.
247
248 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
249
250 * progmodes/python.el (python-shell-buffer-substring): Handle
251 cornercase when region sent starts at point-min.
252
253 2014-12-27 Eli Zaretskii <eliz@gnu.org>
254
255 * language/misc-lang.el (composition-function-table): Add Syriac
256 characters and also ZWJ/ZWNJ. See
257 http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
258 for the details.
259
260 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
261
262 python.el: Fix message when sending region.
263
264 * progmodes/python.el (python-shell-send-region): Rename argument
265 send-main from nomain. Fix message.
266 (python-shell-send-buffer): Rename argument send-main from arg.
267
268 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
269
270 python.el: Cleanup temp files even with eval errors.
271
272 * progmodes/python.el (python-shell-send-file): Make file-name
273 mandatory. Fix temp file removal in the majority of cases.
274
275 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
276
277 python.el: Handle file encoding for shell.
278
279 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
280 (python-shell--save-temp-file): Write file with proper encoding.
281 (python-shell-buffer-substring): Add coding cookie for detected
282 encoding to generated content. Fix blank lines when removing
283 if-name-main block.
284 (python-shell-send-file): Handle file encoding.
285 (python-info-encoding-from-cookie)
286 (python-info-encoding): New functions.
287
288 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
289
290 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
291 Use `tramp-rsh-end-of-line', it ought to be more robust.
292
293 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
294
295 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
296 (bug#19397).
297
298 2014-12-23 Michael Albinus <michael.albinus@gmx.de>
299
300 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
301
302 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
303 as end-of-line delimeter for passwords, when running on MS Windows.
304
305 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
306
307 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
308 of indent-line-function (bug#19433).
309
310 2014-12-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
311
312 Fix line numbers on Python shell.
313 * progmodes/python.el (python-shell--save-temp-file): Do not
314 append coding cookie.
315 (python-shell-send-string): Generalize for
316 python-shell-send-region.
317 (python--use-fake-loc): Delete var.
318 (python-shell-buffer-substring): Cleanup fake-loc logic.
319 (python-shell-send-region): Remove fake-loc logic, simplify.
320
321 2014-12-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
322
323 * progmodes/python.el (python-indent-post-self-insert-function):
324 Make colon to re-indent only for dedenters, handling
325 multiline-statements gracefully.
326
327 2014-12-21 Michael Albinus <michael.albinus@gmx.de>
328
329 * net/tramp.el (tramp-handle-insert-file-contents):
330 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
331
332 2014-12-19 Michael Albinus <michael.albinus@gmx.de>
333
334 * net/tramp-sh.el (tramp-send-command-and-read): New optional
335 arg MARKER.
336 (tramp-get-remote-path): Use it.
337
338 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
339
340 * subr.el (redisplay-dont-pause): Mark as obsolete.
341
342 2014-12-17 Michael Albinus <michael.albinus@gmx.de>
343
344 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
345 (tramp-accept-process-output): Use nil as argument for
346 `accept-process-output', when there is a gateway prepended.
347
348 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
349 wrong debug buffer.
350 (tramp-gw-open-connection): Set process coding system 'binary.
351 (tramp-gw-open-network-stream): Handle HTTP error 403.
352
353 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
354 wrong debug buffer.
355 (tramp-maybe-open-connection): Set connection property "gateway".
356
357 2014-12-15 Stefan Monnier <monnier@iro.umontreal.ca>
358
359 * subr.el (sit-for): Tweak docstring (bug#19381).
360
361 2014-12-15 Dmitry Gutov <dgutov@yandex.ru>
362
363 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
364 stage to after `diff-index' (bug#19386).
365
366 2014-12-14 João Távora <joaotavora@gmail.com>
367
368 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
369 `electric-pair-mode' (bug#19356).
370
371 2014-12-12 Michael Albinus <michael.albinus@gmx.de>
372
373 * simple.el (password-word-equivalents): Add "passcode", used for
374 numeric secrets like PINs or RSA tokens.
375
376 2014-12-10 Michael Albinus <michael.albinus@gmx.de>
377
378 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
379 order to determine `tramp-own-remote-path'.
380
381 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
382
383 * progmodes/python.el (python-shell-parse-command):
384 Quote `python-shell-interpreter`. (Bug#19289)
385
386 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
387
388 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
389 of the whole pipe when indenting an opening keyword after a |.
390 Generalize this treatment to opening keywords like "while" (bug#18031).
391
392 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
393
394 * simple.el (newline): Place the hook buffer-locally,
395 to make sure it's first.
396
397 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
398 Fix handling of symbols with different syntax at beginning/end or with
399 symbol rather than word syntax.
400
401 2014-11-30 Eli Zaretskii <eliz@gnu.org>
402
403 * simple.el (line-move): If noninteractive, call line-move-1, not
404 forward-line, since the former is compatible with line-move-visual
405 both in terms of the column to which it moves and the return
406 value. (Bug#19211)
407
408 2014-11-27 Stephen Berman <stephen.berman@gmx.net>
409 Stefan Monnier <monnier@iro.umontreal.ca>
410
411 * outline.el (outline-move-subtree-down): Make sure we can move
412 forward to find the end of the subtree and the insertion point
413 (bug#19102).
414
415 2014-11-27 Leonard Randall <leonard.a.randall@gmail.com>
416
417 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
418 for comment lines non-greedy and stopping at newlines to fix stack
419 overflows with large files. [Backport]
420
421 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
422
423 * progmodes/python.el (python-shell-completion-setup-code):
424 Use __builtin__ module (or builtins in Python 3) and catch all errors
425 when importing readline and rlcompleter.
426
427 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
428
429 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
430 (todo-revert-buffer): New function.
431 (todo-modes-set-1): Use it as the buffer-local value of
432 revert-buffer-function.
433
434 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
435
436 * calendar/todo-mode.el (todo-mode): If called interactively, just
437 display a message saying to call todo-show to enter Todo mode
438 (Bug#19112).
439
440 2014-11-24 Dmitry Gutov <dgutov@yandex.ru>
441
442 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
443 (Bug#18579)
444
445 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
446 files. (Bug#18579)
447
448 2014-11-23 Michael Albinus <michael.albinus@gmx.de>
449
450 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
451 remote `buffer-file-name'.
452
453 2014-11-23 Leo Liu <sdl.web@gmail.com>
454
455 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
456
457 2014-11-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
458
459 Set PYTHONUNBUFFERED on shell startup.
460
461 * progmodes/python.el (python-shell-unbuffered): New var.
462 (python-shell-calculate-process-environment): Use it.
463
464 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
465
466 * net/tramp.el (tramp-action-password): Clean password on subsequent
467 attempts even if there was no wrong password indication. (Bug#19047)
468
469 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
470 fallback.
471 (tramp-open-connection-setup-interactive-shell): No need to check
472 for nil as `tramp-get-remote-locale' return value.
473
474 2014-11-21 Eli Zaretskii <eliz@gnu.org>
475
476 * vc/vc-git.el (vc-git-command, vc-git--call):
477 Bind coding-system-for-read and coding-system-for-write to
478 vc-git-commits-coding-system.
479 (vc-git-previous-revision): Use "~1" instead of "^", since the
480 latter is a special character for MS-Windows system shells.
481
482 2014-11-20 Michael Albinus <michael.albinus@gmx.de>
483
484 Improve XEmacs compatibility.
485
486 * net/tramp.el (tramp-autoload-file-name-handler):
487 Wrap `temporary-file-directory' by `symbol-value', it doesn't
488 exist in XEmacs.
489 (tramp-read-passwd): Don't use `with-timeout-suspend' and
490 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
491 (tramp-time-less-p, tramp-time-subtract): Remove functions.
492 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
493 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
494 * net/tramp-cache.el (tramp-get-file-property):
495 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
496 Use `time-less-p' and `time-subtract, respectively.
497
498 * net/tramp-adb.el (top): Do not require time-date.el.
499
500 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
501
502 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
503 Check, whether `utf-8' is a valid coding system.
504
505 2014-11-19 Eli Zaretskii <eliz@gnu.org>
506
507 * vc/vc.el (vc-retrieve-tag): Doc fix.
508
509 2014-11-17 Eli Zaretskii <eliz@gnu.org>
510
511 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
512 Don't assume --long is the default for "bzr log", always specify
513 it explicitly, in case the user defined an alias for 'log' that
514 uses some other format.
515
516 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
517
518 * progmodes/python.el (python-eldoc--get-doc-at-point):
519 Strip shell output before returning. (bug#18794)
520
521 2014-11-16 Dmitry Gutov <dgutov@yandex.ru>
522
523 Fix indentation before `!=' and after `+='. Originally reported
524 in https://github.com/mooz/js2-mode/issues/174.
525 * progmodes/js.el (js--indent-operator-re): Make assignments and
526 (in)equality operator a separate case.
527 (js--continued-expression-p): Escape the second `+' in the regexp.
528
529 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
530
531 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
532
533 2014-11-15 Andreas Schwab <schwab@linux-m68k.org>
534
535 * version.el (emacs-repository-get-version): Use git rev-parse
536 instead of git log.
537
538 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
539
540 * progmodes/python.el (python-indent-calculate-levels):
541 Fix indentation behavior multiline dedenter statement. (Bug#18432)
542
543 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
544
545 * progmodes/python.el (python-indent-region):
546 Use python-indent-line and skip special cases. (Bug#18843)
547
548 2014-11-15 Michael Albinus <michael.albinus@gmx.de>
549
550 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
551
552 2014-11-15 Peder O. Klingenberg <peder@klingenberg.no>
553
554 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
555 envelope-from when reporting through sendmail (bug#19054).
556
557 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
558
559 * progmodes/python.el (python-ffap-module-path):
560 Use `derived-mode-p' instead of equality test on `major-mode'.
561
562 2014-11-13 Ulrich Müller <ulm@gentoo.org>
563
564 * version.el (emacs-repository-get-version): Call `git log'
565 command with proper format argument (bug#19049).
566
567 2014-11-10 Glenn Morris <rgm@gnu.org>
568
569 * startup.el (command-line): Handle nil elements in load-path.
570
571 2014-11-08 Glenn Morris <rgm@gnu.org>
572
573 * emacs-lisp/bytecomp.el (byte-compile-report-error):
574 Allow the argument to be a string. Due to the vague doc,
575 it was already being used this way.
576
577 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
578
579 * net/tramp.el (tramp-check-cached-permissions): Include hop in
580 the constructed Tramp file name. (Bug#18943)
581
582 2014-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
583
584 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
585 (bug#18952).
586 (cua-set-mark, cua--pre-command-handler-1,cua--post-command-handler-1):
587 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
588
589 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
590
591 * files.el (file-name-non-special): Wrap the call of
592 `insert-file-contents' by `unwind-protect', in order to set the
593 buffer's file name anyway. (Bug#18891)
594
595 2014-11-07 Daiki Ueno <ueno@gnu.org>
596
597 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
598 (bug#18979). Reported by Hideki Saito.
599
600 2014-10-18 Alan Mackenzie <acm@muc.de>
601
602 Check that a "macro" found near point-min isn't a ## operator.
603 Fixes bug #18749. Backported from trunk, 2014-11-05.
604 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
605 (c-beginning-of-macro): Use the above new function.
606
607 2014-11-05 Alan Mackenzie <acm@muc.de>
608
609 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
610 * progmodes/cc-fonts.el (c-font-lock-declarations):
611 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
612 the buffer is sometimes narrowed to less than "limit" (e.g., in
613 the presence of macros).
614
615 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
616
617 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
618 only when message appeared in minibuffer. (Bug#18891)
619
620 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
621 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
622 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
623 case of errors.
624
625 2014-11-04 Eli Zaretskii <eliz@gnu.org>
626
627 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
628 returned by load-average.
629
630 2014-11-04 Michael Albinus <michael.albinus@gmx.de>
631
632 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
633 a local copy; setting `inhibit-file-name-handlers' proper might be
634 more performant. (Bug#18751)
635
636 2014-11-04 Glenn Morris <rgm@gnu.org>
637
638 * mail/emacsbug.el (report-emacs-bug): No longer include
639 recent-keys in the report. (Bug#18900)
640
641 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
642
643 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
644 local copy of FILENAME, when it is remote. (Bug#18751)
645
646 2014-11-02 Michael Albinus <michael.albinus@gmx.de>
647
648 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
649 an error when the command fails; the return code must indicate.
650 (tramp-adb-send-command-and-check): Fix docstring.
651
652 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
653
654 * net/tramp-cache.el (tramp-get-file-property)
655 (tramp-set-file-property): Check, that `tramp-cache-get-count-*'
656 and `tramp-cache-set-count-*' are bound. Otherwise, there might
657 be compiler warnings.
658
659 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
660 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
661
662 2014-11-01 Eli Zaretskii <eliz@gnu.org>
663
664 * progmodes/compile.el (compilation-mode): Turn off deferred
665 fontifications locally. (Bug#18856)
666
667 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
668
669 * net/tramp-sh.el (tramp-send-command): Fix the case where the
670 remote-echo connection property is non-nil (bug#18858).
671
672 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
673
674 Backport Tramp changes from trunk.
675
676 * net/tramp.el (tramp-methods): Tweak docstring.
677 (tramp-file-name-handler): Apply `cons' where appropriate.
678 (tramp-handle-file-accessible-directory-p): Check for
679 `file-readable-p' instead of `file-executable-p'.
680 (tramp-handle-shell-command): Use `display-buffer'. (Bug#18326)
681 (tramp-handle-unhandled-file-name-directory): Return "/".
682 (tramp-check-cached-permissions):
683 Use `tramp-compat-file-attributes'.
684 (tramp-call-process): Add new argument VEC. Adapt callees in all
685 tramp*.el files.
686
687 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
688 (tramp-adb-handle-write-region): Improve messages.
689 (tramp-adb-maybe-open-connection): Don't set
690 `tramp-current-*' variables.
691
692 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
693 Suppress debug messages.
694
695 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
696 (tramp-ftp-file-name-handler):
697
698 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
699 (tramp-gvfs-methods-mounttracker)
700 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
701 during initialization. (Bug#18774)
702 (tramp-gvfs-handle-delete-file): Flush file properties, not
703 directory properties.
704 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
705 reading "unix::mode".
706 (tramp-gvfs-handle-file-name-all-completions):
707 Use "-h" option for "gvfs-ls".
708 (tramp-gvfs-url-file-name): Apply `cons' where appropriate.
709 `user' and `localname' could be nil.
710 (tramp-gvfs-send-command): Simplify traces.
711
712 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
713 (vc-git-program, vc-hg-program): Declare.
714 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
715 (tramp-methods) <nc>: Add new method.
716 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
717 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
718 `tramp-login-args'.
719 (tramp-default-user-alist): Add "nc".
720 (top): Remove completion function for "sftp". Add completion
721 functions for "nc" and "psftp".
722 (tramp-sh-handle-set-visited-file-modtime):
723 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
724 (tramp-do-copy-or-rename-file-out-of-band):
725 Use cached "remote-copy-args" value, if available. (Bug#18199)
726 Tweak docstring. Implement support for "nc" method.
727 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
728 (tramp-remote-coding-commands, tramp-call-local-coding-command):
729 Tweak docstring.
730 (tramp-sh-handle-start-file-process): Expand `default-directory'.
731 (tramp-sh-handle-write-region): Tweak error message.
732 (tramp-sh-handle-vc-registered): Remove backends when the remote
733 binary does not exist.
734 (tramp-open-connection-setup-interactive-shell):
735 Prefer utf-8 coding. (Bug#17859)
736 (tramp-find-inline-encoding): Do not raise an error.
737 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
738 the "nc" case. Quote result also locally.
739 (tramp-get-remote-id): Check also for "gid".
740 (tramp-get-remote-python):
741
742 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
743 (tramp-smb-handle-set-file-acl): Use `start-process'.
744 (tramp-smb-handle-insert-directory): Use progress reporter.
745 (tramp-smb-handle-rename-file): Flush also file properties of
746 FILENAME.
747
748 * net/trampver.el: Update release number.
749
750 2014-11-01 Reuben Thomas <rrt@sc3d.org>
751
752 * net/tramp.el (tramp-handle-file-symlink-p):
753 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
754 about VMS, which we no longer support.
755
756 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
757
758 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
759 the global vc-handled-backends (bug#18535).
760
761 2014-11-01 Jérémy Compostella <jeremy.compostella@intel.com>
762 Michael Albinus <michael.albinus@gmx.de>
763
764 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
765 Reduce the amount of set environment variable commands.
766
767 2014-11-01 Paul Eggert <eggert@cs.ucla.edu>
768
769 * net/tramp-sh.el (tramp-get-remote-touch): Omit unnecessary call to
770 current-time.
771
772 2014-11-01 Emilio C. Lopes <eclig@gmx.net>
773
774 * net/tramp-sh.el (tramp-get-remote-python): Also search for
775 executables named "python2" or "python3".
776 (tramp-get-remote-uid-with-python): Use parentheses around
777 arguments to `print' to make it compatible with Python 3.
778 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
779
780 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
781
782 * simple.el (newline): Add assertions to try and help catch bug#18913.
783
784 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
785 (bug#18886).
786 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
787
788 2014-10-31 Eli Zaretskii <eliz@gnu.org>
789
790 * Makefile.in (repo-update): Fix a typo and slightly reword
791 commentary.
792
793 2014-10-31 Eric S. Raymond <esr@thyrsus.com>
794
795 * Makefile.in: Change some production names so they're neutral
796 about the repository type.
797
798 2014-10-30 Kim F. Storm <storm@cua.dk>
799
800 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
801 * delsel.el (delete-selection-save-to-register)
802 (delsel--replace-text-or-position): New vars.
803 (delete-active-region): Use them.
804 (delete-selection-repeat-replace-region): New command, moved from
805 cua-base.el.
806 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
807 (cua-repeat-replace-region): Move command to delsel.el.
808 (cua--init-keymaps): Update binding accordingly.
809 (cua-mode): Set delete-selection-save-to-register.
810
811 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
812
813 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
814 (c-lang-defconst):
815 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
816
817 2014-10-29 Eli Zaretskii <eliz@gnu.org>
818
819 * progmodes/compile.el (compilation-start):
820 If compilation-scroll-output is non-nil, don't force window-start of
821 the compilation buffer to be at beginning of buffer. (Bug#18874)
822
823 2014-10-23 Tassilo Horn <tsdh@gnu.org>
824
825 * doc-view.el (doc-view-open-text): View the document's plain text
826 in the current buffer instead of a new one.
827 (doc-view-toggle-display): Handle the case where the current
828 buffer contains the plain text contents of the document.
829 (doc-view-initiate-display): Don't switch to fallback mode if the
830 user wants to view the doc's plain text. [Backport]
831
832 2014-10-23 Eli Zaretskii <eliz@gnu.org>
833
834 * startup.el (fancy-about-text): Read the entire tutorial, not
835 just its first 256 bytes. (Bug#18760)
836
837 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
838
839 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
840 * emacs-lisp/cl-extra.el: Add missing provide.
841
842 2014-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
843
844 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
845 all args are copyable (bug#18767).
846 (=, <, >, <=, >=): Re-enable the optimization.
847
848 2014-10-20 Santiago Payà i Miralta <santiagopim@gmail.com>
849
850 * vc/vc-hg.el (vc-hg-log-graph): New var.
851 (vc-hg-print-log): Use it.
852 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
853 graph output (bug#17515).
854
855 2014-10-20 Juri Linkov <juri@jurta.org>
856
857 * vc/diff-mode.el (diff-refine-changed): Rename from
858 `diff-refine-change' for consistency with `diff-changed'.
859 (diff-refine-change): Add obsolete face alias. (Bug#10181)
860
861 * vc/smerge-mode.el (smerge-refined-changed): Rename from
862 `smerge-refined-change'.
863 (smerge-refined-change): Add obsolete face alias.
864
865 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
866
867 * subr.el (call-process-shell-command, process-file-shell-command):
868 Make the `args' obsolete (bug#18409).
869 (start-process-shell-command, start-file-process-shell-command):
870 Use `declare'.
871
872 2014-10-20 Juanma Barranquero <lekktu@gmail.com>
873
874 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
875
876 2014-10-20 Glenn Morris <rgm@gnu.org>
877
878 * dired.el (dired-read-regexp): Make obsolete.
879 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
880 (dired-flag-files-regexp):
881 * dired-aux.el (dired-mark-read-regexp):
882 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
883
884 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
885
886 * progmodes/python.el (inferior-python-mode): Use add-hook.
887
888 * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
889
890 2014-10-20 Glenn Morris <rgm@gnu.org>
891
892 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
893 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
894 * emulation/ws-mode.el: Move to obsolete/. [Backport]
895
896 2014-10-20 Glenn Morris <rgm@gnu.org>
897
898 * cus-start.el (history-length): Bump :version. [Backport]
899
900 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
901
902 * obsolete/cc-compat.el: Make obsolete (bug#18561).
903
904 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
905
906 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
907 case (bug#18767).
908
909 2014-10-20 Glenn Morris <rgm@gnu.org>
910
911 * Version 24.4 released.
912
913 2014-10-15 Alan Mackenzie <acm@muc.de>
914
915 * cus-edit.el (custom-command-apply): Specify the return value in
916 the doc string.
917 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
918 custom-command-apply has returned non-nil.
919
920 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
921
922 * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
923 Backported (bug#18688).
924
925 2014-10-14 Eli Zaretskii <eliz@gnu.org>
926
927 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
928 Force bidi-paragraph-direction to 'left-to-right'. This fixes
929 buffer-menu display when the first buffer happens to start with
930 R2L letter.
931
932 2014-10-13 Glenn Morris <rgm@gnu.org>
933
934 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
935 (authors-obsolete-files-regexps): Additions.
936 (authors-no-scan-regexps): New constant.
937 (authors-no-scan-file-p): New function.
938 (authors): Respect authors-no-scan-file-p.
939
940 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
941
942 Fix import completion. (Bug#18582)
943 * progmodes/python.el (python-shell-completion-get-completions):
944 Fix import case regexp.
945
946 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
947
948 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
949 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
950 * progmodes/prolog.el (prolog-electric--underscore): Same.
951
952 2014-10-09 Glenn Morris <rgm@gnu.org>
953
954 * frame.el (display-monitor-attributes-list): Doc tweaks.
955
956 2014-10-08 Eli Zaretskii <eliz@gnu.org>
957
958 * faces.el (display-grayscale-p): Mention in the doc string that
959 the argument can be either a display name or a frame.
960
961 * frame.el (display-pixel-height, display-pixel-width)
962 (display-mm-height, display-mm-width, display-backing-store)
963 (display-save-under, display-planes, display-color-cells)
964 (display-visual-class, display-monitor-attributes-list)
965 (display-screens): Mention in the doc string that the argument can
966 be either a display name or a frame. Improve the docs of the
967 monitor attributes. (Bug#18636)
968
969 2014-10-06 Martin Rudalics <rudalics@gmx.at>
970
971 * term.el (term-window-width): Subtract 1 from the width when
972 any fringe has zero width, not just the right fringe. (Bug#18601)
973
974 2014-10-05 Leo Liu <sdl.web@gmail.com>
975
976 * imenu.el (imenu-default-goto-function): Fix typo.
977
978 2014-10-04 Glenn Morris <rgm@gnu.org>
979
980 * frame.el (frame-monitor-attributes)
981 (display-monitor-attributes-list): Doc fixes.
982
983 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
984
985 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
986 (vc-svn-ignore): Use it. (Bug#18619)
987
988 2014-10-03 Martin Rudalics <rudalics@gmx.at>
989
990 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
991 In doc-string mention need to set `frame-resize-pixelwise'.
992
993 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
994
995 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
996 similarly to Rogers's 2010-06-16 change for the remote case
997 (bug#18605).
998
999 2014-10-01 Glenn Morris <rgm@gnu.org>
1000
1001 * emacs-lisp/package.el (package-import-keyring):
1002 Create gnupg directory private. (Bug#17625#155)
1003
1004 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1005
1006 * progmodes/python.el (python-shell-completion-get-completions):
1007 Use python-shell--prompt-calculated-input-regexp from the
1008 process buffer (bug#18582).
1009 Don't assume that `line' comes from the process buffer.
1010
1011 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
1012
1013 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
1014 (bug#18462).
1015
1016 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1017
1018 * emacs-lisp/package.el (package-check-signature): Default to nil if
1019 GPG is not available.
1020 (package-refresh-contents): Don't mess with the keyring if we won't
1021 check the signatures anyway.
1022
1023 2014-09-18 Kan-Ru Chen <kanru@kanru.info>
1024
1025 * window.el (fit-window-to-buffer): When counting buffer width,
1026 count the whole visible buffer. Correctly convert the body-height
1027 to pixel size for window-text-pixel-size (Bug#18498).
1028
1029 2014-09-14 Glenn Morris <rgm@gnu.org>
1030
1031 * image.el (image-multi-frame-p): Fix thinko - do not force
1032 a delay if none was specified. (Bug#18334)
1033
1034 2014-09-12 Kan-Ru Chen <kanru@kanru.info>
1035
1036 * window.el (fit-window-to-buffer): Doc fix.
1037
1038 2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change)
1039
1040 * desktop.el (desktop-create-buffer): Check that buffers are still live
1041 before burying them (bug#18373).
1042
1043 2014-09-09 Glenn Morris <rgm@gnu.org>
1044
1045 * calendar/diary-lib.el (diary-list-entries):
1046 Restore 24.3 display behavior. (Bug#18381)
1047
1048 2014-09-09 Eli Zaretskii <eliz@gnu.org>
1049
1050 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
1051 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
1052 discrepancy between window-pixel-edges and mouse events, and
1053 avoids moving mode line up when the mouse click is on the modeline
1054 and no drag is attempted.
1055
1056 2014-09-08 Glenn Morris <rgm@gnu.org>
1057
1058 * calendar/calendar.el (calendar-basic-setup):
1059 Avoid clobbering calendar with diary. (Bug#18381)
1060
1061 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1062
1063 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
1064
1065 2014-09-04 Lars Ljung <lars@matholka.se> (tiny change)
1066
1067 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
1068 as well (bug#18400).
1069
1070 2014-09-04 Eli Zaretskii <eliz@gnu.org>
1071
1072 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
1073
1074 2014-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
1075
1076 * emacs-lisp/package.el (package-generate-description-file):
1077 Properly quote the arguments (bug#18332). Change second arg.
1078 (package--alist-to-plist-args): Rename from package--alist-to-plist and
1079 quote the elements.
1080 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
1081 the *-pkg.el file. Adjust to new calling convention of
1082 package-generate-description-file.
1083
1084 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
1085 (gud-gdb-completions): Remove obsolete workaround.
1086
1087 2014-09-02 Eli Zaretskii <eliz@gnu.org>
1088
1089 * subr.el (posn-col-row): Revert the change from commit
1090 2010-11-13T21:07:58Z!eliz@gnu.org, which
1091 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
1092 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
1093 introduced an off-by-one error in the reported row when there is a
1094 header line. (Bug#18384)
1095
1096 2014-09-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
1097
1098 * progmodes/python.el (python-indent-post-self-insert-function):
1099 Avoid electric colon at beginning-of-defun. (Bug#18228)
1100
1101 2014-09-01 Glenn Morris <rgm@gnu.org>
1102
1103 * tutorial.el (tutorial--display-changes):
1104 Fix 2014-07-29 change. (Bug#18382)
1105
1106 2014-08-29 Ken Brown <kbrown@cornell.edu>
1107
1108 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
1109 the Cygwin-w32 build. (Bug#18347)
1110
1111 2014-08-28 Glenn Morris <rgm@gnu.org>
1112
1113 * tar-mode.el (tar--extract, tar-extract):
1114 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
1115
1116 2014-08-27 Michael Albinus <michael.albinus@gmx.de>
1117
1118 * emacs-lisp/authors.el (authors-aliases): Addition.
1119
1120 * net/tramp-adb.el: Spell author name correctly.
1121
1122 2014-08-27 João Távora <joaotavora@gmail.com>
1123
1124 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
1125 use url-expand-file-name. (Bug#18310)
1126
1127 2014-08-25 Glenn Morris <rgm@gnu.org>
1128
1129 * emulation/cua-rect.el (cua--highlight-rectangle):
1130 Avoid error at point-min. (Bug#18309)
1131
1132 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
1133
1134 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
1135 executable-find (bug#18244).
1136
1137 * simple.el (self-insert-uses-region-functions): Defvar.
1138
1139 2014-08-13 Leo Liu <sdl.web@gmail.com>
1140
1141 * speedbar.el (speedbar-generic-list-tag-p): Allow special
1142 elements from imenu.
1143
1144 2014-08-11 Glenn Morris <rgm@gnu.org>
1145
1146 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
1147
1148 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
1149 chose coding system for writing before backing up, since it causes
1150 a more serious problem than the one it solves. (Closes Bug#18141,
1151 reopens Bug#13522.)
1152
1153 2014-08-10 Martin Rudalics <rudalics@gmx.at>
1154
1155 * window.el (window-total-size): Make doc-string more
1156 self-contained.
1157
1158 2014-08-09 Martin Rudalics <rudalics@gmx.at>
1159
1160 * window.el (display-buffer-below-selected): Restore original
1161 behavior if buffer is already displayed in the window below the
1162 selected one (Bug#18181).
1163
1164 2014-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1165
1166 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
1167 event (bug#18212).
1168
1169 2014-08-08 Eli Zaretskii <eliz@gnu.org>
1170
1171 * info.el (info): Doc fix.
1172
1173 2014-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1174
1175 * info.el (Info-mode-map): Override a global down-mouse-2 binding
1176 (bug#18212).
1177
1178 2014-08-05 Eli Zaretskii <eliz@gnu.org>
1179
1180 * simple.el (default-line-height): A floating-point value of
1181 line-spacing means a fraction of the default frame font's height,
1182 not of the font currently used by the 'default' face.
1183 Truncate the pixel value, like the display engine does.
1184 (window-screen-lines): Use window-inside-pixel-edges for
1185 determining the window height in pixels. (Bug#18195)
1186
1187 2014-07-29 Eli Zaretskii <eliz@gnu.org>
1188
1189 * tutorial.el (tutorial--display-changes): Accept punctuation
1190 characters before the key binding. (Bug#18146)
1191
1192 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
1193
1194 * doc-view.el (doc-view-open-text): Don't require that the
1195 document is saved in a file (e.g., email attachment).
1196
1197 2014-07-27 Eli Zaretskii <eliz@gnu.org>
1198
1199 * window.el (window--pixel-to-total): Use FRAME's root window, not
1200 that of the selected frame. (Bug#18112, Bug#16674)
1201
1202 2014-07-27 Andreas Schwab <schwab@linux-m68k.org>
1203
1204 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
1205 (Bug#18117)
1206
1207 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1208
1209 * progmodes/python.el (inferior-python-mode): Doc fix.
1210
1211 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
1212
1213 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
1214 not a character, ignore it instead of raising an error.
1215
1216 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
1217
1218 * calendar/todo-mode.el: Fix handling of marked items and make
1219 minor code improvements.
1220 (todo-edit-item): If there are marked items, ensure user can only
1221 invoke editing commands that work with marked items.
1222 (todo-edit-item--text): When there are marked items, make it a
1223 noop if invoked with point not on an item; otherwise, ensure it
1224 applies only to item at point.
1225 (todo-item-undone): If there are marked not-done items, return
1226 point to its original position before signaling user error.
1227 (todo--user-error-if-marked-done-item): New function.
1228 (todo-edit-item--header, todo-edit-item--diary-inclusion)
1229 (todo-item-done): Use it.
1230
1231 2014-07-25 Glenn Morris <rgm@gnu.org>
1232
1233 * files.el (toggle-read-only): Re-add basic doc-string.
1234 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
1235
1236 * progmodes/prolog.el (prolog-mode-keybindings-edit):
1237 Replace missing `switch-to-prolog' with `run-prolog'.
1238 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
1239
1240 2014-07-22 Stephen Berman <stephen.berman@gmx.net>
1241
1242 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
1243 of file-wide setting when changing category-wide setting.
1244
1245 2014-07-21 Glenn Morris <rgm@gnu.org>
1246
1247 * progmodes/hideif.el (hide-ifdef-mode-submap):
1248 Also substitute read-only-mode.
1249 * bindings.el (mode-line-toggle-read-only):
1250 * bs.el (bs-toggle-readonly):
1251 * buff-menu.el (Buffer-menu-toggle-read-only):
1252 * dired.el (dired-toggle-read-only):
1253 * files.el (view-read-only, find-file-read-only)
1254 (find-file-read-only-other-window)
1255 (find-file-read-only-other-frame):
1256 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
1257 Doc fixes re toggle-read-only.
1258
1259 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1260
1261 * progmodes/python.el: Add comment about pipe buffering and
1262 solutions for missing/delayed output in inferior Python shells.
1263 (Bug#17304)
1264
1265 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1266
1267 * progmodes/python.el (python-mode): Don't set
1268 mode-require-final-newline. (Bug#17990)
1269
1270 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1271
1272 Make python.el work with IPython automatically. (Bug#15510)
1273 * progmodes/python.el:
1274 (python-shell-completion-setup-code): New value supporting iPython.
1275 (python-shell-completion-string-code): New value supporting iPython.
1276 (python-shell-completion-get-completions): Use them.
1277 (python-shell-completion-module-string-code): Make obsolete.
1278 (python-shell-prompt-input-regexps)
1279 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
1280 (python-shell-output-filter): Fix comment typo.
1281
1282 2014-07-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
1283
1284 Fix Python shell prompts detection for remote hosts.
1285 * progmodes/python.el (python-shell-prompt-detect):
1286 Replace call-process with process-file and make it more robust.
1287
1288 2014-07-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1289
1290 Autodetect Python shell prompts. (Bug#17370)
1291 * progmodes/python.el:
1292 (python-shell-interpreter-interactive-arg)
1293 (python-shell-prompt-detect-enabled)
1294 (python-shell-prompt-detect-failure-warning)
1295 (python-shell-prompt-input-regexps)
1296 (python-shell-prompt-output-regexps): New vars.
1297 (python-shell-prompt-calculated-input-regexp)
1298 (python-shell-prompt-calculated-output-regexp): New vars.
1299 (python-shell-get-process-name)
1300 (python-shell-internal-get-process-name)
1301 (python-shell-output-filter)
1302 (python-shell-completion-get-completions): Use them.
1303 (python-shell-prompt-detect)
1304 (python-shell-prompt-validate-regexps): New functions.
1305 (python-shell-prompt-set-calculated-regexps): New function.
1306 (inferior-python-mode): Use it. Also honor overridden
1307 python-shell-interpreter and python-shell-interpreter-args.
1308 (python-shell-make-comint): Honor overridden
1309 python-shell-interpreter and python-shell-interpreter-args.
1310 (python-shell-get-or-create-process): Make it testable by allowing
1311 to call run-python non-interactively.
1312 (python-util-valid-regexp-p): New function.
1313 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
1314 (python-shell-prompt-output-regexp)
1315 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
1316
1317 2014-07-16 Glenn Morris <rgm@gnu.org>
1318
1319 * desktop.el (after-init-hook): Disable startup frame restoration
1320 in non-graphical situations. (Bug#17693)
1321
1322 2014-07-14 Glenn Morris <rgm@gnu.org>
1323
1324 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
1325 if it was "empty", or used for a different set of files. (Bug#17884)
1326
1327 2014-07-13 Eli Zaretskii <eliz@gnu.org>
1328
1329 * bindings.el (mode-line-remote): If default-directory is not a
1330 string, don't call file-remote-p on it; instead state in the
1331 help-echo that it is nil. (Bug#17986)
1332
1333 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
1334
1335 Fix bug: C-x v v discarded existing log message (Bug#17884).
1336 * vc/vc-dispatcher.el (vc-log-edit):
1337 Don't clobber an already-existing log message.
1338
1339 2014-07-10 Glenn Morris <rgm@gnu.org>
1340
1341 * vc/log-edit.el (log-edit-changelog-entries):
1342 Check for a visited-but-never-saved ChangeLog.
1343
1344 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1345
1346 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
1347 a non-existing file (bug#17970).
1348
1349 * faces.el (face-name): Undo last change.
1350 (x-resolve-font-name): Don't call face-name (bug#17956).
1351
1352 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
1353
1354 Fix dedenters and electric colon handling. (Bug#15163)
1355
1356 * progmodes/python.el
1357 (python-rx-constituents): Add dedenter and block-ender.
1358 (python-indent-dedenters, python-indent-block-enders): Delete.
1359 (python-indent-context): Return new case for dedenter-statement.
1360 (python-indent-calculate-indentation): Handle new case.
1361 (python-indent-calculate-levels): Fix levels calculation for
1362 dedenter statements.
1363 (python-indent-post-self-insert-function): Fix colon handling.
1364 (python-info-dedenter-opening-block-message): New function.
1365 (python-indent-line): Use it.
1366 (python-info-closing-block)
1367 (python-info-closing-block-message): Remove.
1368 (python-info-dedenter-opening-block-position)
1369 (python-info-dedenter-opening-block-positions)
1370 (python-info-dedenter-statement-p): New functions.
1371
1372 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1373
1374 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
1375 the middle of a line (bug#17896).
1376
1377 2014-07-08 Juri Linkov <juri@jurta.org>
1378
1379 * startup.el (command-line): Append displaying the warning about
1380 the errors in the init file to the end of `after-init-hook'.
1381 (Bug#17927)
1382
1383 2014-07-08 Juri Linkov <juri@jurta.org>
1384
1385 * faces.el (face-name): Return input arg `face' as is
1386 when it's not a symbol.
1387 (x-resolve-font-name): Don't check if the face is a symbol.
1388 (Bug#17956)
1389
1390 2014-07-08 Juri Linkov <juri@jurta.org>
1391
1392 * facemenu.el (list-colors-print): In help-echo format use %.2f
1393 instead of %d because now HSV values are floating-point components
1394 between 0.0 and 1.0.
1395
1396 2014-07-06 Glenn Morris <rgm@gnu.org>
1397
1398 * emulation/cua-rect.el (cua--activate-rectangle):
1399 Avoid setting cua--rectangle to nil. (Bug#17877)
1400
1401 2014-07-06 Stephen Berman <stephen.berman@gmx.net>
1402
1403 * calendar/todo-mode.el: Fix wrong-type-argument error when
1404 marking multiple consecutive items.
1405 (todo-toggle-mark-item): Don't try to mark the empty lines at the
1406 end of the todo and done items sections. Note in doc string that
1407 items marked by passing a numeric prefix argument can include the
1408 last todo and first done items.
1409 (todo-mark-category): Don't try to mark the empty line between the
1410 todo and done items sections.
1411
1412 2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1413
1414 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
1415 proper Lisp quoting (bug#17934).
1416
1417 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
1418 require-final-newline since prog-mode already took care of it (bug#17947).
1419
1420 2014-07-04 Stephen Berman <stephen.berman@gmx.net>
1421
1422 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
1423 refer to the Todo mode Info manual. Update the comment on
1424 requiring cl-lib.
1425 (todo-find-filtered-items-file): Add todo-prefix overlays.
1426 (todo-filter-items): Reorder a let-bound variable to avoid a
1427 wrong-type-argument error on canceling the file choice dialog.
1428
1429 2014-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1430
1431 * progmodes/octave.el (inferior-octave-mode):
1432 Set comint-input-ring-size to a number (bug#17912).
1433
1434 2014-07-03 Juri Linkov <juri@jurta.org>
1435
1436 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
1437 and `isearch-mode' associated with nil. (Bug#17849)
1438
1439 2014-07-02 Juri Linkov <juri@jurta.org>
1440
1441 * desktop.el (desktop-save): Rename arg `auto-save' to
1442 `only-if-changed'. Doc fix. (Bug#17873)
1443
1444 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1445
1446 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
1447 Use insert-for-yank (bug#17271).
1448
1449 2014-07-02 Leo Liu <sdl.web@gmail.com>
1450
1451 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
1452 Support lexical-binding.
1453
1454 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1455
1456 * vc/log-edit.el (log-edit-goto-eoh): New function.
1457 (log-edit--match-first-line): Use it (bug#17861).
1458
1459 2014-07-01 Glenn Morris <rgm@gnu.org>
1460
1461 * vc/log-edit.el (log-edit-hook): Add missing :version.
1462
1463 2014-07-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
1464
1465 * progmodes/python.el (python-indent-post-self-insert-function):
1466 Enhancements to electric indentation behavior inside
1467 parens. (Bug#17658)
1468
1469 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1470
1471 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
1472 buffer-invisibility-spec (bug#17867).
1473
1474 2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
1475
1476 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
1477 pass "-a".
1478
1479 2014-06-29 Glenn Morris <rgm@gnu.org>
1480
1481 * cus-edit.el (help):
1482 * finder.el (finder-known-keywords):
1483 * help.el (help-for-help-internal):
1484 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
1485 (ediff-redraw-registry-buffer):
1486 * vc/ediff-ptch.el (ediff-patch-file-internal):
1487 Doc fixes re "online" help. (Bug#17803)
1488
1489 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
1490 (idlwave-mode): Doc URL update.
1491
1492 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
1493
1494 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
1495 account for file-wide setting of todo-top-priorities-overrides.
1496 Make code a bit cleaner.
1497
1498 2014-06-27 Leo Liu <sdl.web@gmail.com>
1499
1500 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
1501
1502 2014-06-27 Glenn Morris <rgm@gnu.org>
1503
1504 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
1505
1506 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
1507
1508 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
1509 category-wide setting of todo-top-priorities-overrides, check for
1510 a file-wide setting and fontify accordingly.
1511
1512 2014-06-26 Glenn Morris <rgm@gnu.org>
1513
1514 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
1515
1516 2014-06-26 Daiki Ueno <ueno@gnu.org>
1517
1518 * emacs-lisp/package.el (package--check-signature):
1519 If package-check-signature is allow-unsigned, don't signal error when
1520 we can't verify signature because of missing public key
1521 (backport for bug#17625).
1522
1523 2014-06-26 Glenn Morris <rgm@gnu.org>
1524
1525 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
1526 Remove outdated declaration.
1527
1528 * emacs-lisp/authors.el (authors-valid-file-names)
1529 (authors-renamed-files-alist): Additions.
1530
1531 2014-06-25 Leo Liu <sdl.web@gmail.com>
1532
1533 * textmodes/picture.el (picture-set-tab-stops):
1534 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
1535 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
1536
1537 * progmodes/asm-mode.el (asm-calculate-indentation):
1538 Use indent-next-tab-stop.
1539
1540 * indent.el (indent-accumulate-tab-stops): New function.
1541
1542 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1543
1544 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
1545 (package-desc-status): Obey it.
1546
1547 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
1548
1549 * calendar/todo-mode.el: Fix two bugs.
1550 (todo-insert-item--basic): If user cancels item insertion to
1551 another category before setting priority, show original category
1552 whether it is in the same or a different file.
1553 (todo-set-item-priority): After selecting category, instead of
1554 moving point to top, which extends an active region, restore it.
1555
1556 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1557
1558 * help-fns.el (describe-function-1): Check file-name is a string before
1559 calling help-fns--autoloaded-p (bug#17564).
1560
1561 2014-06-24 Juri Linkov <juri@jurta.org>
1562
1563 * desktop.el (desktop-auto-save-enable)
1564 (desktop-auto-save-disable): New functions.
1565 (desktop-save-mode, desktop-auto-save-timeout): Use them.
1566 (desktop-read): Disable the autosave before loading the desktop,
1567 and enable afterwards. (Bug#17351)
1568
1569 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
1570
1571 Fix some indentation problem with \; and pipes (bug#17842).
1572 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1573 (sh-smie--default-forward-token, sh-smie--default-backward-token):
1574 New functions.
1575 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1576 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1577 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1578
1579 2014-06-24 Eli Zaretskii <eliz@gnu.org>
1580
1581 * international/fontset.el (script-representative-chars):
1582 Add representative characters for scripts added in Unicode 7.0.
1583 (otf-script-alist): Synchronize with the latest registry of OTF
1584 script tags.
1585
1586 * international/characters.el (char-script-table): Update for
1587 scripts added and codepoint ranges changed in Unicode 7.0.
1588
1589 2014-06-23 Leo Liu <sdl.web@gmail.com>
1590
1591 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
1592 tab-stop-list to nil. (Bug#16381)
1593
1594 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1595 (indent-rigidly-left-to-tab-stop)
1596 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1597 (move-to-tab-stop): Change callers.
1598
1599 2014-06-22 Eli Zaretskii <eliz@gnu.org>
1600
1601 * skeleton.el (skeleton-insert): Yet another fix of the doc string
1602 wrt behavior of \n as the first/last element of a skeleton.
1603
1604 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
1605
1606 * net/tramp-adb.el (tramp-adb-handle-process-file):
1607 * net/tramp-sh.el (tramp-sh-handle-process-file):
1608 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1609 the output buffer when DISPLAY is non-nil. (Bug#17815)
1610
1611 2014-06-21 Glenn Morris <rgm@gnu.org>
1612
1613 * play/landmark.el (landmark-move-down, landmark-move-up):
1614 Fix 2007-10-20 change - preserve horizontal position.
1615
1616 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1617
1618 Fix completion retrieval parsing (bug#17209).
1619 * progmodes/python.el (python-mode):
1620 (python-util-strip-string): New function.
1621 (python-shell-completion-get-completions): Use it.
1622
1623 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1624
1625 * skeleton.el (skeleton-insert): Fix last change.
1626
1627 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1628
1629 Enhancements for outline integration (bug#17796).
1630 * progmodes/python.el (python-mode): Properly set
1631 outline-heading-end-regexp so that comments after colons for
1632 defuns are supported.
1633
1634 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1635
1636 * skeleton.el (skeleton-insert): Doc fix.
1637
1638 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1639
1640 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1641 (smie-config-guess): Use smie-config-local so the rules are obeyed
1642 (bug#17818).
1643
1644 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1645 since it's already done inside the loop (bug#17819).
1646
1647 2014-06-20 Martin Rudalics <rudalics@gmx.at>
1648
1649 * mouse.el (mouse-drag-line): Re-remove code initially removed
1650 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1651 (Bug#17819).
1652
1653 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1654
1655 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1656 align with the surrounding parent (bug#17721).
1657
1658 2014-06-20 Eli Zaretskii <eliz@gnu.org>
1659
1660 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1661 locally to nil.
1662 (texinfo-insert-block, texinfo-insert-@end)
1663 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1664 local setting of skeleton-end-newline by adding an explicit \n to
1665 the skeletons where appropriate. (Bug#17801)
1666
1667 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1668
1669 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1670 (smie-indent--hanging-p): Use it.
1671 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1672
1673 2014-06-20 Leo Liu <sdl.web@gmail.com>
1674
1675 * simple.el (read-quoted-char): Don't let help chars pop up help
1676 buffer. (Bug#16617)
1677
1678 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
1679
1680 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1681 for | (bug#17621).
1682
1683 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1684
1685 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
1686 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
1687 burping.
1688
1689 2014-06-18 Eli Zaretskii <eliz@gnu.org>
1690
1691 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1692 and later. (Bug#17790)
1693
1694 2014-06-18 Juri Linkov <juri@jurta.org>
1695
1696 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1697 to `soft'. (Bug#17554)
1698
1699 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1700
1701 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1702 (bug#17737).
1703
1704 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
1705
1706 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1707 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
1708
1709 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
1710
1711 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1712 `unread-command-events'.
1713
1714 2014-06-14 Glenn Morris <rgm@gnu.org>
1715
1716 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
1717 Replace delete-duplicates and mapcan by cl- versions throughout.
1718 And cl-macroexpand-all by macroexpand-all.
1719 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1720
1721 2014-06-14 Eli Zaretskii <eliz@gnu.org>
1722
1723 * subr.el (posn-col-row): Doc fix. (Bug#17768)
1724
1725 2014-06-14 Juri Linkov <juri@jurta.org>
1726
1727 * bindings.el: Put `ascii-character' property on keypad keys
1728 mapped to characters. (Bug#17759)
1729
1730 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1731
1732 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1733 bumping forward into a closing paren (bug#17761).
1734
1735 * term/xterm.el (xterm--version-handler): Work around for OSX
1736 Terminal.app (bug#17607).
1737
1738 2014-06-08 Glenn Morris <rgm@gnu.org>
1739
1740 * startup.el (initial-buffer-choice): Doc fix.
1741 Reset :version (adding an option does not merit a :version bump).
1742
1743 * bookmark.el (bookmark-load):
1744 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1745
1746 2014-06-06 Juri Linkov <juri@jurta.org>
1747
1748 * desktop.el: Activate auto-saving on window configuration changes.
1749 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1750 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
1751 (desktop-auto-save-set-timer): Change REPEAT arg of
1752 `run-with-idle-timer' from t to nil.
1753 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1754
1755 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
1756
1757 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1758 vc-hg-command (bug#17570).
1759
1760 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1761
1762 * international/mule-cmds.el (ucs-names): Add special entry for BEL
1763 (bug#17702).
1764
1765 2014-06-06 Glenn Morris <rgm@gnu.org>
1766
1767 * startup.el (window-setup-hook): Doc fix.
1768
1769 2014-06-05 Glenn Morris <rgm@gnu.org>
1770
1771 * emacs-lisp/package.el (package-check-signature)
1772 (package-unsigned-archives): Doc fixes.
1773
1774 2014-06-03 Martin Rudalics <rudalics@gmx.at>
1775
1776 * window.el (display-buffer-use-some-window): Don't make window
1777 used smaller than it was before (Bug#17671).
1778
1779 2014-06-03 Eli Zaretskii <eliz@gnu.org>
1780
1781 * menu-bar.el (menu-bar-open): Fix last change: use the PC
1782 'redisplay' instead of '(sit-for 0)'.
1783
1784 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
1785
1786 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
1787 regexp. (Bug#17653)
1788
1789 2014-06-03 Glenn Morris <rgm@gnu.org>
1790
1791 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1792
1793 2014-06-02 Eli Zaretskii <eliz@gnu.org>
1794
1795 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1796
1797 2014-06-01 Eli Zaretskii <eliz@gnu.org>
1798
1799 * simple.el (keyboard-quit): Force update of mode lines, to remove
1800 the "Def" indicator, if we were defining a macro. (Bug#17615)
1801
1802 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1803
1804 * minibuffer.el (minibuffer-force-complete-and-exit):
1805 Obey minibuffer-default (bug#17545).
1806
1807 * progmodes/js.el (js-indent-line): Don't mix columns and chars
1808 (bug#17619).
1809
1810 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1811
1812 * subr.el (set-transient-map): Don't wait for some "nested"
1813 transient-map to finish if we're only supposed to be active for
1814 the next command (bug#17642).
1815
1816 2014-05-31 Leo Liu <sdl.web@gmail.com>
1817
1818 * emacs-lisp/gv.el (window-buffer, window-display-table)
1819 (window-dedicated-p, window-hscroll, window-point, window-start):
1820 Fix gv-expander. (Bug#17630)
1821
1822 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1823
1824 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1825 clicks (bug#17633).
1826
1827 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1828 for the single comma, since ", " is *very* common in normal French text
1829 (bug#17643).
1830
1831 2014-05-30 Glenn Morris <rgm@gnu.org>
1832
1833 * emacs-lisp/package.el (package-check-signature)
1834 (package-unsigned-archives): Fix :version.
1835
1836 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1837
1838 * subr.el (sit-for): Don't run input-methods (bug#15614).
1839
1840 2014-05-28 Glenn Morris <rgm@gnu.org>
1841
1842 * cus-start.el: Fix some :version numbers.
1843
1844 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1845
1846 * simple.el (deactivate-mark): Set mark-active to nil even if
1847 deactivation is done via setting transient-mark-mode to nil,
1848 since one is buffer-local and the other is global.
1849
1850 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1851 there can't be more than 2 arguments (bug#17584).
1852
1853 2014-05-27 Glenn Morris <rgm@gnu.org>
1854
1855 * simple.el (filter-buffer-substring-functions)
1856 (filter-buffer-substring-function, buffer-substring-filters)
1857 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1858
1859 * minibuffer.el (completion-in-region-functions, completion-in-region)
1860 (completion--in-region): Doc fixes.
1861
1862 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1863 (expand-abbrev, abbrev--default-expand): Doc fixes.
1864
1865 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
1866
1867 Include sources used to create macuvs.h.
1868 * international/README: Refer to the Unicode Terms of Use rather
1869 than copying it bodily here, as that simplifies maintenance.
1870
1871 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1872
1873 * cus-face.el (custom-face-attributes): Add :distant-foreground.
1874
1875 2014-05-25 Martin Rudalics <rudalics@gmx.at>
1876
1877 * window.el (window--dump-frame): Remove interactive
1878 specification.
1879
1880 2014-05-23 Glenn Morris <rgm@gnu.org>
1881
1882 * hippie-exp.el (he-line-search-regexp):
1883 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
1884
1885 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1886
1887 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1888 to avoid errors when trying to create or visit a file foo.todo
1889 located outside to todo-directory, and to allow having such files
1890 without them being tied to Todo mode (bug#17482).
1891 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1892 (todo-archive-done-item, todo-find-filtered-items-file)
1893 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1894 (todo-category-completions, todo-read-category): When visiting a
1895 Todo file, make sure we're in the right mode and the buffer local
1896 variables are set.
1897 (todo-make-categories-list, todo-reset-nondiary-marker)
1898 (todo-reset-done-string, todo-reset-comment-string):
1899 After processing all Todo files, kill the buffers of those files that
1900 weren't being visited before the processing.
1901 (todo-display-as-todo-file, todo-add-to-buffer-list)
1902 (todo-visit-files-commands): Comment out.
1903 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1904 (auto-mode-alist): Remove add-to-list calls making Todo file
1905 extensions unrestrictedly tied to Todo modes.
1906
1907 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1908
1909 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1910 (advice-function-member-p): Tell it to check both names and functions
1911 (bug#17531).
1912 (advice--add-function): Adjust call accordingly.
1913
1914 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1915
1916 * calendar/todo-mode.el: Miscellaneous bug fixes.
1917 (todo-delete-file): When deleting an archive but not its todo
1918 file, make sure to update the todo file's category sexp.
1919 (todo-move-category): Keep the moved category's name unless the
1920 file moved to already has a category with that name. If the
1921 numerically last category of the source file was moved, make the
1922 first category current to avoid selecting a nonexisting category.
1923 (todo-merge-category): Fix implementation to make merging to a
1924 category in another file work as documented. Eliminate now
1925 insufficient and unnecessary renaming of archive category, correct
1926 document string accordingly, and clarify it. If the numerically
1927 last category of the source file was merged, make the first
1928 category current to avoid selecting a nonexisting category.
1929 (todo-archive-done-item): When there are marked items and point
1930 happens to be on an unmarked item, ignore the latter. Don't leave
1931 point below last item after archiving marked items.
1932 (todo-unarchive-items): Fix logic to ensure unarchiving an item
1933 from an archive with only one category deletes the archive only
1934 when the category is empty after unarchiving. Make sure the todo
1935 file's category sexp is updated.
1936 (todo-read-file-name): Allow an existing file name even when it is
1937 not required (todo-move-category needs this to work as documented).
1938 (todo-add-file): Call todo-validate-name to reject the name of an
1939 existing todo file (needed due to fix in todo-read-file-name).
1940 (todo-reset-nondiary-marker): Also reset in filtered items files.
1941 (todo-reset-done-string, todo-reset-comment-string): Also reset in
1942 regexp filtered items files.
1943 (todo-reset-highlight-item): Also reset in filtered items files.
1944 Fix incorrect variable reference in document string.
1945
1946 2014-05-22 Glenn Morris <rgm@gnu.org>
1947
1948 * window.el (window--dump-frame): Avoid error in --without-x builds.
1949
1950 2014-05-21 Glenn Morris <rgm@gnu.org>
1951
1952 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1953
1954 2014-05-21 Eli Zaretskii <eliz@gnu.org>
1955
1956 * frame.el (set-frame-font): Doc fix.
1957
1958 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
1959
1960 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
1961
1962 * emacs-lisp/package.el (package--download-one-archive):
1963 Use `write-region' instead of `save-buffer' to avoid running various
1964 hooks. (Bug#17155)
1965 (describe-package-1): Same. Insert newline at the end of the
1966 buffer if appropriate.
1967
1968 2014-05-20 Juri Linkov <juri@jurta.org>
1969
1970 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1971 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1972 Add more modifiers: meta, control, shift, hyper, super, alt.
1973 (Bug#17439)
1974
1975 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1976 to allow changing its value with `set-variable'.
1977
1978 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
1979
1980 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1981 #; comments.
1982 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1983 New functions.
1984 (scheme-mode-variables): Set syntax-propertize-function instead of
1985 font-lock-syntactic-face-function.
1986 (scheme-font-lock-syntactic-face-function): Delete.
1987
1988 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1989
1990 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1991
1992 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1993 (bug#17392).
1994
1995 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
1996
1997 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1998 for a temporary file name.
1999
2000 2014-05-17 Eli Zaretskii <eliz@gnu.org>
2001
2002 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
2003
2004 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
2005
2006 * net/dbus.el (dbus-init-bus, dbus-call-method)
2007 (dbus-call-method-asynchronously, dbus-send-signal)
2008 (dbus-method-return-internal, dbus-method-error-internal):
2009 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
2010
2011 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2012
2013 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
2014 methods which do not have a doc string. (Bug#17490)
2015
2016 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
2017 Stefan Monnier <monnier@iro.umontreal.ca>
2018
2019 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
2020 suffix (bug#15419).
2021
2022 2014-05-14 Glenn Morris <rgm@gnu.org>
2023
2024 * vc/emerge.el (emerge-temp-file-prefix):
2025 Make pointless option obsolete.
2026 (emerge-temp-file-mode): Make non-functional option obsolete.
2027
2028 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
2029
2030 * net/browse-url.el (browse-url):
2031 Use `unhandled-file-name-directory' when setting `default-directory',
2032 in order to circumvent stalled remote connections. (Bug#17425)
2033
2034 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
2035
2036 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
2037 into autoloading just because of a silly indirection.
2038
2039 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
2040
2041 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
2042
2043 2014-05-11 Glenn Morris <rgm@gnu.org>
2044
2045 * emacs-lisp/find-gc.el: Move to ../admin.
2046
2047 2014-05-10 Glenn Morris <rgm@gnu.org>
2048
2049 * printing.el (pr-version):
2050 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
2051
2052 * net/browse-url.el (browse-url-mosaic):
2053 Create /tmp/Mosaic.PID as a private file.
2054
2055 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
2056
2057 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
2058 (advice--member-p): If name is given, only compare the name.
2059 (advice--remove-function): Don't stop at the first match.
2060 (advice--normalize-place): New function.
2061 (add-function, remove-function): Use it.
2062 (advice--add-function): Pass the name, if any, to
2063 advice--remove-function.
2064
2065 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
2066
2067 * electric.el (electric-indent-post-self-insert-function): Don't use
2068 `pos' after modifying the buffer (bug#17449).
2069
2070 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2071
2072 * subr.el (function-put): Add function.
2073
2074 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
2075
2076 * calendar/todo-mode.el (todo-insert-item-from-calendar):
2077 Correct argument list to conform to todo-insert-item--basic.
2078
2079 2014-05-09 Glenn Morris <rgm@gnu.org>
2080
2081 * files.el (cd-absolute): Test if directory is accessible
2082 rather than executable. (Bug#17330)
2083
2084 * progmodes/compile.el (recompile):
2085 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
2086
2087 2014-05-08 Juri Linkov <juri@jurta.org>
2088
2089 * dired.el (dired-check-switches, dired-switches-recursive-p):
2090 New functions. (Bug#17218)
2091 (dired-switches-escape-p, dired-move-to-end-of-filename):
2092 Use `dired-check-switches'.
2093 (dired-insert-old-subdirs, dired-build-subdir-alist)
2094 (dired-sort-R-check): Use `dired-switches-recursive-p'.
2095
2096 2014-05-08 Glenn Morris <rgm@gnu.org>
2097
2098 * net/browse-url.el (browse-url-mosaic):
2099 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
2100 This is CVE-2014-3423.
2101
2102 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2103
2104 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
2105 (xterm-mouse--read-event-sequence-1000): Return nil if something
2106 looks fishy.
2107 (xterm-mouse-event): Propagate it.
2108 (xterm-mouse-translate-1): Handle it.
2109
2110 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
2111
2112 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
2113 four slots of the parameter list are filled, make sure to pass it
2114 to the argument list of todo-insert-item--basic.
2115
2116 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2117
2118 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
2119 Add optional `seen' argument to detect and break infinite loops.
2120
2121 2014-05-06 Eli Zaretskii <eliz@gnu.org>
2122
2123 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
2124 (trace-unsafe, trace-use-tree): Make parentheses style be
2125 according to Emacs style.
2126
2127 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
2128
2129 * net/tramp-sh.el (tramp-remote-process-environment):
2130 Remove HISTFILE and HISTSIZE; it's too late to set them here.
2131 Add :version entry.
2132 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
2133 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
2134 extra "PSx=..." commands.
2135 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
2136 (Bug#17295)
2137
2138 (tramp-uudecode): Replace the hard-coded temporary file name by a
2139 format specifier.
2140 (tramp-remote-coding-commands): Enhance docstring.
2141 (tramp-find-inline-encoding): Replace "%t" by a temporary file
2142 name. (Bug#17415)
2143 This is CVE-2014-3424.
2144
2145 2014-05-06 Glenn Morris <rgm@gnu.org>
2146
2147 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
2148 (find-gc-source-files): Update some names.
2149 (trace-call-tree): Simplify and update.
2150 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
2151 This is CVE-2014-3422.
2152
2153 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2154
2155 * minibuffer.el (completion--try-word-completion): Revert fix for
2156 Bug#15980 (bug#17375).
2157
2158 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
2159 Always store button numbers in the same way in xterm-mouse-last;
2160 Don't burp is xterm-mouse-last is not set as expected.
2161 Never return negative indices.
2162
2163 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
2164
2165 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2166 Backtrack one char if the global/char-literal var matcher hits
2167 inside a string. The next char could be the beginning of an
2168 expression expansion.
2169
2170 2014-05-05 Glenn Morris <rgm@gnu.org>
2171
2172 * help-fns.el (describe-function-1): Test for an autoload before a
2173 macro, since `macrop' works on autoloads. (Bug#17410)
2174
2175 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2176
2177 * electric.el (electric-indent-functions-without-reindent): Add yaml.
2178
2179 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
2180 Make sure the new point we return is within the new string (bug#17239).
2181
2182 2014-05-03 Eli Zaretskii <eliz@gnu.org>
2183
2184 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
2185
2186 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2187
2188 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2189 Use nil rather than `default' for the "default" appearance (bug#17388).
2190 * vc/ediff-util.el (ediff-inferior-compare-regions)
2191 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
2192 a misleading `default' value when it's really a boolean.
2193 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
2194 overlay is not visible.
2195
2196 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
2197
2198 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
2199 (todo-menu): Uncomment and update.
2200
2201 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
2202
2203 * calendar/todo-mode.el: Reimplement item editing to have the same
2204 basic user interface as item insertion, and make small UI and
2205 larger internal improvements to the latter.
2206 (todo-insert-item): Add reference to the Todo mode user manual to
2207 the documentation string.
2208 (todo-insert-item--basic): Rename from todo-basic-insert-item and
2209 adjust all callers. Change signature to combine diary and
2210 nonmarking arguments. Incorporate functionality of deleted item
2211 copying command and add error checking. Remove detailed
2212 descriptions of the arguments from the documentation string, since
2213 this is treated in the Todo mode user manual.
2214 (todo-copy-item, todo-edit-multiline-item)
2215 (todo-edit-done-item-comment, todo-edit-item-header)
2216 (todo-edit-item-time, todo-edit-item-date-from-calendar)
2217 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
2218 (todo-edit-item-date-year, todo-edit-item-date-month)
2219 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
2220 Remove.
2221 (todo-edit-item): Reimplement as wrapper command for
2222 todo-edit-item--next-key and make it distinguish done and not done
2223 todo items.
2224 (todo-edit-item--text): New function, replacing old command
2225 todo-edit-item and incorporating deleted commands
2226 todo-edit-multiline-item and todo-edit-done-item-comment.
2227 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
2228 Use only numeric value of prefix argument. Remove detailed
2229 descriptions of the arguments from the documentation string, since
2230 this is treated in the Todo mode user manual.
2231 (todo-edit-item--diary-inclusion): New function, replacing old
2232 command todo-edit-item-diary-inclusion and incorporating and fixing
2233 functionality of deleted command todo-edit-item-diary-nonmarking,
2234 making sure to remove todo-nondiary-marker when adding
2235 diary-nonmarking-symbol.
2236 (todo-edit-category-diary-inclusion): Make sure to delete
2237 diary-nonmarking-symbol when adding todo-nondiary-marker.
2238 (todo-edit-category-diary-nonmarking): Fix indentation.
2239 (todo-insert-item--parameters): Group diary and nonmarking
2240 parameters together.
2241 (todo-insert-item--apply-args): Adjust to signature of
2242 todo-insert-item--basic and incorporate copy parameter.
2243 Make small code improvements.
2244 (todo-insert-item--next-param): Improve prompt and adjust it to
2245 new parameter grouping. Remove obsolete code.
2246 (todo-edit-item--param-key-alist)
2247 (todo-edit-item--date-param-key-alist)
2248 (todo-edit-done-item--param-key-alist): New defconsts.
2249 (todo-edit-item--prompt): New variable.
2250 (todo-edit-item--next-key): New function.
2251 (todo-key-bindings-t): Bind "e" to todo-edit-item.
2252 Remove bindings of deleted commands.
2253
2254 2014-05-02 Leo Liu <sdl.web@gmail.com>
2255
2256 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
2257
2258 2014-05-01 Glenn Morris <rgm@gnu.org>
2259
2260 * allout-widgets.el (allout-widgets-tally)
2261 (allout-decorate-item-guides):
2262 * menu-bar.el (menu-bar-positive-p):
2263 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
2264 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
2265 * progmodes/js.el (js--inside-param-list-p)
2266 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
2267 * progmodes/prolog.el (region-exists-p):
2268 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
2269 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
2270 Doc fixes (replace `iff').
2271
2272 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2273
2274 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
2275
2276 2014-04-30 Eli Zaretskii <eliz@gnu.org>
2277
2278 * dired.el (dired-initial-position-hook, dired-initial-position):
2279 Doc string fixes.
2280
2281 2014-04-29 Glenn Morris <rgm@gnu.org>
2282
2283 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
2284
2285 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
2286
2287 * faces.el (face-spec-recalc): Apply X resources only after the
2288 defface spec has been applied. Thus, X resources are no longer
2289 overridden by the defface spec which also fixes issues on win32 where
2290 the toolbar coloring was wrong because it is set through X resources
2291 and was (wrongfully) overridden. (Bug#16694)
2292
2293 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2294
2295 * textmodes/rst.el (electric-pair-pairs): Declare.
2296 (rst-mode): Set it (bug#17131).
2297
2298 2014-04-27 Juri Linkov <juri@jurta.org>
2299
2300 * desktop.el (desktop-value-to-string): Let-bind `print-length'
2301 and `print-level' to nil. (Bug#17351)
2302
2303 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2304
2305 * battery.el (battery-update): Handle the case where battery
2306 status is "N/A" (bug#17319).
2307
2308 2014-04-24 Eli Zaretskii <eliz@gnu.org>
2309
2310 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
2311 Use equal-including-properties to compare help-echo strings (bug#17331).
2312
2313 2014-04-24 Leo Liu <sdl.web@gmail.com>
2314
2315 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
2316 Fix syntax for @. (Bug#17325)
2317
2318 2014-04-24 Daniel Colascione <dancol@dancol.org>
2319
2320 * emacs-lisp/cl.el (gv): Require gv early to break eager
2321 macro-expansion cycles.
2322
2323 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2324
2325 * simple.el (region-active-p): Check there's a mark (bug#17324).
2326
2327 * simple.el (completion-list-mode-map): Use choose-completion for the
2328 mouse binding as well (bug#17302).
2329 (completion-list-mode, completion-setup-function): Adjust docstring and
2330 echo area message accordingly.
2331 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
2332 calling convention of choose-completion.
2333 * comint.el (comint-dynamic-list-completions):
2334 * term.el (term-dynamic-list-completions): Accept choose-completion.
2335
2336 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
2337 &, |, +, - and * can't be a division (bug#17317).
2338
2339 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2340
2341 * term/xterm.el (xterm--version-handler): Don't use modern xterm
2342 features on gnome-terminal (bug#16988).
2343
2344 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
2345
2346 * dired.el (dired-insert-set-properties): Do not consider
2347 subdirectory headings and empty lines to be information that
2348 `dired-hide-details-mode' should hide. (Bug#17228)
2349
2350 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
2351
2352 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2353 Remove test messages.
2354 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
2355 and `target' twice.
2356
2357 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2358
2359 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
2360 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
2361
2362 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
2363
2364 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
2365
2366 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2367 Set "IFS=" when using read builtin, in order to preserve spaces in
2368 the file name. Add test messages for hunting a bug on hydra.
2369 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
2370
2371 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2372
2373 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
2374 Don't prettify a word within a symbol.
2375
2376 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
2377
2378 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
2379 possible.
2380
2381 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2382
2383 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
2384 assignments such as "case=hello" (bug#17297).
2385
2386 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
2387
2388 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
2389 Do not autoload.
2390 (tramp-file-name-handler, tramp-completion-file-name-handler):
2391 Revert patch from 2014-04-10, it isn't necessary anymore.
2392 (tramp-autoload-file-name-handler)
2393 (tramp-register-autoload-file-name-handlers): New defuns.
2394 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
2395 (tramp-register-file-name-handlers): Remove also
2396 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
2397 Do not autoload its invocation, but eval it after loading of 'tramp.
2398
2399 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
2400
2401 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
2402
2403 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2404
2405 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
2406 was done (bug#17264).
2407 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
2408 comment to EOB.
2409
2410 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
2411 here-documents (bug#17262).
2412
2413 2014-04-16 Eli Zaretskii <eliz@gnu.org>
2414
2415 * term/pc-win.el (x-list-fonts, x-get-selection-value):
2416 Provide doc strings, as required by snarf-documentation.
2417
2418 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2419
2420 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
2421 arg of overlays-at. Use `invisible-p'.
2422
2423 * obsolete/lucid.el (extent-at):
2424 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
2425 overlays-at.
2426 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
2427
2428 2014-04-14 João Távora <joaotavora@gmail.com>
2429
2430 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
2431 links. (Bug#17217).
2432
2433 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2434
2435 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2436 Use mapc to loop over a vector. (Bug#17257).
2437
2438 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
2439
2440 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
2441 patch, there are new problems with file names containing spaces.
2442 Get rid of backticks. (Bug#17238)
2443
2444 2014-04-13 João Távora <joaotavora@gmail.com>
2445
2446 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
2447 possible bug.
2448
2449 2014-04-13 Eli Zaretskii <eliz@gnu.org>
2450
2451 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
2452 (blink-cursor-mode): Mention customization variables and the
2453 effect of 'blink-cursor-blinks'.
2454
2455 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
2456
2457 * simple.el (undo): Prevent insertion of identity mapping into
2458 undo-equiv-table so as undo-only does not inf loop in the presence
2459 of consecutive nils in undo list.
2460
2461 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
2462
2463 * faces.el (make-face): Deprecate optional argument as it is no
2464 longer needed/used since the conditional X resources handling
2465 has been pushed down to make-face-x-resource-internal itself.
2466 (make-empty-face): Don't pass optional argument to make-face.
2467
2468 2014-04-12 Eli Zaretskii <eliz@gnu.org>
2469
2470 * international/characters.el <standard-case-table>: Add entries
2471 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
2472 Set category of Coptic characters be 'g' (Greek).
2473
2474 2014-04-12 Leo Liu <sdl.web@gmail.com>
2475
2476 * progmodes/octave.el (completion-table-with-cache): Define if not
2477 available.
2478 (octave-goto-function-definition)
2479 (octave-sync-function-file-names)
2480 (octave-find-definition-default-filename): Backquote upattern for
2481 compatibility.
2482
2483 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
2484
2485 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
2486 name twice due to backticks. (Bug#17238)
2487
2488 2014-04-11 Glenn Morris <rgm@gnu.org>
2489
2490 * term/w32-win.el (x-win-suspend-error):
2491 * term/x-win.el (x-win-suspend-error): Sync docs.
2492
2493 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2494
2495 Ediff's overlay priorities cause more trouble than they solve.
2496 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
2497 (ediff-highest-priority): Remove function (bug#17234).
2498 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
2499 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
2500 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
2501 overlay priorities.
2502
2503 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
2504
2505 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
2506 entry; use symbol boundaries to avoid mis-matches.
2507
2508 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
2509
2510 * net/tramp.el (tramp-file-name-handler)
2511 (tramp-completion-file-name-handler): Avoid recursive loading.
2512
2513 * net/tramp-sh.el (tramp-make-copy-program-file-name):
2514 Quote result also locally.
2515
2516 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
2517
2518 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2519 Module methods. (Bug#17216)
2520
2521 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2522
2523 * help.el (describe-bindings): Fix buffer handling (bug#17210).
2524 (describe-bindings-internal): Mark obsolete.
2525
2526 2014-04-07 João Távora <joaotavora@gmail.com>
2527
2528 * elec-pair.el:
2529 (electric-pair--syntax-ppss): When inside comments parse from
2530 comment beginning.
2531 (electric-pair--balance-info): Fix typo in comment.
2532 (electric-pair--in-unterminated-string-p): Delete.
2533 (electric-pair--unbalanced-strings-p): New function.
2534 (electric-pair-string-bound-function): New var.
2535 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2536 according to `electric-pair--in-unterminated-string-p'
2537
2538 2014-04-07 João Távora <joaotavora@gmail.com>
2539
2540 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2541 Inhibit quote pairing if point-max is inside an unterminated string.
2542 (electric-pair--looking-at-unterminated-string-p): Delete.
2543 (electric-pair--in-unterminated-string-p): New function.
2544
2545 2014-04-07 Glenn Morris <rgm@gnu.org>
2546
2547 * shell.el (shell-directory-tracker):
2548 Go back to just ignoring failures. (Bug#17159)
2549
2550 2014-04-06 João Távora <joaotavora@gmail.com>
2551
2552 Fix `electric-pair-delete-adjacent-pairs' in modes binding
2553 backspace. (bug#16981)
2554 * elec-pair.el (electric-pair-backward-delete-char): Delete.
2555 (electric-pair-backward-delete-char-untabify): Delete.
2556 (electric-pair-mode-map): Bind backspace to a menu item filtering
2557 a new `electric-pair-delete-pair' command.
2558 (electric-pair-delete-pair): New command.
2559
2560 2014-04-06 João Távora <joaotavora@gmail.com>
2561
2562 * progmodes/python.el (python-electric-pair-string-delimiter):
2563 Fix triple-quoting electricity. (Bug#17192)
2564
2565 2014-04-06 João Távora <joaotavora@gmail.com>
2566
2567 * elec-pair.el (electric-pair-post-self-insert-function):
2568 Don't skip whitespace when `electric-pair-text-pairs' and
2569 `electric-pair-pairs' were used. syntax to
2570 electric-pair--skip-whitespace. (Bug#17183)
2571
2572 2014-04-06 Eli Zaretskii <eliz@gnu.org>
2573
2574 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2575 "<F>". (Bug#17199)
2576
2577 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
2578
2579 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2580 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2581
2582 2014-04-05 Glenn Morris <rgm@gnu.org>
2583
2584 * help.el (view-lossage): Doc tweak.
2585
2586 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
2587
2588 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2589 only when inhibit-x-resources is nil, and do that earlier in the
2590 function. Doc fix. (Bug#16694)
2591 (face-spec-choose): Accept additional optional argument, whose
2592 value is returned if no matching attributes are found.
2593 (face-spec-recalc): Use the new optional argument when calling
2594 face-spec-choose. (Bug#16378)
2595 (make-face-x-resource-internal): Do nothing when
2596 inhibit-x-resources is non-nil. Don't touch the default face if
2597 reversed video is given--as was done in previous versions of Emacs.
2598 (face-set-after-frame-default): Don't call
2599 make-face-x-resource-internal here. (Bug#16434)
2600
2601 2014-04-04 Tassilo Horn <tsdh@gnu.org>
2602
2603 * doc-view.el (doc-view-bookmark-jump):
2604 Use `bookmark-after-jump-hook' to jump to the right page after the
2605 buffer is shown in a window. (bug#16090)
2606
2607 2014-04-04 Eli Zaretskii <eliz@gnu.org>
2608
2609 * international/characters.el (mirroring): Fix last change:
2610 instead of loading uni-mirrored.el explicitly, do that implicitly
2611 by creating the 'mirroring' uniprop table. This avoids announcing
2612 the loading of uni-mirrored.el.
2613
2614 2014-04-04 Glenn Morris <rgm@gnu.org>
2615
2616 * files.el (buffer-stale--default-function)
2617 (buffer-stale-function, revert-buffer--default):
2618 * autorevert.el (auto-revert-buffers): Doc tweaks.
2619
2620 2014-04-03 Eli Zaretskii <eliz@gnu.org>
2621
2622 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
2623
2624 2014-04-03 Glenn Morris <rgm@gnu.org>
2625
2626 * files.el (make-backup-file-name-function)
2627 (make-backup-file-name, make-backup-file-name--default-function)
2628 (make-backup-file-name-1, find-backup-file-name)
2629 (revert-buffer-function, revert-buffer-insert-file-contents-function)
2630 (buffer-stale--default-function, buffer-stale-function)
2631 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2632 (revert-buffer, revert-buffer--default)
2633 (revert-buffer-insert-file-contents--default-function):
2634 Doc fixes related to defaults no longer being nil.
2635 (make-backup-file-name-function): Bump :version.
2636 Restore nil as a valid but deprecated custom type.
2637
2638 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
2639
2640 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
2641 used as a variable (bug#17174).
2642
2643 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
2644
2645 * progmodes/perl-mode.el (perl-indent-new-calculate):
2646 Handle forward-sexp failure (bug#16985).
2647 (perl-syntax-propertize-function): Add "foreach" and "for" statement
2648 modifiers introducing expressions (bug#17116).
2649
2650 2014-04-02 Glenn Morris <rgm@gnu.org>
2651
2652 * menu-bar.el (menu-bar-file-menu):
2653 * vc/ediff.el (ediff-current-file):
2654 Update for revert-buffer-function no longer being nil by default.
2655
2656 * simple.el (command-execute): Respect nil disabled-command-function.
2657
2658 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2659
2660 * simple.el (command-execute): Do not execute the command when it
2661 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2662
2663 2014-03-29 Juri Linkov <juri@jurta.org>
2664
2665 * dired-aux.el (dired-compress-file): Don't use string-match-p
2666 because its match data is used afterwards.
2667
2668 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2669
2670 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2671 0 like nil.
2672
2673 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2674
2675 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2676 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2677
2678 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2679 Don't propertize `?' or `!' as symbol constituent when after
2680 colon. (Bug#17097)
2681
2682 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2683
2684 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2685 which is no longer needed and causes trouble in GTK builds (bug#17046).
2686
2687 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2688 Use url-insert-file-contents; package-handle-response no longer exists.
2689
2690 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2691
2692 * emacs-lisp/package.el: Fix bug#16733 (again).
2693 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2694 (url-http-target-url): Remove unused declarations.
2695 (package-handle-response): Remove.
2696 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2697 (package--download-one-archive): Use current-buffer instead of
2698 dynamic binding of `buffer'.
2699 (describe-package-1): Do not decode readme-string.
2700
2701 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
2702
2703 * simple.el (primitive-undo): Correction to 2014-03-24 change.
2704
2705 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
2706
2707 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2708
2709 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2710 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2711 `remote-file-name-inhibit-cache' to nil in the second pass.
2712 (tramp-find-executable): Do not call "which" on SunOS.
2713 (tramp-send-command-and-check): Fix docstring.
2714 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2715 check whether source directory has set the sticky bit.
2716
2717 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
2718
2719 * simple.el (primitive-undo): Only process marker adjustments
2720 validated against their corresponding (TEXT . POS). Issue warning
2721 for lone marker adjustments in undo history. (Bug#16818)
2722 (undo-make-selective-list): Add marker adjustments to selective
2723 undo list based on whether their corresponding (TEXT . POS) is in
2724 the region. Remove variable adjusted-markers, which was unused
2725 and only non nil during undo-make-selective-list.
2726 (undo-elt-in-region): Return nil when passed a marker adjustment
2727 and explain in function doc.
2728
2729 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2730
2731 * emacs-lisp/package.el (package--add-to-archive-contents):
2732 Include already installed and built-in packages in
2733 `package-archive-contents'.
2734 (package-install): Don't include already installed packages in the
2735 options during interactive invocation. (Bug#16762)
2736
2737 2014-03-24 Daniel Colascione <dancol@dancol.org>
2738
2739 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2740 instead of cl-loop search function.
2741
2742 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
2743
2744 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2745
2746 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2747
2748 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2749
2750 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2751
2752 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2753 Match special global variables without curlies, too.
2754 (ruby-font-lock-keywords): Simplify the matcher for special global
2755 variables. Don't require a non-word character after the variable.
2756 (Bug#17057)
2757
2758 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2759
2760 * simple.el (redisplay-highlight-region-function): Increase priority of
2761 overlay to make sure boundaries are visible (bug#15899).
2762
2763 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2764
2765 * frameset.el (frameset-restore): Compare display strings with equal.
2766
2767 * frame.el (make-frame): Don't quote display name in error message,
2768 it is already a string.
2769
2770 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2771
2772 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2773 the password.
2774
2775 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
2776
2777 * emacs-lisp/package.el (package-show-package-list): If the buffer
2778 is already displayed in another window, switch to that window.
2779
2780 2014-03-21 Daniel Colascione <dancol@dancol.org>
2781
2782 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2783 information in bug reports.
2784
2785 2014-03-23 Daniel Colascione <dancol@dancol.org>
2786
2787 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2788 list to look for keyword arguments instead of `memq', fixing
2789 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2790 Please make bootstrap.
2791
2792 2014-03-23 Richard Stallman <rms@gnu.org>
2793
2794 * battery.el (battery-linux-sysfs): Search for each field
2795 from the beginning of the buffer.
2796
2797 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2798
2799 * emacs-lisp/package.el (package-desc): Use the contents of the
2800 quoted form, not its cdr. (Bug#16873)
2801
2802 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2803
2804 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2805 benefit of doc.c; change parameter profile to match the X function.
2806
2807 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2808
2809 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2810 and `tramp-copy-env'.
2811
2812 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2813 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2814
2815 2014-03-21 Glenn Morris <rgm@gnu.org>
2816
2817 * electric.el (electric-indent-post-self-insert-function): Add doc.
2818
2819 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2820
2821 * emacs-lisp/package.el (package-compute-transaction):
2822 Use `version-list-<=' to compare the requirement version against
2823 the version of package already to be installed. Update the error
2824 message. (Bug#16826)
2825
2826 * progmodes/ruby-mode.el (ruby-smie-rules):
2827 Add indentation rule for ` @ '. (Bug#17050)
2828
2829 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2830
2831 * align.el (align-regexp): Remove superfluous backslash.
2832
2833 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2834 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2835 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2836 Fix docstring typos.
2837 (ffap-next): Use C-u in docstring.
2838 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2839 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2840 Remove superfluous backslashes.
2841 (ffap-string-at-point): Reflow docstring.
2842
2843 * server.el (server-host): Reflow docstring.
2844 (server-unload-function): Fix docstring typo.
2845 (server-eval-at): Remove superfluous backslash.
2846
2847 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2848 (skeleton-insert): Doc fix.
2849 (skeleton-insert): Reflow docstring.
2850
2851 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2852 (tty-color-approximate, tty-color-by-index, tty-color-values)
2853 (tty-color-desc): Remove superfluous backslashes.
2854
2855 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2856
2857 * electric.el (electric-newline-and-maybe-indent): New command.
2858 Bind it globally to C-j.
2859 (electric-indent-mode): Don't mess with the global map any more.
2860 Don't drop the post-self-insert-hook is some buffer is still using it
2861 (bug#16770).
2862
2863 * bindings.el (global-map): Remove C-j binding.
2864
2865 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2866 the docstring of functions advised before dumping (bug#16993).
2867
2868 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2869
2870 * ps-print.el (ps-generate-postscript-with-faces):
2871 Explicitly deactivate the mark (bug#16866).
2872 * simple.el (deactivate-mark): Update region highlight.
2873
2874 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2875
2876 * emacs-lisp/package.el (describe-package-1):
2877 Decode commentary (bug#16733).
2878
2879 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2880
2881 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2882 modification of the value argument of :set (bug#16755).
2883
2884 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2885
2886 * simple.el (newline-and-indent): Do autofill (bug#17031).
2887
2888 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2889
2890 * newcomment.el (comment-normalize-vars): Only add escaping check
2891 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2892 (comment-beginning): Use `narrow-to-region' instead of moving back
2893 one character.
2894 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2895 (comment-start-skip): Update the docstring.
2896
2897 2014-03-18 Richard Stallman <rms@gnu.org>
2898
2899 * dired.el (dired-display-file): Force use of other window.
2900
2901 2014-03-18 Daniel Colascione <dancol@dancol.org>
2902
2903 * startup.el (tty-handle-args): Remove debug message from 2007.
2904
2905 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2906
2907 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2908 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2909 (advice--make-1, advice-add, advice-remove):
2910 Remove braindead :advice-pending hack.
2911
2912 2014-03-17 Glenn Morris <rgm@gnu.org>
2913
2914 * calendar/calendar.el (calendar-generate-month): Apply weekend
2915 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2916
2917 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2918
2919 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2920 (tramp-call-process): Trace also DESTINATION.
2921
2922 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2923 Quote file names when they are local. Remove superfluous trace.
2924
2925 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2926
2927 * newcomment.el (comment-beginning): If `comment-start-skip'
2928 doesn't match, move back one char and try again. (Bug#16971)
2929
2930 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2931 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2932 Set `comment-start-skip' to a simpler value that doesn't try to
2933 check if the semicolon is escaped (this is handled by
2934 `syntax-ppss' now). (Bug#16971)
2935
2936 * progmodes/scheme.el (scheme-mode-variables): Same.
2937
2938 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2939
2940 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2941 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2942 current (Bug#16816, Bug#17007).
2943 (with-current-buffer-window): New macro doing the same as
2944 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2945 * help.el (help-print-return-message): Warn in doc-string to not
2946 use this in `with-help-window'.
2947 (describe-bindings-internal): Call `describe-buffer-bindings'
2948 from within help buffer. See Juanma's scenario in (Bug#16816).
2949 (with-help-window): Update doc-string.
2950 * dired.el (dired-mark-pop-up):
2951 * files.el (save-buffers-kill-emacs):
2952 * register.el (register-preview): Use `with-current-buffer-window'
2953 instead of `with-temp-buffer-window'.
2954
2955 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2956
2957 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2958 Implement inserting into current buffer, documented in their docstrings.
2959 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2960 (rst-section-tree-point, rst-forward-section, rst-indent)
2961 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2962 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2963 (rst-font-lock-handle-adornment-pre-match-form)
2964 (rst-repeat-last-character): Reflow docstrings.
2965 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2966 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2967 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2968 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2969 Fix docstring typos.
2970 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2971 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2972 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2973
2974 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2975
2976 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2977 for compatibility with other ports.
2978 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2979 from the -xrm command line argument, but in the Nextstep port its value
2980 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2981
2982 * progmodes/python.el (defconst, python-syntax-count-quotes)
2983 (python-indent-region, python-indent-shift-right)
2984 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2985 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2986 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2987 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2988 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2989 (python-shell-buffer-substring, python-shell-send-buffer)
2990 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2991 (python-completion-complete-at-point, python-fill-docstring-style)
2992 (python-eldoc-function, python-imenu-format-item-label)
2993 (python-imenu-format-parent-item-label)
2994 (python-imenu-format-parent-item-jump-label)
2995 (python-imenu--build-tree, python-imenu-create-index)
2996 (python-imenu-create-flat-index): Fix docstring typos.
2997 (python-indent-context, python-shell-prompt-regexp, run-python):
2998 Remove superfluous backslashes.
2999 (python-indent-line, python-nav-beginning-of-defun)
3000 (python-shell-get-buffer, python-shell-get-process)
3001 (python-info-current-defun, python-info-current-line-comment-p)
3002 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
3003 (python-indent-post-self-insert-function, python-shell-send-file)
3004 (python-shell-completion-get-completions)
3005 (python-shell-completion-complete-or-indent)
3006 (python-eldoc--get-doc-at-point): Reflow docstrings.
3007
3008 2014-03-14 Glenn Morris <rgm@gnu.org>
3009
3010 * emacs-lisp/package.el (package-menu-mode-map):
3011 Replace use of obsolete function alias. Tweak menu item text.
3012
3013 * info.el (Info-finder-find-node):
3014 Ignore the `emacs' metapackage. (Bug#10813)
3015
3016 * finder.el (finder-list-matches): Include unversioned packages
3017 in the result of a keyword search.
3018
3019 * finder.el (finder--builtins-descriptions): New constant.
3020 (finder-compile-keywords): Use finder--builtins-descriptions.
3021
3022 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
3023
3024 * simple.el (blink-matching-paren): Describe the new value,
3025 `jump', enabling the old behavior.
3026 (blink-matching-open): Use that value. (Bug#17008)
3027
3028 2014-03-14 Glenn Morris <rgm@gnu.org>
3029
3030 * finder.el (finder-no-scan-regexp): Add leim-list.
3031 (finder-compile-keywords):
3032 Don't skip files with same basename. (Bug#14010)
3033 * Makefile.in (setwins_finder): New, excluding leim.
3034 (finder-data): Use setwins_finder.
3035
3036 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
3037 (help-function-arglist, help-make-usage): Move from here...
3038 * help.el (help-split-fundoc, help-add-fundoc-usage)
3039 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
3040 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
3041
3042 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
3043
3044 * net/socks.el (socks, socks-override-functions)
3045 (socks-find-services-entry):
3046 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
3047 (hif-find-ifdef-block):
3048 * progmodes/modula2.el (m2-indent): Fix docstring typos.
3049
3050 * net/tls.el (tls-program): Reflow docstring.
3051
3052 * progmodes/pascal.el (pascal-mode-abbrev-table)
3053 (pascal-imenu-generic-expression, pascal-auto-endcomments)
3054 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
3055 (pascal-outline-mode): Fix docstring typos.
3056 (pascal-mode): Let define-derived-mode document mode hook.
3057 (pascal-uncomment-area): Reflow.
3058 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
3059
3060 * progmodes/opascal.el (opascal-compound-block-indent)
3061 (opascal-case-label-indent): Fix docstring typos.
3062 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
3063
3064 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
3065
3066 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3067 Fontify multiple adjacent negation chars. (Bug#17004)
3068
3069 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
3070
3071 * emacs-lisp/package.el (package--prepare-dependencies):
3072 Accept requirements without explicit version (bug#14941).
3073
3074 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3075
3076 * register.el (register-separator, copy-to-register): Doc fixes.
3077 (register-preview-default): Remove unnecessary call to concat.
3078
3079 * frameset.el (frameset-restore): When checking for a visible frame,
3080 use the action map instead of calling visible-frame-list.
3081
3082 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
3083
3084 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
3085
3086 2014-03-12 Martin Rudalics <rudalics@gmx.at>
3087
3088 * window.el (fit-frame-to-buffer): Get maximum width from
3089 display's width instead of height.
3090
3091 2014-03-12 Glenn Morris <rgm@gnu.org>
3092
3093 * desktop.el (desktop-restore-frames)
3094 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
3095 (desktop-restore-reuses-frames): Doc tweaks.
3096
3097 * electric.el (electric-indent-mode): Doc fix.
3098
3099 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3100
3101 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
3102 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
3103 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
3104 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
3105 (cvs-dired-use-hook): Fix docstring typos.
3106 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
3107 Doc fixes.
3108
3109 * vc/pcvs-defs.el (cvs-auto-remove-handled)
3110 (cvs-auto-remove-directories, cvs-default-ignore-marks)
3111 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
3112 (cvs-execute-single-dir): Fix docstring typos.
3113
3114 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
3115 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
3116
3117 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
3118
3119 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
3120 Fix docstring typos.
3121
3122 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3123
3124 * frameset.el (frameset--jump-to-register): Add autoload; it could be
3125 called from jump-to-register after unloading the frameset package.
3126
3127 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3128
3129 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
3130 (bug#16975). Deactivate the mark before setting it to nil.
3131 (activate-mark): Do nothing if region is already active.
3132
3133 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3134
3135 * frameset.el (frameset--target-display): Remove definition; declare.
3136 (frameset-save, frameset-restore): Let-bind frameset--target-display.
3137
3138 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3139
3140 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
3141 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
3142 when the advice is pending.
3143 (advice-remove): Remove this marker when not needed any more.
3144
3145 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3146
3147 * frameset.el: Separate options for reusing frames and cleaning up.
3148 (frameset--reuse-list): Remove definition; declare.
3149 (frameset--action-map): Declare.
3150 (frameset--find-frame-if): Doc fix.
3151 (frameset--restore-frame): Cache frame action.
3152 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
3153 how to clean up the frame list after restoring. Remove cleaning
3154 options from REUSE-FRAMES. Change all keyword values to symbols.
3155 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
3156
3157 * desktop.el (desktop-restore-forces-onscreen)
3158 (desktop-restore-reuses-frames): Use non-keyword values.
3159 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
3160
3161 2014-03-10 Glenn Morris <rgm@gnu.org>
3162
3163 * files.el (find-file): Doc fix: update info node name.
3164
3165 * emacs-lisp/advice.el (ad-add-advice, defadvice):
3166 Doc fix: remove references to deleted info nodes.
3167
3168 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
3169
3170 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3171 Do not add `nil' to the environment, when there's no remote `locale'.
3172 (tramp-find-inline-encoding): Check, that the remote host has
3173 installed perl, before sending scripts.
3174
3175 2014-03-10 Leo Liu <sdl.web@gmail.com>
3176
3177 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3178 Clear eldoc-last-message. (Bug#16920)
3179
3180 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3181
3182 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
3183 (bug#14430).
3184
3185 2014-03-09 Juri Linkov <juri@jurta.org>
3186
3187 * ansi-color.el (ansi-color-names-vector): Copy default colors
3188 from `xterm-standard-colors' that look well on the default white
3189 background (and also on the black background) to avoid illegible
3190 color combinations like yellow-on-white and white-on-white.
3191 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
3192
3193 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
3194
3195 * frameset.el (frameset-restore): When no frame is visible, do not
3196 generate a list of frames, just make visible the selected one.
3197
3198 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
3199
3200 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
3201 it only contains the repository root. (Bug#16897)
3202
3203 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
3204
3205 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
3206 only when `remote-file-name-inhibit-cache' is nil.
3207 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
3208
3209 2014-03-06 Martin Rudalics <rudalics@gmx.at>
3210
3211 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
3212 Fix doc-strings.
3213 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
3214 fit-frame-to-buffer variable. Fix doc-string.
3215 (fit-window-to-buffer): Set ONLY argument in call of
3216 fit-frame-to-buffer. Fix doc-string.
3217
3218 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
3219
3220 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
3221 (tramp-action-password): Clear password cache if needed.
3222 (tramp-read-passwd): Do not clear password cache.
3223
3224 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
3225 cache unless it is the first password request.
3226
3227 2014-03-06 Glenn Morris <rgm@gnu.org>
3228
3229 * simple.el (newline): Doc tweak.
3230
3231 * emacs-lisp/shadow.el (load-path-shadows-find):
3232 Ignore dir-locals. (Bug#12357)
3233
3234 2014-03-05 Glenn Morris <rgm@gnu.org>
3235
3236 * files.el (interpreter-mode-alist):
3237 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
3238
3239 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3240
3241 * frameset.el (frameset--initial-params): Filter out null entries.
3242
3243 2014-03-05 Martin Rudalics <rudalics@gmx.at>
3244
3245 * window.el (window-min-height, window-min-width):
3246 Rewrite doc-strings.
3247 (window-body-size): Add PIXELWISE argument to make it consistent
3248 with its callees.
3249
3250 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3251
3252 * finder.el (finder-mode-map, finder-mode-syntax-table):
3253 Revert part of 2014-02-28 change.
3254
3255 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
3256
3257 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
3258 (eww-setup-buffer): Clear next/prev/etc more reliably.
3259 (eww-textarea-map): [tab] doesn't work on tty.
3260 Reported by Mario Lang.
3261
3262 * net/shr.el (shr-map): Ditto.
3263
3264 2014-03-04 Glenn Morris <rgm@gnu.org>
3265
3266 * minibuffer.el (completion-hilit-commonality):
3267 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
3268
3269 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3270
3271 * hilit-chg.el (hilit-chg-unload-function): New function.
3272 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
3273 (hilit-chg-map-changes): Prefer cardinal number to digit.
3274 (hilit-chg-display-changes): Reflow docstring.
3275 (highlight-changes-rotate-faces): Remove superfluous backslash.
3276
3277 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
3278
3279 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
3280 `tramp-send-command-and-check'.
3281
3282 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3283
3284 * hexl.el (hexl-address-region, hexl-ascii-region)
3285 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
3286 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
3287 (hexl-forward-word, hexl-previous-line, hexl-next-line):
3288 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
3289 (hexl-mode): Doc fix.
3290 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
3291 (hexl-mode-ruler): Fix typos in docstrings.
3292
3293 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
3294 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
3295 Remove superfluous backslashes.
3296 (strokes-last-stroke, strokes-global-map, strokes-mode):
3297 Reflow docstrings.
3298 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
3299 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
3300 (strokes-distance-squared, strokes-global-set-stroke)
3301 (strokes-global-set-stroke-string): Doc fixes.
3302 (strokes-help): Fix typos; reflow docstring.
3303
3304 2014-03-04 Martin Rudalics <rudalics@gmx.at>
3305
3306 * window.el (window-in-direction): Fix doc-string.
3307
3308 2014-03-04 Glenn Morris <rgm@gnu.org>
3309
3310 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
3311 Explicit error if no grammar.
3312 (smie-config-save): Doc fix. Fix quote typo.
3313
3314 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
3315
3316 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
3317 electric-indent-mode-hook if we obey electric-indent-mode.
3318 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
3319 decide whether we obey electric-indent-mode.
3320 (c-change-set-fl-decl-start, c-extend-after-change-region):
3321 Silence warnings.
3322 (c-electric-indent-mode-hook): Assume we do want to obey
3323 electric-indent-mode.
3324
3325 * electric.el (electric-indent-mode-has-been-called): Remove.
3326 (electric-indent-mode): Fix accordingly.
3327
3328 * files.el (hack-local-variables): Mention file name in warning.
3329
3330 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
3331
3332 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
3333
3334 * bindings.el: Add comment describing why C-d binds to `delete-char'.
3335 * simple.el (delete-forward-char): Mark as interactive-only.
3336
3337 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
3338
3339 * icomplete.el (icomplete-completions):
3340 Follow-up to 2014-03-01 change.
3341
3342 * icomplete.el: Miscellaneous doc fixes.
3343 Use Icomplete everywhere instead of icomplete for consistency.
3344 (icomplete-max-delay-chars): Fix typo.
3345 (icomplete-mode): Use \[].
3346 (icomplete-tidy, icomplete-exhibit): Reflow.
3347 (icomplete-minibuffer-setup-hook, icomplete-completions):
3348 Remove superfluous backlashes.
3349
3350 * ido.el: Miscellaneous doc fixes.
3351 Use Ido everywhere instead of ido or `ido' for consistency.
3352 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
3353 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
3354 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
3355 (ido-separator): Extract obsolescence info from docstring and declare
3356 with make-obsolete-variable.
3357 (ido-minibuffer-setup-hook): Simplify example.
3358 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
3359 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
3360 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
3361 (ido-everywhere): Reflow docstring.
3362 (ido-toggle-vc): Doc fix.
3363 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
3364 of long list of keybindings.
3365
3366 2014-03-03 Glenn Morris <rgm@gnu.org>
3367
3368 * frame.el (display-pixel-height, display-pixel-width)
3369 (display-mm-dimensions-alist, display-mm-height)
3370 (display-mm-width): Doc tweaks.
3371
3372 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
3373
3374 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
3375 case of undo in region.
3376
3377 2014-03-02 Martin Rudalics <rudalics@gmx.at>
3378
3379 * window.el (fit-window-to-buffer): Fix argument in window-size
3380 call when window is horizontally combined.
3381
3382 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
3383
3384 * icomplete.el (icomplete-completions): Use string-width.
3385 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
3386
3387 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
3388
3389 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3390 Highlight regexp options. (Bug#16914)
3391
3392 2014-03-01 Martin Rudalics <rudalics@gmx.at>
3393
3394 * window.el (window--max-delta-1): Round down when calculating
3395 how many lines/columns we can get from a window.
3396
3397 2014-03-01 Glenn Morris <rgm@gnu.org>
3398
3399 * isearch.el (search-invisible): Doc fix.
3400
3401 * minibuffer.el (completion-hilit-commonality):
3402 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
3403 * comint.el (comint-dynamic-list-completions): Doc fix.
3404 * comint.el (comint-dynamic-list-completions):
3405 * filecache.el (file-cache-minibuffer-complete):
3406 * tempo.el (tempo-display-completions):
3407 * eshell/em-hist.el (eshell-list-history):
3408 Replace use of obsolete argument of display-completion-list.
3409
3410 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
3411
3412 * icomplete.el (icomplete-completions):
3413 Revert back to using "..." when ?… cannot be displayed.
3414
3415 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3416
3417 * finder.el (finder-unload-function): New function.
3418
3419 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3420
3421 * dframe.el (dframe-detach):
3422 * find-dired.el (find-dired, find-name-dired):
3423 * finder.el (finder-mode-map, finder-mode-syntax-table)
3424 (finder-headmark, finder-select, finder-mouse-select):
3425 Fix docstring typos.
3426
3427 2014-02-28 Martin Rudalics <rudalics@gmx.at>
3428
3429 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
3430 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
3431 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3432 Fix doc-string based on a suggestion by Nicolas Richard
3433 <theonewiththeevillook@yahoo.fr>.
3434 * help.el (with-help-window): Fix doc-string.
3435
3436 2014-02-28 Ivan Kanis <ivan@kanis.fr>
3437
3438 * net/shr.el (shr-image-animate): New option.
3439 (shr-put-image): Respect shr-image-animate.
3440
3441 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
3442
3443 * net/tramp-adb.el (tramp-adb-parse-device-names):
3444 Use `accept-process-output'.
3445 (tramp-adb-handle-file-truename): Cache the localname only.
3446 (tramp-adb-handle-make-directory)
3447 (tramp-adb-handle-delete-directory): Flush file properties correctly.
3448 (tramp-adb-handle-set-file-modes): Do not raise an error when file
3449 modes cannot be changed.
3450
3451 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3452 file properties of symlinks.
3453
3454 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
3455
3456 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3457 required/optional fields to match development biblatex. (Bug#16781)
3458
3459 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
3460
3461 * saveplace.el (toggle-save-place):
3462 Fix argument handling. (Bug#16673)
3463
3464 2014-02-28 Glenn Morris <rgm@gnu.org>
3465
3466 * minibuffer.el (completions-first-difference)
3467 (completions-common-part, completion-hilit-commonality): Doc fixes.
3468
3469 2014-02-28 Karl Berry <karl@gnu.org>
3470
3471 * info.el (Info-mode-map): Add H for describe-mode,
3472 to synchronize with standalone Info.
3473
3474 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
3475
3476 * progmodes/sql.el (sql-interactive-mode):
3477 Avoid setting global comint-input-ring-separator. (Bug#16814)
3478
3479 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3480
3481 * net/dbus.el (dbus--init-bus): Declare function.
3482 (dbus-path-local, dbus-interface-local): New defconst.
3483 (dbus-init-bus): Use them.
3484 (dbus-return-values-table): Extend doc.
3485 (dbus-handle-bus-disconnect): Extend error message.
3486
3487 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
3488
3489 * subr.el (y-or-n-p): Fix double space issue in message.
3490
3491 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3492
3493 * net/tramp.el (tramp-call-process): Improve trace message.
3494 (tramp-handle-insert-file-contents): Trace error case.
3495
3496 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3497 <insert-directory>: Use `tramp-handle-insert-directory'.
3498 (tramp-adb-handle-insert-directory): Remove function.
3499 (tramp-adb-send-command-and-check): New defun, replacing
3500 `tramp-adb-command-exit-status'. Change all callees.
3501 (tramp-adb-handle-file-attributes)
3502 (tramp-adb-handle-directory-files-and-attributes): Use it.
3503 (tramp-adb-ls-output-name-less-p):
3504 Use `directory-listing-before-filename-regexp'.
3505 (tramp-adb-handle-delete-directory): Flush also file properties of
3506 the truename of directory.
3507 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3508 (tramp-adb-handle-file-local-copy): Make the local copy readable.
3509 (tramp-adb-handle-write-region): Implement APPEND.
3510 (tramp-adb-handle-rename-file): Make it more robust. Flush file
3511 properties correctly.
3512 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3513 variables. Check for connected devices only when needed.
3514
3515 2014-02-27 Glenn Morris <rgm@gnu.org>
3516
3517 * minibuffer.el (completion-table-dynamic)
3518 (completion-table-with-cache): Doc fixes.
3519
3520 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3521 (completing-read-multiple): Doc fixes.
3522
3523 2014-02-27 Daniel Colascione <dancol@dancol.org>
3524
3525 * minibuffer.el (completion--nth-completion): Fix indentation.
3526
3527 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3528 explicit tramp path is empty.
3529
3530 2014-02-27 Glenn Morris <rgm@gnu.org>
3531
3532 * emacs-lisp/crm.el (completing-read-multiple):
3533 Empower help-enable-auto-load.
3534
3535 2014-02-26 Glenn Morris <rgm@gnu.org>
3536
3537 * startup.el (command-line): Don't init the tty in daemon mode.
3538
3539 Avoid calling tty-setup-hook twice, eg if a term file
3540 explicitly calls tty-run-terminal-initialization. (Bug#16859)
3541 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3542 (tty-create-frame-with-faces): Use it.
3543 * startup.el (command-line): Pass run-hook argument
3544 to tty-run-terminal-initialization.
3545
3546 * dired.el (dired-restore-desktop-buffer): Demote errors;
3547 eg in case a glob match fails. (Bug#16884)
3548
3549 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
3550
3551 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3552 error from `read-from-string'. (Bug#16850)
3553
3554 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3555 result of `completing-read' in the interactive form. (Bug#16854)
3556
3557 2014-02-25 Glenn Morris <rgm@gnu.org>
3558
3559 * image.el (image-animate, image-animate-timeout):
3560 Stop animating images in dead buffers. (Bug#16878)
3561
3562 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
3563
3564 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3565 Doc fixes.
3566 * startup.el (term-setup-hook): Doc fix. Make obsolete.
3567 * term/sun.el (sun-raw-prefix-hooks):
3568 Use tty-setup-hook instead of term-setup-hook.
3569 (terminal-init-sun): Construct message from bytecomp plist.
3570 * term/wyse50.el (enable-arrow-keys): Doc fix.
3571
3572 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3573
3574 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3575 Fix docstring typos.
3576
3577 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
3578
3579 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3580
3581 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3582
3583 * minibuffer.el (completion--try-word-completion):
3584 Fix error when completing M-x commands (bug#16808).
3585
3586 2014-02-24 Leo Liu <sdl.web@gmail.com>
3587
3588 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3589
3590 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3591
3592 * apropos.el (apropos-print): Avoid formatting error when
3593 apropos-do-all and apropos-compact-layout are both t.
3594
3595 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3596
3597 * apropos.el (apropos-property, apropos-all-words-regexp)
3598 (apropos-true-hit, apropos-variable, apropos-print):
3599 Fix docstring typos, and remove obsolete comment.
3600
3601 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3602
3603 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3604 Preserve trailing "/". (Bug#16851)
3605
3606 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3607
3608 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3609 after `=>' (bug#16811).
3610 (ruby-smie-rules): Handle the inconsistent second element of the
3611 list returned by `smie-indent--parent'.
3612 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3613 method call.
3614
3615 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3616
3617 * elec-pair.el (electric-pair-text-syntax-table)
3618 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3619 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3620 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3621 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3622
3623 2014-02-22 Glenn Morris <rgm@gnu.org>
3624
3625 * imenu.el (imenu--generic-function): Doc fix.
3626
3627 * register.el (frame-configuration-to-register): Make obsolete.
3628
3629 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
3630
3631 * desktop.el (desktop-save-buffer-p): Do not fail when
3632 desktop-files-not-to-save is nil. Return t for true result
3633 as the doc says.
3634
3635 2014-02-22 Daniel Colascione <dancol@dancol.org>
3636
3637 * net/secrets.el (secrets-create-item, secrets-search-items):
3638 Check that attribute values are strings, avoiding the construction
3639 of invalid dbus messages.
3640
3641 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3642
3643 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3644 defun-declarations-alist.
3645
3646 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3647
3648 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3649 (bug#16829).
3650
3651 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3652
3653 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3654 (whitespace-newline, whitespace-trailing, whitespace-line)
3655 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3656 (whitespace-space-after-tab): Fix typo in docstrings.
3657
3658 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3659
3660 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3661
3662 * electric.el (electric-indent-functions-without-reindent):
3663 Add `yaml-indent-line'.
3664
3665 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3666
3667 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3668 It has done nothing for years; should be removed after the release.
3669
3670 * simple.el (choose-completion): Fix docstring typo.
3671 (read-quoted-char-radix): Remove unneeded * in docstring.
3672 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3673 Don't escape parentheses unnecessarily in docstrings.
3674
3675 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3676
3677 Fix handling of window-min-height/-width (Bug#16738).
3678 * window.el (window--dump-window, window--dump-frame):
3679 New functions.
3680 (window--min-size-1): Account for window dividers.
3681 When window-resize-pixelwise is nil, delay rounding till after the
3682 sum of the window components has been calculated.
3683 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3684 nil make sure at least one text line and two text columns remain
3685 fully visible.
3686 (window-resize): Signal an error when window-resize-apply fails.
3687 (window--resize-child-windows): Fix calculation of by how many
3688 pixels a window can still be shrunk via window-new-normal.
3689 (adjust-window-trailing-edge): Call window--resizable with
3690 correct TRAIL argument.
3691
3692 (with-temp-buffer-window): Don't evaluate BODY within
3693 with-current-buffer (Bug#16816).
3694
3695 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3696
3697 * net/tramp.el (tramp-check-cached-permissions):
3698 Call `file-attributes' with `suffix' being a symbol but a string.
3699
3700 2014-02-21 Daniel Colascione <dancol@dancol.org>
3701
3702 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3703 (dbus-init-bus): New function: call into dbus-init-bus-1
3704 and installs a handler for the disconnect signal.
3705 (dbus-call-method): Rewrite to look for result in cons.
3706 (dbus-call-method-handler): Store result in cons.
3707 (dbus-check-event): Recognize events with nil sender as valid.
3708 (dbus-handle-bus-disconnect): New function. React to bus
3709 disconnection signal by synthesizing dbus error for each
3710 pending synchronous or asynchronous call.
3711 (dbus-notice-synchronous-call-errors): New function.
3712 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3713 is true, not all the time.
3714
3715 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3716
3717 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3718 Remove obsolescence declarations, these variables do not exist anymore.
3719
3720 * savehist.el (savehist-save-minibuffer-history)
3721 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3722 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3723 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3724 mostly, refer to "Savehist mode" when talking about the mode,
3725 and not the function.
3726
3727 * saveplace.el (save-place): Remove redundant info in docstring.
3728 (save-place-forget-unreadable-files, toggle-save-place)
3729 (save-place-forget-unreadable-files, save-place-dired-hook):
3730 Fix typos and remove unneeded backslashes.
3731
3732 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3733
3734 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3735 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3736
3737 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3738 <insert-directory>: Use `tramp-handle-insert-directory'.
3739 (tramp-gvfs-handle-insert-directory): Remove function.
3740
3741 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3742 Call `tramp-handle-insert-directory'.
3743
3744 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3745
3746 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3747 before the start of buffer/region (bug#16799).
3748
3749 2014-02-20 Glenn Morris <rgm@gnu.org>
3750
3751 * isearch.el (search-invisible): Doc fix.
3752
3753 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3754
3755 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3756 (bug#16657).
3757
3758 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3759
3760 * frameset.el (frameset-restore): Delay removing an old frame's
3761 duplicate id until the new frame has been correctly created.
3762
3763 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3764
3765 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3766 (tramp-check-cached-permissions): Call `file-attributes' if the
3767 cache is empty.
3768
3769 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3770 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3771
3772 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3773 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3774 (tramp-gvfs-maybe-open-connection): Set always connection
3775 properties, even if target is mounted already.
3776
3777 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3778 Set tramp-autoload cookie.
3779 (tramp-get-remote-touch): New defun.
3780 (tramp-sh-handle-set-file-times): Use it.
3781 (tramp-sh-handle-directory-files-and-attributes):
3782 Use `tramp-handle-directory-files-and-attributes' if neither stat
3783 nor perl are available on the remote host.
3784
3785 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3786 "/". Write long listing only when "l" belongs to the switches.
3787
3788 * net/trampver.el: Update release number.
3789
3790 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3791
3792 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3793
3794 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3795
3796 * window.el (window-state-put): Allow WINDOW to refer to an
3797 internal window (Bug#16793).
3798
3799 2014-02-19 Glenn Morris <rgm@gnu.org>
3800
3801 * textmodes/remember.el: Move provide statement to end.
3802 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3803 (remember-notes): Doc fixes.
3804
3805 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3806
3807 * delsel.el (delete-char): Restore incorrectly erased property
3808 (bug#16795).
3809
3810 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3811
3812 * frameset.el (frameset--restore-frame): When a frame is being reused
3813 and its root window is not alive, delete all the frame's windows before
3814 restoring the window state. This works around the issue in bug#16793.
3815
3816 2014-02-18 Glenn Morris <rgm@gnu.org>
3817
3818 * textmodes/remember.el (remember-data-directory)
3819 (remember-directory-file-name-format, remember-store-in-files)
3820 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3821 (remember-notes-save-and-bury-buffer)
3822 (remember-notes--kill-buffer-query): Doc fixes.
3823
3824 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3825
3826 2014-02-17 Alan Mackenzie <acm@muc.de>
3827
3828 Connect electric-indent-mode up with CC Mode. Bug #15478.
3829 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3830 to electric-indent-{,local-}-mode.
3831 (c-basic-common-init): Set electric-indent-inhibit.
3832 Initialise c-electric-flag from electric-indent-mode.
3833 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3834 New hook functions which propagate electric-indent-mode to CC mode.
3835
3836 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3837 hit, toggle electric-indent-local-mode.
3838
3839 * electric.el (electric-indent-mode-has-been-called):
3840 New variable.
3841
3842 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3843
3844 * frameset.el (frameset-cfg-id): New function.
3845 (frameset--reuse-frame, frameset-restore): Use it.
3846 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3847
3848 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3849
3850 * ido.el (ido-file-internal): Remove unused var `d'.
3851 Use \` for to match BoS. Fit within 80n columns.
3852
3853 2014-02-17 Daniel Colascione <dancol@dancol.org>
3854
3855 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3856 dbus-call-method check for completion using a busy-wait loop with
3857 gradual backoff.
3858
3859 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3860
3861 Sync with Tramp 2.2.9.
3862
3863 * net/trampver.el: Update release number.
3864
3865 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3866
3867 * ido.el (ido-file-internal): Don't add the name of an existing
3868 directory twice. (Bug#16747)
3869
3870 2014-02-16 Glenn Morris <rgm@gnu.org>
3871
3872 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3873 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3874
3875 2014-02-15 Michael R. Mauger <michael@mauger.com>
3876
3877 * progmodes/sql.el: Version 3.4
3878 (sql-oracle-options): New default value ("-L").
3879 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3880 (sql-placeholders-filter): Correct placeholder pattern.
3881 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3882 (sql-login-delay): New variable.
3883 (sql-product-interactive): Use it.
3884
3885 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3886
3887 * frameset.el (frameset--jump-to-register): Check that buffer is live
3888 (bug#16749).
3889
3890 2014-02-15 Glenn Morris <rgm@gnu.org>
3891
3892 * info.el (info-initialize): Revert 2014-01-10 change.
3893
3894 2014-02-14 Glenn Morris <rgm@gnu.org>
3895
3896 * replace.el (map-query-replace-regexp)
3897 (read-regexp-defaults-function, read-regexp): Doc fixes.
3898
3899 * dired.el (dired-read-regexp):
3900 * faces.el (list-faces-display):
3901 * misearch.el (multi-isearch-read-matching-buffers)
3902 (multi-isearch-read-matching-files):
3903 * play/cookie1.el (cookie-apropos):
3904 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3905
3906 * textmodes/remember.el (remember): Use frameset-to-register
3907 rather than frame-configuration-to-register.
3908
3909 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3910
3911 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3912 incorrect keybinding.
3913
3914 2014-02-13 Daniel Colascione <dancol@dancol.org>
3915
3916 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3917 when adding overlays so that line numbers from compiler match line
3918 numbers we use.
3919
3920 2014-02-13 Glenn Morris <rgm@gnu.org>
3921
3922 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3923
3924 * jit-lock.el (jit-lock-mode): Doc fix.
3925
3926 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3927
3928 * apropos.el (apropos-read-pattern): When the user passes an empty
3929 string, give a more helpful error message than "Wrong type
3930 argument: stringp, nil".
3931
3932 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3933
3934 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3935
3936 2014-02-13 Glenn Morris <rgm@gnu.org>
3937
3938 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3939
3940 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3941
3942 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3943 shift-select commands.
3944
3945 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3946
3947 * progmodes/js.el (js-indent-line): Don't widen.
3948 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3949
3950 2014-02-12 Glenn Morris <rgm@gnu.org>
3951
3952 * icomplete.el (icomplete): Add info-link to defgroup.
3953 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3954 (icomplete-minibuffer-map, icomplete-mode)
3955 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3956
3957 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3958 (package-menu-filter): Rename from package-menu-filter-interactive.
3959 Doc fix.
3960
3961 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3962
3963 * frameset.el (frameset--jump-to-register): Select the required
3964 window and buffer before restoring position (bug#16696).
3965
3966 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3967
3968 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3969
3970 2014-02-10 Glenn Morris <rgm@gnu.org>
3971
3972 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3973
3974 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3975
3976 * w32-common-fns.el (x-get-selection): Doc fix.
3977 * select.el (x-get-selection): Doc fix. (Bug#15109)
3978
3979 * face-remap.el (face-remap-add-relative)
3980 (face-remap-remove-relative, face-remap-reset-base)
3981 (face-remap-set-base): Call force-mode-line-update to redisplay
3982 the current buffer due to potential change in faces. (Bug#16709)
3983
3984 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3985
3986 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3987 script more robustly.
3988
3989 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3990
3991 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3992
3993 * simple.el (choose-completion): Doc fix (bug#14160).
3994
3995 * subr.el (event-start): Say what a nil EVENT value means.
3996
3997 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3998 (bug#14197).
3999
4000 * progmodes/grep.el (find-program): Doc fix (bug#14289).
4001
4002 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
4003
4004 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
4005
4006 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
4007 predicate function (bug#15455).
4008
4009 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
4010
4011 * ielm.el (inferior-emacs-lisp-mode): Instead of
4012 `comment-use-global-state', set `comment-use-syntax'.
4013
4014 2014-02-10 Glenn Morris <rgm@gnu.org>
4015
4016 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
4017
4018 2014-02-09 Alan Mackenzie <acm@muc.de>
4019
4020 Fix c-invalidate-state-cache on narrowed buffers.
4021 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
4022 Widen when setting and clearing the CPP delimiter properties.
4023
4024 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
4025
4026 * help.el (describe-bindings): Doc fix (bug#9888).
4027
4028 * files.el (save-buffer): Use ARG as the parameter name for
4029 consistency (bug#10346).
4030 (save-buffer): Clarify the 0 argument (bug#10346).
4031
4032 * cus-edit.el (customize-apropos): Fix error string.
4033 (custom-buffer-create): Doc fix (bug#11122).
4034 (custom-sort-items): Doc fix (bug#11121).
4035
4036 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
4037
4038 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
4039 (icomplete-simple-completing-p): Mention the previous variable.
4040
4041 * font-lock.el (font-lock-value-in-major-mode): Clarify the
4042 meaning of the parameter (bug#12282).
4043
4044 * files.el (find-file-noselect): Clarify prompt when changing
4045 readedness (bug#13261).
4046 (locate-file): Suffixes aren't returned, so don't say that they
4047 are (bug#12674).
4048 (backup-inhibited): Doc clarification (bug#12525).
4049
4050 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
4051 before we actually start to delete things (bug#16331).
4052
4053 * subr.el (event-start): Doc fix (bug#14228).
4054 (event-end): Ditto.
4055
4056 2014-02-09 Glenn Morris <rgm@gnu.org>
4057
4058 * emacs-lisp/warnings.el (lwarn):
4059 Empower help-enable-auto-load. (Bug#15940)
4060
4061 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4062
4063 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
4064 (Bug#16690)
4065
4066 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
4067
4068 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4069 Insert output at end of buffer. (Bug#16120)
4070
4071 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4072
4073 * simple.el (choose-completion-string-functions): Document new
4074 calling convention (bug#14153).
4075 (execute-extended-command): Clarify doc string (bug#13373).
4076
4077 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
4078
4079 * find-dired.el (find-name-dired): Doc fix (bug#14290).
4080 (find-grep-dired): Doc fix (bug#14288).
4081
4082 2014-02-08 Juri Linkov <juri@jurta.org>
4083
4084 * isearch.el (isearch-quote-char): Check character validity
4085 like in `quoted-insert' (bug#16677).
4086
4087 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4088
4089 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
4090
4091 * isearch.el (isearch-hide-immediately): Doc clarification
4092 (bug#14723).
4093
4094 * simple.el (line-move): Document utility function used many
4095 places in the Emacs sources (bug#14843).
4096
4097 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
4098 (dired-prev-marked-file): Doc fix (bug#14855).
4099 (dired-up-directory): Doc fix (bug#14848).
4100
4101 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
4102
4103 * files.el (file-relative-name): Doc fix (bug#15159).
4104
4105 * fringe.el (fringe-styles): Doc fix (bug#15239).
4106
4107 * isearch.el (isearch-filter-predicate): Documentation typo fix
4108 (bug#15474).
4109
4110 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
4111
4112 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
4113
4114 * replace.el (replace-match-maybe-edit): Doc clarification
4115 (bug#15632).
4116
4117 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
4118
4119 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
4120
4121 2014-02-08 Glenn Morris <rgm@gnu.org>
4122
4123 * help-fns.el (describe-variable):
4124 Check {file,dir}-local-variables-alist, and buffer-file-name,
4125 in the correct buffer.
4126
4127 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
4128
4129 * help-fns.el (describe-variable): Fix the case where
4130 a value is directory-local with no dir-locals file. (Bug#16635)
4131
4132 2014-02-08 Glenn Morris <rgm@gnu.org>
4133
4134 * abbrev.el (edit-abbrevs-mode):
4135 Derive from fundamental-mode. (Bug#16682)
4136
4137 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
4138
4139 * simple.el (quoted-insert): Check character validity (bug#16677).
4140
4141 2014-02-07 Juri Linkov <juri@jurta.org>
4142
4143 * desktop.el (desktop-read): Claim the lock when the owner is not
4144 the current process. (Bug#16157)
4145
4146 2014-02-07 Juri Linkov <juri@jurta.org>
4147
4148 * desktop.el (desktop-buffers-not-to-save): Change default from nil
4149 to "\\` ". (Bug#16651)
4150
4151 2014-02-07 Juri Linkov <juri@jurta.org>
4152
4153 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
4154 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
4155 (desktop-auto-save-cancel-timer): New function with some code from
4156 `desktop-auto-save-set-timer'.
4157 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
4158 Instead of setting `desktop-save-mode' to nil, call
4159 `desktop-save-mode' with arg 0. (Bug#16630)
4160
4161 2014-02-07 Glenn Morris <rgm@gnu.org>
4162
4163 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
4164 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
4165 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
4166
4167 * obsolete/iswitchb.el: Move to obsolete/.
4168 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
4169 since obsolete/ is not scanned for autoloads.
4170 * emacs-lisp/authors.el (authors-valid-file-names):
4171 Add iswitchb.el.
4172
4173 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
4174 Disable now non-functional find-file-hook.
4175
4176 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
4177
4178 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
4179 instead of ";" in order to avoid additional prompts. Let heredoc
4180 scripts read from tty. (Bug#16582)
4181 (tramp-send-command): No special handling of heredocs, it isn't
4182 necessary anymore.
4183
4184 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
4185
4186 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
4187 with a space (bug#16664). Limit the symbols considered to the ones
4188 that are bound or fbound (bug#16646).
4189
4190 2014-02-06 Glenn Morris <rgm@gnu.org>
4191
4192 * epa.el (epa-mail-aliases): Doc fix.
4193
4194 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
4195
4196 * emacs-lisp/lisp.el (lisp-completion-at-point):
4197 Use `completion-table-merge' instead of `completion-table-in-turn'
4198 (bug#16604).
4199
4200 * minibuffer.el (completion-table-merge): New function.
4201
4202 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
4203
4204 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
4205 (tramp-sh-handle-set-file-acl)
4206 (tramp-sh-handle-start-file-process)
4207 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
4208 (tramp-find-executable, tramp-send-command): Use it.
4209
4210 2014-02-05 Glenn Morris <rgm@gnu.org>
4211
4212 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
4213
4214 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
4215
4216 * progmodes/python.el (python-shell-send-string)
4217 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
4218
4219 2014-02-04 Anders Lindgren <andlind@gmail.com>
4220
4221 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
4222 the names (bug#16620).
4223
4224 2014-02-03 Martin Rudalics <rudalics@gmx.at>
4225
4226 * faces.el (window-divider): New default value. Rewrite doc-string.
4227 (window-divider-first-pixel, window-divider-last-pixel): New faces.
4228
4229 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
4230
4231 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
4232 `protected' and `public' can also be called without arguments.
4233
4234 2014-02-03 Glenn Morris <rgm@gnu.org>
4235
4236 * register.el (window-configuration-to-register)
4237 (frame-configuration-to-register): Unadvertise unused argument.
4238 * frameset.el (frameset-to-register): Remove unused argument.
4239
4240 * frameset.el (frameset-to-register):
4241 * kmacro.el (kmacro-to-register):
4242 * register.el (increment-register):
4243 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
4244 (calc-append-to-register, calc-prepend-to-register):
4245 * play/gametree.el (gametree-layout-to-register)
4246 (gametree-apply-register-layout):
4247 * textmodes/picture.el (picture-clear-rectangle-to-register)
4248 (picture-yank-rectangle-from-register):
4249 * vc/emerge.el (emerge-combine-versions-register):
4250 Use register-read-with-preview to read registers.
4251
4252 2014-02-03 João Távora <joaotavora@gmail.com>
4253
4254 * elec-pair.el (electric-pair-backward-delete-char): Don't error
4255 when at beginning of (possibly narrowed) buffer.
4256
4257 2014-02-02 Daniel Colascione <dancol@dancol.org>
4258
4259 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
4260 Also try to display local help from just before point.
4261
4262 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
4263
4264 c-parse-state. Don't "append-lower-brace-pair" in certain
4265 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
4266 recognised as a comment.
4267
4268 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
4269 as well as normal comment starter.
4270 (c-parse-state-get-strategy): Extra return possibility
4271 'back-and-forward.
4272 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
4273 return value list to indicate replacement of a brace-pair cons
4274 with its car.
4275 (c-parse-state-1): With 'back-and-forward, only call
4276 c-append-lower-brace-pair-to state-cache when cons-separated.
4277
4278 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
4279
4280 * term/ns-win.el (ns-suspend-error): New function.
4281 (ns-initialize-window-system): Add ns-suspend-error to
4282 suspend-hook (Bug#16612).
4283
4284 2014-02-02 Daniel Colascione <dancol@dancol.org>
4285
4286 * progmodes/cc-defs.el (c-find-assignment-for-mode):
4287 Make loading cc-mode silent.
4288
4289 2014-02-02 Daniel Colascione <dancol@dancol.org>
4290
4291 * comint.el (comint-prompt-read-only): Change doc to suggest
4292 remap keybinding.
4293
4294 2014-02-02 Glenn Morris <rgm@gnu.org>
4295
4296 * register.el (register-read-with-preview, point-to-register)
4297 (window-configuration-to-register, frame-configuration-to-register)
4298 (jump-to-register, number-to-register, view-register, insert-register)
4299 (copy-to-register, append-to-register, prepend-to-register)
4300 (copy-rectangle-to-register): Doc fixes.
4301
4302 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4303
4304 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
4305 * emacs-lisp/find-func.el (find-function-C-source): Idem.
4306 * emacs-lisp/nadvice.el (advice--cd*r): New function.
4307 * help-fns.el (describe-function-1): Use it.
4308
4309 2014-02-02 Glenn Morris <rgm@gnu.org>
4310
4311 * register.el (register-preview-default): New function,
4312 split from register-preview.
4313 (register-preview-function): Rename from register-preview-functions,
4314 make it not a hook.
4315 (register-preview): Use register-preview-function.
4316 (register-read-with-preview): Error on non-character event. (Bug#16595)
4317
4318 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
4319
4320 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
4321 `:' before binary operators (bug#16609). Don't check for `:'
4322 before `[' and `(', or their syntax status. A percent literal
4323 can't end with either.
4324 (ruby-font-lock-keywords): For built-ins that require arguments,
4325 check that they're followed by something that looks like argument
4326 (bug#16610).
4327
4328 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
4329
4330 * subr.el (butlast): Document what an omitted N means (bug#13437).
4331 (nbutlast): Ditto.
4332
4333 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
4334
4335 * net/shr.el (shr-generic): Make into a defsubst to make the stack
4336 depth shallower (bug#16587).
4337 (shr-tag-svg): Respect `shr-inhibit-images'.
4338 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
4339
4340 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
4341
4342 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
4343 (ruby-smie-grammar): Make "." right-associative. Make its priority
4344 lower than the ternary and all binary operators.
4345 (ruby-smie-rules): Indent "(" relative to the first non-"."
4346 parent, or the first "." parent at indentation.
4347 Use `ruby-align-chained-calls' for indentation of "." tokens.
4348 (Bug#16593)
4349
4350 2014-01-31 Juri Linkov <juri@jurta.org>
4351
4352 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
4353 from `make-hash-table'.
4354
4355 * textmodes/ispell.el (ispell-init-process): Change message format
4356 to be consistent with other messages.
4357
4358 2014-01-31 Glenn Morris <rgm@gnu.org>
4359
4360 * delsel.el (delete-selection-mode): Doc fix.
4361
4362 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
4363 (trace-function-background): Doc fixes.
4364
4365 * ido.el (ido-use-virtual-buffers): Doc fix.
4366 Reset :version, since the default value has not changed.
4367
4368 * register.el (register-preview-delay, register-read-with-preview):
4369 Doc fixes.
4370
4371 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
4372 do not mess with mail-buffer position (fixes 2009-11-03 change).
4373 * progmodes/cc-mode.el (c-submit-bug-report):
4374 Check auto-fill-mode is bound. (Bug#16592)
4375
4376 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
4377
4378 * startup.el (fancy-splash-image-file): New function,
4379 split from fancy-splash-head.
4380 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
4381 so that we are both using the same image. (Bug#16574)
4382
4383 2014-01-30 Glenn Morris <rgm@gnu.org>
4384
4385 * simple.el (eval-expression): Doc fix.
4386
4387 * hexl.el (hexl-mode-hook):
4388 * ielm.el (ielm-mode-hook):
4389 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
4390 (lisp-interaction-mode-hook):
4391 * progmodes/cfengine.el (cfengine3-documentation-function):
4392 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
4393
4394 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4395
4396 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
4397 is a symbol (bug#16584).
4398
4399 2014-01-30 Glenn Morris <rgm@gnu.org>
4400
4401 * help.el (help-for-help-internal): Add "P" to text.
4402
4403 2014-01-29 Glenn Morris <rgm@gnu.org>
4404
4405 * simple.el (just-one-space, cycle-spacing): Doc fixes.
4406
4407 2014-01-28 Martin Rudalics <rudalics@gmx.at>
4408
4409 * window.el (fit-frame-to-buffer): Fix calculations for margins and
4410 height constraints.
4411
4412 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
4413
4414 * progmodes/hideif.el: Extend to full CPP expression syntax.
4415 (hif-token-alist): Add missing tokens.
4416 (hif-token-regexp): Add support for float/octal/hex immediates.
4417 (hif-string-literal-regexp): New const.
4418 (hif-tokenize): Recognize strings and float/octal/hex immediates.
4419 (hif-exprlist): New function.
4420 (hif-parse-if-exp): Use it.
4421 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
4422 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
4423 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
4424 (hif-logxor, hif-comma): New functions.
4425
4426 2014-01-28 Glenn Morris <rgm@gnu.org>
4427
4428 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
4429
4430 * indent.el (tab-stop-list): Doc fix. Add :version.
4431
4432 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
4433 (cvs-append-to-ignore): Add compatibility alias.
4434
4435 2014-01-27 Glenn Morris <rgm@gnu.org>
4436
4437 * dired.el (dired-hide-details-mode): Don't autoload it,
4438 since it cannot be used outside Dired buffers anyway.
4439
4440 * emulation/cua-base.el (cua-mode): Doc fix.
4441
4442 * dired.el (dired-hide-details-hide-symlink-targets)
4443 (dired-hide-details-hide-information-lines)
4444 (dired-hide-details-mode): Doc fixes.
4445
4446 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
4447 * strokes.el (strokes-file): Doc fix. Bump :version.
4448 (strokes-help): Doc fix.
4449 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
4450 * emulation/viper.el (viper): Doc fix for custom group.
4451 (top-level): Remove oh-so-no-longer-relevant text about vip.
4452 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4453
4454 * ido.el (ido-save-directory-list-file):
4455 * saveplace.el (save-place-file):
4456 * calendar/timeclock.el (timeclock-file):
4457 * net/quickurl.el (quickurl-url-file):
4458 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4459 * progmodes/idlwave.el (idlwave-config-directory):
4460 * textmodes/remember.el (remember-data-file):
4461 Bump :version.
4462
4463 2014-01-26 Glenn Morris <rgm@gnu.org>
4464
4465 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4466 Doc fix. Make obsolete.
4467 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4468
4469 * sort.el (delete-duplicate-lines): Doc fix.
4470
4471 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4472
4473 * progmodes/ada-mode.el (ada):
4474 * woman.el (woman): Link to info manual and Commentary section.
4475
4476 * progmodes/flymake.el (flymake):
4477 * nxml/nxml-mode.el (nxml):
4478 * net/eww.el (eww):
4479 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4480 * htmlfontify.el (htmlfontify):
4481 * ses.el (ses):
4482 * epa.el (epa):
4483 * ido.el (ido): Link to info manual.
4484
4485 2014-01-25 Leo Liu <sdl.web@gmail.com>
4486
4487 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4488
4489 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
4490
4491 * net/shr.el (shr-tag-img): Prefer the title over the alt text
4492 (bug#16537).
4493
4494 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
4495
4496 * net/eww.el (eww-download-callback):
4497 Fix reference to eww-download-directory.
4498
4499 * emacs-lisp/bytecomp.el (byte-compile-file):
4500 Remove unused local variable `file-name'.
4501
4502 2014-01-24 Glenn Morris <rgm@gnu.org>
4503
4504 * woman.el (woman-default-faces, woman-monochrome-faces):
4505 Fix obsolescence specification.
4506
4507 * subr.el (with-demoted-errors): Doc fix.
4508
4509 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
4510
4511 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4512 (cl--macroexp-fboundp): New function.
4513 (cl--make-type-test): Use it.
4514
4515 2014-01-23 Glenn Morris <rgm@gnu.org>
4516
4517 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4518 * simple.el (eval-expression): Doc fixes.
4519
4520 2014-01-22 Glenn Morris <rgm@gnu.org>
4521
4522 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4523
4524 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
4525
4526 * emacs-lisp/package.el: Write files silently.
4527 (package-autoload-ensure-default-file, package--write-file-no-coding)
4528 (package-generate-description-file, package--download-one-archive)
4529 (package-install-from-archive): Tell `write-region' to stay quiet.
4530 (package-menu-mode, package-menu--print-info): Omit the Archive column
4531 if there's only one archive.
4532 (package-all-keywords, package--has-keyword-p): Remove dead code.
4533
4534 2014-01-22 Glenn Morris <rgm@gnu.org>
4535
4536 * version.el (emacs-bzr-version-bzr): Fix typo.
4537
4538 * version.el (emacs-repository-get-version):
4539 Check either .bzr or .git, but not both.
4540 Make the git case actually use the DIR argument, and return nil
4541 rather than the empty string.
4542 Avoid error if .git exists but the git executable is not found.
4543
4544 2014-01-22 Martin Rudalics <rudalics@gmx.at>
4545
4546 Fixes in window size functions around Bug#16430 and Bug#16470.
4547 * window.el (window-total-size, window-size): New argument ROUND.
4548 (window--min-delta-1, window-min-delta, window--max-delta-1):
4549 Be more conservative when calculating the numbers of lines or
4550 columns a window can shrink (Bug#16430).
4551 (fit-window-to-buffer): Simplify code.
4552 * term.el (term-window-width): Call window-body-width again.
4553
4554 2014-01-22 Glenn Morris <rgm@gnu.org>
4555
4556 * image.el (image-format-suffixes): Doc fix.
4557
4558 * international/quail.el (quail-define-package): Doc fix.
4559
4560 * emacs-lisp/authors.el (authors-valid-file-names)
4561 (authors-renamed-files-alist): Additions.
4562
4563 * vc/vc-git.el (vc-git-print-log): Remove --follow;
4564 reverts 2014-01-09 change. (Bug#16422)
4565
4566 * calc/calc-embed.el (thing-at-point-looking-at):
4567 * emacs-lisp/map-ynp.el (x-popup-dialog):
4568 * obsolete/lmenu.el (x-popup-dialog):
4569 * emacs-lisp/package.el (url-recreate-url):
4570 * mail/mailclient.el (clipboard-kill-ring-save):
4571 * subr.el (x-popup-dialog): Update declaration.
4572 * mail/rmail.el (rmail-mime-message-p):
4573 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4574
4575 2014-01-21 Daniel Colascione <dancol@dancol.org>
4576
4577 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4578 Correctly detect when we're inside an arithmetic expansion form
4579 containing nested parenthesis.
4580 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4581 to detect cases where we shouldn't expand "<<" to a heredoc
4582 skeleton.
4583
4584 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4585
4586 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4587 (eldoc--message-command-p): New function.
4588 (eldoc-display-message-p): Use it.
4589 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4590 message is not automatically erased for us.
4591 (eldoc-print-current-symbol-info): Erase previous message, if any.
4592
4593 2014-01-21 Tassilo Horn <tsdh@gnu.org>
4594
4595 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4596 specify it's an interactive function.
4597
4598 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4599 Fix regex used for scanning for citation keys which failed for
4600 citations with optional arguments.
4601
4602 2014-01-21 Leo Liu <sdl.web@gmail.com>
4603
4604 * simple.el (read--expression): Don't enable eldoc-mode.
4605
4606 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4607
4608 * simple.el (move-beginning-of-line): Make sure we don't move forward
4609 (bug#16497).
4610
4611 2014-01-20 Juri Linkov <juri@jurta.org>
4612
4613 * saveplace.el (toggle-save-place, save-place-to-alist)
4614 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4615 'dired-mode) before checking for dired-directory. (Bug#16477)
4616
4617 2014-01-20 Juri Linkov <juri@jurta.org>
4618
4619 * indent.el (indent-line-to): Use backward-to-indentation
4620 instead of back-to-indentation. (Bug#16461)
4621
4622 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4623
4624 Revert some of the CANNOT_DUMP fix (Bug#16494).
4625 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4626 but fixing this can wait until after the next release.
4627 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4628
4629 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
4630
4631 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4632 Use `password-word-equivalents'.
4633 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4634 to t. (Bug#5664, Bug#13124)
4635
4636 2014-01-19 Alan Mackenzie <acm@muc.de>
4637
4638 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4639 points.
4640 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4641 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4642 * progmodes/cc-mode.el (c-before-change, c-after-change)
4643 (c-font-lock-fontify-region): Bind it here.
4644
4645 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4646
4647 * term.el (term-window-width): Call window-text-width instead of
4648 window-width (Bug#16470).
4649
4650 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4651
4652 * simple.el (password-word-equivalents): Remove duplicates.
4653 Sort, to make this easier next time.
4654 Downcase. Omit ": " after "jelszó".
4655
4656 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4657
4658 * term/common-win.el (saved-region-selection): Defvar it.
4659 (x-select-text): Set saved-region-selection (Bug#16382).
4660
4661 2014-01-18 Glenn Morris <rgm@gnu.org>
4662
4663 * emacs-lisp/authors.el (authors-aliases)
4664 (authors-renamed-files-alist): Add some entries.
4665
4666 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4667
4668 * net/tramp.el (tramp-password-prompt-regexp):
4669 Use `password-word-equivalents' if available.
4670 (tramp-action-password, tramp-process-one-action)
4671 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4672
4673 2014-01-17 Chong Yidong <cyd@gnu.org>
4674
4675 * simple.el (password-word-equivalents): New defcustom.
4676 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4677 to 24.4.
4678 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4679 to t. (Bug#13124)
4680
4681 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4682
4683 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4684 (ruby-align-to-stmt-keywords): Change the default value.
4685 Use `ruby-alignable-keywords' to generate the possible customization
4686 choices.
4687 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4688 keywords, check against the value of `ruby-alignable-keywords'
4689 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4690
4691 2014-01-17 Glenn Morris <rgm@gnu.org>
4692
4693 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4694
4695 Make M-x authors return zero *Authors Errors* from current logs.
4696 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4697 (authors-ignored-files): Add some entries, remove others.
4698 (authors-ambiguous-files, authors-valid-file-names):
4699 Add some entries.
4700 (authors-renamed-files-alist): Add, remove, and adjust entries.
4701 (authors-renamed-files-regexps): Add some entries.
4702 Remove some very broad ones. Make some entries `lax'.
4703 (authors-lax-changelogs): New constant.
4704 (authors-disambiguate-file-name): Treat top-level specially.
4705 (authors-lax-changelog-p): New function.
4706 (authors-canonical-file-name): Check file as written against
4707 authors-valid-file-names. Do not special-case etc/.
4708 Handle `lax' logs and authors-renamed-files-regexps elements.
4709
4710 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4711
4712 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4713 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4714 callers.
4715
4716 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4717
4718 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4719 Assume we're already in the proper buffer.
4720 Inspired by Anders Lindgren <andlind@gmail.com>.
4721 (follow-post-command-hook): Call it from the right buffer.
4722 (follow-comint-scroll-to-bottom): Adjust call.
4723 (follow-all-followers): Use get-buffer-window-list.
4724
4725 2014-01-15 Daniel Colascione <dancol@dancol.org>
4726
4727 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4728 `buffer-file-name' in interactive-form so that we don't leave
4729 pathless file names in `file-name-history'.
4730
4731 2014-01-15 Juri Linkov <juri@jurta.org>
4732
4733 * indent.el (indent-rigidly): Set deactivate-mark to nil
4734 in transient indentation mode. (Bug#16438)
4735
4736 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4737
4738 * emacs-lisp/package.el (package-desc-keywords): New function
4739 (Bug#16222).
4740 (describe-package-1, package-all-keywords)
4741 (package--has-keyword-p): Use it.
4742
4743 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4744
4745 * simple.el (define-alternatives): When creating the
4746 COMMAND-alternatives variable, assign COMMAND as its definition
4747 name so that `describe-variable' can relocate it.
4748
4749 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4750
4751 * font-lock.el (font-lock-keywords): Fix typo in docstring
4752 (bug#16307).
4753
4754 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4755
4756 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
4757 line instead of wrongly reset `add-coment' (bug#13577).
4758
4759 2014-01-14 Daiki Ueno <ueno@gnu.org>
4760
4761 * epa-file.el (epa-file-write-region): Encode the region according
4762 to `buffer-file-format'. Problem reported at:
4763 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4764
4765 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4766
4767 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4768 so it applies in the right buffer (bug#16410).
4769
4770 2014-01-13 Daniel Colascione <dancol@dancol.org>
4771
4772 * textmodes/rst.el (rst-define-key): Provide deprecated
4773 keybindings through named functions instead of anonymous ones so
4774 that "??" doesn't appear in describe-mode output.
4775
4776 2014-01-13 Bastien Guerry <bzg@gnu.org>
4777
4778 * simple.el (define-alternatives): Call the selected command
4779 interactively. When setting `COMMAND--implementation' for the
4780 first time, tell the user how to chose another implementation.
4781 Enhance the docstring.
4782
4783 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4784
4785 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4786 (log-edit--match-first-line): New function.
4787 (log-edit-font-lock-keywords): Use it.
4788 (log-edit-mode): Make jit-lock-defer-multiline work.
4789
4790 2014-01-13 Bastien Guerry <bzg@gnu.org>
4791
4792 * rect.el (rectangle-mark-mode): When the region is not active,
4793 display a message saying that the mark as been set and that
4794 rectangle mode is in use.
4795 (rectangle--highlight-for-redisplay): Only put an overlay with a
4796 visible vertical bar when (display-graphic-p) is non-nil.
4797 This partially fixes Bug#16403.
4798
4799 2014-01-13 Juri Linkov <juri@jurta.org>
4800
4801 * info.el (Info-find-file): Go to DIR before displaying the error
4802 about a nonexistent file if no previous Info file is visited.
4803 Use `user-error' instead of `error' for "Info file %s does not exist".
4804 (Info-find-node-2): In case of a nonexistent node in unwind forms
4805 go to the Top node if there is no previous node to revert to.
4806 (Bug#16405)
4807
4808 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4809
4810 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4811 * window.el (fit-frame-to-buffer): Fix doc-string.
4812 Respect window-min-height/-width. Fit pixelwise when
4813 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4814 when avoiding that frame goes partially off-screen.
4815 (fit-window-to-buffer): Respect window-min-height/-width
4816 (Bug#14096).
4817
4818 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4819
4820 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4821 after an empty line.
4822
4823 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4824
4825 * net/shr.el (shr-render-region): Autoload.
4826
4827 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4828
4829 * net/eww.el (eww-download-directory): Rename from
4830 `eww-download-path' (Bug#16419).
4831
4832 2014-01-12 Leo Liu <sdl.web@gmail.com>
4833
4834 * dired-x.el (dired-mode-map): Fix last change.
4835
4836 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4837
4838 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4839
4840 Spelling fixes.
4841 * emacs-lisp/generic.el (generic--normalize-comments):
4842 Rename from generic--normalise-comments. All uses changed.
4843 * play/bubbles.el (bubbles--neighborhood-score)
4844 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4845 (bubbles--neighborhood-available)
4846 (bubbles--update-neighborhood-score):
4847 Rename from names with 'neighbourhood'. All uses changed.
4848
4849 2014-01-12 Leo Liu <sdl.web@gmail.com>
4850
4851 Re-implement the feature of showing eldoc info after editing.
4852 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4853 (eldoc-edit-message-commands): New function.
4854 (eldoc-print-after-edit): New variable.
4855 (eldoc-pre-command-refresh-echo-area): Emit message only by
4856 eldoc-message-commands.
4857 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4858 if eldoc-print-after-edit is set. (Bug#16346)
4859 * simple.el (read--expression): Enable eldoc-mode.
4860 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4861
4862 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4863 Eric S. Raymond <esr@thyrsus.com>
4864
4865 * version.el (emacs-repository-get-version): Enhance so the
4866 function works correctly in either a Bazaar or Git repo.
4867
4868 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4869
4870 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4871 Goes with removal of the joke manpages from /etc.
4872
4873 2014-01-10 Kenichi Handa <handa@gnu.org>
4874
4875 * mail/rmail.el (rmail-get-coding-system):
4876 Check rmail-get-coding-function before "funcall"ing it.
4877
4878 2014-01-10 Glenn Morris <rgm@gnu.org>
4879
4880 * emacs-lisp/authors.el (authors-fixed-entries):
4881 Update for files that no longer exist.
4882
4883 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4884
4885 * version.el (emacs-bzr-get-version): Restore compatibilty with
4886 24.3 (Tested).
4887
4888 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4889
4890 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4891 and Podfile.
4892
4893 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4894
4895 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4896
4897 2014-01-10 Chong Yidong <cyd@gnu.org>
4898
4899 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4900
4901 2014-01-10 Anders Lindgren <andlind@gmail.com>
4902
4903 * follow.el (follow-cache-command-list): Include right-char and
4904 left-char.
4905
4906 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4907
4908 Spelling fixes.
4909 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4910 * woman.el (woman-mark-horizontal-position):
4911 Rename from woman-mark-horizonal-position. Use changed.
4912
4913 2014-01-10 Glenn Morris <rgm@gnu.org>
4914
4915 * info.el (info-initialize): If running uninstalled, ensure our
4916 own info files are always found first, even if INFOPATH is set.
4917
4918 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4919
4920 2014-01-09 David Engster <deng@randomsample.de>
4921
4922 * emacs-lisp/eieio-custom.el:
4923 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4924 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4925 * emacs-lisp/eieio.el: Regenerate autoloads.
4926
4927 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4928
4929 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4930 following renames. (Bug#8756)
4931
4932 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4933
4934 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4935 (bug#16382).
4936 (activate-mark): Add `no-tmm' argument.
4937 (set-mark, push-mark-command): Use it instead of running
4938 activate-mark-hook by hand.
4939
4940 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4941
4942 In preparation for the move to git, sanitize out some
4943 Bazaar-specific names.
4944
4945 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4946
4947 * version.el (emacs-bzr-version): Name changed to
4948 emacs-repository-version. Obsolete-variable alias made.
4949 * loadup.el: Follow through on this name change.
4950 * mail/emacsbug.el (report-emacs-bug): Factor out any
4951 assumption about the version control system in use.
4952
4953 2014-01-08 David Engster <deng@randomsample.de>
4954
4955 * help-fns.el (help-fns-describe-function-functions):
4956 New variable to call functions for augmenting help buffers.
4957 (describe-function-1): Remove explicit calls to
4958 `help-fns--compiler-macro', `help-fns--parent-mode' and
4959 `help-fns--obsolete'. Put them in above new variable instead, and
4960 call them through `run-hook-with-args'.
4961 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4962 `eieio-describe-class'. Not meant for interactive use anymore,
4963 but to augment existing help buffers. Remove optional second
4964 argument. Create proper button for file location.
4965 Rewrite function to use `insert' instead of `princ' and `prin1' where
4966 possible.
4967 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4968 (eieio-method-def, eieio-class-def): Move further up.
4969 (describe-method, describe-generic, eieio-describe-method):
4970 Remove aliases.
4971 (eieio-help-constructor, eieio-help-generic): Rename from
4972 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4973 Rewrite to use `insert' in the current buffer and use proper help
4974 buttons.
4975 (eieio-help-find-method-definition)
4976 (eieio-help-find-class-definition): Also accept symbols as
4977 arguments.
4978 (eieio-help-mode-augmentation-maybee): Remove.
4979 (eieio-describe-class-sb): Use `describe-function'.
4980 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4981 Add `eieio-help-generic' and `eieio-help-constructor'.
4982
4983 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4984
4985 Spelling fixes.
4986 * language/china-util.el (hz-ascii-designation):
4987 Rename from hz-ascii-designnation.
4988 (hz-ascii-designation): Rename from hz-ascii-designnation.
4989 All uses changed.
4990
4991 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4992
4993 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4994 package-alist.
4995
4996 2014-01-08 Bastien Guerry <bzg@gnu.org>
4997
4998 * emacs-lisp/package.el (package-delete):
4999 Correctly delete the package from package-alist.
5000
5001 2014-01-08 Daiki Ueno <ueno@gnu.org>
5002
5003 * emacs-lisp/package.el (url-recreate-url): Declare.
5004 (url-http-target-url): Declare.
5005 (package-handle-response): Include requested URL in the error message.
5006 (package--check-signature): Don't re-signal errors from
5007 package--with-work-buffer. Suggested by Stefan Monnier.
5008
5009 2014-01-07 Bastien Guerry <bzg@gnu.org>
5010
5011 * minibuffer.el (completion--try-word-completion): When both a
5012 hyphen and a space are possible candidates for the character
5013 following a word, display both candidates. (Bug#15980)
5014
5015 2014-01-07 Martin Rudalics <rudalics@gmx.at>
5016
5017 * window.el (balance-windows-2): While rounding don't give a
5018 window more than the remainder. Bug#16351, bug#16383.
5019
5020 2014-01-07 Glenn Morris <rgm@gnu.org>
5021
5022 * menu-bar.el (menu-bar-help-extra-packages): Remove.
5023 (menu-bar-help-menu): Use view-external-packages instead.
5024
5025 2014-01-07 Bastien Guerry <bzg@gnu.org>
5026
5027 * emacs-lisp/package.el (package-delete): Also delete the package
5028 name from `package-alist', not its description only.
5029
5030 2014-01-07 Glenn Morris <rgm@gnu.org>
5031
5032 * help.el (view-external-packages):
5033 * menu-bar.el (menu-bar-help-extra-packages):
5034 Visit efaq.info rather than etc/MORE.STUFF.
5035
5036 2014-01-07 Juri Linkov <juri@jurta.org>
5037
5038 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
5039 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
5040
5041 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
5042 that shadows RET. (Bug#16342)
5043
5044 2014-01-07 Chong Yidong <cyd@gnu.org>
5045
5046 * isearch.el (isearch-yank-char, isearch-yank-word)
5047 (isearch-yank-line): Doc fix.
5048
5049 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
5050
5051 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
5052 * emacs-lisp/elint.el (elint-find-builtins):
5053 * emacs-lisp/eldoc.el (eldoc-symbol-function):
5054 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
5055 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
5056 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5057 * apropos.el (apropos-safe-documentation):
5058 * subr.el (symbol-file): Remove redundant fboundp.
5059 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
5060
5061 2014-01-06 Bastien Guerry <bzg@gnu.org>
5062
5063 * hl-line.el (global-hl-line-overlay): Make a local variable.
5064 (global-hl-line-overlays): New variable to store all overlays.
5065 (global-hl-line-mode): Don't delete overlays from the current
5066 buffer when `global-hl-line-sticky-flag' is non-nil.
5067 (global-hl-line-highlight): Add new overlays to
5068 `global-hl-line-overlays'.
5069 (global-hl-line-unhighlight-all): New function to delete all
5070 overlays when turning off `global-hl-line-mode'.
5071 This fixes Bug#16183.
5072
5073 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
5074
5075 * subr.el (set-transient-map): Fix nested case and docstring.
5076
5077 2014-01-06 Tassilo Horn <tsdh@gnu.org>
5078
5079 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
5080 `Texinfo' entry.
5081
5082 2014-01-06 Daniel Colascione <dancol@dancol.org>
5083
5084 Fix defun navigation in vc log view.
5085
5086 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
5087 like `beginning-of-defun'.
5088 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
5089 log-view-end-of-defun to log-view-end-of-defun-1. Replace
5090 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
5091 (log-view-extract-comment): Call `log-view-current-entry' directly
5092 instead of relying on broken `log-view-beginning-of-defun' behavior.
5093
5094 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
5095
5096 Spelling fixes.
5097 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
5098 * emacs-lisp/debug.el (cancel-debug-on-entry):
5099 * epg.el (epg-error-to-string):
5100 * files.el (recover-file):
5101 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
5102 * mail/emacsbug.el (report-emacs-bug-hook):
5103 * mail/sendmail.el (mail-recover):
5104 * ses.el (ses-yank-resize):
5105 * term/ns-win.el (ns-print-buffer):
5106 Spelling fixes in diagnostics, mostly for "canceled" with one L.
5107 * epg.el (epg-key-capability-alist): Rename from misspelled version.
5108 All uses changed.
5109 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
5110
5111 2014-01-06 Leo Liu <sdl.web@gmail.com>
5112
5113 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
5114 to avoid shadowing global key. (Bug#16354)
5115
5116 2014-01-06 Daniel Colascione <dancol@dancol.org>
5117
5118 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
5119 rst-mode.
5120
5121 2014-01-05 Martin Rudalics <rudalics@gmx.at>
5122
5123 * window.el (balance-windows): Add mising t to fix Bug#16351.
5124
5125 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5126
5127 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
5128 (bug#16285).
5129 (shr-insert): If we have a word that's longer than `shr-width',
5130 break after it anyway. Otherwise we'll do no breaking once we get
5131 such a long word.
5132
5133 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5134
5135 * net/eww.el (eww): Support single/double quote for search.
5136 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
5137 (eww-history-quit): Delete and use quit-window.
5138 (eww-history-kill): Delete, because it doesn't work well and
5139 not necessary.
5140 (eww-history-mode-map): Delete some keys and add easy-menu.
5141
5142 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
5143
5144 Fix misspelling of 'chinese' in rx (Bug#16237).
5145 * emacs-lisp/rx.el (rx-categories): Correct spelling of
5146 chinese-two-byte.
5147
5148 Change subword regexps back to vars (Bug#16296).
5149 * progmodes/subword.el (subword-forward-regexp)
5150 (subword-backward-regexp): Change these back to variables.
5151
5152 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5153
5154 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
5155 syntax-begin-function (bug#16247).
5156
5157 2014-01-03 Chong Yidong <cyd@gnu.org>
5158
5159 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
5160 (advice--docstring): Delete variable.
5161 (advice--make-1): Leave the docstring empty.
5162 (advice-add): Use function-documentation for advised docstring.
5163
5164 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
5165 Ignore function-documentation property when getting documentation.
5166 (ad-activate-advised-definition): Use function-documentation
5167 generate the docstring.
5168 (ad-make-advised-definition): Don't call
5169 ad-make-advised-definition-docstring.
5170 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5171 Delete functions.
5172
5173 * progmodes/sql.el (sql-help): Use function-documentation instead
5174 of dynamic-docstring-function property. No need to autoload now.
5175 (sql--help-docstring): New variable.
5176 (sql--make-help-docstring): Use it.
5177
5178 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5179
5180 * ielm.el (ielm-tab): Retarget.
5181 (ielm-map): Use ielm-tab for tab.
5182 (ielm-complete-filename): Use comint-filename-completion.
5183 (ielm-complete-symbol): Remove.
5184 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
5185 remove ielm-tab from completion-at-point-functions (bug#16224).
5186
5187 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
5188 Beware signals raised by predicates (bug#16201).
5189
5190 2014-01-02 Richard Stallman <rms@gnu.org>
5191
5192 * dired-aux.el (dired-do-print): Handle printer-name.
5193
5194 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
5195 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
5196 (rmail-epa-decrypt): Turn off mime processing.
5197
5198 * mail/rmail.el (rmail-make-in-reply-to-field):
5199 Add parens in message-id.
5200
5201 * mail/rmail.el (rmail-get-coding-function): Variable.
5202 (rmail-get-coding-system): Use it.
5203
5204 2013-12-31 Eli Zaretskii <eliz@gnu.org>
5205
5206 * international/mule-conf.el: Unify the charset indian-is13194.
5207 (indian-is13194): Specify unify-map.
5208
5209 2013-12-31 Leo Liu <sdl.web@gmail.com>
5210
5211 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
5212
5213 2013-12-30 Daniel Colascione <dancol@dancol.org>
5214
5215 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
5216 of printing a useless when we resume from sleep.
5217
5218 * progmodes/sh-script.el
5219 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
5220 in indentation code. (Bug#16233)
5221
5222 2013-12-28 João Távora <joaotavora@gmail.com>
5223
5224 * elec-pair.el (electric-pair-post-self-insert-function):
5225 Don't open extra newlines at beginning of buffer. (Bug#16272)
5226
5227 2013-12-28 Eli Zaretskii <eliz@gnu.org>
5228
5229 * frame.el (window-system-for-display): Don't allow to create a
5230 GUI frame from a -nw session on MS-Windows. (Bug#14739)
5231
5232 2013-12-28 Glenn Morris <rgm@gnu.org>
5233
5234 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
5235 Update callers.
5236
5237 * apropos.el (apropos-match-face):
5238 * calculator.el (calculator-displayer):
5239 * dabbrev.el (dabbrev-search-these-buffers-only):
5240 * face-remap.el (buffer-face-mode-face):
5241 * simple.el (yank-handled-properties):
5242 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
5243 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
5244 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
5245 (hashcash-double-spend-database):
5246 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
5247 (ruby-deep-indent-paren-style):
5248 * textmodes/flyspell.el (flyspell-auto-correct-binding):
5249 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
5250 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
5251 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
5252 Specify custom types.
5253
5254 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
5255 * bookmark.el (bookmark-bmenu-use-header-line):
5256 * doc-view.el (doc-view-scale-internally):
5257 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
5258 * register.el (register-preview-delay):
5259 * net/shr.el (shr-bullet):
5260 * progmodes/cfengine.el (cfengine-cf-promises)
5261 (cfengine-parameters-indent):
5262 * progmodes/octave.el (inferior-octave-error-regexp-alist):
5263 * textmodes/reftex-vars.el (reftex-label-regexps):
5264 * vc/log-edit.el (log-edit-setup-add-author): Add version.
5265
5266 * net/tls.el (tls-certtool-program): Fix default value.
5267
5268 * desktop.el (desktop-restore-in-current-display):
5269 * newcomment.el (comment-empty-lines):
5270 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
5271 (idlwave-pad-keyword):
5272 * progmodes/tcl.el (tcl-tab-always-indent):
5273 * textmodes/reftex-vars.el (reftex-index-default-tag):
5274 * elec-pair.el (electric-pair-skip-whitespace):
5275 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
5276
5277 * emacs-lisp/authors.el (authors-ignored-files)
5278 (authors-valid-file-names, authors-renamed-files-alist): Additions.
5279
5280 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
5281
5282 * shell.el (shell-dynamic-complete-command): Doc fix.
5283 (shell--command-completion-data): Shell completion now matches
5284 executable filenames from the current buffer's directory, on
5285 systems in which this behavior is the default (windows-nt, ms-dos).
5286
5287 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5288
5289 * net/shr.el (shr-insert): Don't infloop if the width is zero.
5290
5291 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
5292
5293 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
5294 (bug#16251).
5295
5296 * electric.el: Move all electric-pair-* to elec-pair.el.
5297 * elec-pair.el: New file, split from electric.el.
5298
5299 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5300
5301 * net/shr.el (shr-find-fill-point): Don't try to fill if the
5302 indentation level is larger than the width, because that will
5303 infloop.
5304 (shr-insert): Fill repeatedly long texts, so that Japanese is
5305 formatted correctly (bug#16263).
5306 (shr-find-fill-point): Off by one error in comparison with the
5307 indentation.
5308
5309 2013-12-26 João Távora <joaotavora@gmail.com>
5310
5311 * electric.el (electric-pair-mode): More flexible engine for skip-
5312 and inhibit predicates, new options for pairing-related functionality.
5313 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
5314 if that keeps or improves their balance in buffers.
5315 (electric-pair-delete-adjacent-pairs): Delete the pair when
5316 backspacing over adjacent matched delimiters.
5317 (electric-pair-open-extra-newline): Open extra newline when
5318 inserting newlines between adjacent matched delimiters.
5319 (electric--sort-post-self-insertion-hook):
5320 Sort post-self-insert-hook according to priority values when
5321 minor-modes are activated.
5322 * simple.el (newline-and-indent): Call newline with interactive
5323 set to t.
5324 (blink-paren-post-self-insert-function): Set priority to 100.
5325 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5326 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
5327 comments. Locally set electric-pair-skip-whitespace to 'chomp and
5328 electric-pair-open-newline-between-pairs to nil.
5329
5330 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
5331
5332 * progmodes/python.el: Use lexical-binding.
5333 (python-nav-beginning-of-defun): Stop searching ASAP.
5334
5335 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
5336
5337 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
5338 Fix interactive spec. Doc fix. (Bug#15754)
5339
5340 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
5341
5342 * emacs-lisp/byte-run.el (eval-when-compile):
5343 * progmodes/cc-defs.el (cc-eval-when-compile):
5344 Fix edebug spec (bug#16184).
5345
5346 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5347
5348 * net/shr.el (shr-visit-file): Remove debugging function.
5349 (shr-insert): Don't infloop if we can't find a good place to break
5350 the line (bug#16256).
5351
5352 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
5353
5354 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
5355 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
5356 python-nav-lisp-forward-sexp-safe.
5357 (python-nav--forward-sexp): New argument SAFE allows switching
5358 forward sexp movement behavior for parens.
5359 (python-nav-forward-sexp): Throw errors on unterminated parens
5360 (Bug#16191).
5361 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
5362 (python-nav-backward-sexp-safe): New functions.
5363 (python-shell-buffer-substring):
5364 Use `python-nav-forward-sexp-safe'.
5365
5366 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5367
5368 * net/shr.el (shr-find-fill-point): Don't break lines before a
5369 quotation mark.
5370 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
5371 (shr-find-fill-point): Remove the special checks for the quotation
5372 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
5373
5374 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5375
5376 * net/eww.el (eww-form-textarea): Use a different face for
5377 textareas than text input since they have different keymaps
5378 (bug#16142).
5379
5380 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
5381
5382 * progmodes/python.el (python-nav-beginning-of-statement):
5383 Speed up (Bug#15295).
5384
5385 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5386
5387 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
5388 the window configuration.
5389
5390 2013-12-24 Eli Zaretskii <eliz@gnu.org>
5391
5392 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
5393 we run on MS-Windows or MS-DOS.
5394
5395 2013-12-24 Martin Rudalics <rudalics@gmx.at>
5396
5397 * window.el (balance-windows-area): Call window-size instead of
5398 window-height and window-width. Bug#16241.
5399
5400 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5401
5402 * net/eww.el (eww-bookmark-quit): Remove.
5403 (eww-bookmark-browse): Restore the window configuration when you
5404 choose a bookmark (bug#16144).
5405
5406 2013-12-24 Daniel Colascione <dancol@dancol.org>
5407
5408 * icomplete.el: Remove redundant :group arguments to `defcustom'
5409 throughout.
5410 (icomplete-show-matches-on-no-input): New customizable variable.
5411 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
5412 we have something to show.
5413 (icomplete-exhibit): Compute completions even if we have no user input.
5414
5415 2013-12-23 Daniel Colascione <dancol@dancol.org>
5416
5417 * icomplete.el: Move `provide' to end of file.
5418
5419 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
5420
5421 * net/gnutls.el (gnutls-verify-error): Add version tag.
5422
5423 2013-12-23 Chong Yidong <cyd@gnu.org>
5424
5425 * subr.el (set-transient-map): Rename from
5426 set-temporary-overlay-map. Doc fix.
5427
5428 * face-remap.el (text-scale-adjust):
5429 * indent.el (indent-rigidly):
5430 * kmacro.el (kmacro-call-macro):
5431 * minibuffer.el (minibuffer-force-complete):
5432 * repeat.el (repeat):
5433 * simple.el (universal-argument--mode):
5434 * calendar/todo-mode.el (todo-insert-item--next-param):
5435 * progmodes/f90.el (f90-abbrev-start): Callers changed.
5436
5437 * indent.el (indent-rigidly): Use substitute-command-keys.
5438
5439 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5440
5441 * net/eww.el (eww-tag-select): Add text-property to jump to next
5442 select field.
5443 (eww): Add non-supported ftp error.
5444
5445 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5446
5447 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
5448 comments. Handle electric indent after typing `?' and `!'.
5449
5450 2013-12-22 Chong Yidong <cyd@gnu.org>
5451
5452 * faces.el (face-spec-recalc): If the theme specs are not
5453 applicable to a frame, fall back on the defface spec.
5454 This prevents themes from obliterating faces on low-color terminals.
5455
5456 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5457
5458 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5459 after `{'. We need it after block openers, and it doesn't seem
5460 to hurt after hash openers.
5461
5462 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5463
5464 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5465 extracted from `ruby-smie-rules'.
5466 (ruby--electric-indent-chars): New variable.
5467 (ruby--electric-indent-p): New function.
5468 (ruby-mode): Use `electric-indent-functions' instead of
5469 `electric-indent-chars'.
5470
5471 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5472
5473 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5474 docstring.
5475 (ruby-smie-rules): Indent plus one level after `=>'.
5476
5477 2013-12-21 Richard Stallman <rms@gnu.org>
5478
5479 * simple.el (newline): Doc fix.
5480
5481 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5482
5483 * net/eww.el (eww-list-histories, eww-list-histories)
5484 (eww-history-browse, eww-history-quit, eww-history-kill)
5485 (eww-history-mode-map, eww-history-mode): New command and
5486 functions to list browser histories.
5487 (eww-form-text): Support text form with disabled
5488 and readonly attributes.
5489 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5490
5491 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5492
5493 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5494 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5495 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5496 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5497 Use `user-error'.
5498 (eww-bookmark-mode-map): Add menu.
5499 (eww-render, eww-mode): Use `setq-local'.
5500 (eww-tool-bar-map): New variable.
5501 (eww-mode): Set `tool-bar-map'.
5502 (eww-view-source): Check for `html-mode' with `fboundp'.
5503
5504 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5505
5506 * net/shr.el (shr--extract-best-source): Don't bug out on audio
5507 elements with text inside. Also remove debugging.
5508
5509 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
5510
5511 * cus-start.el (all): Add ns-use-srgb-colorspace.
5512
5513 2013-12-21 Chong Yidong <cyd@gnu.org>
5514
5515 * custom.el (custom-theme-recalc-face): Do nothing if the face is
5516 undefined. Thus, theme settings for undefined faces do not take
5517 effect until the faces are defined with defface, the same as with
5518 theme variables.
5519
5520 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5521 (face-spec-reset-face): Don't assign extra properties in temacs.
5522 (face-spec-recalc): Apply X resources too.
5523
5524 2013-12-21 Chong Yidong <cyd@gnu.org>
5525
5526 * faces.el (face-spec-set):
5527 * cus-face.el (custom-theme-set-faces, custom-set-faces):
5528 * custom.el (defface): Doc fixes (Bug#16203).
5529
5530 * indent.el (indent-rigidly-map): Add docstring, and move commands
5531 into named functions.
5532 (indent-rigidly-left, indent-rigidly-right)
5533 (indent-rigidly-left-to-tab-stop)
5534 (indent-rigidly-right-to-tab-stop): New functions. Decide on
5535 indentation direction based on bidi direction, and accumulate
5536 sequential commands in a single undo boundary.
5537 (indent-rigidly--pop-undo): New utility function.
5538
5539 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
5540
5541 * faces.el (read-face-name): Require crm.el when using crm-separator.
5542
5543 2013-12-20 Daniel Colascione <dancol@dancol.org>
5544
5545 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5546 so that we don't reflow comments into the shebang line.
5547
5548 2013-12-20 Juri Linkov <juri@jurta.org>
5549
5550 * saveplace.el (save-place-to-alist): Add `dired-filename' as
5551 a position when `dired-directory' is non-nil. Check integer
5552 positions with `integerp'.
5553 (toggle-save-place, save-places-to-alist): Add check for
5554 `dired-directory'.
5555 (save-place-find-file-hook): Check integer positions with
5556 `integerp'.
5557 (save-place-dired-hook): Use `dired-goto-file' when
5558 `dired-filename' is found in the assoc list. Check integer
5559 positions with `integerp'.
5560 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5561
5562 * dired.el (dired-initial-position-hook): Rename back from
5563 `dired-initial-point-hook'.
5564 (dired-initial-position): Rename `dired-initial-point-hook' to
5565 `dired-initial-position-hook'.
5566 (dired-file-name-at-point): Doc fix. (Bug#15329)
5567
5568 2013-12-20 Juri Linkov <juri@jurta.org>
5569
5570 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5571 (read-regexp-suggestions): New function.
5572 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5573 Use `read-regexp-suggestions'. Add non-empty default to history
5574 for empty input.
5575 (occur-read-regexp-defaults-function): Remove function.
5576 (occur-read-primary-args): Use `regexp-history-last' instead of
5577 `occur-read-regexp-defaults-function'.
5578
5579 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5580 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5581 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5582 `hi-lock-read-regexp-defaults-function'. Doc fix.
5583 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5584 with `find-tag-default-as-symbol-regexp'. Doc fix.
5585 (hi-lock-read-regexp-defaults): Remove function.
5586 (hi-lock-regexp-okay): Add check for null.
5587
5588 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5589 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5590
5591 * subr.el (find-tag-default-as-symbol-regexp): New function.
5592 (find-tag-default-as-regexp): Move symbol regexp formatting to
5593 `find-tag-default-as-symbol-regexp'.
5594
5595 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5596
5597 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5598 (Bug#14179)
5599
5600 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5601
5602 * calendar/todo-mode.el: New implementation of item insertion
5603 commands and key bindings.
5604 (todo-key-prompt): New face.
5605 (todo-insert-item): New command.
5606 (todo-insert-item--parameters): New defconst, replacing defvar
5607 todo-insertion-commands-args-genlist.
5608 (todo-insert-item--param-key-alist): New defconst, replacing
5609 defvar todo-insertion-commands-arg-key-list.
5610 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5611 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5612 (todo-insert-item--next-param): New functions.
5613 (todo-insert-item--args, todo-insert-item--argleft)
5614 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5615 New variables.
5616 (todo-key-bindings-t): Change binding of "i" from
5617 todo-insertion-map to todo-insert-item.
5618 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5619 (todo-insertion-command-name, todo-insertion-commands-names)
5620 (todo-define-insertion-command, todo-insertion-commands)
5621 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5622
5623 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5624
5625 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5626 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5627 eval-when-compile.
5628 (todo-move-category): Allow choosing a non-existing todo file to
5629 move the category to, and create that file.
5630 (todo-default-priority): New user option.
5631 (todo-set-item-priority): Use it.
5632 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5633 (desktop-restore-file-buffer): Declare.
5634 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5635 (todo-modes-set-2): Locally set desktop-save-buffer to
5636 todo-desktop-save-buffer.
5637 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5638 (auto-mode-alist): Add autoload cookie.
5639
5640 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5641
5642 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5643 helpers.el was a poor choice of name.
5644 (string-remove-prefix): New function.
5645 (string-remove-suffix): New function.
5646
5647 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5648
5649 Fix assignment for new window total sizes.
5650 * window.el (window--pixel-to-size): Remove function.
5651 (window--pixel-to-total-1, window--pixel-to-total):
5652 Fix calculation of new total sizes.
5653
5654 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5655
5656 * comint.el (comint-output-filter): Fix rear-nonsticky property
5657 placement (Bug#16010).
5658
5659 2013-12-20 Chong Yidong <cyd@gnu.org>
5660
5661 * faces.el (read-color): Minor fix for completion function.
5662
5663 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5664
5665 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5666 New option. (Bug#16182)
5667 (ruby-smie--indent-to-stmt-p): Use it.
5668 (ruby-smie-rules): Revert the logic in the handling of `when'.
5669 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5670 (ruby-deep-arglist, ruby-deep-indent-paren)
5671 (ruby-deep-indent-paren-style): Update docstrings to note that the
5672 vars don't have any effect with SMIE.
5673
5674 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5675
5676 * calc/calc.el (calc-enter, calc-pop): Use the variable
5677 `calc-context-sensitive-enter'.
5678
5679 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5680
5681 * net/shr.el (shr-insert): Protect against infloops in degenerate
5682 tables.
5683
5684 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5685
5686 * progmodes/octave.el (octave): Add link to manual and octave
5687 homepage.
5688 (octave-mode-menu): Link to octave-mode manual.
5689
5690 2013-12-20 Leo Liu <sdl.web@gmail.com>
5691
5692 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5693 insertion using skeleton-end-newline. (Bug#16138)
5694
5695 2013-12-20 Juri Linkov <juri@jurta.org>
5696
5697 * replace.el (occur-engine): Use `add-face-text-property'
5698 to add the face property to matches and titles. (Bug#14645)
5699
5700 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5701 the palette of other hi-lock colors.
5702 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5703
5704 2013-12-19 Juri Linkov <juri@jurta.org>
5705
5706 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5707 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5708 (minibuffer-history-symbol): Move variable declaration closer to
5709 its usage.
5710
5711 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5712 (Bug#14785)
5713
5714 2013-12-19 Juri Linkov <juri@jurta.org>
5715
5716 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5717 New function.
5718 (log-edit-hook): Add it to :options. (Bug#16170)
5719
5720 2013-12-19 Juri Linkov <juri@jurta.org>
5721
5722 * simple.el (eval-expression-print-format): Don't check for
5723 command names and the last command. Always display additional
5724 formats of the integer result in the echo area, and insert them
5725 to the current buffer only with a zero prefix arg.
5726 Display character when char-displayable-p is non-nil.
5727 (eval-expression): With a zero prefix arg, set `print-length' and
5728 `print-level' to nil, and insert the integer values from
5729 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5730
5731 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5732 `eval-last-sexp-arg-internal'. Doc fix.
5733 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5734 `eval-last-sexp-print-value'. Doc fix.
5735 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5736 Set `print-length' and `print-level' to nil when arg is zero.
5737 (eval-last-sexp): Doc fix.
5738 (eval-defun-2): Print the integer values from
5739 `eval-expression-print-format' at the end.
5740
5741 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5742 values from `eval-expression-print-format' at the end.
5743
5744 * ielm.el (ielm-eval-input): Print the integer
5745 values from `eval-expression-print-format' at the end.
5746
5747 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5748
5749 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5750 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5751
5752 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5753
5754 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5755 (hl-line-highlight, global-hl-line-highlight): Use it.
5756 (hl-line-overlay): Use defvar-local.
5757
5758 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5759
5760 * term/ns-win.el: Require dnd.
5761 (global-map): Remove drag items.
5762 (ns-insert-text, ns-set-foreground-at-mouse)
5763 (ns-set-background-at-mouse):
5764 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5765 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5766 New functions.
5767
5768 2013-12-19 Glenn Morris <rgm@gnu.org>
5769
5770 * emacs-lisp/ert.el (ert-select-tests):
5771 Fix string/symbol mixup. (Bug#16121)
5772
5773 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5774
5775 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5776 keywords to their parent.
5777
5778 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5779
5780 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5781 first arg to be a string (fixed dead code), or an operator symbol.
5782 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5783 operator symbols.
5784 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5785 did nothing. Don't respond to `(:after ".")', it will be called
5786 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5787 change anything. Only return indentation for binary operators
5788 when they are hanging. De-dent opening paren when its parent is
5789 `.', otherwise it looks bad when the dot is not at bol or eol
5790 (bug#16182).
5791
5792 2013-12-19 Juri Linkov <juri@jurta.org>
5793
5794 * replace.el (query-replace-read-args): Split a non-negative arg
5795 and a negative arg into separate elements.
5796 (query-replace, query-replace-regexp, replace-string)
5797 (replace-regexp): Add arg `backward'. Doc fix.
5798 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5799 move point to the beginning of the match.
5800 (replace-search, replace-highlight): Use new arg `backward'
5801 to set the value of `isearch-forward'.
5802 (perform-replace): Add arg `backward' and use it to perform
5803 replacement backward. (Bug#14979)
5804
5805 * isearch.el (isearch-query-replace): Use a negative prefix arg
5806 to call `perform-replace' with a non-nil arg `backward'.
5807
5808 2013-12-18 Juri Linkov <juri@jurta.org>
5809
5810 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5811 to the default list. Move `log-edit-show-files' to the end.
5812 Add more available functions to options.
5813 (log-edit): Move default specific settings to
5814 `log-edit-insert-message-template'. Don't move point.
5815 (log-edit-insert-message-template): New function.
5816 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5817 (Bug#16170)
5818
5819 2013-12-18 Juri Linkov <juri@jurta.org>
5820
5821 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5822 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5823
5824 2013-12-18 Leo Liu <sdl.web@gmail.com>
5825
5826 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5827 (Bug#16186)
5828
5829 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5830
5831 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5832 formats for displaying file sizes when the -s switch is given.
5833 Instead, compute a separate format for displaying the size in
5834 blocks, which is displayed in addition to the "regular" size.
5835 When -h is given in addition to -s, produce size in blocks in
5836 human-readable form as well. (Bug#16179)
5837
5838 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5839
5840 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5841 Reference tables with ~\ref{...} instead of only \ref{...}.
5842
5843 2013-12-18 Chong Yidong <cyd@gnu.org>
5844
5845 * cus-edit.el (custom-magic-alist): Fix "themed" description
5846 (Bug#14348).
5847
5848 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5849 is non-nil, do not create a new entry in the symbol's theme-value
5850 or theme-face property; update theme-settings only (Bug#14664).
5851 (custom-available-themes): Doc fix.
5852
5853 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5854 (Bug#15674).
5855
5856 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5857
5858 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5859
5860 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5861 (Bug#13914).
5862
5863 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5864
5865 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5866
5867 2013-12-18 Glenn Morris <rgm@gnu.org>
5868
5869 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5870 * cus-start.el (load-prefer-newer): New option.
5871
5872 2013-12-18 Le Wang <l26wang@gmail.com>
5873
5874 * comint.el (comint-previous-matching-input-from-input):
5875 Retain point (Bug#13404).
5876
5877 2013-12-18 Chong Yidong <cyd@gnu.org>
5878
5879 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5880
5881 2013-12-18 Glenn Morris <rgm@gnu.org>
5882
5883 * mail/emacsbug.el (report-emacs-bug):
5884 Only mention enable-multibyte-characters if non-standard.
5885
5886 2013-12-17 Juri Linkov <juri@jurta.org>
5887
5888 * arc-mode.el (archive-extract-by-file): Check if directory exists
5889 before deletion to not show irrelevant errors if it doesn't exist.
5890
5891 2013-12-17 Juri Linkov <juri@jurta.org>
5892
5893 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5894 (Bug#14751)
5895
5896 * net/eww.el (browse-web): Add alias to `eww'.
5897 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5898 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5899
5900 * net/browse-url.el (browse-url-browser-function): Move `eww'
5901 closer to similar functions.
5902
5903 * startup.el (fancy-startup-screen, fancy-about-screen):
5904 Set browse-url-browser-function to eww-browse-url locally.
5905 (Bug#14751)
5906
5907 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5908
5909 * window.el (window--pixel-to-total): Remove unused `mini' var.
5910 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5911 (split-window): Remove unused `new' var.
5912 (window--display-buffer): Remove unused `frame' and `delta' vars.
5913 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5914 and display-width'.
5915
5916 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5917
5918 * dired.el (dired-mark-pop-up):
5919 * register.el (register-preview): Don't bind
5920 split-height-threshold here since it's now done in
5921 display-buffer-below-selected.
5922
5923 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5924
5925 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5926 xterm-rgb-convert-to-16bit.
5927 (rxvt-register-default-colors): Standardize with
5928 xterm-register-default-colors (Bug#14078).
5929
5930 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5931
5932 * simple.el (kill-region): Pass mark first, then point, so that
5933 kill-append works right (Bug#12819).
5934 (copy-region-as-kill, kill-ring-save): Likewise.
5935
5936 2013-12-17 Leo Liu <sdl.web@gmail.com>
5937
5938 * net/rcirc.el (rcirc-add-face):
5939 * eshell/em-prompt.el (eshell-emit-prompt):
5940 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5941 (Bug#16167)
5942
5943 2013-12-17 Chong Yidong <cyd@gnu.org>
5944
5945 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5946 Suggested by Xue Fuqiao.
5947
5948 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5949
5950 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5951
5952 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5953
5954 * net/shr.el (shr-insert-document): Remove unused var
5955 `shr-preliminary-table-render'.
5956 (shr-rescale-image): Remove unused arg `force'.
5957 (shr-put-image): Update calls accordingly.
5958 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5959
5960 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5961
5962 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5963 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5964 :close-all, to see which indentation method to use (Bug#16116).
5965 (smie-rules-function): Document the method :close-all.
5966
5967 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5968
5969 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5970
5971 * net/eww.el (eww-display-html): If we can't find the anchor we're
5972 looking for, then go to point-min.
5973
5974 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5975
5976 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5977 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5978 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5979 Expand dir too, in case it's relative.
5980
5981 2013-12-16 Juri Linkov <juri@jurta.org>
5982
5983 * desktop.el (desktop-auto-save-timeout): Change default to
5984 `auto-save-timeout'. Doc fix.
5985 (desktop-save): Skip the timestamp in desktop-saved-frameset
5986 when checking for auto-save changes.
5987 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5988 `desktop-auto-save' is called repeatedly by the idle timer.
5989 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5990 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5991 (Bug#15331)
5992
5993 2013-12-16 Juri Linkov <juri@jurta.org>
5994
5995 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5996 (Bug#16035)
5997 (isearch-pre-command-hook): Check `this-command' for symbolp.
5998
5999 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
6000
6001 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
6002
6003 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
6004
6005 * progmodes/cfengine.el (cfengine3--current-word): Remove.
6006 (cfengine3--current-function): Bring in the current-function
6007 functionality from `cfengine3--current-word'.
6008 (cfengine3-completion-function): Bring in the
6009 bounds-of-current-word functionality from
6010 `cfengine3--current-word'.
6011
6012 2013-12-16 Martin Rudalics <rudalics@gmx.at>
6013
6014 * window.el (display-buffer-below-selected):
6015 Bind split-height-threshold to 0 as suggested by Juri Linkov.
6016
6017 2013-12-16 Leo Liu <sdl.web@gmail.com>
6018
6019 * progmodes/compile.el (compile-goto-error): Do not push-mark.
6020 Remove NOMSG arg and all uses changed.
6021
6022 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
6023
6024 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
6025 (cua--deactivate-rectangle): Don't deactivate the mark.
6026 (cua-set-rectangle-mark): Don't set mark-active since
6027 cua--activate-rectangle already does it for us.
6028 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
6029 non-rectangular region.
6030
6031 * emulation/cua-base.el (cua-repeat-replace-region):
6032 Use with-current-buffer.
6033
6034 * net/gnutls.el: Use cl-lib.
6035 (gnutls-negotiate): `mapcan' -> cl-mapcan.
6036
6037 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
6038
6039 * emacs-lisp/package.el (package-built-in-p): Support both
6040 built-in and the package.el converted package descriptions.
6041 (package-show-package-list): Allow keywords.
6042 (package-keyword-button-action): Use it instead of
6043 `finder-list-matches'.
6044 (package-menu-filter-interactive): Interactive filtering (by
6045 keyword) function.
6046 (package-menu--generate): Support keywords and change keymappings
6047 and headers when they are given.
6048 (package--has-keyword-p): Helper function.
6049 (package-menu--refresh): Use it.
6050 (package--mapc): Helper function.
6051 (package-all-keywords): Use it.
6052 (package-menu-mode-map): Set up menu items and keybindings to
6053 provide a filtering UI.
6054
6055 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
6056
6057 * net/gnutls.el (gnutls-verify-error): New defcustom to control
6058 the behavior when a certificate fails validation. Defaults to
6059 old behavior: never abort, just warn.
6060 (gnutls-negotiate): Use it.
6061
6062 2013-12-14 Martin Rudalics <rudalics@gmx.at>
6063
6064 * window.el (display-buffer-below-selected): Never split window
6065 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
6066
6067 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
6068
6069 * emacs-lisp/package.el (package--prepare-dependencies): New function.
6070 (package-buffer-info): Use it (bug#15108).
6071
6072 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
6073
6074 * icomplete.el (icomplete-completions): Make sure the prefix is already
6075 displayed elsewhere before hiding it (bug#16219).
6076
6077 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
6078
6079 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
6080 open-paren tokens when preceded by a open-paren, too.
6081 (ruby-smie-rules): Handle virtual indentation after open-paren
6082 tokens specially. If there is code between it and eol, return the
6083 column where is starts (Bug#16118).
6084
6085 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6086
6087 * progmodes/cfengine.el: Fix `add-hook' doc.
6088 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
6089 (cfengine3--current-word): Fix parameters.
6090 (cfengine3-make-syntax-cache): Simplify further.
6091 (cfengine3-completion-function, cfengine3--current-function):
6092 Use `assq' for symbols.
6093 (cfengine3--current-function): Fix `cfengine3--current-word' call.
6094
6095 2013-12-13 Glenn Morris <rgm@gnu.org>
6096
6097 * loadup.el (load-path): Warn if site-load or site-init changes it.
6098 No more need to reset it when bootstrapping.
6099
6100 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6101
6102 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
6103 locations for cf-promises.
6104 (cfengine-mode-syntax-functions-regex): New caching variable.
6105 (cfengine3-fallback-syntax): Fallback syntax for cases where
6106 cf-promises doesn't run.
6107 (cfengine3--current-word): Reimplement using
6108 `cfengine-mode-syntax-functions-regex'.
6109 (cfengine3-completion-function, cfengine3--current-function):
6110 Use `cfengine3-make-syntax-cache' directly.
6111 (cfengine3-clear-syntax-cache): New function.
6112 (cfengine3-make-syntax-cache): Simplify and create
6113 `cfengine-mode-syntax-functions-regex' on demand.
6114 (cfengine3-format-function-docstring): Don't call
6115 `cfengine3-make-syntax-cache' explicitly.
6116
6117 2013-12-13 Martin Rudalics <rudalics@gmx.at>
6118
6119 Fix windmove-find-other-window broken after pixelwise resizing
6120 (Bug#16017).
6121 * windmove.el (windmove-other-window-loc): Revert change from
6122 2013-12-04.
6123 (windmove-find-other-window): Call window-in-direction.
6124 * window.el (window-in-direction): New arguments SIGN, WRAP and
6125 MINI to emulate original windmove-find-other-window behavior.
6126
6127 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
6128
6129 * simple.el (blink-matching--overlay): New variable.
6130 (blink-matching-open): Instead of moving point, highlight the
6131 matching paren with an overlay
6132 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
6133
6134 * faces.el (paren-showing-faces, show-paren-match)
6135 (show-paren-mismatch): Move from paren.el.
6136
6137 2013-12-13 Leo Liu <sdl.web@gmail.com>
6138
6139 * indent.el (indent-region): Disable progress reporter in
6140 minibuffer. (Bug#16108)
6141
6142 * bindings.el (visual-order-cursor-movement): Fix version.
6143
6144 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6145
6146 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
6147 Also match after beginning of line.
6148 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
6149 files. Thanks to Russell Sim. (Bug#15378)
6150
6151 2013-12-13 Juri Linkov <juri@jurta.org>
6152
6153 * simple.el <Keypad support>: Remove key bindings duplicated
6154 with bindings.el. (Bug#14397)
6155
6156 2013-12-13 Juri Linkov <juri@jurta.org>
6157
6158 * comint.el (comint-mode-map): Replace `delete-char' with
6159 `delete-forward-char'. (Bug#16109)
6160
6161 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6162
6163 * progmodes/python.el (python-indent-calculate-indentation):
6164 Fix de-denters cornercase. (Bug#15731)
6165
6166 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
6167
6168 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
6169 (advice--make): Pay attention to `depth'.
6170 (advice--make-1): Don't autoload commands eagerly.
6171 * emacs-lisp/elp.el (elp-instrument-function):
6172 * emacs-lisp/trace.el (trace-function-internal):
6173 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
6174
6175 * iswitchb.el (iswitchb-mode): Don't belittle ido.
6176
6177 2013-12-12 Eli Zaretskii <eliz@gnu.org>
6178
6179 * term/w32-win.el (w32-handle-dropped-file):
6180 * startup.el (normal-top-level):
6181 * net/browse-url.el (browse-url-file-url):
6182 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
6183 decode file names using 'utf-8' rather than
6184 file-name-coding-system.
6185
6186 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6187
6188 * progmodes/python.el (python-indent-context)
6189 (python-indent-calculate-indentation): Fix auto-identation
6190 behavior for comment blocks. (Bug#15916)
6191
6192 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6193
6194 * progmodes/python.el (python-indent-calculate-indentation):
6195 When determining indentation, don't treat "return", "pass", etc., as
6196 operators when they are just string constituents. (Bug#15812)
6197
6198 2013-12-12 Juri Linkov <juri@jurta.org>
6199
6200 * uniquify.el (uniquify-buffer-name-style): Change default to
6201 `post-forward-angle-brackets'.
6202
6203 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
6204 `uniquify'. Change default to `post-forward-angle-brackets'.
6205
6206 2013-12-11 Glenn Morris <rgm@gnu.org>
6207
6208 * emacs-lisp/package.el (finder-list-matches):
6209 Autoload rather than falsely declaring.
6210
6211 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
6212
6213 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
6214 (eww-mode-map): Use them.
6215
6216 2013-12-11 Martin Rudalics <rudalics@gmx.at>
6217
6218 * window.el (display-buffer-in-side-window): Fix doc-string
6219 (Bug#16115).
6220
6221 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
6222
6223 * vc/vc-git.el: Silence byte-compiler warnings.
6224 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
6225 (log-edit-set-header): Declare.
6226
6227 2013-12-11 Eli Zaretskii <eliz@gnu.org>
6228
6229 * Makefile.in (custom-deps, finder-data): Run output file names
6230 through unmsys--file-name. (Bug#16099)
6231
6232 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
6233
6234 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
6235 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
6236
6237 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
6238 instead of deleting the selection "by hand" (bug#16098).
6239 Rely on insert-for-yank to yank rectangles.
6240 (cua-highlight-region-shift-only): Mark obsolete.
6241 (cua-mode): Don't enable/disable transient-mark-mode,
6242 shift-select-mode (cua-mode works both with and without them), and
6243 pc-selection-mode (obsolete).
6244 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
6245 (cua--deactivate-rectangle): Deactivate it.
6246
6247 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
6248 (delete-selection-helper): Make sure yank starts at the top of the
6249 deleted region.
6250 (minibuffer-keyboard-quit): Use region-active-p.
6251
6252 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
6253
6254 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
6255 to `delete' (bug#16109).
6256
6257 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6258
6259 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
6260 info manual and show keybindings and set `:group' keyword.
6261
6262 2013-12-11 Juri Linkov <juri@jurta.org>
6263
6264 * delsel.el (delete-active-region): Let-bind `this-command'
6265 to prevent `kill-region' from changing its original value.
6266 (delete-selection-helper): Handle `overwrite-mode' for the type
6267 `kill' exactly the same way as for the type `t'.
6268 (insert-char, quoted-insert, reindent-then-newline-and-indent):
6269 Support more commands. (Bug#13312)
6270
6271 2013-12-11 Juri Linkov <juri@jurta.org>
6272
6273 * bindings.el: Map kp keys to non-kp keys systematically
6274 with basic modifiers control, meta and shift. (Bug#14397)
6275
6276 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6277
6278 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
6279 "Close browser" menu items. Fix wrong function of "List
6280 bookmarks".
6281
6282 2013-12-11 Juri Linkov <juri@jurta.org>
6283
6284 * misearch.el (multi-isearch-buffers): Set the value of
6285 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6286 arg of isearch-forward to t.
6287 (multi-isearch-buffers-regexp): Set the value of
6288 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6289 arg of isearch-forward-regexp to t.
6290 (multi-isearch-files): Set the value of
6291 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6292 arg of isearch-forward to t.
6293 (multi-isearch-files-regexp): Set the value of
6294 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6295 arg of isearch-forward-regexp to t. (Bug#16035)
6296
6297 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
6298 arg of isearch-forward to t.
6299 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
6300 arg of isearch-forward-regexp to t.
6301 (dired-isearch-filter-filenames): Remove unnecessary check for
6302 `dired-isearch-filenames'.
6303
6304 * comint.el (comint-history-isearch-backward):
6305 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
6306 (comint-history-isearch-backward-regexp):
6307 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
6308
6309 2013-12-10 Eli Zaretskii <eliz@gnu.org>
6310
6311 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
6312 unmsys--file-name. (Bug#16099)
6313
6314 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
6315
6316 * emacs-lisp/package.el (package-keyword-button-action):
6317 Remove finder.el require dependency.
6318
6319 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
6320
6321 * emacs-lisp/package.el: Require finder.el.
6322 (describe-package-1): Add keyword buttons.
6323 (package-make-button): New convenience function.
6324 (package-keyword-button-action): Keyword button action using
6325 `finder-list-matches'.
6326
6327 2013-12-09 Eli Zaretskii <eliz@gnu.org>
6328
6329 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
6330 last commit.
6331
6332 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
6333
6334 * autorevert.el (auto-revert-notify-add-watch): Do not handle
6335 symlinked files.
6336
6337 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6338
6339 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6340 after the end of a percent literal.
6341
6342 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
6343
6344 * progmodes/ruby-mode.el (ruby-forward-string): Document.
6345 Handle caret-delimited strings (Bug#16079).
6346
6347 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6348
6349 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
6350 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
6351 `ruby-parse-partial' (Bug#16078).
6352
6353 2013-12-09 Leo Liu <sdl.web@gmail.com>
6354
6355 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
6356
6357 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
6358
6359 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
6360 (js-switch-indent-offset): New option.
6361 (js--proper-indentation): Use it. And handle the case when
6362 "default" is actually a key in an object literal.
6363 (js--same-line): New function.
6364 (js--multi-line-declaration-indentation): Use it.
6365 (js--indent-in-array-comp, js--array-comp-indentation):
6366 New functions.
6367 (js--proper-indentation): Use them, to handle array comprehension
6368 continuations.
6369
6370 2013-12-08 Leo Liu <sdl.web@gmail.com>
6371
6372 * progmodes/flymake.el (flymake-highlight-line): Re-write.
6373 (flymake-make-overlay): Remove arg MOUSE-FACE.
6374 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
6375
6376 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6377
6378 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
6379 New function.
6380 (redisplay-highlight-region-function): Use it.
6381
6382 * emulation/cua-base.el (cua--explicit-region-start)
6383 (cua--last-region-shifted): Remove.
6384 (cua--deactivate): Use deactivate-mark.
6385 (cua--pre-command-handler-1): Don't handle shift-selection.
6386 (cua--post-command-handler-1): Don't change transient-mark-mode.
6387 (cua--select-keymaps): Use region-active-p rather than
6388 cua--explicit-region-start or cua--last-region-shifted.
6389 (cua-mode): Enable shift-select-mode.
6390
6391 2013-12-08 Leo Liu <sdl.web@gmail.com>
6392
6393 * progmodes/flymake.el (flymake-popup-current-error-menu):
6394 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6395 (flymake-posn-at-point-as-event, flymake-popup-menu)
6396 (flymake-make-emacs-menu): Remove. (Bug#16077)
6397
6398 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6399
6400 * rect.el (rectangle-mark-mode): Activate mark even if
6401 transient-mark-mode is off (bug#16066).
6402 (rectangle--highlight-for-redisplay): Fix boundary condition when point
6403 is > mark and at bolp.
6404
6405 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
6406 (region-extract-function): Use it.
6407 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
6408 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
6409 Delete functions.
6410 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
6411 kill-ring-save, kill-region, delete-char, delete-forward-char.
6412 Ignore self-insert-iso.
6413
6414 * emulation/cua-gmrk.el (cua--init-global-mark):
6415 Ignore `self-insert-iso'.
6416
6417 * emulation/cua-base.el (cua--prefix-copy-handler)
6418 (cua--prefix-cut-handler): Rely on region-extract-function rather than
6419 checking cua--rectangle.
6420 (cua-delete-region): Use region-extract-function.
6421 (cua-replace-region): Delete function.
6422 (cua-copy-region, cua-cut-region): Obey region-extract-function.
6423 (cua--pre-command-handler-1): Don't do the delete-selection thing.
6424 (cua--self-insert-char-p): Ignore `self-insert-iso'.
6425 (cua--init-keymaps): Don't remap delete-selection commands.
6426 (cua-mode): Use delete-selection-mode instead of rolling our own
6427 (bug#16085).
6428
6429 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
6430 Obey region-extract-function.
6431
6432 Make registers and delete-selection-mode work on rectangles.
6433 * register.el (describe-register-1): Don't modify the register's value.
6434 (copy-to-register): Obey region-extract-function.
6435 * delsel.el (delete-active-region): Obey region-extract-function.
6436
6437 2013-12-08 Leo Liu <sdl.web@gmail.com>
6438
6439 * progmodes/flymake.el (flymake, flymake-error-bitmap)
6440 (flymake-warning-bitmap, flymake-fringe-indicator-position)
6441 (flymake-compilation-prevents-syntax-check)
6442 (flymake-start-syntax-check-on-newline)
6443 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
6444 (flymake-start-syntax-check-on-find-file, flymake-log-level)
6445 (flymake-xml-program, flymake-master-file-dirs)
6446 (flymake-master-file-count-limit)
6447 (flymake-allowed-file-name-masks): Relocate.
6448 (flymake-makehash, flymake-float-time)
6449 (flymake-replace-regexp-in-string, flymake-split-string)
6450 (flymake-get-temp-dir): Remove.
6451 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6452 (flymake-current-row, flymake-selected-frame)
6453 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6454 related functions. (Bug#16077)
6455
6456 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
6457
6458 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6459
6460 2013-12-07 Tassilo Horn <tsdh@gnu.org>
6461
6462 * help-fns.el (describe-function-1): Use new advice-* functions
6463 rather than old ad-* functions. Fix function type description and
6464 source links for advised functions and subrs.
6465
6466 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6467
6468 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
6469
6470 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
6471
6472 * progmodes/compile.el (compilation-start):
6473 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6474
6475 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6476 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
6477
6478 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6479
6480 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6481 Touch up the last change.
6482
6483 2013-12-06 Leo Liu <sdl.web@gmail.com>
6484
6485 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6486 (inferior-octave-startup): Always use "octave> " for prompt.
6487 (octave-goto-function-definition)
6488 (octave-sync-function-file-names)
6489 (octave-find-definition-default-filename): Remove redundant backquotes.
6490
6491 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6492
6493 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6494 syntax for `?'.
6495 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6496 where appropriate already.
6497 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6498 end of method names (Bug#15874).
6499
6500 2013-12-06 Juri Linkov <juri@jurta.org>
6501
6502 * isearch.el (isearch--saved-overriding-local-map):
6503 New internal variable.
6504 (isearch-mode): Set it to the initial value of
6505 `overriding-terminal-local-map'.
6506 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6507 with `isearch--saved-overriding-local-map'. (Bug#16035)
6508
6509 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6510
6511 * progmodes/octave.el (inferior-octave-completion-table):
6512 Turn back into function, use `completion-table-with-cache'
6513 (Bug#11906). Update all references.
6514
6515 * minibuffer.el (completion-table-with-cache): New function.
6516
6517 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
6518
6519 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6520
6521 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
6522
6523 * net/eww.el (eww-current-source): New variable to store page
6524 source.
6525 (eww-display-html, eww-mode, eww-save-history)
6526 (eww-restore-history): Use it.
6527 (eww-view-source): New command to view page source.
6528 Opportunistically uses `html-mode' to highlight the buffer.
6529 (eww-mode-map): Install it.
6530
6531 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
6532
6533 * net/dbus.el (dbus-unregister-service)
6534 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6535 Fix docstring.
6536 (dbus-unregister-service): Skip :serial entries in
6537 `dbus-registered-objects-table'.
6538 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6539
6540 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
6541
6542 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6543 around keywords with extra `split-string' argument.
6544
6545 2013-12-04 Martin Rudalics <rudalics@gmx.at>
6546
6547 * windmove.el (windmove-other-window-loc): Handle navigation
6548 between windows (excluding the minibuffer window - Bug#16017).
6549
6550 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
6551
6552 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6553 in D-Bus type syntax.
6554 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6555 preserve unibyte strings. (Bug#16048)
6556
6557 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6558
6559 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6560 Call force-mode-line-update is the proper buffer (bug#16042).
6561
6562 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
6563
6564 * vc/log-edit.el (log-edit-add-new-comment): Rename to
6565 `log-edit-remember-comment', make argument optional. Adjust all
6566 callers.
6567 (log-edit-mode): Add `log-edit-remember-comment' to
6568 `kill-buffer-hook' locally.
6569 (log-edit-kill-buffer): Don't remember comment explicitly since
6570 the buffer is killed anyway.
6571
6572 2013-12-04 Juri Linkov <juri@jurta.org>
6573
6574 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6575 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6576
6577 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
6578
6579 * notifications.el (notifications-close-notification): Call the
6580 D-Bus method with ID being a `:uint32'. (Bug#16030)
6581
6582 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6583
6584 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6585
6586 2013-12-03 Juri Linkov <juri@jurta.org>
6587
6588 * progmodes/compile.el (compilation-start): Rename window alist
6589 entry `no-display-ok' to `allow-no-window'.
6590
6591 * simple.el (shell-command): Add window alist entry
6592 `allow-no-window' to `display-buffer'.
6593 (async-shell-command): Doc fix.
6594
6595 * window.el (display-buffer-no-window): New action function.
6596 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6597
6598 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6599
6600 * vc/log-edit.el (log-edit-set-header): Extract from
6601 `log-edit-toggle-header'.
6602 (log-edit-extract-headers): Separate the summary, when extracted
6603 from header, from the rest of the message with an empty line.
6604
6605 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6606 line, if present, to the Summary header.
6607
6608 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6609
6610 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6611 in current-buffer (bug#16029).
6612
6613 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
6614
6615 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6616 (debugger-mode-map): Bind it.
6617 (debugger--backtrace-base): New function.
6618 (debugger-eval-expression): Use it.
6619 (debugger-frame-number): Skip local vars when present.
6620 (debugger--locals-visible-p, debugger--insert-locals)
6621 (debugger--show-locals, debugger--hide-locals): New functions.
6622
6623 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
6624
6625 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6626 "LC_ALL".
6627 (tramp-get-remote-locale): New defun.
6628 (tramp-open-connection-setup-interactive-shell): Use it.
6629
6630 2013-12-02 Leo Liu <sdl.web@gmail.com>
6631
6632 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6633
6634 * progmodes/sh-script.el (sh-shell-process):
6635 * progmodes/octave.el (inferior-octave-process-live-p):
6636 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6637 (gdb-inferior-io-sentinel):
6638 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6639
6640 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6641
6642 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6643 `save-selected-window' to `log-edit-hide-buf'. This makes
6644 `log-edit-show-files' idempotent.
6645 (log-edit-show-files): Mark the new window as dedicated.
6646
6647 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6648
6649 * vc/log-edit.el (log-edit-mode-map): Add binding for
6650 `log-edit-kill-biffer'.
6651 (log-edit-hide-buf): Add a FIXME comment.
6652 (log-edit-add-new-comment): New function, extracted from
6653 `log-edit-done'.
6654 (log-edit-done, log-edit-add-to-changelog): Use it.
6655 (log-edit-kill-buffer): New command.
6656
6657 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6658
6659 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6660 instead of killing the buffer.
6661
6662 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6663
6664 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6665
6666 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6667
6668 * net/eww.el (eww-form-checkbox-selected-symbol)
6669 (eww-form-checkbox-symbol): New customizable variable.
6670 (eww-form-checkbox, eww-toggle-checkbox):
6671 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6672
6673 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6674 (shr--get-media-pref, shr--extract-best-source): New function.
6675 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6676 no :src tag was specified.
6677
6678 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6679 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6680 Use \\` to match beginning of string instead of ^.
6681 (eww-browse-with-external-browser): Provide optional URL parameter.
6682 (eww-render): Set `eww-current-title' back to "".
6683
6684 * net/shr.el (shr-tag-video): Display content for video if no
6685 poster is available.
6686 (shr-tag-audio): Add support for <audio> tag.
6687
6688 * net/eww.el (eww-text-input-types): New const.
6689 (eww-process-text-input): Treat input types in
6690 `eww-text-input-types' as text.
6691
6692 * net/shr.el (shr-tag-table): Fix comment typo.
6693
6694 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6695
6696 * net/eww.el (eww-follow-link): New command to avoid reloading
6697 pages when we follow #target links (bug#15243).
6698 (eww-quit): Special mode buffers shouldn't query before exiting.
6699
6700 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6701
6702 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6703 forms.
6704
6705 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6706
6707 * net/eww.el (eww-restore-history): Update the window title after
6708 moving in the history.
6709 (eww-current-dom): New variable used to save the current DOM.
6710
6711 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6712
6713 * vc/log-edit.el (log-edit-mode-map): Add binding for
6714 `log-edit-beginning-of-line'.
6715 (log-edit-setup-add-author): New user option.
6716 (log-edit-beginning-of-line): New command.
6717 (log-edit): Move major mode call above the contents setup so that
6718 the local variable values are already applied.
6719 (log-edit): Only insert "Author: " when
6720 `log-edit-setup-add-author' is non-nil.
6721 (log-edit): When SETUP is non-nil, position point after ": "
6722 instead of point-min.
6723
6724 2013-12-01 Glenn Morris <rgm@gnu.org>
6725
6726 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6727
6728 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6729
6730 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6731 redisplay to make sure the initial frame gets a chance to become
6732 visible. (Bug#16014)
6733
6734 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6735
6736 Support resizing frames and windows pixelwise.
6737 * cus-start.el (frame-resize-pixelwise)
6738 (window-resize-pixelwise): New entries.
6739 * emacs-lisp/debug.el (debug): Use window-total-height instead
6740 of window-total-size.
6741 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6742 * help.el (describe-bindings-internal): Use help-buffer as
6743 argument for with-help-window.
6744 (temp-buffer-max-width): New option.
6745 (resize-temp-buffer-window, help-window-setup)
6746 (with-help-window): Rewrite.
6747 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6748 dragging dividers.
6749 * window.el (frame-char-size, window-min-pixel-height)
6750 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6751 (window-min-pixel-width, window-safe-min-pixel-size)
6752 (window-combination-p, window-safe-min-size)
6753 (window-resizable-p, window--size-to-pixel)
6754 (window--pixel-to-size, window--resize-apply-p): New functions.
6755 (window-safe-min-height): Fix doc-string.
6756 (window-size, window-min-size, window--min-size-1)
6757 (window-sizable, window-sizable-p, window--min-delta-1)
6758 (window-min-delta, window--max-delta-1, window-max-delta)
6759 (window--resizable, window--resizable-p, window-resizable)
6760 (window-full-height-p, window-full-width-p, window-at-side-p)
6761 (window--in-direction-2, window-in-direction)
6762 (window--resize-reset-1, window--resize-mini-window)
6763 (window-resize, window-resize-no-error)
6764 (window--resize-child-windows-normal)
6765 (window--resize-child-windows, window--resize-siblings)
6766 (window--resize-this-window, window--resize-root-window)
6767 (window--resize-root-window-vertically)
6768 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6769 (maximize-window, minimize-window, delete-window)
6770 (quit-restore-window, window-split-min-size, split-window)
6771 (balance-windows-2, balance-windows)
6772 (balance-windows-area-adjust, balance-windows-area)
6773 (window--state-get-1, window-state-get, window--state-put-1)
6774 (window--state-put-2, window-state-put)
6775 (display-buffer-record-window, window--display-buffer):
6776 Make functions handle pixelwise sizing of windows.
6777 (display-buffer--action-function-custom-type)
6778 (display-buffer-fallback-action):
6779 Add display-buffer-in-previous-window.
6780 (display-buffer-use-some-window): Resize window to height it had
6781 before.
6782 (fit-window-to-buffer-horizontally): New option.
6783 (fit-frame-to-buffer): Describe new values.
6784 (fit-frame-to-buffer-bottom-margin): Replace with
6785 fit-frame-to-buffer-margins.
6786 (window--sanitize-margin): New function.
6787 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6788 using window-text-pixel-size.
6789
6790 2013-11-30 Glenn Morris <rgm@gnu.org>
6791
6792 * emacs-lisp/bytecomp.el (byte-compile-form):
6793 Make the `interactive-only' warning like the `obsolete' one.
6794 * comint.el (comint-run):
6795 * files.el (insert-file-literally, insert-file):
6796 * replace.el (replace-string, replace-regexp):
6797 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6798 (goto-line, insert-buffer, next-line, previous-line):
6799 Tweak `interactive-only' spec.
6800
6801 Stop keeping (most) generated cedet grammar files in the repository.
6802 * Makefile.in (semantic): New.
6803 (compile-main): Depend on semantic.
6804
6805 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6806
6807 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6808 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6809
6810 * uniquify.el (uniquify-buffer-name-style): Change default.
6811
6812 * loadup.el: Preload "uniquify".
6813
6814 * time.el (display-time-update): Update all mode lines (bug#15999).
6815
6816 * electric.el (electric-indent-mode): Enable by default.
6817 * loadup.el: Preload "electric".
6818
6819 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6820
6821 * emacs-lisp/helpers.el (string-empty-p): New function.
6822 (string-blank-p): New function.
6823
6824 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6825
6826 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6827 (Bug#14029).
6828
6829 2013-11-29 Andreas Politz <politza@fh-trier.de>
6830 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6831 allow non-lambda lists as functions.
6832 (imenu--in-alist): Don't recurse into non-subalists.
6833 (imenu): Don't pass function itself as an argument (Bug#14029).
6834
6835 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6836
6837 * progmodes/python.el (python-mode-map): Remove binding for ":".
6838 (python-indent-electric-colon): Remove command.
6839 (python-indent-post-self-insert-function): Integrate the previous code
6840 of python-indent-electric-colon. Make it conditional on
6841 electric-indent-mode.
6842 (python-mode): Add ?: to electric-indent-chars.
6843 Move python-indent-post-self-insert-function to the end of
6844 post-self-insert-hook.
6845
6846 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6847
6848 * doc-view.el (doc-view-goto-page): Update mode-line.
6849
6850 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6851
6852 2013-11-27 Glenn Morris <rgm@gnu.org>
6853
6854 * international/charprop.el, international/uni-bidi.el:
6855 * international/uni-category.el, international/uni-combining.el:
6856 * international/uni-comment.el, international/uni-decimal.el:
6857 * international/uni-decomposition.el, international/uni-digit.el:
6858 * international/uni-lowercase.el, international/uni-mirrored.el:
6859 * international/uni-name.el, international/uni-numeric.el:
6860 * international/uni-old-name.el, international/uni-titlecase.el:
6861 * international/uni-uppercase.el:
6862 Remove generated files from VCS repository.
6863
6864 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6865
6866 * filenotify.el (file-notify-add-watch): Don't special-case
6867 w32notify when computing the directory to watch.
6868
6869 2013-11-27 Glenn Morris <rgm@gnu.org>
6870
6871 Make bootstrap without generated uni-*.el files possible again.
6872 * loadup.el: Update command-line-args checking for unidata-gen.
6873 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6874 * composite.el, international/characters.el:
6875 Handle unicode tables being undefined.
6876
6877 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6878 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6879 (compile-main): Depend on leim rule.
6880 (leim): New rule.
6881 * loadup.el: Move leim-list.el to leim/ subdirectory.
6882 * startup.el (normal-top-level): No more leim directory.
6883 * international/ja-dic-cnv.el (skkdic-convert):
6884 Disable version-control and autoloads in output files.
6885 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6886 Disable version-control and autoloads in output files.
6887 * leim/quail: Move here from ../leim.
6888 * leim/quail/hangul.el (hangul-input-method-activate):
6889 Add autoload cookie.
6890 (generated-autoload-load-name): Set file-local value.
6891 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6892 (generated-autoload-load-name): Set file-local value.
6893
6894 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6895
6896 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6897 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6898 (eww-quit): Ask confirmation before quitting eww.
6899
6900 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6901
6902 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6903 reading output from Diff on MS-Windows and MS-DOS.
6904
6905 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6906
6907 * emacs-lisp/helpers.el (string-reverse): New function.
6908
6909 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6910
6911 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6912 names on MS Windows, like "/[::1]:".
6913
6914 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6915 SWITCHES.
6916
6917 2013-11-26 Glenn Morris <rgm@gnu.org>
6918
6919 * progmodes/python.el (python-indent-guess-indent-offset):
6920 Avoid corner-case error. (Bug#15975)
6921
6922 Preload leim-list.el. (Bug#4789)
6923 * loadup.el: Load leim-list.el when found.
6924 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6925
6926 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6927
6928 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6929
6930 * emacs-lisp/helpers.el (string-join): New function.
6931
6932 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6933
6934 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6935 Mark as obsolete and replace it with a symbol property.
6936 (byte-compile-form): Use new 'interactive-only property.
6937 * comint.el, files.el, replace.el, simple.el:
6938 Apply new 'interactive-only properly.
6939
6940 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6941
6942 * window.el (display-buffer-at-bottom): Make sure that
6943 split-window-sensibly creates the new window on bottom
6944 (Bug#15961).
6945
6946 2013-11-23 David Kastrup <dak@gnu.org>
6947
6948 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6949 on the conflict markers when available.
6950 (smerge--get-marker): New function.
6951 (smerge-end-re, smerge-base-re): Add subgroup.
6952
6953 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6954
6955 * frame.el (handle-focus-in, handle-focus-out): Add missing
6956 interactive spec.
6957
6958 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6959
6960 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6961 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6962
6963 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6964
6965 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6966 (gomoku--last-pos): New var.
6967 (gomoku--intangible-chars): New const.
6968 (gomoku--intangible): New function.
6969 (gomoku-mode): Use it. Derive from special-mode.
6970 (gomoku-move-up): Adjust line count.
6971 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6972 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6973 Simplify accordingly.
6974
6975 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6976 Remove blink-cursor code.
6977 (blink-cursor-timer-function, blink-cursor-suspend):
6978 Don't special-case GUIs.
6979 (blink-cursor-mode): Use focus-in/out-hook.
6980
6981 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6982
6983 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6984 work when annotation is invisible (Bug#13886).
6985
6986 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6987
6988 * json.el (json-alist-p): Only return non-nil if the alist has
6989 simple keys (Bug#13518).
6990
6991 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6992
6993 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6994 when control-statement is the first statement in a buffer (Bug#15956).
6995
6996 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6997
6998 * imenu.el (imenu-generic-skip-comments-and-strings):
6999 New option (Bug#15560).
7000 (imenu--generic-function): Use it.
7001
7002 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
7003
7004 * minibuffer.el (completion--in-region-1): Scroll the correct window.
7005 (Bug#13898)
7006
7007 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
7008
7009 * emacs-lisp/helpers.el: Add some string helpers.
7010 (string-trim-left): Removes leading whitespace.
7011 (string-trim-right): Removes trailing whitespace.
7012 (string-trim): Removes leading and trailing whitespace.
7013
7014 * subr.el (string-suffix-p): New function.
7015
7016 2013-11-23 Glenn Morris <rgm@gnu.org>
7017
7018 * progmodes/python.el (python-shell-send-file):
7019 Add option to delete file when done. (Bug#15647)
7020 (python-shell-send-string, python-shell-send-region): Use it.
7021
7022 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
7023
7024 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
7025 to set buffer-read-only to t, never to nil. (Bug#15938)
7026
7027 * textmodes/tex-mode.el (latex-noindent-environments):
7028 Add safe-local-variable property. (Bug#15936)
7029
7030 2013-11-23 Glenn Morris <rgm@gnu.org>
7031
7032 * textmodes/enriched.el (enriched-mode): Doc fix.
7033 * emacs-lisp/authors.el (authors-renamed-files-alist):
7034 Add enriched.doc -> enriched.txt.
7035
7036 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
7037
7038 2013-11-22 Leo Liu <sdl.web@gmail.com>
7039
7040 * progmodes/octave.el (inferior-octave-startup): Spit out error
7041 message.
7042
7043 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
7044
7045 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7046 Improve docstring.
7047 Add :version.
7048 (ruby-encoding-magic-comment-style): Add :version.
7049
7050 2013-11-22 Leo Liu <sdl.web@gmail.com>
7051
7052 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
7053 (Bug#15076)
7054 (octave-help-mode): Adapt to change to help-mode-finish to use
7055 derived-mode-p on 2013-09-17.
7056 (inferior-octave-prompt): Also match octave-gui.
7057 (octave-kill-process): Don't ask twice. (Bug#10564)
7058
7059 2013-11-22 Leo Liu <sdl.web@gmail.com>
7060
7061 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
7062 (inferior-octave-startup, inferior-octave-check-process)
7063 (inferior-octave-track-window-width-change)
7064 (octave-completion-at-point, octave-eldoc-function): Use it.
7065 (octave-kill-process): Provide confirmation. (Bug#10564)
7066
7067 2013-11-21 Leo Liu <sdl.web@gmail.com>
7068
7069 * progmodes/octave.el (octave-mode, inferior-octave-mode):
7070 Fix obsolete variable comment-use-global-state.
7071
7072 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7073
7074 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
7075 Add `octave-source-file'.
7076 (octave-source-file): New function. (Bug#15935)
7077
7078 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
7079
7080 * net/eww.el (eww-local-regex): New variable.
7081 (eww): Use it to detect localhost and similar.
7082
7083 2013-11-21 Leo Liu <sdl.web@gmail.com>
7084
7085 Add completion for command `ag'.
7086 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
7087 (pcomplete/ag): New function.
7088 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
7089
7090 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7091
7092 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
7093 (bug#14646).
7094 (make-obsolete): Remove interactive spec.
7095
7096 2013-11-21 Glenn Morris <rgm@gnu.org>
7097
7098 * startup.el (command-line-1): Use path-separator with -L.
7099
7100 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
7101
7102 * emacs-lisp/package.el (describe-package-1): Add package archive
7103 to shown fields.
7104
7105 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7106
7107 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7108 Change default to "# encoding: %s" to differentiate it from the
7109 default Ruby encoding comment template.
7110
7111 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
7112
7113 * ses.el (ses-mode): Doc fix. (Bug#14748)
7114
7115 2013-11-20 Leo Liu <sdl.web@gmail.com>
7116
7117 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
7118
7119 2013-11-19 Dan Nicolaescu <dann@gnu.org>
7120
7121 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
7122 when rebase or bisect are in progress.
7123
7124 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
7125
7126 * filenotify.el (file-notify-add-watch): Doc fix.
7127
7128 2013-11-19 Leo Liu <sdl.web@gmail.com>
7129
7130 * obsolete/rcompile.el: Mark obsolete.
7131
7132 * progmodes/compile.el (compilation-start)
7133 (compilation-goto-locus, compilation-find-file):
7134 Pass no-display-ok and handle nil value from display-buffer.
7135 (Bug#13594)
7136
7137 * window.el (display-buffer-alist, display-buffer): Document the
7138 new parameter no-display-ok. Return either a window or nil
7139 but never a non-window value.
7140
7141 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7142
7143 * electric.el (electric-indent-mode-map): Remove.
7144 (electric-indent-mode): Change the global-map instead (bug#15915).
7145
7146 * textmodes/text-mode.el (paragraph-indent-minor-mode):
7147 Use add-function.
7148
7149 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
7150
7151 * emacs-lisp/nadvice.el (remove-function): Align with
7152 add-function's behavior.
7153
7154 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
7155 (gdb--string-regexp): New constant.
7156 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
7157 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
7158 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
7159 submatch 1.
7160 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
7161 Adjust use accordingly.
7162 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
7163
7164 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
7165
7166 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
7167 interpolation curlies (Bug#15914).
7168
7169 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
7170
7171 * calc/calc.el (calc-context-sensitive-enter): New variable.
7172 (calc-enter): Use `calc-context-sensitive-enter'.
7173
7174 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
7175
7176 * progmodes/cfengine.el: Version bump.
7177 (cfengine-cf-promises): New defcustom to locate cf-promises.
7178 (cfengine3-vartypes): Add new "data" type.
7179 (cfengine3--current-word): New function to get current name-like
7180 word or its bounds.
7181 (cfengine3--current-function): New function to look up a CFEngine
7182 function's definition.
7183 (cfengine3-format-function-docstring): New function.
7184 (cfengine3-make-syntax-cache): New function.
7185 (cfengine3-documentation-function): New function: ElDoc glue.
7186 (cfengine3-completion-function): New function: completion glue.
7187 (cfengine3-mode): Set `compile-command',
7188 `eldoc-documentation-function', and add to
7189 `completion-at-point-functions'.
7190
7191 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
7192
7193 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7194 `tramp-current-connection'.
7195
7196 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
7197
7198 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
7199 nil/self/true/false with "end of symbol".
7200
7201 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
7202
7203 * subr.el (version-regexp-alist): Fix a typo.
7204
7205 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
7206
7207 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
7208 "en_US.utf8" and "LC_CTYPE" to "".
7209 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
7210 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
7211
7212 2013-11-15 Leo Liu <sdl.web@gmail.com>
7213
7214 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
7215
7216 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7217
7218 * progmodes/gud.el (ctl-x-map):
7219 Remove C-x SPC binding. (Bug#12342)
7220 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
7221
7222 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
7223
7224 * subr.el (version-regexp-alist):
7225 Recognize hg, svn and darcs versions as snapshot versions.
7226
7227 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
7228 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
7229 (ruby--encoding-comment-required-p): Extract from
7230 `ruby-mode-set-encoding'.
7231 (ruby-mode-set-encoding): Add the ability to always insert an
7232 utf-8 encoding comment. Fix and simplify coding comment update
7233 logic.
7234
7235 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
7236
7237 * net/tramp-gvfs.el (top): Run init code only when
7238 `tramp-gvfs-enabled' is not nil.
7239 (tramp-gvfs-enabled): Check also :system bus.
7240
7241 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7242
7243 Sync with upstream verilog-mode revision 78e66ba.
7244 * progmodes/verilog-mode.el (verilog-end-of-defun)
7245 (verilog-type-completion, verilog-get-list): Remove unused funcs.
7246 (verilog-get-end-of-defun): Remove unused argument.
7247 (verilog-comment-depth): Remove unused local `e'.
7248 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
7249 Don't pass arg to verilog-get-end-of-defun.
7250
7251 2013-11-14 Glenn Morris <rgm@gnu.org>
7252
7253 * obsolete/assoc.el (aget): Prefix dynamic variable.
7254
7255 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
7256
7257 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7258
7259 * widget.el, hfy-cmap.el: Remove bogus package version number.
7260
7261 2013-11-13 Glenn Morris <rgm@gnu.org>
7262
7263 * replace.el (replace-eval-replacement):
7264 Try to give more helpful error message. (Bug#15836)
7265
7266 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7267 (archive-7z-update): Avoid custom type mismatches.
7268
7269 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
7270
7271 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
7272
7273 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
7274 address can be empty.
7275
7276 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
7277 Accept nil SWITCHES.
7278 (tramp-gvfs-handle-write-region): Implement APPEND.
7279
7280 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
7281
7282 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
7283 binary "|" operator and closing block args delimiter.
7284 Remove FIXME comment referring to Ruby 1.8-only syntax.
7285 (ruby-smie--implicit-semi-p): Not after "|" operator.
7286 (ruby-smie--closing-pipe-p): New function.
7287 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
7288 (ruby-smie-rules): Indent after "|".
7289
7290 2013-11-12 Glenn Morris <rgm@gnu.org>
7291
7292 * ps-print.el (ps-face-attribute-list):
7293 Handle anonymous faces. (Bug#15827)
7294
7295 2013-11-12 Martin Rudalics <rudalics@gmx.at>
7296
7297 * window.el (display-buffer-other-frame): Fix doc-string.
7298 (Bug#15868)
7299
7300 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7301
7302 * subr.el (force-mode-line-update): Delete, move to buffer.c.
7303
7304 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
7305
7306 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
7307 (tramp-sh-handle-file-local-copy): Don't write a message when
7308 saving temporary files.
7309
7310 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
7311 both directories are remote.
7312 (tramp-smb-handle-directory-files): Do not return double entries.
7313 Do not expand full file names.
7314 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
7315 (tramp-smb-handle-write-region): Implement APPEND.
7316 (tramp-smb-get-stat-capability): Fix a stupid bug.
7317
7318 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7319
7320 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
7321
7322 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7323
7324 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
7325 throwing error over malformed let/let* (bug#15814).
7326
7327 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7328
7329 * iswitchb.el (iswitchb-mode): Mark obsolete.
7330
7331 2013-11-11 Glenn Morris <rgm@gnu.org>
7332
7333 * international/uni-bidi.el, international/uni-category.el:
7334 * international/uni-name.el, international/uni-numeric.el:
7335 Regenerate for Unicode 6.3.0.
7336
7337 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
7338
7339 * net/tramp.el (tramp-methods):
7340 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
7341 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
7342
7343 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
7344
7345 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7346 Force highlighting text after Summary keyword in doc face for rpm.
7347
7348 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
7349
7350 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
7351 available and the word has no wildcards, append one to the grep pattern.
7352 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
7353 (ispell-complete-word): Call `ispell-lookup-words' with the value
7354 independent of `ispell-look-p'.
7355
7356 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7357
7358 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
7359 Not after "||".
7360 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
7361 their parent.
7362
7363 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7364
7365 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
7366 (ruby-font-lock-keywords): Use backquote.
7367
7368 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7369
7370 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7371 (ruby-smie--backward-token): Only consider full-string matches.
7372
7373 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
7374
7375 * faces.el (describe-face): Add distant-foreground.
7376
7377 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
7378
7379 * progmodes/ruby-mode.el: Improve encoding comment handling.
7380 (ruby-encoding-magic-comment-style): New option.
7381 (ruby-custom-encoding-magic-comment-template): New option.
7382 (ruby--insert-coding-comment, ruby--detect-encoding):
7383 New functions extracted from `ruby-mode-set-encoding'.
7384 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
7385 to control the style of the auto-inserted encoding comment.
7386
7387 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7388
7389 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
7390 Use `smie-backward-sexp' with token argument.
7391
7392 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
7393
7394 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7395 Remove instrumentation code.
7396
7397 2013-11-08 Glenn Morris <rgm@gnu.org>
7398
7399 * progmodes/autoconf.el (autoconf-mode):
7400 Tweak comment-start-skip. (Bug#15822)
7401
7402 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7403
7404 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
7405 at bobp (bug#15826).
7406 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
7407
7408 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
7409
7410 * man.el (Man-start-calling): New macro, extracted from
7411 Man-getpage-in-background.
7412 (Man-getpage-in-background): Use it.
7413 (Man-update-manpage): New command.
7414 (Man-mode-map): Bind it.
7415
7416 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7417
7418 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
7419 of "and", "or", "&&" and "||".
7420 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
7421 argument. Prohibit opening curly brace because it could only be a
7422 block opener in that position.
7423 (ruby-smie--forward-token, ruby-smie--backward-token):
7424 Separate "|" from "&" or "*" going after it. That can happen in block
7425 arguments.
7426 (ruby-smie--indent-to-stmt): New function, seeks the end of
7427 previous statement or beginning of buffer.
7428 (ruby-smie-rules): Use it.
7429 (ruby-smie-rules): Check if there's a ":" before a curly block
7430 opener candidate; if there is, it's a hash.
7431
7432 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7433
7434 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
7435 (cl--block-wrapper): Fix last accidental change.
7436
7437 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
7438
7439 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7440 Instrument, in order to hunt failure on hydra.
7441
7442 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7443
7444 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
7445 malformed bindings form (bug#15814).
7446
7447 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
7448
7449 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
7450 "." compared to " @ ". This incidentally fixes some indentation
7451 examples with "do".
7452 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
7453 (ruby-smie-grammar): New tokens: "and" and "or".
7454 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7455 Exclude "and" and "or". Remove "do" in order to work around token
7456 priorities.
7457 (ruby-smie-rules): Add all infix tokens. Handle the case of
7458 beginning-of-buffer.
7459
7460 2013-11-06 Glenn Morris <rgm@gnu.org>
7461
7462 * Makefile.in (setwins_almost, setwins_for_subdirs):
7463 Avoid accidental matches.
7464
7465 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7466
7467 * menu-bar.el (popup-menu): Use key-binding.
7468
7469 2013-11-06 Eli Zaretskii <eliz@gnu.org>
7470
7471 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7472 menus, support also the menus produced by minor modes.
7473 (Bug#15817)
7474
7475 2013-11-06 Leo Liu <sdl.web@gmail.com>
7476
7477 * thingatpt.el (thing-at-point-looking-at): Add optional arg
7478 DISTANCE to bound the search. All uses changed. (Bug#15808)
7479
7480 2013-11-06 Glenn Morris <rgm@gnu.org>
7481
7482 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7483 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7484 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7485
7486 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7487
7488 * electric.el (electric-indent-just-newline): New command.
7489 (electric-indent-mode-map): New keymap.
7490 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7491 Re-add :group which weren't redundant.
7492
7493 * electric.el (electric-indent-local-mode): New minor mode.
7494 (electric-indent-functions-without-reindent): New var.
7495 (electric-indent-post-self-insert-function): Use it.
7496 * emacs-lisp/gv.el (buffer-local-value): Add setter.
7497
7498 2013-11-05 Eli Zaretskii <eliz@gnu.org>
7499
7500 * international/quail.el (quail-help): Be more explicit about the
7501 meaning of the labels shown on the keys. (Bug#15800)
7502
7503 * startup.el (normal-top-level): Load the subdirs.el files before
7504 setting the locale environment. (Bug#15805)
7505
7506 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
7507
7508 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7509 via arguments so as to get the right ones (bug#15418).
7510
7511 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7512
7513 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
7514
7515 Fix problems found while writing a test suite.
7516
7517 * net/tramp-compat.el (tramp-compat-load): New defun.
7518 * net/tramp.el (tramp-handle-load): Use it.
7519
7520 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7521 "(numberp ok-if-already-exists)" correctly.
7522
7523 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
7524
7525 * international/characters.el (glyphless-char-display-control):
7526 Add usage note.
7527
7528 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
7529
7530 * progmodes/python.el (python-mode):
7531 * progmodes/scheme.el (scheme-mode):
7532 * progmodes/prolog.el (prolog-mode):
7533 * progmodes/ruby-mode.el (ruby-mode):
7534 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7535 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7536
7537 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7538
7539 * rect.el (rectangle--highlight-for-redisplay):
7540 * emacs-lisp/smie.el (smie--next-indent-change):
7541 Use buffer-chars-modified-tick.
7542
7543 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7544
7545 * electric.el (electric-indent-post-self-insert-function):
7546 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7547
7548 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
7549
7550 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7551
7552 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7553
7554 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7555 (bug#15786).
7556
7557 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7558
7559 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
7560
7561 * progmodes/python.el: Fix up last change.
7562 (python-shell--save-temp-file): New function.
7563 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
7564 `string' comes from the current buffer.
7565 (python-shell-send-string-no-output): Remove `msg' arg.
7566 (python--use-fake-loc): New var.
7567 (python-shell-buffer-substring): Obey it. Try to compensate for the
7568 extra coding line added by python-shell--save-temp-file.
7569 (python-shell-send-region): Use python-shell--save-temp-file and
7570 python-shell-send-file directly. Add `nomain' argument.
7571 (python-shell-send-buffer): Use python-shell-send-region.
7572 (python-electric-pair-string-delimiter): New function.
7573 (python-mode): Use it.
7574
7575 2013-11-04 Eli Zaretskii <eliz@gnu.org>
7576
7577 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7578 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7579 environment and decoding all of the default-directory's to here
7580 from command-line.
7581 (command-line): Decode also argv[0].
7582
7583 * loadup.el: Error out if default-directory is a multibyte string
7584 when we are dumping.
7585
7586 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7587
7588 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7589
7590 * emacs-lisp/package.el (package-menu-mode)
7591 (package-menu--print-info, package-menu--archive-predicate):
7592 Add Archive column to package list.
7593
7594 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
7595
7596 Fix problems found while writing a test suite.
7597
7598 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7599 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7600 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7601 to nil when running original file name handler. Otherwise,
7602 there are problems with constructs like "$$FOO".
7603
7604 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7605 for `localname'.
7606
7607 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7608
7609 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7610
7611 * subr.el (version<, version<=, version=):
7612 Update docstrings with information for snapshot versions.
7613
7614 * helpers.el: New library for misc helper functions.
7615 (hash-table-keys): New function returning a list of hash keys.
7616 (hash-table-values): New function returning a list of hash values.
7617
7618 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7619
7620 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7621 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7622
7623 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
7624
7625 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7626 checking whether point is after a 1-letter word.
7627
7628 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7629
7630 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7631 Don't infloop when expanding region over `multiline' syntax-type that
7632 begins a line (bug#15778).
7633
7634 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7635
7636 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7637 Make it into a proper minor mode.
7638 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
7639 (rectangle-mark-mode-map): New keymap.
7640 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7641
7642 2013-11-04 Glenn Morris <rgm@gnu.org>
7643
7644 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7645
7646 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7647
7648 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7649 (ruby-smie-rules): Use smie-rule-parent instead.
7650
7651 * emacs-lisp/smie.el (smie-rule-parent): Always call
7652 smie-indent-virtual rather than only for hanging tokens.
7653 (smie--next-indent-change): New helper command.
7654
7655 2013-11-03 Glenn Morris <rgm@gnu.org>
7656
7657 * Makefile.in (abs_srcdir): Remove.
7658 (emacs): Unset EMACSLOADPATH.
7659
7660 2013-11-02 Glenn Morris <rgm@gnu.org>
7661
7662 * Makefile.in (EMACS): Use a relative filename.
7663 (abs_top_builddir): Remove.
7664 (custom-deps, finder-data, autoloads): Use --chdir.
7665
7666 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7667
7668 Use relative filenames in TAGS files.
7669 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7670 (lisptagsfiles4, TAGS): Use relative file names.
7671 (TAGS-LISP): Remove.
7672 (maintainer-clean): No more TAGS-LISP file.
7673
7674 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7675 (lisptagsfiles4): Use absolute filenames again.
7676 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7677 Remove all *loaddefs files, not just the first. Remove esh-groups.
7678 (maintainer-clean): Delete TAGS, TAGS-LISP.
7679
7680 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7681
7682 * emacs-lisp/package.el (package-version-join):
7683 Recognize snapshot versions.
7684
7685 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7686
7687 * subr.el (version-regexp-alist): Add support for snapshot versions.
7688
7689 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7690
7691 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7692 New function, replacement for `smie-rule-parent' for when we want to
7693 skip over our direct parent if it's an assignment token..
7694 (ruby-smie-rules): Use it.
7695
7696 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7697
7698 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7699 unconditionally. Remove now unnecessary forward declarations.
7700 Remove XEmacs-specific setup.
7701 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7702 (ruby-font-lock-syntactic-keywords)
7703 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7704 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7705 (ruby-here-doc-end-syntax): Remove.
7706 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7707 defined as function.
7708
7709 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7710
7711 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7712
7713 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7714
7715 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7716 table and abbrev table, `define-derived-mode' does that for us
7717 anyway.
7718
7719 2013-11-01 Glenn Morris <rgm@gnu.org>
7720
7721 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7722 files is atomic for some time, so no parallel compilation issues).
7723
7724 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7725
7726 * faces.el (face-x-resources): Add :distant-foreground.
7727 (region): Use :distant-foreground for gtk and ns.
7728
7729 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7730
7731 Allow multiple bibliographies when BibLaTeX is used rather than
7732 BibTeX.
7733 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7734 (reftex-locate-bibliography-files): Us it.
7735
7736 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7737
7738 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7739 allow comments in pbm files.
7740
7741 * term/w32-win.el (dynamic-library-alist): Support newer versions
7742 of libjpeg starting with v7: look only for the DLL from the
7743 version against which Emacs was built.
7744 Support versions of libpng beyond 1.4.x.
7745 Support libtiff v4.x.
7746
7747 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7748
7749 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7750 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7751 Add property :safe.
7752 (ruby-deep-arglist): Add property :type.
7753
7754 2013-10-31 Glenn Morris <rgm@gnu.org>
7755
7756 * Makefile.in (custom-deps, finder-data): No need to setq the target
7757 variables, we are in the right directory and the defaults work fine.
7758
7759 2013-10-30 Glenn Morris <rgm@gnu.org>
7760
7761 * Makefile.in (autoloads): Do not use abs_lisp.
7762
7763 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7764 `newline' does not respect `standard-output', so use `princ'.
7765
7766 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7767
7768 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7769 * buff-menu.el (Buffer-menu--unmark): New function.
7770 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7771
7772 2013-10-30 Glenn Morris <rgm@gnu.org>
7773
7774 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7775
7776 * emacs-lisp/package.el (lm-homepage): Declare.
7777
7778 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7779 Fix doc typos.
7780
7781 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7782
7783 * Makefile.in (finder-data, autoloads, update-subdirs)
7784 (compile-main, compile-clean, compile-always, bootstrap-clean):
7785 Check return value of cd.
7786 (compile-calc): Remove.
7787
7788 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7789
7790 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7791
7792 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7793 (byte-compile-and-folded): New function.
7794 (=, <, >, <=, >=): Use it.
7795
7796 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7797 (path-separator, null-device, buffer-file-coding-system)
7798 (lpr-headers-switches): Check system-type before modifying them.
7799 (find-buffer-file-type-coding-system): Mark obsolete.
7800 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7801 find-file-not-found-set-buffer-file-coding-system.
7802 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7803 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7804 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7805 (w32-direct-print-region-helper, w32-direct-print-region-function)
7806 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7807 * startup.el (normal-top-level-add-subdirs-to-load-path):
7808 * ps-print.el (ps-print-region-function):
7809 * lpr.el (print-region-function): Use new name.
7810
7811 * subr.el (custom-declare-variable-early): Remove function.
7812 (custom-declare-variable-list): Remove var.
7813 (error, user-error): Remove `while' loop.
7814 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7815 (user-emacs-directory-warning, locate-user-emacs-file):
7816 Move to files.el.
7817 * simple.el (read-quoted-char-radix, read-quoted-char):
7818 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7819 Move from subr.el.
7820 * custom.el (custom-declare-variable-list): Don't process
7821 custom-declare-variable-list.
7822
7823 * progmodes/python.el (python-shell-get-buffer): New function.
7824 (python-shell-get-process): Use it.
7825 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7826 Python which encoding was used. Don't split-string since we only care
7827 about the first line. Return the temp-file, if applicable.
7828 (python-shell-send-region): Tell compile.el how to turn locations in
7829 the temp-file into locations in the source buffer.
7830
7831 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7832
7833 * subr.el (undefined): Add missing behavior from the C code for
7834 unbound keys.
7835
7836 * rect.el: Use lexical-binding. Add new rectangular region support.
7837 (rectangle-mark): New command.
7838 (rectangle--region): New var.
7839 (deactivate-mark-hook): Reset rectangle--region.
7840 (rectangle--extract-region, rectangle--insert-for-yank)
7841 (rectangle--highlight-for-redisplay)
7842 (rectangle--unhighlight-for-redisplay): New functions.
7843 (region-extract-function, redisplay-unhighlight-region-function)
7844 (redisplay-highlight-region-function): Use them to handle
7845 rectangular region.
7846 * simple.el (region-extract-function): New var.
7847 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7848 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7849 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7850 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7851 (redisplay-unhighlight-region-function)
7852 (redisplay-highlight-region-function): New vars.
7853 (redisplay--update-region-highlight): New function.
7854 (pre-redisplay-function): Use it.
7855 (exchange-point-and-mark): Don't deactivate the mark before
7856 reactivate-it anyway.
7857 * comint.el (comint-kill-region): Remove yank-handler argument.
7858 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7859 (delete-char): Remove property, since it's now part of their
7860 default behavior.
7861 (self-insert-iso): Remove property since this command doesn't exist.
7862
7863 * emacs-lisp/package.el (package--download-one-archive)
7864 (describe-package-1): Don't query the user about final newline.
7865
7866 2013-10-29 Daniel Colascione <dancol@dancol.org>
7867
7868 * net/tramp.el (tramp-methods): Document new functionality.
7869 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7870 tramp-hostname-checker if method provides one instead of scanning
7871 argument list for "%h" to decide hostname acceptability.
7872
7873 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7874
7875 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7876 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7877 Handle COPY-CONTENTS. (Bug#15737)
7878
7879 2013-10-28 Daiki Ueno <ueno@gnu.org>
7880
7881 * epa-file.el
7882 (epa-file-cache-passphrase-for-symmetric-encryption):
7883 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7884
7885 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7886
7887 * image.el (defimage, image-load-path): Doc fixes.
7888
7889 2013-10-27 Alan Mackenzie <acm@muc.de>
7890
7891 Indent statements in macros following "##" correctly.
7892 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7893 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7894
7895 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7896
7897 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7898
7899 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7900
7901 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7902 after `=' is probably a new expression.
7903
7904 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7905
7906 * man.el (man-imenu-title): New option.
7907 (Man-mode-map): Add menu. (Bug#15722)
7908 (Man-mode): Add imenu to menu.
7909
7910 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7911
7912 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7913 specific in what the first arg can be: a non-keyword word,
7914 string/regexp/percent literal opener, opening paren, or unary
7915 operator followed directly by word.
7916
7917 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7918
7919 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7920 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7921 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7922 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7923 Remove vars, they do not apply any more.
7924 (prolog-mode-abbrev-table): Remove redundant declaration.
7925 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7926 (prolog-use-smie): Remove.
7927 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7928 supported by prolog-electric-if-then-else-flag.
7929 (prolog-mode-variables, prolog-menu): Use setq-local.
7930 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7931 Remove binding to `Backspace' since this key doesn't exist anyway.
7932 Remove bindings for electric self-inserting keys.
7933 (prog-mode): Assume it's defined.
7934 (prolog-post-self-insert): New function.
7935 (prolog-mode): Use it.
7936 (prolog-indent-line, prolog-indent-level)
7937 (prolog-find-indent-of-matching-paren)
7938 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7939 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7940 (prolog-goto-next-paren, prolog-in-string-or-comment)
7941 (prolog-tokenize, prolog-inside-mline-comment)
7942 (prolog-find-start-of-mline-comment): Remove functions.
7943 (prolog-find-unmatched-paren, prolog-clause-end)
7944 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7945 (prolog-electric--if-then-else): Rename from
7946 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7947 (prolog-tokenize-searchkey): Remove const.
7948 (prolog-clause-info): Use forward-sexp.
7949 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7950 (prolog-electric-if-then-else): Remove commands.
7951 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7952 for use in post-self-insert-hook.
7953 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7954 for use in post-self-insert-hook.
7955 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7956 for use in post-self-insert-hook.
7957 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7958 adapt it for use in post-self-insert-hook.
7959
7960 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7961
7962 * emacs-lisp/ert.el (ert-run-tests-interactively):
7963 Use `completing-read'. (Bug#9756)
7964
7965 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7966
7967 * simple.el (line-move): Call line-move-1 instead of
7968 line-move-visual when the current window hscroll is zero, but
7969 temporary-goal-column indicates we will need to hscroll as result
7970 of the movement. (Bug#15712)
7971
7972 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7973
7974 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7975 capitalization. Use :visible instead of :active.
7976 Fix `ruby-indent-exp' reference. Add menu items for the generic
7977 commands that are used with SMIE.
7978 (ruby-do-end-to-brace): Insert space after `{'.
7979
7980 2013-10-25 John Anthony <john@jo.hnanthony.com>
7981
7982 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7983
7984 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7985
7986 2013-10-25 Glenn Morris <rgm@gnu.org>
7987
7988 * vc/vc.el (vc-print-log): Don't use a working revision unless
7989 one was explicitly specified. (Bug#15322)
7990
7991 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7992
7993 * subr.el (add-to-list): Preserve return value in compiler-macro
7994 (bug#15692).
7995
7996 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7997
7998 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7999 result. Ask user to retry using '-all' flag. (Bug#15701)
8000
8001 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8002
8003 * emacs-lisp/smie.el: New smie-config system.
8004 (smie-config): New defcustom.
8005 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
8006 (smie-config-guess, smie-config-save): New commands.
8007 (smie-config--mode-local, smie-config--buffer-local)
8008 (smie-config--trace, smie-config--modefuns): New vars.
8009 (smie-config--advice, smie-config--mode-hook)
8010 (smie-config--setter, smie-config-local, smie-config--get-trace)
8011 (smie-config--guess-value, smie-config--guess): New functions.
8012 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
8013 text properties. Treat "string fence" syntax like string syntax.
8014
8015 * progmodes/sh-script.el (sh-use-smie): Change default.
8016 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
8017 (sh-var-value): Simplify by CSE.
8018 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
8019 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
8020 is used.
8021 (sh-guess-basic-offset): Use cl-incf.
8022 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
8023
8024 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
8025
8026 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
8027 (bug#15699).
8028
8029 2013-10-24 Glenn Morris <rgm@gnu.org>
8030
8031 * Makefile.in (abs_top_srcdir): Remove.
8032 (update-subdirs): Use relative path to update-subdirs.
8033
8034 2013-10-24 Eli Zaretskii <eliz@gnu.org>
8035
8036 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
8037 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
8038 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
8039 Call unmsys--file-name before expand-file-name, not after it.
8040
8041 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
8042
8043 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
8044 (ert-test-skipped): New error.
8045 (ert-skip, ert-stats-skipped): New defuns.
8046 (ert--skip-unless): New macro.
8047 (ert-test-skipped): New struct.
8048 (ert--run-test-debugger, ert-test-result-type-p)
8049 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
8050 (ert--stats-set-test-and-result, ert-char-for-test-result)
8051 (ert-string-for-test-result, ert-run-tests-batch)
8052 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
8053 Handle skipped tests. (Bug#9803)
8054
8055 2013-10-24 Glenn Morris <rgm@gnu.org>
8056
8057 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
8058
8059 * Makefile.in (abs_top_srcdir): New, set by configure.
8060 (update-subdirs): Correct build-aux location.
8061
8062 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
8063
8064 * vc/vc.el (vc-print-root-log): Always set `default-directory'
8065 value, whether we could auto-deduce `backend', or not.
8066
8067 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
8068 with parameters" example. Simplify the "is it block or is it
8069 hash" check, but also make it more thorough.
8070
8071 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
8072
8073 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
8074
8075 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
8076
8077 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
8078 { if it is hanging.
8079
8080 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
8081 :before ";".
8082
8083 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
8084
8085 * progmodes/compile.el (compilation-directory-matcher)
8086 (compilation-page-delimiter):
8087 Support GNU Make-4.0 directory quoting. (Bug#15678)
8088
8089 2013-10-23 Leo Liu <sdl.web@gmail.com>
8090
8091 * ido.el (ido-tidy): Handle read-only text.
8092
8093 2013-10-23 Glenn Morris <rgm@gnu.org>
8094
8095 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
8096 (emacs, compile, compile-always):
8097 Quote entities that might contain whitespace.
8098 (custom-deps, finder-data, autoloads): Use abs_lisp.
8099 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8100 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8101 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
8102
8103 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
8104
8105 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
8106 Use `following-char'.
8107
8108 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
8109
8110 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
8111 * progmodes/ruby-mode.el (ruby-smie-rules):
8112 Remove corresponding workaround. Fix indentation rule of ";" so it
8113 also applies when ";" is the parent.
8114
8115 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
8116
8117 * frame.el (display-screens, display-pixel-height)
8118 (display-pixel-width, display-mm-width, display-backing-store)
8119 (display-save-under, display-planes, display-color-cells)
8120 (display-visual-class, display-monitor-attributes-list):
8121 Mention the optional ‘display’ argument in doc strings.
8122
8123 2013-10-22 Michael Gauland <mikelygee@amuri.net>
8124
8125 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
8126 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
8127
8128 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8129
8130 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
8131 TODO. Add "." after " @ ".
8132 (ruby-smie--at-dot-call): New function. Checks if point at method
8133 call with explicit target.
8134 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
8135 to the method name tokens when it precedes them.
8136 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
8137 (ruby-smie-rules): Add rule for indentation before and after "."
8138 token.
8139
8140 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
8141
8142 * textmodes/remember.el (remember-diary-extract-entries):
8143 Avoid add-to-list.
8144
8145 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
8146 an instruction.
8147
8148 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8149
8150 * progmodes/ruby-mode.el (ruby-smie-grammar):
8151 Add (almost) all infix operators.
8152 (ruby-smie--implicit-semi-p): Add new operator chars.
8153
8154 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8155 `smie-down-list'.
8156 (ruby-smie--args-separator-p): Check that there's no newline
8157 between method call and its arguments.
8158
8159 2013-10-20 Alan Mackenzie <acm@muc.de>
8160
8161 Allow comma separated lists after Java "implements".
8162
8163 * progmodes/cc-engine.el (c-backward-over-enum-header):
8164 Parse commas.
8165 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
8166 from a "disallowed" list in enum fontification.
8167
8168 2013-10-20 Johan Bockgård <bojohan@gnu.org>
8169
8170 * startup.el (default-frame-background-mode): Remove unused defvar.
8171
8172 * progmodes/verilog-mode.el (verilog-mode): Don't set
8173 comment-indent-function globally.
8174
8175 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
8176
8177 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
8178 Move Info menu item creation to ns-win.el.
8179
8180 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
8181 in menu bar.
8182
8183 * menu-bar.el: Move GNUstep specific menus...
8184
8185 * term/ns-win.el (ns-initialize-window-system): ... to here.
8186
8187 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8188
8189 * simple.el (newline): Only run post-self-insert-hook when
8190 called interactively.
8191
8192 2013-10-19 Johan Bockgård <bojohan@gnu.org>
8193
8194 * icomplete.el (icomplete-with-completion-tables): Add :version.
8195
8196 2013-10-19 Alan Mackenzie <acm@muc.de>
8197
8198 Fix fontification bugs with constructors and const.
8199
8200 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
8201 CASE 2) Remove the check for the absence of a suffix construct
8202 after a function declaration with only types (no identifiers) in
8203 the parentheses. Also, accept a function declaration with just a
8204 type inside the parentheses, if this type can be positively
8205 recognised as such, or if a prefix keyword like "explicit" nails
8206 down the construct as a declaration.
8207
8208 2013-10-19 Eli Zaretskii <eliz@gnu.org>
8209
8210 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
8211 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
8212 the problem whereby selecting a menu item that leads to a
8213 minibuffer prompt moves the cursor out of the minibuffer window,
8214 making it hard to type at the prompt. Suggested by Stefan Monnier
8215 <monnier@iro.umontreal.ca>.
8216
8217 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
8218
8219 * menu-bar.el: Don't make Services menu.
8220
8221 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8222
8223 * ffap.el: Handle "/usr/include/c++/<version>" directories.
8224 (ffap-alist): Use ffap-c++-mode for c++-mode.
8225 (ffap-c++-path): New variable.
8226 (ffap-c++-mode): New function.
8227
8228 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
8229
8230 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
8231
8232 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
8233
8234 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
8235 introduced on 2013-09-08, which results in an infinite loop
8236 requesting a password.
8237
8238 2013-10-18 Glenn Morris <rgm@gnu.org>
8239
8240 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
8241
8242 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
8243
8244 Sync with upstream verilog-mode revision 1a6ecec7.
8245 * progmodes/verilog-mode.el (verilog-mode-version): Update.
8246 (verilog-mode-release-date): Remove.
8247 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
8248 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
8249 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
8250 (verilog-auto-tieoff-ignore-regexp)
8251 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
8252 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
8253 (verilog-signals-with, verilog-dir-cache-preserving)
8254 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
8255 Doc fixes.
8256 (verilog-case-fold): New option, to control case folding in
8257 regexp searches, bug597.
8258 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
8259 (verilog-string-match-fold, verilog-in-paren-count)
8260 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
8261 (verilog-at-close-struct-p): New functions.
8262 (verilog-beg-block-re-ordered, verilog-extended-case-re)
8263 (verilog-forward-sexp, verilog-set-auto-endcomments)
8264 (verilog-leap-to-case-head): Handle "unique0" case.
8265 (verilog-in-constraint-re): New constant.
8266 (verilog-keywords, verilog-type-font-keywords):
8267 Add some SystemVerilog 1800-2012 keywords.
8268 (verilog-label-be): Remove unimplemented argument, bug669.
8269 (verilog-batch-execute-func): When batch expanding clear
8270 create-lockfiles to prevent spurious user locks when a file ends
8271 up not changing.
8272 (verilog-calculate-indent, verilog-calc-1)
8273 (verilog-at-close-constraint-p, verilog-at-constraint-p)
8274 (verilog-do-indent): Fix indentation of nested constraints
8275 and structures.
8276 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
8277 (verilog-auto-inst-param): Use verilog-string-match-fold.
8278 (verilog-read-inst-module-matcher):
8279 Fix AUTOINST on gate primitives with #1.
8280 (verilog-read-decls): Fix double-declaring user-defined typed signals.
8281 Reads all user-defined typed variables.
8282 (verilog-read-defines): Fix reading definitions inside comments, bug647.
8283 (verilog-signals-matching-regexp)
8284 (verilog-signals-not-matching-regexp, verilog-auto):
8285 Respect verilog-case-fold.
8286 (verilog-diff-report): Fix line count.
8287 (verilog-auto-assign-modport): Remove unused local `modi'.
8288 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
8289 better handle multidimensional arrays.
8290 Fix packed array ports misadding bit index in AUTOINST, bug637.
8291 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
8292 to not double-declare existing outputs and inputs, respectively.
8293 (verilog-template-map): Bind U to verilog-sk-uvm-component.
8294 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
8295 (verilog-sk-uvm-component): New skeleton.
8296 (verilog-submit-bug-report): Add verilog-case-fold,
8297 remove verilog-mode-release-date.
8298
8299 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
8300
8301 * subr.el (sit-for): Call (input-pending-p t) so as to behave
8302 as before.
8303
8304 2013-10-18 Reuben Thomas <rrt@sc3d.org>
8305
8306 * textmodes/remember.el (remember): Set buffer-offer-save in
8307 remember buffers (bug#13566).
8308
8309 2013-10-18 Daniel Colascione <dancol@dancol.org>
8310
8311 When evaluating forms in ielm, direct standard output to ielm
8312 buffer. Add new ielm-return-for-effect command. Remove trailing
8313 whitespace throughout.
8314
8315 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
8316 (ielm-return-for-effect): New command.
8317 (ielm-send-input): Accept optional `for-effect' parameter.
8318 (ielm-eval-input): Accept optional `for-effect' parameter.
8319 Bind `standard-output' to stream we create using
8320 `ielm-standard-output-impl'. Suppress printing result when
8321 `for-effect'.
8322 (ielm-standard-output-impl): New function.
8323 (inferior-emacs-lisp-mode): Explain new features in documentation.
8324
8325 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
8326
8327 Code cleanup.
8328
8329 * net/tramp.el (tramp-debug-message): Do not check for connection
8330 buffer.
8331 (tramp-message): Use "vector" connection property.
8332
8333 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
8334 (tramp-equal-remote, tramp-eshell-directory-change)
8335 * net/tramp-adb.el (tramp-adb-handle-copy-file)
8336 (tramp-adb-handle-rename-file)
8337 * net/tramp-cmds.el (tramp-list-remote-buffers)
8338 (tramp-cleanup-connection, tramp-cleanup-this-connection)
8339 * net/tramp-compat.el (tramp-compat-process-running-p)
8340 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
8341 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
8342 (tramp-gvfs-handle-rename-file)
8343 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8344 (tramp-set-file-uid-gid)
8345 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8346 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
8347 of `file-remote-p'.
8348
8349 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
8350 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8351 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
8352 (tramp-gw-open-network-stream): Suppress unrelated traces.
8353
8354 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
8355 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8356 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8357 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
8358 connection property.
8359
8360 * net/tramp-cache.el (top): Suppress traces when reading
8361 persistency file.
8362
8363 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8364 Refactor common code. Improve debug message.
8365 (tramp-maybe-open-connection)
8366 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
8367 connection buffer too early.
8368
8369 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
8370 from `tramp-smb-actions-with-acl'.
8371 (tramp-smb-actions-set-acl): New defconst.
8372 (tramp-smb-handle-copy-directory)
8373 (tramp-smb-action-get-acl): New defun, renamed from
8374 `tramp-smb-action-with-acl'.
8375 (tramp-smb-action-set-acl): New defun.
8376 (tramp-smb-handle-set-file-acl): Rewrite.
8377
8378 2013-10-17 Glenn Morris <rgm@gnu.org>
8379
8380 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
8381
8382 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8383
8384 * skeleton.el (skeleton-newline): Remove.
8385 (skeleton-internal-1): Use (insert "\n") instead.
8386
8387 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
8388 let-bindings.
8389
8390 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
8391 forward-sexp-function while we redo its job (bug#15613).
8392
8393 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
8394
8395 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
8396 represented by lists.
8397
8398 2013-10-16 Glenn Morris <rgm@gnu.org>
8399
8400 * tmm.el (tmm--history): New dynamic variable.
8401 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
8402
8403 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
8404
8405 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
8406 (tramp-smb-errors): Add error messages.
8407 (tramp-smb-actions-with-acl): New defconst.
8408 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
8409 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
8410 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
8411 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
8412 (tramp-smb-get-stat-capability): Fix tests.
8413
8414 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
8415
8416 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
8417 (bug#15580).
8418
8419 2013-10-16 Glenn Morris <rgm@gnu.org>
8420
8421 * ansi-color.el (ansi-color-drop-regexp):
8422 Add 1J, 1K, 2K. (Bug#15617)
8423
8424 * files.el (hack-local-variables--warned-lexical): New.
8425 (hack-local-variables):
8426 Warn about misplaced lexical-binding. (Bug#15616)
8427
8428 * net/eww.el (eww-render): Always set eww-current-url,
8429 and update header line. (Bug#15622)
8430 (eww-display-html): ... Rather than just doing it here.
8431
8432 2013-10-15 Eli Zaretskii <eliz@gnu.org>
8433
8434 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
8435 menu navigations commands.
8436
8437 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
8438
8439 * progmodes/subword.el (subword-capitalize): Be careful when
8440 the search for [[:alpha:]] fails (bug#15580).
8441
8442 2013-10-14 Eli Zaretskii <eliz@gnu.org>
8443
8444 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
8445 to commands that scroll the menu.
8446
8447 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
8448
8449 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
8450 Handle methods ending with `?' and `!'.
8451
8452 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
8453
8454 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8455 `japanese-cp932' to `cp932' to fix the problem where saving a
8456 source file written in Shift_JIS twice would end up having
8457 `coding: japanese-cp932' which Ruby could not recognize.
8458 (ruby-mode-set-encoding): Add support for encodings mapped to nil
8459 in `ruby-encoding-map'.
8460 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8461 doesn't need to be explicitly declared in magic comment.
8462 (ruby-encoding-map): Add type declaration for better customize UI.
8463
8464 2013-10-13 Glenn Morris <rgm@gnu.org>
8465
8466 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8467 Occur buffers are read-only. http://bugs.debian.org/720775
8468
8469 * emacs-lisp/authors.el (authors-fixed-entries):
8470 Comment out old alpha stuff.
8471
8472 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
8473
8474 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8475 to `after-save-hook' instead of `before-save-hook'.
8476 (ruby-mode-set-encoding): Use the value of coding system used to
8477 write the file. Call `basic-save-buffer-1' after modifying the
8478 buffer.
8479
8480 2013-10-13 Alan Mackenzie <acm@muc.de>
8481
8482 Fix indentation/fontification of Java enum with
8483 "implements"/generic.
8484
8485 * progmodes/cc-engine.el (c-backward-over-enum-header):
8486 Extracted from the three other places and enhanced to handle generics.
8487 (c-inside-bracelist-p): Uses new function above.
8488 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8489 function above.
8490 (c-font-lock-enum-tail): Uses new function above.
8491
8492 2013-10-13 Kenichi Handa <handa@gnu.org>
8493
8494 * international/mule-cmds.el (select-safe-coding-system): Remove a
8495 superfluous condition in chekcing whether a coding system is safe
8496 or not.
8497
8498 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
8499
8500 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
8501
8502 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
8503
8504 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
8505
8506 2013-10-13 Glenn Morris <rgm@gnu.org>
8507
8508 * menu-bar.el (menu-bar-update-buffers):
8509 Unify Buffers menu prompt string. (Bug#15576)
8510
8511 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
8512
8513 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8514 Add some entries.
8515 (authors-fixed-entries): Use accented form of name.
8516
8517 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8518
8519 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8520 method calls (bug#15594).
8521 (ruby-smie--args-separator-p): New function.
8522 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8523 recognize paren-free method calls.
8524
8525 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8526 internals of universal-argument.
8527
8528 2013-10-11 Eli Zaretskii <eliz@gnu.org>
8529
8530 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8531 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8532 dropped menu on second mouse click on the menu bar.
8533
8534 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8535
8536 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8537 (explicit-shell-file-name): Declare.
8538 (sh--vars-before-point, sh--cmd-completion-table): New functions.
8539 (sh-completion-at-point-function): New function.
8540 (sh-mode): Use it.
8541 (sh-smie--keyword-p): Remove unused argument.
8542 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8543 vars.
8544 (sh-set-shell): Always setup SMIE, even if we use the
8545 old indentation code.
8546
8547 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
8548
8549 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8550 cases of ? and =.
8551 (ruby-smie-rules): Simplify the "do" rule. The cases when the
8552 predicate would return nil are almost non-existent.
8553 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8554
8555 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8556 cache also after commands that modify the buffer but don't move
8557 point.
8558
8559 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8560
8561 * env.el (substitute-env-in-file-name): New function.
8562 (substitute-env-vars): Extend the meaning of the optional arg.
8563
8564 2013-10-10 Eli Zaretskii <eliz@gnu.org>
8565
8566 * term/w32-win.el (dynamic-library-alist): Define separate lists
8567 of GIF DLLs for versions before and after 5.0.0 of giflib.
8568 (Bug#15531)
8569
8570 2013-10-10 João Távora <joaotavora@gmail.com>
8571
8572 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8573 not locked, use last revision and current source as
8574 defaults. (Bug#15569)
8575
8576 2013-10-10 Masatake YAMATO <yamato@redhat.com>
8577
8578 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8579 menu-bar is hidden.
8580
8581 2013-10-10 Martin Rudalics <rudalics@gmx.at>
8582
8583 * window.el (pop-to-buffer-same-window): Fix doc-string.
8584 (Bug#15492)
8585
8586 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8587
8588 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8589
8590 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8591
8592 * calendar/icalendar.el (icalendar-import-file):
8593 Fix interactive spec. (Bug#15482)
8594
8595 2013-10-10 Glenn Morris <rgm@gnu.org>
8596
8597 * desktop.el (desktop-save): Default to saving in .emacs.d,
8598 since PWD is no longer in desktop-path by default. (Bug#15319)
8599
8600 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8601 now that text mode has a menu with the same entry.
8602 (menu-bar-text-mode-auto-fill): Remove now unused func.
8603 * textmodes/text-mode.el (text-mode-map):
8604 Use auto-fill help text from menu-bar.el.
8605
8606 2013-10-10 John Anthony <john@jo.hnanthony.com>
8607
8608 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8609
8610 2013-10-09 Juri Linkov <juri@jurta.org>
8611
8612 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8613 instead of this-command-keys. Add universal-argument-more and
8614 universal-argument-minus to the list of prefix commands. (Bug#15568)
8615
8616 2013-10-09 Glenn Morris <rgm@gnu.org>
8617
8618 * vc/vc-svn.el (vc-svn-create-repo):
8619 Expand paths in file://... url. (Bug#15446)
8620
8621 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8622 Add some entries.
8623 (authors): Remove unused local variables.
8624
8625 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8626
8627 * profiler.el: Create a more coherent calltree from partial backtraces.
8628 (profiler-format): Hide the tail with `invisible' so that C-s can still
8629 find the hidden elements.
8630 (profiler-calltree-depth): Don't recurse so enthusiastically.
8631 (profiler-function-equal): New hash-table-test.
8632 (profiler-calltree-build-unified): New function.
8633 (profiler-calltree-build): Use it.
8634 (profiler-report-make-name-part): Indent the calltree less.
8635 (profiler-report-mode): Add visibility specs for profiler-format.
8636 (profiler-report-expand-entry, profiler-report-toggle-entry):
8637 Expand the whole subtree when provided with a prefix arg.
8638
8639 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8640
8641 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8642 iuwu-mod token.
8643 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8644 hanging iuwu-mod token.
8645 (ruby-smie--forward-token): Do not include a dot after a token in
8646 that token.
8647 (ruby-smie--backward-token): Likewise.
8648
8649 2013-10-08 Juri Linkov <juri@jurta.org>
8650
8651 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8652 to isearch-other-control-char.
8653 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8654 and isearch-post-command-hook to post-command-hook.
8655 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8656 and isearch-post-command-hook from post-command-hook.
8657 (isearch-unread-key-sequence)
8658 (isearch-reread-key-sequence-naturally)
8659 (isearch-lookup-scroll-key, isearch-other-control-char)
8660 (isearch-other-meta-char): Remove functions.
8661 (isearch-pre-command-hook, isearch-post-command-hook):
8662 New functions based on isearch-other-meta-char rewritten
8663 relying on the new behavior of overriding-terminal-local-map
8664 that does not replace the local keymaps any more. (Bug#15200)
8665
8666 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8667
8668 Support menus on text-mode terminals.
8669 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8670 functionality.
8671
8672 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8673
8674 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8675 Move here from mouse.el.
8676 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8677 and arrow keys.
8678 (tty-menu-navigation-map): New map for TTY menu navigation.
8679
8680 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8681
8682 * frame.el (display-mouse-p): Report text-mode mouse as available
8683 on w32.
8684 (display-popup-menus-p): Report availability if mouse is
8685 available; don't condition on window-system.
8686
8687 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8688 (tty-menu-selected-face): New faces.
8689
8690 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8691
8692 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8693 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8694 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8695 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8696 New constants.
8697 (lisp-mode-variables): New `elisp' argument.
8698 (emacs-lisp-mode): Use it.
8699 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8700 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8701
8702 * indent.el: Use lexical-binding.
8703 (indent-region): Add progress reporter.
8704 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8705 last step.
8706 (indent--next-tab-stop): New function to implement this behavior.
8707 (tab-to-tab-stop, move-to-tab-stop): Use it.
8708
8709 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8710
8711 * indent.el (indent-rigidly--current-indentation): New function.
8712 (indent-rigidly-map): New var.
8713 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8714
8715 2013-10-08 Bastien Guerry <bzg@gnu.org>
8716
8717 * register.el (insert-register): Fix 2013-10-07 change.
8718
8719 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8720
8721 * progmodes/perl-mode.el: Use lexical-binding.
8722 Remove redundant :group args.
8723 (perl-nochange): Change default to be closer to other major modes's
8724 standard behavior.
8725 (perl-indent-line): Don't consider text on current line as a
8726 valid beginning of function from which to indent.
8727
8728 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8729 with more than one argument (bug#15538).
8730
8731 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8732
8733 * vc/pcvs.el: Use lexical-binding.
8734 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8735 environment of `eval'.
8736 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8737 than a list of expressions. Adjust callers.
8738 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8739
8740 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8741
8742 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8743 case of the dot in a chained method call being on the following line.
8744
8745 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8746
8747 * electric.el (electric-indent-inhibit): New var.
8748 (electric-indent-post-self-insert-function): Use it.
8749 * progmodes/python.el (python-mode): Set it.
8750
8751 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8752 open braces.
8753
8754 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8755
8756 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8757 (css-mode): Use electric-indent-chars.
8758
8759 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8760 (font-lock-beg, font-lock-end): Move before first use.
8761 (nxml-mode): Use syntax-propertize-function.
8762 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8763 (nxml-extend-after-change-region): Remove.
8764 * nxml/xmltok.el: Use lexical-binding.
8765 (xmltok-save): Use `declare'.
8766 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8767 * nxml/nxml-util.el: Use lexical-binding.
8768 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8769 Use `declare'.
8770 * nxml/nxml-ns.el: Use lexical-binding.
8771 (nxml-ns-save): Use `declare'.
8772 (nxml-ns-prefixes-for): Avoid add-to-list.
8773 * nxml/rng-match.el: Use lexical-binding.
8774 (rng--ipattern): Use cl-defstruct.
8775 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8776 (rng-cons-group-after, rng-subst-group-after)
8777 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8778 Use closures instead of `(lambda...).
8779
8780 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8781
8782 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8783 of BEG and END.
8784
8785 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8786 Use `tramp-handle-insert-file-contents'.
8787 (tramp-gvfs-handle-insert-file-contents): Remove function.
8788
8789 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8790 Use `save-restriction' in order to keep markers.
8791
8792 * net/trampver.el: Update release number.
8793
8794 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8795
8796 * progmodes/compile.el (compilation-parse-errors):
8797 Use compilation--put-prop.
8798 (compilation--ensure-parse): Check compilation-multiline.
8799
8800 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8801
8802 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8803 lexical-binding.
8804
8805 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8806
8807 * progmodes/ruby-mode.el: Fix recently added tests.
8808 (ruby-smie-grammar): Add - and +.
8809 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8810 (ruby-smie--backward-id): New functions.
8811 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8812 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8813 any more.
8814
8815 2013-10-07 Leo Liu <sdl.web@gmail.com>
8816
8817 * register.el (register-preview-delay)
8818 (register-preview-functions): New variables.
8819 (register-read-with-preview, register-preview)
8820 (register-describe-oneline): New functions.
8821 (point-to-register, window-configuration-to-register)
8822 (frame-configuration-to-register, jump-to-register)
8823 (number-to-register, view-register, insert-register)
8824 (copy-to-register, append-to-register, prepend-to-register)
8825 (copy-rectangle-to-register): Use register-read-with-preview to
8826 read register. (Bug#15525)
8827
8828 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8829
8830 * net/network-stream.el (network-stream-open-starttls): Don't add
8831 --insecure if it's already present, because that gnutls-cli
8832 rejects getting that parameter twice.
8833
8834 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8835
8836 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8837 keyword, too.
8838
8839 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8840
8841 * newcomment.el (comment-use-global-state): Change default value
8842 to t, mark obsolete (Bug#15251).
8843 (comment-beginning): In addition to `comment-to-syntax', check the
8844 value of `comment-use-global-state'.
8845
8846 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8847
8848 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8849 (ruby-comment-column): Follow the global default, by default.
8850 (ruby-smie-grammar): Add assignment syntax.
8851 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8852 open-paren, a comma, or a \.
8853 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8854 and line continuations.
8855 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8856 followed by implicit semi-colons. Add rule for string concatenation
8857 and for indentation at BOB.
8858 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8859
8860 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8861 calling next-sexp, since next-token may have skipped chars which
8862 next-sexp doesn't know should be skipped!
8863
8864 2013-10-05 Leo Liu <sdl.web@gmail.com>
8865
8866 * progmodes/octave.el (octave-send-region):
8867 Call compilation-forget-errors.
8868
8869 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8870
8871 * vc/vc-svn.el (vc-svn-find-admin-dir):
8872 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8873 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8874 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8875 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8876
8877 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8878
8879 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8880
8881 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8882
8883 * subr.el (read-passwd): Hide chars even when called within a context
8884 where after-change-functions is disabled (bug#15501).
8885 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8886 until we removed ourself from overriding-terminal-local-map.
8887
8888 2013-10-04 Leo Liu <sdl.web@gmail.com>
8889
8890 * progmodes/octave.el (inferior-octave-mode):
8891 Call compilation-forget-errors.
8892
8893 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8894
8895 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8896
8897 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8898
8899 * net/secrets.el (secrets-create-collection): Add optional
8900 argument ALIAS. Use proper Label keyword. Append ALIAS as
8901 dbus-call-method argument. (Bug#15516)
8902
8903 2013-10-04 Leo Liu <sdl.web@gmail.com>
8904
8905 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8906 (inferior-octave-compilation-font-lock-keywords): New variables.
8907 (compilation-error-regexp-alist)
8908 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8909 (inferior-octave-mode): Use compilation-shell-minor-mode.
8910
8911 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8912
8913 * minibuffer.el (completion--replace): Be careful that `end' might be
8914 a marker.
8915
8916 2013-10-03 Daiki Ueno <ueno@gnu.org>
8917
8918 Add support for package signature checking.
8919 * emacs-lisp/package.el (url-http-file-exists-p)
8920 (epg-make-context, epg-context-set-home-directory)
8921 (epg-verify-string, epg-context-result-for)
8922 (epg-signature-status, epg-signature-to-string)
8923 (epg-check-configuration, epg-configuration)
8924 (epg-import-keys-from-file): Declare.
8925 (package-check-signature): New user option.
8926 (package-unsigned-archives): New user option.
8927 (package-desc): Add `signed' field.
8928 (package-load-descriptor): Set `signed' field if .signed file exists.
8929 (package--archive-file-exists-p): New function.
8930 (package--check-signature): New function.
8931 (package-install-from-archive): Check package signature.
8932 (package--download-one-archive): Check archive signature.
8933 (package-delete): Remove .signed file.
8934 (package-import-keyring): New command.
8935 (package-refresh-contents): Import default keyring.
8936 (package-desc-status): Add "unsigned" status.
8937 (describe-package-1, package-menu--print-info)
8938 (package-menu-mark-delete, package-menu--find-upgrades)
8939 (package-menu--status-predicate): Support "unsigned" status.
8940
8941 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8942
8943 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8944 the new compilation scheme using the new byte-codes.
8945
8946 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8947 (byte-pophandler): New byte codes.
8948 (byte-goto-ops): Adjust accordingly.
8949 (byte-compile--use-old-handlers): New var.
8950 (byte-compile-catch): Use new byte codes depending on
8951 byte-compile--use-old-handlers.
8952 (byte-compile-condition-case--old): Rename from
8953 byte-compile-condition-case.
8954 (byte-compile-condition-case--new): New function.
8955 (byte-compile-condition-case): New function that dispatches depending
8956 on byte-compile--use-old-handlers.
8957 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8958 when we can.
8959
8960 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8961 Optimize under `condition-case' and `catch' if
8962 byte-compile--use-old-handlers is nil.
8963 (disassemble-offset): Handle new bytecodes.
8964
8965 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8966
8967 * subr.el (error): Use `declare'.
8968 (decode-char, encode-char): Use advertised-calling-convention instead
8969 of the docstring to discourage use of the `restriction' arg.
8970
8971 2013-10-03 Daiki Ueno <ueno@gnu.org>
8972
8973 * epg.el (epg-verify-file): Add a comment saying that it does not
8974 notify verification error as a return value nor a signal.
8975 (epg-verify-string): Ditto.
8976
8977 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8978
8979 * progmodes/compile.el (compilation-start): Try globbing the arg to
8980 `cd' (bug#15417).
8981
8982 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8983
8984 Sync with Tramp 2.2.8.
8985
8986 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8987 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8988 * net/trampver.el: Update release number.
8989
8990 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8991
8992 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8993 and default-process-coding-system for darwin only.
8994
8995 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8996
8997 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8998
8999 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
9000
9001 * vc/vc-git.el (vc-git-grep): Disable pager.
9002
9003 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
9004
9005 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
9006 Use :url instead of :homepage, as per
9007 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
9008
9009 * newcomment.el (comment-beginning): When `comment-use-syntax' is
9010 non-nil, use `syntax-ppss' (Bug#15251).
9011
9012 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9013
9014 * progmodes/octave.el (inferior-octave-startup-file):
9015 Prefer ~/.emacs.d/init_octave.m.
9016
9017 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
9018
9019 * emacs-lisp/package.el (package-desc-from-define):
9020 Accept additional arguments as plist, convert them to an alist and store
9021 them in the `extras' slot.
9022 (package-generate-description-file): Convert extras alist back to
9023 plist and append to the `define-package' form arguments.
9024 (package--alist-to-plist): New function.
9025 (package--ac-desc): Add `extras' slot.
9026 (package--add-to-archive-contents): Check if the archive-contents
9027 vector is long enough, and if it is, pass its `extras' slot value
9028 to `package-desc-create'.
9029 (package-buffer-info): Call `lm-homepage', pass the returned value
9030 to `package-desc-from-define'.
9031 (describe-package-1): Render the homepage button (Bug#13291).
9032
9033 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9034 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
9035
9036 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
9037
9038 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
9039 and default-process-coding-system to utf-8-unix (Bug#15402).
9040
9041 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
9042
9043 * subr.el (looking-back): Do not recommend using looking-back.
9044
9045 2013-09-28 Alan Mackenzie <acm@muc.de>
9046
9047 Fix indentation/fontification of Java enum with "implements".
9048
9049 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
9050 regexp which matches "implements", etc., in Java.
9051 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
9052 specifier clauses coming after "enum".
9053 * progmodes/cc-fonts.el (c-font-lock-declarations)
9054 (c-font-lock-enum-tail): Check for extra specifier clauses coming
9055 after "enum".
9056
9057 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
9058
9059 * faces.el (region): Change ns_selection_color to
9060 ns_selection_fg_color, add ns_selection_bg_color.
9061
9062 2013-09-28 Leo Liu <sdl.web@gmail.com>
9063
9064 * progmodes/octave.el (inferior-octave-completion-table)
9065 (inferior-octave-completion-at-point): Minor tweaks.
9066
9067 * textmodes/ispell.el (ispell-lookup-words): Rename from
9068 lookup-words. (Bug#15460)
9069 (lookup-words): Obsolete.
9070 (ispell-complete-word, ispell-command-loop): All uses changed.
9071
9072 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9073
9074 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
9075 (octave-mode-menu): Add octave-send-buffer.
9076 (octave-send-buffer): New function.
9077
9078 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9079
9080 * progmodes/octave.el (octave-mode-map): Add key binding for
9081 octave-lookfor.
9082 (octave-mode-menu): Add octave-lookfor.
9083 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
9084 octave-lookfor.
9085 (octave-lookfor): New function.
9086
9087 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9088
9089 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
9090 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
9091 its convention.
9092 (cl--loop-set-iterator-function): New function.
9093 (cl-loop): Adjust accordingly, so as not to use cl-subst.
9094 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
9095 Bind `it' with `let' instead of substituting it with `cl-subst'.
9096 (cl--unused-var-p): New function.
9097 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
9098 Eliminate some unused variable warnings (bug#15326).
9099
9100 2013-09-27 Tassilo Horn <tsdh@gnu.org>
9101
9102 * doc-view.el (doc-view-scale-reset): Rename from
9103 `doc-view-reset-zoom-level'.
9104 (doc-view-scale-adjust): New command.
9105 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
9106 `doc-view-scale-adjust'.
9107
9108 2013-09-26 Tassilo Horn <tsdh@gnu.org>
9109
9110 * doc-view.el (doc-view-reset-zoom-level): New command.
9111 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
9112 zoom commands (bug#15466).
9113
9114 2013-09-26 Kenichi Handa <handa@gnu.org>
9115
9116 * international/quail.el (quail-help): Make it not a command.
9117
9118 2013-09-26 Leo Liu <sdl.web@gmail.com>
9119
9120 * minibuffer.el (completion-all-sorted-completions): Make args
9121 optional as they are.
9122
9123 2013-09-25 Daniel Colascione <dancol@dancol.org>
9124
9125 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
9126 specs are and that they're not evaluated.
9127
9128 2013-09-24 Sam Steingold <sds@gnu.org>
9129
9130 * midnight.el (clean-buffer-list-kill-regexps)
9131 (clean-buffer-list-kill-buffer-names): Update for the new Man
9132 buffer naming which includes the object name.
9133
9134 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9135
9136 * eshell/esh-cmd.el (eshell--sep-terms): New var.
9137 (eshell-parse-command, eshell-parse-pipeline): Use it since
9138 eshell-separate-commands requires a dynamic scoped var.
9139 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
9140
9141 2013-09-23 Leo Liu <sdl.web@gmail.com>
9142
9143 * autoinsert.el (auto-insert-alist): Make the value of
9144 lexical-binding match its file setting.
9145
9146 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
9147
9148 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
9149
9150 * autoarg.el (autoarg-kp-digit-argument):
9151 * electric.el (Electric-command-loop):
9152 * kmacro.el (kmacro-step-edit-insert):
9153 Do not set universal-argument-num-events.
9154
9155 2013-09-22 Leo Liu <sdl.web@gmail.com>
9156
9157 * files.el (interpreter-mode-alist): Add octave.
9158
9159 2013-09-21 Alan Mackenzie <acm@muc.de>
9160
9161 C++: fontify identifier in declaration following "public:" correctly.
9162 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
9163 to match "public", etc.
9164 (c-decl-prefix-re): Add ":" into the C++ value.
9165 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
9166 bit. Add a check for a ":" preceded by "public", etc.
9167
9168 2013-09-21 Eli Zaretskii <eliz@gnu.org>
9169
9170 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
9171 recognized by GDB 7.5 and later.
9172
9173 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
9174
9175 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
9176
9177 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9178
9179 * subr.el (internal--call-interactively): New const.
9180 (called-interactively-p): Use it (bug#3984).
9181
9182 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
9183
9184 * vc/pcvs.el (cvs-mode-ignore):
9185 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
9186 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
9187
9188 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9189
9190 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
9191 (eshell-ls-orig-insert-directory): Remove.
9192 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
9193 (eshell-ls-use-in-dired): Use advice-add/remove.
9194 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
9195 Add `orig-fun' arg for use in :around advice.
9196 Make it check (redundantly) eshell-ls-use-in-dired.
9197
9198 2013-09-19 Glenn Morris <rgm@gnu.org>
9199
9200 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
9201
9202 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
9203
9204 * emacs-lisp/eieio.el (class-parent): Undo previous change.
9205
9206 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
9207
9208 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
9209 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
9210 (tramp-get-remote-python): New defuns.
9211 (tramp-get-remote-uid-with-perl)
9212 (tramp-get-remote-gid-with-perl): New defuns. Perl code
9213 contributed by yary <not.com@gmail.com> (tiny change).
9214 (tramp-get-remote-uid-with-python)
9215 (tramp-get-remote-gid-with-python): New defuns. Python code
9216 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
9217 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
9218
9219 2013-09-19 Glenn Morris <rgm@gnu.org>
9220
9221 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
9222
9223 * eshell/em-unix.el (eshell-remove-entries):
9224 Rename argument to avoid name-clash with global `top-level'.
9225
9226 * eshell/esh-proc.el (eshell-kill-process-function):
9227 Remove eshell-reset-after-proc from eshell-kill-hook if present.
9228 (eshell-reset-after-proc): Remove unused arg `proc'.
9229
9230 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
9231 (directory-files-and-attributes): Mark unused arg.
9232
9233 * eshell/em-unix.el (eshell-remove-entries):
9234 Remove unused arg `path'. Update callers.
9235
9236 * eshell/em-hist.el (eshell-hist-parse-arguments):
9237 Remove unused arg `silent'. Update callers.
9238
9239 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
9240 Fix (f)boundp mix-up.
9241
9242 * eshell/em-smart.el (eshell-smart-scroll-window)
9243 (eshell-disable-after-change):
9244 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
9245
9246 2013-09-18 Alan Mackenzie <acm@muc.de>
9247
9248 Fix fontification of type when followed by "const".
9249 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
9250 "known" types from fontification.
9251
9252 2013-09-18 Glenn Morris <rgm@gnu.org>
9253
9254 * emacs-lisp/chart.el (x-display-color-cells): Declare.
9255 (chart-face-list): Drop Emacsen without display-color-p.
9256
9257 * net/eww.el (libxml-parse-html-region): Declare.
9258 (eww-display-html): Explicit error if no libxml2 support.
9259
9260 * doc-view.el (doc-view-mode): Silence --without-x compilation.
9261
9262 * image.el (image-type-from-buffer, image-multi-frame-p):
9263 Remove --without-x warning/error.
9264
9265 * mouse.el (mouse-yank-primary):
9266 * term.el (term-mouse-paste):
9267 Reorder to silence --without-x compilation.
9268
9269 * mpc.el (doc-view-mode): Silence --without-x compilation.
9270
9271 * mail/rmailmm.el (rmail-mime-set-bulk-data):
9272 Silence --without-x compilation.
9273
9274 * progmodes/gud.el (gud-find-file, gud-mode):
9275 Silence --without-x compilation.
9276 (tooltip-mode): Declare.
9277
9278 * wdired.el (dired-backup-overwrite): Remove declaration.
9279 (wdired-mode-map): Add doc string.
9280
9281 * custom.el (x-get-resource): Declare.
9282
9283 * eshell/em-glob.el (ange-cache):
9284 * eshell/em-unix.el (ange-cache): Declare.
9285
9286 * faces.el (x-display-list, x-open-connection, x-get-resource):
9287 Declare.
9288
9289 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
9290 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
9291 Declare.
9292
9293 * frame.el (x-display-grayscale-p, x-display-name): Declare.
9294
9295 * net/gnutls.el (gnutls-log-level): Declare.
9296
9297 * net/shr.el (image-size, image-animate): Declare.
9298
9299 * simple.el (font-info): Declare.
9300
9301 * subr.el (x-popup-dialog): Declare.
9302
9303 * term/common-win.el (x-select-enable-primary)
9304 (x-last-selected-text-primary, x-last-selected-text-clipboard):
9305 Declare.
9306
9307 * term/ns-win.el (x-handle-args): Declare.
9308
9309 * term/x-win.el (x-select-enable-clipboard): Declare.
9310
9311 * term/w32-win.el (create-default-fontset): Declare.
9312
9313 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
9314 Declare.
9315
9316 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
9317 (fit-frame-to-buffer): Explicit error if --without-x.
9318 (mouse-autoselect-window-select): Silence compiler.
9319
9320 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9321
9322 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
9323 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
9324 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
9325 * eshell/esh-util.el (eshell-sublist):
9326 Remove unused local variables.
9327
9328 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
9329
9330 * textmodes/two-column.el: Make 2C-split work for --without-x.
9331 (scroll-bar-columns): Autoload.
9332 (top-level): Require fringe when compiling.
9333
9334 2013-09-18 Leo Liu <sdl.web@gmail.com>
9335
9336 * subr.el (add-hook): Robustify to handle closure as well.
9337
9338 2013-09-17 Glenn Morris <rgm@gnu.org>
9339
9340 * simple.el (messages-buffer-mode-map): Unbind "g".
9341
9342 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9343
9344 * help-mode.el (help-mode-finish): Use derived-mode-p.
9345 Remove obsolete highlighting.
9346
9347 * play/life.el (life-mode): Use define-derived-mode. Derive from
9348 special-mode.
9349 (life): Let-bind inhibit-read-only.
9350 (life-setup): Avoid `setq'. Use `life-mode'.
9351
9352 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
9353 which should not be needed any more.
9354 (package-menu-refresh, package-menu-describe-package): Use user-error.
9355
9356 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
9357 (eshell-post-rewrite-command-hook): Make obsolete.
9358 (eshell-parse-command): Simplify.
9359 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
9360 (eshell--cmd): Declare.
9361 (eshell-parse-pipeline): Remove unused var `final-p'.
9362 Pass a dynvar to eshell-post-rewrite-command-hook.
9363 Implement the new eshell-post-rewrite-command-function.
9364 (eshell-invoke-directly): Remove unused arg `input'.
9365 * eshell/esh-io.el (eshell-io-initialize):
9366 Use eshell-post-rewrite-command-function (bug#15399).
9367 (eshell--apply-redirections): Rename from eshell-apply-redirections;
9368 adjust to new calling convention.
9369 (eshell-create-handles): Rename args to avoid clashing with dynvar
9370 `standard-output'.
9371
9372 2013-09-17 Glenn Morris <rgm@gnu.org>
9373
9374 * simple.el (messages-buffer-mode): New major mode.
9375 (messages-buffer): New function.
9376 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
9377 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
9378 (ert-run-test): Use `messages-buffer' function.
9379 (ert--force-message-log-buffer-truncation): Ignore read-only.
9380 * help.el (view-echo-area-messages): Use `messages-buffer' function.
9381 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
9382
9383 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9384
9385 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
9386
9387 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
9388
9389 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9390
9391 * icomplete.el (icomplete-in-buffer): New var.
9392 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
9393 vars and replace them with functions.
9394 (icomplete-minibuffer-setup): Adjust accordingly.
9395 (icomplete--completion-table, icomplete--completion-predicate)
9396 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
9397 New functions.
9398 (icomplete-forward-completions, icomplete-backward-completions)
9399 (icomplete-simple-completing-p, icomplete-exhibit)
9400 (icomplete-completions): Use them.
9401 (icomplete--in-region-buffer): New var.
9402 (icomplete--in-region-setup): New function.
9403 (icomplete-mode): Use it.
9404
9405 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
9406 (bug#15379).
9407 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
9408 return args and options.
9409 (eshell-eval-using-options): Use the new return value of
9410 eshell--do-opts to set the options's vars in their scope.
9411 (eshell--set-option): Rename from eshell-set-option.
9412 Add arg `opt-vals'.
9413 (eshell--process-option): Rename from eshell-process-option.
9414 Add arg `opt-vals'.
9415 (eshell--process-args): Use an `opt-vals' alist to store the options's
9416 values during their processing and return them additionally to the
9417 remaining args.
9418
9419 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
9420
9421 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
9422 continuation character an operator, as far as indentation is
9423 concerned (Bug#15369).
9424
9425 2013-09-15 Martin Rudalics <rudalics@gmx.at>
9426
9427 * window.el (window--state-put-2): Don't process buffer state
9428 when buffer doesn't exist any more (Bug#15382).
9429
9430 2013-09-15 Glenn Morris <rgm@gnu.org>
9431
9432 * eshell/em-unix.el (eshell/rm):
9433 Make -f ignore missing files. (Bug#15373)
9434
9435 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
9436 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
9437 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
9438
9439 2013-09-14 Glenn Morris <rgm@gnu.org>
9440
9441 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
9442
9443 2013-09-13 Glenn Morris <rgm@gnu.org>
9444
9445 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
9446 (dired-guess-default): Make `file' available in the env. (Bug#15363)
9447
9448 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
9449
9450 * frame.el (x-focus-frame): Mark as declared in frame.c.
9451
9452 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9453
9454 * ls-lisp.el: Use advice-add.
9455 (original-insert-directory): Remove.
9456 (ls-lisp--insert-directory): Rename from insert-directory; add
9457 `orig-fun' argument.
9458 (insert-directory): Advise.
9459
9460 2013-09-13 Eli Zaretskii <eliz@gnu.org>
9461
9462 * term.el (term-emulate-terminal): Decode the command string
9463 before passing it to term-command-hook. (Bug#15337)
9464
9465 2013-09-13 Glenn Morris <rgm@gnu.org>
9466
9467 * eshell/esh-util.el (ange-cache): Move declaration earlier.
9468
9469 * eshell/esh-ext.el (eshell-search-path): Declare.
9470
9471 * eshell/em-prompt.el (eshell/pwd): Autoload it.
9472 Otherwise an error occurs if eshell-dirs module not loaded.
9473
9474 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9475
9476 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
9477
9478 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9479 `tramp-check-proper-host'. Check for a valid method name.
9480
9481 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9482 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9483 * net/tramp-sh.el (tramp-maybe-open-connection):
9484 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9485
9486 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9487 also for hash values.
9488
9489 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9490
9491 * term/ns-win.el (parameters): Don't declare as dynamic.
9492 (before-make-frame-hook): Don't add ineffective function.
9493
9494 * eshell/*.el: Use lexical-binding (bug#15231).
9495
9496 2013-09-12 Kenichi Handa <handa@gnu.org>
9497
9498 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9499
9500 2013-09-12 Glenn Morris <rgm@gnu.org>
9501
9502 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9503 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9504
9505 * subr.el (do-after-load-evaluation): Also give compiler warnings
9506 when obsolete files are used (except by obsolete files).
9507
9508 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9509 in the status output, assume `filename' is the first. (Bug#15322)
9510
9511 * vc/vc.el (vc-deduce-fileset): Doc fix.
9512
9513 * calc/calc-help.el (Info-goto-node):
9514 * progmodes/cperl-mode.el (Info-find-node):
9515 * vc/ediff.el (Info-goto-node): Update declarations.
9516
9517 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9518
9519 * vc/vc-bzr.el (vc-compilation-mode): Declare.
9520 (vc-bzr-pull): Require vc-dispatcher.
9521 * vc/vc-git.el (vc-compilation-mode): Declare.
9522 (vc-git-pull): Require vc-dispatcher.
9523
9524 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9525
9526 * progmodes/octave.el (help-button-action): Declare.
9527
9528 * shell.el (shell-directory-tracker): Output error as a message
9529 rather than just returning it as a string.
9530 (shell-process-pushd): Remove useless use of message.
9531
9532 * dframe.el (dframe-timer-fn):
9533 * files.el (dir-locals-read-from-file):
9534 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9535 (mpc-format):
9536 * reveal.el (reveal-post-command):
9537 * saveplace.el (load-save-place-alist-from-file):
9538 * shell.el (shell-resync-dirs):
9539 * w32-common-fns.el (x-get-selection-value):
9540 * emacs-lisp/copyright.el (copyright-find-copyright):
9541 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9542 * emulation/tpu-edt.el (tpu-copy-keyfile):
9543 * play/bubbles.el (bubbles--mark-neighbourhood):
9544 * progmodes/executable.el
9545 (executable-make-buffer-file-executable-if-script-p):
9546 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9547
9548 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9549
9550 Cleanup Eshell to rely less on dynamic scoping.
9551 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9552 last-value, and ext-command here. Bind `args' closer to `body'.
9553 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9554 (eshell--args): Declare new dynamic var.
9555 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
9556 last-value, and ext-command. Pass `args' to `body'.
9557 (eshell-process-args): Bind eshell--args.
9558 (eshell-set-option): Use eshell--args.
9559 * eshell/eshell.el (eshell): Use derived-mode-p.
9560 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9561 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9562 (eshell-glob-function): Declare.
9563 * eshell/esh-util.el: Require cl-lib.
9564 (eshell-read-hosts-file): Avoid add-to-list.
9565 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9566 `err'.
9567 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9568 Declare.
9569 (eshell/diff): Remove unused var `err'.
9570 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9571 `killflag'.
9572 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9573 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9574 first use.
9575 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9576 Move declaration before first use.
9577 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9578 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9579 rely on cl-return.
9580
9581 2013-09-12 Glenn Morris <rgm@gnu.org>
9582
9583 * term/ns-win.el (global-map): Remove binding for ispell-next,
9584 deleted 1999-05-29. (Bug#15357)
9585
9586 2013-09-11 Glenn Morris <rgm@gnu.org>
9587
9588 * echistory.el (electric-command-history): Remove call to deleted func.
9589
9590 * play/landmark.el (landmark-mode): Fix typos.
9591
9592 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9593 Check cvs-sort-ignore-file is bound.
9594
9595 * savehist.el: No need for cl when compiling on Emacs.
9596
9597 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9598
9599 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9600 (bug#15338).
9601 (eshell-self-insert-command, eshell-send-invisible):
9602 Remove unused argument.
9603 (eshell-handle-control-codes): Remove unused var `orig'.
9604 Avoid delete-backward-char.
9605
9606 * files.el (set-auto-mode): Simplify a bit further.
9607
9608 2013-09-11 Glenn Morris <rgm@gnu.org>
9609
9610 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9611 (set-auto-mode): Don't regexp-quote elements.
9612 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9613 * progmodes/cc-mode.el (interpreter-mode-alist):
9614 * progmodes/ruby-mode.el (interpreter-mode-alist):
9615 Revert previous change.
9616
9617 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9618
9619 * play/snake.el (snake-mode):
9620 * play/mpuz.el (mpuz-mode):
9621 * play/landmark.el (lm-mode):
9622 * play/blackbox.el (blackbox-mode):
9623 * play/5x5.el (5x5-mode):
9624 * obsolete/options.el (Edit-options-mode):
9625 * net/quickurl.el (quickurl-list-mode):
9626 * net/newst-treeview.el (newsticker-treeview-mode):
9627 * mail/rmailsum.el (rmail-summary-mode):
9628 * mail/mspools.el (mspools-mode):
9629 * locate.el (locate-mode):
9630 * ibuffer.el (ibuffer-mode):
9631 * emulation/ws-mode.el (wordstar-mode):
9632 * emacs-lisp/debug.el (debugger-mode):
9633 * array.el (array-mode):
9634 * net/eudc.el (eudc-mode): Use define-derived-mode.
9635 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9636 Move initialization into declaration.
9637 (mairix-searches-mode): Use define-derived-mode.
9638 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9639 (eudc-edit-hotlist): Use dolist.
9640 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9641 (Man-mode): Use define-derived-mode.
9642 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9643 (Info-edit-mode): Use define-derived-mode.
9644 (Info-cease-edit): Use Info-mode.
9645 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9646 into declaration.
9647 (eshell-mode): Use define-derived-mode.
9648 * chistory.el (command-history-mode-map): Rename from
9649 command-history-map.
9650 (command-history-mode): Use define-derived-mode.
9651 (Command-history-setup): Remove function.
9652 * calc/calc.el (calc-trail-mode-map): New var.
9653 (calc-trail-mode): Use define-derived-mode.
9654 (calc-trail-buffer): Set calc-main-buffer manually.
9655 * bookmark.el (bookmark-insert-annotation): New function.
9656 (bookmark-edit-annotation): Use it.
9657 (bookmark-edit-annotation-mode): Make it a proper major mode.
9658 (bookmark-send-edited-annotation): Use derived-mode-p.
9659 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9660 closer to its ideal place. Use \' to match EOS.
9661
9662 * profiler.el (profiler-calltree-find): Use function-equal.
9663
9664 2013-09-10 Glenn Morris <rgm@gnu.org>
9665
9666 * files.el (interpreter-mode-alist): Convert to regexps.
9667 (set-auto-mode): Adapt for this. (Bug#15306)
9668 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9669 Comment out unused variable.
9670 * progmodes/cc-mode.el (interpreter-mode-alist):
9671 * progmodes/python.el (interpreter-mode-alist):
9672 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9673 * progmodes/sh-script.el (sh-set-shell):
9674 No longer use interpreter-mode-alist to get list of shells.
9675
9676 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9677
9678 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9679
9680 * simple.el: Use set-temporary-overlay-map for universal-argument.
9681 (universal-argument-map): Don't use default-bindings (bug#15317).
9682 Bind switch-frame explicitly. Replace universal-argument-minus with
9683 a conditional binding.
9684 (universal-argument-num-events, saved-overriding-map): Remove.
9685 (restore-overriding-map): Remove.
9686 (universal-argument--mode): Rename from save&set-overriding-map,
9687 and rewrite.
9688 (universal-argument, universal-argument-more, negative-argument)
9689 (digit-argument): Adjust accordingly.
9690 (universal-argument-minus): Remove.
9691 (universal-argument-other-key): Remove.
9692
9693 * subr.el (with-demoted-errors): Add `format' argument.
9694
9695 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9696
9697 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9698 `tramp-cleanup-connection'.
9699
9700 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9701 parameters KEEP-DEBUG and KEEP-PASSWORD.
9702
9703 * net/tramp.el (tramp-file-name-handler):
9704 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9705 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9706 (tramp-maybe-open-connection):
9707 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9708 Use `tramp-cleanup-connection'.
9709
9710 * net/tramp-sh.el (tramp-maybe-open-connection):
9711 Catch 'uname-changed inside the progress reporter.
9712
9713 2013-09-10 Glenn Morris <rgm@gnu.org>
9714
9715 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9716
9717 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9718 returns "alternate access method" in mode (eg "-rw-r--r--.").
9719
9720 2013-09-08 Glenn Morris <rgm@gnu.org>
9721
9722 * saveplace.el (load-save-place-alist-from-file):
9723 Demote errors. (Bug#15305)
9724
9725 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9726
9727 Improve compatibility with older Emacsen, and XEmacs.
9728
9729 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9730 only if it is bound. It isn't for XEmacs.
9731 (with-tramp-progress-reporter): Do not let-bind `result'.
9732 This yields to scoping errors in XEmacs.
9733 (tramp-handle-make-auto-save-file-name): New function, moved from
9734 tramp-sh.el.
9735
9736 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9737 for `make-auto-save-file-name'.
9738 (tramp-adb--gnu-switches-to-ash):
9739 Use `tramp-compat-replace-regexp-in-string'.
9740
9741 * net/tramp-cache.el (tramp-cache-print): Call
9742 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9743
9744 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9745 bound. It isn't for XEmacs.
9746
9747 * net/tramp-compat.el (tramp-compat-copy-file):
9748 Catch `wrong-number-of-arguments' error.
9749 (tramp-compat-replace-regexp-in-string): New defun.
9750
9751 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9752 for `make-auto-save-file-name'.
9753 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9754 `copy-file'.
9755 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9756 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9757 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9758
9759 * net/tramp-gw.el (tramp-gw-open-network-stream):
9760 Use `tramp-compat-replace-regexp-in-string'.
9761
9762 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9763 Call `tramp-handle-make-auto-save-file-name'.
9764 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9765 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9766 (tramp-sh-file-inotifywait-process-filter):
9767 Use `tramp-compat-replace-regexp-in-string'.
9768 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9769
9770 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9771 for `make-auto-save-file-name'.
9772 (tramp-smb-handle-copy-directory):
9773 Call `tramp-compat-replace-regexp-in-string'.
9774 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9775 (tramp-smb-handle-copy-file): Improve error message.
9776 (tramp-smb-handle-rename-file): Rename directly only in case
9777 `newname' does not exist yet. This is a restriction of smbclient.
9778 (tramp-smb-maybe-open-connection): Rerun the function only when
9779 `auth-sources' is non-nil.
9780
9781 2013-09-08 Kenichi Handa <handa@gnu.org>
9782
9783 * international/characters.el: Set category "^" (Combining) for
9784 more characters.
9785
9786 2013-09-07 Alan Mackenzie <acm@muc.de>
9787
9788 Correctly fontify Java class constructors.
9789 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9790 in Java Mode.
9791 (c-recognize-typeless-decls): Set the Java value to t.
9792 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9793 While handling a "(", add a check for, effectively, Java, and handle a
9794 "typeless" declaration there.
9795
9796 2013-09-07 Roland Winkler <winkler@gnu.org>
9797
9798 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9799 field subtitle for entry type book.
9800
9801 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9802
9803 * minibuffer.el: Make minibuffer-complete call completion-in-region
9804 rather than other way around.
9805 (completion--some, completion-pcm--find-all-completions):
9806 Don't delay signals when debugging.
9807 (minibuffer-completion-contents): Beware fields within the
9808 minibuffer contents.
9809 (completion-all-sorted-completions): Use defvar-local.
9810 (completion--do-completion, completion--cache-all-sorted-completions)
9811 (completion-all-sorted-completions, minibuffer-force-complete):
9812 Add args `beg' and `end'.
9813 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9814 (minibuffer-complete): Use completion-in-region.
9815 (completion-complete-and-exit): New fun, extracted from
9816 minibuffer-complete-and-exit.
9817 (minibuffer-complete-and-exit): Use it.
9818 (completion--complete-and-exit): Rename from
9819 minibuffer--complete-and-exit.
9820 (completion-in-region--single-word): New function, extracted from
9821 minibuffer-complete-word.
9822 (minibuffer-complete-word): Use it.
9823 (display-completion-list): Make `common-substring' argument obsolete.
9824 (completion--in-region): Call completion--in-region-1 instead of
9825 minibuffer-complete.
9826 (completion-help-at-point): Pass boundaries to
9827 minibuffer-completion-help as args rather than via an overlay.
9828 (completion-pcm--string->pattern): Use `any-delim'.
9829 (completion-pcm--optimize-pattern): New function.
9830 (completion-pcm--pattern->regex): Handle `any-delim'.
9831 * icomplete.el (icomplete-forward-completions)
9832 (icomplete-backward-completions, icomplete-completions):
9833 Adjust calls to completion-all-sorted-completions and
9834 completion--cache-all-sorted-completions.
9835 (icomplete-with-completion-tables): Default to t.
9836 * emacs-lisp/crm.el (crm--current-element): Rename from
9837 crm--select-current-element. Don't put an overlay but return the
9838 boundaries instead.
9839 (crm--completion-command): Take two new args to bind to the boundaries.
9840 (crm-completion-help): Adjust accordingly.
9841 (crm-complete): Use completion-in-region.
9842 (crm-complete-word): Use completion-in-region--single-word.
9843 (crm-complete-and-exit): Use completion-complete-and-exit.
9844
9845 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9846
9847 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9848 than dynamically.
9849
9850 2013-09-06 Juri Linkov <juri@jurta.org>
9851
9852 * info.el (Info-display-images-node): When image file doesn't exist
9853 display text version of the image if it's provided in the Info file.
9854 Otherwise, display the location of missing image from SRC attribute.
9855 Add help-echo text property from ALT attribute. (Bug#15279)
9856
9857 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9858
9859 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9860 (edit-abbrevs-mode): Use define-derived-mode.
9861
9862 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9863 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9864 that it's defined.
9865 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9866 Use define-derived-mode.
9867
9868 * epg.el (epg-start-encrypt): Minor CSE simplification.
9869
9870 2013-09-06 William Xu <william.xwl@gmail.com>
9871
9872 * arc-mode.el: Add support for 7za (bug#15264).
9873 (archive-7z-program): New var.
9874 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9875 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9876 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9877
9878 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9879
9880 Remove URL syntax.
9881
9882 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9883 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9884 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9885 (tramp-postfix-host-format, tramp-file-name-regexp)
9886 (tramp-completion-file-name-regexp)
9887 (tramp-completion-dissect-file-name)
9888 (tramp-handle-substitute-in-file-name): Remove 'url case.
9889 (tramp-file-name-regexp-url)
9890 (tramp-completion-file-name-regexp-url): Remove constants.
9891
9892 2013-09-06 Glenn Morris <rgm@gnu.org>
9893
9894 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9895
9896 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9897
9898 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9899 keywords" below "here-doc beginnings" (Bug#15270).
9900
9901 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9902
9903 * subr.el (pop): Use `car-safe'.
9904 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9905 to detect unused `pop' return value.
9906
9907 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9908 var `block-regexp'.
9909 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9910 (python-fill-string): Remove unused var `marker'.
9911 (python-skeleton-add-menu-items): Remove unused var `items'.
9912
9913 * international/mule-cmds.el: Require CL.
9914 (find-coding-systems-for-charsets): Avoid add-to-list.
9915 (sanitize-coding-system-list): New function, extracted from
9916 select-safe-coding-system-interactively.
9917 (select-safe-coding-system-interactively): Use it.
9918 (read-input-method-name): Accept symbols for `default'.
9919
9920 * emacs-lisp/advice.el (defadvice): Add indent rule.
9921
9922 2013-09-05 Daniel Hackney <dan@haxney.org>
9923
9924 * dired-x.el:
9925 * net/ange-ftp.el:
9926 * net/browse-url.el:
9927 * net/dbus.el:
9928 * net/eudc.el:
9929 * net/eudcb-ldap.el:
9930 * net/eww.el:
9931 * net/imap.el:
9932 * printing.el:
9933 * vc/ediff-diff.el:
9934 * vc/ediff-init.el:
9935 * vc/ediff-merg.el:
9936 * vc/ediff-mult.el:
9937 * vc/ediff-util.el:
9938 * vc/ediff-wind.el:
9939 * vc/ediff.el:
9940 * vc/emerge.el:
9941 * vc/pcvs.el:
9942 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9943 byte compiler. Remove some unused let-bound variables.
9944
9945 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9946
9947 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9948 a "ref-cell", since it gets better optimized (bug#14883).
9949
9950 2013-09-05 Glenn Morris <rgm@gnu.org>
9951
9952 * progmodes/cc-awk.el (c-forward-sws): Declare.
9953
9954 2013-09-04 Glenn Morris <rgm@gnu.org>
9955
9956 * generic-x.el [rul-generic-mode]: Require cc-mode.
9957 (c++-mode-syntax-table): Declare.
9958 (rul-generic-mode-syntax-table): Init in the defvar.
9959
9960 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9961
9962 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9963 (vc-do-command, vc-set-async-update):
9964 * vc/vc-mtn.el (vc-mtn-dir-status):
9965 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9966 (vc-hg-pull, vc-hg-merge-branch):
9967 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9968 (vc-git-merge-branch):
9969 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9970 (vc-cvs-dir-status-files):
9971 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9972 (vc-bzr-dir-status-files):
9973 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9974 * vc/vc-annotate.el: Use lexical-binding.
9975 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9976 (vc-sentinel-movepoint): Declare.
9977 (vc-annotate): Don't use `goto-line'.
9978 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9979 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9980 (vc-sentinel-movepoint): Declare.
9981 * vc/vc-svn.el: Use lexical-binding.
9982 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9983 * vc/vc-sccs.el:
9984 * vc/vc-rcs.el: Use lexical-binding.
9985
9986 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9987 `deleted'. Don't drop errors silently.
9988
9989 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9990
9991 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9992
9993 * vc/vc.el (vc-ignore): Rewrite.
9994 (vc-default-ignore): New function.
9995 (vc-default-ignore-completion-table): Use find-ignore-file.
9996
9997 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9998 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9999 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
10000 Remove. Most code moved to vc.el.
10001
10002 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
10003
10004 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
10005 * net/tramp-smb.el (tramp-smb-get-file-entries):
10006 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
10007 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
10008
10009 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
10010 Update call to it.
10011 (eww-change-select): Remove unused var `properties'.
10012 (eww-make-unique-file-name): Remove unused var `base'.
10013
10014 * finder.el (finder-compile-keywords): Don't mess with windows.
10015
10016 * calculator.el (calculator-funcall): Fix typo in last change.
10017
10018 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
10019
10020 * emacs-lisp/package.el (package-activate-1): Don't let a missing
10021 <pkg>-autoloads.el file stop us.
10022
10023 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
10024 warnings, and factor out common code.
10025
10026 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
10027
10028 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
10029 two-character operators and whether the character preceding them
10030 changes their meaning (Bug#15208).
10031
10032 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
10033
10034 Format code sent to Python shell for robustness.
10035 * progmodes/python.el (python-shell-buffer-substring):
10036 New function.
10037 (python-shell-send-region, python-shell-send-buffer): Use it.
10038
10039 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
10040
10041 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
10042 * net/tramp.el (tramp-user-error): ... here.
10043 (tramp-find-method, tramp-check-proper-host)
10044 (tramp-dissect-file-name, tramp-debug-message)
10045 (tramp-handle-shell-command):
10046 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10047 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
10048
10049 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
10050
10051 2013-09-02 Martin Rudalics <rudalics@gmx.at>
10052
10053 * avoid.el (mouse-avoidance-point-position)
10054 (mouse-avoidance-too-close-p): Handle case where posn-at-point
10055 returns nil.
10056
10057 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
10058
10059 * progmodes/python.el (python-shell-completion-get-completions):
10060 Drop use of deleted `comint-last-prompt-overlay'.
10061 (python-nav-if-name-main): New command.
10062
10063 2013-09-01 Glenn Morris <rgm@gnu.org>
10064
10065 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10066 Avoid leading space in $wins. Otherwise the sed command used by
10067 eg compile-main ends up containing "/*.el". (Bug#15170)
10068
10069 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
10070
10071 2013-08-30 Glenn Morris <rgm@gnu.org>
10072
10073 * emacs-lisp/bytecomp.el (byte-recompile-directory):
10074 Fix is-this-a-directory logic. (Bug#15220)
10075
10076 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10077
10078 * textmodes/css-mode.el: Use SMIE.
10079 (css-smie-grammar): New var.
10080 (css-smie--forward-token, css-smie--backward-token)
10081 (css-smie-rules): New functions.
10082 (css-mode): Use them.
10083 (css-navigation-syntax-table): Remove var.
10084 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
10085 (css-indent-calculate, css-indent-line): Remove functions.
10086
10087 Misc changes to reduce use of `(lambda...); and other cleanups.
10088 * cus-edit.el: Use lexical-binding.
10089 (customize-push-and-save, customize-apropos)
10090 (custom-buffer-create-internal): Use closures.
10091 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
10092 * progmodes/ada-xref.el: Use setq.
10093 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
10094 * dframe.el: Use lexical-binding.
10095 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
10096 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
10097 * descr-text.el: Use lexical-binding.
10098 (describe-text-widget, describe-text-sexp, describe-property-list):
10099 Use closures.
10100 * comint.el (comint-history-isearch-push-state): Use a closure.
10101 * calculator.el: Use lexical-binding.
10102 (calculator-number-to-string): Make it work with lexical-binding.
10103 (calculator-funcall): Same and use cl-letf.
10104
10105 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
10106 (lisp--company-doc-string, lisp--company-location): New functions.
10107 (lisp-completion-at-point): Use them to improve Company support.
10108
10109 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
10110 params of lambda expressions.
10111 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
10112 (ruby-smie--opening-pipe-p): New function.
10113 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
10114 symbols and matched |...| for formal params.
10115 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
10116 from being treated as hanging. Handle "rescue".
10117
10118 2013-08-29 Glenn Morris <rgm@gnu.org>
10119
10120 * progmodes/cc-engine.el (c-pull-open-brace):
10121 Move definition before use.
10122
10123 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10124
10125 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
10126 are immutable. Don't use `unsafe' any more.
10127 (cl--defsubst-expand): Don't substitute at the same time as keeping
10128 a residual unused let-binding. Don't use `unsafe' any more.
10129
10130 2013-08-29 Glenn Morris <rgm@gnu.org>
10131
10132 * calendar/cal-china.el (calendar-chinese-year-cache):
10133 Recenter on 2015.
10134
10135 * nxml/nxml-util.el (nxml-debug-clear-inside):
10136 Use cl-loop rather than loop.
10137
10138 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
10139
10140 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
10141
10142 2013-08-28 Glenn Morris <rgm@gnu.org>
10143
10144 * progmodes/antlr-mode.el: No need to require cc-mode twice.
10145
10146 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
10147
10148 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
10149
10150 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10151
10152 * simple.el (repeat-complex-command--called-interactively-skip):
10153 New function.
10154 (repeat-complex-command): Use it (bug#14136).
10155
10156 * progmodes/cc-mode.el: Minor cleanup of var declarations.
10157 (c-define-abbrev-table): Add `doc' argument.
10158 (c-mode-abbrev-table, c++-mode-abbrev-table)
10159 (objc-mode-abbrev-table, java-mode-abbrev-table)
10160 (idl-mode-abbrev-table, pike-mode-abbrev-table)
10161 (awk-mode-abbrev-table): Use it.
10162 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
10163 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
10164 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
10165 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
10166 Move initialization into the declaration; and remove any
10167 autoload cookie.
10168
10169 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
10170 and dynamic let binding.
10171
10172 * vc/smerge-mode.el: Remove redundant :group args.
10173
10174 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
10175 to load-path.
10176
10177 2013-08-28 Juri Linkov <juri@jurta.org>
10178
10179 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
10180 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
10181 (isearch-other-meta-char): Handle an undefined shifted printing
10182 character by downshifting it. (Bug#15200)
10183
10184 2013-08-28 Juri Linkov <juri@jurta.org>
10185
10186 * isearch.el (isearch-search): Change regexp error message for
10187 non-regexp searches. (Bug#15166)
10188
10189 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
10190
10191 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
10192 for portability to hosts where /bin/sh has problems.
10193
10194 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10195
10196 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
10197
10198 2013-08-27 Juri Linkov <juri@jurta.org>
10199
10200 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
10201 in the keyboard macro. (Bug#15126)
10202
10203 2013-08-27 Juri Linkov <juri@jurta.org>
10204
10205 * isearch.el (isearch-quote-char): Comment out converting unibyte
10206 to multibyte, thus syncing with its `quoted-insert' counterpart.
10207 (Bug#15166)
10208
10209 2013-08-27 Martin Rudalics <rudalics@gmx.at>
10210
10211 * window.el (display-buffer-use-some-window): Add missing
10212 argument in call of get-largest-window (Bug#15185).
10213 Reported by Stephen Leake.
10214
10215 2013-08-27 Glenn Morris <rgm@gnu.org>
10216
10217 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
10218
10219 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
10220
10221 * progmodes/python.el (python-font-lock-keywords): Don't return nil
10222 from a matcher-function unless there's no more matches (bug#15161).
10223
10224 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10225
10226 * minibuffer.el: Revert change from 2013-08-20.
10227
10228 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
10229 with text property `tramp-default', if appropriate.
10230 (tramp-check-proper-host): New defun.
10231 (tramp-dissect-file-name): Do not check hostname. Revert change
10232 of 2013-03-18.
10233 (tramp-backtrace): Make VEC-OR-PROC optional.
10234
10235 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10236 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10237 * net/tramp-sh.el (tramp-maybe-open-connection):
10238 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10239 Apply `tramp-check-proper-host'.
10240
10241 2013-08-26 Tassilo Horn <tsdh@gnu.org>
10242
10243 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
10244 lambda expression in order to have `describe-variable' display it.
10245
10246 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10247
10248 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
10249 BUF can be optional. (Bug#15186)
10250
10251 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
10252
10253 * progmodes/flymake.el (flymake-get-real-file-name-function):
10254 Fix broken customization. (Bug#15184)
10255
10256 2013-08-25 Alan Mackenzie <acm@muc.de>
10257
10258 Improve indentation of bracelists defined by macros (without "=").
10259
10260 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
10261 expansion begins with "{", regard it as bracelist when it doesn't
10262 contain a ";".
10263
10264 Parse C++ inher-intro when there's a template split over 2 lines.
10265
10266 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
10267 rigorously the search for "class" etc. followed by ":".
10268
10269 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
10270 random languages a regexp which never matches rather than nil.
10271
10272 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
10273
10274 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
10275 (c-awk-regexp-one-line-possibly-open-char-list-re)
10276 (c-awk-one-line-possibly-open-regexp-re)
10277 (c-awk-one-line-non-syn-ws*-re): Remove.
10278 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
10279 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
10280 (c-awk-space*-unclosed-regexp-/-re): New constants.
10281 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
10282 aren't regexp delimiters.
10283
10284 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
10285 handling for a rare situation in AWK Mode involving unterminated
10286 strings/regexps.
10287
10288 2013-08-23 Glenn Morris <rgm@gnu.org>
10289
10290 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
10291
10292 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
10293
10294 * files.el (create-file-buffer): If the result would begin with
10295 spaces, prepend a "|" instead of removing them. (Bug#15162)
10296
10297 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10298
10299 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
10300 text-properties (bug#15155).
10301
10302 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
10303 exist any more.
10304 (calc-keypad-redraw): Remove unused var `pad'.
10305 (calc-keypad-press): Remove unused var `menu'.
10306
10307 2013-08-23 Martin Rudalics <rudalics@gmx.at>
10308
10309 * window.el (display-buffer-pop-up-frame):
10310 Call pop-up-frame-function with BUFFER current so `make-frame' will
10311 use it as the new frame's buffer (Bug#15133).
10312
10313 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10314
10315 * calendar/timeclock.el: Minor cleanups.
10316 (timeclock-ask-before-exiting, timeclock-use-display-time):
10317 Use `symbol'.
10318 (timeclock-modeline-display): Define as alias before the
10319 actual definition.
10320 (timeclock-mode-line-display): Use define-minor-mode.
10321 (timeclock-day-list-template): Make it a function, add an argument.
10322 (timeclock-day-list-required, timeclock-day-list-length)
10323 (timeclock-day-list-debt, timeclock-day-list-span)
10324 (timeclock-day-list-break): Adjust calls accordingly.
10325
10326 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
10327
10328 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
10329 Use read--expression so that completion works again.
10330
10331 2013-08-21 Sam Steingold <sds@gnu.org>
10332
10333 Add rudimentary inferior shell interaction
10334 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
10335 (sh-set-shell): Reset it.
10336 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
10337 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
10338
10339 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
10340
10341 * align.el: Use lexical-binding.
10342 (align-region): Simplify accordingly.
10343
10344 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
10345
10346 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
10347
10348 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
10349 `non-essential' up.
10350
10351 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
10352
10353 * net/tramp.el:
10354 * net/tramp-adb.el:
10355 * net/tramp-cmds.el:
10356 * net/tramp-ftp.el:
10357 * net/tramp-gvfs.el:
10358 * net/tramp-gw.el:
10359 * net/tramp-sh.el: Don't wrap external variable declarations by
10360 `eval-when-compile'.
10361
10362 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10363
10364 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
10365 now that Emacs supports ImageMagick animations.
10366
10367 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
10368
10369 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
10370 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
10371
10372 2013-08-16 Martin Rudalics <rudalics@gmx.at>
10373
10374 * window.el (mouse-autoselect-window-select): Do autoselect when
10375 mouse pointer is on margin.
10376
10377 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
10378
10379 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
10380
10381 2013-08-16 Glenn Morris <rgm@gnu.org>
10382
10383 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
10384 Handle "Remote Directory" response of some clients. (Bug#15058)
10385
10386 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
10387 Tweak warning. (Bug#14926)
10388
10389 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
10390 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
10391
10392 * image-mode.el (image-mode-map): Add menu items to reverse,
10393 increase, decrease, reset animation speed.
10394 (image--set-speed, image-increase-speed, image-decrease-speed)
10395 (image-reverse-speed, image-reset-speed): New functions.
10396 (image-mode-map): Add bindings for speed commands.
10397
10398 * image.el (image-animate-get-speed, image-animate-set-speed):
10399 New functions.
10400 (image-animate-timeout): Respect image :speed property.
10401
10402 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10403
10404 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
10405 previous line (bug#15101).
10406 (debugger-eval-expression, debugger-record-expression):
10407 Use read--expression (bug#15102).
10408
10409 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
10410
10411 Remove byte compiler warnings, visible when compiling with
10412 `byte-compile-force-lexical-warnings' set to t.
10413
10414 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
10415 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
10416 (tramp-handle-unhandled-file-name-directory)
10417 (tramp-handle-file-notify-add-watch, tramp-action-login)
10418 (tramp-action-succeed, tramp-action-permission-denied)
10419 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
10420 arguments with "_".
10421
10422 * net/tramp-adb.el (tramp-adb-parse-device-names)
10423 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
10424 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
10425 (tramp-adb-handle-file-truename): Remove unused arguments.
10426
10427 * net/tramp-cache.el (tramp-flush-directory-property)
10428 (tramp-flush-connection-property, tramp-list-connections)
10429 (tramp-parse-connection-properties): Prefix unused arguments with "_".
10430
10431 * net/tramp-compat.el (tramp-compat-make-temp-file):
10432 Rename FILENAME to F.
10433
10434 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10435 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
10436 (tramp-zeroconf-parse-workstation-device-names)
10437 (tramp-zeroconf-parse-webdav-device-names)
10438 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
10439
10440 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10441 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
10442
10443 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
10444 arguments.
10445 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
10446 (tramp-sh-handle-insert-file-contents-literally)
10447 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
10448 with "_".
10449 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
10450 Remove unused variables.
10451
10452 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10453 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10454 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10455
10456 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10457 Make them a defconst.
10458 (tramp-uuencode-region): Remove unused variable.
10459
10460 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
10461
10462 * frameset.el (frameset--prop-setter): New function.
10463 (frameset-prop): Add gv-setter declaration.
10464 (frameset-filter-minibuffer): Deal with the case that the minibuffer
10465 parameter was already set in FILTERED. Doc fix.
10466 (frameset--record-minibuffer-relationships): Allow saving a
10467 minibufferless frame without its corresponding minibuffer frame.
10468 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10469 frame, if the frame id matches.
10470 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10471 frames before orphaned ones.
10472 (frameset-restore): Warn about orphaned windows, instead of error out.
10473
10474 2013-08-14 Martin Rudalics <rudalics@gmx.at>
10475
10476 * window.el (window-make-atom): Don't overwrite parameter
10477 already present.
10478 (display-buffer-in-atom-window): Handle special case where we
10479 split an already atomic window.
10480 (window--major-non-side-window, display-buffer-in-side-window)
10481 (window--side-check): Ignore minibuffer window when walking
10482 window tree.
10483 (window-deletable-p): Return 'frame only if no other frame uses
10484 our minibuffer window.
10485 (record-window-buffer): Run buffer-list-update-hook.
10486 (split-window): Make sure window--check-frame won't destroy an
10487 existing atomic window in case the new window gets nested
10488 inside.
10489 (display-buffer-at-bottom): Ignore minibuffer window when
10490 walking window tree. Don't split a side window.
10491 (pop-to-buffer): Don't set-buffer here, the select-window call
10492 should do that.
10493 (mouse-autoselect-window-select): Autoselect only if we are in the
10494 text portion of the window.
10495
10496 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10497
10498 * net/shr.el (shr-parse-image-data): New function to grab both the
10499 data itself and the Content-Type.
10500 (shr-put-image): Use it.
10501
10502 * net/eww.el (eww-display-image): Ditto.
10503
10504 * image.el (image-content-type-suffixes): New variable.
10505
10506 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10507
10508 * progmodes/python.el (python-imenu--build-tree)
10509 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10510
10511 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
10512
10513 * simple.el (backward-word): Mention the optional argument.
10514
10515 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10516
10517 * frameset.el (frameset--make): Rename constructor from make-frameset.
10518 (frameset-p, frameset-valid-p): Don't autoload.
10519 (frameset-valid-p): Use normal accessors.
10520
10521 2013-08-13 Glenn Morris <rgm@gnu.org>
10522
10523 * progmodes/compile.el (compile-command): Tweak example in doc.
10524 * obsolete/scribe.el (scribe-mode):
10525 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
10526
10527 * mail/feedmail.el (feedmail-confirm-outgoing)
10528 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10529
10530 * cus-start.el (truncate-partial-width-windows): Fix type.
10531
10532 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10533
10534 * net/shr.el (shr-table-horizontal-line): Fix custom type.
10535
10536 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10537
10538 * emacs-lisp/timer.el (timer--time-setter): New function.
10539 (timer--time): Use it as gv-setter.
10540
10541 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10542 setter is not a symbol.
10543
10544 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
10545
10546 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10547 if sending fails. This makes debugging easier.
10548
10549 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
10550
10551 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10552 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10553 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10554
10555 2013-08-12 Eli Zaretskii <eliz@gnu.org>
10556
10557 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10558
10559 2013-08-12 Glenn Morris <rgm@gnu.org>
10560
10561 * format.el (format-annotate-function):
10562 Handle read-only text properties in the source. (Bug#14887)
10563
10564 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10565
10566 * net/eww.el (eww-display-html): Ignore coding system errors.
10567 One web site uses "utf-8lias" as the coding system.
10568
10569 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
10570
10571 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10572
10573 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
10574
10575 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10576 (tutorial--detailed-help): Remove unused local variables.
10577 (tutorial--save-tutorial-to): Use ignore-errors.
10578 (help-with-tutorial): Use looking-at-p.
10579
10580 * view.el (view-buffer-other-window, view-buffer-other-frame):
10581 Mark unused arguments.
10582
10583 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10584 (woman-select-symbol-fonts, woman, woman-find-file)
10585 (woman-insert-file-contents, woman-non-underline-faces):
10586 Use string-match-p.
10587 (woman1-unquote): Move declaration.
10588
10589 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10590 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10591 argument. Remove unused local variable.
10592 (xml-parse-elem-type): Use string-match-p.
10593 (xml-substitute-numeric-entities): Use ignore-errors.
10594
10595 * calculator.el (calculator): Mark unused argument.
10596 (calculator-paste, calculator-quit, calculator-integer-p):
10597 Use ignore-errors.
10598 (calculator-string-to-number, calculator-decimal, calculator-exp)
10599 (calculator-op-or-exp): Use string-match-p.
10600
10601 * dired.el (dired-buffer-more-recently-used-p): Declare.
10602 (dired-insert-set-properties, dired-insert-old-subdirs):
10603 Use ignore-errors.
10604
10605 * dired-aux.el (dired-compress): Use ignore-errors.
10606 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10607 (dired-do-async-shell-command, dired-do-shell-command)
10608 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10609 (dired-insert-subdir-validate): Use string-match-p.
10610 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10611 (dired-add-entry): Use string-match-p, looking-at-p.
10612 (dired-insert-subdir-newpos): Remove unused local variable.
10613
10614 * filenotify.el (file-notify-callback): Remove unused local variable.
10615
10616 * filesets.el (filesets-error): Mark unused argument.
10617 (filesets-which-command-p, filesets-filter-dir-names)
10618 (filesets-directory-files, filesets-get-external-viewer)
10619 (filesets-ingroup-get-data): Use string-match-p.
10620
10621 * find-file.el (ff-other-file-name, ff-other-file-name)
10622 (ff-find-the-other-file, ff-cc-hh-converter):
10623 Remove unused local variables.
10624 (ff-get-file-name): Use string-match-p.
10625 (ff-all-dirs-under): Use ignore-errors.
10626
10627 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10628 (follow-select-if-visible): Remove unused local variable.
10629
10630 * forms.el (read-file-filter): Move declaration.
10631 (forms--make-format, forms--make-parser, forms-insert-record):
10632 Quote function with #'.
10633 (forms--update): Use string-match-p. Quote function with #'.
10634
10635 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10636 (help-make-xrefs): Use looking-at-p.
10637 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10638
10639 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10640 (ibuffer-confirm-operation-on): Use string-match-p.
10641
10642 * msb.el (msb-item-handler, msb-dired-item-handler):
10643 Mark unused arguments.
10644
10645 * ses.el (ses-decode-cell-symbol)
10646 (ses-kill-override): Remove unused local variable.
10647 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10648 (ses-load): Use ignore-errors, looking-at-p.
10649 (ses-jump-safe): Use ignore-errors.
10650 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10651
10652 * tabify.el (untabify, tabify): Mark unused arguments.
10653
10654 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10655 Mark unused argument.
10656 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10657 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10658
10659 * emacs-lisp/timer.el (timer--time): Define setter with
10660 gv-define-setter to avoid deprecation warning.
10661
10662 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10663 (*record-cmpl-statistics-p*): Remove (was commented out).
10664 (cmpl-statistics-block): Remove (body was commented out).
10665 All callers changed.
10666 (add-completions-from-buffer, load-completions-from-file):
10667 Remove unused variables.
10668
10669 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10670
10671 * filecache.el (file-cache-delete-file-list):
10672 Print message only when told so.
10673 (file-cache-files-matching): Use #' in mapconcat argument.
10674
10675 * ffap.el (ffap-url-at-point): Fix reference to variable
10676 thing-at-point-default-mail-uri-scheme.
10677
10678 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10679
10680 * subr.el (define-error): New function.
10681 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10682 error-file-not-found and define with define-error.
10683 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10684 and define with define-error.
10685 * userlock.el (file-locked, file-supersession):
10686 * simple.el (mark-inactive):
10687 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10688 * progmodes/ada-mode.el (ada-mode-errors):
10689 * play/life.el (life-extinct):
10690 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10691 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10692 * nxml/rng-util.el (rng-error):
10693 * nxml/rng-uri.el (rng-uri-error):
10694 * nxml/rng-match.el (rng-compile-error):
10695 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10696 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10697 * nxml/nxml-rap.el (nxml-scan-error):
10698 * nxml/nxml-outln.el (nxml-outline-error):
10699 * net/soap-client.el (soap-error):
10700 * net/gnutls.el (gnutls-error):
10701 * net/ange-ftp.el (ftp-error):
10702 * mpc.el (mpc-proc-error):
10703 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10704 (json-number-format, json-string-escape, json-string-format)
10705 (json-key-format, json-object-format):
10706 * jka-compr.el (compression-error):
10707 * international/quail.el (quail-error):
10708 * international/kkc.el (kkc-error):
10709 * emacs-lisp/ert.el (ert-test-failed):
10710 * calc/calc.el (calc-error, inexact-result, math-overflow)
10711 (math-underflow):
10712 * bookmark.el (bookmark-error-no-filename):
10713 * epg.el (epg-error): Define with define-error.
10714
10715 * time.el (display-time-event-handler)
10716 (display-time-next-load-average): Don't call sit-for since it seems
10717 unnecessary (bug#15045).
10718
10719 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10720 Use #' instead of ' to quote functions.
10721 (checkdoc-output-mode): Use setq-local.
10722 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10723 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10724 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10725 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10726 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10727 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10728 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10729 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10730
10731 * ido.el (ido-completion-help): Fix up compiler warning.
10732
10733 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10734
10735 * frameset.el (frameset-p): Add autoload cookie.
10736 (frameset--jump-to-register): New function, based on code moved from
10737 register.el.
10738 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10739
10740 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10741 (frameset-restore, frameset-save, frameset-session-filter-alist):
10742 Remove declarations.
10743 (register-alist): Doc fix.
10744 (frameset-to-register): Move to frameset.el.
10745 (jump-to-register, describe-register-1): Remove frameset-specific code.
10746
10747 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10748
10749 * allout-widgets.el (allout-widgets-pre-command-business)
10750 (allout-widgets-post-command-business)
10751 (allout-widgets-after-change-handler)
10752 (allout-decorate-item-and-context, allout-set-boundary-marker)
10753 (allout-body-modification-handler)
10754 (allout-graphics-modification-handler): Mark ignored arguments.
10755 (allout-widgets-post-command-business)
10756 (allout-widgets-exposure-change-processor)
10757 (allout-widgets-exposure-undo-processor)
10758 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10759 (allout-parse-item-at-point, allout-decorate-item-guides)
10760 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10761 * allout.el (epa-passphrase-callback-function): Declare.
10762 (allout-overlay-insert-in-front-handler)
10763 (allout-overlay-interior-modification-handler)
10764 (allout-isearch-end-handler, allout-chart-siblings)
10765 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10766 (allout-yank-processing, allout-process-exposed)
10767 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10768 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10769 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10770 (lisp-indent-defform): Mark ignored arguments.
10771 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10772 (calculate-lisp-indent): Remove unused variables.
10773 * international/characters.el (indian-2-column, arabic-2-column)
10774 (tibetan): Mark ignored arguments.
10775 (use-cjk-char-width-table): Mark ignored arguments.
10776 Remove unused variables.
10777 * international/fontset.el (build-default-fontset-data)
10778 (x-compose-font-name, create-fontset-from-fontset-spec):
10779 Mark ignored arguments.
10780 (fontset-plain-name): Remove unused variables.
10781 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10782 (keyboard-coding-system): Mark ignored arguments.
10783 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10784 * help.el (resize-temp-buffer-window):
10785 * window.el (display-buffer-in-major-side-window)
10786 (display-buffer-in-side-window, display-buffer-in-previous-window):
10787 Remove unused variables.
10788 * isearch.el (isearch-forward-symbol):
10789 * version.el (emacs-bzr-version-bzr):
10790 * international/mule-cmds.el (current-language-environment):
10791 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10792 (x-handle-display):
10793 * term/pc-win.el (x-list-fonts, x-display-planes)
10794 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10795 (x-server-version, x-display-screens, x-display-mm-height)
10796 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10797 (x-selection-owner-p, x-own-selection-internal)
10798 (x-disown-selection-internal, x-get-selection-internal)
10799 (msdos-initialize-window-system):
10800 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10801 * term/x-win.el (x-handle-no-bitmap-icon):
10802 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10803 (vc-default-find-file-hook, vc-default-extra-menu):
10804 Mark ignored arguments.
10805
10806 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10807
10808 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10809 break-condition in the context of the debugged code (bug#12685).
10810
10811 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10812
10813 * comint.el:
10814 Do not use an overlay to highlight the last prompt. (Bug#14744)
10815 (comint-mode): Make comint-last-prompt buffer local.
10816 (comint-last-prompt): New variable.
10817 (comint-last-prompt-overlay): Remove. Superseded by
10818 comint-last-prompt.
10819 (comint-snapshot-last-prompt, comint-output-filter):
10820 Use comint-last-prompt.
10821
10822 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10823
10824 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10825 (frameset-save): Check validity of the resulting frameset.
10826
10827 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10828
10829 * ido.el (ido-record-command): Add doc string.
10830
10831 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10832
10833 * frameset.el (frameset): Do not disable creation of the default
10834 frameset-p predicate. Doc fix.
10835 (frameset-valid-p): New function, copied from the old predicate-p.
10836 Add additional checks.
10837 (frameset-restore): Check with frameset-valid-p.
10838 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10839 (frameset-name, frameset-description, frameset-properties)
10840 (frameset-states): Add docstring.
10841 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10842 (frameset-filter-alist): Doc fixes.
10843
10844 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10845
10846 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10847
10848 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10849
10850 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10851 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10852 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10853 (byte-compile-normal-call): Remove obsolescence check.
10854
10855 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10856
10857 * frameset.el (frameset-restore): Doc fix.
10858
10859 * register.el (frameset-frame-id, frameset-frame-with-id)
10860 (frameset-p, frameset-restore, frameset-save): Declare.
10861 (register-alist): Document framesets.
10862 (frameset-session-filter-alist): Declare.
10863 (frameset-to-register): New function.
10864 (jump-to-register): Implement jumping to framesets. Doc fix.
10865 (describe-register-1): Describe framesets.
10866
10867 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10868
10869 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10870
10871 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10872 Use lexical-binding.
10873
10874 * frameset.el (frameset): Use type vector, not list (incompatible
10875 change). Do not declare a new constructor, use the default one.
10876 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10877 `name' and `description', respectively, and add read-only slot
10878 `timestamp'. Doc fixes.
10879 (frameset-copy, frameset-persistent-filter-alist)
10880 (frameset-filter-alist, frameset-switch-to-gui-p)
10881 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10882 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10883 (frameset-filter-iconified, frameset-keep-original-display-p):
10884 Doc fixes.
10885 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10886 Rename from frameset-filter-(save|restore)-param. All callers changed.
10887 Doc fix.
10888 (frameset-p): Adapt to change to vector and be more thorough.
10889 Change arg name to OBJECT. Doc fix.
10890 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10891 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10892 All callers changed.
10893 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10894 All callers changed.
10895 (frameset--record-minibuffer-relationships): Rename from
10896 frameset--process-minibuffer-frames. All callers changed.
10897 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10898 Use new default constructor (again). Doc fix.
10899 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10900 All callers changed.
10901 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10902 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10903 Doc fix.
10904 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10905 PARAMETERS and WINDOW-STATE, respectively.
10906 (frameset-restore): Add new keyword argument PREDICATE.
10907 Reset frameset--target-display to nil. Doc fix.
10908
10909 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10910
10911 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10912 (bat-mode): Use it.
10913 (bat-mode-syntax-table): Mark \n as end-of-comment.
10914 (bat-font-lock-keywords): Remove comment rule.
10915
10916 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10917 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10918
10919 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10920 (byte-compile-callargs-warn): Use `push'.
10921 (byte-compile-arglist-warn): Ignore higher-order "calls".
10922 (byte-compile-file-form-autoload): Use `pcase'.
10923 (byte-compile-function-form): If quoting a symbol, check that it exists.
10924
10925 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10926
10927 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10928 and add a few popular commands found in batch files.
10929 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10930 (dos-mode): Doc fixes.
10931
10932 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10933
10934 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10935 (dos-mode): Use setq-local. Add space after "rem".
10936 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10937 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10938
10939 2013-08-07 Arni Magnusson <arnima@hafro.is>
10940
10941 * progmodes/dos.el: New file.
10942 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10943 dos-mode.
10944
10945 2013-08-06 Glenn Morris <rgm@gnu.org>
10946
10947 * calendar/calendar.el: Add new faces, and day-header-array.
10948 (calendar-weekday-header, calendar-weekend-header)
10949 (calendar-month-header): New faces.
10950 (calendar-day-header-construct): New function.
10951 (calendar-day-header-width): Also :set calendar-day-header-array.
10952 (calendar-american-month-header, calendar-european-month-header)
10953 (calendar-iso-month-header): Use calendar- faces.
10954 (calendar-generate-month):
10955 Use calendar-day-header-array for day headers; apply faces to them.
10956 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10957 (calendar-abbrev-construct): Add optional maxlen argument.
10958 (calendar-day-name-array): Doc fix.
10959 (calendar-day-name-array, calendar-abbrev-length)
10960 (calendar-day-abbrev-array):
10961 Also :set calendar-day-header-array, and maybe redraw.
10962 (calendar-day-header-array): New option. (Bug#15007)
10963 (calendar-font-lock-keywords): Set to nil and make obsolete.
10964 (calendar-day-name): Add option to use header array.
10965
10966 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10967
10968 * net/shr.el (shr-render-td): Remove debugging.
10969 (shr-render-td): Make width computation consistent by defaulting
10970 all zero-width columns to 10 characters. This may not be optimal,
10971 but it's at least consistent.
10972 (shr-make-table-1): Redo last change to fix the real problem in
10973 colspan handling.
10974
10975 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10976
10977 * files.el (cache-long-line-scans):
10978 Make obsolete alias to `cache-long-scans'.
10979
10980 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10981
10982 * frameset.el (frameset, frameset-filter-alist)
10983 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10984 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10985 (frameset-compute-pos): Rename from frameset--compute-pos,
10986 and add docstring.
10987 (frameset-move-onscreen): Use frameset-compute-pos.
10988 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10989
10990 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10991 Fix typos in docstrings.
10992
10993 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10994
10995 * frame.el (get-other-frame): Tiny cleanup.
10996
10997 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10998
10999 * vc/vc.el (vc-default-ignore-completion-table):
11000 Silence byte-compiler warning.
11001
11002 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
11003 slot, which can indeed be nil.
11004 (frameset-live-filter-alist, frameset-persistent-filter-alist):
11005 Move entry for `left' from persistent to live filter alist.
11006 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
11007 Doc fixes.
11008 (frameset-filter-params): When restoring a frame, copy items added to
11009 `filtered', to avoid unwittingly modifying the original parameters.
11010 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
11011 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
11012
11013 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
11014 to use looking-at-p instead of looking-at. (Bug#15028)
11015
11016 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11017
11018 Revert introduction of isearch-filter-predicates (bug#14714).
11019 Rely on add-function instead.
11020 * isearch.el (isearch-filter-predicates): Rename it back to
11021 isearch-filter-predicate.
11022 (isearch-message-prefix): Use advice-function-mapc and advice
11023 properties to get the isearch-message-prefix.
11024 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
11025 instead of run-hook-with-args-until-failure.
11026 (isearch-filter-visible): Not obsolete any more.
11027 * loadup.el: Preload nadvice.
11028 * replace.el (perform-replace): Revert to funcall
11029 instead of run-hook-with-args-until-failure.
11030 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
11031 * dired-aux.el (dired-isearch-filenames-mode): Rename from
11032 dired-isearch-filenames-toggle; make it into a proper minor mode.
11033 Use add/remove-function.
11034 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
11035 Call the minor-mode rather than add/remove-hook.
11036 (dired-isearch-filter-filenames):
11037 Remove isearch-message-prefix property.
11038 * info.el (Info--search-loop): New function, extracted from Info-search.
11039 Funcall isearch-filter-predicate instead of
11040 run-hook-with-args-until-failure isearch-filter-predicates.
11041 (Info-search): Use it.
11042 (Info-mode): Use isearch-filter-predicate instead of
11043 isearch-filter-predicates.
11044
11045 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11046
11047 Do not call to `selected-window' where it is assumed by default.
11048 Affected functions are `window-minibuffer-p', `window-dedicated-p',
11049 `window-hscroll', `window-width', `window-height', `window-buffer',
11050 `window-frame', `window-start', `window-point', `next-window'
11051 and `window-display-table'.
11052 * abbrev.el (abbrev--default-expand):
11053 * bs.el (bs--show-with-configuration):
11054 * buff-menu.el (Buffer-menu-mouse-select):
11055 * calc/calc.el (calc):
11056 * calendar/calendar.el (calendar-generate-window):
11057 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
11058 (diary-make-entry):
11059 * comint.el (send-invisible, comint-dynamic-complete-filename)
11060 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
11061 * completion.el (complete):
11062 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
11063 * disp-table.el (describe-current-display-table):
11064 * doc-view.el (doc-view-insert-image):
11065 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
11066 * ehelp.el (with-electric-help):
11067 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11068 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
11069 * emacs-lisp/helper.el (Helper-help-scroller):
11070 * emulation/cua-base.el (cua--post-command-handler-1):
11071 * eshell/esh-mode.el (eshell-output-filter):
11072 * ffap.el (ffap-gnus-wrapper):
11073 * help-macro.el (make-help-screen):
11074 * hilit-chg.el (highlight-compare-buffers):
11075 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
11076 * hl-line.el (global-hl-line-highlight):
11077 * icomplete.el (icomplete-simple-completing-p):
11078 * isearch.el (isearch-done):
11079 * jit-lock.el (jit-lock-stealth-fontify):
11080 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
11081 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
11082 * mpc.el (mpc-tagbrowser, mpc):
11083 * net/rcirc.el (rcirc-any-buffer):
11084 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
11085 * play/landmark.el (landmark-max-width, landmark-max-height):
11086 * play/zone.el (zone):
11087 * progmodes/compile.el (compilation-goto-locus):
11088 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
11089 * progmodes/etags.el (find-tag-other-window):
11090 * progmodes/fortran.el (fortran-column-ruler):
11091 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
11092 * progmodes/verilog-mode.el (verilog-point-text):
11093 * reposition.el (reposition-window):
11094 * rot13.el (toggle-rot13-mode):
11095 * server.el (server-switch-buffer):
11096 * shell.el (shell-dynamic-complete-command)
11097 (shell-dynamic-complete-environment-variable):
11098 * simple.el (insert-buffer, set-selective-display)
11099 (delete-completion-window):
11100 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
11101 (speedbar-recenter):
11102 * startup.el (fancy-splash-head):
11103 * textmodes/ispell.el (ispell-command-loop):
11104 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
11105 * tutorial.el (help-with-tutorial):
11106 * vc/add-log.el (add-change-log-entry):
11107 * vc/compare-w.el (compare-windows):
11108 * vc/ediff-help.el (ediff-indent-help-message):
11109 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
11110 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
11111 (ediff-setup-control-frame):
11112 * vc/emerge.el (emerge-position-region):
11113 * vc/pcvs-util.el (cvs-bury-buffer):
11114 * window.el (walk-windows, mouse-autoselect-window-select):
11115 * winner.el (winner-set-conf, winner-undo): Related users changed.
11116
11117 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11118
11119 * frameset.el (frameset--set-id): Doc fix.
11120 (frameset-frame-id, frameset-frame-id-equal-p)
11121 (frameset-locate-frame-id): New functions.
11122 (frameset--process-minibuffer-frames, frameset--reuse-frame)
11123 (frameset-restore): Use them.
11124
11125 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11126
11127 Do not call to `selected-frame' where it is assumed by default.
11128 Affected functions are `raise-frame', `redraw-frame',
11129 `frame-first-window', `frame-terminal' and `delete-frame'.
11130 * calendar/appt.el (appt-disp-window):
11131 * epg.el (epg-wait-for-completion):
11132 * follow.el (follow-delete-other-windows-and-split)
11133 (follow-avoid-tail-recenter):
11134 * international/mule.el (set-terminal-coding-system):
11135 * mail/rmail.el (rmail-mail-return):
11136 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
11137 * progmodes/f90.el (f90-add-imenu-menu):
11138 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
11139 * server.el (server-switch-buffer):
11140 * simple.el (delete-completion-window):
11141 * talk.el (talk):
11142 * term/xterm.el (terminal-init-xterm-modify-other-keys)
11143 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
11144 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
11145 * vc/ediff.el (ediff-documentation): Related users changed.
11146 * frame.el (selected-terminal): Remove the leftover.
11147
11148 2013-08-05 Glenn Morris <rgm@gnu.org>
11149
11150 * calendar/calendar.el (calendar-generate-month):
11151 Fix for calendar-column-width != 1 + calendar-day-digit-width.
11152 (calendar-generate-month, calendar-font-lock-keywords):
11153 Fix for calendar-day-header-width > length of any day name.
11154
11155 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11156
11157 * desktop.el (desktop-clear): Use new name of sort predicate.
11158
11159 * frameset.el (frameset): Add docstring. Move :version property to its
11160 own `version' slot.
11161 (frameset-copy): Rename from copy-frameset.
11162 (frameset-p): Check more thoroughly.
11163 (frameset-prop): Do not check for :version, which is no longer a prop.
11164 (frameset-live-filter-alist, frameset-persistent-filter-alist):
11165 Use new :never value instead of t.
11166 (frameset-filter-alist): Expand and clarify docstring.
11167 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
11168 (frameset-filter-minibuffer, frameset-filter-save-param)
11169 (frameset-filter-restore-param, frameset-filter-iconified):
11170 Add pointer to docstring of frameset-filter-alist.
11171 (frameset-filter-params): Rename filter values to be more meaningful:
11172 :never instead of t, and reverse the meanings of :save and :restore.
11173 (frameset--process-minibuffer-frames): Clarify error message.
11174 (frameset-save): Avoid unnecessary and confusing call to framep.
11175 Use new BOA constructor for framesets.
11176 (frameset--reuse-list): Doc fix.
11177 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
11178 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
11179 (frameset-minibufferless-first-p): Doc fix.
11180 Rename from frameset-sort-frames-for-deletion.
11181 (frameset-restore): Doc fixes. Use new function names.
11182 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11183
11184 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11185
11186 * desktop.el (desktop-restore-forces-onscreen)
11187 (desktop-restore-reuses-frames): Document :keyword constant values.
11188 (desktop-filter-parameters-alist): Remove, now identical to
11189 frameset-filter-alist.
11190 (desktop--filter-tty*): Remove, moved to frameset.el.
11191 (desktop-save-frameset, desktop-restore-frameset):
11192 Do not pass :filters argument.
11193
11194 * frameset.el (frameset-live-filter-alist)
11195 (frameset-persistent-filter-alist): New variables.
11196 (frameset-filter-alist): Use them. Add autoload cookie.
11197 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
11198 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
11199 `frameset--id' (it's supposed to be internal to frameset.el).
11200 (frameset--process-minibuffer-frames): Ditto. Doc fix.
11201 (frameset--initial-params): New function.
11202 (frameset--get-frame): Use it. Doc fix.
11203 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
11204 Accept :all, not 'all.
11205 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
11206 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
11207 with fbound symbols. Fix frame id matching, and remove matching ids if
11208 the frame being restored is deleted. Obey :delete.
11209
11210 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11211
11212 * subr.el (macrop): New function.
11213 (text-clone--maintaining): New var.
11214 (text-clone--maintain): Rename from text-clone-maintain. Use it
11215 instead of inhibit-modification-hooks.
11216
11217 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
11218 a proxy, so as handle autoloads and redefinitions of the target.
11219 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
11220
11221 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
11222 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
11223 (pcase--mutually-exclusive-p): New function.
11224 (pcase--split-consp): Use it.
11225 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
11226 mutually exclusive with the current predicate.
11227
11228 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
11229 (edebug-macrop): Remove. Use `macrop' instead.
11230 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
11231 (ad-macro-p):
11232 * eshell/esh-cmd.el (eshell-macrop):
11233 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
11234
11235 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11236
11237 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
11238 (advice-mapc): New function, using it.
11239 (advice-function-member-p): New function.
11240 (advice--normalize): Store the cdr in advice--saved-rewrite since
11241 that's the part that will be changed.
11242 (advice--symbol-function): New function.
11243 (advice-remove): Handle removal before the function is defined.
11244 Adjust to new advice--saved-rewrite.
11245 (advice-member-p): Use advice-function-member-p and
11246 advice--symbol-function.
11247
11248 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11249
11250 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
11251 (frameset-filter-minibuffer): Doc fix.
11252 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
11253 (frameset--set-id, frameset--process-minibuffer-frames)
11254 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
11255 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
11256
11257 * desktop.el (desktop-clear): Only delete frames when called
11258 interactively and desktop-restore-frames is non-nil. Doc fix.
11259 (desktop-read): Set desktop-saved-frameset to nil.
11260
11261 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
11262
11263 * vc/vc.el (vc-ignore): Rewrite.
11264 (vc-default-ignore-completion-table, vc--read-lines)
11265 (vc--add-line, vc--remove-regexp): New functions.
11266
11267 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
11268 (vc-svn-ignore-completion-table): New function.
11269
11270 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
11271 (vc-hg-ignore-completion-table)
11272 (vc-hg-find-ignore-file): New functions.
11273
11274 * vc/vc-git.el (vc-git-ignore): Rewrite.
11275 (vc-git-ignore-completion-table)
11276 (vc-git-find-ignore-file): New functions.
11277
11278 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
11279
11280 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
11281 (vc-bzr-ignore-completion-table)
11282 (vc-bzr-find-ignore-file): New functions.
11283
11284 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
11285
11286 * frameset.el (frameset-prop): New function and setter.
11287 (frameset-save): Do not modify frame list passed by the caller.
11288
11289 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11290
11291 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
11292
11293 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
11294
11295 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
11296 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
11297
11298 * custom.el (custom-initialize-default, custom-initialize-set)
11299 (custom-initialize-reset, custom-initialize-changed): Affect the
11300 toplevel-default-value (bug#6275, bug#14586).
11301 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
11302 for bug#6275.
11303
11304 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11305
11306 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11307 Add cl-def* expressions.
11308
11309 * frameset.el (frameset-filter-params): Fix order of arguments.
11310
11311 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11312
11313 Move code related to saving frames to frameset.el.
11314 * desktop.el: Require frameset.
11315 (desktop-restore-frames): Doc fix.
11316 (desktop-restore-reuses-frames): Rename from
11317 desktop-restoring-reuses-frames.
11318 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
11319 (desktop-clear): Clear frames too.
11320 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
11321 (desktop--filter-tty*, desktop-save, desktop-read):
11322 Use frameset functions.
11323 (desktop-before-saving-frames-functions, desktop--filter-*-color)
11324 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11325 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
11326 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
11327 (desktop--process-minibuffer-frames, desktop-save-frames)
11328 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
11329 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
11330 (desktop--sort-states, desktop-restoring-frames-p)
11331 (desktop-restore-frames): Remove. Most code moved to frameset.el.
11332 (desktop-restoring-frameset-p, desktop-restore-frameset)
11333 (desktop--check-dont-save, desktop-save-frameset): New functions.
11334 (desktop--app-id): New constant.
11335 (desktop-first-buffer, desktop-buffer-ok-count)
11336 (desktop-buffer-fail-count): Move before first use.
11337 * frameset.el: New file.
11338
11339 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11340
11341 * files.el: Use lexical-binding.
11342 (dir-locals-read-from-file): Remove unused `err' variable.
11343 (hack-dir-local-variables--warned-coding): New var.
11344 (hack-dir-local-variables): Use it to avoid repeated warnings.
11345 (make-backup-file-name--default-function): New function.
11346 (make-backup-file-name-function): Use it as default.
11347 (buffer-stale--default-function): New function.
11348 (buffer-stale-function): Use it as default.
11349 (revert-buffer-insert-file-contents--default-function): New function.
11350 (revert-buffer-insert-file-contents-function): Use it as default.
11351 (insert-directory): Avoid add-to-list.
11352
11353 * autorevert.el (auto-revert-handler): Simplify.
11354 Use buffer-stale--default-function.
11355
11356 2013-08-01 Tassilo Horn <tsdh@gnu.org>
11357
11358 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
11359
11360 * whitespace.el (whitespace-ensure-local-variables): New function.
11361 (whitespace-cleanup-region): Call it.
11362 (whitespace-turn-on): Call it.
11363
11364 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
11365
11366 Complete file name handlers.
11367
11368 * net/tramp.el (tramp-handle-set-visited-file-modtime)
11369 (tramp-handle-verify-visited-file-modtime)
11370 (tramp-handle-file-notify-rm-watch): New functions.
11371 (tramp-call-process): Do not bind `default-directory'.
11372
11373 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11374 Order alphabetically.
11375 <access-file, add-name-to-file, dired-call-process>:
11376 <dired-compress-file, file-acl, file-notify-rm-watch>:
11377 <file-ownership-preserved-p, file-selinux-context>:
11378 <make-directory-internal, make-symbolic-link, set-file-acl>:
11379 <set-file-selinux-context, set-visited-file-modtime>:
11380 <verify-visited-file-modtime>: Add handler.
11381 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
11382
11383 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11384 <file-notify-add-watch, file-notify-rm-watch>:
11385 <set-file-times, set-visited-file-modtime>:
11386 <verify-visited-file-modtime>: Add handler.
11387 (with-tramp-gvfs-error-message)
11388 (tramp-gvfs-handle-set-visited-file-modtime)
11389 (tramp-gvfs-fuse-file-name): Remove.
11390 (tramp-gvfs-handle-file-notify-add-watch)
11391 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
11392 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
11393
11394 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11395 Order alphabetically.
11396 <file-notify-rm-watch>: Use default Tramp handler.
11397 <executable-find>: Remove private handler.
11398 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
11399 `default-directory'.
11400 (tramp-sh-handle-executable-find)
11401 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
11402 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11403 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
11404 Do not use `format' in `tramp-message'.
11405
11406 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
11407 <file-notify-rm-watch, set-visited-file-modtime>:
11408 <verify-visited-file-modtime>: Add handler.
11409 (tramp-smb-call-winexe): Do not bind `default-directory'.
11410
11411 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
11412
11413 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
11414
11415 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
11416
11417 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
11418 use it.
11419 (log-view-diff-changeset): Same.
11420 (log-view-diff-common): Call backend command `previous-revision'
11421 to find out the previous revision, in both cases. Swap the
11422 variables `to' and `fr', so that `fr' usually refers to the
11423 earlier revision (Bug#14989).
11424
11425 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
11426
11427 * ibuf-ext.el (ibuffer-filter-by-filename):
11428 Make it work with dired buffers too.
11429
11430 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
11431
11432 * emacs-lisp/re-builder.el (reb-color-display-p):
11433 * files.el (save-buffers-kill-terminal):
11434 * net/browse-url.el (browse-url):
11435 * server.el (server-save-buffers-kill-terminal):
11436 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
11437 Prefer nil to selected-frame for the first arg of frame-parameter.
11438
11439 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
11440
11441 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
11442
11443 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
11444
11445 * minibuffer.el (completion--twq-all): Try and preserve each
11446 completion's case choice (bug#14907).
11447
11448 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11449
11450 * net/network-stream.el (open-network-stream): Mention the new
11451 :nogreeting parameter.
11452 (network-stream-open-starttls): Use the :nogreeting parameter
11453 (bug#14938).
11454
11455 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11456
11457 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11458 more natural than popping.
11459
11460 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
11461 (shr-urlify): Highlight under mouse.
11462
11463 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11464
11465 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11466
11467 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11468
11469 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
11470 buffer for output.
11471
11472 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
11473 point-min==1. Fix search string. Fix parentheses missing.
11474
11475 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
11476 assume point-min==1. Fix search string. Fix parentheses missing.
11477
11478 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11479
11480 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
11481 buffer for output.
11482
11483 2013-07-29 Eli Zaretskii <eliz@gnu.org>
11484
11485 * frame.el (frame-notice-user-settings): Avoid inflooping when the
11486 initial frame is minibuffer-less. (Bug#14841)
11487
11488 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
11489
11490 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11491 option.
11492
11493 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11494 (tramp-maybe-open-connection): Use it.
11495
11496 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11497
11498 * desktop.el (desktop--make-frame): Include `minibuffer' in the
11499 minimal set of parameters passed when creating a frame, because
11500 the minibuffer status of a frame cannot be changed later.
11501
11502 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
11503
11504 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11505 replace-regexp-in-string and inadvertent omissions in previous change.
11506 (todo-filter-items): Ensure only file names are comma-separated in
11507 name of filtered items buffer.
11508
11509 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11510
11511 * desktop.el: Optionally force offscreen frames back onscreen.
11512 (desktop-restoring-reuses-frames): New option.
11513 (desktop--compute-pos, desktop--move-onscreen): New functions.
11514 (desktop--make-frame): Use desktop--move-onscreen.
11515
11516 2013-07-27 Alan Mackenzie <acm@muc.de>
11517
11518 Fontify a Java generic method as a function.
11519 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11520 value to t.
11521
11522 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
11523
11524 * calendar/todo-mode.el: Add command to rename todo files.
11525 (todo-rename-file): New command.
11526 (todo-key-bindings-t): Add key binding for it. Change the
11527 bindings of todo-filter-regexp-items(-multifile) to use `x'
11528 instead of `r', since the latter is better suited to the new
11529 renaming command.
11530
11531 2013-07-27 Alan Mackenzie <acm@muc.de>
11532
11533 Make Java try-with-resources statement parse properly.
11534 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11535 (c-block-stmt-1-2-key): New language constants/variables.
11536 * progmodes/cc-engine.el (c-beginning-of-statement-1)
11537 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11538 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11539 with c-block-stmt-1-2-key.
11540
11541 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
11542
11543 * desktop.el (desktop--make-frame): Apply most frame parameters after
11544 creating the frame to force (partially or totally) offscreen frames to
11545 be restored as such.
11546
11547 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
11548
11549 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11550 (Bug#14948)
11551
11552 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11553
11554 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11555 `base' arg of backtrace-frame.
11556
11557 2013-07-26 Eli Zaretskii <eliz@gnu.org>
11558
11559 * simple.el (list-processes): Doc fix.
11560
11561 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11562
11563 * desktop.el (desktop--select-frame):
11564 Try harder to reuse existing frames.
11565
11566 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11567
11568 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11569 (edebug-eval): Use backtrace-eval.
11570 (edebug--display, edebug--recursive-edit): Don't let-bind the
11571 edebug-outer-* vars that keep track of variables we locally let-bind.
11572 (edebug-outside-excursion): Don't restore outside values of locally
11573 let-bound vars.
11574 (edebug--display): Use user-error.
11575 (cl-lexical-debug, cl-debug-env): Remove.
11576
11577 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11578
11579 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11580 are restored to be sure that they are visible before deleting any
11581 remaining ones.
11582
11583 2013-07-26 Matthias Meulien <orontee@gmail.com>
11584
11585 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11586 vc-print-root-log. (Bug#14948)
11587
11588 2013-07-26 Richard Stallman <rms@gnu.org>
11589
11590 Add aliases for encrypting mail.
11591 * epa.el (epa-mail-aliases): New option.
11592 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11593 Bind inhibit-read-only so read-only text doesn't ruin everything.
11594 (epa-mail-default-recipients): New subroutine broken out.
11595 Handle epa-mail-aliases.
11596
11597 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11598
11599 Add support for lexical variables to the debugger's `e' command.
11600 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11601 vars, except for debugger-outer-match-data.
11602 (debugger-frame-number): Move check for "on a function call" from
11603 callers into it. Add `skip-base' argument.
11604 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11605 (debugger-env-macro): Only reset the state stored in non-variables,
11606 i.e. current-buffer and match-data.
11607 (debugger-eval-expression): Rewrite using backtrace-eval.
11608 * subr.el (internal--called-interactively-p--get-frame): Remove.
11609 (called-interactively-p):
11610 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11611 `base' arg of backtrace-frame instead.
11612
11613 2013-07-26 Glenn Morris <rgm@gnu.org>
11614
11615 * align.el (align-regexp): Doc fix. (Bug#14857)
11616 (align-region): Explicit error if subexpression missing/does not match.
11617
11618 * simple.el (global-visual-line-mode):
11619 Do not duplicate the mode lighter. (Bug#14858)
11620
11621 2013-07-25 Martin Rudalics <rudalics@gmx.at>
11622
11623 * window.el (display-buffer): In display-buffer bind
11624 split-window-keep-point to t, bug#14829.
11625
11626 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11627
11628 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11629 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11630 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11631 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11632 Change accordingly.
11633 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11634 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11635
11636 2013-07-25 Glenn Morris <rgm@gnu.org>
11637
11638 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11639
11640 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11641
11642 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11643 parameter to modify-frame-parameters if the value has not changed;
11644 this is a workaround for bug#14949.
11645 (desktop--make-frame): On cl-delete-if call, check parameter name,
11646 not full parameter.
11647
11648 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11649
11650 * vc/vc.el (vc-ignore): New function.
11651
11652 * vc/vc-svn.el (vc-svn-ignore): New function.
11653
11654 * vc/vc-hg.el (vc-hg-ignore): New function.
11655
11656 * vc/vc-git.el (vc-git-ignore): New function.
11657
11658 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11659 (vc-dir-ignore): New function.
11660
11661 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11662 (cvs-append-to-ignore): Move here from pcvs.el.
11663
11664 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11665
11666 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11667
11668 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11669
11670 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11671 (desktop-restore-frames): Warn when deleting an existing frame failed.
11672
11673 2013-07-24 Glenn Morris <rgm@gnu.org>
11674
11675 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11676
11677 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11678
11679 * filenotify.el (file-notify-supported-p):
11680 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11681 Remove functions.
11682
11683 * autorevert.el (auto-revert-use-notify)
11684 (auto-revert-notify-add-watch):
11685 * net/tramp.el (tramp-file-name-for-operation):
11686 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11687 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11688 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11689 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11690 Remove `file-notify-supported-p' entry.
11691
11692 2013-07-24 Glenn Morris <rgm@gnu.org>
11693
11694 * printing.el: Replace all uses of deleted ps-windows-system,
11695 ps-lp-system, ps-flatten-list with lpr- versions.
11696
11697 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11698
11699 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11700 checked with memq (bug#14935).
11701
11702 * files.el (revert-buffer-function): Use a non-nil default.
11703 (revert-buffer-preserve-modes): Declare var to
11704 provide access to the `preserve-modes' argument.
11705 (revert-buffer): Let-bind it.
11706 (revert-buffer--default): New function, extracted from revert-buffer.
11707
11708 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11709
11710 * lpr.el: Signal print errors more prominently.
11711 (print-region-function): Don't default to nil.
11712 (lpr-print-region): New function, extracted from print-region-1.
11713 Check lpr's return value and signal an error in case of problem.
11714 (print-region-1): Use it.
11715 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11716 versions instead.
11717 (ps-printer-name): Default to nil.
11718 (ps-printer-name-option): Default to lpr-printer-switch.
11719 (ps-print-region-function): Don't default to nil.
11720 (ps-postscript-code-directory): Simplify default.
11721 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11722 (ps-string-list, ps-eval-switch, ps-flatten-list)
11723 (ps-flatten-list-1): Remove.
11724 (ps-multibyte-buffer): Avoid setq.
11725 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11726 (print-region-function, ps-print-region-function): Don't set them here.
11727
11728 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11729
11730 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11731 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11732 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11733 (ido-decorations): Doc fix.
11734
11735 * ansi-color.el: Fix old URL.
11736
11737 2013-07-23 Michael R. Mauger <michael@mauger.com>
11738
11739 * progmodes/sql.el: Version 3.3
11740 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11741 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11742 (sql-interactive-remove-continuation-prompt): Rewrite, use
11743 functions above. Fix continuation prompt and complete output line
11744 handling.
11745 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11746 redirected output buffer.
11747 (sql-mode): Restore deleted code (Bug#13591).
11748
11749 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11750
11751 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11752
11753 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11754
11755 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11756
11757 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11758 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11759 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11760
11761 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11762
11763 * desktop.el (desktop-clear): Simplify; remove useless checks
11764 against invalid buffer names.
11765 (desktop-list*): Use cl-list*.
11766 (desktop-buffer-info, desktop-create-buffer): Simplify.
11767
11768 2013-07-23 Leo Liu <sdl.web@gmail.com>
11769
11770 * bookmark.el (bookmark-make-record): Restore NAME as a default
11771 value. (Bug#14933)
11772
11773 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11774
11775 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11776 extracted from autoload--insert-text.
11777 (autoload--insert-text): Remove.
11778 (autoload--print-cookie-text): New function, extracted from
11779 autoload--insert-cookie-text.
11780 (autoload--insert-cookie-text): Remove.
11781 (autoload-generate-file-autoloads): Adjust calls accordingly.
11782
11783 * winner.el (winner-hook-installed-p): Remove.
11784 (winner-mode): Simplify accordingly.
11785
11786 * subr.el (add-to-list): Fix compiler-macro when `append' is
11787 not constant. Don't use `cl-member' for the base case.
11788
11789 * progmodes/subword.el: Fix boundary case (bug#13758).
11790 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11791 own group.
11792 (subword-backward-regexp): Make it a constant.
11793 (subword-forward-internal): Don't treat a trailing capital as the
11794 beginning of a word.
11795
11796 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11797
11798 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11799 global value of tabulated-list-revert-hook (bug#14930).
11800
11801 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11802
11803 * desktop.el: Require 'cl-lib.
11804 (desktop-before-saving-frames-functions): New hook.
11805 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11806 for frames being saved. Rename from desktop--save-minibuffer-frames.
11807 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11808 Do not save frames with non-nil `desktop-dont-save' parameter.
11809 Filter out deleted frames.
11810 (desktop--find-frame): Use cl-find-if.
11811 (desktop--select-frame): Use cl-(first|second|third) to access values
11812 of desktop-mini.
11813 (desktop--make-frame): Use cl-delete-if.
11814 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11815 (desktop-restore-frames): Use cl-(first|second|third) to access values
11816 of desktop-mini. Look for visible frame at the end, not while
11817 restoring frames.
11818
11819 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11820 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11821 Use string-match-p, looking-at-p (bug#14927).
11822
11823 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11824
11825 * desktop.el (desktop-saved-frame-states):
11826 Rename from desktop--saved-states; all users changed.
11827 (desktop-save-frames): Rename from desktop--save-frames.
11828 Do not save state to desktop file.
11829 (desktop-save): Save desktop-saved-frame-states to desktop file
11830 and reset to nil.
11831 (desktop-restoring-frames-p): New function.
11832 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11833 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11834 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11835
11836 * desktop.el: Correctly restore iconified frames.
11837 (desktop--filter-iconified-position): New function.
11838 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11839
11840 2013-07-20 Glenn Morris <rgm@gnu.org>
11841
11842 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11843 Let `message' do the formatting.
11844 (def-gdb-preempt-display-buffer): Add explicit format.
11845
11846 * image-dired.el (image-dired-track-original-file):
11847 Use with-current-buffer.
11848 (image-dired-track-thumbnail): Use with-current-buffer.
11849 Avoid changing point of wrong window.
11850
11851 * image-dired.el (image-dired-track-original-file):
11852 Avoid changing point of wrong window. (Bug#14909)
11853
11854 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11855
11856 * progmodes/gdb-mi.el (gdb-done-or-error):
11857 Guard against "%" in gdb output. (Bug#14127)
11858
11859 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11860
11861 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11862 (Bug#14826)
11863
11864 * international/mule.el (coding-system-iso-2022-flags): Fix last
11865 change.
11866
11867 2013-07-20 Kenichi Handa <handa@gnu.org>
11868
11869 * international/mule.el (coding-system-iso-2022-flags):
11870 Add `8-bit-level-4'. (Bug#8522)
11871
11872 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11873
11874 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11875 (bug#14815).
11876
11877 * net/eww.el (eww-process-text-input): Allow inputting when the
11878 point is at the start of the line, as the properties aren't
11879 front-sticky.
11880
11881 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11882 degenerate widths.
11883
11884 2013-07-19 Richard Stallman <rms@gnu.org>
11885
11886 * epa.el (epa-popup-info-window): Doc fix.
11887
11888 * subr.el (split-string): New arg TRIM.
11889
11890 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11891
11892 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11893 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11894
11895 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11896
11897 * filenotify.el (file-notify--library): Rename from
11898 `file-notify-support'. Do not autoload. Adapt all uses.
11899 (file-notify-supported-p): New defun.
11900
11901 * autorevert.el (auto-revert-use-notify):
11902 Use `file-notify-supported-p' instead of `file-notify-support'.
11903 Adapt docstring.
11904 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11905
11906 * net/tramp.el (tramp-file-name-for-operation):
11907 Add `file-notify-supported-p'.
11908
11909 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11910 New defun.
11911 (tramp-sh-file-name-handler-alist): Add it as handler for
11912 `file-notify-supported-p '.
11913
11914 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11915 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11916 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11917 Add `ignore' as handler for `file-notify-*' functions.
11918
11919 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11920
11921 * simple.el (line-move-partial, line-move): Don't start vscroll or
11922 scroll-up if the current line is not taller than the window.
11923 (Bug#14881)
11924
11925 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11926
11927 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11928 highlight question marks in the method names as strings.
11929 (ruby-block-beg-keywords): Inline.
11930 (ruby-font-lock-keyword-beg-re): Extract from
11931 `ruby-font-lock-keywords'.
11932
11933 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11934
11935 * frame.el (blink-cursor-blinks): New defcustom.
11936 (blink-cursor-blinks-done): New defvar.
11937 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11938 (blink-cursor-timer-function): Check if number of blinks has been
11939 done on X and NS.
11940 (blink-cursor-suspend, blink-cursor-check): New defuns.
11941
11942 2013-07-15 Glenn Morris <rgm@gnu.org>
11943
11944 * edmacro.el (edmacro-format-keys): Fix previous change.
11945
11946 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11947
11948 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11949 The hack didn't work outside English locales anyway.
11950
11951 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11952
11953 * simple.el (define-alternatives): Rename from alternatives-define,
11954 per RMS' suggestion.
11955
11956 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11957
11958 * desktop.el (desktop-restore-frames): Change default to t.
11959 (desktop-restore-in-current-display): Now offer more options.
11960 (desktop-restoring-reuses-frames): New customization option.
11961 (desktop--saved-states): Doc fix.
11962 (desktop-filter-parameters-alist): New variable, renamed and expanded
11963 from desktop--excluded-frame-parameters.
11964 (desktop--target-display): New variable.
11965 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11966 (desktop--filter-tty*, desktop--filter-*-color)
11967 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11968 (desktop--filter-save-desktop-parm)
11969 (desktop-restore-in-original-display-p): New functions.
11970 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11971 (desktop--save-minibuffer-frames): New function, inspired by a similar
11972 function from Martin Rudalics.
11973 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11974 (desktop--restore-in-this-display-p): Remove.
11975 (desktop--find-frame): Rename from desktop--find-frame-in-display
11976 and add predicate argument.
11977 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11978 (desktop--reuse-list): New variable.
11979 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11980 New functions.
11981 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11982
11983 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11984
11985 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11986
11987 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11988
11989 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11990 Highlight conversion methods on Kernel.
11991
11992 2013-07-13 Alan Mackenzie <acm@muc.de>
11993
11994 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11995 and comment it out. This out-commenting enables certain C++
11996 declarations to be parsed correctly.
11997
11998 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11999
12000 * international/mule.el (define-coding-system): Doc fix.
12001
12002 * simple.el (default-font-height): Don't call font-info if the
12003 frame's default font didn't change since the frame was created.
12004 (Bug#14838)
12005
12006 2013-07-13 Leo Liu <sdl.web@gmail.com>
12007
12008 * ido.el (ido-read-file-name): Guard against non-symbol value.
12009
12010 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
12011
12012 * progmodes/python.el (python-imenu--build-tree): Fix corner case
12013 in nested defuns.
12014
12015 2013-07-13 Leo Liu <sdl.web@gmail.com>
12016
12017 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
12018 ido-set-matches call. (Bug#6852)
12019
12020 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
12021
12022 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
12023 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
12024 Ruby 2.0.
12025 (ruby-font-lock-keywords): Distinguish calls to functions with
12026 module-like names from module references. Highlight character
12027 literals.
12028
12029 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
12030
12031 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
12032 (gdb-send): Handle continued commands. (Bug#14847)
12033
12034 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
12035
12036 * desktop.el (desktop--v2s): Remove unused local variable.
12037 (desktop-save-buffer): Make defvar-local; adjust docstring.
12038 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
12039 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
12040
12041 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
12042
12043 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
12044
12045 2013-07-12 Eli Zaretskii <eliz@gnu.org>
12046
12047 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
12048 (Bug#14842)
12049
12050 2013-07-12 Glenn Morris <rgm@gnu.org>
12051
12052 * doc-view.el: Require cl-lib at runtime too.
12053 (doc-view-remove-if): Remove.
12054 (doc-view-search-next-match, doc-view-search-previous-match):
12055 Use cl-remove-if.
12056
12057 * edmacro.el: Require cl-lib at runtime too.
12058 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
12059 (edmacro-mismatch, edmacro-subseq): Remove.
12060
12061 * shadowfile.el: Require cl-lib.
12062 (shadow-remove-if): Remove.
12063 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
12064 Use cl-remove-if.
12065
12066 * wid-edit.el: Require cl-lib.
12067 (widget-choose): Use cl-remove-if.
12068 (widget-remove-if): Remove.
12069
12070 * progmodes/ebrowse.el: Require cl-lib at runtime too.
12071 (ebrowse-delete-if-not): Remove.
12072 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
12073 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
12074 Use cl-delete-if-not.
12075
12076 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
12077
12078 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
12079 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
12080
12081 2013-07-12 Leo Liu <sdl.web@gmail.com>
12082
12083 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
12084
12085 2013-07-11 Glenn Morris <rgm@gnu.org>
12086
12087 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
12088 (edebug-gensym-index, edebug-gensym):
12089 Remove reimplementation of cl-gensym.
12090 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
12091
12092 * thumbs.el: Require cl-lib at run-time too.
12093 (thumbs-gensym-counter, thumbs-gensym):
12094 Remove reimplementation of cl-gensym.
12095 (thumbs-temp-file): Use cl-gensym.
12096
12097 * emacs-lisp/ert.el: Require cl-lib at runtime too.
12098 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
12099 (ert--intersection, ert--set-difference, ert--set-difference-eq)
12100 (ert--union, ert--gensym-counter, ert--gensym-counter)
12101 (ert--coerce-to-vector, ert--remove*, ert--string-position)
12102 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
12103 (ert-make-test-unbound, ert--expand-should-1)
12104 (ert--expand-should, ert--should-error-handle-error)
12105 (should-error, ert--explain-equal-rec)
12106 (ert--plist-difference-explanation, ert-select-tests)
12107 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
12108 Use cl-lib functions rather than reimplementations.
12109
12110 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
12111
12112 * net/tramp.el (tramp-methods): Extend docstring.
12113 (tramp-connection-timeout): New defcustom.
12114 (tramp-error-with-buffer): Reset timestamp only when appropriate.
12115 (with-tramp-progress-reporter): Simplify.
12116 (tramp-process-actions): Improve messages.
12117
12118 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
12119 * net/tramp-sh.el (tramp-maybe-open-connection):
12120 Use `tramp-connection-timeout'.
12121 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
12122 (Bug#14808)
12123
12124 2013-07-11 Leo Liu <sdl.web@gmail.com>
12125
12126 * ido.el (ido-read-file-name): Conform to the requirements of
12127 read-file-name. (Bug#11861)
12128 (ido-read-directory-name): Conform to the requirements of
12129 read-directory-name.
12130
12131 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
12132
12133 * subr.el (delay-warning): New function.
12134
12135 2013-07-10 Eli Zaretskii <eliz@gnu.org>
12136
12137 * simple.el (default-line-height): New function.
12138 (line-move-partial, line-move): Use it instead of computing the
12139 line height inline.
12140 (line-move-partial): Always compute ROWH. If the last line is
12141 partially-visible, but its text is completely visible, allow
12142 cursor to enter such a partially-visible line.
12143
12144 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
12145
12146 Improve error messages. (Bug#14808)
12147
12148 * net/tramp.el (tramp-current-connection): New defvar, moved from
12149 tramp-sh.el.
12150 (tramp-message-show-progress-reporter-message): Remove, not
12151 needed anymore.
12152 (tramp-error-with-buffer): Show message in minibuffer.
12153 Discard input before waiting. Reset connection timestamp.
12154 (with-tramp-progress-reporter): Improve messages.
12155 (tramp-process-actions): Use progress reporter. Delete process in
12156 case of error. Improve messages.
12157
12158 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
12159 Call `tramp-error-with-buffer' with vector and buffer.
12160 (tramp-current-connection): Remove.
12161 (tramp-maybe-open-connection): The car of
12162 `tramp-current-connection' are the first 3 slots of the vector.
12163
12164 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
12165
12166 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
12167 inside continued strings.
12168
12169 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
12170
12171 Timestamp fixes for undo (Bug#14824).
12172 * files.el (clear-visited-file-modtime): Move here from fileio.c.
12173
12174 2013-07-10 Leo Liu <sdl.web@gmail.com>
12175
12176 * files.el (require-final-newline): Allow safe local value.
12177 (Bug#14834)
12178
12179 2013-07-09 Leo Liu <sdl.web@gmail.com>
12180
12181 * ido.el (ido-read-directory-name): Handle fallback.
12182 (ido-read-file-name): Update DIR to ido-current-directory.
12183 (Bug#1516)
12184 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
12185
12186 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
12187
12188 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
12189 "autoload". Remove "warn lower camel case" section, previously
12190 commented out. Highlight negation char. Do not highlight the
12191 target in singleton method definitions.
12192
12193 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12194
12195 * faces.el (tty-setup-hook): Declare the hook.
12196
12197 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
12198 and detect when a guard/pred depends on local vars (bug#14773).
12199 (pcase--u1): Adjust caller.
12200
12201 2013-07-08 Eli Zaretskii <eliz@gnu.org>
12202
12203 * simple.el (line-move-partial, line-move): Account for
12204 line-spacing.
12205 (line-move-partial): Avoid setting vscroll when the last
12206 partially-visible line in window is of default height.
12207
12208 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12209
12210 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
12211 been used a while.
12212
12213 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
12214
12215 * subr.el (read-quoted-char): Remove unused local variable `char'.
12216
12217 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
12218
12219 * vc/ediff.el (ediff-version): Version update.
12220 (ediff-files-command, ediff3-files-command, ediff-merge-command)
12221 (ediff-merge-with-ancestor-command, ediff-directories-command)
12222 (ediff-directories3-command, ediff-merge-directories-command)
12223 (ediff-merge-directories-with-ancestor-command): New functions.
12224 All are command-line interfaces to ediff: to facilitate calling
12225 Emacs with the appropriate ediff functions invoked.
12226
12227 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
12228 New function.
12229 (viper-save-kill-buffer): Check if buffer is modified.
12230
12231 * emulation/viper.el (viper-version): Version update.
12232 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
12233
12234 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
12235
12236 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
12237 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
12238 (viper-intercept-ESC-key): Simplify.
12239 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
12240 don't use kbd.
12241 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
12242 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
12243 (viper-setup-ESC-to-escape): New functions.
12244 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
12245 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
12246
12247 2013-07-07 Eli Zaretskii <eliz@gnu.org>
12248
12249 * simple.el (default-font-height, window-screen-lines):
12250 New functions.
12251 (line-move, line-move-partial): Use them instead of
12252 frame-char-height and window-text-height. This makes scrolling
12253 text smoother when the buffer's default face uses a font that is
12254 different from the frame's default font.
12255
12256 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
12257
12258 * files.el (write-file): Do not display confirm dialog for NS,
12259 it does its own dialog, which can't be canceled (Bug#14578).
12260
12261 2013-07-06 Eli Zaretskii <eliz@gnu.org>
12262
12263 * simple.el (line-move-partial): Adjust the row returned by
12264 posn-at-point for the current window-vscroll. (Bug#14567)
12265
12266 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
12267
12268 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
12269 (tramp-sh-file-inotifywait-process-filter): Handle file names with
12270 spaces.
12271
12272 2013-07-06 Martin Rudalics <rudalics@gmx.at>
12273
12274 * window.el (window-state-put-stale-windows): New variable.
12275 (window--state-put-2): Save list of windows without matching buffer.
12276 (window-state-put): Remove "bufferless" windows if possible.
12277
12278 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12279
12280 * simple.el (alternatives-define): Remove leftover :group keyword.
12281 Tweak docstring.
12282
12283 2013-07-06 Leo Liu <sdl.web@gmail.com>
12284
12285 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
12286 (ido-enable-virtual-buffers): New variable.
12287 (ido-buffer-internal, ido-toggle-virtual-buffers)
12288 (ido-make-buffer-list): Use it.
12289 (ido-exhibit): Support turning on and off virtual buffers
12290 automatically.
12291
12292 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12293
12294 * simple.el (alternatives-define): New macro.
12295
12296 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
12297
12298 * subr.el (read-quoted-char): Use read-key.
12299 (sit-for): Let read-event decode tty input (bug#14782).
12300
12301 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
12302
12303 * calendar/todo-mode.el: Add handling of file deletion, both by
12304 mode command and externally. Fix various related bugs.
12305 Clarify Commentary and improve some documentation strings and code.
12306 (todo-delete-file): New command.
12307 (todo-check-file): New function.
12308 (todo-show): Handle external deletion of the file we're trying to
12309 show (bug#14688). Replace called-interactively-p by an optional
12310 prefix argument to avoid problematic interaction with catch form
12311 when byte compiled (bug#14702).
12312 (todo-quit): Handle external deletion of the archive's todo file.
12313 Make sure the buffer that was visiting the archive file is still
12314 live before trying to bury it.
12315 (todo-category-completions): Handle external deletion of any
12316 category completion files.
12317 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
12318 of todo files, in case of external deletion.
12319 (todo-add-file): Replace unnecessary setq by let-binding.
12320 (todo-find-archive): Check whether there are any archives.
12321 Replace unnecessary setq by let-binding.
12322 (todo-archive-done-item): Use find-file-noselect to get the
12323 archive buffer whether or not the archive already exists.
12324 Remove superfluous code. Use file size instead of buffer-file-name to
12325 check if the archive is new; if it is, update list of archives.
12326 (todo-default-todo-file): Allow nil to be a valid value for when
12327 there are no todo files.
12328 (todo-reevaluate-default-file-defcustom): Use corrected definition
12329 of todo-default-todo-file.
12330 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
12331 (todo-delete-category, todo-show-categories-table)
12332 (todo-category-number): Clarify comment.
12333 (todo-filter-items): Clarify documentation string.
12334 (todo-show-current-file, todo-display-as-todo-file)
12335 (todo-reset-and-enable-done-separator): Tweak documentation string.
12336 (todo-done-separator): Make separator length window-width, since
12337 bug#2749 is now fixed.
12338
12339 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
12340
12341 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12342 Support both "gvfs-monitor-dir" and "inotifywait".
12343 (tramp-sh-file-inotifywait-process-filter): Rename from
12344 `tramp-sh-file-notify-process-filter'.
12345 (tramp-sh-file-gvfs-monitor-dir-process-filter)
12346 (tramp-get-remote-gvfs-monitor-dir): New defuns.
12347
12348 2013-07-05 Leo Liu <sdl.web@gmail.com>
12349
12350 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
12351
12352 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12353
12354 * frame.el (display-pixel-height, display-pixel-width)
12355 (display-mm-height, display-mm-width): Mention behavior on
12356 multi-monitor setups in docstrings.
12357 (w32-display-monitor-attributes-list): Declare function.
12358 (display-monitor-attributes-list): Use it.
12359
12360 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
12361
12362 * filenotify.el: New package.
12363
12364 * autorevert.el (top): Require filenotify.el.
12365 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
12366 instead.
12367 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12368 (auto-revert-notify-handler): Use `file-notify-*' functions.
12369
12370 * subr.el (file-notify-handle-event): Move function to filenotify.el.
12371
12372 * net/tramp.el (tramp-file-name-for-operation):
12373 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
12374
12375 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
12376 for `file-notify-add-watch' and `file-notify-rm-watch'.
12377 (tramp-process-sentinel): Improve trace.
12378 (tramp-sh-handle-file-notify-add-watch)
12379 (tramp-sh-file-notify-process-filter)
12380 (tramp-sh-handle-file-notify-rm-watch)
12381 (tramp-get-remote-inotifywait): New defuns.
12382
12383 2013-07-03 Juri Linkov <juri@jurta.org>
12384
12385 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
12386 call of `occur-read-primary-args' to interactive spec.
12387
12388 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
12389 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
12390
12391 2013-07-03 Matthias Meulien <orontee@gmail.com>
12392
12393 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
12394 `Buffer-menu-multi-occur'. Add it to the menu.
12395 (Buffer-menu-mode): Document it in docstring.
12396 (Buffer-menu-multi-occur): New command. (Bug#14673)
12397
12398 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12399
12400 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
12401 keywords and built-ins.
12402
12403 2013-07-03 Glenn Morris <rgm@gnu.org>
12404
12405 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
12406
12407 Make info-xref checks case-sensitive by default
12408 * info.el (Info-find-node, Info-find-in-tag-table)
12409 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
12410 Add option for exact case matching of nodes.
12411 * info-xref.el (info-xref): New custom group.
12412 (info-xref-case-fold): New option.
12413 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
12414
12415 2013-07-03 Leo Liu <sdl.web@gmail.com>
12416
12417 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
12418
12419 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12420
12421 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
12422 middle of block statement initially, lower the depth. Remove
12423 FIXME comment, not longer valid. Remove middle of block statement
12424 detection, no need to do that anymore since we've been using
12425 `ruby-parse-region' here.
12426
12427 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
12428
12429 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
12430
12431 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
12432
12433 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
12434
12435 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
12436
12437 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
12438 (desktop-restore-in-current-display): New customization option.
12439 (desktop--excluded-frame-parameters): Add `font'.
12440 (desktop--save-frames): Rename from desktop--save-windows.
12441 (desktop--restore-in-this-display-p): New function.
12442 (desktop--make-full-frame): Remove unwanted width/height from
12443 full(width|height) frames.
12444 (desktop--restore-frames): Rename from desktop--restore-windows.
12445 Obey desktop-restore-current-display. Do not delete old frames or
12446 select a new frame unless we were able to restore at least one frame.
12447
12448 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
12449
12450 * files.el (find-file-noselect): Simplify conditional expression.
12451
12452 * textmodes/remember.el (remember-append-to-file):
12453 Don't mix `find-buffer-visiting' and `get-file-buffer'.
12454
12455 Add `remember-notes' function to store random notes across Emacs
12456 restarts.
12457 * textmodes/remember.el (remember-data-file): Add :set callback to
12458 affect notes buffer (if any).
12459 (remember-notes): New command.
12460 (remember-notes-buffer-name, bury-remember-notes-on-kill):
12461 New defcustoms for the `remember-notes' function.
12462 (remember-notes-save-and-bury-buffer): New command.
12463 (remember-notes-mode-map): New variable.
12464 (remember-mode): New minor mode.
12465 (remember-notes--kill-buffer-query): New function.
12466 * startup.el (initial-buffer-choice): Add notes to custom type.
12467
12468 2013-06-30 Eli Zaretskii <eliz@gnu.org>
12469
12470 * bindings.el (right-char, left-char): Don't call sit-for, this is
12471 no longer needed. Use arithmetic comparison only for numerical
12472 arguments.
12473
12474 * international/mule-cmds.el (select-safe-coding-system):
12475 Handle the case of FROM being a string correctly. (Bug#14755)
12476
12477 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12478
12479 * net/shr.el (shr-make-table-1): Add a sanity check that allows
12480 progression on degenerate tables.
12481 (shr-rescale-image): ImageMagick animated images currently don't work.
12482
12483 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
12484
12485 Some fixes and improvements for desktop frame restoration.
12486 It is still experimental and disabled by default.
12487 * desktop.el (desktop--save-windows): Put the selected frame at
12488 the head of the list.
12489 (desktop--make-full-frame): New function.
12490 (desktop--restore-windows): Try to re-select the frame that was
12491 selected upon saving. Do not abort if some frames fail to restore,
12492 just show an error message and continue. Set up maximized frames
12493 so they have default non-maximized dimensions.
12494
12495 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
12496
12497 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12498 Don't start heredoc inside a string or comment.
12499
12500 2013-06-29 Eli Zaretskii <eliz@gnu.org>
12501
12502 * bindings.el (visual-order-cursor-movement): New defcustom.
12503 (right-char, left-char): Provide visual-order cursor motion by
12504 calling move-point-visually. Update the doc strings.
12505
12506 2013-06-28 Kenichi Handa <handa@gnu.org>
12507
12508 * international/mule.el (define-coding-system): New coding system
12509 properties :inhibit-null-byte-detection,
12510 :inhibit-iso-escape-detection, and :prefer-utf-8.
12511 (set-buffer-file-coding-system): If :charset-list property of
12512 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12513 appropriate for setting.
12514
12515 * international/mule-cmds.el (select-safe-coding-system):
12516 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12517 multibyte characters, return utf-8 (or one of its siblings).
12518
12519 * international/mule-conf.el (prefer-utf-8): New coding system.
12520 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12521 files.
12522
12523 2013-06-28 Ivan Kanis <ivan@kanis.fr>
12524
12525 * net/shr.el (shr-render-region): New function.
12526
12527 * net/eww.el: Autoload `eww-browse-url'.
12528
12529 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
12530
12531 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12532 Adapt to `package-desc-version' being a list.
12533 Use `package--ac-desc-version' to retrieve version from a package
12534 archive element.
12535
12536 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
12537
12538 New experimental feature to save&restore window and frame setup.
12539 * desktop.el (desktop-save-windows): New defcustom.
12540 (desktop--saved-states): New var.
12541 (desktop--excluded-frame-parameters): New defconst.
12542 (desktop--filter-frame-parms, desktop--find-frame-in-display)
12543 (desktop--restore-windows, desktop--save-windows): New functions.
12544 (desktop-save): Call `desktop--save-windows'.
12545 (desktop-read): Call `desktop--restore-windows'.
12546
12547 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12548
12549 * net/shr.el (add-face-text-property): Remove compat definition.
12550
12551 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12552
12553 * info.el (Info-try-follow-nearest-node): Move search for footnote
12554 above search for node name to prevent missing a footnote (bug#14717).
12555
12556 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12557
12558 * obsolete/otodo-mode.el: Add obsolescence info to file header.
12559
12560 2013-06-27 Leo Liu <sdl.web@gmail.com>
12561
12562 * net/eww.el (eww-read-bookmarks): Check file size.
12563
12564 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12565
12566 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12567 advice--pending if newdef is nil or an autoload (bug#13820).
12568 (advice-mapc): New function.
12569
12570 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12571
12572 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12573 probably.
12574 (eww-mode-map): Add a menu bar.
12575 (eww-add-bookmark): New command.
12576 (eww-bookmark-mode): New mode and commands.
12577 (eww-add-bookmark): Remove newlines from the title.
12578 (eww-bookmark-browse): Don't bug out if it's the only window.
12579
12580 2013-06-26 Glenn Morris <rgm@gnu.org>
12581
12582 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12583 (hfy-size): Handle ttys. (Bug#14668)
12584
12585 * info-xref.el: Update for Texinfo 5 change in *note format.
12586 (info-xref-node-re, info-xref-note-re): New constants.
12587 (info-xref-check-buffer): Use info-xref-note-re.
12588
12589 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12590
12591 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12592
12593 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12594 nil terminate the loop (bug#14718).
12595
12596 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12597
12598 * net/eww.el: Rework history traversal. When going forward/back,
12599 put these actions into the history, too, so that they can be
12600 replayed.
12601 (eww-render): Move the history reset to the correct buffer.
12602
12603 2013-06-25 Juri Linkov <juri@jurta.org>
12604
12605 * files-x.el (modify-dir-local-variable): Change the header comment
12606 in the file with directory local variables. (Bug#14692)
12607
12608 * files-x.el (read-file-local-variable-value): Add `default'.
12609 (Bug#14710)
12610
12611 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12612
12613 * net/eww.el (eww-make-unique-file-name): Create a unique file
12614 name before saving to entering `y' accidentally asynchronously.
12615
12616 2013-06-25 Ivan Kanis <ivan@kanis.fr>
12617
12618 * net/eww.el (eww-download): New command and keystroke.
12619
12620 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12621
12622 * net/eww.el (eww-copy-page-url): Change name of command.
12623
12624 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12625 be more consistent with Info and dired.
12626
12627 * net/eww.el (eww-mode-map): Ditto.
12628
12629 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12630
12631 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12632 packages from archives.
12633 (package-archive-contents): Change format; include obsolete packages.
12634 (package-desc): Use `dir' to mark builtin packages.
12635 (package--from-builtin): Set the `dir' field to `builtin'.
12636 (generated-autoload-file, version-control): Declare.
12637 (package-compute-transaction): Change first arg and return value to be
12638 lists of package-descs. Adjust to new package-archive-contents format.
12639 (package--add-to-archive-contents): Adjust to new
12640 package-archive-contents format.
12641 (package-download-transaction): Arg is now a list of package-descs.
12642 (package-install): If `pkg' is a package name, pass it as
12643 a requirement, so it is subject to the usual (e.g. disabled) checks.
12644 (describe-package): Accept package-desc as well.
12645 (describe-package-1): Describe a specific package-desc. Add links to
12646 other package-descs for the same package name.
12647 (package-menu-describe-package): Pass the actual package-desc.
12648 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12649 works correctly.
12650 (package-desc-status): New function.
12651 (package-menu--refresh): New function, extracted
12652 from package-menu--generate.
12653 (package-menu--generate): Use it.
12654 (package-delete): Update package-alist.
12655 (package-menu-execute): Don't call package-initialize.
12656
12657 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12658 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12659 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12660 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12661 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12662 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12663
12664 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12665
12666 * window.el (window--state-get-1): Workaround for bug#14527.
12667 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12668
12669 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12670
12671 * net/eww.el (eww-back-url): Implement the history by stashing all
12672 the data into a list.
12673 (eww-forward-url): Allow going forward in the history, too.
12674
12675 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12676
12677 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12678 for values and use read--expression for expressions (bug#14710).
12679 (read-file-local-variable): Avoid setq.
12680 (read-file-local-variable-mode): Use minor-mode-list.
12681
12682 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12683
12684 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12685 for DOI URLs.
12686
12687 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12688
12689 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12690 Update imenu-support when dialect changes.
12691
12692 2013-06-25 Leo Liu <sdl.web@gmail.com>
12693
12694 * ido.el (ido-read-internal): Allow forward slash on windows.
12695
12696 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12697
12698 * net/eww.el (eww): Start of strings is \\`, not ^.
12699
12700 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12701
12702 * net/shr.el (shr-browse-url): Fix interactive spec.
12703
12704 * net/eww.el (eww): Add a trailing slash to domain names.
12705
12706 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12707
12708 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12709
12710 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12711
12712 * net/shr.el (shr-browse-url): Use an external browser if given a
12713 prefix.
12714
12715 * net/eww.el (eww-external-browser): Move to shr.
12716
12717 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12718
12719 * net/eww.el (eww): Work more correctly for file: URLs.
12720 (eww-detect-charset): Allow quoted charsets.
12721 (eww-yank-page-url): New command and keystroke.
12722
12723 2013-06-24 Daiki Ueno <ueno@gnu.org>
12724
12725 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12726 file name of gpg executable.
12727 (epg-context-program): New function.
12728 (epg-context-home-directory): New function.
12729 (epg-context-set-program): New function.
12730 (epg-context-set-home-directory): New function.
12731 (epg--start): Use `epg-context-program' instead of
12732 'epg-gpg-program'.
12733 (epg--list-keys-1): Likewise.
12734
12735 2013-06-24 Leo Liu <sdl.web@gmail.com>
12736
12737 * ido.el (ido-read-internal): Fix bug#14620.
12738
12739 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12740
12741 * faces.el (face-documentation): Simplify.
12742 (read-face-attribute, tty-find-type, x-resolve-font-name):
12743 Use `string-match-p'.
12744 (list-faces-display): Use `string-match-p'. Simplify.
12745 (face-spec-recalc): Check face to avoid face alias loops.
12746 (read-color): Use `string-match-p' and non-capturing parenthesis.
12747
12748 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12749
12750 * net/shr.el (shr-rescale-image): Use the new
12751 :max-width/:max-height functionality.
12752
12753 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12754
12755 * net/eww.el (eww-search-prefix): New variable.
12756 (eww): Use it.
12757 (eww-external-browser): New variable.
12758 (eww-mode-map): New keystroke.
12759 (eww-browse-with-external-browser): New command.
12760
12761 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12762
12763 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12764
12765 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12766 Don't skip aligning the next header field when padding is 0;
12767 otherwise, field width is not respected unless the title is as
12768 wide as the field.
12769
12770 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12771
12772 * emacs-lisp/package.el (package-el-version): Remove.
12773 (package-process-define-package): Fix inf-loop.
12774 (package-install): Allow symbols as arguments again.
12775
12776 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12777
12778 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12779 add some more keyword-like methods.
12780 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12781
12782 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12783
12784 * bs.el (bs-buffer-show-mark): Make defvar-local.
12785 (bs-mode): Use setq-local.
12786
12787 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12788 (emacs-lock--try-unlocking): Make defvar-local.
12789
12790 2013-06-22 Glenn Morris <rgm@gnu.org>
12791
12792 * play/cookie1.el (cookie-apropos): Minor simplification.
12793
12794 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12795
12796 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12797
12798 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12799 `regexp-opt', it breaks the build during dumping.
12800
12801 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12802
12803 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12804 Highlight keyword-like methods on Kernel and Module with
12805 font-lock-builtin-face.
12806 (auto-mode-alist): Consolidate different entries into one regexp
12807 and add more *file-s.
12808
12809 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12810
12811 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12812
12813 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12814 (diary-entry): Use it in the action of this button type instead of
12815 diary-goto-entry.
12816
12817 * calendar/todo-mode.el: New version.
12818 (todo-add-category): Append new category to end of file and give
12819 it the highest number, instead of putting it at the beginning and
12820 giving it 0. Incorporate noninteractive functionality.
12821 (todo-forward-category): Adapt to 1-based category numbering.
12822 Allow skipping over archived categories.
12823 (todo-backward-category): Derive from todo-forward-category.
12824 (todo-backward-item, todo-forward-item): Make noninteractive and
12825 delegate interactive part to new commands. Make sensitive to done items.
12826 (todo-categories): Make value an alist of category names and
12827 vectors of item counts.
12828 (todo-category-beg): Make a defconst.
12829 (todo-category-number): Use 1 instead of 0 as initial value.
12830 (todo-category-select): Make sensitive to overlays, optional item
12831 highlighting and done items.
12832 (todo-delete-item): Make sensitive to overlays and marked and done items.
12833 (todo-edit-item): Make sensitive to overlays and editing of
12834 date/time header optional. Add format checks.
12835 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12836 no-op if point is not on an item. Advertise using todo-edit-quit.
12837 (todo-edit-mode): Make sensitive to new format, font-locking, and
12838 multiple todo files.
12839 (todo-insert-item, todo-insert-item-here): Derive from
12840 todo-basic-insert-item and extend functionality.
12841 (todo-item-end, todo-item-start): Make sensitive to done items.
12842 (todo-item-string): Don't return text properties. Restore point.
12843 (todo-jump-to-category): Make sensitive to multiple todo files and
12844 todo archives. Use extended category completion.
12845 (todo-lower-item, todo-raise-item): Rename to *-priority and
12846 derive from todo-set-item-priority.
12847 (todo-mode): Derive from special-mode. Make sensitive to new
12848 format, font-locking and multiple todo files. Make read-only.
12849 (todo-mode-map): Don't suppress digit keys, so they can supply
12850 prefix arguments. Add many new key bindings.
12851 (todo-prefix): Insert as an overlay instead of file text.
12852 Change semantics from diary date expression to purely visual mark.
12853 (todo-print): Rename to todo-print-buffer. Make buffer display
12854 features printable. Remove option to restrict number of items
12855 printed. Add option to print to file.
12856 (todo-print-function): Rename to todo-print-buffer-function.
12857 (todo-quit): Extend to handle exiting new todo modes.
12858 (todo-remove-item): Make sensitive to overlays.
12859 (todo-save): Extend to buffers of filtered items.
12860 (todo-show): Make sensitive to done items, multiple todo files and
12861 new todo modes. Offer to convert legacy todo file before creating
12862 first new todo file.
12863 (todo-show-priorities): Rename to todo-top-priorities.
12864 Change semantics of value 0.
12865 (todo-top-priorities): Rename to todo-filter-top-priorities,
12866 derive from todo-filter-items and extend functionality.
12867 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12868 and extend functionality to other types of filtered items.
12869 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12870 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12871 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12872 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12873 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12874 (todo-edit-mode-hook, todo-entry-prefix-function)
12875 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12876 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12877 (todo-initials, todo-insert-threshold, todo-item-string-start)
12878 (todo-line-string, todo-menu, todo-mode-hook)
12879 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12880 (todo-print-priorities, todo-remove-separator)
12881 (todo-save-top-priorities-too, todo-string-count-lines)
12882 (todo-string-multiline-p, todo-time-string-format)
12883 (todo-tmp-buffer-name): Remove.
12884 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12885 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12886 (todo-edit-category-diary-inclusion)
12887 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12888 (todo-edit-file, todo-edit-item-date-day)
12889 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12890 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12891 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12892 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12893 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12894 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12895 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12896 (todo-filter-top-priorities-multifile, todo-find-archive)
12897 (todo-find-filtered-items-file, todo-go-to-source-item)
12898 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12899 (todo-jump-to-archive-category, todo-lower-category)
12900 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12901 (todo-move-category, todo-move-item, todo-next-button)
12902 (todo-next-item, todo-padded-string, todo-powerset)
12903 (todo-previous-button, todo-previous-item)
12904 (todo-print-buffer-to-file, todo-raise-category)
12905 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12906 (todo-set-category-number, todo-set-item-priority)
12907 (todo-set-top-priorities-in-category)
12908 (todo-set-top-priorities-in-file, todo-show-categories-table)
12909 (todo-sort-categories-alphabetically-or-numerically)
12910 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12911 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12912 (todo-toggle-item-header, todo-toggle-item-highlighting)
12913 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12914 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12915 (todo-unarchive-items, todo-unmark-category): New commands.
12916 (todo-absolute-file-name, todo-add-to-buffer-list)
12917 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12918 (todo-basic-insert-item, todo-category-completions)
12919 (todo-category-number, todo-category-string-matcher-1)
12920 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12921 (todo-check-format, todo-clear-matches)
12922 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12923 (todo-current-category, todo-date-string-matcher)
12924 (todo-define-insertion-command, todo-diary-expired-matcher)
12925 (todo-diary-goto-entry, todo-diary-item-p)
12926 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12927 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12928 (todo-done-item-section-p, todo-done-separator)
12929 (todo-done-string-matcher, todo-files, todo-filter-items)
12930 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12931 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12932 (todo-insert-category-line, todo-insert-item-from-calendar)
12933 (todo-insert-sort-button, todo-insert-with-overlays)
12934 (todo-insertion-command-name, todo-insertion-key-bindings)
12935 (todo-label-to-key, todo-longest-category-name-length)
12936 (todo-make-categories-list, todo-mode-external-set)
12937 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12938 (todo-modes-set-3, todo-multiple-filter-files)
12939 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12940 (todo-read-category, todo-read-date, todo-read-dayname)
12941 (todo-read-file-name, todo-read-time)
12942 (todo-reevaluate-category-completions-files-defcustom)
12943 (todo-reevaluate-default-file-defcustom)
12944 (todo-reevaluate-filelist-defcustoms)
12945 (todo-reevaluate-filter-files-defcustom)
12946 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12947 (todo-reset-done-separator, todo-reset-done-separator-string)
12948 (todo-reset-done-string, todo-reset-global-current-todo-file)
12949 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12950 (todo-reset-prefix, todo-set-categories)
12951 (todo-set-date-from-calendar, todo-set-show-current-file)
12952 (todo-set-top-priorities, todo-short-file-name)
12953 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12954 (todo-total-item-counts, todo-update-buffer-list)
12955 (todo-update-categories-display, todo-update-categories-sexp)
12956 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12957 New functions.
12958 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12959 New major modes.
12960 (todo-categories, todo-display, todo-edit, todo-faces)
12961 (todo-filtered): New defgroups.
12962 (todo-archived-only, todo-button, todo-category-string, todo-date)
12963 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12964 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12965 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12966 (todo-add-item-if-new-category, todo-always-add-time-string)
12967 (todo-categories-align, todo-categories-archived-label)
12968 (todo-categories-category-label, todo-categories-diary-label)
12969 (todo-categories-done-label, todo-categories-number-separator)
12970 (todo-categories-todo-label, todo-categories-totals-label)
12971 (todo-category-completions-files, todo-completion-ignore-case)
12972 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12973 (todo-done-separator-string, todo-done-string)
12974 (todo-files-function, todo-filter-done-items, todo-filter-files)
12975 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12976 (todo-initial-category, todo-initial-file, todo-item-mark)
12977 (todo-legacy-date-time-regexp, todo-mode-line-function)
12978 (todo-nondiary-marker, todo-number-prefix)
12979 (todo-print-buffer-function, todo-show-current-file)
12980 (todo-show-done-only, todo-show-first, todo-show-with-done)
12981 (todo-skip-archived-categories, todo-top-priorities-overrides)
12982 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12983 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12984 New defcustoms.
12985 (todo-category-done, todo-date-pattern, todo-date-string-start)
12986 (todo-diary-items-buffer, todo-done-string-start)
12987 (todo-filtered-items-buffer, todo-item-start)
12988 (todo-month-abbrev-array, todo-month-name-array)
12989 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12990 (todo-top-priorities-buffer): New defconsts.
12991 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12992 (todo-categories-with-marks, todo-category-string-face)
12993 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12994 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12995 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12996 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12997 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12998 (todo-font-lock-keywords, todo-global-current-todo-file)
12999 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
13000 (todo-insertion-commands-args)
13001 (todo-insertion-commands-args-genlist)
13002 (todo-insertion-commands-names, todo-insertion-map)
13003 (todo-key-bindings-t, todo-key-bindings-t+a)
13004 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
13005 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
13006 (todo-nondiary-face, todo-print-buffer, todo-time-face)
13007 (todo-visited): New variables.
13008
13009 2013-06-21 Glenn Morris <rgm@gnu.org>
13010
13011 * play/cookie1.el (cookie-apropos): Add optional display argument.
13012 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
13013 (psychoanalyze-pinhead): Use cookie-doctor.
13014
13015 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13016
13017 * emacs-lisp/package.el (tar-get-file-descriptor)
13018 (tar--extract): Declare.
13019
13020 2013-06-21 Eduard Wiebe <usenet@pusto.de>
13021
13022 Extend flymake's warning predicate to be a function (bug#14217).
13023 * progmodes/flymake.el (flymake-warning-predicate): New.
13024 (flymake-parse-line): Use it.
13025 (flymake-warning-re): Make obsolete alias to
13026 `flymake-warning-predicate'.
13027
13028 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13029
13030 * emacs-lisp/package.el (package-alist): Include obsolete packages.
13031 (package-obsolete-list): Remove.
13032 (package-activate): Remove min-version argument. Add `force' argument.
13033 Adjust to new package-alist format.
13034 (package-mark-obsolete): Remove.
13035 (package-unpack): Force reload of the package's autoloads.
13036 (package-installed-p): Check builtins if the installed package is not
13037 recent enough.
13038 (package-initialize): Don't reset package-obsolete-list.
13039 Don't specify which package version to activate.
13040 (package-process-define-package, describe-package-1)
13041 (package-menu--generate): Adjust to new package-alist format.
13042
13043 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13044
13045 * allout-widgets.el (allout-widgets-mode-off)
13046 (allout-widgets-mode-on, allout-widgets-pre-command-business)
13047 (allout-widgets-post-command-business)
13048 (allout-widgets-after-copy-or-kill-function)
13049 (allout-widgets-after-undo-function, allout-test-range-overlaps)
13050 (allout-decorate-item-and-context)
13051 (allout-graphics-modification-handler): Fix typos in docstrings.
13052 (allout-get-or-create-parent-widget): Use `looking-at-p'.
13053
13054 * cmuscheme.el (scheme-start-file): Doc fix.
13055 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
13056 (scheme-input-filter): Use `string-match-p'.
13057
13058 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
13059
13060 * dired-x.el: Use Dired consistently in docstrings.
13061
13062 * dired.el: Use Dired consistently in docstrings.
13063 (dired-readin, dired-mode): Use `setq-local'.
13064 (dired-switches-alist): Make defvar-local.
13065 (dired-buffers-for-dir): Use `zerop'.
13066 (dired-safe-switches-p, dired-switches-escape-p)
13067 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
13068 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
13069 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
13070 (dired-goto-next-nontrivial-file): Use `string-match-p'.
13071 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
13072 (dired-toggle-marks, dired-mark-files-containing-regexp)
13073 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
13074 (dired-flag-auto-save-files, dired-flag-backup-files):
13075 Use `looking-at-p'.
13076 (dired-mark-files-regexp, dired-build-subdir-alist):
13077 Use `string-match-p', `looking-at-p'.
13078
13079 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
13080 (direct-print-region-helper): Use `string-match-p'.
13081
13082 2013-06-21 Leo Liu <sdl.web@gmail.com>
13083
13084 * comint.el (comint-redirect-results-list-from-process):
13085 Fix infinite loop.
13086
13087 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13088
13089 * net/eww.el (eww-update-header-line-format): Quote % characters.
13090
13091 2013-06-21 Glenn Morris <rgm@gnu.org>
13092
13093 * play/cookie1.el (cookie): New custom group.
13094 (cookie-file): New option.
13095 (cookie-check-file): New function.
13096 (cookie): Make it interactive. Make start and end messages optional.
13097 Interactively, display the result. Default to cookie-file.
13098 (cookie-insert): Default to cookie-file.
13099 (cookie-snarf): Make start and end messages optional.
13100 Default to cookie-file. Use with-temp-buffer.
13101 (cookie-read): Rename from read-cookie.
13102 Make start and end messages optional. Default to cookie-file.
13103 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
13104 Do not autoload it.
13105 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
13106 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
13107
13108 2013-06-21 Leo Liu <sdl.web@gmail.com>
13109
13110 * progmodes/octave.el (octave-mode): Backward compatibility fix.
13111
13112 2013-06-21 Glenn Morris <rgm@gnu.org>
13113
13114 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
13115
13116 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13117 Daniel Hackney <dan@haxney.org>
13118
13119 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
13120 Consolidate the single-file vs tarball code.
13121 (package-desc-suffix): New function.
13122 (package-desc-full-name): Don't bother inlining it.
13123 (package-load-descriptor): Return the new package-desc.
13124 (package-mark-obsolete): Remove unused arg `package'.
13125 (package-unpack): Make it work for single files as well.
13126 Make it update package-alist.
13127 (package--make-autoloads-and-stuff): Rename from
13128 package--make-autoloads-and-compile. Don't compile any more.
13129 (package--compile): New function.
13130 (package-generate-description-file): New function, extracted from
13131 package-unpack-single.
13132 (package-unpack-single): Remove.
13133 (package--with-work-buffer): Add indentation and debugging info.
13134 (package-download-single): Remove.
13135 (package-install-from-archive): Rename from package-download-tar, make
13136 it take a pkg-desc, and make it work for single files as well.
13137 (package-download-transaction): Simplify.
13138 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
13139 external tar program.
13140 (package-install-from-buffer): Remove `pkg-desc' argument.
13141 Use package-tar-file-info for tar-mode buffers.
13142 (package-install-file): Simplify accordingly.
13143 (package-archive-base): Change to take a pkg-desc.
13144 * tar-mode.el (tar--check-descriptor): New function, extracted from
13145 tar-get-descriptor.
13146 (tar-get-descriptor): Use it.
13147 (tar-get-file-descriptor): New function.
13148 (tar--extract): New function, extracted from tar-extract.
13149 (tar--extract): Use it.
13150 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
13151 case the summary uses non-ascii. Adjust to new calling convention of
13152 package-tar-file-info.
13153
13154 2013-06-21 Leo Liu <sdl.web@gmail.com>
13155
13156 * comint.el (comint-redirect-results-list-from-process):
13157 Fix random delay. (Bug#14681)
13158
13159 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13160
13161 * profiler.el (profiler-format-number): Use log, not log10.
13162
13163 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13164
13165 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
13166
13167 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13168
13169 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
13170 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
13171 yet available.
13172 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
13173 (AUTOGENEL): ... here.
13174 * emacs-lisp/cl-macs.el (cl--sublis): New function.
13175 (cl--defsubst-expand): Use it.
13176
13177 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
13178
13179 * subr.el (log10): Move here from C code, and declare as obsolete.
13180 All uses of (log10 X) replaced with (log X 10).
13181
13182 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13183
13184 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
13185 Declare with `defvar-local'.
13186 (tabulated-list-use-header-line, tabulated-list-entries)
13187 (tabulated-list-padding, tabulated-list-printer)
13188 (tabulated-list-sort-key): Declare with `defvar-local'.
13189 (tabulated-list-init-header, tabulated-list-print-fake-header):
13190 Use `setq-local'.
13191
13192 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
13193
13194 * arc-mode.el (archive-mode): Add `archive-write-file' to
13195 `write-contents-functions' also for remote files. (Bug#14652)
13196
13197 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13198
13199 * cus-edit.el (custom-commands): Fix typos.
13200 (custom-display): Fix tooltip text.
13201 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
13202 Fix typos in docstrings.
13203 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
13204 (custom-unlispify-menu-entry, custom-magic-value-create)
13205 (custom-add-see-also, custom-group-value-create): Use ?\s.
13206 (custom-guess-type, customize-apropos, editable-field)
13207 (custom-face-value-create): Use `string-match-p'.
13208 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
13209
13210 * custom.el (custom-load-symbol): Use `string-match-p'.
13211
13212 * ansi-color.el: Convert to lexical binding.
13213 (ansi-colors): Fix URL.
13214 (ansi-color-context, ansi-color-context-region): Use defvar-local.
13215 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
13216 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
13217
13218 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13219
13220 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
13221
13222 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
13223
13224 2013-06-19 Tom Tromey <tromey@redhat.com>
13225
13226 * net/eww.el (eww-top-url): Remove.
13227 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
13228 (eww-render): Set new variables. Don't set eww-top-url.
13229 (eww-handle-link): Handle "prev", "home", and "contents".
13230 Downcase the rel text.
13231 (eww-top-url): Choose best top URL.
13232
13233 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13234
13235 * net/eww.el: Rewrite to implement form elements "by hand" instead of
13236 relying in widget.el. Using widget.el leads to too many
13237 user interface inconsistencies.
13238 (eww-self-insert): Implement entering commands in text fields.
13239 (eww-process-text-input): New function to make text input field editing
13240 work.
13241 (eww-submit): Rewrite to use the new-style form methods.
13242 (eww-select-display): Display the correct selected item.
13243 (eww-change-select): Implement changing the select value.
13244 (eww-toggle-checkbox): Implement radio/checkboxes.
13245 (eww-update-field): Fix compilation error.
13246 (eww-tag-textarea): Implement <textarea>.
13247
13248 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
13249 we don't shadow mode-specific bindings.
13250
13251 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
13252 nothing to push.
13253
13254 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
13255
13256 2013-06-19 Glenn Morris <rgm@gnu.org>
13257
13258 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
13259
13260 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13261
13262 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
13263 not needed.
13264
13265 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
13266
13267 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13268
13269 * net/browse-url.el (browse-url-browser-function):
13270 `eww-browse-url' has the right calling signature, `eww' does not.
13271
13272 2013-06-19 Glenn Morris <rgm@gnu.org>
13273
13274 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13275 Only eval autoloaded macros.
13276 (byte-compile-autoload): Only give the macro warning for macros.
13277
13278 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
13279 (ps-underlined-faces): Declare.
13280
13281 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
13282 (speedbar-add-supported-extension): Declare.
13283
13284 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
13285 Don't include a date stamp in the header of the generated file;
13286 it leads to needless differences between output files.
13287
13288 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13289
13290 * net/secrets.el (secrets-struct-secret-content-type):
13291 Replace check of introspection data by a test call of "CreateItem".
13292 Some servers do not offer introspection.
13293
13294 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
13295
13296 * electric.el (electric-pair-mode): Improve interaction with
13297 electric-layout-mode.
13298 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
13299 (electric-pair-syntax): Use text-mode-syntax-table in comments
13300 and strings.
13301 (electric-pair--insert): New function.
13302 (electric-pair-post-self-insert-function): Use it and
13303 electric--after-char-pos.
13304
13305 2013-06-19 Leo Liu <sdl.web@gmail.com>
13306
13307 * progmodes/octave.el (octave-help): Fix regexp.
13308
13309 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13310
13311 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
13312 (shr-table-horizontal-line): Allow nil as a value, and change the
13313 default.
13314 (shr-insert-table-ruler): Respect the nil value.
13315
13316 2013-06-18 Tom Tromey <tromey@barimba>
13317
13318 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13319 New defvars.
13320 (eww-open-file): New defun.
13321 (eww-render): Initialize new variables.
13322 (eww-display-html): Handle "link" and "a".
13323 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
13324 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
13325 (eww-back-url): Rename from eww-previous-url.
13326 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13327 New defuns.
13328
13329 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
13330
13331 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
13332 Distinguish ternary operator tokens from slash symbol and slash
13333 char literal.
13334
13335 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13336
13337 Convert symbol prettification into minor mode and global minor mode.
13338
13339 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
13340 `prog-prettify-symbols', and make a local defvar instead of defcustom.
13341 (prettify-symbols--keywords): Rename from
13342 `prog-prettify-symbols-alist' and make a local defvar.
13343 (prettify-symbols--compose-symbol): Rename from
13344 `prog--prettify-font-lock-compose-symbol'.
13345 (prettify-symbols--make-keywords): Rename from
13346 `prog-prettify-font-lock-symbols-keywords' and simplify.
13347 (prog-prettify-install): Remove.
13348 (prettify-symbols-mode): New minor mode, based on
13349 `prog-prettify-install'.
13350 (turn-on-prettify-symbols-mode): New function.
13351 (global-prettify-symbols-mode): New globalized minor mode.
13352
13353 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13354 * progmodes/cfengine.el (cfengine3-mode):
13355 * progmodes/perl-mode.el (perl-mode): Don't call
13356 `prog-prettify-install'; set `prettify-symbols-alist' instead.
13357
13358 2013-06-18 Juri Linkov <juri@jurta.org>
13359
13360 * files-x.el (modify-file-local-variable-message): New function.
13361 (modify-file-local-variable)
13362 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
13363 and call `modify-file-local-variable-message' when it's non-nil.
13364 (add-file-local-variable, delete-file-local-variable)
13365 (add-file-local-variable-prop-line)
13366 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
13367 and use it. (Bug#9820)
13368
13369 2013-06-18 Juri Linkov <juri@jurta.org>
13370
13371 * emulation/vi.el (vi-shell-op):
13372 * emulation/vip.el (vip-execute-com, ex-command):
13373 * emulation/viper-cmd.el (viper-exec-bang):
13374 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
13375 the call of `shell-command-on-region'. (Bug#14637)
13376
13377 * simple.el (shell-command-on-region): Doc fix.
13378
13379 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13380
13381 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
13382 (bug#14633).
13383
13384 2013-06-18 Glenn Morris <rgm@gnu.org>
13385
13386 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
13387
13388 * newcomment.el (comment-search-forward, comment-search-backward):
13389 Doc fix. (Bug#14376)
13390
13391 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13392
13393 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
13394 (buffer-face-mode-invoke): Doc fix.
13395
13396 2013-06-18 Matthias Meulien <orontee@gmail.com>
13397
13398 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
13399 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
13400
13401 2013-06-18 Glenn Morris <rgm@gnu.org>
13402
13403 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
13404 Replace obsolete function generic-make-keywords with its expansion.
13405
13406 * progmodes/python.el (ffap-alist): Declare.
13407
13408 * textmodes/reftex.el (bibtex-mode-map): Declare.
13409
13410 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13411
13412 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
13413 (package-unpack, package-unpack-single): Return the pkg-dir.
13414 (package-download-transaction): Use it to update package-alist.
13415
13416 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13417
13418 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
13419 possible choice.
13420
13421 2013-06-17 Juri Linkov <juri@jurta.org>
13422
13423 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
13424
13425 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13426
13427 * emacs-lisp/package.el (package-load-descriptor):
13428 Remove `with-syntax-table' call, `read' doesn't need it.
13429 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
13430
13431 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13432
13433 * startup.el (command-line): Expand package name returned by
13434 `package--description-file' (bug#14639).
13435
13436 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13437
13438 * emacs-lisp/package.el (package-load-descriptor): Do not call
13439 `emacs-lisp-mode', just use its syntax table.
13440
13441 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13442
13443 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
13444 `font-lock-extra-managed-props' if any prettifying keyword is added.
13445 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
13446 (prog-mode): Use `setq-local'.
13447
13448 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13449
13450 * international/characters.el (standard-case-table): Set syntax of ?»
13451 and ?« to punctuation.
13452
13453 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
13454
13455 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13456 Save relevant match data before calling `syntax-ppss' (bug#14595).
13457
13458 2013-06-15 Juri Linkov <juri@jurta.org>
13459
13460 * files-x.el (modify-file-local-variable-prop-line): Add local
13461 variables to the end of the existing comment on the first line.
13462 Use `file-auto-mode-skip' to skip interpreter magic line,
13463 and also skip XML declaration.
13464
13465 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13466
13467 * startup.el (package--builtin-versions): New var.
13468 (package-subdirectory-regexp): Remove.
13469 (package--description-file): Hard code its value instead.
13470
13471 * emacs-lisp/package.el: Don't activate packages older than builtin.
13472 (package-obsolete-list): Rename from package-obsolete-alist, and make
13473 it into a simple list of package-desc.
13474 (package-strip-version): Remove.
13475 (package-built-in-p): Use package--builtin-versions.
13476 (package-mark-obsolete): Simplify.
13477 (package-process-define-package): Mark it obsolete if older than the
13478 builtin version.
13479 (package-handle-response): Use line-end-position.
13480 (package-read-archive-contents, package--download-one-archive):
13481 Simplify.
13482 (package--add-to-archive-contents): Skip if older than the builtin or
13483 installed version.
13484 (package-menu-describe-package): Fix last change.
13485 (package-list-unversioned): New var.
13486 (package-menu--generate): Use it.
13487
13488 * emacs-lisp/autoload.el: Manage package--builtin-versions.
13489 (autoload--insert-text, autoload--insert-cookie-text): New functions.
13490 (autoload-builtin-package-versions): New variable.
13491 (autoload-generate-file-autoloads): Use them.
13492 Remove the list of autoloaded functions/macros from the
13493 (autoload...) comments.
13494
13495 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13496
13497 2013-06-15 Eli Zaretskii <eliz@gnu.org>
13498
13499 * simple.el (line-move-partial): Don't jump to the next screen
13500 line as soon as it becomes visible. Instead, continue enlarging
13501 the vscroll until the portion of a tall screen line that's left on
13502 display is about the height of the frame's default font.
13503 (Bug#14567)
13504
13505 2013-06-15 Glenn Morris <rgm@gnu.org>
13506
13507 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13508 compilation-error-regexp-alist void, or local while let-bound.
13509
13510 * progmodes/make-mode.el (makefile-mode-syntax-table):
13511 Treat "=" as punctuation. (Bug#14614)
13512
13513 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
13514
13515 * help-fns.el (describe-variable):
13516 Add extra line for permanent-local variables.
13517
13518 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
13519
13520 * progmodes/scheme.el (scheme-font-lock-keywords-2):
13521 Add export, import, library. (Bug#9164)
13522 (library): Set indent function.
13523
13524 2013-06-14 Glenn Morris <rgm@gnu.org>
13525
13526 * term/xterm.el (xterm--query):
13527 Stop after first matching handler. (Bug#14615)
13528
13529 2013-06-14 Ivan Kanis <ivan@kanis.fr>
13530
13531 Add support for dired in saveplace.
13532 * dired.el (dired-initial-position-hook): New variable.
13533 (dired-initial-position): Call hook to place cursor position.
13534 * saveplace.el (save-place-to-alist): Add dired position.
13535 (save-place-dired-hook): New function.
13536
13537 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
13538
13539 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13540 through a symbol rather than letrec.
13541
13542 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
13543 (package-desc): Add `dir' field.
13544 (package-desc-full-name): New function.
13545 (package-load-descriptor): Combine the two arguments. Don't use `load'.
13546 (package-maybe-load-descriptor): Remove.
13547 (package-load-all-descriptors): Just call package-load-descriptor.
13548 (package--disabled-p): New function.
13549 (package-desc-vers, package-desc-doc): Remove aliases.
13550 (package--dir): Remove function.
13551 (package-activate): Check if a package is disabled.
13552 (package-process-define-package): New function, extracted from
13553 define-package.
13554 (define-package): Turn into a place holder.
13555 (package-unpack-single, package-tar-file-info):
13556 Use package--description-file.
13557 (package-compute-transaction): Use package--disabled-p.
13558 (package-download-transaction): Don't call
13559 package-maybe-load-descriptor since they're all loaded anyway.
13560 (package-install): Change argument to be a pkg-desc.
13561 (package-delete): Use a single pkg-desc argument.
13562 (describe-package-1): Use package-desc-dir instead of package--dir.
13563 Use package-desc property instead of package-symbol.
13564 (package-install-button-action): Adjust accordingly.
13565 (package--push): Rewrite.
13566 (package-menu--print-info): Adjust accordingly. Change the ID format
13567 to be a pkg-desc.
13568 (package-menu-describe-package, package-menu-get-status)
13569 (package-menu--find-upgrades, package-menu-mark-upgrades)
13570 (package-menu-execute, package-menu--name-predicate):
13571 Adjust accordingly.
13572 * startup.el (package--description-file): New function.
13573 (command-line): Use it.
13574 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13575 Use package-desc-version.
13576
13577 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13578 (byte-compile-preprocess): Use it.
13579 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13580 can't quite recognize.
13581 (byte-compile-add-to-list): Remove.
13582 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13583 (cconv-closure-convert): Add assertion.
13584
13585 * emacs-lisp/map-ynp.el: Use lexical-binding.
13586 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13587 Factor out some repeated code.
13588
13589 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13590
13591 * subr.el (with-eval-after-load): New macro.
13592 (eval-after-load): Allow form to be a function.
13593 take advantage of lexical-binding.
13594 (do-after-load-evaluation): Use dolist and adjust to new format.
13595 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13596
13597 2013-06-13 Juri Linkov <juri@jurta.org>
13598
13599 * replace.el (perform-replace): Display "symbol " and other search
13600 modes from `isearch-message-prefix' in the *Help* buffer.
13601
13602 * isearch.el (isearch-query-replace): Add " symbol" and other
13603 possible search modes from `isearch-message-prefix' to the prompt.
13604 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13605 when reading a regexp to collect.
13606
13607 2013-06-13 Juri Linkov <juri@jurta.org>
13608
13609 * isearch.el (word-search-regexp): Match whitespace if the search
13610 string begins or ends in whitespace. The LAX arg is applied to
13611 both ends of the search string. Use `regexp-quote' and explicit
13612 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13613 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13614 boundaries are replaced with symbol boundaries, and characters
13615 between symbols match non-word non-symbol syntax. (Bug#14602)
13616
13617 2013-06-13 Juri Linkov <juri@jurta.org>
13618
13619 * isearch.el (isearch-del-char): Don't exceed the length of
13620 `isearch-string' by the prefix arg. (Bug#14563)
13621
13622 2013-06-13 Juri Linkov <juri@jurta.org>
13623
13624 * isearch.el (isearch-yank-word, isearch-yank-line)
13625 (isearch-char-by-name, isearch-quote-char)
13626 (isearch-printing-char, isearch-process-search-char):
13627 Add optional count prefix arg. (Bug#14563)
13628
13629 * international/isearch-x.el
13630 (isearch-process-search-multibyte-characters):
13631 Add optional count prefix arg.
13632
13633 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13634
13635 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13636 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13637 lexical-binding.
13638
13639 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13640
13641 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13642
13643 2013-06-13 Glenn Morris <rgm@gnu.org>
13644
13645 * startup.el (tty-handle-args):
13646 Don't just discard "--" and anything after. (Bug#14608)
13647
13648 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13649
13650 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13651
13652 Implement changes in Secret Service API. Make it backward compatible.
13653 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13654 (secrets-create-item): Use it. Prefix properties with interface.
13655
13656 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13657
13658 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13659 (term-emulate-terminal): Respect term-suppress-hard-newline.
13660
13661 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13662
13663 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13664 Only remove a `thumb-file' overlay. (Bug#14548)
13665
13666 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13667
13668 * mail/reporter.el (reporter-submit-bug-report):
13669 Handle missing package-name. (Bug#14600)
13670
13671 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13672
13673 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13674 (reftex-citation-prompt, reftex-default-bibliography)
13675 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13676 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13677 (reftex-bib-sort-author, reftex-bib-sort-year)
13678 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13679 (reftex-extract-bib-entries-from-thebibliography)
13680 (reftex-get-bibkey-default, reftex-get-bib-names)
13681 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13682 (reftex-format-bib-entry, reftex-parse-bibitem)
13683 (reftex-format-bibitem, reftex-do-citation)
13684 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13685 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13686 (reftex-insert-bib-matches, reftex-format-citation)
13687 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13688 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13689 existing comments into docstrings.
13690
13691 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13692
13693 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13694
13695 2013-06-12 Andreas Schwab <schwab@suse.de>
13696
13697 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13698 for auto-save files.
13699
13700 2013-06-12 Glenn Morris <rgm@gnu.org>
13701
13702 * ido.el (ido-delete-ignored-files): Remove.
13703 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13704 Go back to calling ido-ignore-item-p directly.
13705
13706 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13707
13708 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13709
13710 * ido.el (ido-delete-ignored-files): New function,
13711 split from ido-make-file-list-1.
13712 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13713 (ido-make-file-list-1): Use ido-delete-ignored-files.
13714
13715 2013-06-12 Leo Liu <sdl.web@gmail.com>
13716
13717 * progmodes/octave.el (inferior-octave-startup)
13718 (inferior-octave-completion-table)
13719 (inferior-octave-track-window-width-change)
13720 (octave-eldoc-function-signatures, octave-help)
13721 (octave-find-definition): Use single quoted strings.
13722 (inferior-octave-startup-args): Change default value.
13723 (inferior-octave-startup): Do not hard code "-i" and
13724 "--no-line-editing".
13725 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13726 (inferior-octave-directory-tracker): Use it.
13727 (octave-goto-function-definition): Robustify.
13728 (octave-help): Support highlighting operators in 'See also'.
13729 (octave-find-definition): Find subfunctions only in Octave mode.
13730
13731 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13732
13733 * help-fns.el (help-fns--compiler-macro): If the handler function is
13734 named, then put a link to it.
13735 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13736 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13737 (cl-typep): Use it.
13738 (cl-eval-when): Simplify debug spec.
13739 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13740 compiler-macro function instead of setting `compiler-macro-file'.
13741
13742 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13743
13744 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13745 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13746
13747 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13748 Daniel Hackney <dan@haxney.org>
13749
13750 First part of Daniel Hackney's patch to package.el.
13751 * emacs-lisp/package.el: Use defstruct.
13752 (package-desc): New, main struct.
13753 (package--bi-desc, package--ac-desc): New structs, used to describe the
13754 format in external files.
13755 (package-desc-vers): Replace with package-desc-version accessor.
13756 (package-desc-doc): Replace with package-desc-summary accessor.
13757 (package-activate-1): Remove `package' arg since the pkg-vec now
13758 includes the name.
13759 (define-package): Use package-desc-from-define.
13760 (package-unpack-single): Change file-name arg to be a symbol.
13761 (package--add-to-archive-contents): Use package-desc-create and new
13762 accessor functions to package--ac-desc.
13763 (package-buffer-info, package-tar-file-info): Return a package-desc.
13764 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13765 arg to be a package-desc.
13766 (package-install-file): Adjust accordingly. Use \' to match EOS.
13767 (package--from-builtin): New function.
13768 (describe-package-1, package-menu--generate): Use it.
13769 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13770 (package-generate-autoloads): Idem and return the name of the file.
13771 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13772 Change pkg-info arg to be a package-desc.
13773 Use package-make-ac-desc.
13774 (package-upload-file): Use \' to match EOS.
13775 * finder.el (finder-compile-keywords): Use package-make-builtin.
13776
13777 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13778
13779 * vc/vc.el (vc-deduce-fileset): Change error message.
13780 (vc-read-backend): New function.
13781 (vc-next-action): Use it.
13782
13783 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13784
13785 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13786 (prolog-font-lock-keywords): Use regexp-opt instead.
13787 Don't manually highlight strings.
13788 (prolog-mode-variables): Simplify comment-start-skip.
13789 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13790
13791 * emacs-lisp/generic.el (generic--normalise-comments)
13792 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13793 (generic-mode-set-comments): Use them.
13794 (generic-bracket-support): Use setq-local.
13795 (generic-make-keywords-list): Declare obsolete.
13796
13797 2013-06-11 Glenn Morris <rgm@gnu.org>
13798
13799 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13800 Prettify after setting font-lock-defaults. (Bug#14574)
13801
13802 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13803
13804 * replace.el (query-replace, occur-read-regexp-defaults-function)
13805 (replace-search):
13806 * subr.el (declare-function, number-sequence, local-set-key)
13807 (substitute-key-definition, locate-user-emacs-file)
13808 (with-silent-modifications, split-string, eval-after-load):
13809 Fix typos, remove unneeded backslashes and reflow some docstrings.
13810
13811 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13812
13813 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13814 default for Elisp files.
13815
13816 2013-06-11 Glenn Morris <rgm@gnu.org>
13817
13818 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13819 although define-derived-mode was doing this anyway. (Bug#14583)
13820
13821 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13822
13823 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13824 Fix make-variable-buffer-local call to refer to the correct variable.
13825
13826 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13827
13828 * eshell/em-term.el (eshell-visual-commands)
13829 (eshell-visual-subcommands, eshell-visual-options):
13830 Add summary line to docstrings. Add cross-references.
13831
13832 2013-06-10 Glenn Morris <rgm@gnu.org>
13833
13834 * epa.el (epa-read-file-name): New function. (Bug#14510)
13835 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13836
13837 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13838
13839 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13840 output redirection to be ignored with visual commands.
13841
13842 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13843
13844 * eshell/em-term.el (eshell-visual-command-p): New function.
13845 (eshell-term-initialize): Move long lambda to separate function
13846 eshell-visual-command-p.
13847 * eshell/em-dirs.el (eshell-dirs-initialize):
13848 * eshell/em-script.el (eshell-script-initialize):
13849 Add missing #' to lambda.
13850
13851 2013-06-08 Leo Liu <sdl.web@gmail.com>
13852
13853 * progmodes/octave.el (octave-add-log-current-defun): New function.
13854 (octave-mode): Set add-log-current-defun-function.
13855 (octave-goto-function-definition): Do not move point if not found.
13856 (octave-find-definition): Enhance to try subfunctions first.
13857
13858 2013-06-08 Glenn Morris <rgm@gnu.org>
13859
13860 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13861 (byte-compile-backward-char, byte-compile-backward-word):
13862 Improve previous change, to handle non-explicit nil.
13863
13864 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13865
13866 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13867 (smie--opener/closer-at-point): New function.
13868 (smie--matching-block-data): Use it. Don't match from right after an
13869 opener or right before a closer. Obey smie-blink-matching-inners.
13870 Don't signal a mismatch for repeated inners like "switch..case..case".
13871
13872 2013-06-07 Leo Liu <sdl.web@gmail.com>
13873
13874 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13875 to t. (Bug#14303)
13876 (octave-function-header-regexp): Fix. (Bug#14570)
13877 (octave-help-mode-finish-hook, octave-help-mode-finish):
13878 Remove. Just use temp-buffer-show-hook.
13879
13880 * newcomment.el (comment-search-backward): Revert last change.
13881 (Bug#14434)
13882
13883 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13884
13885 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13886
13887 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13888 through xargs, to avoid failure due to MS-Windows limitations on
13889 command-line length.
13890
13891 2013-06-06 Glenn Morris <rgm@gnu.org>
13892
13893 * font-lock.el (lisp-font-lock-keywords-2):
13894 Treat user-error like error.
13895
13896 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13897 (byte-compile-backward-char, byte-compile-backward-word):
13898 Handle explicit nil arguments. (Bug#14565)
13899
13900 2013-06-05 Alan Mackenzie <acm@muc.de>
13901
13902 * isearch.el (isearch-allow-prefix): New user option.
13903 (isearch-other-meta-char): Don't exit isearch when a prefix
13904 argument is typed whilst `isearch-allow-prefix' is non-nil.
13905 (Bug#9706)
13906
13907 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13908
13909 * autorevert.el (auto-revert-notify-handler): Use memq.
13910 Hide assertion failure.
13911
13912 * skeleton.el: Use cl-lib.
13913 (skeleton-further-elements): Use defvar-local.
13914 (skeleton-insert): Use cl-progv.
13915
13916 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13917
13918 * progmodes/prog-mode.el (prog-prettify-symbols)
13919 (prog-prettify-install): Update docstrings.
13920
13921 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13922
13923 * simple.el: Move all the prog-mode code to prog-mode.el.
13924 * progmodes/prog-mode.el: New file.
13925 * loadup.el: Add prog-mode.el.
13926
13927 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13928
13929 * simple.el (prog-prettify-symbols): Add version.
13930 (prog-prettify-install): Add convenience function to prettify symbols.
13931
13932 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13933 (perl--augmented-font-lock-keywords-1)
13934 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13935 variables and use it.
13936
13937 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13938 (cfengine3-mode): Remove unneeded variable and use it.
13939
13940 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13941 (lisp--augmented-font-lock-keywords-1)
13942 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13943 Remove unneeded variables and use it.
13944
13945 2013-06-05 João Távora <joaotavora@gmail.com>
13946
13947 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13948 to point when opening the connection. (Bug#14380)
13949
13950 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13951
13952 * subr.el (load-history-regexp, load-history-filename-element)
13953 (eval-after-load, after-load-functions, do-after-load-evaluation)
13954 (eval-next-after-load, display-delayed-warnings)
13955 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13956 definition of save-match-data.
13957 (overriding-local-map): Remove accidental obsolescence declaration.
13958
13959 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13960
13961 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13962
13963 Generalize symbol prettify support to prog-mode and implement it
13964 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13965 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13966 (prog--prettify-font-lock-compose-symbol)
13967 (prog-prettify-font-lock-symbols-keywords): New variables and
13968 functions to support symbol prettification.
13969 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13970 (lisp--augmented-font-lock-keywords-1)
13971 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13972 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13973 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13974 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13975 Implement prettify of -> => :: strings.
13976 * progmodes/perl-mode.el (perl-prettify-symbols)
13977 (perl--font-lock-compose-symbol)
13978 (perl--font-lock-symbols-keywords): Move to prog-mode.
13979 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13980 (perl-font-lock-keywords-1)
13981 (perl-font-lock-keywords-2): Remove explicit prettify support.
13982 (perl--augmented-font-lock-keywords)
13983 (perl--augmented-font-lock-keywords-1)
13984 (perl--augmented-font-lock-keywords-2, perl-mode):
13985 Implement prettify support.
13986
13987 2013-06-05 Leo Liu <sdl.web@gmail.com>
13988
13989 Re-implement SMIE matching block highlight using
13990 show-paren-data-function. (Bug#14395)
13991 * emacs-lisp/smie.el (smie-matching-block-highlight)
13992 (smie--highlight-matching-block-overlay)
13993 (smie--highlight-matching-block-lastpos)
13994 (smie-highlight-matching-block)
13995 (smie-highlight-matching-block-mode): Remove.
13996 (smie--matching-block-data-cache): New variable.
13997 (smie--matching-block-data): New function.
13998 (smie-setup): Use smie--matching-block-data for
13999 show-paren-data-function.
14000
14001 * progmodes/octave.el (octave-mode-menu): Fix.
14002 (octave-find-definition): Skip garbage lines.
14003
14004 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14005
14006 Fix compilation error with simultaneous dynamic+lexical scoping.
14007 Add warning when a defvar appears after the first let-binding.
14008 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
14009 (byte-compile-close-variables): Initialize it.
14010 (byte-compile--declare-var): New function.
14011 (byte-compile-file-form-defvar)
14012 (byte-compile-file-form-define-abbrev-table)
14013 (byte-compile-file-form-custom-declare-variable): Use it.
14014 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
14015 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
14016 (byte-compile-bind): Handle dynamic bindings that shadow
14017 lexical bindings.
14018 (byte-compile-unbind): Make arg non-optional.
14019 (byte-compile-let): Simplify.
14020 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
14021 (cconv--analyse-function, cconv-analyse-form): Populate it.
14022 Protect byte-compile-bound-variables to limit the scope of defvars.
14023 (cconv-analyse-form): Add missing rule for (defvar <foo>).
14024 Remove unneeded rule for `declare'.
14025
14026 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
14027 so as to avoid depending on cl-adjoin at run-time.
14028 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
14029
14030 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
14031 (macroexp--warn-and-return): Use it.
14032
14033 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14034
14035 * subr.el: Convert to lexical binding.
14036 (overriding-local-map): Make obsolete.
14037 (add-to-list): Doc fix. Add compiler macro.
14038 (read-key): Swap values of local maps.
14039
14040 2013-06-05 Leo Liu <sdl.web@gmail.com>
14041
14042 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
14043
14044 2013-06-04 Leo Liu <sdl.web@gmail.com>
14045
14046 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
14047 (compilation-auto-jump): Suppress the "Mark set" message to give
14048 way to exit message.
14049
14050 2013-06-04 Alan Mackenzie <acm@muc.de>
14051
14052 Remove faulty optimisation from indentation calculation.
14053 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
14054 search limit based on 2000 characters back from indent-point.
14055
14056 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14057
14058 * eshell/em-term.el (cl-lib): Require `cl-lib'.
14059
14060 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
14061
14062 * emacs-lisp/lisp.el: Use lexical-binding.
14063 (lisp--local-variables-1, lisp--local-variables): New functions.
14064 (lisp--local-variables-completion-table): New var.
14065 (lisp-completion-at-point): Use it complete let-bound vars.
14066
14067 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
14068 eagerly (bug#14422).
14069
14070 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
14071
14072 * autorevert.el (auto-revert-notify-enabled)
14073 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
14074 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
14075 (auto-revert-notify-handler): Handle also gfilenotify.
14076
14077 * subr.el (file-notify-handle-event): New defun. Replacing ...
14078 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
14079 Remove.
14080
14081 2013-06-03 Juri Linkov <juri@jurta.org>
14082
14083 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
14084 `M-s h .'. (Bug#14427)
14085
14086 * hi-lock.el (highlight-symbol-at-point): New alias for the new
14087 command `hi-lock-face-symbol-at-point'.
14088 (hi-lock-face-symbol-at-point): New command.
14089 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
14090 (hi-lock-menu): Add `highlight-symbol-at-point'.
14091 (hi-lock-mode): Doc fix.
14092
14093 * isearch.el (isearch-forward-symbol-at-point): New command.
14094 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
14095 (isearch-highlight-regexp): Add a regexp which matches
14096 words/symbols for word/symbol mode.
14097
14098 * subr.el (find-tag-default-bounds): New function with the body
14099 mostly moved from `find-tag-default'.
14100 (find-tag-default): Move most code to `find-tag-default-bounds',
14101 call it and apply `buffer-substring-no-properties' afterwards.
14102
14103 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14104
14105 * eshell/em-term.el (eshell-term-initialize):
14106 Use `cl-intersection' rather than `intersection'.
14107
14108 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
14109
14110 * vc/log-view.el: Doc fix.
14111 (log-view-mode-map): Copy keymap from `special-mode-map'.
14112
14113 2013-06-02 Eric Ludlam <zappo@gnu.org>
14114
14115 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
14116 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
14117 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
14118 (eieio-unbound, eieio-default-superclass)
14119 (eieio--define-field-accessors, method-static, method-before)
14120 (method-primary, method-after, method-num-lists)
14121 (method-generic-before, method-generic-primary)
14122 (method-generic-after, method-num-slots)
14123 (eieio-specialized-key-to-generic-key)
14124 (eieio--check-type, class-v, class-p)
14125 (eieio-class-name, define-obsolete-function-alias)
14126 (eieio-class-parents-fast, eieio-class-children-fast)
14127 (same-class-fast-p, class-constructor, generic-p)
14128 (generic-primary-only-p, generic-primary-only-one-p)
14129 (class-option-assoc, class-option, eieio-object-p)
14130 (class-abstract-p, class-method-invocation-order)
14131 (eieio-defclass-autoload-map, eieio-defclass-autoload)
14132 (eieio-class-un-autoload, eieio-defclass)
14133 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
14134 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
14135 (eieio--defgeneric-init-form, eieio-defgeneric-form)
14136 (eieio-defgeneric-reset-generic-form)
14137 (eieio-defgeneric-form-primary-only)
14138 (eieio-defgeneric-reset-generic-form-primary-only)
14139 (eieio-defgeneric-form-primary-only-one)
14140 (eieio-defgeneric-reset-generic-form-primary-only-one)
14141 (eieio-unbind-method-implementations)
14142 (eieio--defmethod, eieio--typep)
14143 (eieio-perform-slot-validation, eieio-validate-slot-value)
14144 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
14145 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
14146 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
14147 (eieio-slot-name-index, eieio-class-slot-name-index)
14148 (eieio-set-defaults, eieio-initarg-to-attribute)
14149 (eieio-attribute-to-initarg, eieio-c3-candidate)
14150 (eieio-c3-merge-lists, eieio-class-precedence-c3)
14151 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
14152 (eieio-class-precedence-list, eieio-generic-call-methodname)
14153 (eieio-generic-call-arglst, eieio-generic-call-key)
14154 (eieio-generic-call-next-method-list)
14155 (eieio-pre-method-execution-functions, eieio-generic-call)
14156 (eieio-generic-call-primary-only, eieiomt-method-list)
14157 (eieiomt-optimizing-obarray, eieiomt-install)
14158 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
14159 (eieio-generic-form, eieio-defmethod, make-obsolete)
14160 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
14161 (defclass): Remove `eval-and-compile' from macro.
14162 (call-next-method, shared-initialize): Instead of using
14163 `scoped-class' variable, use new eieio--scoped-class, and
14164 eieio--with-scoped-class.
14165 (initialize-instance): Rename local variable 'scoped-class' to
14166 'this-class' to remove ambiguitity from old global.
14167
14168 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
14169 eieio.el.
14170 (eieio--scoped-class-stack): New variable.
14171 (eieio--scoped-class): New fcn.
14172 (eieio--with-scoped-class): New scoping macro.
14173 (eieio-defclass): Use pushnew instead of add-to-list.
14174 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
14175 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
14176 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
14177 `scoped-class' variable, use new eieio--scoped-class, and
14178 eieio--with-scoped-class.
14179
14180 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
14181
14182 2013-06-02 Tassilo Horn <tsdh@gnu.org>
14183
14184 * eshell/esh-ext.el (eshell-external-command): Pass args to
14185 `eshell-find-interpreter'.
14186 (eshell-find-interpreter): Add new second parameter ARGS.
14187
14188 * eshell/em-script.el (eshell-script-initialize): Add second arg
14189 to the function added as MATCH to `eshell-interpreter-alist'.
14190
14191 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
14192 the function added as MATCH to `eshell-interpreter-alist'.
14193
14194 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
14195 (eshell-visual-options): New defcustom.
14196 (eshell-escape-control-x): Adapt docstring.
14197 (eshell-term-initialize): Test `eshell-visual-subcommands' and
14198 `eshell-visual-options' in addition to `eshell-visual-commands'.
14199 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
14200
14201 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
14202
14203 * progmodes/python.el (python-indent-block-enders): Add break,
14204 continue and raise keywords.
14205
14206 2013-06-01 Glenn Morris <rgm@gnu.org>
14207
14208 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
14209
14210 Plain (f)boundp silences compilation warnings since Emacs 22.1.
14211 * progmodes/cc-cmds.el (delete-forward-p):
14212 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
14213 * progmodes/cc-engine.el (buffer-syntactic-context):
14214 * progmodes/cc-fonts.el (face-property-instance):
14215 * progmodes/cc-mode.el (set-keymap-parents):
14216 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
14217 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
14218 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
14219 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
14220 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
14221
14222 * progmodes/cc-vars.el (other): Emacs has this widget since
14223 at least 21.1, so don't (re)define it.
14224
14225 * eshell/em-cmpl.el (eshell-cmpl-initialize):
14226 Replace the obsolete alias pcomplete-arg-quote-list.
14227
14228 2013-06-01 Leo Liu <sdl.web@gmail.com>
14229
14230 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
14231 punctuation syntax.
14232 (inferior-octave-minimal-columns)
14233 (inferior-octave-last-column-width): New variables.
14234 (inferior-octave-track-window-width-change): New function.
14235 (inferior-octave-mode): Adjust column width so that Octave output,
14236 for example from 'ls', can fit into the window nicely.
14237
14238 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14239
14240 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14241 Highlight expansions inside regexp literals.
14242
14243 2013-05-31 Glenn Morris <rgm@gnu.org>
14244
14245 * obsolete/sym-comp.el (symbol-complete):
14246 Replace obsolete completion-annotate-function.
14247
14248 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
14249
14250 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14251
14252 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14253 New function, checks if point is inside a literal that allows
14254 expression expansion.
14255 (ruby-syntax-propertize-expansion): Use it.
14256 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
14257 around the body.
14258
14259 2013-05-30 Juri Linkov <juri@jurta.org>
14260
14261 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
14262 to "\M-si".
14263 (isearch-invisible): New variable.
14264 (isearch-forward): Doc fix.
14265 (isearch-mode): Set `isearch-invisible'
14266 to the value of `search-invisible'.
14267 (isearch-toggle-case-fold): Doc fix.
14268 (isearch-toggle-invisible): New command.
14269 (isearch-query-replace): Let-bind `search-invisible'
14270 to the value of `isearch-invisible'.
14271 (isearch-search): Use `isearch-invisible' instead of
14272 `search-invisible'. Let-bind `search-invisible'
14273 to the value of `isearch-invisible'. (Bug#11378)
14274
14275 2013-05-30 Juri Linkov <juri@jurta.org>
14276
14277 * replace.el (perform-replace): Avoid `isearch-range-invisible'
14278 call when `query-flag' is nil and `search-invisible' is non-nil.
14279 (Bug#11746)
14280
14281 2013-05-30 Glenn Morris <rgm@gnu.org>
14282
14283 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
14284
14285 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
14286 (cc-require): Suppress spurious "noruntime" warnings.
14287 (cc-require-when-compile): Use fboundp, for sake of compiler.
14288
14289 * progmodes/cc-mode.el: Move load of cc-vars before that of
14290 cc-langs (which in turn loads cc-vars), to quieten compiler.
14291
14292 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14293
14294 * paren.el: Simplify the code.
14295 (show-paren-mode): Always start the timer.
14296 (show-paren--idle-timer): Rename from show-paren-idle-timer.
14297 (show-paren--overlay, show-paren--overlay-1): Rename from
14298 show-paren-overlay and show-paren-overlay-1, and initialize to an
14299 overlay rather than to nil.
14300 (show-paren-function): Misc cleanup and simplifications.
14301
14302 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14303
14304 * paren.el (show-paren-data-function): New hook.
14305 (show-paren--default): New function, extracted from show-paren-function.
14306 (show-paren-function): Use show-paren-data-function.
14307
14308 2013-05-30 Glenn Morris <rgm@gnu.org>
14309
14310 * ielm.el (ielm-map, ielm-complete-symbol):
14311 Use completion-at-point rather than obsolete functions.
14312 (inferior-emacs-lisp-mode): Doc fix.
14313 Set completion-at-point-functions, rather than
14314 comint-dynamic-complete-functions.
14315
14316 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
14317 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
14318 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
14319
14320 * image.el (image-animated-p): Tweak definition.
14321
14322 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
14323 (rlogin-process-connection-type): Tweak default. Add set-after.
14324 (rlogin-host): Doc fix.
14325 (rlogin): Tweak prompt.
14326 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
14327
14328 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
14329 * progmodes/tcl.el (inferior-tcl-mode-map):
14330 Use completion-at-point rather than obsolete alias.
14331
14332 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
14333
14334 * minibuffer.el (read-file-name-completion-ignore-case):
14335 Move before completion--in-region, for eager macro expansion.
14336
14337 2013-05-29 Juri Linkov <juri@jurta.org>
14338
14339 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
14340 for total count of matching lines. Add `global-matches' for total
14341 count of matches. Rename `matches' to `lines' for count of
14342 matching lines. Add `matches' for count of matches.
14343 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
14344 to `prev-line' for line number of prev match endpt.
14345 Increment `matches' for every match. Print the number of
14346 matching lines in the header.
14347 (occur-context-lines): Rename `lines' to `curr-line'.
14348 Rename `prev-lines' to `prev-line'. (Bug#14017)
14349
14350 2013-05-29 Juri Linkov <juri@jurta.org>
14351
14352 * replace.el (perform-replace): Add `skip-read-only-count',
14353 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
14354 Increment them for corresponding conditions and report the number
14355 of skipped occurrences in the final message. (Bug#11746)
14356 (query-replace, query-replace-regexp, query-replace-regexp-eval)
14357 (replace-string, replace-regexp): Doc fix.
14358
14359 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14360
14361 * emacs-lisp/trace.el (trace--read-args): Provide a default.
14362
14363 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
14364 prog-mode-map (bug#14504).
14365
14366 2013-05-29 Leo Liu <sdl.web@gmail.com>
14367
14368 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
14369 (octave-help): Small simplification.
14370
14371 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
14372 off the highlight first.
14373
14374 2013-05-29 Glenn Morris <rgm@gnu.org>
14375
14376 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
14377 Handle idlwave-last-system-routine-info-cons-cell being nil.
14378
14379 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14380 (idlwave-write-paths): Simplify via with-temp-buffer.
14381
14382 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
14383 * emulation/cua-rect.el: Also load cua-base at run time.
14384
14385 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
14386 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
14387 (cperl-imenu-on-info): Require imenu.
14388
14389 2013-05-28 Alan Mackenzie <acm@muc.de>
14390
14391 Handle "capitalised keywords" correctly.
14392 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
14393
14394 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
14395
14396 * eshell/em-unix.el: Add -r option to cp.
14397
14398 2013-05-28 Glenn Morris <rgm@gnu.org>
14399
14400 * vc/vc-arch.el (vc-exec-after): Declare.
14401 (vc-switches): Autoload.
14402 * vc/vc-bzr.el: No need to require vc when compiling.
14403 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
14404 (vc-resynch-buffer, vc-dir-refresh): Declare.
14405 (vc-setup-buffer, vc-switches): Autoload.
14406 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
14407 (vc-resynch-buffer): Declare.
14408 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
14409 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
14410 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
14411 (grep-read-regexp, grep-read-files, grep-expand-template)
14412 (vc-dir-refresh): Declare.
14413 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
14414 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
14415 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
14416 * vc/vc-mtn.el (vc-exec-after): Declare.
14417 (vc-switches): Autoload.
14418 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
14419 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
14420 (vc-file-tree-walk): Declare.
14421 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
14422 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
14423 (vc-tag-precondition, vc-rename-master): Autoload.
14424 * vc/vc-svn.el (vc-exec-after): Declare.
14425 (vc-switches, vc-setup-buffer): Autoload.
14426 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
14427 Autoload.
14428 (vc-resynch-buffer): Declare.
14429
14430 * obsolete/fast-lock.el (byte-compile-warnings):
14431 Don't warn about obsolete features in this obsolete file.
14432
14433 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
14434 Move definition before use.
14435
14436 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
14437 (dun-unix-verbs): Remove dun-zippy.
14438 (dun-zippy): Remove function.
14439
14440 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
14441
14442 2013-05-27 Juri Linkov <juri@jurta.org>
14443
14444 * replace.el (replace-search): New function with code moved out
14445 from `perform-replace'.
14446 (replace-highlight, replace-dehighlight): Move function definitions
14447 up closer to `replace-search'. (Bug#11746)
14448
14449 2013-05-27 Juri Linkov <juri@jurta.org>
14450
14451 * replace.el (perform-replace): Ignore invisible matches.
14452 In addition to checking `query-replace-skip-read-only', also
14453 filter out matches by calling `run-hook-with-args-until-failure'
14454 on `isearch-filter-predicates', and also check `search-invisible'
14455 for t or call `isearch-range-invisible'.
14456 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
14457
14458 2013-05-27 Juri Linkov <juri@jurta.org>
14459
14460 * isearch.el (isearch-filter-predicates): Rename from
14461 `isearch-filter-predicate'. Doc fix. (Bug#11378)
14462 (isearch-message-prefix): Display text from the property
14463 `isearch-message-prefix' of the currently active filters.
14464 (isearch-search): Don't compare `isearch-filter-predicate' with
14465 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
14466 on `isearch-filter-predicates'. Also check `search-invisible' for t
14467 or call `isearch-range-invisible'.
14468 (isearch-filter-visible): Make obsolete.
14469 (isearch-lazy-highlight-search):
14470 Call `run-hook-with-args-until-failure' on
14471 `isearch-filter-predicates' and use `isearch-range-invisible'.
14472
14473 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14474 `isearch-filter-predicates' instead of `funcall'ing
14475 `isearch-filter-predicate'.
14476 (Info-mode): Set `Info-isearch-filter' to
14477 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14478
14479 * dired-aux.el (dired-isearch-filter-predicate-orig):
14480 Remove variable.
14481 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14482 (dired-isearch-filenames-end): Add and remove
14483 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14484 instead of changing the value of `isearch-filter-predicate'.
14485 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14486 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14487 Put property `isearch-message-prefix' to "filename " on
14488 `dired-isearch-filter-filenames'.
14489
14490 * wdired.el (wdired-change-to-wdired-mode):
14491 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14492 locally instead of changing `isearch-filter-predicate'.
14493 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14494
14495 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
14496
14497 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14498 return the commit hash (Bug#14459). Also set the
14499 `vc-git-detached' property.
14500 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14501 (vc-git-mode-line-string): Use the same help-echo format whether
14502 in detached mode or not, because we know the actual revision now.
14503 When in detached mode, shorten the revision to 7 chars.
14504
14505 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14506
14507 * emacs-lisp/easy-mmode.el (define-minor-mode):
14508 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14509 mode hook and provide a docstring.
14510
14511 2013-05-27 Alan Mackenzie <acm@muc.de>
14512
14513 Remove spurious syntax-table text properties inserted by C-y.
14514 * progmodes/cc-mode.el (c-after-change): Also clear hard
14515 syntax-table property with value nil.
14516
14517 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
14518
14519 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14520 when reading the events; the buffer layout shall not be changed.
14521
14522 2013-05-27 Leo Liu <sdl.web@gmail.com>
14523
14524 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14525 New variable.
14526 (inferior-octave-directory-tracker): Automatically re-sync
14527 default-directory.
14528 (octave-help): Improve handling of 'See also'.
14529
14530 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14531
14532 * doc-view.el: Minor naming convention tweaks.
14533 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14534
14535 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14536 even if there's no `display' property yet (bug#14435).
14537
14538 2013-05-25 Eli Zaretskii <eliz@gnu.org>
14539
14540 * subr.el (unmsys--file-name): Rename from reveal-filename.
14541
14542 * Makefile.in (custom-deps, finder-data, autoloads)
14543 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14544 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14545 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14546
14547 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14548
14549 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14550 error-completion on the first 2 args of condition-case (bug#14446).
14551 Don't burp at EOB.
14552
14553 2013-05-25 Leo Liu <sdl.web@gmail.com>
14554
14555 * comint.el (comint-previous-matching-input): Do not flood the
14556 *Messages* buffer with trivial messages.
14557
14558 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14559
14560 * progmodes/flymake.el (flymake-nop): Don't return a string.
14561 (flymake-set-at): Fix typo.
14562
14563 * simple.el (read--expression): New function, extracted from
14564 eval-expression. Set completion-at-point-functions (bug#14465).
14565 (eval-expression, eval-minibuffer): Use it.
14566
14567 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
14568
14569 * progmodes/flymake.el (flymake-save-buffer-in-file)
14570 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14571 (flymake-selected-frame, flymake-log, flymake-ins-after)
14572 (flymake-set-at, flymake-get-buildfile-from-cache)
14573 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14574 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14575 Refine the doc string.
14576 (flymake-get-file-name-mode-and-masks): Reformat.
14577 (flymake-get-real-file-name-function): Fix a minor bug.
14578
14579 2013-05-24 Juri Linkov <juri@jurta.org>
14580
14581 * progmodes/grep.el (grep-mode-font-lock-keywords):
14582 Support =linenumber= format used by git-grep for lines with
14583 function names. (Bug#13549)
14584
14585 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14586
14587 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14588 0 after a semi-colon; it works better for smie-auto-fill.
14589 (octave--indent-new-comment-line): New function.
14590 (octave-indent-new-comment-line): Use it (indirectly).
14591 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14592 modify comment-line-break-function.
14593
14594 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14595 (smie-setup): Use add-function to set it.
14596
14597 2013-05-24 Sam Steingold <sds@gnu.org>
14598
14599 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14600 argument (before the `interactive' argument).
14601
14602 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14603
14604 * image-mode.el (image-mode-winprops): Add winprops to
14605 image-mode-winprops-alist before running
14606 image-mode-new-window-functions.
14607 * doc-view.el (doc-view-new-window-function): Don't delay
14608 doc-view-goto-page via timers (bug#14435).
14609
14610 2013-05-24 Tassilo Horn <tsdh@gnu.org>
14611
14612 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14613 (doc-view-desktop-save-buffer): New function.
14614 (doc-view-restore-desktop-buffer): New function.
14615 (desktop-buffer-mode-handlers):
14616 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14617 handler.
14618 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14619 `desktop-save-buffer' function.
14620
14621 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
14622
14623 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14624 (tramp-gvfs-file-name-handler): Raise a user error when
14625 `tramp-gvfs-enabled' is nil.
14626 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14627 Do not raise a user error when loading package. (Bug#14447)
14628
14629 * net/xesam.el: Move to obsolete/.
14630
14631 2013-05-24 Glenn Morris <rgm@gnu.org>
14632
14633 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14634
14635 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14636
14637 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14638 (Info-find-node, Man-getpage-in-background): Declare.
14639
14640 * mail/unrmail.el (unrmail):
14641 Replace obsolete detect-coding-with-priority.
14642
14643 * net/socks.el (socks-split-string): Use this rather than split-string.
14644 (socks-nslookup-host): Update for above change.
14645 (dynamic-choice, s5-dynamic-choice-match)
14646 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14647 Comment out unused code.
14648
14649 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14650 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14651 (gud-tooltip-echo-area): Make obsolete.
14652 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14653
14654 * progmodes/js.el (js--optimize-arglist): Declare.
14655
14656 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14657
14658 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14659 (ediff-window-C): Declare.
14660
14661 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14662 Tweak requires to silence compiler.
14663
14664 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14665 (he-search-string, he-tried-table, he-expand-list)
14666 (he-init-string, he-string-member, he-substitute-string)
14667 (he-reset-string): Declare.
14668
14669 * obsolete/options.el (list-options): Use custom-variable-p,
14670 rather than obsolete alias.
14671
14672 2013-05-23 Sam Steingold <sds@gnu.org>
14673
14674 * simple.el (shell-command-on-region): Pass the `replace' argument
14675 down to `call-process-region' to comply with the doc as reported on
14676 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14677
14678 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14679
14680 * emacs-lisp/smie.el (smie-indent-forward-token)
14681 (smie-indent-backward-token): Handle string tokens (bug#14381).
14682
14683 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14684
14685 * ielm.el (ielm-menu): New menu.
14686 (inferior-emacs-lisp-mode): Set comment-start.
14687
14688 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14689
14690 * textmodes/reftex.el (reftex-ref-style-toggle):
14691 Fix deactivate action.
14692
14693 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14694 Add cleveref macros.
14695
14696 * textmodes/reftex-parse.el
14697 (reftex-locate-bibliography-files): Accept options for
14698 bibliography commands.
14699 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14700 Add addbibresource. Basic Biblatex support.
14701
14702 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14703
14704 * net/tramp-gvfs.el (top):
14705 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14706 when loading package. (Bug#14447)
14707
14708 2013-05-23 Glenn Morris <rgm@gnu.org>
14709
14710 * progmodes/js.el: No need to load comint when compiling.
14711 (ring-insert, comint-send-string, comint-send-input)
14712 (comint-last-input-end, ido-chop): Declare.
14713
14714 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14715 * vc/ediff-mult.el: Adjust requires.
14716 (ediff-directories-internal, ediff-directory-revisions-internal)
14717 (ediff-patch-file-internal): Declare.
14718 * vc/ediff-ptch.el: Adjust requires.
14719 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14720 (ediff-find-file): Autoload.
14721 * vc/ediff-util.el: No need to load ediff when compiling.
14722 (ediff-regions-internal): Declare.
14723 * vc/ediff-wind.el: Adjust requires.
14724 (ediff-compute-toolbar-width): Define when compiling.
14725 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14726 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14727 (dired-get-filename, dired-get-marked-files)
14728 (ediff-last-dir-patch, ediff-patch-default-directory)
14729 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14730 (ediff-patch-buffer-internal): Declare.
14731
14732 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14733 (ispell-process, ispell-buffer-local-words, lm-summary)
14734 (lm-section-start, lm-section-end): Declare.
14735 (checkdoc-ispell-init): Simplify.
14736
14737 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14738 (he-string-member, he-reset-string, he-substitute-string): Declare.
14739
14740 * eshell/em-ls.el: Adjust requires.
14741 (eshell-glob-regexp): Declare.
14742 * eshell/em-tramp.el: Adjust requires.
14743 (eshell-parse-command): Autoload.
14744 * eshell/em-xtra.el: Adjust requires.
14745 (eshell-parse-command): Autoload.
14746 * eshell/esh-ext.el: Adjust requires.
14747 (eshell-parse-command, eshell-close-handles): Autoload.
14748 * eshell/esh-io.el: Adjust requires.
14749 (eshell-output-filter): Autoload.
14750 * eshell/esh-util.el: No need to load tramp when compiling.
14751 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14752 Declare.
14753 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14754 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14755 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14756 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14757 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14758 * eshell/esh-opt.el, eshell/esh-proc.el:
14759 * eshell/esh-var.el: Adjust requires.
14760 * eshell/eshell.el: Do not require esh-util twice.
14761 (eshell-add-input-to-history): Declare.
14762 (eshell-command): Check history module is active before using it.
14763
14764 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14765
14766 2013-05-22 Leo Liu <sdl.web@gmail.com>
14767
14768 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14769
14770 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14771
14772 * autorevert.el (auto-revert-notify-add-watch)
14773 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14774 it indicates changes in file modification time.
14775
14776 2013-05-22 Glenn Morris <rgm@gnu.org>
14777
14778 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14779 Always delete the autoloaded function from the noruntime and
14780 unresolved functions lists.
14781
14782 * allout.el: No need to load epa, epg, overlay when compiling.
14783 (epg-context-set-passphrase-callback, epg-list-keys)
14784 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14785 (epg-key-user-id-list): Declare.
14786
14787 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14788 (viper-set-parsing-style-toggling-macro)
14789 (viper-set-emacs-state-searchstyle-macros):
14790 Use called-interactively-p on Emacs.
14791 (viper-looking-back): Make it an obsolete alias. Update callers.
14792 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14793 Use looking-back rather than viper-looking-back.
14794 (viper-tmp-insert-at-eob, viper-enlarge-region)
14795 (viper-read-string-with-history, viper-register-to-point)
14796 (viper-append-to-register, viper-change-state-to-vi)
14797 (viper-backward-char-carefully, viper-forward-char-carefully)
14798 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14799 (viper-change-state-to-emacs): Declare.
14800 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14801 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14802 * emulation/viper-mous.el: Do not load viper-cmd.
14803 (viper-backward-char-carefully, viper-forward-char-carefully)
14804 (viper-forward-word, viper-adjust-window): Declare.
14805
14806 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14807
14808 * progmodes/idlw-help.el (idlwave-help-fontify):
14809 Use called-interactively-p.
14810
14811 * term/w32console.el (w32-get-console-codepage)
14812 (w32-get-console-output-codepage): Declare.
14813
14814 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14815 Remove unnecessary declarations.
14816 (dframe-message): Doc fix.
14817
14818 * info.el (dframe-select-attached-frame, dframe-current-frame):
14819 Declare.
14820
14821 * speedbar.el (speedbar-message): Make it an obsolete alias.
14822 Update all callers.
14823 (speedbar-with-attached-buffer)
14824 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14825 (speedbar-with-writable): Use backquote.
14826 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14827 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14828 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14829 rather than speedbar- aliases.
14830 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14831 (speedbar-make-specialized-keymap, speedbar-insert-button)
14832 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14833 (speedbar-do-function-pointer): Declare.
14834 (rmail-speedbar-button, rmail-speedbar-find-file)
14835 (rmail-speedbar-move-message):
14836 Use dframe-with-attached-buffer rather than speedbar- alias.
14837 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14838 (dframe-message, speedbar-make-specialized-keymap)
14839 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14840 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14841 (speedbar-insert-button, dframe-select-attached-frame)
14842 (dframe-maybee-jump-to-attached-frame)
14843 (speedbar-change-initial-expansion-list)
14844 (speedbar-previously-used-expansion-list-name): Declare.
14845 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14846 Use dframe-message, dframe-with-attached-buffer rather than
14847 speedbar- aliases.
14848 (gud-sentinel): Silence compiler.
14849 * progmodes/vhdl-mode.el (speedbar-refresh)
14850 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14851 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14852 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14853 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14854 (speedbar-file-lists, speedbar-make-tag-line)
14855 (speedbar-line-directory, speedbar-goto-this-file)
14856 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14857 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14858 (speedbar-make-button, speedbar-reset-scanners)
14859 (speedbar-files-item-info, speedbar-line-text)
14860 (speedbar-find-file-in-frame, speedbar-set-timer)
14861 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14862 (speedbar-with-writable): Do not (re)define it.
14863 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14864 rather than speedbar- alias.
14865
14866 2013-05-21 Leo Liu <sdl.web@gmail.com>
14867
14868 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14869 menu items.
14870 (octave-mode): Tweak fill-nobreak-predicate.
14871 (inferior-octave-startup): Check process to avoid infinite loop.
14872 (inferior-octave): Pop to buffer first to show abornmal process
14873 exit information.
14874
14875 2013-05-21 Glenn Morris <rgm@gnu.org>
14876
14877 * printing.el (pr-menu-bar): Define when compiling.
14878
14879 2013-05-21 Leo Liu <sdl.web@gmail.com>
14880
14881 * progmodes/octave.el (octave-auto-fill): Remove.
14882 (octave-indent-new-comment-line): Improve.
14883 (octave-mode): Use auto fill mode through
14884 comment-line-break-function and fill-nobreak-predicate.
14885 (octave-goto-function-definition): Support DEFUN_DLD.
14886 (octave-beginning-of-defun): Small tweak.
14887 (octave-help): Show parent directory.
14888
14889 2013-05-21 Glenn Morris <rgm@gnu.org>
14890
14891 * files.el (dired-unmark):
14892 * progmodes/gud.el (gdb-input): Update declarations.
14893
14894 * calculator.el (electric, ehelp): No need to load when compiling.
14895 (Electric-command-loop, electric-describe-mode): Declare.
14896
14897 * doc-view.el (doc-view-current-converter-processes): Move before use.
14898
14899 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14900 Move MODE-set-explicitly definition before use.
14901
14902 * international/mule-diag.el (mule-diag):
14903 Don't use obsolete window-system-version.
14904
14905 * mail/feedmail.el (smtpmail): No need to load when compiling.
14906 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14907
14908 * mail/mail-utils.el (rfc822): No need to load when compiling.
14909 (rfc822-addresses): Autoload it.
14910 (mail-strip-quoted-names): Trivial simplification.
14911
14912 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14913 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14914
14915 * net/snmp-mode.el (tempo): Don't duplicate requires.
14916
14917 * progmodes/prolog.el (info): No need to load when compiling.
14918 (comint): Require before shell requires it.
14919 (Info-goto-node): Autoload it.
14920 (Info-follow-nearest-node): Declare.
14921 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14922
14923 * textmodes/artist.el (picture-mode-exit): Declare.
14924
14925 * textmodes/reftex-parse.el (reftex-parse-from-file):
14926 Trivial rewrite so the compiler can parse it better.
14927
14928 2013-05-20 Leo Liu <sdl.web@gmail.com>
14929
14930 * progmodes/octave.el (octave-help-mode-map)
14931 (octave-help-mode-finish-hook): New variables.
14932 (octave-help-mode, octave-help-mode-finish): New functions.
14933 (octave-help): Use octave-help-mode.
14934
14935 2013-05-20 Glenn Morris <rgm@gnu.org>
14936
14937 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14938
14939 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14940
14941 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14942 start at point, so that expansion starting right after opening
14943 slash in a regexp is recognized.
14944 (ruby-syntax-before-regexp-re): New defvar, extracted from
14945 ruby-syntax-propertize-function. Since the value of this regexp
14946 is looked up at runtime now, we should be able to turn
14947 `ruby-syntax-methods-before-regexp' into a defcustom later.
14948 (ruby-syntax-propertize-function): Split regexp matching into two
14949 parts, for opening and closing slashes. That allows us to skip
14950 over string interpolations and support multiline regexps.
14951 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14952 for them, which calls `ruby-syntax-propertize-expansion'.
14953 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14954 call to `ruby-syntax-propertize-function'.
14955 (ruby-syntax-propertize-expansion): Extracted from
14956 `ruby-syntax-propertize-expansions'. Handles one expansion.
14957 (ruby-syntax-propertize-percent-literal): Leave point right after
14958 the percent symbol, so that the expression expansion rule can
14959 propertize the contents.
14960 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14961 heredoc openers.
14962 (ruby-syntax-propertize-expansions): Remove.
14963
14964 2013-05-18 Juri Linkov <juri@jurta.org>
14965
14966 * man.el (Man-default-man-entry): Remove `-' from the end
14967 of the default value. (Bug#14400)
14968
14969 2013-05-18 Glenn Morris <rgm@gnu.org>
14970
14971 * comint.el (comint-password-prompt-regexp):
14972 Allow "password for XXX" where XXX contains colons (eg https://...).
14973
14974 2013-05-18 Leo Liu <sdl.web@gmail.com>
14975
14976 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14977 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14978 (octave-source-directories): Don't check process.
14979 (octave-source-directories, octave-find-definition): Doc fix.
14980
14981 2013-05-18 Glenn Morris <rgm@gnu.org>
14982
14983 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14984 Remove backspace/delete bindings. (Bug#14392)
14985
14986 * cus-dep.el (custom-make-dependencies): Sort the output.
14987 (custom-versions-load-alist): Convert comment to doc.
14988
14989 2013-05-17 Leo Liu <sdl.web@gmail.com>
14990
14991 * newcomment.el (comment-search-backward): Stricter in finding
14992 comment start. (Bug#14303)
14993
14994 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14995 (octave-comment-start-skip): Properly anchored.
14996
14997 2013-05-17 Leo Liu <sdl.web@gmail.com>
14998
14999 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
15000 Clean up when turned off. (Bug#14395)
15001 (smie--highlight-matching-block-overlay): No longer buffer-local.
15002 (smie-highlight-matching-block): Adjust.
15003
15004 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
15005
15006 Doc string fix for "nanoseconds" (Bug#14406).
15007 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
15008 Fix doc string typo that had "nanoseconds" instead of "microseconds".
15009
15010 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
15011
15012 * calc/calc-units.el (math-extract-units): Preserve powers
15013 of units.
15014
15015 2013-05-17 Leo Liu <sdl.web@gmail.com>
15016
15017 * subr.el (delete-consecutive-dups): New function.
15018 * ido.el (ido-set-matches-1): Use it.
15019 * progmodes/octave.el (inferior-octave-completion-table): Use it.
15020 * ido.el (ido-remove-consecutive-dups): Remove.
15021
15022 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
15023
15024 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15025 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
15026 regexp-opt's `words'.
15027
15028 2013-05-16 Leo Liu <sdl.web@gmail.com>
15029
15030 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
15031 (smie--highlight-matching-block-overlay)
15032 (smie--highlight-matching-block-lastpos)
15033 (smie--highlight-matching-block-timer): New variables.
15034 (smie-highlight-matching-block): New function.
15035 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
15036 (smie-setup): Conditionally enable smie-blink-matching-open.
15037
15038 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
15039
15040 Sync with upstream verilog-mode r840.
15041 * progmodes/verilog-mode.el (verilog-mode-version)
15042 (verilog-mode-release-date): Update.
15043 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
15044 (verilog-sig-tieoff): Fix string error on
15045 AUTORESET with colon define, bug594. Reported by Andrew Hou.
15046 (verilog-read-decls): Fix parameters confusing
15047 AUTOINST interfaces, bug565. Reported by Leith Johnson.
15048
15049 2013-05-16 Eli Zaretskii <eliz@gnu.org>
15050
15051 * subr.el (reveal-filename): New function.
15052
15053 * loadup.el: Compute Emacs executable versions on MS-Windows,
15054 where executables have the .exe extension. Add a hard link
15055 emacs-XX.YY.ZZ.exe on MS-Windows.
15056
15057 * Makefile.in (XARGS_LIMIT): New variable.
15058 (custom-deps, finder-data, autoloads)
15059 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
15060 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
15061 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
15062 (compile-main): Limit xargs according to $(XARGS_LIMIT).
15063
15064 2013-05-16 Leo Liu <sdl.web@gmail.com>
15065
15066 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
15067 (octave-mode-menu, octave-mode-map): Remove its uses.
15068
15069 2013-05-16 Reto Zimmermann <reto@gnu.org>
15070
15071 Sync with upstream vhdl mode v3.34.2.
15072 * progmodes/vhdl-mode.el: Use `push' throughout.
15073 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
15074 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
15075 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
15076 (vhdl-actual-generic-name): New option to derive actual generic name.
15077 (vhdl-port-paste-signals): Replace formal by actual generics.
15078 (vhdl-beautify): New name for old group vhdl-align. Update users.
15079 (vhdl-beautify-options): New option.
15080 (vhdl-last-input-event): New compat alias. Use throughout.
15081 (vhdl-goto-line): Replace user level function `goto-line'.
15082 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
15083 vhdl-fix-statement-buffer.
15084 (vhdl-create-mode-menu): Add some entries.
15085 (vhdl-align-region-groups): Respect vhdl-beautify-options.
15086 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
15087 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
15088 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
15089 to force statements on one line.
15090 (vhdl-remove-trailing-spaces-region):
15091 New, split from vhdl-remove-trailing-spaces.
15092 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
15093 Respect vhdl-beautify-options.
15094 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
15095 (vhdl-update-sensitivity-list): Not add with index if exists without.
15096 Not include array index with signal. Ignore keywords in comments.
15097 (vhdl-get-visible-signals): Regexp tweaks.
15098 (vhdl-template-component-inst): Handle empty library.
15099 (vhdl-template-type): Add template for 'enum' type.
15100 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
15101 Use vhdl-replace-string.
15102 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
15103 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
15104 (vhdl-speedbar-initialize): Update for above name change.
15105 (vhdl-compose-wire-components): Fix in handling of constants.
15106 (vhdl-error-regexp-emacs-alist): New variable.
15107 (vhdl-error-regexp-add-emacs): New function;
15108 adds support for new compile.el (Emacs 22+)
15109 (vhdl-generate-makefile-1): Change target order for single lib. units.
15110 Allow use of absolute file names.
15111
15112 2013-05-16 Leo Liu <sdl.web@gmail.com>
15113
15114 * simple.el (prog-indent-sexp): Indent enclosing defun.
15115
15116 2013-05-15 Glenn Morris <rgm@gnu.org>
15117
15118 * cus-start.el (show-trailing-whitespace): Move to editing basics.
15119 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
15120 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
15121 (whitespace-highlight): Move to whitespace group.
15122
15123 * comint.el (comint-source):
15124 * pcmpl-linux.el (pcmpl-linux):
15125 * shell.el (shell-faces):
15126 * eshell/esh-opt.el (eshell-opt):
15127 * international/ccl.el (ccl): Remove empty custom groups.
15128
15129 * completion.el (dynamic-completion-mode):
15130 * jit-lock.el (jit-lock-debug-mode):
15131 * minibuffer.el (completion-in-region-mode):
15132 * type-break.el (type-break-mode-line-message-mode)
15133 (type-break-query-mode):
15134 * emulation/tpu-edt.el (tpu-edt-mode):
15135 * progmodes/subword.el (global-subword-mode, global-superword-mode):
15136 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15137 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
15138
15139 * term/xterm.el (xterm): Change parent group to terminals.
15140
15141 * master.el (master): Remove empty custom group.
15142 (master-mode): Remove unused :group argument.
15143 * textmodes/refill.el (refill): Remove empty custom group.
15144 (refill-mode): Remove unused :group argument.
15145
15146 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
15147
15148 * cus-dep.el: Provide a feature.
15149 (custom-make-dependencies): Ignore dotfiles (dir-locals).
15150 Don't mistakenly ignore files whose basenames match a basename
15151 from preloaded-file-list (eg cedet/ede/simple.el).
15152 Add a fallback method for getting :group.
15153
15154 2013-05-15 Juri Linkov <juri@jurta.org>
15155
15156 * isearch.el (isearch-char-by-name): Rename from
15157 `isearch-insert-char-by-name'. Doc fix.
15158 (isearch-forward): Mention `isearch-char-by-name' in
15159 the docstring. (Bug#13348)
15160
15161 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
15162 `exit-minibuffer' instead of
15163 `isearch-nonincremental-exit-minibuffer'.
15164 (isearch-edit-string): Remove mention of
15165 `isearch-nonincremental-exit-minibuffer' from docstring.
15166 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
15167 (isearch-forward-exit-minibuffer)
15168 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
15169
15170 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15171
15172 * loadup.el: Just use unversioned DOC.
15173
15174 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
15175 literals as extending to EOB.
15176 (nxml-last-fontify-end): Remove unused variable.
15177 (nxml-after-change1): Use with-silent-modifications.
15178 (nxml-extend-after-change-region): Simplify.
15179 (nxml-extend-after-change-region1): Remove function.
15180 (nxml-after-change1): Don't adjust for dependent regions.
15181 (nxml-fontify-matcher): Simplify.
15182 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
15183 (xmltok-add-dependent): Remove function.
15184 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
15185 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
15186 (xmltok-scan-prolog-after-processing-instruction-open): Treat
15187 unclosed <[[, <?, comment, and other literals as extending to EOB.
15188 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
15189 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
15190 Remove functions.
15191 (rng-do-some-validation-1): Don't mark dependent regions.
15192 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
15193 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
15194 (nxml-clear-dependent-regions): Remove functions.
15195 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
15196 (nxml-ensure-scan-up-to-date):
15197 Don't clear&mark dependent regions.
15198
15199 2013-05-15 Leo Liu <sdl.web@gmail.com>
15200
15201 * progmodes/octave.el (octave-goto-function-definition):
15202 Improve and fix callers.
15203
15204 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15205
15206 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
15207 the setter (bug#14387).
15208
15209 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
15210 surrounding group (bug#14402).
15211
15212 2013-05-14 Juri Linkov <juri@jurta.org>
15213
15214 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
15215 (Bug#14390)
15216
15217 2013-05-14 Glenn Morris <rgm@gnu.org>
15218
15219 * progmodes/f90.el (f90-imenu-generic-expression):
15220 Fix typo in 2013-05-08 change. (Bug#14402)
15221
15222 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15223
15224 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
15225 Remove signals for which replies are never received.
15226
15227 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15228
15229 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
15230 (gdb-handler-alist, gdb-handler-number): Remove variables.
15231 (gdb-handler-list): New variable.
15232 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
15233 (gdb-pending-handler-p, gdb-handle-reply)
15234 (gdb-remove-all-pending-triggers): New functions.
15235 (gdb-discard-unordered-replies): New defcustom.
15236 (gdb-handler): New defstruct.
15237 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
15238 instead of gdb-pending-triggers. Update docstring.
15239 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
15240 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
15241 (gdb-var-update-handler, def-gdb-auto-update-trigger)
15242 (def-gdb-auto-update-handler, gdb-get-changed-registers)
15243 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
15244 (gdb-frame-handler): Pending triggers are now automatically managed.
15245 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
15246 Remove argument.
15247 (gdb-input): Automatically handles pending triggers. Update docstring.
15248 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
15249 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
15250 Update comments.
15251 (gdb-done-or-error): Now use gdb-handle-reply.
15252
15253 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15254
15255 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
15256 gdb-debug-log.
15257
15258 2013-05-14 Glenn Morris <rgm@gnu.org>
15259
15260 * subr.el (user-emacs-directory-warning): New option.
15261 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
15262
15263 2013-05-14 Leo Liu <sdl.web@gmail.com>
15264
15265 * progmodes/octave.el (octave-font-lock-keywords): Fix error
15266 during redisplay.
15267 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
15268 (octave-font-lock-texinfo-comment): Fix invalid search bound
15269 error: wrong side of point.
15270
15271 2013-05-14 Glenn Morris <rgm@gnu.org>
15272
15273 * progmodes/flymake.el (flymake-xml-program): New option.
15274 (flymake-xml-init): Use it.
15275
15276 * term/xterm.el: Provide a feature.
15277
15278 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
15279
15280 2013-05-13 Glenn Morris <rgm@gnu.org>
15281
15282 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
15283 Add compat aliases as a hack workaround. (Bug#14384)
15284
15285 2013-05-13 Leo Liu <sdl.web@gmail.com>
15286
15287 * progmodes/octave.el (octave-indent-comment): Fix indentation for
15288 ###, and %!.
15289 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
15290 C-M-q.
15291 (octave-comment-start-skip): Include %!.
15292 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
15293
15294 2013-05-12 Leo Liu <sdl.web@gmail.com>
15295
15296 * progmodes/octave.el (inferior-octave-startup): Store the value
15297 of __octave_srcdir__ for octave-source-directories.
15298 (inferior-octave-check-process): New function refactored out of
15299 inferior-octave-send-list-and-digest.
15300 (octave-source-directories)
15301 (octave-find-definition-filename-function): New variables.
15302 (octave-source-directories)
15303 (octave-find-definition-default-filename): New functions.
15304 (octave-find-definition): Improve to find functions implemented in C++.
15305
15306 2013-05-12 Glenn Morris <rgm@gnu.org>
15307
15308 * calendar/diary-lib.el (diary-outlook-format-1):
15309 Don't include dayname in the output. (Bug#14349)
15310
15311 2013-05-11 Glenn Morris <rgm@gnu.org>
15312
15313 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
15314
15315 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
15316 Treat cc-provide like provide.
15317
15318 2013-05-11 Kevin Ryde <user42@zip.com.au>
15319
15320 * cus-dep.el (custom-make-dependencies):
15321 Use generated-autoload-load-name for the sake of files such
15322 such cedet/semantic/bovine/c.el, where the base file name
15323 is not in load-path. (Bug#5277)
15324
15325 2013-05-11 Glenn Morris <rgm@gnu.org>
15326
15327 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
15328 Provide features.
15329
15330 2013-05-11 Leo Liu <sdl.web@gmail.com>
15331
15332 * progmodes/octave.el (octave-indent-comment): Improve.
15333 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
15334 (octave-eldoc-function-signatures, octave-eldoc-function):
15335 New functions.
15336 (octave-mode, inferior-octave-mode): Add eldoc support.
15337
15338 2013-05-11 Richard Stallman <rms@gnu.org>
15339
15340 * epa.el (epa-decrypt-file): Take output file name as argument
15341 and read it using `interactive'.
15342
15343 2013-05-11 Leo Liu <sdl.web@gmail.com>
15344
15345 * progmodes/octave.el (octave-beginning-of-line)
15346 (octave-end-of-line): Check before using up-list because it jumps
15347 out of more syntactic contructs since moving to smie.
15348 (octave-indent-comment): New function.
15349 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
15350 (octave-begin-keywords, octave-end-keywords)
15351 (octave-reserved-words, octave-smie-bnf-table)
15352 (octave-smie-rules): Add new keywords from Octave 3.6.4.
15353
15354 2013-05-11 Glenn Morris <rgm@gnu.org>
15355
15356 * faces.el (internal-face-x-get-resource):
15357 * frame.el (ns-display-monitor-attributes-list):
15358 * calc/calc-aent.el (math-to-radians-2):
15359 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
15360 Fix declarations.
15361
15362 * calc/calc-menu.el: Make it loadable in isolation.
15363
15364 * net/eudcb-bbdb.el: Make it loadable without bbdb.
15365 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
15366 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
15367 (eudc-bbdb-query-internal): Require 'bbdb.
15368
15369 * lpr.el (lpr-headers-switches):
15370 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
15371
15372 * progmodes/sql.el (sql-login-params): Fix and improve :type.
15373
15374 * emulation/edt-mapper.el: In batch mode, error rather than hang.
15375
15376 * term.el (term-set-escape-char): Make it idempotent.
15377
15378 2013-05-10 Leo Liu <sdl.web@gmail.com>
15379
15380 * progmodes/octave.el (inferior-octave-completion-table):
15381 No longer a function and all uses changed. Use cache to speed up
15382 completion due to bug#11906.
15383 (octave-beginning-of-defun): Re-write to be more general.
15384
15385 2013-05-10 Glenn Morris <rgm@gnu.org>
15386
15387 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
15388
15389 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
15390
15391 * comint.el (comint-redirect-send-command-to-process): Use :around
15392 rather than :override for comint-redirect-filter.
15393 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
15394 Call it instead of comint-redirect-original-filter-function (which
15395 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
15396
15397 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
15398
15399 * frame.el (display-monitor-attributes-list): Add NS case.
15400 (ns-display-monitor-attributes-list): Declare.
15401
15402 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
15403
15404 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
15405
15406 2013-05-09 Glenn Morris <rgm@gnu.org>
15407
15408 * international/fontset.el (vertical-centering-font-regexp):
15409 Set standard-value.
15410
15411 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
15412
15413 * bookmark.el (bookmark-search-delay):
15414 * cus-start.el (vertical-centering-font-regexp):
15415 * ps-mule.el (ps-mule-font-info-database-default):
15416 * ps-print.el (ps-default-fg, ps-default-bg):
15417 * type-break.el (type-break-good-break-interval):
15418 * whitespace.el (whitespace-indentation-regexp)
15419 (whitespace-space-after-tab-regexp):
15420 * emacs-lisp/testcover.el (testcover-1value-functions)
15421 (testcover-noreturn-functions, testcover-progn-functions)
15422 (testcover-prog1-functions):
15423 * emulation/viper-init.el (viper-emacs-state-cursor-color):
15424 * eshell/em-glob.el (eshell-glob-translate-alist):
15425 * play/tetris.el (tetris-tty-colors):
15426 * progmodes/cpp.el (cpp-face-default-list):
15427 * progmodes/flymake.el (flymake-allowed-file-name-masks):
15428 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
15429 (idlwave-help-browser-generic-args):
15430 * progmodes/make-mode.el (makefile-special-targets-list):
15431 * progmodes/python.el (python-shell-virtualenv-path):
15432 * progmodes/verilog-mode.el (verilog-active-low-regexp)
15433 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
15434 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
15435 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
15436 * textmodes/reftex-vars.el (reftex-format-label-function):
15437 * textmodes/remember.el (remember-diary-file): Fix custom types.
15438
15439 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
15440 Add :version.
15441
15442 2013-05-09 Leo Liu <sdl.web@gmail.com>
15443
15444 * progmodes/octave.el (inferior-octave-completion-at-point):
15445 Restore file completion. (Bug#14300)
15446 (inferior-octave-startup): Fix incorrect highlighting for the
15447 first prompt.
15448
15449 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15450
15451 * progmodes/ruby-mode.el: First cut at SMIE support.
15452 (ruby-use-smie): New var.
15453 (ruby-smie-grammar): New constant.
15454 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15455 (ruby-smie--forward-token, ruby-smie--backward-token)
15456 (ruby-smie-rules): New functions.
15457 (ruby-mode-variables): Setup SMIE if applicable.
15458
15459 2013-05-08 Eli Zaretskii <eliz@gnu.org>
15460
15461 * simple.el (line-move-visual): Signal beginning/end of buffer
15462 only if vertical-motion moved less than it was requested. Avoids
15463 silly incorrect error messages when there are display strings with
15464 multiple newlines at EOL.
15465
15466 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15467
15468 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15469 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15470 (prolog-char-quote-workaround):
15471 * progmodes/cperl-mode.el (cperl-under-as-char):
15472 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15473 Mark as obsolete.
15474 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15475 their declaration.
15476 (vhdl-mode-syntax-table-init): Remove.
15477
15478 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15479 last change.
15480
15481 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15482 syntax for "_".
15483 (ld-script-font-lock-keywords):
15484 Change regexps to use things like \_< and \_>.
15485
15486 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15487 Change all regexps to use things like \_< and \_>.
15488
15489 * progmodes/autoconf.el (autoconf-definition-regexp)
15490 (autoconf-font-lock-keywords, autoconf-current-defun-function):
15491 Handle a _ with symbol syntax.
15492 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15493
15494 * progmodes/ada-mode.el (ada-mode-abbrev-table):
15495 Consolidate declaration.
15496 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15497 the declaration.
15498 (ada-create-syntax-table): Remove.
15499 (ada-capitalize-word): Don't mess with the syntax of "_" since it
15500 already has the right syntax nowadays.
15501 (ada-goto-next-word): Don't change the syntax of "_".
15502
15503 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15504 with-wrapper-hook.
15505
15506 2013-05-08 Sam Steingold <sds@gnu.org>
15507
15508 * thingatpt.el (thing-at-point): Accept optional second argument
15509 NO-PROPERTIES to strip the text properties from the return value.
15510 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15511 to `thing-at-point' instead of stripping the properties ourselves.
15512 Also, when `thing-at-point' fails to find a url, prepend "http://"
15513 to the filename at point on the assumption that the user is
15514 pointing at something like gnu.org/gnu.
15515
15516 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
15517
15518 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15519 * faces.el (crm-separator):
15520 Silence byte-compiler.
15521
15522 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15523 (tool-bar-map): Remove unneeded defvars.
15524
15525 2013-05-08 Leo Liu <sdl.web@gmail.com>
15526
15527 Re-work a fix for bug#10994 based on Le Wang's patch.
15528 * ido.el (ido-remove-consecutive-dups): New helper.
15529 (ido-completing-read): Use it.
15530 (ido-chop): Revert fix for bug#10994.
15531
15532 2013-05-08 Adam Spiers <emacs@adamspiers.org>
15533
15534 * cus-edit.el (custom-save-variables):
15535 Pretty-print long values. (Bug#14187)
15536
15537 2013-05-08 Glenn Morris <rgm@gnu.org>
15538
15539 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15540 (m4-mode-syntax-table): Init in the defvar.
15541 (m4-mode-abbrev-table): Let define-derived-mode define it.
15542
15543 2013-05-08 Tom Tromey <tromey@redhat.com>
15544
15545 * progmodes/m4-mode.el (m4-mode-syntax-table):
15546 Do not treat "_" as word constituent. (Bug#14167)
15547
15548 2013-05-07 Glenn Morris <rgm@gnu.org>
15549
15550 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15551 Remove explicit eshell-isearch-cancel-map.
15552
15553 * progmodes/f90.el (f90-smart-end-names): New option.
15554 (f90-smart-end): Doc fix.
15555 (f90-end-block-optional-name): New constant.
15556 (f90-block-match): Respect f90-smart-end-names.
15557
15558 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15559
15560 * progmodes/octave.el (octave-smie-forward-token): Be more careful
15561 about implicit semi-colons (bug#14218).
15562
15563 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15564
15565 * frame.el (display-monitor-attributes-list)
15566 (frame-monitor-attributes): New functions.
15567
15568 2013-05-06 Leo Liu <sdl.web@gmail.com>
15569
15570 * progmodes/octave.el (octave-syntax-propertize-function): Change
15571 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15572 (octave-font-lock-keywords): Use octave-operator-regexp.
15573 (octave-completion-at-point): Rename from
15574 octave-completion-at-point-function.
15575 (inferior-octave-directory-tracker): Robustify.
15576 (octave-text-functions): Remove and fix its uses. No such things
15577 any more.
15578
15579 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15580
15581 * emacs-lisp/trace.el (trace--display-buffer): New function.
15582 (trace-make-advice): Use it.
15583
15584 2013-05-06 Juri Linkov <juri@jurta.org>
15585
15586 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15587 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15588 Doc fix.
15589 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15590 in the help string. (Bug#12985)
15591
15592 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15593
15594 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15595
15596 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15597
15598 * progmodes/perl-mode.el: Add support for here documents.
15599 (perl-syntax-propertize-function): Match here-doc markers.
15600 (perl-syntax-propertize-special-constructs): Find their end.
15601 (perl-imenu-generic-expression): Use [:alnum:].
15602
15603 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15604 (advice--add-function): Refresh the advice if already present
15605 (bug#14317).
15606
15607 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
15608
15609 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15610
15611 2013-05-06 Glenn Morris <rgm@gnu.org>
15612
15613 * w32-fns.el (w32-charset-info-alist): Declare.
15614
15615 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15616 of its defcustom properties.
15617 (eshell-cmpl-initialize): No need to load pcomplete.
15618
15619 * generic-x.el: No need to require comint when compiling.
15620
15621 * net/eudc-export.el: Make it loadable without bbdb.
15622 (top-level): Use require rather than load-library.
15623 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15624 (eudc-batch-export-records-to-bbdb)
15625 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15626 Require bbdb.
15627
15628 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15629
15630 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15631 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15632 some tweaks, instead.
15633
15634 2013-05-05 Leo Liu <sdl.web@gmail.com>
15635
15636 * progmodes/octave.el (octave-font-lock-keywords)
15637 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15638 (inferior-octave-send-list-and-digest): Improve error message.
15639 (octave-mode, inferior-octave-mode): Use setq-local.
15640 (octave-help): Set info-lookup-mode.
15641
15642 2013-05-05 Richard Stallman <rms@gnu.org>
15643
15644 * vc/compare-w.el (compare-windows-whitespace):
15645 Treat no-break space as whitespace.
15646
15647 * mail/rmailsum.el (rmail-summary-rmail-update):
15648 Detect empty summary and don't change selected message.
15649 (rmail-summary-goto-msg): Likewise.
15650
15651 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15652 Doc fixes, rename args.
15653
15654 2013-05-05 Alan Mackenzie <acm@muc.de>
15655
15656 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15657
15658 2013-05-05 Juri Linkov <juri@jurta.org>
15659
15660 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15661 to not add the length of the summary segment to the return value.
15662 (Bug#14125)
15663
15664 2013-05-05 Leo Liu <sdl.web@gmail.com>
15665
15666 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15667 (inferior-octave-output-filter): Remove.
15668 (octave-send-region, inferior-octave-startup): Fix callers.
15669 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15670 (octave-binary-file-extensions): New user variable.
15671 (octave-find-definition): Confirm if opening binary files.
15672 (octave-help-file): Use octave-find-definition to get the binary
15673 confirmation.
15674 (octave-help): Adjust for octave-help-file change.
15675
15676 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15677
15678 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15679 Merge the two entries that handle function definitions.
15680 (pascal--syntax-propertize): New const.
15681 (pascal-mode): Use it. Use setq-local.
15682
15683 2013-05-04 Glenn Morris <rgm@gnu.org>
15684
15685 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15686 (diary-from-outlook): Respect diary-from-outlook-function.
15687
15688 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15689
15690 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15691 Move the declaration from C.
15692 (read-minibuffer, eval-minibuffer): Move from C.
15693 (completion-setup-function): Avoid minibuffer-completion-contents.
15694
15695 2013-05-03 Leo Liu <sdl.web@gmail.com>
15696
15697 * progmodes/octave.el (octave-font-lock-keywords): Do not
15698 dehighlight 'end' in comments or strings.
15699 (octave-completing-read, octave-goto-function-definition):
15700 New helpers.
15701 (octave-help-buffer): New user variable.
15702 (octave-help-file, octave-help-function): New button types.
15703 (octave-help): New command and bind it to C-h ;.
15704 (octave-find-definition): New command and bind it to M-.
15705 (user-error): Alias to error if not defined.
15706
15707 2013-05-02 Leo Liu <sdl.web@gmail.com>
15708
15709 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15710 for \. (bug#14332)
15711 (octave-font-lock-keywords): Include [ and {.
15712
15713 2013-05-02 Leo Liu <sdl.web@gmail.com>
15714
15715 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15716 (inferior-octave): Remove calling comint-mode and return the buffer.
15717 (inferior-octave-startup): Cosmetic changes.
15718
15719 2013-05-02 Leo Liu <sdl.web@gmail.com>
15720
15721 * progmodes/octave.el (octave-syntax-propertize-function):
15722 Include the case when ' is at line beginning. (Bug#14336)
15723
15724 2013-05-02 Glenn Morris <rgm@gnu.org>
15725
15726 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15727 * desktop.el (vc-dir-mode): Just autoload it here.
15728
15729 2013-05-02 Alan Mackenzie <acm@muc.de>
15730
15731 Eliminate variable c-standard-font-lock-fontify-region-function.
15732 * progmodes/cc-mode.el
15733 (c-standard-font-lock-fontify-region-function): Remove.
15734 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15735
15736 2013-05-01 Leo Liu <sdl.web@gmail.com>
15737
15738 * progmodes/octave.el: Compatible with older emacs-24 releases.
15739 (inferior-octave-has-built-in-variables): Remove. Built-in
15740 variables were removed from Octave in 2007.
15741 (inferior-octave-startup): Fix uses.
15742 (comint-line-beginning-position): Remove compatibility code for
15743 emacs 21.
15744
15745 2013-05-01 Juri Linkov <juri@jurta.org>
15746
15747 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15748
15749 2013-05-01 Juri Linkov <juri@jurta.org>
15750
15751 * comint.el (comint-previous-matching-input): Don't print message
15752 "History item: %d" when `isearch-mode' is active.
15753 (comint-history-isearch-message): Print message "History item: %d"
15754 when `comint-input-ring-index' is not empty and this function is
15755 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15756
15757 2013-05-01 Leo Liu <sdl.web@gmail.com>
15758
15759 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15760 definitions. Use completion-at-point to insert keywords.
15761 (octave-abbrev-start): Remove.
15762 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15763
15764 2013-04-30 Leo Liu <sdl.web@gmail.com>
15765
15766 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15767 change.
15768
15769 2013-04-30 Alan Mackenzie <acm@muc.de>
15770
15771 Handle arbitrarily long C++ member initialisation lists.
15772 * progmodes/cc-engine.el (c-back-over-member-initializers):
15773 new function.
15774 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15775 (most) member init lists.
15776
15777 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15778
15779 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15780 variable.
15781
15782 2013-04-30 Leo Liu <sdl.web@gmail.com>
15783
15784 * progmodes/octave.el (octave-variables): Remove. No builtin
15785 variables any more. All converted to functions.
15786 (octave-font-lock-keywords, octave-completion-at-point-function):
15787 Fix uses.
15788 (octave-font-lock-texinfo-comment): New user variable.
15789 (octave-texinfo-font-lock-keywords): New variable for texinfo
15790 comment block.
15791 (octave-function-comment-block): New face.
15792 (octave-font-lock-texinfo-comment): New function.
15793 (octave-mode): Font lock texinfo comment block.
15794
15795 2013-04-29 Leo Liu <sdl.web@gmail.com>
15796
15797 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15798 indexing expression.
15799 (octave-continuation-string): Do not use \.
15800 (inferior-octave-complete-impossible): Remove.
15801 (inferior-octave-completion-table)
15802 (inferior-octave-completion-at-point): Remove its uses.
15803 (inferior-octave-startup): completion_matches was introduced to
15804 Octave in 1996 so safe to assume it.
15805 (octave-function-file-comment): Improve to follow how Octave does it.
15806 (octave-update-function-file-comment): Tweak.
15807
15808 2013-04-29 Leo Liu <sdl.web@gmail.com>
15809
15810 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15811 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15812 (octave-function-file-comment): Fix typo.
15813 (octave-sync-function-file-names): Use read-char-choice.
15814
15815 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15816
15817 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15818 to t for the less important warnings.
15819
15820 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15821
15822 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15823
15824 2013-04-27 Glenn Morris <rgm@gnu.org>
15825
15826 * vc/log-view.el (log-view-current-entry):
15827 Treat "---" separator lines as part of the following rev. (Bug#14169)
15828
15829 2013-04-27 Juri Linkov <juri@jurta.org>
15830
15831 * subr.el (read-number): Doc fix about using it by interactive
15832 code letter `n'. (Bug#14254)
15833
15834 2013-04-27 Juri Linkov <juri@jurta.org>
15835
15836 * desktop.el (desktop-auto-save-timeout): New option.
15837 (desktop-file-checksum): New variable.
15838 (desktop-save): Add optional arg `auto-save' and don't auto-save
15839 if nothing changed.
15840 (desktop-auto-save-timer): New variable.
15841 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15842 (after-init-hook): Call `desktop-auto-save-set-timer'.
15843 Suggested by Reuben Thomas <rrt@sc3d.org> in
15844 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15845
15846 2013-04-27 Leo Liu <sdl.web@gmail.com>
15847
15848 * progmodes/octave.el (octave-function-file-p)
15849 (octave-skip-comment-forward, octave-function-file-comment)
15850 (octave-update-function-file-comment): New functions.
15851 (octave-mode-map): Bind C-c ; to
15852 octave-update-function-file-comment.
15853 (octave-mode-menu): Add octave-update-function-file-comment.
15854 (octave-mode, inferior-octave-mode): Fix doc-string.
15855 (octave-insert-defun): Conform to Octave's coding convention.
15856 (Bug#14285)
15857
15858 * files.el (basic-save-buffer): Don't let errors in
15859 before-save-hook prevent saving buffer.
15860
15861 2013-04-20 Roland Winkler <winkler@gnu.org>
15862
15863 * faces.el (read-face-name): Use completing-read if arg multiple
15864 is nil.
15865
15866 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15867
15868 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15869 displayed, move point to after the totals line.
15870 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15871 for the details.
15872
15873 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15874
15875 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15876 Add current dir to the load-path.
15877 (package-generate-autoloads): Don't rely on
15878 autoload-ensure-default-file.
15879
15880 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15881
15882 * textmodes/remember.el (remember-store-in-files): Document that
15883 the file name format is passed to `format-time-string'.
15884
15885 2013-04-26 Leo Liu <sdl.web@gmail.com>
15886
15887 * progmodes/octave.el (octave-sync-function-file-names): New function.
15888 (octave-mode): Use it in before-save-hook.
15889
15890 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15891
15892 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15893 (bug#14274).
15894
15895 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15896 \n and comment, even if it's not an implicit ; (bug#14218).
15897
15898 2013-04-26 Glenn Morris <rgm@gnu.org>
15899
15900 * subr.el (read-number): Once more use `read' rather than
15901 `string-to-number', to trap non-numeric input. (Bug#14254)
15902
15903 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15904
15905 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15906 Use `syntax-multiline' text property consistently instead of
15907 `font-lock-multiline'. (Bug#14237)
15908
15909 2013-04-26 Glenn Morris <rgm@gnu.org>
15910
15911 * emacs-lisp/shadow.el (list-load-path-shadows):
15912 No longer necessary to check for duplicate simple.el, since
15913 2012-07-07 change to init_lread to not include installation lisp
15914 directories in load-path when running uninstalled. (Bug#14270)
15915
15916 2013-04-26 Leo Liu <sdl.web@gmail.com>
15917
15918 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15919 (octave-mode, inferior-octave-mode): Use setq-local.
15920 (octave-not-in-string-or-comment-p): Rename to
15921 octave-in-string-or-comment-p.
15922 (octave-in-comment-p, octave-in-string-p)
15923 (octave-in-string-or-comment-p): Replace defsubst with defun.
15924
15925 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15926
15927 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15928
15929 2013-04-25 Bastien Guerry <bzg@gnu.org>
15930
15931 * textmodes/remember.el (remember-data-directory)
15932 (remember-directory-file-name-format): Fix custom types.
15933
15934 2013-04-25 Leo Liu <sdl.web@gmail.com>
15935
15936 * progmodes/octave.el (octave-completion-at-point-function):
15937 Make use of inferior octave process.
15938 (octave-initialize-completions): Remove.
15939 (inferior-octave-completion-table): New function.
15940 (inferior-octave-completion-at-point): Use it.
15941 (octave-completion-alist): Remove.
15942
15943 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15944
15945 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15946 (opascal-mode-syntax-table): New var.
15947 (opascal-literal-kind, opascal-is-literal-end)
15948 (opascal-literal-token-at): Rewrite.
15949 (opascal--literal-start-re, opascal-font-lock-keywords)
15950 (opascal--syntax-propertize): New constants.
15951 (opascal-font-lock-defaults): Adjust.
15952 (opascal-mode): Use them. Set comment-<foo> variables as well.
15953 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15954 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15955 (delphi-other-face, opascal-other-face): Remove face variables.
15956 (opascal-save-state): Remove macro.
15957 (opascal-fontifying-progress-step): Remove constant.
15958 (opascal--ignore-changes): Remove var.
15959 (opascal-set-token-property, opascal-parse-next-literal)
15960 (opascal-is-stable-literal, opascal-complete-literal)
15961 (opascal-is-literal-start, opascal-face-of)
15962 (opascal-parse-region, opascal-parse-region-until-stable)
15963 (opascal-fontify-region, opascal-after-change)
15964 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15965 (opascal-debug-parse-region, opascal-debug-parse-window)
15966 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15967 (opascal-debug-fontify-buffer): Remove.
15968 (opascal-debug-mode-map): Adjust accordingly.
15969
15970 2013-04-25 Leo Liu <sdl.web@gmail.com>
15971
15972 Merge octave-mod.el and octave-inf.el into octave.el with some
15973 cleanups.
15974 * progmodes/octave.el: New file renamed from octave-mod.el.
15975 * progmodes/octave-inf.el: Merged into octave.el.
15976 * progmodes/octave-mod.el: Renamed to octave.el.
15977
15978 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15979
15980 * textmodes/reftex-vars.el
15981 (reftex-label-ignored-macros-and-environments): New defcustom.
15982
15983 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15984
15985 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15986
15987 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15988 (smie-indent-keyword): Improve the check to ensure that the next
15989 comment is really on the same line.
15990 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15991
15992 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15993 semi-colons if the line is not otherwise empty (bug#14218).
15994
15995 2013-04-25 Glenn Morris <rgm@gnu.org>
15996
15997 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15998
15999 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
16000
16001 * progmodes/opascal.el (opascal-set-token-property): Rename from
16002 opascal-set-text-properties and only set `token' (bug#14134).
16003 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
16004 (opascal-literal-text-properties): Remove.
16005 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
16006 Adjust callers.
16007
16008 2013-04-24 Reuben Thomas <rrt@sc3d.org>
16009
16010 * textmodes/remember.el (remember-handler-functions): Add an
16011 option for a new handler `remember-store-in-files'.
16012 (remember-data-directory, remember-directory-file-name-format):
16013 New options.
16014 (remember-store-in-files): New function to store remember notes
16015 as separate files within a directory.
16016
16017 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
16018
16019 * progmodes/compile.el (compilation-next-error-function):
16020 Pass "formats" to compilation-find-file (bug#11777).
16021
16022 2013-04-24 Glenn Morris <rgm@gnu.org>
16023
16024 * vc/vc-bzr.el (vc-bzr-print-log):
16025 * vc/vc-hg.el (vc-hg-print-log):
16026 * vc/vc-svn.el (vc-svn-print-log):
16027 Fix START-REVISION with LIMIT != 1. (Bug#14168)
16028
16029 * vc/vc-bzr.el (vc-bzr-print-log):
16030 * vc/vc-cvs.el (vc-cvs-print-log):
16031 * vc/vc-git.el (vc-git-print-log):
16032 * vc/vc-hg.el (vc-hg-print-log):
16033 * vc/vc-mtn.el (vc-mtn-print-log):
16034 * vc/vc-rcs.el (vc-rcs-print-log):
16035 * vc/vc-sccs.el (vc-sccs-print-log):
16036 * vc/vc-svn.el (vc-svn-print-log):
16037 * vc/vc.el (vc-print-log-internal): Doc fixes.
16038
16039 2013-04-23 Glenn Morris <rgm@gnu.org>
16040
16041 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
16042 Remove venerable code attempting to avoid substitute-command-keys.
16043
16044 2013-04-23 Tassilo Horn <tsdh@gnu.org>
16045
16046 * textmodes/reftex-vars.el (reftex-label-regexps):
16047 Call `reftex-compile-variables' after changes to this variable.
16048
16049 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
16050
16051 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
16052 Use lexical-binding.
16053 (jit-lock-force-redisplay): Use markers, check buffer's continued
16054 existence and beware narrowed buffers.
16055 (jit-lock-fontify-now): Adjust call accordingly.
16056
16057 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
16058
16059 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
16060 to avoid misleading the user.
16061
16062 2013-04-22 Leo Liu <sdl.web@gmail.com>
16063
16064 * info-look.el: Prefer latex2e.info. (Bug#14240)
16065
16066 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
16067
16068 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
16069
16070 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
16071 * net/tramp.el (tramp-call-process): ... here.
16072 (tramp-set-completion-function, tramp-parse-putty):
16073 * net/tramp-adb.el (tramp-adb-execute-adb-command):
16074 * net/tramp-gvfs.el (tramp-gvfs-send-command):
16075 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
16076 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
16077 (tramp-call-local-coding-command): Use `tramp-call-process'
16078 instead of `tramp-compat-call-process'.
16079
16080 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
16081 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
16082 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
16083 (tramp-find-inline-compress): Improve traces.
16084 (tramp-maybe-send-script): Check for Perl binary.
16085 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
16086
16087 2013-04-22 Daiki Ueno <ueno@gnu.org>
16088
16089 * epg.el (epg-context-pinentry-mode): New function.
16090 (epg-context-set-pinentry-mode): New function.
16091 (epg--start): Pass --pinentry-mode option to gpg command.
16092
16093 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
16094
16095 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
16096 `comint-dynamic-complete' is obsolete since 24.1, replaced by
16097 `completion-at-point'. (Bug#13774)
16098
16099 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
16100 default key binding for `describe-distribution' has been moved to
16101 `C-h C-o'. (Bug#13970)
16102
16103 2013-04-21 Glenn Morris <rgm@gnu.org>
16104
16105 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
16106 Add doc strings.
16107 (vc-print-log): Clarify interactive prompt.
16108
16109 2013-04-20 Glenn Morris <rgm@gnu.org>
16110
16111 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
16112 No longer include timestamp etc information.
16113
16114 2013-04-20 Roland Winkler <winkler@gnu.org>
16115
16116 * faces.el (read-face-name): Bug fix, return just one face if arg
16117 multiple is nil. (Bug#14209)
16118
16119 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16120
16121 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
16122 (remove-function): Autoload.
16123
16124 * comint.el (comint-redirect-original-filter-function): Remove.
16125 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
16126 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
16127 (vc-cvs-annotate-command):
16128 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
16129 * progmodes/prolog.el (prolog-consult-compile):
16130 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
16131 Use add/remove-function instead.
16132 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
16133 (gud-tooltip-process-output, gud-tooltip-tips):
16134 Use add/remove-function instead.
16135 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
16136 (scheme-interaction-mode, exit-scheme-interaction-mode):
16137 Use add/remove-function instead.
16138
16139 * vc/vc-dispatcher.el: Use lexical-binding.
16140 (vc--process-sentinel): Rename from vc-process-sentinel.
16141 Change last arg to be the code to run. Don't use vc-previous-sentinel
16142 and vc-sentinel-commands any more.
16143 (vc-exec-after): Allow code to be a function. Use add/remove-function.
16144 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
16145
16146 2013-04-19 Masatake YAMATO <yamato@redhat.com>
16147
16148 * progmodes/sh-script.el (sh-imenu-generic-expression):
16149 Handle function names with a single character. (Bug#14111)
16150
16151 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
16152
16153 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
16154 for subroutines defined in an eval (bug#14182).
16155
16156 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16157
16158 * bookmark.el (bookmark-completing-read): Improve handling of empty
16159 string (bug#14176).
16160
16161 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16162
16163 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
16164
16165 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
16166
16167 New faster Imenu implementation (bug#14058).
16168 * progmodes/python.el:
16169 (python-imenu-prev-index-position):
16170 (python-imenu-format-item-label-function)
16171 (python-imenu-format-parent-item-label-function)
16172 (python-imenu-format-parent-item-jump-label-function):
16173 New vars.
16174 (python-imenu-format-item-label)
16175 (python-imenu-format-parent-item-label)
16176 (python-imenu-format-parent-item-jump-label)
16177 (python-imenu--put-parent, python-imenu--build-tree)
16178 (python-imenu-create-index, python-imenu-create-flat-index)
16179 (python-util-popn): New functions.
16180 (python-mode): Set imenu-create-index-function to
16181 python-imenu-create-index.
16182
16183 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16184
16185 * winner.el (winner-active-region): Use region-active-p, activate-mark
16186 and deactivate-mark (bug#14225).
16187
16188 * simple.el (deactivate-mark): Don't inline it.
16189
16190 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
16191
16192 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
16193
16194 2013-04-18 Tassilo Horn <tsdh@gnu.org>
16195
16196 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
16197 file extensions from the archive-mode entry in order to prefer
16198 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
16199
16200 2013-04-18 Leo Liu <sdl.web@gmail.com>
16201
16202 * bindings.el (help-event-list): Add ?\?.
16203
16204 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16205
16206 * subr.el (with-wrapper-hook): Declare obsolete.
16207 * simple.el (filter-buffer-substring-function): New hook.
16208 (filter-buffer-substring): Use it.
16209 (filter-buffer-substring-functions): Mark obsolete.
16210 * minibuffer.el (completion-in-region-function): New hook.
16211 (completion-in-region): Use it.
16212 (completion-in-region-functions): Mark obsolete.
16213 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
16214 * abbrev.el (abbrev-expand-function): New hook.
16215 (expand-abbrev): Use it.
16216 (abbrev-expand-functions): Mark obsolete.
16217 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
16218 and :filter-return.
16219
16220 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16221
16222 * progmodes/python.el (python-nav--syntactically): Fix cornercases
16223 and do not care about match data.
16224
16225 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16226
16227 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
16228 completion tables when completing error conditions and
16229 `declare' arguments.
16230 (lisp-complete-symbol, field-complete): Mark as obsolete.
16231 (check-parens): Unmatched parens are user errors.
16232 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
16233
16234 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
16235
16236 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
16237 command changed buffer (ie. `flyspell-pre-buffer' is not current
16238 buffer), which prevents making decisions based on invalid value of
16239 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
16240 cause an error when `flyspell-pre-point' was nil after switching
16241 buffers.
16242 (flyspell-post-command-hook): No longer needs to change buffers when
16243 checking pre-word. While at it remove unnecessary progn.
16244
16245 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
16246
16247 * textmodes/ispell.el (ispell-add-per-file-word-list):
16248 Fix `flyspell-correct-word-before-point' error when accepting
16249 words and `coment-padding' is an integer by using
16250 `comment-normalize-vars' (Bug #14214).
16251
16252 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16253
16254 New defun movement commands.
16255 * progmodes/python.el (python-nav--syntactically)
16256 (python-nav--forward-defun, python-nav-backward-defun)
16257 (python-nav-forward-defun): New functions.
16258
16259 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16260
16261 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
16262 (python-syntax-context): Use named compiler-macro for backwards
16263 compatibility with Emacs 24.x.
16264
16265 2013-04-17 Leo Liu <sdl.web@gmail.com>
16266
16267 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
16268 octave-hide-process-buffer.
16269
16270 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16271
16272 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
16273 (bug#14216).
16274
16275 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
16276
16277 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
16278 Fix adjustment of offset when receiving incomplete responses from GDB
16279 (bug#14129).
16280
16281 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16282
16283 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
16284 python-mode-abbrev-table.
16285 (python-skeleton-define): Adjust accordingly.
16286 (python-mode-abbrev-table): New table that inherits from it so that
16287 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
16288
16289 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
16290 (abbrev-symbol): Use it.
16291 (abbrev--before-point): Use it since we already handle inheritance.
16292
16293 2013-04-16 Leo Liu <sdl.web@gmail.com>
16294
16295 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
16296 binding to info-lookup-symbol.
16297
16298 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
16299
16300 * minibuffer.el (completion--twq-all):
16301 * term/ns-win.el (ns-initialize-window-system):
16302 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
16303
16304 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16305
16306 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
16307 global bindings.
16308
16309 * doc-view.el (doc-view-start-process): Handle url-handler directories.
16310
16311 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
16312
16313 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
16314 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
16315 to nil.
16316 (ruby-end-of-defun): Remove the unused arg, change the docstring
16317 to reflect that this function is only used as the value of
16318 `end-of-defun-function'.
16319 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
16320 to reflect an earlier change that beginning/end-of-defun functions
16321 jump between methods in a class definition, as well as top-level
16322 functions.
16323
16324 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16325
16326 * minibuffer.el (minibuffer-complete): Don't just scroll
16327 a *Completions* that's been iconified.
16328 (minibuffer-force-complete): Make sure repetitions do cycle when going
16329 through completion-in-region -> minibuffer-complete.
16330
16331 2013-04-15 Alan Mackenzie <acm@muc.de>
16332
16333 Correct the placement of c-cpp-delimiters when there're #s not at
16334 col 0.
16335
16336 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
16337 place a submatch around the #.
16338 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
16339 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
16340 on the #, not BOL.
16341
16342 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16343
16344 * emacs-lisp/nadvice.el: Properly test names when adding advice.
16345 (advice--member-p): New arg `name'.
16346 (advice--add-function, advice-member-p): Use it (bug#14202).
16347
16348 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
16349
16350 Reformulate java imenu-generic-expression.
16351 The old expression contained ill formed regexps.
16352
16353 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
16354 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
16355 (cc-imenu-java-method-arg-regexp): New defconsts.
16356 (cc-imenu-java-build-type-args-regex): New defun.
16357 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
16358 handling of spaces in the regexp.
16359
16360 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16361
16362 * textmodes/ispell.el (ispell-command-loop): Remove
16363 flyspell highlight of a word when ispell accepts it (bug #14178).
16364
16365 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
16366
16367 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
16368 uses code from the previous `ange-ftp-run-real-handler'.
16369 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
16370 only in case that function exist. This is needed for proper
16371 unloading of Tramp.
16372
16373 2013-04-15 Tassilo Horn <tsdh@gnu.org>
16374
16375 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
16376
16377 * textmodes/reftex.el (reftex-compile-variables): Use it.
16378
16379 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16380
16381 * files.el (normal-mode): Only use default major-mode if no other mode
16382 was specified.
16383
16384 * emacs-lisp/trace.el (trace-values): New function.
16385
16386 * files.el: Allow : in local variables (bug#14089).
16387 (hack-local-variable-regexp): New var.
16388 (hack-local-variables-prop-line, hack-local-variables): Use it.
16389
16390 2013-04-13 Roland Winkler <winkler@gnu.org>
16391
16392 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
16393 data before it gets modified by bibtex-beginning-of-entry.
16394
16395 2013-04-13 Roland Winkler <winkler@gnu.org>
16396
16397 * textmodes/bibtex.el (bibtex-url): Doc fix.
16398
16399 2013-04-13 Roland Winkler <winkler@gnu.org>
16400
16401 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
16402 does not visit a BibTeX file, exclude it from the list of buffers
16403 returned by bibtex-initialize.
16404
16405 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
16406
16407 * window.el (split-window): Remove interactive form, since as a
16408 command this function is a special case of split-window-below.
16409 Correct doc string.
16410
16411 2013-04-12 Roland Winkler <winkler@gnu.org>
16412
16413 * faces.el (read-face-name): Do not override value of arg default.
16414 Allow single faces and strings as default values. Remove those
16415 elements from return value that are not faces.
16416 (describe-face): Simplify.
16417 (face-at-point): New optional args thing and multiple so that this
16418 function can provide the same functionality previously provided by
16419 read-face-name.
16420 (make-face-bold, make-face-unbold, make-face-italic)
16421 (make-face-unitalic, make-face-bold-italic, invert-face)
16422 (modify-face, read-face-and-attribute): Use face-at-point.
16423
16424 * cus-edit.el (customize-face, customize-face-other-window)
16425 * cus-theme.el (custom-theme-add-face)
16426 * face-remap.el (buffer-face-set)
16427 * facemenu.el (facemenu-set-face): Use face-at-point.
16428
16429 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
16430
16431 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
16432
16433 2013-04-10 Tassilo Horn <tsdh@gnu.org>
16434
16435 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
16436 off leading { and trailing } from field values.
16437
16438 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16439
16440 * emacs-lisp/timer.el (timer--check): New function.
16441 (timer--time, timer-set-function, timer-event-handler): Use it.
16442 (timer-set-idle-time): Simplify.
16443 (timer--activate): CSE.
16444 (timer-event-handler): Give more info in error message.
16445 (internal-timer-start-idle): New function, moved from C.
16446
16447 * mpc.el (mpc-proc): Add `restart' argument.
16448 (mpc-proc-cmd): Use it.
16449 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
16450 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
16451 less often.
16452
16453 2013-04-10 Masatake YAMATO <yamato@redhat.com>
16454
16455 * progmodes/sh-script.el: Implement `sh-mode' own
16456 `add-log-current-defun-function' (bug#14112).
16457 (sh-current-defun-name): New function.
16458 (sh-mode): Use the function.
16459
16460 2013-04-09 Bastien Guerry <bzg@gnu.org>
16461
16462 * simple.el (choose-completion-string): Fix docstring (bug#14163).
16463
16464 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
16465
16466 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16467
16468 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16469 timer (bug#14156).
16470
16471 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
16472
16473 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16474 declaration.
16475
16476 2013-04-07 Leo Liu <sdl.web@gmail.com>
16477
16478 * pcmpl-x.el: New file.
16479
16480 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
16481
16482 Do not set x-display-name until X connection is established.
16483 This is needed to prevent from weird situation described at
16484 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16485 * frame.el (make-frame): Set x-display-name after call to
16486 window system initialization function, not before.
16487 * term/x-win.el (x-initialize-window-system): Add optional
16488 display argument and use it.
16489 * term/w32-win.el (w32-initialize-window-system):
16490 * term/ns-win.el (ns-initialize-window-system):
16491 * term/pc-win.el (msdos-initialize-window-system):
16492 Add compatible optional display argument.
16493
16494 2013-04-06 Eli Zaretskii <eliz@gnu.org>
16495
16496 * files.el (normal-backup-enable-predicate): On MS-Windows and
16497 MS-DOS compare truenames of temporary-file-directory and of the
16498 file, so that 8+3 aliases (usually found in $TEMP on Windows)
16499 don't fail comparison by compare-strings. Also, compare file
16500 names case-insensitively on MS-Windows and MS-DOS.
16501
16502 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16503
16504 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16505 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16506
16507 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
16508
16509 * whitespace.el (whitespace-color-on, whitespace-color-off):
16510 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16511
16512 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
16513
16514 * ispell.el (ispell-set-spellchecker-params):
16515 Really set `ispell-args' for all equivs.
16516
16517 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16518
16519 * ido.el (ido-completions): Use extra elements of ido-decorations
16520 (bug#14143).
16521 (ido-decorations): Update docstring.
16522
16523 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
16524
16525 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16526 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16527 nil during initialization, in order not to miss changes since the
16528 file was opened. (Bug#14140)
16529
16530 2013-04-05 Leo Liu <sdl.web@gmail.com>
16531
16532 * kmacro.el (kmacro-call-macro): Fix bug#14135.
16533
16534 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
16535
16536 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16537
16538 2013-04-04 Glenn Morris <rgm@gnu.org>
16539
16540 * electric.el (electric-pair-inhibit-predicate): Add :version.
16541
16542 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16543
16544 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16545 when a package is required several times (bug#14082).
16546
16547 2013-04-04 Roland Winkler <winkler@gnu.org>
16548
16549 * faces.el (read-face-name): Behave as promised by the docstring.
16550 Assume that arg default is a list of faces.
16551 (describe-face): Call read-face-name with list of default faces.
16552
16553 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16554
16555 * bookmark.el: Fix deletion of bookmarks (bug#13972).
16556 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16557 (bookmark-bmenu-execute-deletions): Only skip first line if it's
16558 the header.
16559 (bookmark-exit-hook-internal): Save even if list is empty.
16560
16561 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
16562
16563 * emacs-lisp/package.el (package-pinned-packages): New var.
16564 (package--add-to-archive-contents): Obey it (bug#14118).
16565
16566 2013-04-03 Alan Mackenzie <acm@muc.de>
16567
16568 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16569 Also adapt to the new values of element 7 of a parse state.
16570
16571 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16572 parameter `not-in-delimiter'. Handle being inside comment opener.
16573 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16574 character in case we're typing a '*' after a '/'.
16575 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16576 instead by passing the parameter to c-state-pp-to-literal.
16577
16578 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16579 for elt. 7 of a parse state.
16580
16581 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16582
16583 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16584 * international/latin1-disp.el, international/mule-util.el:
16585 * language/cyril-util.el, language/european.el, language/ind-util.el:
16586 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16587 * language/tibetan.el, language/viet-util.el:
16588 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16589
16590 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16591
16592 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16593 (electric-pair-post-self-insert-function): Use it.
16594 (electric-pair-default-inhibit): New function, extracted from
16595 electric-pair-post-self-insert-function.
16596
16597 2013-03-31 Roland Winkler <winkler@gnu.org>
16598
16599 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16600
16601 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16602
16603 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16604
16605 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
16606
16607 Un-indent after "pass" and "return" statements (Bug#13888)
16608 * progmodes/python.el (python-indent-block-enders): New var.
16609 (python-indent-calculate-indentation): Use it.
16610
16611 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
16612
16613 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16614 defun. Defining it as defalias could introduce too eager
16615 byte-compiler optimization. (Bug#14030)
16616
16617 2013-03-30 Chong Yidong <cyd@gnu.org>
16618
16619 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16620
16621 2013-03-30 Leo Liu <sdl.web@gmail.com>
16622
16623 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16624 (kmacro-execute-from-register): Pass the keyboard macro to
16625 kmacro-call-macro or repeating won't work correctly.
16626
16627 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16628
16629 * progmodes/subword.el: Back to using `forward-symbol'.
16630
16631 * subr.el (forward-whitespace, forward-symbol)
16632 (forward-same-syntax): Move from thingatpt.el.
16633
16634 2013-03-29 Leo Liu <sdl.web@gmail.com>
16635
16636 * kmacro.el (kmacro-to-register): New command.
16637 (kmacro-execute-from-register): New function.
16638 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16639
16640 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16641
16642 * mpc.el: Use defvar-local and setq-local.
16643 (mpc--proc-connect): Connection failures are not bugs.
16644 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16645 (mpc-volume-map): Bind to the up-events.
16646
16647 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16648
16649 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16650 instead of `forward-symbol'.
16651
16652 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16653
16654 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16655 (edebug--recursive-edit): Use it.
16656 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16657 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16658
16659 2013-03-28 Leo Liu <sdl.web@gmail.com>
16660
16661 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16662
16663 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16664
16665 * facemenu.el (list-colors-callback): New defvar.
16666 (list-colors-redisplay): New function.
16667 (list-colors-display): Install list-colors-redisplay as the
16668 revert-buffer-function. (Bug#14063)
16669
16670 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16671
16672 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16673 and suffixes don't overlap (bug#14061).
16674
16675 * case-table.el: Use lexical-binding.
16676 (case-table-get-table): New function.
16677 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16678
16679 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16680
16681 * progmodes/subword.el: Add `superword-mode' to do word motion
16682 over symbol_words (parallels and leverages `subword-mode' which
16683 does word motion inside MixedCaseWords).
16684
16685 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16686
16687 * eshell/em-unix.el: Move su and sudo to...
16688 * eshell/em-tramp.el: ...Eshell tramp module.
16689
16690 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16691
16692 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16693 Change return value to be a sexp. Delay `get-buffer' to after
16694 restoring the desktop (bug#13951).
16695
16696 2013-03-26 Leo Liu <sdl.web@gmail.com>
16697
16698 * register.el: Move semantic tag handling back to
16699 cedet/semantic/senator.el. (Bug#14052)
16700
16701 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16702
16703 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16704 into the prompt either (bug#13963).
16705
16706 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16707
16708 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16709 part of "(error-foo)".
16710
16711 2013-03-24 Juri Linkov <juri@jurta.org>
16712
16713 * replace.el (list-matching-lines-prefix-face): New defcustom.
16714 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16715 `occur-engine' if `face-differs-from-default-p' returns t.
16716 (occur-engine): Add `,' inside backquote construct to evaluate
16717 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16718 Pass `prefix-face' to the functions `occur-context-lines' and
16719 `occur-engine-add-prefix'.
16720 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16721 `prefix-face' and propertize the prefix with `prefix-face'.
16722 (Bug#14017)
16723
16724 2013-03-24 Leo Liu <sdl.web@gmail.com>
16725
16726 * nxml/rng-valid.el (rng-validate-while-idle)
16727 (rng-validate-quick-while-idle): Guard against deleted buffer.
16728 (Bug#13999)
16729
16730 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16731 is the last entry in kill-buffer-hook.
16732
16733 * files.el (kill-buffer-hook): Doc fix.
16734
16735 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16736
16737 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16738 Make it safe-local.
16739
16740 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16741
16742 2013-03-23 Leo Liu <sdl.web@gmail.com>
16743
16744 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16745 Remove.
16746
16747 * nxml/rng-valid.el (rng-validate-mode)
16748 (rng-after-change-function, rng-do-some-validation):
16749 * nxml/rng-maint.el (rng-validate-buffer):
16750 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16751 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16752 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16753 (nxml-extend-after-change-region): Use with-silent-modifications.
16754
16755 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16756 timer-idle-list.
16757
16758 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16759 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16760 timer-idle-list. (Bug#13999)
16761
16762 2013-03-23 Juri Linkov <juri@jurta.org>
16763
16764 * info.el (info-index-match): New face.
16765 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16766 main pattern and add text properties with the new face to matches
16767 in index entries relative to the beginning of the index entry.
16768 (Bug#14015)
16769
16770 2013-03-21 Eric Ludlam <zappo@gnu.org>
16771
16772 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16773 Inhibit read only while inserting objects.
16774
16775 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16776
16777 * progmodes/cfengine.el: Update docs to mention
16778 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16779 symbol motion. Remove "_" from the word syntax.
16780
16781 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16782
16783 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16784 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16785
16786 2013-03-20 Juri Linkov <juri@jurta.org>
16787
16788 * info.el (Info-next-reference-or-link)
16789 (Info-prev-reference-or-link): New functions.
16790 (Info-next-reference, Info-prev-reference): Use them.
16791 (Info-try-follow-nearest-node): Handle footnote navigation.
16792 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16793
16794 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16795
16796 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16797 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16798
16799 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16800
16801 Suppress unnecessary non-ASCII chatter during build process.
16802 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16803 (batch-skkdic-convert): Suppress most of the chatter.
16804 It's not needed so much now that machines are faster,
16805 and its non-ASCII component was confusing; see Dmitry Gutov in
16806 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16807
16808 2013-03-20 Leo Liu <sdl.web@gmail.com>
16809
16810 * ido.el (ido-chop): Fix bug#10994.
16811
16812 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16813
16814 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16815 Remove vars.
16816 (whitespace-color-on, whitespace-color-off):
16817 Use `font-lock-fontify-buffer' (Bug#13817).
16818
16819 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16820
16821 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16822 remapping in mode-line.
16823 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16824
16825 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16826
16827 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16828 value for `whitespace-line' face (Bug#13875).
16829 (whitespace-font-lock-keywords): Change description.
16830 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16831 the constructed keywords instead.
16832 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16833
16834 2013-03-19 Leo Liu <sdl.web@gmail.com>
16835
16836 * progmodes/compile.el (compilation-display-error): New command.
16837 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16838 C-o. (Bug#13992)
16839
16840 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16841
16842 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16843
16844 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16845
16846 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16847
16848 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16849
16850 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16851
16852 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16853 * net/tramp-gvfs.el (top):
16854 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16855 (tramp-handle-shell-command): Use it.
16856 (tramp-dissect-file-name): Raise an error when hostname is a
16857 method name, and neither method nor user is specified.
16858
16859 * net/trampver.el: Update release number.
16860
16861 2013-03-18 Leo Liu <sdl.web@gmail.com>
16862
16863 Make sure eldoc can be turned off properly.
16864 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16865 eldoc-mode.
16866 (eldoc-display-message-p): Revert last change.
16867 (eldoc-display-message-no-interference-p)
16868 (eldoc-print-current-symbol-info): Tweak.
16869
16870 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16871
16872 * doc-view.el (doc-view-new-window-function): Check the new window
16873 overlay's display property instead the char property of the
16874 buffer's first char. Use `with-selected-window' instead of
16875 `save-window-excursion' with `select-window'.
16876 (doc-view-document->bitmap): Check the current doc-view overlay's
16877 display property instead the char property of the buffer's first char.
16878
16879 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16880
16881 Automate the build of ja-dic.el (Bug#13984).
16882 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16883 from the input, rather than assume that it's been done for us by the
16884 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16885 the current date into a ja-dic.el comment, as that complicates
16886 regression testing.
16887
16888 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16889
16890 * whitespace.el: Fix double evaluation.
16891 (whitespace-space, whitespace-hspace, whitespace-tab)
16892 (whitespace-newline, whitespace-trailing, whitespace-line)
16893 (whitespace-space-before-tab, whitespace-indentation)
16894 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16895 obsolete defvars.
16896 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16897 (whitespace-color-on): Use a single font-lock-add-keywords call.
16898 Fix double-evaluation of face variables.
16899
16900 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16901
16902 * net/tramp-adb.el (tramp-adb-parse-device-names):
16903 Use `start-process' instead of `call-process'. Otherwise, the
16904 function might be blocked under MS Windows. (Bug#13299)
16905
16906 2013-03-17 Leo Liu <sdl.web@gmail.com>
16907
16908 Extend eldoc to display info in the mode-line. (Bug#13978)
16909 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16910 (eldoc-mode-line-string): New variable.
16911 (eldoc-minibuffer-message): New function.
16912 (eldoc-message-function): New variable.
16913 (eldoc-message): Use it.
16914 (eldoc-display-message-p)
16915 (eldoc-display-message-no-interference-p):
16916 Support eldoc-post-insert-mode.
16917
16918 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16919 (eval-expression): Run it.
16920
16921 2013-03-17 Roland Winkler <winkler@gnu.org>
16922
16923 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16924 strings in the list of return values.
16925
16926 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16927
16928 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16929 radix before checking for HMS forms.
16930
16931 2013-03-16 Leo Liu <sdl.web@gmail.com>
16932
16933 * progmodes/scheme.el: Add indentation and font-locking for λ.
16934 (Bug#13975)
16935
16936 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16937
16938 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16939 token before point (bug#13942).
16940
16941 2013-03-16 Leo Liu <sdl.web@gmail.com>
16942
16943 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16944
16945 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16946
16947 * startup.el (command-line-normalize-file-name): Fix handling of
16948 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16949 <xfq.free@gmail.com> in
16950 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16951
16952 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16953
16954 Sync with Tramp 2.2.7.
16955
16956 * net/trampver.el: Update release number.
16957
16958 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16959
16960 * doc-view.el: Fix bug#13887.
16961 (doc-view-insert-image): Don't modify overlay associated to
16962 non-live windows, and implement horizontal centering of image in
16963 case it's smaller than the window.
16964 (doc-view-new-window-function): Force redisplay of new windows on
16965 doc-view buffers.
16966
16967 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16968
16969 * saveplace.el (save-place-alist-to-file): Don't sort
16970 `save-place-alist', just pretty-print it (bug#13882).
16971
16972 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16973
16974 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16975 Check whether `default-file-name-coding-system' is bound.
16976 It isn't in XEmacs.
16977
16978 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16979
16980 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16981 backquotes for `obsolete' (bug#13929).
16982
16983 * international/mule.el (find-auto-coding): Include file name in
16984 obsolescence warning (bug#13922).
16985
16986 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16987
16988 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16989 for CFEngine 3-specific indentation.
16990 (cfengine3-indent-line): Use it. Fix up category regex.
16991 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16992
16993 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16994
16995 * type-break.el (type-break-file-name):
16996 * textmodes/remember.el (remember-data-file):
16997 * strokes.el (strokes-file):
16998 * shadowfile.el (shadow-initialize):
16999 * saveplace.el (save-place-file):
17000 * ps-bdf.el (bdf-cache-file):
17001 * progmodes/idlwave.el (idlwave-config-directory):
17002 * net/quickurl.el (quickurl-url-file):
17003 * international/kkc.el (kkc-init-file-name):
17004 * ido.el (ido-save-directory-list-file):
17005 * emulation/viper.el (viper-custom-file-name):
17006 * emulation/vip.el (vip-startup-file):
17007 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
17008 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
17009
17010 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
17011
17012 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
17013 * language/thai-word.el: Switch to UTF-8.
17014
17015 See ChangeLog.16 for earlier changes.
17016
17017 ;; Local Variables:
17018 ;; coding: utf-8
17019 ;; End:
17020
17021 Copyright (C) 2011-2015 Free Software Foundation, Inc.
17022
17023 This file is part of GNU Emacs.
17024
17025 GNU Emacs is free software: you can redistribute it and/or modify
17026 it under the terms of the GNU General Public License as published by
17027 the Free Software Foundation, either version 3 of the License, or
17028 (at your option) any later version.
17029
17030 GNU Emacs is distributed in the hope that it will be useful,
17031 but WITHOUT ANY WARRANTY; without even the implied warranty of
17032 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17033 GNU General Public License for more details.
17034
17035 You should have received a copy of the GNU General Public License
17036 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.