]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
doc/lispref/variables.texi (Creating Buffer-Local): Improve indexing (Bug#19608)
[gnu-emacs] / lisp / ChangeLog
1 2015-01-13 Michael Albinus <michael.albinus@gmx.de>
2
3 * filenotify.el (file-notify-descriptors, file-notify-handle-event):
4 Adapt docstring.
5 (file-notify--descriptor): New defun.
6 (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
7 Adapt docstring. Handle multiple values for
8 `file-notify-descriptors' entries. (Bug#18880)
9
10 * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
11 `file-notify-descriptors', the implementation has been changed.
12
13 2015-01-13 Juri Linkov <juri@linkov.net>
14
15 * comint.el (comint-history-isearch-search)
16 (comint-history-isearch-wrap): Use field-beginning instead of
17 comint-line-beginning-position.
18 (comint-send-input): Go to the end of the field instead of the end
19 of the line to accept whole multi-line input.
20 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
21 (comint-history-isearch-message): Use field-beginning
22 instead of comint-line-beginning-position - that's more fixes for
23 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
24 (comint-history-isearch-message): Fix args of isearch-message-prefix.
25
26 [Backport]
27
28 2015-01-09 Eli Zaretskii <eliz@gnu.org>
29
30 * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
31 On MS-Windows, bind coding-system-for-read to the console output
32 codepage. (Bug#19458)
33
34 2015-01-08 Eli Zaretskii <eliz@gnu.org>
35
36 * simple.el (line-move-visual): When converting X pixel coordinate
37 to temporary-goal-column, adjust the value for right-to-left
38 screen lines. This fixes vertical-motion, next/prev-line, etc.
39
40 2015-01-06 Glenn Morris <rgm@gnu.org>
41
42 * progmodes/sh-script.el (sh-mode): Doc fix.
43 (sh-basic-indent-line): Handle electric newline. (Bug#18756)
44
45 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
46
47 * emacs-lisp/package.el (package-menu-mode): Use an extra column
48 for the "Version" column, to accomodate date-and-time-based versions.
49
50 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
51
52 Fix dired quoting bug with "Hit`N`Hide". Fixes Bug#19498.
53 * files.el (shell-quote-wildcard-pattern): Also quote "`".
54
55 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
56
57 Unbreak `mouse-action' property in text buttons.
58 * button.el (push-button): Fix regression from 2012-12-06.
59
60 2015-01-01 Eli Zaretskii <eliz@gnu.org>
61
62 * tool-bar.el (tool-bar-local-item)
63 (tool-bar-local-item-from-menu): Call force-mode-line-update to
64 make sure the tool-bar changes show on display.
65
66 2014-12-29 Michael Albinus <michael.albinus@gmx.de>
67
68 Sync with Tramp 2.2.11.
69
70 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
71 Make an alias for `default-toplevel-value' if it doesn't exist.
72
73 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
74 Use `tramp-compat-delete-directory'.
75
76 * net/trampver.el: Update release number.
77
78 2014-12-29 Filipp Gunbin <fgunbin@fastmail.fm>
79
80 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
81 for remote files. (Bug#19449)
82
83 2014-12-28 Eli Zaretskii <eliz@gnu.org>
84
85 * international/mule.el (define-coding-system): Fix typos in the
86 doc string.
87
88 2014-12-28 Kenichi Handa <handa@gnu.org>
89
90 * international/mule.el (define-coding-system): Improve the doc
91 string.
92
93 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
94
95 * progmodes/python.el (python-shell-buffer-substring): Handle
96 cornercase when region sent starts at point-min.
97
98 2014-12-27 Eli Zaretskii <eliz@gnu.org>
99
100 * language/misc-lang.el (composition-function-table): Add Syriac
101 characters and also ZWJ/ZWNJ. See
102 http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
103 for the details.
104
105 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
106
107 python.el: Fix message when sending region.
108
109 * progmodes/python.el (python-shell-send-region): Rename argument
110 send-main from nomain. Fix message.
111 (python-shell-send-buffer): Rename argument send-main from arg.
112
113 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
114
115 python.el: Cleanup temp files even with eval errors.
116
117 * progmodes/python.el (python-shell-send-file): Make file-name
118 mandatory. Fix temp file removal in the majority of cases.
119
120 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
121
122 python.el: Handle file encoding for shell.
123
124 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
125 (python-shell--save-temp-file): Write file with proper encoding.
126 (python-shell-buffer-substring): Add coding cookie for detected
127 encoding to generated content. Fix blank lines when removing
128 if-name-main block.
129 (python-shell-send-file): Handle file encoding.
130 (python-info-encoding-from-cookie)
131 (python-info-encoding): New functions.
132
133 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
134
135 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
136 Use `tramp-rsh-end-of-line', it ought to be more robust.
137
138 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
139
140 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
141 (bug#19397).
142
143 2014-12-23 Michael Albinus <michael.albinus@gmx.de>
144
145 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
146
147 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
148 as end-of-line delimeter for passwords, when running on MS Windows.
149
150 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
151
152 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
153 of indent-line-function (bug#19433).
154
155 2014-12-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
156
157 Fix line numbers on Python shell.
158 * progmodes/python.el (python-shell--save-temp-file): Do not
159 append coding cookie.
160 (python-shell-send-string): Generalize for
161 python-shell-send-region.
162 (python--use-fake-loc): Delete var.
163 (python-shell-buffer-substring): Cleanup fake-loc logic.
164 (python-shell-send-region): Remove fake-loc logic, simplify.
165
166 2014-12-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
167
168 * progmodes/python.el (python-indent-post-self-insert-function):
169 Make colon to re-indent only for dedenters, handling
170 multiline-statements gracefully.
171
172 2014-12-21 Michael Albinus <michael.albinus@gmx.de>
173
174 * net/tramp.el (tramp-handle-insert-file-contents):
175 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
176
177 2014-12-19 Michael Albinus <michael.albinus@gmx.de>
178
179 * net/tramp-sh.el (tramp-send-command-and-read): New optional
180 arg MARKER.
181 (tramp-get-remote-path): Use it.
182
183 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
184
185 * subr.el (redisplay-dont-pause): Mark as obsolete.
186
187 2014-12-17 Michael Albinus <michael.albinus@gmx.de>
188
189 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
190 (tramp-accept-process-output): Use nil as argument for
191 `accept-process-output', when there is a gateway prepended.
192
193 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
194 wrong debug buffer.
195 (tramp-gw-open-connection): Set process coding system 'binary.
196 (tramp-gw-open-network-stream): Handle HTTP error 403.
197
198 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
199 wrong debug buffer.
200 (tramp-maybe-open-connection): Set connection property "gateway".
201
202 2014-12-15 Stefan Monnier <monnier@iro.umontreal.ca>
203
204 * subr.el (sit-for): Tweak docstring (bug#19381).
205
206 2014-12-15 Dmitry Gutov <dgutov@yandex.ru>
207
208 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
209 stage to after `diff-index' (bug#19386).
210
211 2014-12-14 João Távora <joaotavora@gmail.com>
212
213 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
214 `electric-pair-mode' (bug#19356).
215
216 2014-12-12 Michael Albinus <michael.albinus@gmx.de>
217
218 * simple.el (password-word-equivalents): Add "passcode", used for
219 numeric secrets like PINs or RSA tokens.
220
221 2014-12-10 Michael Albinus <michael.albinus@gmx.de>
222
223 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
224 order to determine `tramp-own-remote-path'.
225
226 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
227
228 * progmodes/python.el (python-shell-parse-command):
229 Quote `python-shell-interpreter`. (Bug#19289)
230
231 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
232
233 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
234 of the whole pipe when indenting an opening keyword after a |.
235 Generalize this treatment to opening keywords like "while" (bug#18031).
236
237 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
238
239 * simple.el (newline): Place the hook buffer-locally,
240 to make sure it's first.
241
242 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
243 Fix handling of symbols with different syntax at beginning/end or with
244 symbol rather than word syntax.
245
246 2014-11-30 Eli Zaretskii <eliz@gnu.org>
247
248 * simple.el (line-move): If noninteractive, call line-move-1, not
249 forward-line, since the former is compatible with line-move-visual
250 both in terms of the column to which it moves and the return
251 value. (Bug#19211)
252
253 2014-11-27 Stephen Berman <stephen.berman@gmx.net>
254 Stefan Monnier <monnier@iro.umontreal.ca>
255
256 * outline.el (outline-move-subtree-down): Make sure we can move
257 forward to find the end of the subtree and the insertion point
258 (bug#19102).
259
260 2014-11-27 Leonard Randall <leonard.a.randall@gmail.com>
261
262 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
263 for comment lines non-greedy and stopping at newlines to fix stack
264 overflows with large files. [Backport]
265
266 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
267
268 * progmodes/python.el (python-shell-completion-setup-code):
269 Use __builtin__ module (or builtins in Python 3) and catch all errors
270 when importing readline and rlcompleter.
271
272 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
273
274 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
275 (todo-revert-buffer): New function.
276 (todo-modes-set-1): Use it as the buffer-local value of
277 revert-buffer-function.
278
279 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
280
281 * calendar/todo-mode.el (todo-mode): If called interactively, just
282 display a message saying to call todo-show to enter Todo mode
283 (Bug#19112).
284
285 2014-11-24 Dmitry Gutov <dgutov@yandex.ru>
286
287 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
288 (Bug#18579)
289
290 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
291 files. (Bug#18579)
292
293 2014-11-23 Michael Albinus <michael.albinus@gmx.de>
294
295 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
296 remote `buffer-file-name'.
297
298 2014-11-23 Leo Liu <sdl.web@gmail.com>
299
300 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
301
302 2014-11-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
303
304 Set PYTHONUNBUFFERED on shell startup.
305
306 * progmodes/python.el (python-shell-unbuffered): New var.
307 (python-shell-calculate-process-environment): Use it.
308
309 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
310
311 * net/tramp.el (tramp-action-password): Clean password on subsequent
312 attempts even if there was no wrong password indication. (Bug#19047)
313
314 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
315 fallback.
316 (tramp-open-connection-setup-interactive-shell): No need to check
317 for nil as `tramp-get-remote-locale' return value.
318
319 2014-11-21 Eli Zaretskii <eliz@gnu.org>
320
321 * vc/vc-git.el (vc-git-command, vc-git--call):
322 Bind coding-system-for-read and coding-system-for-write to
323 vc-git-commits-coding-system.
324 (vc-git-previous-revision): Use "~1" instead of "^", since the
325 latter is a special character for MS-Windows system shells.
326
327 2014-11-20 Michael Albinus <michael.albinus@gmx.de>
328
329 Improve XEmacs compatibility.
330
331 * net/tramp.el (tramp-autoload-file-name-handler):
332 Wrap `temporary-file-directory' by `symbol-value', it doesn't
333 exist in XEmacs.
334 (tramp-read-passwd): Don't use `with-timeout-suspend' and
335 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
336 (tramp-time-less-p, tramp-time-subtract): Remove functions.
337 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
338 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
339 * net/tramp-cache.el (tramp-get-file-property):
340 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
341 Use `time-less-p' and `time-subtract, respectively.
342
343 * net/tramp-adb.el (top): Do not require time-date.el.
344
345 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
346
347 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
348 Check, whether `utf-8' is a valid coding system.
349
350 2014-11-19 Eli Zaretskii <eliz@gnu.org>
351
352 * vc/vc.el (vc-retrieve-tag): Doc fix.
353
354 2014-11-17 Eli Zaretskii <eliz@gnu.org>
355
356 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
357 Don't assume --long is the default for "bzr log", always specify
358 it explicitly, in case the user defined an alias for 'log' that
359 uses some other format.
360
361 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
362
363 * progmodes/python.el (python-eldoc--get-doc-at-point):
364 Strip shell output before returning. (bug#18794)
365
366 2014-11-16 Dmitry Gutov <dgutov@yandex.ru>
367
368 Fix indentation before `!=' and after `+='. Originally reported
369 in https://github.com/mooz/js2-mode/issues/174.
370 * progmodes/js.el (js--indent-operator-re): Make assignments and
371 (in)equality operator a separate case.
372 (js--continued-expression-p): Escape the second `+' in the regexp.
373
374 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
375
376 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
377
378 2014-11-15 Andreas Schwab <schwab@linux-m68k.org>
379
380 * version.el (emacs-repository-get-version): Use git rev-parse
381 instead of git log.
382
383 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
384
385 * progmodes/python.el (python-indent-calculate-levels):
386 Fix indentation behavior multiline dedenter statement. (Bug#18432)
387
388 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
389
390 * progmodes/python.el (python-indent-region):
391 Use python-indent-line and skip special cases. (Bug#18843)
392
393 2014-11-15 Michael Albinus <michael.albinus@gmx.de>
394
395 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
396
397 2014-11-15 Peder O. Klingenberg <peder@klingenberg.no>
398
399 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
400 envelope-from when reporting through sendmail (bug#19054).
401
402 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
403
404 * progmodes/python.el (python-ffap-module-path):
405 Use `derived-mode-p' instead of equality test on `major-mode'.
406
407 2014-11-13 Ulrich Müller <ulm@gentoo.org>
408
409 * version.el (emacs-repository-get-version): Call `git log'
410 command with proper format argument (bug#19049).
411
412 2014-11-10 Glenn Morris <rgm@gnu.org>
413
414 * startup.el (command-line): Handle nil elements in load-path.
415
416 2014-11-08 Glenn Morris <rgm@gnu.org>
417
418 * emacs-lisp/bytecomp.el (byte-compile-report-error):
419 Allow the argument to be a string. Due to the vague doc,
420 it was already being used this way.
421
422 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
423
424 * net/tramp.el (tramp-check-cached-permissions): Include hop in
425 the constructed Tramp file name. (Bug#18943)
426
427 2014-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
428
429 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
430 (bug#18952).
431 (cua-set-mark, cua--pre-command-handler-1,cua--post-command-handler-1):
432 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
433
434 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
435
436 * files.el (file-name-non-special): Wrap the call of
437 `insert-file-contents' by `unwind-protect', in order to set the
438 buffer's file name anyway. (Bug#18891)
439
440 2014-11-07 Daiki Ueno <ueno@gnu.org>
441
442 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
443 (bug#18979). Reported by Hideki Saito.
444
445 2014-10-18 Alan Mackenzie <acm@muc.de>
446
447 Check that a "macro" found near point-min isn't a ## operator.
448 Fixes bug #18749. Backported from trunk, 2014-11-05.
449 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
450 (c-beginning-of-macro): Use the above new function.
451
452 2014-11-05 Alan Mackenzie <acm@muc.de>
453
454 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
455 * progmodes/cc-fonts.el (c-font-lock-declarations):
456 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
457 the buffer is sometimes narrowed to less than "limit" (e.g., in
458 the presence of macros).
459
460 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
461
462 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
463 only when message appeared in minibuffer. (Bug#18891)
464
465 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
466 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
467 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
468 case of errors.
469
470 2014-11-04 Eli Zaretskii <eliz@gnu.org>
471
472 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
473 returned by load-average.
474
475 2014-11-04 Michael Albinus <michael.albinus@gmx.de>
476
477 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
478 a local copy; setting `inhibit-file-name-handlers' proper might be
479 more performant. (Bug#18751)
480
481 2014-11-04 Glenn Morris <rgm@gnu.org>
482
483 * mail/emacsbug.el (report-emacs-bug): No longer include
484 recent-keys in the report. (Bug#18900)
485
486 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
487
488 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
489 local copy of FILENAME, when it is remote. (Bug#18751)
490
491 2014-11-02 Michael Albinus <michael.albinus@gmx.de>
492
493 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
494 an error when the command fails; the return code must indicate.
495 (tramp-adb-send-command-and-check): Fix docstring.
496
497 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
498
499 * net/tramp-cache.el (tramp-get-file-property)
500 (tramp-set-file-property): Check, that `tramp-cache-get-count-*'
501 and `tramp-cache-set-count-*' are bound. Otherwise, there might
502 be compiler warnings.
503
504 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
505 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
506
507 2014-11-01 Eli Zaretskii <eliz@gnu.org>
508
509 * progmodes/compile.el (compilation-mode): Turn off deferred
510 fontifications locally. (Bug#18856)
511
512 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
513
514 * net/tramp-sh.el (tramp-send-command): Fix the case where the
515 remote-echo connection property is non-nil (bug#18858).
516
517 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
518
519 Backport Tramp changes from trunk.
520
521 * net/tramp.el (tramp-methods): Tweak docstring.
522 (tramp-file-name-handler): Apply `cons' where appropriate.
523 (tramp-handle-file-accessible-directory-p): Check for
524 `file-readable-p' instead of `file-executable-p'.
525 (tramp-handle-shell-command): Use `display-buffer'. (Bug#18326)
526 (tramp-handle-unhandled-file-name-directory): Return "/".
527 (tramp-check-cached-permissions):
528 Use `tramp-compat-file-attributes'.
529 (tramp-call-process): Add new argument VEC. Adapt callees in all
530 tramp*.el files.
531
532 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
533 (tramp-adb-handle-write-region): Improve messages.
534 (tramp-adb-maybe-open-connection): Don't set
535 `tramp-current-*' variables.
536
537 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
538 Suppress debug messages.
539
540 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
541 (tramp-ftp-file-name-handler):
542
543 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
544 (tramp-gvfs-methods-mounttracker)
545 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
546 during initialization. (Bug#18774)
547 (tramp-gvfs-handle-delete-file): Flush file properties, not
548 directory properties.
549 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
550 reading "unix::mode".
551 (tramp-gvfs-handle-file-name-all-completions):
552 Use "-h" option for "gvfs-ls".
553 (tramp-gvfs-url-file-name): Apply `cons' where appropriate.
554 `user' and `localname' could be nil.
555 (tramp-gvfs-send-command): Simplify traces.
556
557 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
558 (vc-git-program, vc-hg-program): Declare.
559 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
560 (tramp-methods) <nc>: Add new method.
561 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
562 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
563 `tramp-login-args'.
564 (tramp-default-user-alist): Add "nc".
565 (top): Remove completion function for "sftp". Add completion
566 functions for "nc" and "psftp".
567 (tramp-sh-handle-set-visited-file-modtime):
568 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
569 (tramp-do-copy-or-rename-file-out-of-band):
570 Use cached "remote-copy-args" value, if available. (Bug#18199)
571 Tweak docstring. Implement support for "nc" method.
572 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
573 (tramp-remote-coding-commands, tramp-call-local-coding-command):
574 Tweak docstring.
575 (tramp-sh-handle-start-file-process): Expand `default-directory'.
576 (tramp-sh-handle-write-region): Tweak error message.
577 (tramp-sh-handle-vc-registered): Remove backends when the remote
578 binary does not exist.
579 (tramp-open-connection-setup-interactive-shell):
580 Prefer utf-8 coding. (Bug#17859)
581 (tramp-find-inline-encoding): Do not raise an error.
582 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
583 the "nc" case. Quote result also locally.
584 (tramp-get-remote-id): Check also for "gid".
585 (tramp-get-remote-python):
586
587 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
588 (tramp-smb-handle-set-file-acl): Use `start-process'.
589 (tramp-smb-handle-insert-directory): Use progress reporter.
590 (tramp-smb-handle-rename-file): Flush also file properties of
591 FILENAME.
592
593 * net/trampver.el: Update release number.
594
595 2014-11-01 Reuben Thomas <rrt@sc3d.org>
596
597 * net/tramp.el (tramp-handle-file-symlink-p):
598 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
599 about VMS, which we no longer support.
600
601 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
602
603 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
604 the global vc-handled-backends (bug#18535).
605
606 2014-11-01 Jérémy Compostella <jeremy.compostella@intel.com>
607 Michael Albinus <michael.albinus@gmx.de>
608
609 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
610 Reduce the amount of set environment variable commands.
611
612 2014-11-01 Paul Eggert <eggert@cs.ucla.edu>
613
614 * net/tramp-sh.el (tramp-get-remote-touch): Omit unnecessary call to
615 current-time.
616
617 2014-11-01 Emilio C. Lopes <eclig@gmx.net>
618
619 * net/tramp-sh.el (tramp-get-remote-python): Also search for
620 executables named "python2" or "python3".
621 (tramp-get-remote-uid-with-python): Use parentheses around
622 arguments to `print' to make it compatible with Python 3.
623 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
624
625 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
626
627 * simple.el (newline): Add assertions to try and help catch bug#18913.
628
629 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
630 (bug#18886).
631 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
632
633 2014-10-31 Eli Zaretskii <eliz@gnu.org>
634
635 * Makefile.in (repo-update): Fix a typo and slightly reword
636 commentary.
637
638 2014-10-31 Eric S. Raymond <esr@thyrsus.com>
639
640 * Makefile.in: Change some production names so they're neutral
641 about the repository type.
642
643 2014-10-30 Kim F. Storm <storm@cua.dk>
644
645 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
646 * delsel.el (delete-selection-save-to-register)
647 (delsel--replace-text-or-position): New vars.
648 (delete-active-region): Use them.
649 (delete-selection-repeat-replace-region): New command, moved from
650 cua-base.el.
651 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
652 (cua-repeat-replace-region): Move command to delsel.el.
653 (cua--init-keymaps): Update binding accordingly.
654 (cua-mode): Set delete-selection-save-to-register.
655
656 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
657
658 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
659 (c-lang-defconst):
660 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
661
662 2014-10-29 Eli Zaretskii <eliz@gnu.org>
663
664 * progmodes/compile.el (compilation-start):
665 If compilation-scroll-output is non-nil, don't force window-start of
666 the compilation buffer to be at beginning of buffer. (Bug#18874)
667
668 2014-10-23 Tassilo Horn <tsdh@gnu.org>
669
670 * doc-view.el (doc-view-open-text): View the document's plain text
671 in the current buffer instead of a new one.
672 (doc-view-toggle-display): Handle the case where the current
673 buffer contains the plain text contents of the document.
674 (doc-view-initiate-display): Don't switch to fallback mode if the
675 user wants to view the doc's plain text. [Backport]
676
677 2014-10-23 Eli Zaretskii <eliz@gnu.org>
678
679 * startup.el (fancy-about-text): Read the entire tutorial, not
680 just its first 256 bytes. (Bug#18760)
681
682 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
683
684 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
685 * emacs-lisp/cl-extra.el: Add missing provide.
686
687 2014-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
688
689 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
690 all args are copyable (bug#18767).
691 (=, <, >, <=, >=): Re-enable the optimization.
692
693 2014-10-20 Santiago Payà i Miralta <santiagopim@gmail.com>
694
695 * vc/vc-hg.el (vc-hg-log-graph): New var.
696 (vc-hg-print-log): Use it.
697 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
698 graph output (bug#17515).
699
700 2014-10-20 Juri Linkov <juri@jurta.org>
701
702 * vc/diff-mode.el (diff-refine-changed): Rename from
703 `diff-refine-change' for consistency with `diff-changed'.
704 (diff-refine-change): Add obsolete face alias. (Bug#10181)
705
706 * vc/smerge-mode.el (smerge-refined-changed): Rename from
707 `smerge-refined-change'.
708 (smerge-refined-change): Add obsolete face alias.
709
710 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
711
712 * subr.el (call-process-shell-command, process-file-shell-command):
713 Make the `args' obsolete (bug#18409).
714 (start-process-shell-command, start-file-process-shell-command):
715 Use `declare'.
716
717 2014-10-20 Juanma Barranquero <lekktu@gmail.com>
718
719 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
720
721 2014-10-20 Glenn Morris <rgm@gnu.org>
722
723 * dired.el (dired-read-regexp): Make obsolete.
724 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
725 (dired-flag-files-regexp):
726 * dired-aux.el (dired-mark-read-regexp):
727 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
728
729 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
730
731 * progmodes/python.el (inferior-python-mode): Use add-hook.
732
733 * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
734
735 2014-10-20 Glenn Morris <rgm@gnu.org>
736
737 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
738 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
739 * emulation/ws-mode.el: Move to obsolete/. [Backport]
740
741 2014-10-20 Glenn Morris <rgm@gnu.org>
742
743 * cus-start.el (history-length): Bump :version. [Backport]
744
745 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
746
747 * obsolete/cc-compat.el: Make obsolete (bug#18561).
748
749 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
750
751 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
752 case (bug#18767).
753
754 2014-10-20 Glenn Morris <rgm@gnu.org>
755
756 * Version 24.4 released.
757
758 2014-10-15 Alan Mackenzie <acm@muc.de>
759
760 * cus-edit.el (custom-command-apply): Specify the return value in
761 the doc string.
762 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
763 custom-command-apply has returned non-nil.
764
765 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
766
767 * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
768 Backported (bug#18688).
769
770 2014-10-14 Eli Zaretskii <eliz@gnu.org>
771
772 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
773 Force bidi-paragraph-direction to 'left-to-right'. This fixes
774 buffer-menu display when the first buffer happens to start with
775 R2L letter.
776
777 2014-10-13 Glenn Morris <rgm@gnu.org>
778
779 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
780 (authors-obsolete-files-regexps): Additions.
781 (authors-no-scan-regexps): New constant.
782 (authors-no-scan-file-p): New function.
783 (authors): Respect authors-no-scan-file-p.
784
785 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
786
787 Fix import completion. (Bug#18582)
788 * progmodes/python.el (python-shell-completion-get-completions):
789 Fix import case regexp.
790
791 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
792
793 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
794 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
795 * progmodes/prolog.el (prolog-electric--underscore): Same.
796
797 2014-10-09 Glenn Morris <rgm@gnu.org>
798
799 * frame.el (display-monitor-attributes-list): Doc tweaks.
800
801 2014-10-08 Eli Zaretskii <eliz@gnu.org>
802
803 * faces.el (display-grayscale-p): Mention in the doc string that
804 the argument can be either a display name or a frame.
805
806 * frame.el (display-pixel-height, display-pixel-width)
807 (display-mm-height, display-mm-width, display-backing-store)
808 (display-save-under, display-planes, display-color-cells)
809 (display-visual-class, display-monitor-attributes-list)
810 (display-screens): Mention in the doc string that the argument can
811 be either a display name or a frame. Improve the docs of the
812 monitor attributes. (Bug#18636)
813
814 2014-10-06 Martin Rudalics <rudalics@gmx.at>
815
816 * term.el (term-window-width): Subtract 1 from the width when
817 any fringe has zero width, not just the right fringe. (Bug#18601)
818
819 2014-10-05 Leo Liu <sdl.web@gmail.com>
820
821 * imenu.el (imenu-default-goto-function): Fix typo.
822
823 2014-10-04 Glenn Morris <rgm@gnu.org>
824
825 * frame.el (frame-monitor-attributes)
826 (display-monitor-attributes-list): Doc fixes.
827
828 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
829
830 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
831 (vc-svn-ignore): Use it. (Bug#18619)
832
833 2014-10-03 Martin Rudalics <rudalics@gmx.at>
834
835 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
836 In doc-string mention need to set `frame-resize-pixelwise'.
837
838 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
839
840 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
841 similarly to Rogers's 2010-06-16 change for the remote case
842 (bug#18605).
843
844 2014-10-01 Glenn Morris <rgm@gnu.org>
845
846 * emacs-lisp/package.el (package-import-keyring):
847 Create gnupg directory private. (Bug#17625#155)
848
849 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
850
851 * progmodes/python.el (python-shell-completion-get-completions):
852 Use python-shell--prompt-calculated-input-regexp from the
853 process buffer (bug#18582).
854 Don't assume that `line' comes from the process buffer.
855
856 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
857
858 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
859 (bug#18462).
860
861 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
862
863 * emacs-lisp/package.el (package-check-signature): Default to nil if
864 GPG is not available.
865 (package-refresh-contents): Don't mess with the keyring if we won't
866 check the signatures anyway.
867
868 2014-09-18 Kan-Ru Chen <kanru@kanru.info>
869
870 * window.el (fit-window-to-buffer): When counting buffer width,
871 count the whole visible buffer. Correctly convert the body-height
872 to pixel size for window-text-pixel-size (Bug#18498).
873
874 2014-09-14 Glenn Morris <rgm@gnu.org>
875
876 * image.el (image-multi-frame-p): Fix thinko - do not force
877 a delay if none was specified. (Bug#18334)
878
879 2014-09-12 Kan-Ru Chen <kanru@kanru.info>
880
881 * window.el (fit-window-to-buffer): Doc fix.
882
883 2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change)
884
885 * desktop.el (desktop-create-buffer): Check that buffers are still live
886 before burying them (bug#18373).
887
888 2014-09-09 Glenn Morris <rgm@gnu.org>
889
890 * calendar/diary-lib.el (diary-list-entries):
891 Restore 24.3 display behavior. (Bug#18381)
892
893 2014-09-09 Eli Zaretskii <eliz@gnu.org>
894
895 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
896 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
897 discrepancy between window-pixel-edges and mouse events, and
898 avoids moving mode line up when the mouse click is on the modeline
899 and no drag is attempted.
900
901 2014-09-08 Glenn Morris <rgm@gnu.org>
902
903 * calendar/calendar.el (calendar-basic-setup):
904 Avoid clobbering calendar with diary. (Bug#18381)
905
906 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
907
908 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
909
910 2014-09-04 Lars Ljung <lars@matholka.se> (tiny change)
911
912 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
913 as well (bug#18400).
914
915 2014-09-04 Eli Zaretskii <eliz@gnu.org>
916
917 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
918
919 2014-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
920
921 * emacs-lisp/package.el (package-generate-description-file):
922 Properly quote the arguments (bug#18332). Change second arg.
923 (package--alist-to-plist-args): Rename from package--alist-to-plist and
924 quote the elements.
925 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
926 the *-pkg.el file. Adjust to new calling convention of
927 package-generate-description-file.
928
929 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
930 (gud-gdb-completions): Remove obsolete workaround.
931
932 2014-09-02 Eli Zaretskii <eliz@gnu.org>
933
934 * subr.el (posn-col-row): Revert the change from commit
935 2010-11-13T21:07:58Z!eliz@gnu.org, which
936 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
937 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
938 introduced an off-by-one error in the reported row when there is a
939 header line. (Bug#18384)
940
941 2014-09-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
942
943 * progmodes/python.el (python-indent-post-self-insert-function):
944 Avoid electric colon at beginning-of-defun. (Bug#18228)
945
946 2014-09-01 Glenn Morris <rgm@gnu.org>
947
948 * tutorial.el (tutorial--display-changes):
949 Fix 2014-07-29 change. (Bug#18382)
950
951 2014-08-29 Ken Brown <kbrown@cornell.edu>
952
953 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
954 the Cygwin-w32 build. (Bug#18347)
955
956 2014-08-28 Glenn Morris <rgm@gnu.org>
957
958 * tar-mode.el (tar--extract, tar-extract):
959 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
960
961 2014-08-27 Michael Albinus <michael.albinus@gmx.de>
962
963 * emacs-lisp/authors.el (authors-aliases): Addition.
964
965 * net/tramp-adb.el: Spell author name correctly.
966
967 2014-08-27 João Távora <joaotavora@gmail.com>
968
969 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
970 use url-expand-file-name. (Bug#18310)
971
972 2014-08-25 Glenn Morris <rgm@gnu.org>
973
974 * emulation/cua-rect.el (cua--highlight-rectangle):
975 Avoid error at point-min. (Bug#18309)
976
977 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
978
979 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
980 executable-find (bug#18244).
981
982 * simple.el (self-insert-uses-region-functions): Defvar.
983
984 2014-08-13 Leo Liu <sdl.web@gmail.com>
985
986 * speedbar.el (speedbar-generic-list-tag-p): Allow special
987 elements from imenu.
988
989 2014-08-11 Glenn Morris <rgm@gnu.org>
990
991 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
992
993 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
994 chose coding system for writing before backing up, since it causes
995 a more serious problem than the one it solves. (Closes Bug#18141,
996 reopens Bug#13522.)
997
998 2014-08-10 Martin Rudalics <rudalics@gmx.at>
999
1000 * window.el (window-total-size): Make doc-string more
1001 self-contained.
1002
1003 2014-08-09 Martin Rudalics <rudalics@gmx.at>
1004
1005 * window.el (display-buffer-below-selected): Restore original
1006 behavior if buffer is already displayed in the window below the
1007 selected one (Bug#18181).
1008
1009 2014-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1010
1011 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
1012 event (bug#18212).
1013
1014 2014-08-08 Eli Zaretskii <eliz@gnu.org>
1015
1016 * info.el (info): Doc fix.
1017
1018 2014-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1019
1020 * info.el (Info-mode-map): Override a global down-mouse-2 binding
1021 (bug#18212).
1022
1023 2014-08-05 Eli Zaretskii <eliz@gnu.org>
1024
1025 * simple.el (default-line-height): A floating-point value of
1026 line-spacing means a fraction of the default frame font's height,
1027 not of the font currently used by the 'default' face.
1028 Truncate the pixel value, like the display engine does.
1029 (window-screen-lines): Use window-inside-pixel-edges for
1030 determining the window height in pixels. (Bug#18195)
1031
1032 2014-07-29 Eli Zaretskii <eliz@gnu.org>
1033
1034 * tutorial.el (tutorial--display-changes): Accept punctuation
1035 characters before the key binding. (Bug#18146)
1036
1037 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
1038
1039 * doc-view.el (doc-view-open-text): Don't require that the
1040 document is saved in a file (e.g., email attachment).
1041
1042 2014-07-27 Eli Zaretskii <eliz@gnu.org>
1043
1044 * window.el (window--pixel-to-total): Use FRAME's root window, not
1045 that of the selected frame. (Bug#18112, Bug#16674)
1046
1047 2014-07-27 Andreas Schwab <schwab@linux-m68k.org>
1048
1049 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
1050 (Bug#18117)
1051
1052 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1053
1054 * progmodes/python.el (inferior-python-mode): Doc fix.
1055
1056 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
1057
1058 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
1059 not a character, ignore it instead of raising an error.
1060
1061 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
1062
1063 * calendar/todo-mode.el: Fix handling of marked items and make
1064 minor code improvements.
1065 (todo-edit-item): If there are marked items, ensure user can only
1066 invoke editing commands that work with marked items.
1067 (todo-edit-item--text): When there are marked items, make it a
1068 noop if invoked with point not on an item; otherwise, ensure it
1069 applies only to item at point.
1070 (todo-item-undone): If there are marked not-done items, return
1071 point to its original position before signaling user error.
1072 (todo--user-error-if-marked-done-item): New function.
1073 (todo-edit-item--header, todo-edit-item--diary-inclusion)
1074 (todo-item-done): Use it.
1075
1076 2014-07-25 Glenn Morris <rgm@gnu.org>
1077
1078 * files.el (toggle-read-only): Re-add basic doc-string.
1079 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
1080
1081 * progmodes/prolog.el (prolog-mode-keybindings-edit):
1082 Replace missing `switch-to-prolog' with `run-prolog'.
1083 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
1084
1085 2014-07-22 Stephen Berman <stephen.berman@gmx.net>
1086
1087 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
1088 of file-wide setting when changing category-wide setting.
1089
1090 2014-07-21 Glenn Morris <rgm@gnu.org>
1091
1092 * progmodes/hideif.el (hide-ifdef-mode-submap):
1093 Also substitute read-only-mode.
1094 * bindings.el (mode-line-toggle-read-only):
1095 * bs.el (bs-toggle-readonly):
1096 * buff-menu.el (Buffer-menu-toggle-read-only):
1097 * dired.el (dired-toggle-read-only):
1098 * files.el (view-read-only, find-file-read-only)
1099 (find-file-read-only-other-window)
1100 (find-file-read-only-other-frame):
1101 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
1102 Doc fixes re toggle-read-only.
1103
1104 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1105
1106 * progmodes/python.el: Add comment about pipe buffering and
1107 solutions for missing/delayed output in inferior Python shells.
1108 (Bug#17304)
1109
1110 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1111
1112 * progmodes/python.el (python-mode): Don't set
1113 mode-require-final-newline. (Bug#17990)
1114
1115 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1116
1117 Make python.el work with IPython automatically. (Bug#15510)
1118 * progmodes/python.el:
1119 (python-shell-completion-setup-code): New value supporting iPython.
1120 (python-shell-completion-string-code): New value supporting iPython.
1121 (python-shell-completion-get-completions): Use them.
1122 (python-shell-completion-module-string-code): Make obsolete.
1123 (python-shell-prompt-input-regexps)
1124 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
1125 (python-shell-output-filter): Fix comment typo.
1126
1127 2014-07-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
1128
1129 Fix Python shell prompts detection for remote hosts.
1130 * progmodes/python.el (python-shell-prompt-detect):
1131 Replace call-process with process-file and make it more robust.
1132
1133 2014-07-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1134
1135 Autodetect Python shell prompts. (Bug#17370)
1136 * progmodes/python.el:
1137 (python-shell-interpreter-interactive-arg)
1138 (python-shell-prompt-detect-enabled)
1139 (python-shell-prompt-detect-failure-warning)
1140 (python-shell-prompt-input-regexps)
1141 (python-shell-prompt-output-regexps): New vars.
1142 (python-shell-prompt-calculated-input-regexp)
1143 (python-shell-prompt-calculated-output-regexp): New vars.
1144 (python-shell-get-process-name)
1145 (python-shell-internal-get-process-name)
1146 (python-shell-output-filter)
1147 (python-shell-completion-get-completions): Use them.
1148 (python-shell-prompt-detect)
1149 (python-shell-prompt-validate-regexps): New functions.
1150 (python-shell-prompt-set-calculated-regexps): New function.
1151 (inferior-python-mode): Use it. Also honor overridden
1152 python-shell-interpreter and python-shell-interpreter-args.
1153 (python-shell-make-comint): Honor overridden
1154 python-shell-interpreter and python-shell-interpreter-args.
1155 (python-shell-get-or-create-process): Make it testable by allowing
1156 to call run-python non-interactively.
1157 (python-util-valid-regexp-p): New function.
1158 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
1159 (python-shell-prompt-output-regexp)
1160 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
1161
1162 2014-07-16 Glenn Morris <rgm@gnu.org>
1163
1164 * desktop.el (after-init-hook): Disable startup frame restoration
1165 in non-graphical situations. (Bug#17693)
1166
1167 2014-07-14 Glenn Morris <rgm@gnu.org>
1168
1169 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
1170 if it was "empty", or used for a different set of files. (Bug#17884)
1171
1172 2014-07-13 Eli Zaretskii <eliz@gnu.org>
1173
1174 * bindings.el (mode-line-remote): If default-directory is not a
1175 string, don't call file-remote-p on it; instead state in the
1176 help-echo that it is nil. (Bug#17986)
1177
1178 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
1179
1180 Fix bug: C-x v v discarded existing log message (Bug#17884).
1181 * vc/vc-dispatcher.el (vc-log-edit):
1182 Don't clobber an already-existing log message.
1183
1184 2014-07-10 Glenn Morris <rgm@gnu.org>
1185
1186 * vc/log-edit.el (log-edit-changelog-entries):
1187 Check for a visited-but-never-saved ChangeLog.
1188
1189 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1190
1191 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
1192 a non-existing file (bug#17970).
1193
1194 * faces.el (face-name): Undo last change.
1195 (x-resolve-font-name): Don't call face-name (bug#17956).
1196
1197 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
1198
1199 Fix dedenters and electric colon handling. (Bug#15163)
1200
1201 * progmodes/python.el
1202 (python-rx-constituents): Add dedenter and block-ender.
1203 (python-indent-dedenters, python-indent-block-enders): Delete.
1204 (python-indent-context): Return new case for dedenter-statement.
1205 (python-indent-calculate-indentation): Handle new case.
1206 (python-indent-calculate-levels): Fix levels calculation for
1207 dedenter statements.
1208 (python-indent-post-self-insert-function): Fix colon handling.
1209 (python-info-dedenter-opening-block-message): New function.
1210 (python-indent-line): Use it.
1211 (python-info-closing-block)
1212 (python-info-closing-block-message): Remove.
1213 (python-info-dedenter-opening-block-position)
1214 (python-info-dedenter-opening-block-positions)
1215 (python-info-dedenter-statement-p): New functions.
1216
1217 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1218
1219 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
1220 the middle of a line (bug#17896).
1221
1222 2014-07-08 Juri Linkov <juri@jurta.org>
1223
1224 * startup.el (command-line): Append displaying the warning about
1225 the errors in the init file to the end of `after-init-hook'.
1226 (Bug#17927)
1227
1228 2014-07-08 Juri Linkov <juri@jurta.org>
1229
1230 * faces.el (face-name): Return input arg `face' as is
1231 when it's not a symbol.
1232 (x-resolve-font-name): Don't check if the face is a symbol.
1233 (Bug#17956)
1234
1235 2014-07-08 Juri Linkov <juri@jurta.org>
1236
1237 * facemenu.el (list-colors-print): In help-echo format use %.2f
1238 instead of %d because now HSV values are floating-point components
1239 between 0.0 and 1.0.
1240
1241 2014-07-06 Glenn Morris <rgm@gnu.org>
1242
1243 * emulation/cua-rect.el (cua--activate-rectangle):
1244 Avoid setting cua--rectangle to nil. (Bug#17877)
1245
1246 2014-07-06 Stephen Berman <stephen.berman@gmx.net>
1247
1248 * calendar/todo-mode.el: Fix wrong-type-argument error when
1249 marking multiple consecutive items.
1250 (todo-toggle-mark-item): Don't try to mark the empty lines at the
1251 end of the todo and done items sections. Note in doc string that
1252 items marked by passing a numeric prefix argument can include the
1253 last todo and first done items.
1254 (todo-mark-category): Don't try to mark the empty line between the
1255 todo and done items sections.
1256
1257 2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1258
1259 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
1260 proper Lisp quoting (bug#17934).
1261
1262 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
1263 require-final-newline since prog-mode already took care of it (bug#17947).
1264
1265 2014-07-04 Stephen Berman <stephen.berman@gmx.net>
1266
1267 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
1268 refer to the Todo mode Info manual. Update the comment on
1269 requiring cl-lib.
1270 (todo-find-filtered-items-file): Add todo-prefix overlays.
1271 (todo-filter-items): Reorder a let-bound variable to avoid a
1272 wrong-type-argument error on canceling the file choice dialog.
1273
1274 2014-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1275
1276 * progmodes/octave.el (inferior-octave-mode):
1277 Set comint-input-ring-size to a number (bug#17912).
1278
1279 2014-07-03 Juri Linkov <juri@jurta.org>
1280
1281 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
1282 and `isearch-mode' associated with nil. (Bug#17849)
1283
1284 2014-07-02 Juri Linkov <juri@jurta.org>
1285
1286 * desktop.el (desktop-save): Rename arg `auto-save' to
1287 `only-if-changed'. Doc fix. (Bug#17873)
1288
1289 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1290
1291 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
1292 Use insert-for-yank (bug#17271).
1293
1294 2014-07-02 Leo Liu <sdl.web@gmail.com>
1295
1296 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
1297 Support lexical-binding.
1298
1299 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1300
1301 * vc/log-edit.el (log-edit-goto-eoh): New function.
1302 (log-edit--match-first-line): Use it (bug#17861).
1303
1304 2014-07-01 Glenn Morris <rgm@gnu.org>
1305
1306 * vc/log-edit.el (log-edit-hook): Add missing :version.
1307
1308 2014-07-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
1309
1310 * progmodes/python.el (python-indent-post-self-insert-function):
1311 Enhancements to electric indentation behavior inside
1312 parens. (Bug#17658)
1313
1314 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1315
1316 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
1317 buffer-invisibility-spec (bug#17867).
1318
1319 2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
1320
1321 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
1322 pass "-a".
1323
1324 2014-06-29 Glenn Morris <rgm@gnu.org>
1325
1326 * cus-edit.el (help):
1327 * finder.el (finder-known-keywords):
1328 * help.el (help-for-help-internal):
1329 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
1330 (ediff-redraw-registry-buffer):
1331 * vc/ediff-ptch.el (ediff-patch-file-internal):
1332 Doc fixes re "online" help. (Bug#17803)
1333
1334 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
1335 (idlwave-mode): Doc URL update.
1336
1337 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
1338
1339 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
1340 account for file-wide setting of todo-top-priorities-overrides.
1341 Make code a bit cleaner.
1342
1343 2014-06-27 Leo Liu <sdl.web@gmail.com>
1344
1345 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
1346
1347 2014-06-27 Glenn Morris <rgm@gnu.org>
1348
1349 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
1350
1351 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
1352
1353 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
1354 category-wide setting of todo-top-priorities-overrides, check for
1355 a file-wide setting and fontify accordingly.
1356
1357 2014-06-26 Glenn Morris <rgm@gnu.org>
1358
1359 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
1360
1361 2014-06-26 Daiki Ueno <ueno@gnu.org>
1362
1363 * emacs-lisp/package.el (package--check-signature):
1364 If package-check-signature is allow-unsigned, don't signal error when
1365 we can't verify signature because of missing public key
1366 (backport for bug#17625).
1367
1368 2014-06-26 Glenn Morris <rgm@gnu.org>
1369
1370 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
1371 Remove outdated declaration.
1372
1373 * emacs-lisp/authors.el (authors-valid-file-names)
1374 (authors-renamed-files-alist): Additions.
1375
1376 2014-06-25 Leo Liu <sdl.web@gmail.com>
1377
1378 * textmodes/picture.el (picture-set-tab-stops):
1379 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
1380 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
1381
1382 * progmodes/asm-mode.el (asm-calculate-indentation):
1383 Use indent-next-tab-stop.
1384
1385 * indent.el (indent-accumulate-tab-stops): New function.
1386
1387 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1388
1389 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
1390 (package-desc-status): Obey it.
1391
1392 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
1393
1394 * calendar/todo-mode.el: Fix two bugs.
1395 (todo-insert-item--basic): If user cancels item insertion to
1396 another category before setting priority, show original category
1397 whether it is in the same or a different file.
1398 (todo-set-item-priority): After selecting category, instead of
1399 moving point to top, which extends an active region, restore it.
1400
1401 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1402
1403 * help-fns.el (describe-function-1): Check file-name is a string before
1404 calling help-fns--autoloaded-p (bug#17564).
1405
1406 2014-06-24 Juri Linkov <juri@jurta.org>
1407
1408 * desktop.el (desktop-auto-save-enable)
1409 (desktop-auto-save-disable): New functions.
1410 (desktop-save-mode, desktop-auto-save-timeout): Use them.
1411 (desktop-read): Disable the autosave before loading the desktop,
1412 and enable afterwards. (Bug#17351)
1413
1414 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
1415
1416 Fix some indentation problem with \; and pipes (bug#17842).
1417 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1418 (sh-smie--default-forward-token, sh-smie--default-backward-token):
1419 New functions.
1420 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1421 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1422 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1423
1424 2014-06-24 Eli Zaretskii <eliz@gnu.org>
1425
1426 * international/fontset.el (script-representative-chars):
1427 Add representative characters for scripts added in Unicode 7.0.
1428 (otf-script-alist): Synchronize with the latest registry of OTF
1429 script tags.
1430
1431 * international/characters.el (char-script-table): Update for
1432 scripts added and codepoint ranges changed in Unicode 7.0.
1433
1434 2014-06-23 Leo Liu <sdl.web@gmail.com>
1435
1436 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
1437 tab-stop-list to nil. (Bug#16381)
1438
1439 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1440 (indent-rigidly-left-to-tab-stop)
1441 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1442 (move-to-tab-stop): Change callers.
1443
1444 2014-06-22 Eli Zaretskii <eliz@gnu.org>
1445
1446 * skeleton.el (skeleton-insert): Yet another fix of the doc string
1447 wrt behavior of \n as the first/last element of a skeleton.
1448
1449 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
1450
1451 * net/tramp-adb.el (tramp-adb-handle-process-file):
1452 * net/tramp-sh.el (tramp-sh-handle-process-file):
1453 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1454 the output buffer when DISPLAY is non-nil. (Bug#17815)
1455
1456 2014-06-21 Glenn Morris <rgm@gnu.org>
1457
1458 * play/landmark.el (landmark-move-down, landmark-move-up):
1459 Fix 2007-10-20 change - preserve horizontal position.
1460
1461 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1462
1463 Fix completion retrieval parsing (bug#17209).
1464 * progmodes/python.el (python-mode):
1465 (python-util-strip-string): New function.
1466 (python-shell-completion-get-completions): Use it.
1467
1468 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1469
1470 * skeleton.el (skeleton-insert): Fix last change.
1471
1472 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1473
1474 Enhancements for outline integration (bug#17796).
1475 * progmodes/python.el (python-mode): Properly set
1476 outline-heading-end-regexp so that comments after colons for
1477 defuns are supported.
1478
1479 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1480
1481 * skeleton.el (skeleton-insert): Doc fix.
1482
1483 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1484
1485 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1486 (smie-config-guess): Use smie-config-local so the rules are obeyed
1487 (bug#17818).
1488
1489 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1490 since it's already done inside the loop (bug#17819).
1491
1492 2014-06-20 Martin Rudalics <rudalics@gmx.at>
1493
1494 * mouse.el (mouse-drag-line): Re-remove code initially removed
1495 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1496 (Bug#17819).
1497
1498 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1499
1500 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1501 align with the surrounding parent (bug#17721).
1502
1503 2014-06-20 Eli Zaretskii <eliz@gnu.org>
1504
1505 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1506 locally to nil.
1507 (texinfo-insert-block, texinfo-insert-@end)
1508 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1509 local setting of skeleton-end-newline by adding an explicit \n to
1510 the skeletons where appropriate. (Bug#17801)
1511
1512 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1513
1514 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1515 (smie-indent--hanging-p): Use it.
1516 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1517
1518 2014-06-20 Leo Liu <sdl.web@gmail.com>
1519
1520 * simple.el (read-quoted-char): Don't let help chars pop up help
1521 buffer. (Bug#16617)
1522
1523 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
1524
1525 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1526 for | (bug#17621).
1527
1528 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1529
1530 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
1531 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
1532 burping.
1533
1534 2014-06-18 Eli Zaretskii <eliz@gnu.org>
1535
1536 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1537 and later. (Bug#17790)
1538
1539 2014-06-18 Juri Linkov <juri@jurta.org>
1540
1541 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1542 to `soft'. (Bug#17554)
1543
1544 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1545
1546 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1547 (bug#17737).
1548
1549 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
1550
1551 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1552 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
1553
1554 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
1555
1556 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1557 `unread-command-events'.
1558
1559 2014-06-14 Glenn Morris <rgm@gnu.org>
1560
1561 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
1562 Replace delete-duplicates and mapcan by cl- versions throughout.
1563 And cl-macroexpand-all by macroexpand-all.
1564 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1565
1566 2014-06-14 Eli Zaretskii <eliz@gnu.org>
1567
1568 * subr.el (posn-col-row): Doc fix. (Bug#17768)
1569
1570 2014-06-14 Juri Linkov <juri@jurta.org>
1571
1572 * bindings.el: Put `ascii-character' property on keypad keys
1573 mapped to characters. (Bug#17759)
1574
1575 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1576
1577 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1578 bumping forward into a closing paren (bug#17761).
1579
1580 * term/xterm.el (xterm--version-handler): Work around for OSX
1581 Terminal.app (bug#17607).
1582
1583 2014-06-08 Glenn Morris <rgm@gnu.org>
1584
1585 * startup.el (initial-buffer-choice): Doc fix.
1586 Reset :version (adding an option does not merit a :version bump).
1587
1588 * bookmark.el (bookmark-load):
1589 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1590
1591 2014-06-06 Juri Linkov <juri@jurta.org>
1592
1593 * desktop.el: Activate auto-saving on window configuration changes.
1594 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1595 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
1596 (desktop-auto-save-set-timer): Change REPEAT arg of
1597 `run-with-idle-timer' from t to nil.
1598 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1599
1600 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
1601
1602 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1603 vc-hg-command (bug#17570).
1604
1605 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1606
1607 * international/mule-cmds.el (ucs-names): Add special entry for BEL
1608 (bug#17702).
1609
1610 2014-06-06 Glenn Morris <rgm@gnu.org>
1611
1612 * startup.el (window-setup-hook): Doc fix.
1613
1614 2014-06-05 Glenn Morris <rgm@gnu.org>
1615
1616 * emacs-lisp/package.el (package-check-signature)
1617 (package-unsigned-archives): Doc fixes.
1618
1619 2014-06-03 Martin Rudalics <rudalics@gmx.at>
1620
1621 * window.el (display-buffer-use-some-window): Don't make window
1622 used smaller than it was before (Bug#17671).
1623
1624 2014-06-03 Eli Zaretskii <eliz@gnu.org>
1625
1626 * menu-bar.el (menu-bar-open): Fix last change: use the PC
1627 'redisplay' instead of '(sit-for 0)'.
1628
1629 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
1630
1631 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
1632 regexp. (Bug#17653)
1633
1634 2014-06-03 Glenn Morris <rgm@gnu.org>
1635
1636 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1637
1638 2014-06-02 Eli Zaretskii <eliz@gnu.org>
1639
1640 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1641
1642 2014-06-01 Eli Zaretskii <eliz@gnu.org>
1643
1644 * simple.el (keyboard-quit): Force update of mode lines, to remove
1645 the "Def" indicator, if we were defining a macro. (Bug#17615)
1646
1647 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1648
1649 * minibuffer.el (minibuffer-force-complete-and-exit):
1650 Obey minibuffer-default (bug#17545).
1651
1652 * progmodes/js.el (js-indent-line): Don't mix columns and chars
1653 (bug#17619).
1654
1655 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1656
1657 * subr.el (set-transient-map): Don't wait for some "nested"
1658 transient-map to finish if we're only supposed to be active for
1659 the next command (bug#17642).
1660
1661 2014-05-31 Leo Liu <sdl.web@gmail.com>
1662
1663 * emacs-lisp/gv.el (window-buffer, window-display-table)
1664 (window-dedicated-p, window-hscroll, window-point, window-start):
1665 Fix gv-expander. (Bug#17630)
1666
1667 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1668
1669 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1670 clicks (bug#17633).
1671
1672 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1673 for the single comma, since ", " is *very* common in normal French text
1674 (bug#17643).
1675
1676 2014-05-30 Glenn Morris <rgm@gnu.org>
1677
1678 * emacs-lisp/package.el (package-check-signature)
1679 (package-unsigned-archives): Fix :version.
1680
1681 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1682
1683 * subr.el (sit-for): Don't run input-methods (bug#15614).
1684
1685 2014-05-28 Glenn Morris <rgm@gnu.org>
1686
1687 * cus-start.el: Fix some :version numbers.
1688
1689 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1690
1691 * simple.el (deactivate-mark): Set mark-active to nil even if
1692 deactivation is done via setting transient-mark-mode to nil,
1693 since one is buffer-local and the other is global.
1694
1695 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1696 there can't be more than 2 arguments (bug#17584).
1697
1698 2014-05-27 Glenn Morris <rgm@gnu.org>
1699
1700 * simple.el (filter-buffer-substring-functions)
1701 (filter-buffer-substring-function, buffer-substring-filters)
1702 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1703
1704 * minibuffer.el (completion-in-region-functions, completion-in-region)
1705 (completion--in-region): Doc fixes.
1706
1707 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1708 (expand-abbrev, abbrev--default-expand): Doc fixes.
1709
1710 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
1711
1712 Include sources used to create macuvs.h.
1713 * international/README: Refer to the Unicode Terms of Use rather
1714 than copying it bodily here, as that simplifies maintenance.
1715
1716 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1717
1718 * cus-face.el (custom-face-attributes): Add :distant-foreground.
1719
1720 2014-05-25 Martin Rudalics <rudalics@gmx.at>
1721
1722 * window.el (window--dump-frame): Remove interactive
1723 specification.
1724
1725 2014-05-23 Glenn Morris <rgm@gnu.org>
1726
1727 * hippie-exp.el (he-line-search-regexp):
1728 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
1729
1730 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1731
1732 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1733 to avoid errors when trying to create or visit a file foo.todo
1734 located outside to todo-directory, and to allow having such files
1735 without them being tied to Todo mode (bug#17482).
1736 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1737 (todo-archive-done-item, todo-find-filtered-items-file)
1738 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1739 (todo-category-completions, todo-read-category): When visiting a
1740 Todo file, make sure we're in the right mode and the buffer local
1741 variables are set.
1742 (todo-make-categories-list, todo-reset-nondiary-marker)
1743 (todo-reset-done-string, todo-reset-comment-string):
1744 After processing all Todo files, kill the buffers of those files that
1745 weren't being visited before the processing.
1746 (todo-display-as-todo-file, todo-add-to-buffer-list)
1747 (todo-visit-files-commands): Comment out.
1748 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1749 (auto-mode-alist): Remove add-to-list calls making Todo file
1750 extensions unrestrictedly tied to Todo modes.
1751
1752 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1753
1754 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1755 (advice-function-member-p): Tell it to check both names and functions
1756 (bug#17531).
1757 (advice--add-function): Adjust call accordingly.
1758
1759 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1760
1761 * calendar/todo-mode.el: Miscellaneous bug fixes.
1762 (todo-delete-file): When deleting an archive but not its todo
1763 file, make sure to update the todo file's category sexp.
1764 (todo-move-category): Keep the moved category's name unless the
1765 file moved to already has a category with that name. If the
1766 numerically last category of the source file was moved, make the
1767 first category current to avoid selecting a nonexisting category.
1768 (todo-merge-category): Fix implementation to make merging to a
1769 category in another file work as documented. Eliminate now
1770 insufficient and unnecessary renaming of archive category, correct
1771 document string accordingly, and clarify it. If the numerically
1772 last category of the source file was merged, make the first
1773 category current to avoid selecting a nonexisting category.
1774 (todo-archive-done-item): When there are marked items and point
1775 happens to be on an unmarked item, ignore the latter. Don't leave
1776 point below last item after archiving marked items.
1777 (todo-unarchive-items): Fix logic to ensure unarchiving an item
1778 from an archive with only one category deletes the archive only
1779 when the category is empty after unarchiving. Make sure the todo
1780 file's category sexp is updated.
1781 (todo-read-file-name): Allow an existing file name even when it is
1782 not required (todo-move-category needs this to work as documented).
1783 (todo-add-file): Call todo-validate-name to reject the name of an
1784 existing todo file (needed due to fix in todo-read-file-name).
1785 (todo-reset-nondiary-marker): Also reset in filtered items files.
1786 (todo-reset-done-string, todo-reset-comment-string): Also reset in
1787 regexp filtered items files.
1788 (todo-reset-highlight-item): Also reset in filtered items files.
1789 Fix incorrect variable reference in document string.
1790
1791 2014-05-22 Glenn Morris <rgm@gnu.org>
1792
1793 * window.el (window--dump-frame): Avoid error in --without-x builds.
1794
1795 2014-05-21 Glenn Morris <rgm@gnu.org>
1796
1797 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1798
1799 2014-05-21 Eli Zaretskii <eliz@gnu.org>
1800
1801 * frame.el (set-frame-font): Doc fix.
1802
1803 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
1804
1805 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
1806
1807 * emacs-lisp/package.el (package--download-one-archive):
1808 Use `write-region' instead of `save-buffer' to avoid running various
1809 hooks. (Bug#17155)
1810 (describe-package-1): Same. Insert newline at the end of the
1811 buffer if appropriate.
1812
1813 2014-05-20 Juri Linkov <juri@jurta.org>
1814
1815 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1816 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1817 Add more modifiers: meta, control, shift, hyper, super, alt.
1818 (Bug#17439)
1819
1820 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1821 to allow changing its value with `set-variable'.
1822
1823 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
1824
1825 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1826 #; comments.
1827 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1828 New functions.
1829 (scheme-mode-variables): Set syntax-propertize-function instead of
1830 font-lock-syntactic-face-function.
1831 (scheme-font-lock-syntactic-face-function): Delete.
1832
1833 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1834
1835 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1836
1837 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1838 (bug#17392).
1839
1840 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
1841
1842 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1843 for a temporary file name.
1844
1845 2014-05-17 Eli Zaretskii <eliz@gnu.org>
1846
1847 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
1848
1849 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
1850
1851 * net/dbus.el (dbus-init-bus, dbus-call-method)
1852 (dbus-call-method-asynchronously, dbus-send-signal)
1853 (dbus-method-return-internal, dbus-method-error-internal):
1854 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
1855
1856 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1857
1858 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1859 methods which do not have a doc string. (Bug#17490)
1860
1861 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
1862 Stefan Monnier <monnier@iro.umontreal.ca>
1863
1864 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1865 suffix (bug#15419).
1866
1867 2014-05-14 Glenn Morris <rgm@gnu.org>
1868
1869 * vc/emerge.el (emerge-temp-file-prefix):
1870 Make pointless option obsolete.
1871 (emerge-temp-file-mode): Make non-functional option obsolete.
1872
1873 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
1874
1875 * net/browse-url.el (browse-url):
1876 Use `unhandled-file-name-directory' when setting `default-directory',
1877 in order to circumvent stalled remote connections. (Bug#17425)
1878
1879 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1880
1881 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1882 into autoloading just because of a silly indirection.
1883
1884 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
1885
1886 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
1887
1888 2014-05-11 Glenn Morris <rgm@gnu.org>
1889
1890 * emacs-lisp/find-gc.el: Move to ../admin.
1891
1892 2014-05-10 Glenn Morris <rgm@gnu.org>
1893
1894 * printing.el (pr-version):
1895 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1896
1897 * net/browse-url.el (browse-url-mosaic):
1898 Create /tmp/Mosaic.PID as a private file.
1899
1900 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
1901
1902 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1903 (advice--member-p): If name is given, only compare the name.
1904 (advice--remove-function): Don't stop at the first match.
1905 (advice--normalize-place): New function.
1906 (add-function, remove-function): Use it.
1907 (advice--add-function): Pass the name, if any, to
1908 advice--remove-function.
1909
1910 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
1911
1912 * electric.el (electric-indent-post-self-insert-function): Don't use
1913 `pos' after modifying the buffer (bug#17449).
1914
1915 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1916
1917 * subr.el (function-put): Add function.
1918
1919 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
1920
1921 * calendar/todo-mode.el (todo-insert-item-from-calendar):
1922 Correct argument list to conform to todo-insert-item--basic.
1923
1924 2014-05-09 Glenn Morris <rgm@gnu.org>
1925
1926 * files.el (cd-absolute): Test if directory is accessible
1927 rather than executable. (Bug#17330)
1928
1929 * progmodes/compile.el (recompile):
1930 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
1931
1932 2014-05-08 Juri Linkov <juri@jurta.org>
1933
1934 * dired.el (dired-check-switches, dired-switches-recursive-p):
1935 New functions. (Bug#17218)
1936 (dired-switches-escape-p, dired-move-to-end-of-filename):
1937 Use `dired-check-switches'.
1938 (dired-insert-old-subdirs, dired-build-subdir-alist)
1939 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1940
1941 2014-05-08 Glenn Morris <rgm@gnu.org>
1942
1943 * net/browse-url.el (browse-url-mosaic):
1944 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
1945 This is CVE-2014-3423.
1946
1947 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1948
1949 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1950 (xterm-mouse--read-event-sequence-1000): Return nil if something
1951 looks fishy.
1952 (xterm-mouse-event): Propagate it.
1953 (xterm-mouse-translate-1): Handle it.
1954
1955 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
1956
1957 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1958 four slots of the parameter list are filled, make sure to pass it
1959 to the argument list of todo-insert-item--basic.
1960
1961 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1962
1963 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1964 Add optional `seen' argument to detect and break infinite loops.
1965
1966 2014-05-06 Eli Zaretskii <eliz@gnu.org>
1967
1968 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1969 (trace-unsafe, trace-use-tree): Make parentheses style be
1970 according to Emacs style.
1971
1972 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
1973
1974 * net/tramp-sh.el (tramp-remote-process-environment):
1975 Remove HISTFILE and HISTSIZE; it's too late to set them here.
1976 Add :version entry.
1977 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1978 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
1979 extra "PSx=..." commands.
1980 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1981 (Bug#17295)
1982
1983 (tramp-uudecode): Replace the hard-coded temporary file name by a
1984 format specifier.
1985 (tramp-remote-coding-commands): Enhance docstring.
1986 (tramp-find-inline-encoding): Replace "%t" by a temporary file
1987 name. (Bug#17415)
1988 This is CVE-2014-3424.
1989
1990 2014-05-06 Glenn Morris <rgm@gnu.org>
1991
1992 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1993 (find-gc-source-files): Update some names.
1994 (trace-call-tree): Simplify and update.
1995 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
1996 This is CVE-2014-3422.
1997
1998 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1999
2000 * minibuffer.el (completion--try-word-completion): Revert fix for
2001 Bug#15980 (bug#17375).
2002
2003 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
2004 Always store button numbers in the same way in xterm-mouse-last;
2005 Don't burp is xterm-mouse-last is not set as expected.
2006 Never return negative indices.
2007
2008 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
2009
2010 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2011 Backtrack one char if the global/char-literal var matcher hits
2012 inside a string. The next char could be the beginning of an
2013 expression expansion.
2014
2015 2014-05-05 Glenn Morris <rgm@gnu.org>
2016
2017 * help-fns.el (describe-function-1): Test for an autoload before a
2018 macro, since `macrop' works on autoloads. (Bug#17410)
2019
2020 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2021
2022 * electric.el (electric-indent-functions-without-reindent): Add yaml.
2023
2024 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
2025 Make sure the new point we return is within the new string (bug#17239).
2026
2027 2014-05-03 Eli Zaretskii <eliz@gnu.org>
2028
2029 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
2030
2031 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2032
2033 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2034 Use nil rather than `default' for the "default" appearance (bug#17388).
2035 * vc/ediff-util.el (ediff-inferior-compare-regions)
2036 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
2037 a misleading `default' value when it's really a boolean.
2038 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
2039 overlay is not visible.
2040
2041 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
2042
2043 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
2044 (todo-menu): Uncomment and update.
2045
2046 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
2047
2048 * calendar/todo-mode.el: Reimplement item editing to have the same
2049 basic user interface as item insertion, and make small UI and
2050 larger internal improvements to the latter.
2051 (todo-insert-item): Add reference to the Todo mode user manual to
2052 the documentation string.
2053 (todo-insert-item--basic): Rename from todo-basic-insert-item and
2054 adjust all callers. Change signature to combine diary and
2055 nonmarking arguments. Incorporate functionality of deleted item
2056 copying command and add error checking. Remove detailed
2057 descriptions of the arguments from the documentation string, since
2058 this is treated in the Todo mode user manual.
2059 (todo-copy-item, todo-edit-multiline-item)
2060 (todo-edit-done-item-comment, todo-edit-item-header)
2061 (todo-edit-item-time, todo-edit-item-date-from-calendar)
2062 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
2063 (todo-edit-item-date-year, todo-edit-item-date-month)
2064 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
2065 Remove.
2066 (todo-edit-item): Reimplement as wrapper command for
2067 todo-edit-item--next-key and make it distinguish done and not done
2068 todo items.
2069 (todo-edit-item--text): New function, replacing old command
2070 todo-edit-item and incorporating deleted commands
2071 todo-edit-multiline-item and todo-edit-done-item-comment.
2072 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
2073 Use only numeric value of prefix argument. Remove detailed
2074 descriptions of the arguments from the documentation string, since
2075 this is treated in the Todo mode user manual.
2076 (todo-edit-item--diary-inclusion): New function, replacing old
2077 command todo-edit-item-diary-inclusion and incorporating and fixing
2078 functionality of deleted command todo-edit-item-diary-nonmarking,
2079 making sure to remove todo-nondiary-marker when adding
2080 diary-nonmarking-symbol.
2081 (todo-edit-category-diary-inclusion): Make sure to delete
2082 diary-nonmarking-symbol when adding todo-nondiary-marker.
2083 (todo-edit-category-diary-nonmarking): Fix indentation.
2084 (todo-insert-item--parameters): Group diary and nonmarking
2085 parameters together.
2086 (todo-insert-item--apply-args): Adjust to signature of
2087 todo-insert-item--basic and incorporate copy parameter.
2088 Make small code improvements.
2089 (todo-insert-item--next-param): Improve prompt and adjust it to
2090 new parameter grouping. Remove obsolete code.
2091 (todo-edit-item--param-key-alist)
2092 (todo-edit-item--date-param-key-alist)
2093 (todo-edit-done-item--param-key-alist): New defconsts.
2094 (todo-edit-item--prompt): New variable.
2095 (todo-edit-item--next-key): New function.
2096 (todo-key-bindings-t): Bind "e" to todo-edit-item.
2097 Remove bindings of deleted commands.
2098
2099 2014-05-02 Leo Liu <sdl.web@gmail.com>
2100
2101 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
2102
2103 2014-05-01 Glenn Morris <rgm@gnu.org>
2104
2105 * allout-widgets.el (allout-widgets-tally)
2106 (allout-decorate-item-guides):
2107 * menu-bar.el (menu-bar-positive-p):
2108 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
2109 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
2110 * progmodes/js.el (js--inside-param-list-p)
2111 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
2112 * progmodes/prolog.el (region-exists-p):
2113 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
2114 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
2115 Doc fixes (replace `iff').
2116
2117 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2118
2119 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
2120
2121 2014-04-30 Eli Zaretskii <eliz@gnu.org>
2122
2123 * dired.el (dired-initial-position-hook, dired-initial-position):
2124 Doc string fixes.
2125
2126 2014-04-29 Glenn Morris <rgm@gnu.org>
2127
2128 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
2129
2130 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
2131
2132 * faces.el (face-spec-recalc): Apply X resources only after the
2133 defface spec has been applied. Thus, X resources are no longer
2134 overridden by the defface spec which also fixes issues on win32 where
2135 the toolbar coloring was wrong because it is set through X resources
2136 and was (wrongfully) overridden. (Bug#16694)
2137
2138 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2139
2140 * textmodes/rst.el (electric-pair-pairs): Declare.
2141 (rst-mode): Set it (bug#17131).
2142
2143 2014-04-27 Juri Linkov <juri@jurta.org>
2144
2145 * desktop.el (desktop-value-to-string): Let-bind `print-length'
2146 and `print-level' to nil. (Bug#17351)
2147
2148 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2149
2150 * battery.el (battery-update): Handle the case where battery
2151 status is "N/A" (bug#17319).
2152
2153 2014-04-24 Eli Zaretskii <eliz@gnu.org>
2154
2155 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
2156 Use equal-including-properties to compare help-echo strings (bug#17331).
2157
2158 2014-04-24 Leo Liu <sdl.web@gmail.com>
2159
2160 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
2161 Fix syntax for @. (Bug#17325)
2162
2163 2014-04-24 Daniel Colascione <dancol@dancol.org>
2164
2165 * emacs-lisp/cl.el (gv): Require gv early to break eager
2166 macro-expansion cycles.
2167
2168 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2169
2170 * simple.el (region-active-p): Check there's a mark (bug#17324).
2171
2172 * simple.el (completion-list-mode-map): Use choose-completion for the
2173 mouse binding as well (bug#17302).
2174 (completion-list-mode, completion-setup-function): Adjust docstring and
2175 echo area message accordingly.
2176 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
2177 calling convention of choose-completion.
2178 * comint.el (comint-dynamic-list-completions):
2179 * term.el (term-dynamic-list-completions): Accept choose-completion.
2180
2181 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
2182 &, |, +, - and * can't be a division (bug#17317).
2183
2184 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2185
2186 * term/xterm.el (xterm--version-handler): Don't use modern xterm
2187 features on gnome-terminal (bug#16988).
2188
2189 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
2190
2191 * dired.el (dired-insert-set-properties): Do not consider
2192 subdirectory headings and empty lines to be information that
2193 `dired-hide-details-mode' should hide. (Bug#17228)
2194
2195 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
2196
2197 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2198 Remove test messages.
2199 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
2200 and `target' twice.
2201
2202 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2203
2204 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
2205 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
2206
2207 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
2208
2209 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
2210
2211 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2212 Set "IFS=" when using read builtin, in order to preserve spaces in
2213 the file name. Add test messages for hunting a bug on hydra.
2214 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
2215
2216 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2217
2218 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
2219 Don't prettify a word within a symbol.
2220
2221 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
2222
2223 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
2224 possible.
2225
2226 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2227
2228 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
2229 assignments such as "case=hello" (bug#17297).
2230
2231 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
2232
2233 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
2234 Do not autoload.
2235 (tramp-file-name-handler, tramp-completion-file-name-handler):
2236 Revert patch from 2014-04-10, it isn't necessary anymore.
2237 (tramp-autoload-file-name-handler)
2238 (tramp-register-autoload-file-name-handlers): New defuns.
2239 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
2240 (tramp-register-file-name-handlers): Remove also
2241 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
2242 Do not autoload its invocation, but eval it after loading of 'tramp.
2243
2244 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
2245
2246 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
2247
2248 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2249
2250 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
2251 was done (bug#17264).
2252 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
2253 comment to EOB.
2254
2255 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
2256 here-documents (bug#17262).
2257
2258 2014-04-16 Eli Zaretskii <eliz@gnu.org>
2259
2260 * term/pc-win.el (x-list-fonts, x-get-selection-value):
2261 Provide doc strings, as required by snarf-documentation.
2262
2263 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2264
2265 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
2266 arg of overlays-at. Use `invisible-p'.
2267
2268 * obsolete/lucid.el (extent-at):
2269 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
2270 overlays-at.
2271 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
2272
2273 2014-04-14 João Távora <joaotavora@gmail.com>
2274
2275 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
2276 links. (Bug#17217).
2277
2278 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2279
2280 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2281 Use mapc to loop over a vector. (Bug#17257).
2282
2283 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
2284
2285 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
2286 patch, there are new problems with file names containing spaces.
2287 Get rid of backticks. (Bug#17238)
2288
2289 2014-04-13 João Távora <joaotavora@gmail.com>
2290
2291 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
2292 possible bug.
2293
2294 2014-04-13 Eli Zaretskii <eliz@gnu.org>
2295
2296 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
2297 (blink-cursor-mode): Mention customization variables and the
2298 effect of 'blink-cursor-blinks'.
2299
2300 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
2301
2302 * simple.el (undo): Prevent insertion of identity mapping into
2303 undo-equiv-table so as undo-only does not inf loop in the presence
2304 of consecutive nils in undo list.
2305
2306 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
2307
2308 * faces.el (make-face): Deprecate optional argument as it is no
2309 longer needed/used since the conditional X resources handling
2310 has been pushed down to make-face-x-resource-internal itself.
2311 (make-empty-face): Don't pass optional argument to make-face.
2312
2313 2014-04-12 Eli Zaretskii <eliz@gnu.org>
2314
2315 * international/characters.el <standard-case-table>: Add entries
2316 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
2317 Set category of Coptic characters be 'g' (Greek).
2318
2319 2014-04-12 Leo Liu <sdl.web@gmail.com>
2320
2321 * progmodes/octave.el (completion-table-with-cache): Define if not
2322 available.
2323 (octave-goto-function-definition)
2324 (octave-sync-function-file-names)
2325 (octave-find-definition-default-filename): Backquote upattern for
2326 compatibility.
2327
2328 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
2329
2330 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
2331 name twice due to backticks. (Bug#17238)
2332
2333 2014-04-11 Glenn Morris <rgm@gnu.org>
2334
2335 * term/w32-win.el (x-win-suspend-error):
2336 * term/x-win.el (x-win-suspend-error): Sync docs.
2337
2338 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2339
2340 Ediff's overlay priorities cause more trouble than they solve.
2341 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
2342 (ediff-highest-priority): Remove function (bug#17234).
2343 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
2344 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
2345 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
2346 overlay priorities.
2347
2348 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
2349
2350 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
2351 entry; use symbol boundaries to avoid mis-matches.
2352
2353 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
2354
2355 * net/tramp.el (tramp-file-name-handler)
2356 (tramp-completion-file-name-handler): Avoid recursive loading.
2357
2358 * net/tramp-sh.el (tramp-make-copy-program-file-name):
2359 Quote result also locally.
2360
2361 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
2362
2363 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2364 Module methods. (Bug#17216)
2365
2366 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2367
2368 * help.el (describe-bindings): Fix buffer handling (bug#17210).
2369 (describe-bindings-internal): Mark obsolete.
2370
2371 2014-04-07 João Távora <joaotavora@gmail.com>
2372
2373 * elec-pair.el:
2374 (electric-pair--syntax-ppss): When inside comments parse from
2375 comment beginning.
2376 (electric-pair--balance-info): Fix typo in comment.
2377 (electric-pair--in-unterminated-string-p): Delete.
2378 (electric-pair--unbalanced-strings-p): New function.
2379 (electric-pair-string-bound-function): New var.
2380 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2381 according to `electric-pair--in-unterminated-string-p'
2382
2383 2014-04-07 João Távora <joaotavora@gmail.com>
2384
2385 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2386 Inhibit quote pairing if point-max is inside an unterminated string.
2387 (electric-pair--looking-at-unterminated-string-p): Delete.
2388 (electric-pair--in-unterminated-string-p): New function.
2389
2390 2014-04-07 Glenn Morris <rgm@gnu.org>
2391
2392 * shell.el (shell-directory-tracker):
2393 Go back to just ignoring failures. (Bug#17159)
2394
2395 2014-04-06 João Távora <joaotavora@gmail.com>
2396
2397 Fix `electric-pair-delete-adjacent-pairs' in modes binding
2398 backspace. (bug#16981)
2399 * elec-pair.el (electric-pair-backward-delete-char): Delete.
2400 (electric-pair-backward-delete-char-untabify): Delete.
2401 (electric-pair-mode-map): Bind backspace to a menu item filtering
2402 a new `electric-pair-delete-pair' command.
2403 (electric-pair-delete-pair): New command.
2404
2405 2014-04-06 João Távora <joaotavora@gmail.com>
2406
2407 * progmodes/python.el (python-electric-pair-string-delimiter):
2408 Fix triple-quoting electricity. (Bug#17192)
2409
2410 2014-04-06 João Távora <joaotavora@gmail.com>
2411
2412 * elec-pair.el (electric-pair-post-self-insert-function):
2413 Don't skip whitespace when `electric-pair-text-pairs' and
2414 `electric-pair-pairs' were used. syntax to
2415 electric-pair--skip-whitespace. (Bug#17183)
2416
2417 2014-04-06 Eli Zaretskii <eliz@gnu.org>
2418
2419 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2420 "<F>". (Bug#17199)
2421
2422 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
2423
2424 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2425 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2426
2427 2014-04-05 Glenn Morris <rgm@gnu.org>
2428
2429 * help.el (view-lossage): Doc tweak.
2430
2431 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
2432
2433 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2434 only when inhibit-x-resources is nil, and do that earlier in the
2435 function. Doc fix. (Bug#16694)
2436 (face-spec-choose): Accept additional optional argument, whose
2437 value is returned if no matching attributes are found.
2438 (face-spec-recalc): Use the new optional argument when calling
2439 face-spec-choose. (Bug#16378)
2440 (make-face-x-resource-internal): Do nothing when
2441 inhibit-x-resources is non-nil. Don't touch the default face if
2442 reversed video is given--as was done in previous versions of Emacs.
2443 (face-set-after-frame-default): Don't call
2444 make-face-x-resource-internal here. (Bug#16434)
2445
2446 2014-04-04 Tassilo Horn <tsdh@gnu.org>
2447
2448 * doc-view.el (doc-view-bookmark-jump):
2449 Use `bookmark-after-jump-hook' to jump to the right page after the
2450 buffer is shown in a window. (bug#16090)
2451
2452 2014-04-04 Eli Zaretskii <eliz@gnu.org>
2453
2454 * international/characters.el (mirroring): Fix last change:
2455 instead of loading uni-mirrored.el explicitly, do that implicitly
2456 by creating the 'mirroring' uniprop table. This avoids announcing
2457 the loading of uni-mirrored.el.
2458
2459 2014-04-04 Glenn Morris <rgm@gnu.org>
2460
2461 * files.el (buffer-stale--default-function)
2462 (buffer-stale-function, revert-buffer--default):
2463 * autorevert.el (auto-revert-buffers): Doc tweaks.
2464
2465 2014-04-03 Eli Zaretskii <eliz@gnu.org>
2466
2467 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
2468
2469 2014-04-03 Glenn Morris <rgm@gnu.org>
2470
2471 * files.el (make-backup-file-name-function)
2472 (make-backup-file-name, make-backup-file-name--default-function)
2473 (make-backup-file-name-1, find-backup-file-name)
2474 (revert-buffer-function, revert-buffer-insert-file-contents-function)
2475 (buffer-stale--default-function, buffer-stale-function)
2476 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2477 (revert-buffer, revert-buffer--default)
2478 (revert-buffer-insert-file-contents--default-function):
2479 Doc fixes related to defaults no longer being nil.
2480 (make-backup-file-name-function): Bump :version.
2481 Restore nil as a valid but deprecated custom type.
2482
2483 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
2484
2485 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
2486 used as a variable (bug#17174).
2487
2488 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
2489
2490 * progmodes/perl-mode.el (perl-indent-new-calculate):
2491 Handle forward-sexp failure (bug#16985).
2492 (perl-syntax-propertize-function): Add "foreach" and "for" statement
2493 modifiers introducing expressions (bug#17116).
2494
2495 2014-04-02 Glenn Morris <rgm@gnu.org>
2496
2497 * menu-bar.el (menu-bar-file-menu):
2498 * vc/ediff.el (ediff-current-file):
2499 Update for revert-buffer-function no longer being nil by default.
2500
2501 * simple.el (command-execute): Respect nil disabled-command-function.
2502
2503 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2504
2505 * simple.el (command-execute): Do not execute the command when it
2506 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2507
2508 2014-03-29 Juri Linkov <juri@jurta.org>
2509
2510 * dired-aux.el (dired-compress-file): Don't use string-match-p
2511 because its match data is used afterwards.
2512
2513 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2514
2515 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2516 0 like nil.
2517
2518 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2519
2520 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2521 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2522
2523 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2524 Don't propertize `?' or `!' as symbol constituent when after
2525 colon. (Bug#17097)
2526
2527 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2528
2529 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2530 which is no longer needed and causes trouble in GTK builds (bug#17046).
2531
2532 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2533 Use url-insert-file-contents; package-handle-response no longer exists.
2534
2535 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2536
2537 * emacs-lisp/package.el: Fix bug#16733 (again).
2538 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2539 (url-http-target-url): Remove unused declarations.
2540 (package-handle-response): Remove.
2541 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2542 (package--download-one-archive): Use current-buffer instead of
2543 dynamic binding of `buffer'.
2544 (describe-package-1): Do not decode readme-string.
2545
2546 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
2547
2548 * simple.el (primitive-undo): Correction to 2014-03-24 change.
2549
2550 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
2551
2552 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2553
2554 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2555 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2556 `remote-file-name-inhibit-cache' to nil in the second pass.
2557 (tramp-find-executable): Do not call "which" on SunOS.
2558 (tramp-send-command-and-check): Fix docstring.
2559 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2560 check whether source directory has set the sticky bit.
2561
2562 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
2563
2564 * simple.el (primitive-undo): Only process marker adjustments
2565 validated against their corresponding (TEXT . POS). Issue warning
2566 for lone marker adjustments in undo history. (Bug#16818)
2567 (undo-make-selective-list): Add marker adjustments to selective
2568 undo list based on whether their corresponding (TEXT . POS) is in
2569 the region. Remove variable adjusted-markers, which was unused
2570 and only non nil during undo-make-selective-list.
2571 (undo-elt-in-region): Return nil when passed a marker adjustment
2572 and explain in function doc.
2573
2574 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2575
2576 * emacs-lisp/package.el (package--add-to-archive-contents):
2577 Include already installed and built-in packages in
2578 `package-archive-contents'.
2579 (package-install): Don't include already installed packages in the
2580 options during interactive invocation. (Bug#16762)
2581
2582 2014-03-24 Daniel Colascione <dancol@dancol.org>
2583
2584 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2585 instead of cl-loop search function.
2586
2587 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
2588
2589 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2590
2591 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2592
2593 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2594
2595 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2596
2597 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2598 Match special global variables without curlies, too.
2599 (ruby-font-lock-keywords): Simplify the matcher for special global
2600 variables. Don't require a non-word character after the variable.
2601 (Bug#17057)
2602
2603 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2604
2605 * simple.el (redisplay-highlight-region-function): Increase priority of
2606 overlay to make sure boundaries are visible (bug#15899).
2607
2608 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2609
2610 * frameset.el (frameset-restore): Compare display strings with equal.
2611
2612 * frame.el (make-frame): Don't quote display name in error message,
2613 it is already a string.
2614
2615 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2616
2617 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2618 the password.
2619
2620 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
2621
2622 * emacs-lisp/package.el (package-show-package-list): If the buffer
2623 is already displayed in another window, switch to that window.
2624
2625 2014-03-21 Daniel Colascione <dancol@dancol.org>
2626
2627 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2628 information in bug reports.
2629
2630 2014-03-23 Daniel Colascione <dancol@dancol.org>
2631
2632 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2633 list to look for keyword arguments instead of `memq', fixing
2634 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2635 Please make bootstrap.
2636
2637 2014-03-23 Richard Stallman <rms@gnu.org>
2638
2639 * battery.el (battery-linux-sysfs): Search for each field
2640 from the beginning of the buffer.
2641
2642 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2643
2644 * emacs-lisp/package.el (package-desc): Use the contents of the
2645 quoted form, not its cdr. (Bug#16873)
2646
2647 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2648
2649 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2650 benefit of doc.c; change parameter profile to match the X function.
2651
2652 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2653
2654 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2655 and `tramp-copy-env'.
2656
2657 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2658 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2659
2660 2014-03-21 Glenn Morris <rgm@gnu.org>
2661
2662 * electric.el (electric-indent-post-self-insert-function): Add doc.
2663
2664 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2665
2666 * emacs-lisp/package.el (package-compute-transaction):
2667 Use `version-list-<=' to compare the requirement version against
2668 the version of package already to be installed. Update the error
2669 message. (Bug#16826)
2670
2671 * progmodes/ruby-mode.el (ruby-smie-rules):
2672 Add indentation rule for ` @ '. (Bug#17050)
2673
2674 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2675
2676 * align.el (align-regexp): Remove superfluous backslash.
2677
2678 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2679 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2680 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2681 Fix docstring typos.
2682 (ffap-next): Use C-u in docstring.
2683 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2684 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2685 Remove superfluous backslashes.
2686 (ffap-string-at-point): Reflow docstring.
2687
2688 * server.el (server-host): Reflow docstring.
2689 (server-unload-function): Fix docstring typo.
2690 (server-eval-at): Remove superfluous backslash.
2691
2692 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2693 (skeleton-insert): Doc fix.
2694 (skeleton-insert): Reflow docstring.
2695
2696 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2697 (tty-color-approximate, tty-color-by-index, tty-color-values)
2698 (tty-color-desc): Remove superfluous backslashes.
2699
2700 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2701
2702 * electric.el (electric-newline-and-maybe-indent): New command.
2703 Bind it globally to C-j.
2704 (electric-indent-mode): Don't mess with the global map any more.
2705 Don't drop the post-self-insert-hook is some buffer is still using it
2706 (bug#16770).
2707
2708 * bindings.el (global-map): Remove C-j binding.
2709
2710 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2711 the docstring of functions advised before dumping (bug#16993).
2712
2713 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2714
2715 * ps-print.el (ps-generate-postscript-with-faces):
2716 Explicitly deactivate the mark (bug#16866).
2717 * simple.el (deactivate-mark): Update region highlight.
2718
2719 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2720
2721 * emacs-lisp/package.el (describe-package-1):
2722 Decode commentary (bug#16733).
2723
2724 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2725
2726 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2727 modification of the value argument of :set (bug#16755).
2728
2729 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2730
2731 * simple.el (newline-and-indent): Do autofill (bug#17031).
2732
2733 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2734
2735 * newcomment.el (comment-normalize-vars): Only add escaping check
2736 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2737 (comment-beginning): Use `narrow-to-region' instead of moving back
2738 one character.
2739 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2740 (comment-start-skip): Update the docstring.
2741
2742 2014-03-18 Richard Stallman <rms@gnu.org>
2743
2744 * dired.el (dired-display-file): Force use of other window.
2745
2746 2014-03-18 Daniel Colascione <dancol@dancol.org>
2747
2748 * startup.el (tty-handle-args): Remove debug message from 2007.
2749
2750 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2751
2752 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2753 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2754 (advice--make-1, advice-add, advice-remove):
2755 Remove braindead :advice-pending hack.
2756
2757 2014-03-17 Glenn Morris <rgm@gnu.org>
2758
2759 * calendar/calendar.el (calendar-generate-month): Apply weekend
2760 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2761
2762 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2763
2764 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2765 (tramp-call-process): Trace also DESTINATION.
2766
2767 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2768 Quote file names when they are local. Remove superfluous trace.
2769
2770 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2771
2772 * newcomment.el (comment-beginning): If `comment-start-skip'
2773 doesn't match, move back one char and try again. (Bug#16971)
2774
2775 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2776 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2777 Set `comment-start-skip' to a simpler value that doesn't try to
2778 check if the semicolon is escaped (this is handled by
2779 `syntax-ppss' now). (Bug#16971)
2780
2781 * progmodes/scheme.el (scheme-mode-variables): Same.
2782
2783 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2784
2785 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2786 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2787 current (Bug#16816, Bug#17007).
2788 (with-current-buffer-window): New macro doing the same as
2789 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2790 * help.el (help-print-return-message): Warn in doc-string to not
2791 use this in `with-help-window'.
2792 (describe-bindings-internal): Call `describe-buffer-bindings'
2793 from within help buffer. See Juanma's scenario in (Bug#16816).
2794 (with-help-window): Update doc-string.
2795 * dired.el (dired-mark-pop-up):
2796 * files.el (save-buffers-kill-emacs):
2797 * register.el (register-preview): Use `with-current-buffer-window'
2798 instead of `with-temp-buffer-window'.
2799
2800 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2801
2802 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2803 Implement inserting into current buffer, documented in their docstrings.
2804 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2805 (rst-section-tree-point, rst-forward-section, rst-indent)
2806 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2807 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2808 (rst-font-lock-handle-adornment-pre-match-form)
2809 (rst-repeat-last-character): Reflow docstrings.
2810 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2811 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2812 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2813 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2814 Fix docstring typos.
2815 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2816 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2817 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2818
2819 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2820
2821 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2822 for compatibility with other ports.
2823 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2824 from the -xrm command line argument, but in the Nextstep port its value
2825 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2826
2827 * progmodes/python.el (defconst, python-syntax-count-quotes)
2828 (python-indent-region, python-indent-shift-right)
2829 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2830 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2831 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2832 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2833 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2834 (python-shell-buffer-substring, python-shell-send-buffer)
2835 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2836 (python-completion-complete-at-point, python-fill-docstring-style)
2837 (python-eldoc-function, python-imenu-format-item-label)
2838 (python-imenu-format-parent-item-label)
2839 (python-imenu-format-parent-item-jump-label)
2840 (python-imenu--build-tree, python-imenu-create-index)
2841 (python-imenu-create-flat-index): Fix docstring typos.
2842 (python-indent-context, python-shell-prompt-regexp, run-python):
2843 Remove superfluous backslashes.
2844 (python-indent-line, python-nav-beginning-of-defun)
2845 (python-shell-get-buffer, python-shell-get-process)
2846 (python-info-current-defun, python-info-current-line-comment-p)
2847 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2848 (python-indent-post-self-insert-function, python-shell-send-file)
2849 (python-shell-completion-get-completions)
2850 (python-shell-completion-complete-or-indent)
2851 (python-eldoc--get-doc-at-point): Reflow docstrings.
2852
2853 2014-03-14 Glenn Morris <rgm@gnu.org>
2854
2855 * emacs-lisp/package.el (package-menu-mode-map):
2856 Replace use of obsolete function alias. Tweak menu item text.
2857
2858 * info.el (Info-finder-find-node):
2859 Ignore the `emacs' metapackage. (Bug#10813)
2860
2861 * finder.el (finder-list-matches): Include unversioned packages
2862 in the result of a keyword search.
2863
2864 * finder.el (finder--builtins-descriptions): New constant.
2865 (finder-compile-keywords): Use finder--builtins-descriptions.
2866
2867 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2868
2869 * simple.el (blink-matching-paren): Describe the new value,
2870 `jump', enabling the old behavior.
2871 (blink-matching-open): Use that value. (Bug#17008)
2872
2873 2014-03-14 Glenn Morris <rgm@gnu.org>
2874
2875 * finder.el (finder-no-scan-regexp): Add leim-list.
2876 (finder-compile-keywords):
2877 Don't skip files with same basename. (Bug#14010)
2878 * Makefile.in (setwins_finder): New, excluding leim.
2879 (finder-data): Use setwins_finder.
2880
2881 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2882 (help-function-arglist, help-make-usage): Move from here...
2883 * help.el (help-split-fundoc, help-add-fundoc-usage)
2884 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2885 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2886
2887 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2888
2889 * net/socks.el (socks, socks-override-functions)
2890 (socks-find-services-entry):
2891 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2892 (hif-find-ifdef-block):
2893 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2894
2895 * net/tls.el (tls-program): Reflow docstring.
2896
2897 * progmodes/pascal.el (pascal-mode-abbrev-table)
2898 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2899 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2900 (pascal-outline-mode): Fix docstring typos.
2901 (pascal-mode): Let define-derived-mode document mode hook.
2902 (pascal-uncomment-area): Reflow.
2903 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2904
2905 * progmodes/opascal.el (opascal-compound-block-indent)
2906 (opascal-case-label-indent): Fix docstring typos.
2907 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2908
2909 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2910
2911 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2912 Fontify multiple adjacent negation chars. (Bug#17004)
2913
2914 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2915
2916 * emacs-lisp/package.el (package--prepare-dependencies):
2917 Accept requirements without explicit version (bug#14941).
2918
2919 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2920
2921 * register.el (register-separator, copy-to-register): Doc fixes.
2922 (register-preview-default): Remove unnecessary call to concat.
2923
2924 * frameset.el (frameset-restore): When checking for a visible frame,
2925 use the action map instead of calling visible-frame-list.
2926
2927 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2928
2929 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2930
2931 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2932
2933 * window.el (fit-frame-to-buffer): Get maximum width from
2934 display's width instead of height.
2935
2936 2014-03-12 Glenn Morris <rgm@gnu.org>
2937
2938 * desktop.el (desktop-restore-frames)
2939 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2940 (desktop-restore-reuses-frames): Doc tweaks.
2941
2942 * electric.el (electric-indent-mode): Doc fix.
2943
2944 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2945
2946 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2947 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2948 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2949 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2950 (cvs-dired-use-hook): Fix docstring typos.
2951 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2952 Doc fixes.
2953
2954 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2955 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2956 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2957 (cvs-execute-single-dir): Fix docstring typos.
2958
2959 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2960 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2961
2962 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2963
2964 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2965 Fix docstring typos.
2966
2967 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2968
2969 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2970 called from jump-to-register after unloading the frameset package.
2971
2972 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2973
2974 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2975 (bug#16975). Deactivate the mark before setting it to nil.
2976 (activate-mark): Do nothing if region is already active.
2977
2978 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2979
2980 * frameset.el (frameset--target-display): Remove definition; declare.
2981 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2982
2983 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2984
2985 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2986 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2987 when the advice is pending.
2988 (advice-remove): Remove this marker when not needed any more.
2989
2990 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2991
2992 * frameset.el: Separate options for reusing frames and cleaning up.
2993 (frameset--reuse-list): Remove definition; declare.
2994 (frameset--action-map): Declare.
2995 (frameset--find-frame-if): Doc fix.
2996 (frameset--restore-frame): Cache frame action.
2997 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2998 how to clean up the frame list after restoring. Remove cleaning
2999 options from REUSE-FRAMES. Change all keyword values to symbols.
3000 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
3001
3002 * desktop.el (desktop-restore-forces-onscreen)
3003 (desktop-restore-reuses-frames): Use non-keyword values.
3004 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
3005
3006 2014-03-10 Glenn Morris <rgm@gnu.org>
3007
3008 * files.el (find-file): Doc fix: update info node name.
3009
3010 * emacs-lisp/advice.el (ad-add-advice, defadvice):
3011 Doc fix: remove references to deleted info nodes.
3012
3013 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
3014
3015 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3016 Do not add `nil' to the environment, when there's no remote `locale'.
3017 (tramp-find-inline-encoding): Check, that the remote host has
3018 installed perl, before sending scripts.
3019
3020 2014-03-10 Leo Liu <sdl.web@gmail.com>
3021
3022 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3023 Clear eldoc-last-message. (Bug#16920)
3024
3025 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3026
3027 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
3028 (bug#14430).
3029
3030 2014-03-09 Juri Linkov <juri@jurta.org>
3031
3032 * ansi-color.el (ansi-color-names-vector): Copy default colors
3033 from `xterm-standard-colors' that look well on the default white
3034 background (and also on the black background) to avoid illegible
3035 color combinations like yellow-on-white and white-on-white.
3036 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
3037
3038 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
3039
3040 * frameset.el (frameset-restore): When no frame is visible, do not
3041 generate a list of frames, just make visible the selected one.
3042
3043 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
3044
3045 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
3046 it only contains the repository root. (Bug#16897)
3047
3048 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
3049
3050 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
3051 only when `remote-file-name-inhibit-cache' is nil.
3052 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
3053
3054 2014-03-06 Martin Rudalics <rudalics@gmx.at>
3055
3056 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
3057 Fix doc-strings.
3058 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
3059 fit-frame-to-buffer variable. Fix doc-string.
3060 (fit-window-to-buffer): Set ONLY argument in call of
3061 fit-frame-to-buffer. Fix doc-string.
3062
3063 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
3064
3065 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
3066 (tramp-action-password): Clear password cache if needed.
3067 (tramp-read-passwd): Do not clear password cache.
3068
3069 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
3070 cache unless it is the first password request.
3071
3072 2014-03-06 Glenn Morris <rgm@gnu.org>
3073
3074 * simple.el (newline): Doc tweak.
3075
3076 * emacs-lisp/shadow.el (load-path-shadows-find):
3077 Ignore dir-locals. (Bug#12357)
3078
3079 2014-03-05 Glenn Morris <rgm@gnu.org>
3080
3081 * files.el (interpreter-mode-alist):
3082 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
3083
3084 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3085
3086 * frameset.el (frameset--initial-params): Filter out null entries.
3087
3088 2014-03-05 Martin Rudalics <rudalics@gmx.at>
3089
3090 * window.el (window-min-height, window-min-width):
3091 Rewrite doc-strings.
3092 (window-body-size): Add PIXELWISE argument to make it consistent
3093 with its callees.
3094
3095 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3096
3097 * finder.el (finder-mode-map, finder-mode-syntax-table):
3098 Revert part of 2014-02-28 change.
3099
3100 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
3101
3102 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
3103 (eww-setup-buffer): Clear next/prev/etc more reliably.
3104 (eww-textarea-map): [tab] doesn't work on tty.
3105 Reported by Mario Lang.
3106
3107 * net/shr.el (shr-map): Ditto.
3108
3109 2014-03-04 Glenn Morris <rgm@gnu.org>
3110
3111 * minibuffer.el (completion-hilit-commonality):
3112 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
3113
3114 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3115
3116 * hilit-chg.el (hilit-chg-unload-function): New function.
3117 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
3118 (hilit-chg-map-changes): Prefer cardinal number to digit.
3119 (hilit-chg-display-changes): Reflow docstring.
3120 (highlight-changes-rotate-faces): Remove superfluous backslash.
3121
3122 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
3123
3124 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
3125 `tramp-send-command-and-check'.
3126
3127 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3128
3129 * hexl.el (hexl-address-region, hexl-ascii-region)
3130 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
3131 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
3132 (hexl-forward-word, hexl-previous-line, hexl-next-line):
3133 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
3134 (hexl-mode): Doc fix.
3135 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
3136 (hexl-mode-ruler): Fix typos in docstrings.
3137
3138 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
3139 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
3140 Remove superfluous backslashes.
3141 (strokes-last-stroke, strokes-global-map, strokes-mode):
3142 Reflow docstrings.
3143 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
3144 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
3145 (strokes-distance-squared, strokes-global-set-stroke)
3146 (strokes-global-set-stroke-string): Doc fixes.
3147 (strokes-help): Fix typos; reflow docstring.
3148
3149 2014-03-04 Martin Rudalics <rudalics@gmx.at>
3150
3151 * window.el (window-in-direction): Fix doc-string.
3152
3153 2014-03-04 Glenn Morris <rgm@gnu.org>
3154
3155 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
3156 Explicit error if no grammar.
3157 (smie-config-save): Doc fix. Fix quote typo.
3158
3159 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
3160
3161 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
3162 electric-indent-mode-hook if we obey electric-indent-mode.
3163 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
3164 decide whether we obey electric-indent-mode.
3165 (c-change-set-fl-decl-start, c-extend-after-change-region):
3166 Silence warnings.
3167 (c-electric-indent-mode-hook): Assume we do want to obey
3168 electric-indent-mode.
3169
3170 * electric.el (electric-indent-mode-has-been-called): Remove.
3171 (electric-indent-mode): Fix accordingly.
3172
3173 * files.el (hack-local-variables): Mention file name in warning.
3174
3175 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
3176
3177 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
3178
3179 * bindings.el: Add comment describing why C-d binds to `delete-char'.
3180 * simple.el (delete-forward-char): Mark as interactive-only.
3181
3182 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
3183
3184 * icomplete.el (icomplete-completions):
3185 Follow-up to 2014-03-01 change.
3186
3187 * icomplete.el: Miscellaneous doc fixes.
3188 Use Icomplete everywhere instead of icomplete for consistency.
3189 (icomplete-max-delay-chars): Fix typo.
3190 (icomplete-mode): Use \[].
3191 (icomplete-tidy, icomplete-exhibit): Reflow.
3192 (icomplete-minibuffer-setup-hook, icomplete-completions):
3193 Remove superfluous backlashes.
3194
3195 * ido.el: Miscellaneous doc fixes.
3196 Use Ido everywhere instead of ido or `ido' for consistency.
3197 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
3198 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
3199 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
3200 (ido-separator): Extract obsolescence info from docstring and declare
3201 with make-obsolete-variable.
3202 (ido-minibuffer-setup-hook): Simplify example.
3203 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
3204 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
3205 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
3206 (ido-everywhere): Reflow docstring.
3207 (ido-toggle-vc): Doc fix.
3208 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
3209 of long list of keybindings.
3210
3211 2014-03-03 Glenn Morris <rgm@gnu.org>
3212
3213 * frame.el (display-pixel-height, display-pixel-width)
3214 (display-mm-dimensions-alist, display-mm-height)
3215 (display-mm-width): Doc tweaks.
3216
3217 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
3218
3219 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
3220 case of undo in region.
3221
3222 2014-03-02 Martin Rudalics <rudalics@gmx.at>
3223
3224 * window.el (fit-window-to-buffer): Fix argument in window-size
3225 call when window is horizontally combined.
3226
3227 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
3228
3229 * icomplete.el (icomplete-completions): Use string-width.
3230 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
3231
3232 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
3233
3234 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3235 Highlight regexp options. (Bug#16914)
3236
3237 2014-03-01 Martin Rudalics <rudalics@gmx.at>
3238
3239 * window.el (window--max-delta-1): Round down when calculating
3240 how many lines/columns we can get from a window.
3241
3242 2014-03-01 Glenn Morris <rgm@gnu.org>
3243
3244 * isearch.el (search-invisible): Doc fix.
3245
3246 * minibuffer.el (completion-hilit-commonality):
3247 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
3248 * comint.el (comint-dynamic-list-completions): Doc fix.
3249 * comint.el (comint-dynamic-list-completions):
3250 * filecache.el (file-cache-minibuffer-complete):
3251 * tempo.el (tempo-display-completions):
3252 * eshell/em-hist.el (eshell-list-history):
3253 Replace use of obsolete argument of display-completion-list.
3254
3255 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
3256
3257 * icomplete.el (icomplete-completions):
3258 Revert back to using "..." when ?… cannot be displayed.
3259
3260 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3261
3262 * finder.el (finder-unload-function): New function.
3263
3264 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3265
3266 * dframe.el (dframe-detach):
3267 * find-dired.el (find-dired, find-name-dired):
3268 * finder.el (finder-mode-map, finder-mode-syntax-table)
3269 (finder-headmark, finder-select, finder-mouse-select):
3270 Fix docstring typos.
3271
3272 2014-02-28 Martin Rudalics <rudalics@gmx.at>
3273
3274 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
3275 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
3276 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3277 Fix doc-string based on a suggestion by Nicolas Richard
3278 <theonewiththeevillook@yahoo.fr>.
3279 * help.el (with-help-window): Fix doc-string.
3280
3281 2014-02-28 Ivan Kanis <ivan@kanis.fr>
3282
3283 * net/shr.el (shr-image-animate): New option.
3284 (shr-put-image): Respect shr-image-animate.
3285
3286 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
3287
3288 * net/tramp-adb.el (tramp-adb-parse-device-names):
3289 Use `accept-process-output'.
3290 (tramp-adb-handle-file-truename): Cache the localname only.
3291 (tramp-adb-handle-make-directory)
3292 (tramp-adb-handle-delete-directory): Flush file properties correctly.
3293 (tramp-adb-handle-set-file-modes): Do not raise an error when file
3294 modes cannot be changed.
3295
3296 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3297 file properties of symlinks.
3298
3299 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
3300
3301 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3302 required/optional fields to match development biblatex. (Bug#16781)
3303
3304 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
3305
3306 * saveplace.el (toggle-save-place):
3307 Fix argument handling. (Bug#16673)
3308
3309 2014-02-28 Glenn Morris <rgm@gnu.org>
3310
3311 * minibuffer.el (completions-first-difference)
3312 (completions-common-part, completion-hilit-commonality): Doc fixes.
3313
3314 2014-02-28 Karl Berry <karl@gnu.org>
3315
3316 * info.el (Info-mode-map): Add H for describe-mode,
3317 to synchronize with standalone Info.
3318
3319 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
3320
3321 * progmodes/sql.el (sql-interactive-mode):
3322 Avoid setting global comint-input-ring-separator. (Bug#16814)
3323
3324 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3325
3326 * net/dbus.el (dbus--init-bus): Declare function.
3327 (dbus-path-local, dbus-interface-local): New defconst.
3328 (dbus-init-bus): Use them.
3329 (dbus-return-values-table): Extend doc.
3330 (dbus-handle-bus-disconnect): Extend error message.
3331
3332 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
3333
3334 * subr.el (y-or-n-p): Fix double space issue in message.
3335
3336 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3337
3338 * net/tramp.el (tramp-call-process): Improve trace message.
3339 (tramp-handle-insert-file-contents): Trace error case.
3340
3341 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3342 <insert-directory>: Use `tramp-handle-insert-directory'.
3343 (tramp-adb-handle-insert-directory): Remove function.
3344 (tramp-adb-send-command-and-check): New defun, replacing
3345 `tramp-adb-command-exit-status'. Change all callees.
3346 (tramp-adb-handle-file-attributes)
3347 (tramp-adb-handle-directory-files-and-attributes): Use it.
3348 (tramp-adb-ls-output-name-less-p):
3349 Use `directory-listing-before-filename-regexp'.
3350 (tramp-adb-handle-delete-directory): Flush also file properties of
3351 the truename of directory.
3352 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3353 (tramp-adb-handle-file-local-copy): Make the local copy readable.
3354 (tramp-adb-handle-write-region): Implement APPEND.
3355 (tramp-adb-handle-rename-file): Make it more robust. Flush file
3356 properties correctly.
3357 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3358 variables. Check for connected devices only when needed.
3359
3360 2014-02-27 Glenn Morris <rgm@gnu.org>
3361
3362 * minibuffer.el (completion-table-dynamic)
3363 (completion-table-with-cache): Doc fixes.
3364
3365 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3366 (completing-read-multiple): Doc fixes.
3367
3368 2014-02-27 Daniel Colascione <dancol@dancol.org>
3369
3370 * minibuffer.el (completion--nth-completion): Fix indentation.
3371
3372 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3373 explicit tramp path is empty.
3374
3375 2014-02-27 Glenn Morris <rgm@gnu.org>
3376
3377 * emacs-lisp/crm.el (completing-read-multiple):
3378 Empower help-enable-auto-load.
3379
3380 2014-02-26 Glenn Morris <rgm@gnu.org>
3381
3382 * startup.el (command-line): Don't init the tty in daemon mode.
3383
3384 Avoid calling tty-setup-hook twice, eg if a term file
3385 explicitly calls tty-run-terminal-initialization. (Bug#16859)
3386 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3387 (tty-create-frame-with-faces): Use it.
3388 * startup.el (command-line): Pass run-hook argument
3389 to tty-run-terminal-initialization.
3390
3391 * dired.el (dired-restore-desktop-buffer): Demote errors;
3392 eg in case a glob match fails. (Bug#16884)
3393
3394 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
3395
3396 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3397 error from `read-from-string'. (Bug#16850)
3398
3399 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3400 result of `completing-read' in the interactive form. (Bug#16854)
3401
3402 2014-02-25 Glenn Morris <rgm@gnu.org>
3403
3404 * image.el (image-animate, image-animate-timeout):
3405 Stop animating images in dead buffers. (Bug#16878)
3406
3407 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
3408
3409 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3410 Doc fixes.
3411 * startup.el (term-setup-hook): Doc fix. Make obsolete.
3412 * term/sun.el (sun-raw-prefix-hooks):
3413 Use tty-setup-hook instead of term-setup-hook.
3414 (terminal-init-sun): Construct message from bytecomp plist.
3415 * term/wyse50.el (enable-arrow-keys): Doc fix.
3416
3417 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3418
3419 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3420 Fix docstring typos.
3421
3422 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
3423
3424 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3425
3426 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3427
3428 * minibuffer.el (completion--try-word-completion):
3429 Fix error when completing M-x commands (bug#16808).
3430
3431 2014-02-24 Leo Liu <sdl.web@gmail.com>
3432
3433 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3434
3435 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3436
3437 * apropos.el (apropos-print): Avoid formatting error when
3438 apropos-do-all and apropos-compact-layout are both t.
3439
3440 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3441
3442 * apropos.el (apropos-property, apropos-all-words-regexp)
3443 (apropos-true-hit, apropos-variable, apropos-print):
3444 Fix docstring typos, and remove obsolete comment.
3445
3446 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3447
3448 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3449 Preserve trailing "/". (Bug#16851)
3450
3451 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3452
3453 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3454 after `=>' (bug#16811).
3455 (ruby-smie-rules): Handle the inconsistent second element of the
3456 list returned by `smie-indent--parent'.
3457 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3458 method call.
3459
3460 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3461
3462 * elec-pair.el (electric-pair-text-syntax-table)
3463 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3464 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3465 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3466 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3467
3468 2014-02-22 Glenn Morris <rgm@gnu.org>
3469
3470 * imenu.el (imenu--generic-function): Doc fix.
3471
3472 * register.el (frame-configuration-to-register): Make obsolete.
3473
3474 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
3475
3476 * desktop.el (desktop-save-buffer-p): Do not fail when
3477 desktop-files-not-to-save is nil. Return t for true result
3478 as the doc says.
3479
3480 2014-02-22 Daniel Colascione <dancol@dancol.org>
3481
3482 * net/secrets.el (secrets-create-item, secrets-search-items):
3483 Check that attribute values are strings, avoiding the construction
3484 of invalid dbus messages.
3485
3486 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3487
3488 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3489 defun-declarations-alist.
3490
3491 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3492
3493 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3494 (bug#16829).
3495
3496 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3497
3498 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3499 (whitespace-newline, whitespace-trailing, whitespace-line)
3500 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3501 (whitespace-space-after-tab): Fix typo in docstrings.
3502
3503 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3504
3505 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3506
3507 * electric.el (electric-indent-functions-without-reindent):
3508 Add `yaml-indent-line'.
3509
3510 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3511
3512 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3513 It has done nothing for years; should be removed after the release.
3514
3515 * simple.el (choose-completion): Fix docstring typo.
3516 (read-quoted-char-radix): Remove unneeded * in docstring.
3517 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3518 Don't escape parentheses unnecessarily in docstrings.
3519
3520 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3521
3522 Fix handling of window-min-height/-width (Bug#16738).
3523 * window.el (window--dump-window, window--dump-frame):
3524 New functions.
3525 (window--min-size-1): Account for window dividers.
3526 When window-resize-pixelwise is nil, delay rounding till after the
3527 sum of the window components has been calculated.
3528 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3529 nil make sure at least one text line and two text columns remain
3530 fully visible.
3531 (window-resize): Signal an error when window-resize-apply fails.
3532 (window--resize-child-windows): Fix calculation of by how many
3533 pixels a window can still be shrunk via window-new-normal.
3534 (adjust-window-trailing-edge): Call window--resizable with
3535 correct TRAIL argument.
3536
3537 (with-temp-buffer-window): Don't evaluate BODY within
3538 with-current-buffer (Bug#16816).
3539
3540 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3541
3542 * net/tramp.el (tramp-check-cached-permissions):
3543 Call `file-attributes' with `suffix' being a symbol but a string.
3544
3545 2014-02-21 Daniel Colascione <dancol@dancol.org>
3546
3547 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3548 (dbus-init-bus): New function: call into dbus-init-bus-1
3549 and installs a handler for the disconnect signal.
3550 (dbus-call-method): Rewrite to look for result in cons.
3551 (dbus-call-method-handler): Store result in cons.
3552 (dbus-check-event): Recognize events with nil sender as valid.
3553 (dbus-handle-bus-disconnect): New function. React to bus
3554 disconnection signal by synthesizing dbus error for each
3555 pending synchronous or asynchronous call.
3556 (dbus-notice-synchronous-call-errors): New function.
3557 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3558 is true, not all the time.
3559
3560 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3561
3562 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3563 Remove obsolescence declarations, these variables do not exist anymore.
3564
3565 * savehist.el (savehist-save-minibuffer-history)
3566 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3567 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3568 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3569 mostly, refer to "Savehist mode" when talking about the mode,
3570 and not the function.
3571
3572 * saveplace.el (save-place): Remove redundant info in docstring.
3573 (save-place-forget-unreadable-files, toggle-save-place)
3574 (save-place-forget-unreadable-files, save-place-dired-hook):
3575 Fix typos and remove unneeded backslashes.
3576
3577 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3578
3579 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3580 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3581
3582 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3583 <insert-directory>: Use `tramp-handle-insert-directory'.
3584 (tramp-gvfs-handle-insert-directory): Remove function.
3585
3586 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3587 Call `tramp-handle-insert-directory'.
3588
3589 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3590
3591 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3592 before the start of buffer/region (bug#16799).
3593
3594 2014-02-20 Glenn Morris <rgm@gnu.org>
3595
3596 * isearch.el (search-invisible): Doc fix.
3597
3598 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3599
3600 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3601 (bug#16657).
3602
3603 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3604
3605 * frameset.el (frameset-restore): Delay removing an old frame's
3606 duplicate id until the new frame has been correctly created.
3607
3608 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3609
3610 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3611 (tramp-check-cached-permissions): Call `file-attributes' if the
3612 cache is empty.
3613
3614 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3615 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3616
3617 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3618 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3619 (tramp-gvfs-maybe-open-connection): Set always connection
3620 properties, even if target is mounted already.
3621
3622 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3623 Set tramp-autoload cookie.
3624 (tramp-get-remote-touch): New defun.
3625 (tramp-sh-handle-set-file-times): Use it.
3626 (tramp-sh-handle-directory-files-and-attributes):
3627 Use `tramp-handle-directory-files-and-attributes' if neither stat
3628 nor perl are available on the remote host.
3629
3630 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3631 "/". Write long listing only when "l" belongs to the switches.
3632
3633 * net/trampver.el: Update release number.
3634
3635 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3636
3637 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3638
3639 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3640
3641 * window.el (window-state-put): Allow WINDOW to refer to an
3642 internal window (Bug#16793).
3643
3644 2014-02-19 Glenn Morris <rgm@gnu.org>
3645
3646 * textmodes/remember.el: Move provide statement to end.
3647 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3648 (remember-notes): Doc fixes.
3649
3650 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3651
3652 * delsel.el (delete-char): Restore incorrectly erased property
3653 (bug#16795).
3654
3655 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3656
3657 * frameset.el (frameset--restore-frame): When a frame is being reused
3658 and its root window is not alive, delete all the frame's windows before
3659 restoring the window state. This works around the issue in bug#16793.
3660
3661 2014-02-18 Glenn Morris <rgm@gnu.org>
3662
3663 * textmodes/remember.el (remember-data-directory)
3664 (remember-directory-file-name-format, remember-store-in-files)
3665 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3666 (remember-notes-save-and-bury-buffer)
3667 (remember-notes--kill-buffer-query): Doc fixes.
3668
3669 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3670
3671 2014-02-17 Alan Mackenzie <acm@muc.de>
3672
3673 Connect electric-indent-mode up with CC Mode. Bug #15478.
3674 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3675 to electric-indent-{,local-}-mode.
3676 (c-basic-common-init): Set electric-indent-inhibit.
3677 Initialise c-electric-flag from electric-indent-mode.
3678 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3679 New hook functions which propagate electric-indent-mode to CC mode.
3680
3681 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3682 hit, toggle electric-indent-local-mode.
3683
3684 * electric.el (electric-indent-mode-has-been-called):
3685 New variable.
3686
3687 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3688
3689 * frameset.el (frameset-cfg-id): New function.
3690 (frameset--reuse-frame, frameset-restore): Use it.
3691 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3692
3693 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3694
3695 * ido.el (ido-file-internal): Remove unused var `d'.
3696 Use \` for to match BoS. Fit within 80n columns.
3697
3698 2014-02-17 Daniel Colascione <dancol@dancol.org>
3699
3700 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3701 dbus-call-method check for completion using a busy-wait loop with
3702 gradual backoff.
3703
3704 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3705
3706 Sync with Tramp 2.2.9.
3707
3708 * net/trampver.el: Update release number.
3709
3710 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3711
3712 * ido.el (ido-file-internal): Don't add the name of an existing
3713 directory twice. (Bug#16747)
3714
3715 2014-02-16 Glenn Morris <rgm@gnu.org>
3716
3717 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3718 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3719
3720 2014-02-15 Michael R. Mauger <michael@mauger.com>
3721
3722 * progmodes/sql.el: Version 3.4
3723 (sql-oracle-options): New default value ("-L").
3724 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3725 (sql-placeholders-filter): Correct placeholder pattern.
3726 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3727 (sql-login-delay): New variable.
3728 (sql-product-interactive): Use it.
3729
3730 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3731
3732 * frameset.el (frameset--jump-to-register): Check that buffer is live
3733 (bug#16749).
3734
3735 2014-02-15 Glenn Morris <rgm@gnu.org>
3736
3737 * info.el (info-initialize): Revert 2014-01-10 change.
3738
3739 2014-02-14 Glenn Morris <rgm@gnu.org>
3740
3741 * replace.el (map-query-replace-regexp)
3742 (read-regexp-defaults-function, read-regexp): Doc fixes.
3743
3744 * dired.el (dired-read-regexp):
3745 * faces.el (list-faces-display):
3746 * misearch.el (multi-isearch-read-matching-buffers)
3747 (multi-isearch-read-matching-files):
3748 * play/cookie1.el (cookie-apropos):
3749 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3750
3751 * textmodes/remember.el (remember): Use frameset-to-register
3752 rather than frame-configuration-to-register.
3753
3754 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3755
3756 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3757 incorrect keybinding.
3758
3759 2014-02-13 Daniel Colascione <dancol@dancol.org>
3760
3761 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3762 when adding overlays so that line numbers from compiler match line
3763 numbers we use.
3764
3765 2014-02-13 Glenn Morris <rgm@gnu.org>
3766
3767 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3768
3769 * jit-lock.el (jit-lock-mode): Doc fix.
3770
3771 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3772
3773 * apropos.el (apropos-read-pattern): When the user passes an empty
3774 string, give a more helpful error message than "Wrong type
3775 argument: stringp, nil".
3776
3777 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3778
3779 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3780
3781 2014-02-13 Glenn Morris <rgm@gnu.org>
3782
3783 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3784
3785 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3786
3787 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3788 shift-select commands.
3789
3790 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3791
3792 * progmodes/js.el (js-indent-line): Don't widen.
3793 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3794
3795 2014-02-12 Glenn Morris <rgm@gnu.org>
3796
3797 * icomplete.el (icomplete): Add info-link to defgroup.
3798 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3799 (icomplete-minibuffer-map, icomplete-mode)
3800 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3801
3802 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3803 (package-menu-filter): Rename from package-menu-filter-interactive.
3804 Doc fix.
3805
3806 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3807
3808 * frameset.el (frameset--jump-to-register): Select the required
3809 window and buffer before restoring position (bug#16696).
3810
3811 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3812
3813 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3814
3815 2014-02-10 Glenn Morris <rgm@gnu.org>
3816
3817 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3818
3819 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3820
3821 * w32-common-fns.el (x-get-selection): Doc fix.
3822 * select.el (x-get-selection): Doc fix. (Bug#15109)
3823
3824 * face-remap.el (face-remap-add-relative)
3825 (face-remap-remove-relative, face-remap-reset-base)
3826 (face-remap-set-base): Call force-mode-line-update to redisplay
3827 the current buffer due to potential change in faces. (Bug#16709)
3828
3829 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3830
3831 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3832 script more robustly.
3833
3834 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3835
3836 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3837
3838 * simple.el (choose-completion): Doc fix (bug#14160).
3839
3840 * subr.el (event-start): Say what a nil EVENT value means.
3841
3842 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3843 (bug#14197).
3844
3845 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3846
3847 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3848
3849 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3850
3851 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3852 predicate function (bug#15455).
3853
3854 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3855
3856 * ielm.el (inferior-emacs-lisp-mode): Instead of
3857 `comment-use-global-state', set `comment-use-syntax'.
3858
3859 2014-02-10 Glenn Morris <rgm@gnu.org>
3860
3861 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3862
3863 2014-02-09 Alan Mackenzie <acm@muc.de>
3864
3865 Fix c-invalidate-state-cache on narrowed buffers.
3866 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3867 Widen when setting and clearing the CPP delimiter properties.
3868
3869 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3870
3871 * help.el (describe-bindings): Doc fix (bug#9888).
3872
3873 * files.el (save-buffer): Use ARG as the parameter name for
3874 consistency (bug#10346).
3875 (save-buffer): Clarify the 0 argument (bug#10346).
3876
3877 * cus-edit.el (customize-apropos): Fix error string.
3878 (custom-buffer-create): Doc fix (bug#11122).
3879 (custom-sort-items): Doc fix (bug#11121).
3880
3881 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3882
3883 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3884 (icomplete-simple-completing-p): Mention the previous variable.
3885
3886 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3887 meaning of the parameter (bug#12282).
3888
3889 * files.el (find-file-noselect): Clarify prompt when changing
3890 readedness (bug#13261).
3891 (locate-file): Suffixes aren't returned, so don't say that they
3892 are (bug#12674).
3893 (backup-inhibited): Doc clarification (bug#12525).
3894
3895 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3896 before we actually start to delete things (bug#16331).
3897
3898 * subr.el (event-start): Doc fix (bug#14228).
3899 (event-end): Ditto.
3900
3901 2014-02-09 Glenn Morris <rgm@gnu.org>
3902
3903 * emacs-lisp/warnings.el (lwarn):
3904 Empower help-enable-auto-load. (Bug#15940)
3905
3906 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3907
3908 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3909 (Bug#16690)
3910
3911 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3912
3913 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3914 Insert output at end of buffer. (Bug#16120)
3915
3916 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3917
3918 * simple.el (choose-completion-string-functions): Document new
3919 calling convention (bug#14153).
3920 (execute-extended-command): Clarify doc string (bug#13373).
3921
3922 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3923
3924 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3925 (find-grep-dired): Doc fix (bug#14288).
3926
3927 2014-02-08 Juri Linkov <juri@jurta.org>
3928
3929 * isearch.el (isearch-quote-char): Check character validity
3930 like in `quoted-insert' (bug#16677).
3931
3932 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3933
3934 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3935
3936 * isearch.el (isearch-hide-immediately): Doc clarification
3937 (bug#14723).
3938
3939 * simple.el (line-move): Document utility function used many
3940 places in the Emacs sources (bug#14843).
3941
3942 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3943 (dired-prev-marked-file): Doc fix (bug#14855).
3944 (dired-up-directory): Doc fix (bug#14848).
3945
3946 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3947
3948 * files.el (file-relative-name): Doc fix (bug#15159).
3949
3950 * fringe.el (fringe-styles): Doc fix (bug#15239).
3951
3952 * isearch.el (isearch-filter-predicate): Documentation typo fix
3953 (bug#15474).
3954
3955 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3956
3957 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3958
3959 * replace.el (replace-match-maybe-edit): Doc clarification
3960 (bug#15632).
3961
3962 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3963
3964 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3965
3966 2014-02-08 Glenn Morris <rgm@gnu.org>
3967
3968 * help-fns.el (describe-variable):
3969 Check {file,dir}-local-variables-alist, and buffer-file-name,
3970 in the correct buffer.
3971
3972 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3973
3974 * help-fns.el (describe-variable): Fix the case where
3975 a value is directory-local with no dir-locals file. (Bug#16635)
3976
3977 2014-02-08 Glenn Morris <rgm@gnu.org>
3978
3979 * abbrev.el (edit-abbrevs-mode):
3980 Derive from fundamental-mode. (Bug#16682)
3981
3982 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3983
3984 * simple.el (quoted-insert): Check character validity (bug#16677).
3985
3986 2014-02-07 Juri Linkov <juri@jurta.org>
3987
3988 * desktop.el (desktop-read): Claim the lock when the owner is not
3989 the current process. (Bug#16157)
3990
3991 2014-02-07 Juri Linkov <juri@jurta.org>
3992
3993 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3994 to "\\` ". (Bug#16651)
3995
3996 2014-02-07 Juri Linkov <juri@jurta.org>
3997
3998 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3999 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
4000 (desktop-auto-save-cancel-timer): New function with some code from
4001 `desktop-auto-save-set-timer'.
4002 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
4003 Instead of setting `desktop-save-mode' to nil, call
4004 `desktop-save-mode' with arg 0. (Bug#16630)
4005
4006 2014-02-07 Glenn Morris <rgm@gnu.org>
4007
4008 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
4009 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
4010 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
4011
4012 * obsolete/iswitchb.el: Move to obsolete/.
4013 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
4014 since obsolete/ is not scanned for autoloads.
4015 * emacs-lisp/authors.el (authors-valid-file-names):
4016 Add iswitchb.el.
4017
4018 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
4019 Disable now non-functional find-file-hook.
4020
4021 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
4022
4023 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
4024 instead of ";" in order to avoid additional prompts. Let heredoc
4025 scripts read from tty. (Bug#16582)
4026 (tramp-send-command): No special handling of heredocs, it isn't
4027 necessary anymore.
4028
4029 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
4030
4031 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
4032 with a space (bug#16664). Limit the symbols considered to the ones
4033 that are bound or fbound (bug#16646).
4034
4035 2014-02-06 Glenn Morris <rgm@gnu.org>
4036
4037 * epa.el (epa-mail-aliases): Doc fix.
4038
4039 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
4040
4041 * emacs-lisp/lisp.el (lisp-completion-at-point):
4042 Use `completion-table-merge' instead of `completion-table-in-turn'
4043 (bug#16604).
4044
4045 * minibuffer.el (completion-table-merge): New function.
4046
4047 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
4048
4049 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
4050 (tramp-sh-handle-set-file-acl)
4051 (tramp-sh-handle-start-file-process)
4052 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
4053 (tramp-find-executable, tramp-send-command): Use it.
4054
4055 2014-02-05 Glenn Morris <rgm@gnu.org>
4056
4057 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
4058
4059 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
4060
4061 * progmodes/python.el (python-shell-send-string)
4062 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
4063
4064 2014-02-04 Anders Lindgren <andlind@gmail.com>
4065
4066 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
4067 the names (bug#16620).
4068
4069 2014-02-03 Martin Rudalics <rudalics@gmx.at>
4070
4071 * faces.el (window-divider): New default value. Rewrite doc-string.
4072 (window-divider-first-pixel, window-divider-last-pixel): New faces.
4073
4074 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
4075
4076 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
4077 `protected' and `public' can also be called without arguments.
4078
4079 2014-02-03 Glenn Morris <rgm@gnu.org>
4080
4081 * register.el (window-configuration-to-register)
4082 (frame-configuration-to-register): Unadvertise unused argument.
4083 * frameset.el (frameset-to-register): Remove unused argument.
4084
4085 * frameset.el (frameset-to-register):
4086 * kmacro.el (kmacro-to-register):
4087 * register.el (increment-register):
4088 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
4089 (calc-append-to-register, calc-prepend-to-register):
4090 * play/gametree.el (gametree-layout-to-register)
4091 (gametree-apply-register-layout):
4092 * textmodes/picture.el (picture-clear-rectangle-to-register)
4093 (picture-yank-rectangle-from-register):
4094 * vc/emerge.el (emerge-combine-versions-register):
4095 Use register-read-with-preview to read registers.
4096
4097 2014-02-03 João Távora <joaotavora@gmail.com>
4098
4099 * elec-pair.el (electric-pair-backward-delete-char): Don't error
4100 when at beginning of (possibly narrowed) buffer.
4101
4102 2014-02-02 Daniel Colascione <dancol@dancol.org>
4103
4104 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
4105 Also try to display local help from just before point.
4106
4107 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
4108
4109 c-parse-state. Don't "append-lower-brace-pair" in certain
4110 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
4111 recognised as a comment.
4112
4113 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
4114 as well as normal comment starter.
4115 (c-parse-state-get-strategy): Extra return possibility
4116 'back-and-forward.
4117 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
4118 return value list to indicate replacement of a brace-pair cons
4119 with its car.
4120 (c-parse-state-1): With 'back-and-forward, only call
4121 c-append-lower-brace-pair-to state-cache when cons-separated.
4122
4123 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
4124
4125 * term/ns-win.el (ns-suspend-error): New function.
4126 (ns-initialize-window-system): Add ns-suspend-error to
4127 suspend-hook (Bug#16612).
4128
4129 2014-02-02 Daniel Colascione <dancol@dancol.org>
4130
4131 * progmodes/cc-defs.el (c-find-assignment-for-mode):
4132 Make loading cc-mode silent.
4133
4134 2014-02-02 Daniel Colascione <dancol@dancol.org>
4135
4136 * comint.el (comint-prompt-read-only): Change doc to suggest
4137 remap keybinding.
4138
4139 2014-02-02 Glenn Morris <rgm@gnu.org>
4140
4141 * register.el (register-read-with-preview, point-to-register)
4142 (window-configuration-to-register, frame-configuration-to-register)
4143 (jump-to-register, number-to-register, view-register, insert-register)
4144 (copy-to-register, append-to-register, prepend-to-register)
4145 (copy-rectangle-to-register): Doc fixes.
4146
4147 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4148
4149 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
4150 * emacs-lisp/find-func.el (find-function-C-source): Idem.
4151 * emacs-lisp/nadvice.el (advice--cd*r): New function.
4152 * help-fns.el (describe-function-1): Use it.
4153
4154 2014-02-02 Glenn Morris <rgm@gnu.org>
4155
4156 * register.el (register-preview-default): New function,
4157 split from register-preview.
4158 (register-preview-function): Rename from register-preview-functions,
4159 make it not a hook.
4160 (register-preview): Use register-preview-function.
4161 (register-read-with-preview): Error on non-character event. (Bug#16595)
4162
4163 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
4164
4165 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
4166 `:' before binary operators (bug#16609). Don't check for `:'
4167 before `[' and `(', or their syntax status. A percent literal
4168 can't end with either.
4169 (ruby-font-lock-keywords): For built-ins that require arguments,
4170 check that they're followed by something that looks like argument
4171 (bug#16610).
4172
4173 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
4174
4175 * subr.el (butlast): Document what an omitted N means (bug#13437).
4176 (nbutlast): Ditto.
4177
4178 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
4179
4180 * net/shr.el (shr-generic): Make into a defsubst to make the stack
4181 depth shallower (bug#16587).
4182 (shr-tag-svg): Respect `shr-inhibit-images'.
4183 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
4184
4185 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
4186
4187 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
4188 (ruby-smie-grammar): Make "." right-associative. Make its priority
4189 lower than the ternary and all binary operators.
4190 (ruby-smie-rules): Indent "(" relative to the first non-"."
4191 parent, or the first "." parent at indentation.
4192 Use `ruby-align-chained-calls' for indentation of "." tokens.
4193 (Bug#16593)
4194
4195 2014-01-31 Juri Linkov <juri@jurta.org>
4196
4197 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
4198 from `make-hash-table'.
4199
4200 * textmodes/ispell.el (ispell-init-process): Change message format
4201 to be consistent with other messages.
4202
4203 2014-01-31 Glenn Morris <rgm@gnu.org>
4204
4205 * delsel.el (delete-selection-mode): Doc fix.
4206
4207 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
4208 (trace-function-background): Doc fixes.
4209
4210 * ido.el (ido-use-virtual-buffers): Doc fix.
4211 Reset :version, since the default value has not changed.
4212
4213 * register.el (register-preview-delay, register-read-with-preview):
4214 Doc fixes.
4215
4216 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
4217 do not mess with mail-buffer position (fixes 2009-11-03 change).
4218 * progmodes/cc-mode.el (c-submit-bug-report):
4219 Check auto-fill-mode is bound. (Bug#16592)
4220
4221 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
4222
4223 * startup.el (fancy-splash-image-file): New function,
4224 split from fancy-splash-head.
4225 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
4226 so that we are both using the same image. (Bug#16574)
4227
4228 2014-01-30 Glenn Morris <rgm@gnu.org>
4229
4230 * simple.el (eval-expression): Doc fix.
4231
4232 * hexl.el (hexl-mode-hook):
4233 * ielm.el (ielm-mode-hook):
4234 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
4235 (lisp-interaction-mode-hook):
4236 * progmodes/cfengine.el (cfengine3-documentation-function):
4237 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
4238
4239 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4240
4241 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
4242 is a symbol (bug#16584).
4243
4244 2014-01-30 Glenn Morris <rgm@gnu.org>
4245
4246 * help.el (help-for-help-internal): Add "P" to text.
4247
4248 2014-01-29 Glenn Morris <rgm@gnu.org>
4249
4250 * simple.el (just-one-space, cycle-spacing): Doc fixes.
4251
4252 2014-01-28 Martin Rudalics <rudalics@gmx.at>
4253
4254 * window.el (fit-frame-to-buffer): Fix calculations for margins and
4255 height constraints.
4256
4257 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
4258
4259 * progmodes/hideif.el: Extend to full CPP expression syntax.
4260 (hif-token-alist): Add missing tokens.
4261 (hif-token-regexp): Add support for float/octal/hex immediates.
4262 (hif-string-literal-regexp): New const.
4263 (hif-tokenize): Recognize strings and float/octal/hex immediates.
4264 (hif-exprlist): New function.
4265 (hif-parse-if-exp): Use it.
4266 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
4267 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
4268 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
4269 (hif-logxor, hif-comma): New functions.
4270
4271 2014-01-28 Glenn Morris <rgm@gnu.org>
4272
4273 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
4274
4275 * indent.el (tab-stop-list): Doc fix. Add :version.
4276
4277 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
4278 (cvs-append-to-ignore): Add compatibility alias.
4279
4280 2014-01-27 Glenn Morris <rgm@gnu.org>
4281
4282 * dired.el (dired-hide-details-mode): Don't autoload it,
4283 since it cannot be used outside Dired buffers anyway.
4284
4285 * emulation/cua-base.el (cua-mode): Doc fix.
4286
4287 * dired.el (dired-hide-details-hide-symlink-targets)
4288 (dired-hide-details-hide-information-lines)
4289 (dired-hide-details-mode): Doc fixes.
4290
4291 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
4292 * strokes.el (strokes-file): Doc fix. Bump :version.
4293 (strokes-help): Doc fix.
4294 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
4295 * emulation/viper.el (viper): Doc fix for custom group.
4296 (top-level): Remove oh-so-no-longer-relevant text about vip.
4297 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4298
4299 * ido.el (ido-save-directory-list-file):
4300 * saveplace.el (save-place-file):
4301 * calendar/timeclock.el (timeclock-file):
4302 * net/quickurl.el (quickurl-url-file):
4303 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4304 * progmodes/idlwave.el (idlwave-config-directory):
4305 * textmodes/remember.el (remember-data-file):
4306 Bump :version.
4307
4308 2014-01-26 Glenn Morris <rgm@gnu.org>
4309
4310 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4311 Doc fix. Make obsolete.
4312 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4313
4314 * sort.el (delete-duplicate-lines): Doc fix.
4315
4316 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4317
4318 * progmodes/ada-mode.el (ada):
4319 * woman.el (woman): Link to info manual and Commentary section.
4320
4321 * progmodes/flymake.el (flymake):
4322 * nxml/nxml-mode.el (nxml):
4323 * net/eww.el (eww):
4324 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4325 * htmlfontify.el (htmlfontify):
4326 * ses.el (ses):
4327 * epa.el (epa):
4328 * ido.el (ido): Link to info manual.
4329
4330 2014-01-25 Leo Liu <sdl.web@gmail.com>
4331
4332 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4333
4334 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
4335
4336 * net/shr.el (shr-tag-img): Prefer the title over the alt text
4337 (bug#16537).
4338
4339 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
4340
4341 * net/eww.el (eww-download-callback):
4342 Fix reference to eww-download-directory.
4343
4344 * emacs-lisp/bytecomp.el (byte-compile-file):
4345 Remove unused local variable `file-name'.
4346
4347 2014-01-24 Glenn Morris <rgm@gnu.org>
4348
4349 * woman.el (woman-default-faces, woman-monochrome-faces):
4350 Fix obsolescence specification.
4351
4352 * subr.el (with-demoted-errors): Doc fix.
4353
4354 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
4355
4356 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4357 (cl--macroexp-fboundp): New function.
4358 (cl--make-type-test): Use it.
4359
4360 2014-01-23 Glenn Morris <rgm@gnu.org>
4361
4362 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4363 * simple.el (eval-expression): Doc fixes.
4364
4365 2014-01-22 Glenn Morris <rgm@gnu.org>
4366
4367 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4368
4369 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
4370
4371 * emacs-lisp/package.el: Write files silently.
4372 (package-autoload-ensure-default-file, package--write-file-no-coding)
4373 (package-generate-description-file, package--download-one-archive)
4374 (package-install-from-archive): Tell `write-region' to stay quiet.
4375 (package-menu-mode, package-menu--print-info): Omit the Archive column
4376 if there's only one archive.
4377 (package-all-keywords, package--has-keyword-p): Remove dead code.
4378
4379 2014-01-22 Glenn Morris <rgm@gnu.org>
4380
4381 * version.el (emacs-bzr-version-bzr): Fix typo.
4382
4383 * version.el (emacs-repository-get-version):
4384 Check either .bzr or .git, but not both.
4385 Make the git case actually use the DIR argument, and return nil
4386 rather than the empty string.
4387 Avoid error if .git exists but the git executable is not found.
4388
4389 2014-01-22 Martin Rudalics <rudalics@gmx.at>
4390
4391 Fixes in window size functions around Bug#16430 and Bug#16470.
4392 * window.el (window-total-size, window-size): New argument ROUND.
4393 (window--min-delta-1, window-min-delta, window--max-delta-1):
4394 Be more conservative when calculating the numbers of lines or
4395 columns a window can shrink (Bug#16430).
4396 (fit-window-to-buffer): Simplify code.
4397 * term.el (term-window-width): Call window-body-width again.
4398
4399 2014-01-22 Glenn Morris <rgm@gnu.org>
4400
4401 * image.el (image-format-suffixes): Doc fix.
4402
4403 * international/quail.el (quail-define-package): Doc fix.
4404
4405 * emacs-lisp/authors.el (authors-valid-file-names)
4406 (authors-renamed-files-alist): Additions.
4407
4408 * vc/vc-git.el (vc-git-print-log): Remove --follow;
4409 reverts 2014-01-09 change. (Bug#16422)
4410
4411 * calc/calc-embed.el (thing-at-point-looking-at):
4412 * emacs-lisp/map-ynp.el (x-popup-dialog):
4413 * obsolete/lmenu.el (x-popup-dialog):
4414 * emacs-lisp/package.el (url-recreate-url):
4415 * mail/mailclient.el (clipboard-kill-ring-save):
4416 * subr.el (x-popup-dialog): Update declaration.
4417 * mail/rmail.el (rmail-mime-message-p):
4418 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4419
4420 2014-01-21 Daniel Colascione <dancol@dancol.org>
4421
4422 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4423 Correctly detect when we're inside an arithmetic expansion form
4424 containing nested parenthesis.
4425 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4426 to detect cases where we shouldn't expand "<<" to a heredoc
4427 skeleton.
4428
4429 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4430
4431 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4432 (eldoc--message-command-p): New function.
4433 (eldoc-display-message-p): Use it.
4434 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4435 message is not automatically erased for us.
4436 (eldoc-print-current-symbol-info): Erase previous message, if any.
4437
4438 2014-01-21 Tassilo Horn <tsdh@gnu.org>
4439
4440 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4441 specify it's an interactive function.
4442
4443 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4444 Fix regex used for scanning for citation keys which failed for
4445 citations with optional arguments.
4446
4447 2014-01-21 Leo Liu <sdl.web@gmail.com>
4448
4449 * simple.el (read--expression): Don't enable eldoc-mode.
4450
4451 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4452
4453 * simple.el (move-beginning-of-line): Make sure we don't move forward
4454 (bug#16497).
4455
4456 2014-01-20 Juri Linkov <juri@jurta.org>
4457
4458 * saveplace.el (toggle-save-place, save-place-to-alist)
4459 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4460 'dired-mode) before checking for dired-directory. (Bug#16477)
4461
4462 2014-01-20 Juri Linkov <juri@jurta.org>
4463
4464 * indent.el (indent-line-to): Use backward-to-indentation
4465 instead of back-to-indentation. (Bug#16461)
4466
4467 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4468
4469 Revert some of the CANNOT_DUMP fix (Bug#16494).
4470 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4471 but fixing this can wait until after the next release.
4472 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4473
4474 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
4475
4476 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4477 Use `password-word-equivalents'.
4478 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4479 to t. (Bug#5664, Bug#13124)
4480
4481 2014-01-19 Alan Mackenzie <acm@muc.de>
4482
4483 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4484 points.
4485 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4486 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4487 * progmodes/cc-mode.el (c-before-change, c-after-change)
4488 (c-font-lock-fontify-region): Bind it here.
4489
4490 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4491
4492 * term.el (term-window-width): Call window-text-width instead of
4493 window-width (Bug#16470).
4494
4495 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4496
4497 * simple.el (password-word-equivalents): Remove duplicates.
4498 Sort, to make this easier next time.
4499 Downcase. Omit ": " after "jelszó".
4500
4501 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4502
4503 * term/common-win.el (saved-region-selection): Defvar it.
4504 (x-select-text): Set saved-region-selection (Bug#16382).
4505
4506 2014-01-18 Glenn Morris <rgm@gnu.org>
4507
4508 * emacs-lisp/authors.el (authors-aliases)
4509 (authors-renamed-files-alist): Add some entries.
4510
4511 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4512
4513 * net/tramp.el (tramp-password-prompt-regexp):
4514 Use `password-word-equivalents' if available.
4515 (tramp-action-password, tramp-process-one-action)
4516 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4517
4518 2014-01-17 Chong Yidong <cyd@gnu.org>
4519
4520 * simple.el (password-word-equivalents): New defcustom.
4521 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4522 to 24.4.
4523 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4524 to t. (Bug#13124)
4525
4526 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4527
4528 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4529 (ruby-align-to-stmt-keywords): Change the default value.
4530 Use `ruby-alignable-keywords' to generate the possible customization
4531 choices.
4532 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4533 keywords, check against the value of `ruby-alignable-keywords'
4534 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4535
4536 2014-01-17 Glenn Morris <rgm@gnu.org>
4537
4538 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4539
4540 Make M-x authors return zero *Authors Errors* from current logs.
4541 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4542 (authors-ignored-files): Add some entries, remove others.
4543 (authors-ambiguous-files, authors-valid-file-names):
4544 Add some entries.
4545 (authors-renamed-files-alist): Add, remove, and adjust entries.
4546 (authors-renamed-files-regexps): Add some entries.
4547 Remove some very broad ones. Make some entries `lax'.
4548 (authors-lax-changelogs): New constant.
4549 (authors-disambiguate-file-name): Treat top-level specially.
4550 (authors-lax-changelog-p): New function.
4551 (authors-canonical-file-name): Check file as written against
4552 authors-valid-file-names. Do not special-case etc/.
4553 Handle `lax' logs and authors-renamed-files-regexps elements.
4554
4555 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4556
4557 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4558 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4559 callers.
4560
4561 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4562
4563 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4564 Assume we're already in the proper buffer.
4565 Inspired by Anders Lindgren <andlind@gmail.com>.
4566 (follow-post-command-hook): Call it from the right buffer.
4567 (follow-comint-scroll-to-bottom): Adjust call.
4568 (follow-all-followers): Use get-buffer-window-list.
4569
4570 2014-01-15 Daniel Colascione <dancol@dancol.org>
4571
4572 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4573 `buffer-file-name' in interactive-form so that we don't leave
4574 pathless file names in `file-name-history'.
4575
4576 2014-01-15 Juri Linkov <juri@jurta.org>
4577
4578 * indent.el (indent-rigidly): Set deactivate-mark to nil
4579 in transient indentation mode. (Bug#16438)
4580
4581 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4582
4583 * emacs-lisp/package.el (package-desc-keywords): New function
4584 (Bug#16222).
4585 (describe-package-1, package-all-keywords)
4586 (package--has-keyword-p): Use it.
4587
4588 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4589
4590 * simple.el (define-alternatives): When creating the
4591 COMMAND-alternatives variable, assign COMMAND as its definition
4592 name so that `describe-variable' can relocate it.
4593
4594 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4595
4596 * font-lock.el (font-lock-keywords): Fix typo in docstring
4597 (bug#16307).
4598
4599 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4600
4601 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
4602 line instead of wrongly reset `add-coment' (bug#13577).
4603
4604 2014-01-14 Daiki Ueno <ueno@gnu.org>
4605
4606 * epa-file.el (epa-file-write-region): Encode the region according
4607 to `buffer-file-format'. Problem reported at:
4608 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4609
4610 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4611
4612 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4613 so it applies in the right buffer (bug#16410).
4614
4615 2014-01-13 Daniel Colascione <dancol@dancol.org>
4616
4617 * textmodes/rst.el (rst-define-key): Provide deprecated
4618 keybindings through named functions instead of anonymous ones so
4619 that "??" doesn't appear in describe-mode output.
4620
4621 2014-01-13 Bastien Guerry <bzg@gnu.org>
4622
4623 * simple.el (define-alternatives): Call the selected command
4624 interactively. When setting `COMMAND--implementation' for the
4625 first time, tell the user how to chose another implementation.
4626 Enhance the docstring.
4627
4628 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4629
4630 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4631 (log-edit--match-first-line): New function.
4632 (log-edit-font-lock-keywords): Use it.
4633 (log-edit-mode): Make jit-lock-defer-multiline work.
4634
4635 2014-01-13 Bastien Guerry <bzg@gnu.org>
4636
4637 * rect.el (rectangle-mark-mode): When the region is not active,
4638 display a message saying that the mark as been set and that
4639 rectangle mode is in use.
4640 (rectangle--highlight-for-redisplay): Only put an overlay with a
4641 visible vertical bar when (display-graphic-p) is non-nil.
4642 This partially fixes Bug#16403.
4643
4644 2014-01-13 Juri Linkov <juri@jurta.org>
4645
4646 * info.el (Info-find-file): Go to DIR before displaying the error
4647 about a nonexistent file if no previous Info file is visited.
4648 Use `user-error' instead of `error' for "Info file %s does not exist".
4649 (Info-find-node-2): In case of a nonexistent node in unwind forms
4650 go to the Top node if there is no previous node to revert to.
4651 (Bug#16405)
4652
4653 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4654
4655 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4656 * window.el (fit-frame-to-buffer): Fix doc-string.
4657 Respect window-min-height/-width. Fit pixelwise when
4658 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4659 when avoiding that frame goes partially off-screen.
4660 (fit-window-to-buffer): Respect window-min-height/-width
4661 (Bug#14096).
4662
4663 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4664
4665 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4666 after an empty line.
4667
4668 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4669
4670 * net/shr.el (shr-render-region): Autoload.
4671
4672 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4673
4674 * net/eww.el (eww-download-directory): Rename from
4675 `eww-download-path' (Bug#16419).
4676
4677 2014-01-12 Leo Liu <sdl.web@gmail.com>
4678
4679 * dired-x.el (dired-mode-map): Fix last change.
4680
4681 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4682
4683 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4684
4685 Spelling fixes.
4686 * emacs-lisp/generic.el (generic--normalize-comments):
4687 Rename from generic--normalise-comments. All uses changed.
4688 * play/bubbles.el (bubbles--neighborhood-score)
4689 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4690 (bubbles--neighborhood-available)
4691 (bubbles--update-neighborhood-score):
4692 Rename from names with 'neighbourhood'. All uses changed.
4693
4694 2014-01-12 Leo Liu <sdl.web@gmail.com>
4695
4696 Re-implement the feature of showing eldoc info after editing.
4697 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4698 (eldoc-edit-message-commands): New function.
4699 (eldoc-print-after-edit): New variable.
4700 (eldoc-pre-command-refresh-echo-area): Emit message only by
4701 eldoc-message-commands.
4702 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4703 if eldoc-print-after-edit is set. (Bug#16346)
4704 * simple.el (read--expression): Enable eldoc-mode.
4705 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4706
4707 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4708 Eric S. Raymond <esr@thyrsus.com>
4709
4710 * version.el (emacs-repository-get-version): Enhance so the
4711 function works correctly in either a Bazaar or Git repo.
4712
4713 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4714
4715 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4716 Goes with removal of the joke manpages from /etc.
4717
4718 2014-01-10 Kenichi Handa <handa@gnu.org>
4719
4720 * mail/rmail.el (rmail-get-coding-system):
4721 Check rmail-get-coding-function before "funcall"ing it.
4722
4723 2014-01-10 Glenn Morris <rgm@gnu.org>
4724
4725 * emacs-lisp/authors.el (authors-fixed-entries):
4726 Update for files that no longer exist.
4727
4728 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4729
4730 * version.el (emacs-bzr-get-version): Restore compatibilty with
4731 24.3 (Tested).
4732
4733 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4734
4735 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4736 and Podfile.
4737
4738 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4739
4740 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4741
4742 2014-01-10 Chong Yidong <cyd@gnu.org>
4743
4744 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4745
4746 2014-01-10 Anders Lindgren <andlind@gmail.com>
4747
4748 * follow.el (follow-cache-command-list): Include right-char and
4749 left-char.
4750
4751 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4752
4753 Spelling fixes.
4754 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4755 * woman.el (woman-mark-horizontal-position):
4756 Rename from woman-mark-horizonal-position. Use changed.
4757
4758 2014-01-10 Glenn Morris <rgm@gnu.org>
4759
4760 * info.el (info-initialize): If running uninstalled, ensure our
4761 own info files are always found first, even if INFOPATH is set.
4762
4763 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4764
4765 2014-01-09 David Engster <deng@randomsample.de>
4766
4767 * emacs-lisp/eieio-custom.el:
4768 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4769 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4770 * emacs-lisp/eieio.el: Regenerate autoloads.
4771
4772 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4773
4774 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4775 following renames. (Bug#8756)
4776
4777 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4778
4779 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4780 (bug#16382).
4781 (activate-mark): Add `no-tmm' argument.
4782 (set-mark, push-mark-command): Use it instead of running
4783 activate-mark-hook by hand.
4784
4785 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4786
4787 In preparation for the move to git, sanitize out some
4788 Bazaar-specific names.
4789
4790 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4791
4792 * version.el (emacs-bzr-version): Name changed to
4793 emacs-repository-version. Obsolete-variable alias made.
4794 * loadup.el: Follow through on this name change.
4795 * mail/emacsbug.el (report-emacs-bug): Factor out any
4796 assumption about the version control system in use.
4797
4798 2014-01-08 David Engster <deng@randomsample.de>
4799
4800 * help-fns.el (help-fns-describe-function-functions):
4801 New variable to call functions for augmenting help buffers.
4802 (describe-function-1): Remove explicit calls to
4803 `help-fns--compiler-macro', `help-fns--parent-mode' and
4804 `help-fns--obsolete'. Put them in above new variable instead, and
4805 call them through `run-hook-with-args'.
4806 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4807 `eieio-describe-class'. Not meant for interactive use anymore,
4808 but to augment existing help buffers. Remove optional second
4809 argument. Create proper button for file location.
4810 Rewrite function to use `insert' instead of `princ' and `prin1' where
4811 possible.
4812 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4813 (eieio-method-def, eieio-class-def): Move further up.
4814 (describe-method, describe-generic, eieio-describe-method):
4815 Remove aliases.
4816 (eieio-help-constructor, eieio-help-generic): Rename from
4817 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4818 Rewrite to use `insert' in the current buffer and use proper help
4819 buttons.
4820 (eieio-help-find-method-definition)
4821 (eieio-help-find-class-definition): Also accept symbols as
4822 arguments.
4823 (eieio-help-mode-augmentation-maybee): Remove.
4824 (eieio-describe-class-sb): Use `describe-function'.
4825 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4826 Add `eieio-help-generic' and `eieio-help-constructor'.
4827
4828 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4829
4830 Spelling fixes.
4831 * language/china-util.el (hz-ascii-designation):
4832 Rename from hz-ascii-designnation.
4833 (hz-ascii-designation): Rename from hz-ascii-designnation.
4834 All uses changed.
4835
4836 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4837
4838 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4839 package-alist.
4840
4841 2014-01-08 Bastien Guerry <bzg@gnu.org>
4842
4843 * emacs-lisp/package.el (package-delete):
4844 Correctly delete the package from package-alist.
4845
4846 2014-01-08 Daiki Ueno <ueno@gnu.org>
4847
4848 * emacs-lisp/package.el (url-recreate-url): Declare.
4849 (url-http-target-url): Declare.
4850 (package-handle-response): Include requested URL in the error message.
4851 (package--check-signature): Don't re-signal errors from
4852 package--with-work-buffer. Suggested by Stefan Monnier.
4853
4854 2014-01-07 Bastien Guerry <bzg@gnu.org>
4855
4856 * minibuffer.el (completion--try-word-completion): When both a
4857 hyphen and a space are possible candidates for the character
4858 following a word, display both candidates. (Bug#15980)
4859
4860 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4861
4862 * window.el (balance-windows-2): While rounding don't give a
4863 window more than the remainder. Bug#16351, bug#16383.
4864
4865 2014-01-07 Glenn Morris <rgm@gnu.org>
4866
4867 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4868 (menu-bar-help-menu): Use view-external-packages instead.
4869
4870 2014-01-07 Bastien Guerry <bzg@gnu.org>
4871
4872 * emacs-lisp/package.el (package-delete): Also delete the package
4873 name from `package-alist', not its description only.
4874
4875 2014-01-07 Glenn Morris <rgm@gnu.org>
4876
4877 * help.el (view-external-packages):
4878 * menu-bar.el (menu-bar-help-extra-packages):
4879 Visit efaq.info rather than etc/MORE.STUFF.
4880
4881 2014-01-07 Juri Linkov <juri@jurta.org>
4882
4883 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4884 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4885
4886 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4887 that shadows RET. (Bug#16342)
4888
4889 2014-01-07 Chong Yidong <cyd@gnu.org>
4890
4891 * isearch.el (isearch-yank-char, isearch-yank-word)
4892 (isearch-yank-line): Doc fix.
4893
4894 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4895
4896 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4897 * emacs-lisp/elint.el (elint-find-builtins):
4898 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4899 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4900 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4901 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4902 * apropos.el (apropos-safe-documentation):
4903 * subr.el (symbol-file): Remove redundant fboundp.
4904 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4905
4906 2014-01-06 Bastien Guerry <bzg@gnu.org>
4907
4908 * hl-line.el (global-hl-line-overlay): Make a local variable.
4909 (global-hl-line-overlays): New variable to store all overlays.
4910 (global-hl-line-mode): Don't delete overlays from the current
4911 buffer when `global-hl-line-sticky-flag' is non-nil.
4912 (global-hl-line-highlight): Add new overlays to
4913 `global-hl-line-overlays'.
4914 (global-hl-line-unhighlight-all): New function to delete all
4915 overlays when turning off `global-hl-line-mode'.
4916 This fixes Bug#16183.
4917
4918 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4919
4920 * subr.el (set-transient-map): Fix nested case and docstring.
4921
4922 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4923
4924 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4925 `Texinfo' entry.
4926
4927 2014-01-06 Daniel Colascione <dancol@dancol.org>
4928
4929 Fix defun navigation in vc log view.
4930
4931 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4932 like `beginning-of-defun'.
4933 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4934 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4935 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4936 (log-view-extract-comment): Call `log-view-current-entry' directly
4937 instead of relying on broken `log-view-beginning-of-defun' behavior.
4938
4939 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4940
4941 Spelling fixes.
4942 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4943 * emacs-lisp/debug.el (cancel-debug-on-entry):
4944 * epg.el (epg-error-to-string):
4945 * files.el (recover-file):
4946 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4947 * mail/emacsbug.el (report-emacs-bug-hook):
4948 * mail/sendmail.el (mail-recover):
4949 * ses.el (ses-yank-resize):
4950 * term/ns-win.el (ns-print-buffer):
4951 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4952 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4953 All uses changed.
4954 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4955
4956 2014-01-06 Leo Liu <sdl.web@gmail.com>
4957
4958 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4959 to avoid shadowing global key. (Bug#16354)
4960
4961 2014-01-06 Daniel Colascione <dancol@dancol.org>
4962
4963 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4964 rst-mode.
4965
4966 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4967
4968 * window.el (balance-windows): Add mising t to fix Bug#16351.
4969
4970 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4971
4972 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4973 (bug#16285).
4974 (shr-insert): If we have a word that's longer than `shr-width',
4975 break after it anyway. Otherwise we'll do no breaking once we get
4976 such a long word.
4977
4978 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4979
4980 * net/eww.el (eww): Support single/double quote for search.
4981 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4982 (eww-history-quit): Delete and use quit-window.
4983 (eww-history-kill): Delete, because it doesn't work well and
4984 not necessary.
4985 (eww-history-mode-map): Delete some keys and add easy-menu.
4986
4987 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4988
4989 Fix misspelling of 'chinese' in rx (Bug#16237).
4990 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4991 chinese-two-byte.
4992
4993 Change subword regexps back to vars (Bug#16296).
4994 * progmodes/subword.el (subword-forward-regexp)
4995 (subword-backward-regexp): Change these back to variables.
4996
4997 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4998
4999 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
5000 syntax-begin-function (bug#16247).
5001
5002 2014-01-03 Chong Yidong <cyd@gnu.org>
5003
5004 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
5005 (advice--docstring): Delete variable.
5006 (advice--make-1): Leave the docstring empty.
5007 (advice-add): Use function-documentation for advised docstring.
5008
5009 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
5010 Ignore function-documentation property when getting documentation.
5011 (ad-activate-advised-definition): Use function-documentation
5012 generate the docstring.
5013 (ad-make-advised-definition): Don't call
5014 ad-make-advised-definition-docstring.
5015 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5016 Delete functions.
5017
5018 * progmodes/sql.el (sql-help): Use function-documentation instead
5019 of dynamic-docstring-function property. No need to autoload now.
5020 (sql--help-docstring): New variable.
5021 (sql--make-help-docstring): Use it.
5022
5023 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5024
5025 * ielm.el (ielm-tab): Retarget.
5026 (ielm-map): Use ielm-tab for tab.
5027 (ielm-complete-filename): Use comint-filename-completion.
5028 (ielm-complete-symbol): Remove.
5029 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
5030 remove ielm-tab from completion-at-point-functions (bug#16224).
5031
5032 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
5033 Beware signals raised by predicates (bug#16201).
5034
5035 2014-01-02 Richard Stallman <rms@gnu.org>
5036
5037 * dired-aux.el (dired-do-print): Handle printer-name.
5038
5039 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
5040 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
5041 (rmail-epa-decrypt): Turn off mime processing.
5042
5043 * mail/rmail.el (rmail-make-in-reply-to-field):
5044 Add parens in message-id.
5045
5046 * mail/rmail.el (rmail-get-coding-function): Variable.
5047 (rmail-get-coding-system): Use it.
5048
5049 2013-12-31 Eli Zaretskii <eliz@gnu.org>
5050
5051 * international/mule-conf.el: Unify the charset indian-is13194.
5052 (indian-is13194): Specify unify-map.
5053
5054 2013-12-31 Leo Liu <sdl.web@gmail.com>
5055
5056 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
5057
5058 2013-12-30 Daniel Colascione <dancol@dancol.org>
5059
5060 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
5061 of printing a useless when we resume from sleep.
5062
5063 * progmodes/sh-script.el
5064 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
5065 in indentation code. (Bug#16233)
5066
5067 2013-12-28 João Távora <joaotavora@gmail.com>
5068
5069 * elec-pair.el (electric-pair-post-self-insert-function):
5070 Don't open extra newlines at beginning of buffer. (Bug#16272)
5071
5072 2013-12-28 Eli Zaretskii <eliz@gnu.org>
5073
5074 * frame.el (window-system-for-display): Don't allow to create a
5075 GUI frame from a -nw session on MS-Windows. (Bug#14739)
5076
5077 2013-12-28 Glenn Morris <rgm@gnu.org>
5078
5079 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
5080 Update callers.
5081
5082 * apropos.el (apropos-match-face):
5083 * calculator.el (calculator-displayer):
5084 * dabbrev.el (dabbrev-search-these-buffers-only):
5085 * face-remap.el (buffer-face-mode-face):
5086 * simple.el (yank-handled-properties):
5087 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
5088 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
5089 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
5090 (hashcash-double-spend-database):
5091 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
5092 (ruby-deep-indent-paren-style):
5093 * textmodes/flyspell.el (flyspell-auto-correct-binding):
5094 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
5095 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
5096 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
5097 Specify custom types.
5098
5099 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
5100 * bookmark.el (bookmark-bmenu-use-header-line):
5101 * doc-view.el (doc-view-scale-internally):
5102 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
5103 * register.el (register-preview-delay):
5104 * net/shr.el (shr-bullet):
5105 * progmodes/cfengine.el (cfengine-cf-promises)
5106 (cfengine-parameters-indent):
5107 * progmodes/octave.el (inferior-octave-error-regexp-alist):
5108 * textmodes/reftex-vars.el (reftex-label-regexps):
5109 * vc/log-edit.el (log-edit-setup-add-author): Add version.
5110
5111 * net/tls.el (tls-certtool-program): Fix default value.
5112
5113 * desktop.el (desktop-restore-in-current-display):
5114 * newcomment.el (comment-empty-lines):
5115 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
5116 (idlwave-pad-keyword):
5117 * progmodes/tcl.el (tcl-tab-always-indent):
5118 * textmodes/reftex-vars.el (reftex-index-default-tag):
5119 * elec-pair.el (electric-pair-skip-whitespace):
5120 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
5121
5122 * emacs-lisp/authors.el (authors-ignored-files)
5123 (authors-valid-file-names, authors-renamed-files-alist): Additions.
5124
5125 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
5126
5127 * shell.el (shell-dynamic-complete-command): Doc fix.
5128 (shell--command-completion-data): Shell completion now matches
5129 executable filenames from the current buffer's directory, on
5130 systems in which this behavior is the default (windows-nt, ms-dos).
5131
5132 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5133
5134 * net/shr.el (shr-insert): Don't infloop if the width is zero.
5135
5136 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
5137
5138 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
5139 (bug#16251).
5140
5141 * electric.el: Move all electric-pair-* to elec-pair.el.
5142 * elec-pair.el: New file, split from electric.el.
5143
5144 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5145
5146 * net/shr.el (shr-find-fill-point): Don't try to fill if the
5147 indentation level is larger than the width, because that will
5148 infloop.
5149 (shr-insert): Fill repeatedly long texts, so that Japanese is
5150 formatted correctly (bug#16263).
5151 (shr-find-fill-point): Off by one error in comparison with the
5152 indentation.
5153
5154 2013-12-26 João Távora <joaotavora@gmail.com>
5155
5156 * electric.el (electric-pair-mode): More flexible engine for skip-
5157 and inhibit predicates, new options for pairing-related functionality.
5158 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
5159 if that keeps or improves their balance in buffers.
5160 (electric-pair-delete-adjacent-pairs): Delete the pair when
5161 backspacing over adjacent matched delimiters.
5162 (electric-pair-open-extra-newline): Open extra newline when
5163 inserting newlines between adjacent matched delimiters.
5164 (electric--sort-post-self-insertion-hook):
5165 Sort post-self-insert-hook according to priority values when
5166 minor-modes are activated.
5167 * simple.el (newline-and-indent): Call newline with interactive
5168 set to t.
5169 (blink-paren-post-self-insert-function): Set priority to 100.
5170 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5171 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
5172 comments. Locally set electric-pair-skip-whitespace to 'chomp and
5173 electric-pair-open-newline-between-pairs to nil.
5174
5175 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
5176
5177 * progmodes/python.el: Use lexical-binding.
5178 (python-nav-beginning-of-defun): Stop searching ASAP.
5179
5180 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
5181
5182 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
5183 Fix interactive spec. Doc fix. (Bug#15754)
5184
5185 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
5186
5187 * emacs-lisp/byte-run.el (eval-when-compile):
5188 * progmodes/cc-defs.el (cc-eval-when-compile):
5189 Fix edebug spec (bug#16184).
5190
5191 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5192
5193 * net/shr.el (shr-visit-file): Remove debugging function.
5194 (shr-insert): Don't infloop if we can't find a good place to break
5195 the line (bug#16256).
5196
5197 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
5198
5199 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
5200 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
5201 python-nav-lisp-forward-sexp-safe.
5202 (python-nav--forward-sexp): New argument SAFE allows switching
5203 forward sexp movement behavior for parens.
5204 (python-nav-forward-sexp): Throw errors on unterminated parens
5205 (Bug#16191).
5206 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
5207 (python-nav-backward-sexp-safe): New functions.
5208 (python-shell-buffer-substring):
5209 Use `python-nav-forward-sexp-safe'.
5210
5211 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5212
5213 * net/shr.el (shr-find-fill-point): Don't break lines before a
5214 quotation mark.
5215 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
5216 (shr-find-fill-point): Remove the special checks for the quotation
5217 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
5218
5219 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5220
5221 * net/eww.el (eww-form-textarea): Use a different face for
5222 textareas than text input since they have different keymaps
5223 (bug#16142).
5224
5225 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
5226
5227 * progmodes/python.el (python-nav-beginning-of-statement):
5228 Speed up (Bug#15295).
5229
5230 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5231
5232 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
5233 the window configuration.
5234
5235 2013-12-24 Eli Zaretskii <eliz@gnu.org>
5236
5237 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
5238 we run on MS-Windows or MS-DOS.
5239
5240 2013-12-24 Martin Rudalics <rudalics@gmx.at>
5241
5242 * window.el (balance-windows-area): Call window-size instead of
5243 window-height and window-width. Bug#16241.
5244
5245 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5246
5247 * net/eww.el (eww-bookmark-quit): Remove.
5248 (eww-bookmark-browse): Restore the window configuration when you
5249 choose a bookmark (bug#16144).
5250
5251 2013-12-24 Daniel Colascione <dancol@dancol.org>
5252
5253 * icomplete.el: Remove redundant :group arguments to `defcustom'
5254 throughout.
5255 (icomplete-show-matches-on-no-input): New customizable variable.
5256 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
5257 we have something to show.
5258 (icomplete-exhibit): Compute completions even if we have no user input.
5259
5260 2013-12-23 Daniel Colascione <dancol@dancol.org>
5261
5262 * icomplete.el: Move `provide' to end of file.
5263
5264 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
5265
5266 * net/gnutls.el (gnutls-verify-error): Add version tag.
5267
5268 2013-12-23 Chong Yidong <cyd@gnu.org>
5269
5270 * subr.el (set-transient-map): Rename from
5271 set-temporary-overlay-map. Doc fix.
5272
5273 * face-remap.el (text-scale-adjust):
5274 * indent.el (indent-rigidly):
5275 * kmacro.el (kmacro-call-macro):
5276 * minibuffer.el (minibuffer-force-complete):
5277 * repeat.el (repeat):
5278 * simple.el (universal-argument--mode):
5279 * calendar/todo-mode.el (todo-insert-item--next-param):
5280 * progmodes/f90.el (f90-abbrev-start): Callers changed.
5281
5282 * indent.el (indent-rigidly): Use substitute-command-keys.
5283
5284 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5285
5286 * net/eww.el (eww-tag-select): Add text-property to jump to next
5287 select field.
5288 (eww): Add non-supported ftp error.
5289
5290 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5291
5292 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
5293 comments. Handle electric indent after typing `?' and `!'.
5294
5295 2013-12-22 Chong Yidong <cyd@gnu.org>
5296
5297 * faces.el (face-spec-recalc): If the theme specs are not
5298 applicable to a frame, fall back on the defface spec.
5299 This prevents themes from obliterating faces on low-color terminals.
5300
5301 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5302
5303 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5304 after `{'. We need it after block openers, and it doesn't seem
5305 to hurt after hash openers.
5306
5307 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5308
5309 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5310 extracted from `ruby-smie-rules'.
5311 (ruby--electric-indent-chars): New variable.
5312 (ruby--electric-indent-p): New function.
5313 (ruby-mode): Use `electric-indent-functions' instead of
5314 `electric-indent-chars'.
5315
5316 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5317
5318 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5319 docstring.
5320 (ruby-smie-rules): Indent plus one level after `=>'.
5321
5322 2013-12-21 Richard Stallman <rms@gnu.org>
5323
5324 * simple.el (newline): Doc fix.
5325
5326 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5327
5328 * net/eww.el (eww-list-histories, eww-list-histories)
5329 (eww-history-browse, eww-history-quit, eww-history-kill)
5330 (eww-history-mode-map, eww-history-mode): New command and
5331 functions to list browser histories.
5332 (eww-form-text): Support text form with disabled
5333 and readonly attributes.
5334 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5335
5336 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5337
5338 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5339 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5340 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5341 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5342 Use `user-error'.
5343 (eww-bookmark-mode-map): Add menu.
5344 (eww-render, eww-mode): Use `setq-local'.
5345 (eww-tool-bar-map): New variable.
5346 (eww-mode): Set `tool-bar-map'.
5347 (eww-view-source): Check for `html-mode' with `fboundp'.
5348
5349 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5350
5351 * net/shr.el (shr--extract-best-source): Don't bug out on audio
5352 elements with text inside. Also remove debugging.
5353
5354 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
5355
5356 * cus-start.el (all): Add ns-use-srgb-colorspace.
5357
5358 2013-12-21 Chong Yidong <cyd@gnu.org>
5359
5360 * custom.el (custom-theme-recalc-face): Do nothing if the face is
5361 undefined. Thus, theme settings for undefined faces do not take
5362 effect until the faces are defined with defface, the same as with
5363 theme variables.
5364
5365 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5366 (face-spec-reset-face): Don't assign extra properties in temacs.
5367 (face-spec-recalc): Apply X resources too.
5368
5369 2013-12-21 Chong Yidong <cyd@gnu.org>
5370
5371 * faces.el (face-spec-set):
5372 * cus-face.el (custom-theme-set-faces, custom-set-faces):
5373 * custom.el (defface): Doc fixes (Bug#16203).
5374
5375 * indent.el (indent-rigidly-map): Add docstring, and move commands
5376 into named functions.
5377 (indent-rigidly-left, indent-rigidly-right)
5378 (indent-rigidly-left-to-tab-stop)
5379 (indent-rigidly-right-to-tab-stop): New functions. Decide on
5380 indentation direction based on bidi direction, and accumulate
5381 sequential commands in a single undo boundary.
5382 (indent-rigidly--pop-undo): New utility function.
5383
5384 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
5385
5386 * faces.el (read-face-name): Require crm.el when using crm-separator.
5387
5388 2013-12-20 Daniel Colascione <dancol@dancol.org>
5389
5390 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5391 so that we don't reflow comments into the shebang line.
5392
5393 2013-12-20 Juri Linkov <juri@jurta.org>
5394
5395 * saveplace.el (save-place-to-alist): Add `dired-filename' as
5396 a position when `dired-directory' is non-nil. Check integer
5397 positions with `integerp'.
5398 (toggle-save-place, save-places-to-alist): Add check for
5399 `dired-directory'.
5400 (save-place-find-file-hook): Check integer positions with
5401 `integerp'.
5402 (save-place-dired-hook): Use `dired-goto-file' when
5403 `dired-filename' is found in the assoc list. Check integer
5404 positions with `integerp'.
5405 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5406
5407 * dired.el (dired-initial-position-hook): Rename back from
5408 `dired-initial-point-hook'.
5409 (dired-initial-position): Rename `dired-initial-point-hook' to
5410 `dired-initial-position-hook'.
5411 (dired-file-name-at-point): Doc fix. (Bug#15329)
5412
5413 2013-12-20 Juri Linkov <juri@jurta.org>
5414
5415 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5416 (read-regexp-suggestions): New function.
5417 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5418 Use `read-regexp-suggestions'. Add non-empty default to history
5419 for empty input.
5420 (occur-read-regexp-defaults-function): Remove function.
5421 (occur-read-primary-args): Use `regexp-history-last' instead of
5422 `occur-read-regexp-defaults-function'.
5423
5424 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5425 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5426 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5427 `hi-lock-read-regexp-defaults-function'. Doc fix.
5428 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5429 with `find-tag-default-as-symbol-regexp'. Doc fix.
5430 (hi-lock-read-regexp-defaults): Remove function.
5431 (hi-lock-regexp-okay): Add check for null.
5432
5433 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5434 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5435
5436 * subr.el (find-tag-default-as-symbol-regexp): New function.
5437 (find-tag-default-as-regexp): Move symbol regexp formatting to
5438 `find-tag-default-as-symbol-regexp'.
5439
5440 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5441
5442 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5443 (Bug#14179)
5444
5445 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5446
5447 * calendar/todo-mode.el: New implementation of item insertion
5448 commands and key bindings.
5449 (todo-key-prompt): New face.
5450 (todo-insert-item): New command.
5451 (todo-insert-item--parameters): New defconst, replacing defvar
5452 todo-insertion-commands-args-genlist.
5453 (todo-insert-item--param-key-alist): New defconst, replacing
5454 defvar todo-insertion-commands-arg-key-list.
5455 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5456 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5457 (todo-insert-item--next-param): New functions.
5458 (todo-insert-item--args, todo-insert-item--argleft)
5459 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5460 New variables.
5461 (todo-key-bindings-t): Change binding of "i" from
5462 todo-insertion-map to todo-insert-item.
5463 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5464 (todo-insertion-command-name, todo-insertion-commands-names)
5465 (todo-define-insertion-command, todo-insertion-commands)
5466 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5467
5468 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5469
5470 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5471 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5472 eval-when-compile.
5473 (todo-move-category): Allow choosing a non-existing todo file to
5474 move the category to, and create that file.
5475 (todo-default-priority): New user option.
5476 (todo-set-item-priority): Use it.
5477 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5478 (desktop-restore-file-buffer): Declare.
5479 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5480 (todo-modes-set-2): Locally set desktop-save-buffer to
5481 todo-desktop-save-buffer.
5482 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5483 (auto-mode-alist): Add autoload cookie.
5484
5485 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5486
5487 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5488 helpers.el was a poor choice of name.
5489 (string-remove-prefix): New function.
5490 (string-remove-suffix): New function.
5491
5492 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5493
5494 Fix assignment for new window total sizes.
5495 * window.el (window--pixel-to-size): Remove function.
5496 (window--pixel-to-total-1, window--pixel-to-total):
5497 Fix calculation of new total sizes.
5498
5499 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5500
5501 * comint.el (comint-output-filter): Fix rear-nonsticky property
5502 placement (Bug#16010).
5503
5504 2013-12-20 Chong Yidong <cyd@gnu.org>
5505
5506 * faces.el (read-color): Minor fix for completion function.
5507
5508 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5509
5510 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5511 New option. (Bug#16182)
5512 (ruby-smie--indent-to-stmt-p): Use it.
5513 (ruby-smie-rules): Revert the logic in the handling of `when'.
5514 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5515 (ruby-deep-arglist, ruby-deep-indent-paren)
5516 (ruby-deep-indent-paren-style): Update docstrings to note that the
5517 vars don't have any effect with SMIE.
5518
5519 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5520
5521 * calc/calc.el (calc-enter, calc-pop): Use the variable
5522 `calc-context-sensitive-enter'.
5523
5524 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5525
5526 * net/shr.el (shr-insert): Protect against infloops in degenerate
5527 tables.
5528
5529 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5530
5531 * progmodes/octave.el (octave): Add link to manual and octave
5532 homepage.
5533 (octave-mode-menu): Link to octave-mode manual.
5534
5535 2013-12-20 Leo Liu <sdl.web@gmail.com>
5536
5537 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5538 insertion using skeleton-end-newline. (Bug#16138)
5539
5540 2013-12-20 Juri Linkov <juri@jurta.org>
5541
5542 * replace.el (occur-engine): Use `add-face-text-property'
5543 to add the face property to matches and titles. (Bug#14645)
5544
5545 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5546 the palette of other hi-lock colors.
5547 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5548
5549 2013-12-19 Juri Linkov <juri@jurta.org>
5550
5551 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5552 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5553 (minibuffer-history-symbol): Move variable declaration closer to
5554 its usage.
5555
5556 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5557 (Bug#14785)
5558
5559 2013-12-19 Juri Linkov <juri@jurta.org>
5560
5561 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5562 New function.
5563 (log-edit-hook): Add it to :options. (Bug#16170)
5564
5565 2013-12-19 Juri Linkov <juri@jurta.org>
5566
5567 * simple.el (eval-expression-print-format): Don't check for
5568 command names and the last command. Always display additional
5569 formats of the integer result in the echo area, and insert them
5570 to the current buffer only with a zero prefix arg.
5571 Display character when char-displayable-p is non-nil.
5572 (eval-expression): With a zero prefix arg, set `print-length' and
5573 `print-level' to nil, and insert the integer values from
5574 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5575
5576 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5577 `eval-last-sexp-arg-internal'. Doc fix.
5578 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5579 `eval-last-sexp-print-value'. Doc fix.
5580 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5581 Set `print-length' and `print-level' to nil when arg is zero.
5582 (eval-last-sexp): Doc fix.
5583 (eval-defun-2): Print the integer values from
5584 `eval-expression-print-format' at the end.
5585
5586 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5587 values from `eval-expression-print-format' at the end.
5588
5589 * ielm.el (ielm-eval-input): Print the integer
5590 values from `eval-expression-print-format' at the end.
5591
5592 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5593
5594 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5595 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5596
5597 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5598
5599 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5600 (hl-line-highlight, global-hl-line-highlight): Use it.
5601 (hl-line-overlay): Use defvar-local.
5602
5603 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5604
5605 * term/ns-win.el: Require dnd.
5606 (global-map): Remove drag items.
5607 (ns-insert-text, ns-set-foreground-at-mouse)
5608 (ns-set-background-at-mouse):
5609 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5610 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5611 New functions.
5612
5613 2013-12-19 Glenn Morris <rgm@gnu.org>
5614
5615 * emacs-lisp/ert.el (ert-select-tests):
5616 Fix string/symbol mixup. (Bug#16121)
5617
5618 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5619
5620 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5621 keywords to their parent.
5622
5623 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5624
5625 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5626 first arg to be a string (fixed dead code), or an operator symbol.
5627 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5628 operator symbols.
5629 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5630 did nothing. Don't respond to `(:after ".")', it will be called
5631 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5632 change anything. Only return indentation for binary operators
5633 when they are hanging. De-dent opening paren when its parent is
5634 `.', otherwise it looks bad when the dot is not at bol or eol
5635 (bug#16182).
5636
5637 2013-12-19 Juri Linkov <juri@jurta.org>
5638
5639 * replace.el (query-replace-read-args): Split a non-negative arg
5640 and a negative arg into separate elements.
5641 (query-replace, query-replace-regexp, replace-string)
5642 (replace-regexp): Add arg `backward'. Doc fix.
5643 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5644 move point to the beginning of the match.
5645 (replace-search, replace-highlight): Use new arg `backward'
5646 to set the value of `isearch-forward'.
5647 (perform-replace): Add arg `backward' and use it to perform
5648 replacement backward. (Bug#14979)
5649
5650 * isearch.el (isearch-query-replace): Use a negative prefix arg
5651 to call `perform-replace' with a non-nil arg `backward'.
5652
5653 2013-12-18 Juri Linkov <juri@jurta.org>
5654
5655 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5656 to the default list. Move `log-edit-show-files' to the end.
5657 Add more available functions to options.
5658 (log-edit): Move default specific settings to
5659 `log-edit-insert-message-template'. Don't move point.
5660 (log-edit-insert-message-template): New function.
5661 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5662 (Bug#16170)
5663
5664 2013-12-18 Juri Linkov <juri@jurta.org>
5665
5666 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5667 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5668
5669 2013-12-18 Leo Liu <sdl.web@gmail.com>
5670
5671 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5672 (Bug#16186)
5673
5674 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5675
5676 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5677 formats for displaying file sizes when the -s switch is given.
5678 Instead, compute a separate format for displaying the size in
5679 blocks, which is displayed in addition to the "regular" size.
5680 When -h is given in addition to -s, produce size in blocks in
5681 human-readable form as well. (Bug#16179)
5682
5683 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5684
5685 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5686 Reference tables with ~\ref{...} instead of only \ref{...}.
5687
5688 2013-12-18 Chong Yidong <cyd@gnu.org>
5689
5690 * cus-edit.el (custom-magic-alist): Fix "themed" description
5691 (Bug#14348).
5692
5693 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5694 is non-nil, do not create a new entry in the symbol's theme-value
5695 or theme-face property; update theme-settings only (Bug#14664).
5696 (custom-available-themes): Doc fix.
5697
5698 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5699 (Bug#15674).
5700
5701 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5702
5703 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5704
5705 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5706 (Bug#13914).
5707
5708 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5709
5710 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5711
5712 2013-12-18 Glenn Morris <rgm@gnu.org>
5713
5714 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5715 * cus-start.el (load-prefer-newer): New option.
5716
5717 2013-12-18 Le Wang <l26wang@gmail.com>
5718
5719 * comint.el (comint-previous-matching-input-from-input):
5720 Retain point (Bug#13404).
5721
5722 2013-12-18 Chong Yidong <cyd@gnu.org>
5723
5724 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5725
5726 2013-12-18 Glenn Morris <rgm@gnu.org>
5727
5728 * mail/emacsbug.el (report-emacs-bug):
5729 Only mention enable-multibyte-characters if non-standard.
5730
5731 2013-12-17 Juri Linkov <juri@jurta.org>
5732
5733 * arc-mode.el (archive-extract-by-file): Check if directory exists
5734 before deletion to not show irrelevant errors if it doesn't exist.
5735
5736 2013-12-17 Juri Linkov <juri@jurta.org>
5737
5738 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5739 (Bug#14751)
5740
5741 * net/eww.el (browse-web): Add alias to `eww'.
5742 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5743 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5744
5745 * net/browse-url.el (browse-url-browser-function): Move `eww'
5746 closer to similar functions.
5747
5748 * startup.el (fancy-startup-screen, fancy-about-screen):
5749 Set browse-url-browser-function to eww-browse-url locally.
5750 (Bug#14751)
5751
5752 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5753
5754 * window.el (window--pixel-to-total): Remove unused `mini' var.
5755 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5756 (split-window): Remove unused `new' var.
5757 (window--display-buffer): Remove unused `frame' and `delta' vars.
5758 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5759 and display-width'.
5760
5761 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5762
5763 * dired.el (dired-mark-pop-up):
5764 * register.el (register-preview): Don't bind
5765 split-height-threshold here since it's now done in
5766 display-buffer-below-selected.
5767
5768 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5769
5770 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5771 xterm-rgb-convert-to-16bit.
5772 (rxvt-register-default-colors): Standardize with
5773 xterm-register-default-colors (Bug#14078).
5774
5775 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5776
5777 * simple.el (kill-region): Pass mark first, then point, so that
5778 kill-append works right (Bug#12819).
5779 (copy-region-as-kill, kill-ring-save): Likewise.
5780
5781 2013-12-17 Leo Liu <sdl.web@gmail.com>
5782
5783 * net/rcirc.el (rcirc-add-face):
5784 * eshell/em-prompt.el (eshell-emit-prompt):
5785 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5786 (Bug#16167)
5787
5788 2013-12-17 Chong Yidong <cyd@gnu.org>
5789
5790 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5791 Suggested by Xue Fuqiao.
5792
5793 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5794
5795 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5796
5797 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5798
5799 * net/shr.el (shr-insert-document): Remove unused var
5800 `shr-preliminary-table-render'.
5801 (shr-rescale-image): Remove unused arg `force'.
5802 (shr-put-image): Update calls accordingly.
5803 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5804
5805 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5806
5807 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5808 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5809 :close-all, to see which indentation method to use (Bug#16116).
5810 (smie-rules-function): Document the method :close-all.
5811
5812 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5813
5814 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5815
5816 * net/eww.el (eww-display-html): If we can't find the anchor we're
5817 looking for, then go to point-min.
5818
5819 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5820
5821 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5822 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5823 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5824 Expand dir too, in case it's relative.
5825
5826 2013-12-16 Juri Linkov <juri@jurta.org>
5827
5828 * desktop.el (desktop-auto-save-timeout): Change default to
5829 `auto-save-timeout'. Doc fix.
5830 (desktop-save): Skip the timestamp in desktop-saved-frameset
5831 when checking for auto-save changes.
5832 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5833 `desktop-auto-save' is called repeatedly by the idle timer.
5834 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5835 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5836 (Bug#15331)
5837
5838 2013-12-16 Juri Linkov <juri@jurta.org>
5839
5840 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5841 (Bug#16035)
5842 (isearch-pre-command-hook): Check `this-command' for symbolp.
5843
5844 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5845
5846 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5847
5848 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5849
5850 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5851 (cfengine3--current-function): Bring in the current-function
5852 functionality from `cfengine3--current-word'.
5853 (cfengine3-completion-function): Bring in the
5854 bounds-of-current-word functionality from
5855 `cfengine3--current-word'.
5856
5857 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5858
5859 * window.el (display-buffer-below-selected):
5860 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5861
5862 2013-12-16 Leo Liu <sdl.web@gmail.com>
5863
5864 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5865 Remove NOMSG arg and all uses changed.
5866
5867 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5868
5869 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5870 (cua--deactivate-rectangle): Don't deactivate the mark.
5871 (cua-set-rectangle-mark): Don't set mark-active since
5872 cua--activate-rectangle already does it for us.
5873 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5874 non-rectangular region.
5875
5876 * emulation/cua-base.el (cua-repeat-replace-region):
5877 Use with-current-buffer.
5878
5879 * net/gnutls.el: Use cl-lib.
5880 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5881
5882 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5883
5884 * emacs-lisp/package.el (package-built-in-p): Support both
5885 built-in and the package.el converted package descriptions.
5886 (package-show-package-list): Allow keywords.
5887 (package-keyword-button-action): Use it instead of
5888 `finder-list-matches'.
5889 (package-menu-filter-interactive): Interactive filtering (by
5890 keyword) function.
5891 (package-menu--generate): Support keywords and change keymappings
5892 and headers when they are given.
5893 (package--has-keyword-p): Helper function.
5894 (package-menu--refresh): Use it.
5895 (package--mapc): Helper function.
5896 (package-all-keywords): Use it.
5897 (package-menu-mode-map): Set up menu items and keybindings to
5898 provide a filtering UI.
5899
5900 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5901
5902 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5903 the behavior when a certificate fails validation. Defaults to
5904 old behavior: never abort, just warn.
5905 (gnutls-negotiate): Use it.
5906
5907 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5908
5909 * window.el (display-buffer-below-selected): Never split window
5910 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5911
5912 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5913
5914 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5915 (package-buffer-info): Use it (bug#15108).
5916
5917 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5918
5919 * icomplete.el (icomplete-completions): Make sure the prefix is already
5920 displayed elsewhere before hiding it (bug#16219).
5921
5922 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5923
5924 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5925 open-paren tokens when preceded by a open-paren, too.
5926 (ruby-smie-rules): Handle virtual indentation after open-paren
5927 tokens specially. If there is code between it and eol, return the
5928 column where is starts (Bug#16118).
5929
5930 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5931
5932 * progmodes/cfengine.el: Fix `add-hook' doc.
5933 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5934 (cfengine3--current-word): Fix parameters.
5935 (cfengine3-make-syntax-cache): Simplify further.
5936 (cfengine3-completion-function, cfengine3--current-function):
5937 Use `assq' for symbols.
5938 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5939
5940 2013-12-13 Glenn Morris <rgm@gnu.org>
5941
5942 * loadup.el (load-path): Warn if site-load or site-init changes it.
5943 No more need to reset it when bootstrapping.
5944
5945 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5946
5947 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5948 locations for cf-promises.
5949 (cfengine-mode-syntax-functions-regex): New caching variable.
5950 (cfengine3-fallback-syntax): Fallback syntax for cases where
5951 cf-promises doesn't run.
5952 (cfengine3--current-word): Reimplement using
5953 `cfengine-mode-syntax-functions-regex'.
5954 (cfengine3-completion-function, cfengine3--current-function):
5955 Use `cfengine3-make-syntax-cache' directly.
5956 (cfengine3-clear-syntax-cache): New function.
5957 (cfengine3-make-syntax-cache): Simplify and create
5958 `cfengine-mode-syntax-functions-regex' on demand.
5959 (cfengine3-format-function-docstring): Don't call
5960 `cfengine3-make-syntax-cache' explicitly.
5961
5962 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5963
5964 Fix windmove-find-other-window broken after pixelwise resizing
5965 (Bug#16017).
5966 * windmove.el (windmove-other-window-loc): Revert change from
5967 2013-12-04.
5968 (windmove-find-other-window): Call window-in-direction.
5969 * window.el (window-in-direction): New arguments SIGN, WRAP and
5970 MINI to emulate original windmove-find-other-window behavior.
5971
5972 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5973
5974 * simple.el (blink-matching--overlay): New variable.
5975 (blink-matching-open): Instead of moving point, highlight the
5976 matching paren with an overlay
5977 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5978
5979 * faces.el (paren-showing-faces, show-paren-match)
5980 (show-paren-mismatch): Move from paren.el.
5981
5982 2013-12-13 Leo Liu <sdl.web@gmail.com>
5983
5984 * indent.el (indent-region): Disable progress reporter in
5985 minibuffer. (Bug#16108)
5986
5987 * bindings.el (visual-order-cursor-movement): Fix version.
5988
5989 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5990
5991 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5992 Also match after beginning of line.
5993 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5994 files. Thanks to Russell Sim. (Bug#15378)
5995
5996 2013-12-13 Juri Linkov <juri@jurta.org>
5997
5998 * simple.el <Keypad support>: Remove key bindings duplicated
5999 with bindings.el. (Bug#14397)
6000
6001 2013-12-13 Juri Linkov <juri@jurta.org>
6002
6003 * comint.el (comint-mode-map): Replace `delete-char' with
6004 `delete-forward-char'. (Bug#16109)
6005
6006 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6007
6008 * progmodes/python.el (python-indent-calculate-indentation):
6009 Fix de-denters cornercase. (Bug#15731)
6010
6011 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
6012
6013 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
6014 (advice--make): Pay attention to `depth'.
6015 (advice--make-1): Don't autoload commands eagerly.
6016 * emacs-lisp/elp.el (elp-instrument-function):
6017 * emacs-lisp/trace.el (trace-function-internal):
6018 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
6019
6020 * iswitchb.el (iswitchb-mode): Don't belittle ido.
6021
6022 2013-12-12 Eli Zaretskii <eliz@gnu.org>
6023
6024 * term/w32-win.el (w32-handle-dropped-file):
6025 * startup.el (normal-top-level):
6026 * net/browse-url.el (browse-url-file-url):
6027 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
6028 decode file names using 'utf-8' rather than
6029 file-name-coding-system.
6030
6031 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6032
6033 * progmodes/python.el (python-indent-context)
6034 (python-indent-calculate-indentation): Fix auto-identation
6035 behavior for comment blocks. (Bug#15916)
6036
6037 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6038
6039 * progmodes/python.el (python-indent-calculate-indentation):
6040 When determining indentation, don't treat "return", "pass", etc., as
6041 operators when they are just string constituents. (Bug#15812)
6042
6043 2013-12-12 Juri Linkov <juri@jurta.org>
6044
6045 * uniquify.el (uniquify-buffer-name-style): Change default to
6046 `post-forward-angle-brackets'.
6047
6048 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
6049 `uniquify'. Change default to `post-forward-angle-brackets'.
6050
6051 2013-12-11 Glenn Morris <rgm@gnu.org>
6052
6053 * emacs-lisp/package.el (finder-list-matches):
6054 Autoload rather than falsely declaring.
6055
6056 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
6057
6058 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
6059 (eww-mode-map): Use them.
6060
6061 2013-12-11 Martin Rudalics <rudalics@gmx.at>
6062
6063 * window.el (display-buffer-in-side-window): Fix doc-string
6064 (Bug#16115).
6065
6066 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
6067
6068 * vc/vc-git.el: Silence byte-compiler warnings.
6069 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
6070 (log-edit-set-header): Declare.
6071
6072 2013-12-11 Eli Zaretskii <eliz@gnu.org>
6073
6074 * Makefile.in (custom-deps, finder-data): Run output file names
6075 through unmsys--file-name. (Bug#16099)
6076
6077 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
6078
6079 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
6080 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
6081
6082 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
6083 instead of deleting the selection "by hand" (bug#16098).
6084 Rely on insert-for-yank to yank rectangles.
6085 (cua-highlight-region-shift-only): Mark obsolete.
6086 (cua-mode): Don't enable/disable transient-mark-mode,
6087 shift-select-mode (cua-mode works both with and without them), and
6088 pc-selection-mode (obsolete).
6089 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
6090 (cua--deactivate-rectangle): Deactivate it.
6091
6092 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
6093 (delete-selection-helper): Make sure yank starts at the top of the
6094 deleted region.
6095 (minibuffer-keyboard-quit): Use region-active-p.
6096
6097 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
6098
6099 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
6100 to `delete' (bug#16109).
6101
6102 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6103
6104 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
6105 info manual and show keybindings and set `:group' keyword.
6106
6107 2013-12-11 Juri Linkov <juri@jurta.org>
6108
6109 * delsel.el (delete-active-region): Let-bind `this-command'
6110 to prevent `kill-region' from changing its original value.
6111 (delete-selection-helper): Handle `overwrite-mode' for the type
6112 `kill' exactly the same way as for the type `t'.
6113 (insert-char, quoted-insert, reindent-then-newline-and-indent):
6114 Support more commands. (Bug#13312)
6115
6116 2013-12-11 Juri Linkov <juri@jurta.org>
6117
6118 * bindings.el: Map kp keys to non-kp keys systematically
6119 with basic modifiers control, meta and shift. (Bug#14397)
6120
6121 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6122
6123 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
6124 "Close browser" menu items. Fix wrong function of "List
6125 bookmarks".
6126
6127 2013-12-11 Juri Linkov <juri@jurta.org>
6128
6129 * misearch.el (multi-isearch-buffers): Set the value of
6130 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6131 arg of isearch-forward to t.
6132 (multi-isearch-buffers-regexp): Set the value of
6133 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6134 arg of isearch-forward-regexp to t.
6135 (multi-isearch-files): Set the value of
6136 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6137 arg of isearch-forward to t.
6138 (multi-isearch-files-regexp): Set the value of
6139 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6140 arg of isearch-forward-regexp to t. (Bug#16035)
6141
6142 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
6143 arg of isearch-forward to t.
6144 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
6145 arg of isearch-forward-regexp to t.
6146 (dired-isearch-filter-filenames): Remove unnecessary check for
6147 `dired-isearch-filenames'.
6148
6149 * comint.el (comint-history-isearch-backward):
6150 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
6151 (comint-history-isearch-backward-regexp):
6152 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
6153
6154 2013-12-10 Eli Zaretskii <eliz@gnu.org>
6155
6156 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
6157 unmsys--file-name. (Bug#16099)
6158
6159 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
6160
6161 * emacs-lisp/package.el (package-keyword-button-action):
6162 Remove finder.el require dependency.
6163
6164 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
6165
6166 * emacs-lisp/package.el: Require finder.el.
6167 (describe-package-1): Add keyword buttons.
6168 (package-make-button): New convenience function.
6169 (package-keyword-button-action): Keyword button action using
6170 `finder-list-matches'.
6171
6172 2013-12-09 Eli Zaretskii <eliz@gnu.org>
6173
6174 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
6175 last commit.
6176
6177 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
6178
6179 * autorevert.el (auto-revert-notify-add-watch): Do not handle
6180 symlinked files.
6181
6182 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6183
6184 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6185 after the end of a percent literal.
6186
6187 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
6188
6189 * progmodes/ruby-mode.el (ruby-forward-string): Document.
6190 Handle caret-delimited strings (Bug#16079).
6191
6192 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6193
6194 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
6195 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
6196 `ruby-parse-partial' (Bug#16078).
6197
6198 2013-12-09 Leo Liu <sdl.web@gmail.com>
6199
6200 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
6201
6202 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
6203
6204 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
6205 (js-switch-indent-offset): New option.
6206 (js--proper-indentation): Use it. And handle the case when
6207 "default" is actually a key in an object literal.
6208 (js--same-line): New function.
6209 (js--multi-line-declaration-indentation): Use it.
6210 (js--indent-in-array-comp, js--array-comp-indentation):
6211 New functions.
6212 (js--proper-indentation): Use them, to handle array comprehension
6213 continuations.
6214
6215 2013-12-08 Leo Liu <sdl.web@gmail.com>
6216
6217 * progmodes/flymake.el (flymake-highlight-line): Re-write.
6218 (flymake-make-overlay): Remove arg MOUSE-FACE.
6219 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
6220
6221 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6222
6223 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
6224 New function.
6225 (redisplay-highlight-region-function): Use it.
6226
6227 * emulation/cua-base.el (cua--explicit-region-start)
6228 (cua--last-region-shifted): Remove.
6229 (cua--deactivate): Use deactivate-mark.
6230 (cua--pre-command-handler-1): Don't handle shift-selection.
6231 (cua--post-command-handler-1): Don't change transient-mark-mode.
6232 (cua--select-keymaps): Use region-active-p rather than
6233 cua--explicit-region-start or cua--last-region-shifted.
6234 (cua-mode): Enable shift-select-mode.
6235
6236 2013-12-08 Leo Liu <sdl.web@gmail.com>
6237
6238 * progmodes/flymake.el (flymake-popup-current-error-menu):
6239 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6240 (flymake-posn-at-point-as-event, flymake-popup-menu)
6241 (flymake-make-emacs-menu): Remove. (Bug#16077)
6242
6243 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6244
6245 * rect.el (rectangle-mark-mode): Activate mark even if
6246 transient-mark-mode is off (bug#16066).
6247 (rectangle--highlight-for-redisplay): Fix boundary condition when point
6248 is > mark and at bolp.
6249
6250 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
6251 (region-extract-function): Use it.
6252 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
6253 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
6254 Delete functions.
6255 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
6256 kill-ring-save, kill-region, delete-char, delete-forward-char.
6257 Ignore self-insert-iso.
6258
6259 * emulation/cua-gmrk.el (cua--init-global-mark):
6260 Ignore `self-insert-iso'.
6261
6262 * emulation/cua-base.el (cua--prefix-copy-handler)
6263 (cua--prefix-cut-handler): Rely on region-extract-function rather than
6264 checking cua--rectangle.
6265 (cua-delete-region): Use region-extract-function.
6266 (cua-replace-region): Delete function.
6267 (cua-copy-region, cua-cut-region): Obey region-extract-function.
6268 (cua--pre-command-handler-1): Don't do the delete-selection thing.
6269 (cua--self-insert-char-p): Ignore `self-insert-iso'.
6270 (cua--init-keymaps): Don't remap delete-selection commands.
6271 (cua-mode): Use delete-selection-mode instead of rolling our own
6272 (bug#16085).
6273
6274 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
6275 Obey region-extract-function.
6276
6277 Make registers and delete-selection-mode work on rectangles.
6278 * register.el (describe-register-1): Don't modify the register's value.
6279 (copy-to-register): Obey region-extract-function.
6280 * delsel.el (delete-active-region): Obey region-extract-function.
6281
6282 2013-12-08 Leo Liu <sdl.web@gmail.com>
6283
6284 * progmodes/flymake.el (flymake, flymake-error-bitmap)
6285 (flymake-warning-bitmap, flymake-fringe-indicator-position)
6286 (flymake-compilation-prevents-syntax-check)
6287 (flymake-start-syntax-check-on-newline)
6288 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
6289 (flymake-start-syntax-check-on-find-file, flymake-log-level)
6290 (flymake-xml-program, flymake-master-file-dirs)
6291 (flymake-master-file-count-limit)
6292 (flymake-allowed-file-name-masks): Relocate.
6293 (flymake-makehash, flymake-float-time)
6294 (flymake-replace-regexp-in-string, flymake-split-string)
6295 (flymake-get-temp-dir): Remove.
6296 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6297 (flymake-current-row, flymake-selected-frame)
6298 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6299 related functions. (Bug#16077)
6300
6301 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
6302
6303 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6304
6305 2013-12-07 Tassilo Horn <tsdh@gnu.org>
6306
6307 * help-fns.el (describe-function-1): Use new advice-* functions
6308 rather than old ad-* functions. Fix function type description and
6309 source links for advised functions and subrs.
6310
6311 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6312
6313 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
6314
6315 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
6316
6317 * progmodes/compile.el (compilation-start):
6318 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6319
6320 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6321 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
6322
6323 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6324
6325 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6326 Touch up the last change.
6327
6328 2013-12-06 Leo Liu <sdl.web@gmail.com>
6329
6330 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6331 (inferior-octave-startup): Always use "octave> " for prompt.
6332 (octave-goto-function-definition)
6333 (octave-sync-function-file-names)
6334 (octave-find-definition-default-filename): Remove redundant backquotes.
6335
6336 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6337
6338 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6339 syntax for `?'.
6340 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6341 where appropriate already.
6342 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6343 end of method names (Bug#15874).
6344
6345 2013-12-06 Juri Linkov <juri@jurta.org>
6346
6347 * isearch.el (isearch--saved-overriding-local-map):
6348 New internal variable.
6349 (isearch-mode): Set it to the initial value of
6350 `overriding-terminal-local-map'.
6351 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6352 with `isearch--saved-overriding-local-map'. (Bug#16035)
6353
6354 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6355
6356 * progmodes/octave.el (inferior-octave-completion-table):
6357 Turn back into function, use `completion-table-with-cache'
6358 (Bug#11906). Update all references.
6359
6360 * minibuffer.el (completion-table-with-cache): New function.
6361
6362 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
6363
6364 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6365
6366 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
6367
6368 * net/eww.el (eww-current-source): New variable to store page
6369 source.
6370 (eww-display-html, eww-mode, eww-save-history)
6371 (eww-restore-history): Use it.
6372 (eww-view-source): New command to view page source.
6373 Opportunistically uses `html-mode' to highlight the buffer.
6374 (eww-mode-map): Install it.
6375
6376 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
6377
6378 * net/dbus.el (dbus-unregister-service)
6379 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6380 Fix docstring.
6381 (dbus-unregister-service): Skip :serial entries in
6382 `dbus-registered-objects-table'.
6383 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6384
6385 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
6386
6387 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6388 around keywords with extra `split-string' argument.
6389
6390 2013-12-04 Martin Rudalics <rudalics@gmx.at>
6391
6392 * windmove.el (windmove-other-window-loc): Handle navigation
6393 between windows (excluding the minibuffer window - Bug#16017).
6394
6395 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
6396
6397 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6398 in D-Bus type syntax.
6399 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6400 preserve unibyte strings. (Bug#16048)
6401
6402 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6403
6404 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6405 Call force-mode-line-update is the proper buffer (bug#16042).
6406
6407 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
6408
6409 * vc/log-edit.el (log-edit-add-new-comment): Rename to
6410 `log-edit-remember-comment', make argument optional. Adjust all
6411 callers.
6412 (log-edit-mode): Add `log-edit-remember-comment' to
6413 `kill-buffer-hook' locally.
6414 (log-edit-kill-buffer): Don't remember comment explicitly since
6415 the buffer is killed anyway.
6416
6417 2013-12-04 Juri Linkov <juri@jurta.org>
6418
6419 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6420 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6421
6422 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
6423
6424 * notifications.el (notifications-close-notification): Call the
6425 D-Bus method with ID being a `:uint32'. (Bug#16030)
6426
6427 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6428
6429 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6430
6431 2013-12-03 Juri Linkov <juri@jurta.org>
6432
6433 * progmodes/compile.el (compilation-start): Rename window alist
6434 entry `no-display-ok' to `allow-no-window'.
6435
6436 * simple.el (shell-command): Add window alist entry
6437 `allow-no-window' to `display-buffer'.
6438 (async-shell-command): Doc fix.
6439
6440 * window.el (display-buffer-no-window): New action function.
6441 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6442
6443 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6444
6445 * vc/log-edit.el (log-edit-set-header): Extract from
6446 `log-edit-toggle-header'.
6447 (log-edit-extract-headers): Separate the summary, when extracted
6448 from header, from the rest of the message with an empty line.
6449
6450 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6451 line, if present, to the Summary header.
6452
6453 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6454
6455 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6456 in current-buffer (bug#16029).
6457
6458 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
6459
6460 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6461 (debugger-mode-map): Bind it.
6462 (debugger--backtrace-base): New function.
6463 (debugger-eval-expression): Use it.
6464 (debugger-frame-number): Skip local vars when present.
6465 (debugger--locals-visible-p, debugger--insert-locals)
6466 (debugger--show-locals, debugger--hide-locals): New functions.
6467
6468 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
6469
6470 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6471 "LC_ALL".
6472 (tramp-get-remote-locale): New defun.
6473 (tramp-open-connection-setup-interactive-shell): Use it.
6474
6475 2013-12-02 Leo Liu <sdl.web@gmail.com>
6476
6477 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6478
6479 * progmodes/sh-script.el (sh-shell-process):
6480 * progmodes/octave.el (inferior-octave-process-live-p):
6481 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6482 (gdb-inferior-io-sentinel):
6483 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6484
6485 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6486
6487 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6488 `save-selected-window' to `log-edit-hide-buf'. This makes
6489 `log-edit-show-files' idempotent.
6490 (log-edit-show-files): Mark the new window as dedicated.
6491
6492 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6493
6494 * vc/log-edit.el (log-edit-mode-map): Add binding for
6495 `log-edit-kill-biffer'.
6496 (log-edit-hide-buf): Add a FIXME comment.
6497 (log-edit-add-new-comment): New function, extracted from
6498 `log-edit-done'.
6499 (log-edit-done, log-edit-add-to-changelog): Use it.
6500 (log-edit-kill-buffer): New command.
6501
6502 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6503
6504 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6505 instead of killing the buffer.
6506
6507 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6508
6509 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6510
6511 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6512
6513 * net/eww.el (eww-form-checkbox-selected-symbol)
6514 (eww-form-checkbox-symbol): New customizable variable.
6515 (eww-form-checkbox, eww-toggle-checkbox):
6516 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6517
6518 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6519 (shr--get-media-pref, shr--extract-best-source): New function.
6520 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6521 no :src tag was specified.
6522
6523 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6524 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6525 Use \\` to match beginning of string instead of ^.
6526 (eww-browse-with-external-browser): Provide optional URL parameter.
6527 (eww-render): Set `eww-current-title' back to "".
6528
6529 * net/shr.el (shr-tag-video): Display content for video if no
6530 poster is available.
6531 (shr-tag-audio): Add support for <audio> tag.
6532
6533 * net/eww.el (eww-text-input-types): New const.
6534 (eww-process-text-input): Treat input types in
6535 `eww-text-input-types' as text.
6536
6537 * net/shr.el (shr-tag-table): Fix comment typo.
6538
6539 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6540
6541 * net/eww.el (eww-follow-link): New command to avoid reloading
6542 pages when we follow #target links (bug#15243).
6543 (eww-quit): Special mode buffers shouldn't query before exiting.
6544
6545 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6546
6547 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6548 forms.
6549
6550 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6551
6552 * net/eww.el (eww-restore-history): Update the window title after
6553 moving in the history.
6554 (eww-current-dom): New variable used to save the current DOM.
6555
6556 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6557
6558 * vc/log-edit.el (log-edit-mode-map): Add binding for
6559 `log-edit-beginning-of-line'.
6560 (log-edit-setup-add-author): New user option.
6561 (log-edit-beginning-of-line): New command.
6562 (log-edit): Move major mode call above the contents setup so that
6563 the local variable values are already applied.
6564 (log-edit): Only insert "Author: " when
6565 `log-edit-setup-add-author' is non-nil.
6566 (log-edit): When SETUP is non-nil, position point after ": "
6567 instead of point-min.
6568
6569 2013-12-01 Glenn Morris <rgm@gnu.org>
6570
6571 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6572
6573 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6574
6575 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6576 redisplay to make sure the initial frame gets a chance to become
6577 visible. (Bug#16014)
6578
6579 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6580
6581 Support resizing frames and windows pixelwise.
6582 * cus-start.el (frame-resize-pixelwise)
6583 (window-resize-pixelwise): New entries.
6584 * emacs-lisp/debug.el (debug): Use window-total-height instead
6585 of window-total-size.
6586 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6587 * help.el (describe-bindings-internal): Use help-buffer as
6588 argument for with-help-window.
6589 (temp-buffer-max-width): New option.
6590 (resize-temp-buffer-window, help-window-setup)
6591 (with-help-window): Rewrite.
6592 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6593 dragging dividers.
6594 * window.el (frame-char-size, window-min-pixel-height)
6595 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6596 (window-min-pixel-width, window-safe-min-pixel-size)
6597 (window-combination-p, window-safe-min-size)
6598 (window-resizable-p, window--size-to-pixel)
6599 (window--pixel-to-size, window--resize-apply-p): New functions.
6600 (window-safe-min-height): Fix doc-string.
6601 (window-size, window-min-size, window--min-size-1)
6602 (window-sizable, window-sizable-p, window--min-delta-1)
6603 (window-min-delta, window--max-delta-1, window-max-delta)
6604 (window--resizable, window--resizable-p, window-resizable)
6605 (window-full-height-p, window-full-width-p, window-at-side-p)
6606 (window--in-direction-2, window-in-direction)
6607 (window--resize-reset-1, window--resize-mini-window)
6608 (window-resize, window-resize-no-error)
6609 (window--resize-child-windows-normal)
6610 (window--resize-child-windows, window--resize-siblings)
6611 (window--resize-this-window, window--resize-root-window)
6612 (window--resize-root-window-vertically)
6613 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6614 (maximize-window, minimize-window, delete-window)
6615 (quit-restore-window, window-split-min-size, split-window)
6616 (balance-windows-2, balance-windows)
6617 (balance-windows-area-adjust, balance-windows-area)
6618 (window--state-get-1, window-state-get, window--state-put-1)
6619 (window--state-put-2, window-state-put)
6620 (display-buffer-record-window, window--display-buffer):
6621 Make functions handle pixelwise sizing of windows.
6622 (display-buffer--action-function-custom-type)
6623 (display-buffer-fallback-action):
6624 Add display-buffer-in-previous-window.
6625 (display-buffer-use-some-window): Resize window to height it had
6626 before.
6627 (fit-window-to-buffer-horizontally): New option.
6628 (fit-frame-to-buffer): Describe new values.
6629 (fit-frame-to-buffer-bottom-margin): Replace with
6630 fit-frame-to-buffer-margins.
6631 (window--sanitize-margin): New function.
6632 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6633 using window-text-pixel-size.
6634
6635 2013-11-30 Glenn Morris <rgm@gnu.org>
6636
6637 * emacs-lisp/bytecomp.el (byte-compile-form):
6638 Make the `interactive-only' warning like the `obsolete' one.
6639 * comint.el (comint-run):
6640 * files.el (insert-file-literally, insert-file):
6641 * replace.el (replace-string, replace-regexp):
6642 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6643 (goto-line, insert-buffer, next-line, previous-line):
6644 Tweak `interactive-only' spec.
6645
6646 Stop keeping (most) generated cedet grammar files in the repository.
6647 * Makefile.in (semantic): New.
6648 (compile-main): Depend on semantic.
6649
6650 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6651
6652 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6653 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6654
6655 * uniquify.el (uniquify-buffer-name-style): Change default.
6656
6657 * loadup.el: Preload "uniquify".
6658
6659 * time.el (display-time-update): Update all mode lines (bug#15999).
6660
6661 * electric.el (electric-indent-mode): Enable by default.
6662 * loadup.el: Preload "electric".
6663
6664 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6665
6666 * emacs-lisp/helpers.el (string-empty-p): New function.
6667 (string-blank-p): New function.
6668
6669 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6670
6671 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6672 (Bug#14029).
6673
6674 2013-11-29 Andreas Politz <politza@fh-trier.de>
6675 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6676 allow non-lambda lists as functions.
6677 (imenu--in-alist): Don't recurse into non-subalists.
6678 (imenu): Don't pass function itself as an argument (Bug#14029).
6679
6680 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6681
6682 * progmodes/python.el (python-mode-map): Remove binding for ":".
6683 (python-indent-electric-colon): Remove command.
6684 (python-indent-post-self-insert-function): Integrate the previous code
6685 of python-indent-electric-colon. Make it conditional on
6686 electric-indent-mode.
6687 (python-mode): Add ?: to electric-indent-chars.
6688 Move python-indent-post-self-insert-function to the end of
6689 post-self-insert-hook.
6690
6691 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6692
6693 * doc-view.el (doc-view-goto-page): Update mode-line.
6694
6695 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6696
6697 2013-11-27 Glenn Morris <rgm@gnu.org>
6698
6699 * international/charprop.el, international/uni-bidi.el:
6700 * international/uni-category.el, international/uni-combining.el:
6701 * international/uni-comment.el, international/uni-decimal.el:
6702 * international/uni-decomposition.el, international/uni-digit.el:
6703 * international/uni-lowercase.el, international/uni-mirrored.el:
6704 * international/uni-name.el, international/uni-numeric.el:
6705 * international/uni-old-name.el, international/uni-titlecase.el:
6706 * international/uni-uppercase.el:
6707 Remove generated files from VCS repository.
6708
6709 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6710
6711 * filenotify.el (file-notify-add-watch): Don't special-case
6712 w32notify when computing the directory to watch.
6713
6714 2013-11-27 Glenn Morris <rgm@gnu.org>
6715
6716 Make bootstrap without generated uni-*.el files possible again.
6717 * loadup.el: Update command-line-args checking for unidata-gen.
6718 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6719 * composite.el, international/characters.el:
6720 Handle unicode tables being undefined.
6721
6722 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6723 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6724 (compile-main): Depend on leim rule.
6725 (leim): New rule.
6726 * loadup.el: Move leim-list.el to leim/ subdirectory.
6727 * startup.el (normal-top-level): No more leim directory.
6728 * international/ja-dic-cnv.el (skkdic-convert):
6729 Disable version-control and autoloads in output files.
6730 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6731 Disable version-control and autoloads in output files.
6732 * leim/quail: Move here from ../leim.
6733 * leim/quail/hangul.el (hangul-input-method-activate):
6734 Add autoload cookie.
6735 (generated-autoload-load-name): Set file-local value.
6736 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6737 (generated-autoload-load-name): Set file-local value.
6738
6739 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6740
6741 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6742 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6743 (eww-quit): Ask confirmation before quitting eww.
6744
6745 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6746
6747 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6748 reading output from Diff on MS-Windows and MS-DOS.
6749
6750 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6751
6752 * emacs-lisp/helpers.el (string-reverse): New function.
6753
6754 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6755
6756 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6757 names on MS Windows, like "/[::1]:".
6758
6759 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6760 SWITCHES.
6761
6762 2013-11-26 Glenn Morris <rgm@gnu.org>
6763
6764 * progmodes/python.el (python-indent-guess-indent-offset):
6765 Avoid corner-case error. (Bug#15975)
6766
6767 Preload leim-list.el. (Bug#4789)
6768 * loadup.el: Load leim-list.el when found.
6769 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6770
6771 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6772
6773 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6774
6775 * emacs-lisp/helpers.el (string-join): New function.
6776
6777 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6778
6779 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6780 Mark as obsolete and replace it with a symbol property.
6781 (byte-compile-form): Use new 'interactive-only property.
6782 * comint.el, files.el, replace.el, simple.el:
6783 Apply new 'interactive-only properly.
6784
6785 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6786
6787 * window.el (display-buffer-at-bottom): Make sure that
6788 split-window-sensibly creates the new window on bottom
6789 (Bug#15961).
6790
6791 2013-11-23 David Kastrup <dak@gnu.org>
6792
6793 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6794 on the conflict markers when available.
6795 (smerge--get-marker): New function.
6796 (smerge-end-re, smerge-base-re): Add subgroup.
6797
6798 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6799
6800 * frame.el (handle-focus-in, handle-focus-out): Add missing
6801 interactive spec.
6802
6803 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6804
6805 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6806 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6807
6808 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6809
6810 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6811 (gomoku--last-pos): New var.
6812 (gomoku--intangible-chars): New const.
6813 (gomoku--intangible): New function.
6814 (gomoku-mode): Use it. Derive from special-mode.
6815 (gomoku-move-up): Adjust line count.
6816 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6817 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6818 Simplify accordingly.
6819
6820 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6821 Remove blink-cursor code.
6822 (blink-cursor-timer-function, blink-cursor-suspend):
6823 Don't special-case GUIs.
6824 (blink-cursor-mode): Use focus-in/out-hook.
6825
6826 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6827
6828 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6829 work when annotation is invisible (Bug#13886).
6830
6831 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6832
6833 * json.el (json-alist-p): Only return non-nil if the alist has
6834 simple keys (Bug#13518).
6835
6836 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6837
6838 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6839 when control-statement is the first statement in a buffer (Bug#15956).
6840
6841 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6842
6843 * imenu.el (imenu-generic-skip-comments-and-strings):
6844 New option (Bug#15560).
6845 (imenu--generic-function): Use it.
6846
6847 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6848
6849 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6850 (Bug#13898)
6851
6852 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6853
6854 * emacs-lisp/helpers.el: Add some string helpers.
6855 (string-trim-left): Removes leading whitespace.
6856 (string-trim-right): Removes trailing whitespace.
6857 (string-trim): Removes leading and trailing whitespace.
6858
6859 * subr.el (string-suffix-p): New function.
6860
6861 2013-11-23 Glenn Morris <rgm@gnu.org>
6862
6863 * progmodes/python.el (python-shell-send-file):
6864 Add option to delete file when done. (Bug#15647)
6865 (python-shell-send-string, python-shell-send-region): Use it.
6866
6867 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6868
6869 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6870 to set buffer-read-only to t, never to nil. (Bug#15938)
6871
6872 * textmodes/tex-mode.el (latex-noindent-environments):
6873 Add safe-local-variable property. (Bug#15936)
6874
6875 2013-11-23 Glenn Morris <rgm@gnu.org>
6876
6877 * textmodes/enriched.el (enriched-mode): Doc fix.
6878 * emacs-lisp/authors.el (authors-renamed-files-alist):
6879 Add enriched.doc -> enriched.txt.
6880
6881 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6882
6883 2013-11-22 Leo Liu <sdl.web@gmail.com>
6884
6885 * progmodes/octave.el (inferior-octave-startup): Spit out error
6886 message.
6887
6888 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6889
6890 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6891 Improve docstring.
6892 Add :version.
6893 (ruby-encoding-magic-comment-style): Add :version.
6894
6895 2013-11-22 Leo Liu <sdl.web@gmail.com>
6896
6897 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6898 (Bug#15076)
6899 (octave-help-mode): Adapt to change to help-mode-finish to use
6900 derived-mode-p on 2013-09-17.
6901 (inferior-octave-prompt): Also match octave-gui.
6902 (octave-kill-process): Don't ask twice. (Bug#10564)
6903
6904 2013-11-22 Leo Liu <sdl.web@gmail.com>
6905
6906 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6907 (inferior-octave-startup, inferior-octave-check-process)
6908 (inferior-octave-track-window-width-change)
6909 (octave-completion-at-point, octave-eldoc-function): Use it.
6910 (octave-kill-process): Provide confirmation. (Bug#10564)
6911
6912 2013-11-21 Leo Liu <sdl.web@gmail.com>
6913
6914 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6915 Fix obsolete variable comment-use-global-state.
6916
6917 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6918
6919 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6920 Add `octave-source-file'.
6921 (octave-source-file): New function. (Bug#15935)
6922
6923 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6924
6925 * net/eww.el (eww-local-regex): New variable.
6926 (eww): Use it to detect localhost and similar.
6927
6928 2013-11-21 Leo Liu <sdl.web@gmail.com>
6929
6930 Add completion for command `ag'.
6931 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6932 (pcomplete/ag): New function.
6933 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6934
6935 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6936
6937 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6938 (bug#14646).
6939 (make-obsolete): Remove interactive spec.
6940
6941 2013-11-21 Glenn Morris <rgm@gnu.org>
6942
6943 * startup.el (command-line-1): Use path-separator with -L.
6944
6945 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6946
6947 * emacs-lisp/package.el (describe-package-1): Add package archive
6948 to shown fields.
6949
6950 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6951
6952 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6953 Change default to "# encoding: %s" to differentiate it from the
6954 default Ruby encoding comment template.
6955
6956 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6957
6958 * ses.el (ses-mode): Doc fix. (Bug#14748)
6959
6960 2013-11-20 Leo Liu <sdl.web@gmail.com>
6961
6962 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6963
6964 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6965
6966 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6967 when rebase or bisect are in progress.
6968
6969 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6970
6971 * filenotify.el (file-notify-add-watch): Doc fix.
6972
6973 2013-11-19 Leo Liu <sdl.web@gmail.com>
6974
6975 * obsolete/rcompile.el: Mark obsolete.
6976
6977 * progmodes/compile.el (compilation-start)
6978 (compilation-goto-locus, compilation-find-file):
6979 Pass no-display-ok and handle nil value from display-buffer.
6980 (Bug#13594)
6981
6982 * window.el (display-buffer-alist, display-buffer): Document the
6983 new parameter no-display-ok. Return either a window or nil
6984 but never a non-window value.
6985
6986 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6987
6988 * electric.el (electric-indent-mode-map): Remove.
6989 (electric-indent-mode): Change the global-map instead (bug#15915).
6990
6991 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6992 Use add-function.
6993
6994 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6995
6996 * emacs-lisp/nadvice.el (remove-function): Align with
6997 add-function's behavior.
6998
6999 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
7000 (gdb--string-regexp): New constant.
7001 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
7002 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
7003 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
7004 submatch 1.
7005 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
7006 Adjust use accordingly.
7007 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
7008
7009 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
7010
7011 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
7012 interpolation curlies (Bug#15914).
7013
7014 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
7015
7016 * calc/calc.el (calc-context-sensitive-enter): New variable.
7017 (calc-enter): Use `calc-context-sensitive-enter'.
7018
7019 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
7020
7021 * progmodes/cfengine.el: Version bump.
7022 (cfengine-cf-promises): New defcustom to locate cf-promises.
7023 (cfengine3-vartypes): Add new "data" type.
7024 (cfengine3--current-word): New function to get current name-like
7025 word or its bounds.
7026 (cfengine3--current-function): New function to look up a CFEngine
7027 function's definition.
7028 (cfengine3-format-function-docstring): New function.
7029 (cfengine3-make-syntax-cache): New function.
7030 (cfengine3-documentation-function): New function: ElDoc glue.
7031 (cfengine3-completion-function): New function: completion glue.
7032 (cfengine3-mode): Set `compile-command',
7033 `eldoc-documentation-function', and add to
7034 `completion-at-point-functions'.
7035
7036 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
7037
7038 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7039 `tramp-current-connection'.
7040
7041 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
7042
7043 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
7044 nil/self/true/false with "end of symbol".
7045
7046 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
7047
7048 * subr.el (version-regexp-alist): Fix a typo.
7049
7050 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
7051
7052 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
7053 "en_US.utf8" and "LC_CTYPE" to "".
7054 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
7055 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
7056
7057 2013-11-15 Leo Liu <sdl.web@gmail.com>
7058
7059 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
7060
7061 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7062
7063 * progmodes/gud.el (ctl-x-map):
7064 Remove C-x SPC binding. (Bug#12342)
7065 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
7066
7067 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
7068
7069 * subr.el (version-regexp-alist):
7070 Recognize hg, svn and darcs versions as snapshot versions.
7071
7072 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
7073 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
7074 (ruby--encoding-comment-required-p): Extract from
7075 `ruby-mode-set-encoding'.
7076 (ruby-mode-set-encoding): Add the ability to always insert an
7077 utf-8 encoding comment. Fix and simplify coding comment update
7078 logic.
7079
7080 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
7081
7082 * net/tramp-gvfs.el (top): Run init code only when
7083 `tramp-gvfs-enabled' is not nil.
7084 (tramp-gvfs-enabled): Check also :system bus.
7085
7086 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7087
7088 Sync with upstream verilog-mode revision 78e66ba.
7089 * progmodes/verilog-mode.el (verilog-end-of-defun)
7090 (verilog-type-completion, verilog-get-list): Remove unused funcs.
7091 (verilog-get-end-of-defun): Remove unused argument.
7092 (verilog-comment-depth): Remove unused local `e'.
7093 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
7094 Don't pass arg to verilog-get-end-of-defun.
7095
7096 2013-11-14 Glenn Morris <rgm@gnu.org>
7097
7098 * obsolete/assoc.el (aget): Prefix dynamic variable.
7099
7100 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
7101
7102 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7103
7104 * widget.el, hfy-cmap.el: Remove bogus package version number.
7105
7106 2013-11-13 Glenn Morris <rgm@gnu.org>
7107
7108 * replace.el (replace-eval-replacement):
7109 Try to give more helpful error message. (Bug#15836)
7110
7111 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7112 (archive-7z-update): Avoid custom type mismatches.
7113
7114 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
7115
7116 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
7117
7118 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
7119 address can be empty.
7120
7121 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
7122 Accept nil SWITCHES.
7123 (tramp-gvfs-handle-write-region): Implement APPEND.
7124
7125 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
7126
7127 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
7128 binary "|" operator and closing block args delimiter.
7129 Remove FIXME comment referring to Ruby 1.8-only syntax.
7130 (ruby-smie--implicit-semi-p): Not after "|" operator.
7131 (ruby-smie--closing-pipe-p): New function.
7132 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
7133 (ruby-smie-rules): Indent after "|".
7134
7135 2013-11-12 Glenn Morris <rgm@gnu.org>
7136
7137 * ps-print.el (ps-face-attribute-list):
7138 Handle anonymous faces. (Bug#15827)
7139
7140 2013-11-12 Martin Rudalics <rudalics@gmx.at>
7141
7142 * window.el (display-buffer-other-frame): Fix doc-string.
7143 (Bug#15868)
7144
7145 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7146
7147 * subr.el (force-mode-line-update): Delete, move to buffer.c.
7148
7149 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
7150
7151 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
7152 (tramp-sh-handle-file-local-copy): Don't write a message when
7153 saving temporary files.
7154
7155 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
7156 both directories are remote.
7157 (tramp-smb-handle-directory-files): Do not return double entries.
7158 Do not expand full file names.
7159 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
7160 (tramp-smb-handle-write-region): Implement APPEND.
7161 (tramp-smb-get-stat-capability): Fix a stupid bug.
7162
7163 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7164
7165 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
7166
7167 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7168
7169 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
7170 throwing error over malformed let/let* (bug#15814).
7171
7172 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7173
7174 * iswitchb.el (iswitchb-mode): Mark obsolete.
7175
7176 2013-11-11 Glenn Morris <rgm@gnu.org>
7177
7178 * international/uni-bidi.el, international/uni-category.el:
7179 * international/uni-name.el, international/uni-numeric.el:
7180 Regenerate for Unicode 6.3.0.
7181
7182 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
7183
7184 * net/tramp.el (tramp-methods):
7185 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
7186 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
7187
7188 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
7189
7190 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7191 Force highlighting text after Summary keyword in doc face for rpm.
7192
7193 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
7194
7195 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
7196 available and the word has no wildcards, append one to the grep pattern.
7197 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
7198 (ispell-complete-word): Call `ispell-lookup-words' with the value
7199 independent of `ispell-look-p'.
7200
7201 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7202
7203 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
7204 Not after "||".
7205 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
7206 their parent.
7207
7208 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7209
7210 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
7211 (ruby-font-lock-keywords): Use backquote.
7212
7213 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7214
7215 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7216 (ruby-smie--backward-token): Only consider full-string matches.
7217
7218 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
7219
7220 * faces.el (describe-face): Add distant-foreground.
7221
7222 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
7223
7224 * progmodes/ruby-mode.el: Improve encoding comment handling.
7225 (ruby-encoding-magic-comment-style): New option.
7226 (ruby-custom-encoding-magic-comment-template): New option.
7227 (ruby--insert-coding-comment, ruby--detect-encoding):
7228 New functions extracted from `ruby-mode-set-encoding'.
7229 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
7230 to control the style of the auto-inserted encoding comment.
7231
7232 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7233
7234 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
7235 Use `smie-backward-sexp' with token argument.
7236
7237 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
7238
7239 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7240 Remove instrumentation code.
7241
7242 2013-11-08 Glenn Morris <rgm@gnu.org>
7243
7244 * progmodes/autoconf.el (autoconf-mode):
7245 Tweak comment-start-skip. (Bug#15822)
7246
7247 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7248
7249 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
7250 at bobp (bug#15826).
7251 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
7252
7253 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
7254
7255 * man.el (Man-start-calling): New macro, extracted from
7256 Man-getpage-in-background.
7257 (Man-getpage-in-background): Use it.
7258 (Man-update-manpage): New command.
7259 (Man-mode-map): Bind it.
7260
7261 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7262
7263 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
7264 of "and", "or", "&&" and "||".
7265 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
7266 argument. Prohibit opening curly brace because it could only be a
7267 block opener in that position.
7268 (ruby-smie--forward-token, ruby-smie--backward-token):
7269 Separate "|" from "&" or "*" going after it. That can happen in block
7270 arguments.
7271 (ruby-smie--indent-to-stmt): New function, seeks the end of
7272 previous statement or beginning of buffer.
7273 (ruby-smie-rules): Use it.
7274 (ruby-smie-rules): Check if there's a ":" before a curly block
7275 opener candidate; if there is, it's a hash.
7276
7277 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7278
7279 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
7280 (cl--block-wrapper): Fix last accidental change.
7281
7282 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
7283
7284 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7285 Instrument, in order to hunt failure on hydra.
7286
7287 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7288
7289 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
7290 malformed bindings form (bug#15814).
7291
7292 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
7293
7294 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
7295 "." compared to " @ ". This incidentally fixes some indentation
7296 examples with "do".
7297 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
7298 (ruby-smie-grammar): New tokens: "and" and "or".
7299 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7300 Exclude "and" and "or". Remove "do" in order to work around token
7301 priorities.
7302 (ruby-smie-rules): Add all infix tokens. Handle the case of
7303 beginning-of-buffer.
7304
7305 2013-11-06 Glenn Morris <rgm@gnu.org>
7306
7307 * Makefile.in (setwins_almost, setwins_for_subdirs):
7308 Avoid accidental matches.
7309
7310 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7311
7312 * menu-bar.el (popup-menu): Use key-binding.
7313
7314 2013-11-06 Eli Zaretskii <eliz@gnu.org>
7315
7316 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7317 menus, support also the menus produced by minor modes.
7318 (Bug#15817)
7319
7320 2013-11-06 Leo Liu <sdl.web@gmail.com>
7321
7322 * thingatpt.el (thing-at-point-looking-at): Add optional arg
7323 DISTANCE to bound the search. All uses changed. (Bug#15808)
7324
7325 2013-11-06 Glenn Morris <rgm@gnu.org>
7326
7327 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7328 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7329 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7330
7331 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7332
7333 * electric.el (electric-indent-just-newline): New command.
7334 (electric-indent-mode-map): New keymap.
7335 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7336 Re-add :group which weren't redundant.
7337
7338 * electric.el (electric-indent-local-mode): New minor mode.
7339 (electric-indent-functions-without-reindent): New var.
7340 (electric-indent-post-self-insert-function): Use it.
7341 * emacs-lisp/gv.el (buffer-local-value): Add setter.
7342
7343 2013-11-05 Eli Zaretskii <eliz@gnu.org>
7344
7345 * international/quail.el (quail-help): Be more explicit about the
7346 meaning of the labels shown on the keys. (Bug#15800)
7347
7348 * startup.el (normal-top-level): Load the subdirs.el files before
7349 setting the locale environment. (Bug#15805)
7350
7351 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
7352
7353 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7354 via arguments so as to get the right ones (bug#15418).
7355
7356 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7357
7358 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
7359
7360 Fix problems found while writing a test suite.
7361
7362 * net/tramp-compat.el (tramp-compat-load): New defun.
7363 * net/tramp.el (tramp-handle-load): Use it.
7364
7365 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7366 "(numberp ok-if-already-exists)" correctly.
7367
7368 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
7369
7370 * international/characters.el (glyphless-char-display-control):
7371 Add usage note.
7372
7373 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
7374
7375 * progmodes/python.el (python-mode):
7376 * progmodes/scheme.el (scheme-mode):
7377 * progmodes/prolog.el (prolog-mode):
7378 * progmodes/ruby-mode.el (ruby-mode):
7379 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7380 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7381
7382 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7383
7384 * rect.el (rectangle--highlight-for-redisplay):
7385 * emacs-lisp/smie.el (smie--next-indent-change):
7386 Use buffer-chars-modified-tick.
7387
7388 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7389
7390 * electric.el (electric-indent-post-self-insert-function):
7391 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7392
7393 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
7394
7395 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7396
7397 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7398
7399 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7400 (bug#15786).
7401
7402 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7403
7404 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
7405
7406 * progmodes/python.el: Fix up last change.
7407 (python-shell--save-temp-file): New function.
7408 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
7409 `string' comes from the current buffer.
7410 (python-shell-send-string-no-output): Remove `msg' arg.
7411 (python--use-fake-loc): New var.
7412 (python-shell-buffer-substring): Obey it. Try to compensate for the
7413 extra coding line added by python-shell--save-temp-file.
7414 (python-shell-send-region): Use python-shell--save-temp-file and
7415 python-shell-send-file directly. Add `nomain' argument.
7416 (python-shell-send-buffer): Use python-shell-send-region.
7417 (python-electric-pair-string-delimiter): New function.
7418 (python-mode): Use it.
7419
7420 2013-11-04 Eli Zaretskii <eliz@gnu.org>
7421
7422 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7423 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7424 environment and decoding all of the default-directory's to here
7425 from command-line.
7426 (command-line): Decode also argv[0].
7427
7428 * loadup.el: Error out if default-directory is a multibyte string
7429 when we are dumping.
7430
7431 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7432
7433 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7434
7435 * emacs-lisp/package.el (package-menu-mode)
7436 (package-menu--print-info, package-menu--archive-predicate):
7437 Add Archive column to package list.
7438
7439 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
7440
7441 Fix problems found while writing a test suite.
7442
7443 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7444 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7445 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7446 to nil when running original file name handler. Otherwise,
7447 there are problems with constructs like "$$FOO".
7448
7449 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7450 for `localname'.
7451
7452 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7453
7454 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7455
7456 * subr.el (version<, version<=, version=):
7457 Update docstrings with information for snapshot versions.
7458
7459 * helpers.el: New library for misc helper functions.
7460 (hash-table-keys): New function returning a list of hash keys.
7461 (hash-table-values): New function returning a list of hash values.
7462
7463 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7464
7465 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7466 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7467
7468 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
7469
7470 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7471 checking whether point is after a 1-letter word.
7472
7473 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7474
7475 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7476 Don't infloop when expanding region over `multiline' syntax-type that
7477 begins a line (bug#15778).
7478
7479 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7480
7481 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7482 Make it into a proper minor mode.
7483 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
7484 (rectangle-mark-mode-map): New keymap.
7485 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7486
7487 2013-11-04 Glenn Morris <rgm@gnu.org>
7488
7489 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7490
7491 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7492
7493 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7494 (ruby-smie-rules): Use smie-rule-parent instead.
7495
7496 * emacs-lisp/smie.el (smie-rule-parent): Always call
7497 smie-indent-virtual rather than only for hanging tokens.
7498 (smie--next-indent-change): New helper command.
7499
7500 2013-11-03 Glenn Morris <rgm@gnu.org>
7501
7502 * Makefile.in (abs_srcdir): Remove.
7503 (emacs): Unset EMACSLOADPATH.
7504
7505 2013-11-02 Glenn Morris <rgm@gnu.org>
7506
7507 * Makefile.in (EMACS): Use a relative filename.
7508 (abs_top_builddir): Remove.
7509 (custom-deps, finder-data, autoloads): Use --chdir.
7510
7511 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7512
7513 Use relative filenames in TAGS files.
7514 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7515 (lisptagsfiles4, TAGS): Use relative file names.
7516 (TAGS-LISP): Remove.
7517 (maintainer-clean): No more TAGS-LISP file.
7518
7519 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7520 (lisptagsfiles4): Use absolute filenames again.
7521 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7522 Remove all *loaddefs files, not just the first. Remove esh-groups.
7523 (maintainer-clean): Delete TAGS, TAGS-LISP.
7524
7525 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7526
7527 * emacs-lisp/package.el (package-version-join):
7528 Recognize snapshot versions.
7529
7530 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7531
7532 * subr.el (version-regexp-alist): Add support for snapshot versions.
7533
7534 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7535
7536 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7537 New function, replacement for `smie-rule-parent' for when we want to
7538 skip over our direct parent if it's an assignment token..
7539 (ruby-smie-rules): Use it.
7540
7541 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7542
7543 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7544 unconditionally. Remove now unnecessary forward declarations.
7545 Remove XEmacs-specific setup.
7546 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7547 (ruby-font-lock-syntactic-keywords)
7548 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7549 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7550 (ruby-here-doc-end-syntax): Remove.
7551 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7552 defined as function.
7553
7554 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7555
7556 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7557
7558 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7559
7560 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7561 table and abbrev table, `define-derived-mode' does that for us
7562 anyway.
7563
7564 2013-11-01 Glenn Morris <rgm@gnu.org>
7565
7566 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7567 files is atomic for some time, so no parallel compilation issues).
7568
7569 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7570
7571 * faces.el (face-x-resources): Add :distant-foreground.
7572 (region): Use :distant-foreground for gtk and ns.
7573
7574 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7575
7576 Allow multiple bibliographies when BibLaTeX is used rather than
7577 BibTeX.
7578 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7579 (reftex-locate-bibliography-files): Us it.
7580
7581 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7582
7583 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7584 allow comments in pbm files.
7585
7586 * term/w32-win.el (dynamic-library-alist): Support newer versions
7587 of libjpeg starting with v7: look only for the DLL from the
7588 version against which Emacs was built.
7589 Support versions of libpng beyond 1.4.x.
7590 Support libtiff v4.x.
7591
7592 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7593
7594 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7595 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7596 Add property :safe.
7597 (ruby-deep-arglist): Add property :type.
7598
7599 2013-10-31 Glenn Morris <rgm@gnu.org>
7600
7601 * Makefile.in (custom-deps, finder-data): No need to setq the target
7602 variables, we are in the right directory and the defaults work fine.
7603
7604 2013-10-30 Glenn Morris <rgm@gnu.org>
7605
7606 * Makefile.in (autoloads): Do not use abs_lisp.
7607
7608 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7609 `newline' does not respect `standard-output', so use `princ'.
7610
7611 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7612
7613 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7614 * buff-menu.el (Buffer-menu--unmark): New function.
7615 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7616
7617 2013-10-30 Glenn Morris <rgm@gnu.org>
7618
7619 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7620
7621 * emacs-lisp/package.el (lm-homepage): Declare.
7622
7623 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7624 Fix doc typos.
7625
7626 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7627
7628 * Makefile.in (finder-data, autoloads, update-subdirs)
7629 (compile-main, compile-clean, compile-always, bootstrap-clean):
7630 Check return value of cd.
7631 (compile-calc): Remove.
7632
7633 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7634
7635 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7636
7637 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7638 (byte-compile-and-folded): New function.
7639 (=, <, >, <=, >=): Use it.
7640
7641 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7642 (path-separator, null-device, buffer-file-coding-system)
7643 (lpr-headers-switches): Check system-type before modifying them.
7644 (find-buffer-file-type-coding-system): Mark obsolete.
7645 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7646 find-file-not-found-set-buffer-file-coding-system.
7647 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7648 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7649 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7650 (w32-direct-print-region-helper, w32-direct-print-region-function)
7651 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7652 * startup.el (normal-top-level-add-subdirs-to-load-path):
7653 * ps-print.el (ps-print-region-function):
7654 * lpr.el (print-region-function): Use new name.
7655
7656 * subr.el (custom-declare-variable-early): Remove function.
7657 (custom-declare-variable-list): Remove var.
7658 (error, user-error): Remove `while' loop.
7659 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7660 (user-emacs-directory-warning, locate-user-emacs-file):
7661 Move to files.el.
7662 * simple.el (read-quoted-char-radix, read-quoted-char):
7663 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7664 Move from subr.el.
7665 * custom.el (custom-declare-variable-list): Don't process
7666 custom-declare-variable-list.
7667
7668 * progmodes/python.el (python-shell-get-buffer): New function.
7669 (python-shell-get-process): Use it.
7670 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7671 Python which encoding was used. Don't split-string since we only care
7672 about the first line. Return the temp-file, if applicable.
7673 (python-shell-send-region): Tell compile.el how to turn locations in
7674 the temp-file into locations in the source buffer.
7675
7676 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7677
7678 * subr.el (undefined): Add missing behavior from the C code for
7679 unbound keys.
7680
7681 * rect.el: Use lexical-binding. Add new rectangular region support.
7682 (rectangle-mark): New command.
7683 (rectangle--region): New var.
7684 (deactivate-mark-hook): Reset rectangle--region.
7685 (rectangle--extract-region, rectangle--insert-for-yank)
7686 (rectangle--highlight-for-redisplay)
7687 (rectangle--unhighlight-for-redisplay): New functions.
7688 (region-extract-function, redisplay-unhighlight-region-function)
7689 (redisplay-highlight-region-function): Use them to handle
7690 rectangular region.
7691 * simple.el (region-extract-function): New var.
7692 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7693 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7694 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7695 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7696 (redisplay-unhighlight-region-function)
7697 (redisplay-highlight-region-function): New vars.
7698 (redisplay--update-region-highlight): New function.
7699 (pre-redisplay-function): Use it.
7700 (exchange-point-and-mark): Don't deactivate the mark before
7701 reactivate-it anyway.
7702 * comint.el (comint-kill-region): Remove yank-handler argument.
7703 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7704 (delete-char): Remove property, since it's now part of their
7705 default behavior.
7706 (self-insert-iso): Remove property since this command doesn't exist.
7707
7708 * emacs-lisp/package.el (package--download-one-archive)
7709 (describe-package-1): Don't query the user about final newline.
7710
7711 2013-10-29 Daniel Colascione <dancol@dancol.org>
7712
7713 * net/tramp.el (tramp-methods): Document new functionality.
7714 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7715 tramp-hostname-checker if method provides one instead of scanning
7716 argument list for "%h" to decide hostname acceptability.
7717
7718 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7719
7720 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7721 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7722 Handle COPY-CONTENTS. (Bug#15737)
7723
7724 2013-10-28 Daiki Ueno <ueno@gnu.org>
7725
7726 * epa-file.el
7727 (epa-file-cache-passphrase-for-symmetric-encryption):
7728 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7729
7730 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7731
7732 * image.el (defimage, image-load-path): Doc fixes.
7733
7734 2013-10-27 Alan Mackenzie <acm@muc.de>
7735
7736 Indent statements in macros following "##" correctly.
7737 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7738 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7739
7740 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7741
7742 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7743
7744 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7745
7746 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7747 after `=' is probably a new expression.
7748
7749 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7750
7751 * man.el (man-imenu-title): New option.
7752 (Man-mode-map): Add menu. (Bug#15722)
7753 (Man-mode): Add imenu to menu.
7754
7755 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7756
7757 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7758 specific in what the first arg can be: a non-keyword word,
7759 string/regexp/percent literal opener, opening paren, or unary
7760 operator followed directly by word.
7761
7762 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7763
7764 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7765 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7766 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7767 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7768 Remove vars, they do not apply any more.
7769 (prolog-mode-abbrev-table): Remove redundant declaration.
7770 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7771 (prolog-use-smie): Remove.
7772 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7773 supported by prolog-electric-if-then-else-flag.
7774 (prolog-mode-variables, prolog-menu): Use setq-local.
7775 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7776 Remove binding to `Backspace' since this key doesn't exist anyway.
7777 Remove bindings for electric self-inserting keys.
7778 (prog-mode): Assume it's defined.
7779 (prolog-post-self-insert): New function.
7780 (prolog-mode): Use it.
7781 (prolog-indent-line, prolog-indent-level)
7782 (prolog-find-indent-of-matching-paren)
7783 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7784 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7785 (prolog-goto-next-paren, prolog-in-string-or-comment)
7786 (prolog-tokenize, prolog-inside-mline-comment)
7787 (prolog-find-start-of-mline-comment): Remove functions.
7788 (prolog-find-unmatched-paren, prolog-clause-end)
7789 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7790 (prolog-electric--if-then-else): Rename from
7791 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7792 (prolog-tokenize-searchkey): Remove const.
7793 (prolog-clause-info): Use forward-sexp.
7794 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7795 (prolog-electric-if-then-else): Remove commands.
7796 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7797 for use in post-self-insert-hook.
7798 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7799 for use in post-self-insert-hook.
7800 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7801 for use in post-self-insert-hook.
7802 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7803 adapt it for use in post-self-insert-hook.
7804
7805 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7806
7807 * emacs-lisp/ert.el (ert-run-tests-interactively):
7808 Use `completing-read'. (Bug#9756)
7809
7810 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7811
7812 * simple.el (line-move): Call line-move-1 instead of
7813 line-move-visual when the current window hscroll is zero, but
7814 temporary-goal-column indicates we will need to hscroll as result
7815 of the movement. (Bug#15712)
7816
7817 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7818
7819 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7820 capitalization. Use :visible instead of :active.
7821 Fix `ruby-indent-exp' reference. Add menu items for the generic
7822 commands that are used with SMIE.
7823 (ruby-do-end-to-brace): Insert space after `{'.
7824
7825 2013-10-25 John Anthony <john@jo.hnanthony.com>
7826
7827 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7828
7829 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7830
7831 2013-10-25 Glenn Morris <rgm@gnu.org>
7832
7833 * vc/vc.el (vc-print-log): Don't use a working revision unless
7834 one was explicitly specified. (Bug#15322)
7835
7836 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7837
7838 * subr.el (add-to-list): Preserve return value in compiler-macro
7839 (bug#15692).
7840
7841 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7842
7843 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7844 result. Ask user to retry using '-all' flag. (Bug#15701)
7845
7846 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7847
7848 * emacs-lisp/smie.el: New smie-config system.
7849 (smie-config): New defcustom.
7850 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7851 (smie-config-guess, smie-config-save): New commands.
7852 (smie-config--mode-local, smie-config--buffer-local)
7853 (smie-config--trace, smie-config--modefuns): New vars.
7854 (smie-config--advice, smie-config--mode-hook)
7855 (smie-config--setter, smie-config-local, smie-config--get-trace)
7856 (smie-config--guess-value, smie-config--guess): New functions.
7857 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7858 text properties. Treat "string fence" syntax like string syntax.
7859
7860 * progmodes/sh-script.el (sh-use-smie): Change default.
7861 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7862 (sh-var-value): Simplify by CSE.
7863 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7864 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7865 is used.
7866 (sh-guess-basic-offset): Use cl-incf.
7867 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7868
7869 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7870
7871 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7872 (bug#15699).
7873
7874 2013-10-24 Glenn Morris <rgm@gnu.org>
7875
7876 * Makefile.in (abs_top_srcdir): Remove.
7877 (update-subdirs): Use relative path to update-subdirs.
7878
7879 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7880
7881 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7882 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7883 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7884 Call unmsys--file-name before expand-file-name, not after it.
7885
7886 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7887
7888 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7889 (ert-test-skipped): New error.
7890 (ert-skip, ert-stats-skipped): New defuns.
7891 (ert--skip-unless): New macro.
7892 (ert-test-skipped): New struct.
7893 (ert--run-test-debugger, ert-test-result-type-p)
7894 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7895 (ert--stats-set-test-and-result, ert-char-for-test-result)
7896 (ert-string-for-test-result, ert-run-tests-batch)
7897 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7898 Handle skipped tests. (Bug#9803)
7899
7900 2013-10-24 Glenn Morris <rgm@gnu.org>
7901
7902 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7903
7904 * Makefile.in (abs_top_srcdir): New, set by configure.
7905 (update-subdirs): Correct build-aux location.
7906
7907 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7908
7909 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7910 value, whether we could auto-deduce `backend', or not.
7911
7912 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7913 with parameters" example. Simplify the "is it block or is it
7914 hash" check, but also make it more thorough.
7915
7916 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7917
7918 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7919
7920 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7921
7922 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7923 { if it is hanging.
7924
7925 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7926 :before ";".
7927
7928 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7929
7930 * progmodes/compile.el (compilation-directory-matcher)
7931 (compilation-page-delimiter):
7932 Support GNU Make-4.0 directory quoting. (Bug#15678)
7933
7934 2013-10-23 Leo Liu <sdl.web@gmail.com>
7935
7936 * ido.el (ido-tidy): Handle read-only text.
7937
7938 2013-10-23 Glenn Morris <rgm@gnu.org>
7939
7940 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7941 (emacs, compile, compile-always):
7942 Quote entities that might contain whitespace.
7943 (custom-deps, finder-data, autoloads): Use abs_lisp.
7944 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7945 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7946 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7947
7948 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7949
7950 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7951 Use `following-char'.
7952
7953 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7954
7955 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7956 * progmodes/ruby-mode.el (ruby-smie-rules):
7957 Remove corresponding workaround. Fix indentation rule of ";" so it
7958 also applies when ";" is the parent.
7959
7960 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7961
7962 * frame.el (display-screens, display-pixel-height)
7963 (display-pixel-width, display-mm-width, display-backing-store)
7964 (display-save-under, display-planes, display-color-cells)
7965 (display-visual-class, display-monitor-attributes-list):
7966 Mention the optional ‘display’ argument in doc strings.
7967
7968 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7969
7970 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7971 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7972
7973 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7974
7975 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7976 TODO. Add "." after " @ ".
7977 (ruby-smie--at-dot-call): New function. Checks if point at method
7978 call with explicit target.
7979 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7980 to the method name tokens when it precedes them.
7981 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7982 (ruby-smie-rules): Add rule for indentation before and after "."
7983 token.
7984
7985 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7986
7987 * textmodes/remember.el (remember-diary-extract-entries):
7988 Avoid add-to-list.
7989
7990 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7991 an instruction.
7992
7993 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7994
7995 * progmodes/ruby-mode.el (ruby-smie-grammar):
7996 Add (almost) all infix operators.
7997 (ruby-smie--implicit-semi-p): Add new operator chars.
7998
7999 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8000 `smie-down-list'.
8001 (ruby-smie--args-separator-p): Check that there's no newline
8002 between method call and its arguments.
8003
8004 2013-10-20 Alan Mackenzie <acm@muc.de>
8005
8006 Allow comma separated lists after Java "implements".
8007
8008 * progmodes/cc-engine.el (c-backward-over-enum-header):
8009 Parse commas.
8010 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
8011 from a "disallowed" list in enum fontification.
8012
8013 2013-10-20 Johan Bockgård <bojohan@gnu.org>
8014
8015 * startup.el (default-frame-background-mode): Remove unused defvar.
8016
8017 * progmodes/verilog-mode.el (verilog-mode): Don't set
8018 comment-indent-function globally.
8019
8020 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
8021
8022 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
8023 Move Info menu item creation to ns-win.el.
8024
8025 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
8026 in menu bar.
8027
8028 * menu-bar.el: Move GNUstep specific menus...
8029
8030 * term/ns-win.el (ns-initialize-window-system): ... to here.
8031
8032 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8033
8034 * simple.el (newline): Only run post-self-insert-hook when
8035 called interactively.
8036
8037 2013-10-19 Johan Bockgård <bojohan@gnu.org>
8038
8039 * icomplete.el (icomplete-with-completion-tables): Add :version.
8040
8041 2013-10-19 Alan Mackenzie <acm@muc.de>
8042
8043 Fix fontification bugs with constructors and const.
8044
8045 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
8046 CASE 2) Remove the check for the absence of a suffix construct
8047 after a function declaration with only types (no identifiers) in
8048 the parentheses. Also, accept a function declaration with just a
8049 type inside the parentheses, if this type can be positively
8050 recognised as such, or if a prefix keyword like "explicit" nails
8051 down the construct as a declaration.
8052
8053 2013-10-19 Eli Zaretskii <eliz@gnu.org>
8054
8055 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
8056 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
8057 the problem whereby selecting a menu item that leads to a
8058 minibuffer prompt moves the cursor out of the minibuffer window,
8059 making it hard to type at the prompt. Suggested by Stefan Monnier
8060 <monnier@iro.umontreal.ca>.
8061
8062 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
8063
8064 * menu-bar.el: Don't make Services menu.
8065
8066 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8067
8068 * ffap.el: Handle "/usr/include/c++/<version>" directories.
8069 (ffap-alist): Use ffap-c++-mode for c++-mode.
8070 (ffap-c++-path): New variable.
8071 (ffap-c++-mode): New function.
8072
8073 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
8074
8075 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
8076
8077 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
8078
8079 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
8080 introduced on 2013-09-08, which results in an infinite loop
8081 requesting a password.
8082
8083 2013-10-18 Glenn Morris <rgm@gnu.org>
8084
8085 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
8086
8087 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
8088
8089 Sync with upstream verilog-mode revision 1a6ecec7.
8090 * progmodes/verilog-mode.el (verilog-mode-version): Update.
8091 (verilog-mode-release-date): Remove.
8092 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
8093 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
8094 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
8095 (verilog-auto-tieoff-ignore-regexp)
8096 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
8097 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
8098 (verilog-signals-with, verilog-dir-cache-preserving)
8099 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
8100 Doc fixes.
8101 (verilog-case-fold): New option, to control case folding in
8102 regexp searches, bug597.
8103 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
8104 (verilog-string-match-fold, verilog-in-paren-count)
8105 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
8106 (verilog-at-close-struct-p): New functions.
8107 (verilog-beg-block-re-ordered, verilog-extended-case-re)
8108 (verilog-forward-sexp, verilog-set-auto-endcomments)
8109 (verilog-leap-to-case-head): Handle "unique0" case.
8110 (verilog-in-constraint-re): New constant.
8111 (verilog-keywords, verilog-type-font-keywords):
8112 Add some SystemVerilog 1800-2012 keywords.
8113 (verilog-label-be): Remove unimplemented argument, bug669.
8114 (verilog-batch-execute-func): When batch expanding clear
8115 create-lockfiles to prevent spurious user locks when a file ends
8116 up not changing.
8117 (verilog-calculate-indent, verilog-calc-1)
8118 (verilog-at-close-constraint-p, verilog-at-constraint-p)
8119 (verilog-do-indent): Fix indentation of nested constraints
8120 and structures.
8121 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
8122 (verilog-auto-inst-param): Use verilog-string-match-fold.
8123 (verilog-read-inst-module-matcher):
8124 Fix AUTOINST on gate primitives with #1.
8125 (verilog-read-decls): Fix double-declaring user-defined typed signals.
8126 Reads all user-defined typed variables.
8127 (verilog-read-defines): Fix reading definitions inside comments, bug647.
8128 (verilog-signals-matching-regexp)
8129 (verilog-signals-not-matching-regexp, verilog-auto):
8130 Respect verilog-case-fold.
8131 (verilog-diff-report): Fix line count.
8132 (verilog-auto-assign-modport): Remove unused local `modi'.
8133 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
8134 better handle multidimensional arrays.
8135 Fix packed array ports misadding bit index in AUTOINST, bug637.
8136 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
8137 to not double-declare existing outputs and inputs, respectively.
8138 (verilog-template-map): Bind U to verilog-sk-uvm-component.
8139 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
8140 (verilog-sk-uvm-component): New skeleton.
8141 (verilog-submit-bug-report): Add verilog-case-fold,
8142 remove verilog-mode-release-date.
8143
8144 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
8145
8146 * subr.el (sit-for): Call (input-pending-p t) so as to behave
8147 as before.
8148
8149 2013-10-18 Reuben Thomas <rrt@sc3d.org>
8150
8151 * textmodes/remember.el (remember): Set buffer-offer-save in
8152 remember buffers (bug#13566).
8153
8154 2013-10-18 Daniel Colascione <dancol@dancol.org>
8155
8156 When evaluating forms in ielm, direct standard output to ielm
8157 buffer. Add new ielm-return-for-effect command. Remove trailing
8158 whitespace throughout.
8159
8160 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
8161 (ielm-return-for-effect): New command.
8162 (ielm-send-input): Accept optional `for-effect' parameter.
8163 (ielm-eval-input): Accept optional `for-effect' parameter.
8164 Bind `standard-output' to stream we create using
8165 `ielm-standard-output-impl'. Suppress printing result when
8166 `for-effect'.
8167 (ielm-standard-output-impl): New function.
8168 (inferior-emacs-lisp-mode): Explain new features in documentation.
8169
8170 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
8171
8172 Code cleanup.
8173
8174 * net/tramp.el (tramp-debug-message): Do not check for connection
8175 buffer.
8176 (tramp-message): Use "vector" connection property.
8177
8178 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
8179 (tramp-equal-remote, tramp-eshell-directory-change)
8180 * net/tramp-adb.el (tramp-adb-handle-copy-file)
8181 (tramp-adb-handle-rename-file)
8182 * net/tramp-cmds.el (tramp-list-remote-buffers)
8183 (tramp-cleanup-connection, tramp-cleanup-this-connection)
8184 * net/tramp-compat.el (tramp-compat-process-running-p)
8185 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
8186 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
8187 (tramp-gvfs-handle-rename-file)
8188 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8189 (tramp-set-file-uid-gid)
8190 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8191 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
8192 of `file-remote-p'.
8193
8194 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
8195 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8196 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
8197 (tramp-gw-open-network-stream): Suppress unrelated traces.
8198
8199 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
8200 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8201 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8202 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
8203 connection property.
8204
8205 * net/tramp-cache.el (top): Suppress traces when reading
8206 persistency file.
8207
8208 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8209 Refactor common code. Improve debug message.
8210 (tramp-maybe-open-connection)
8211 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
8212 connection buffer too early.
8213
8214 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
8215 from `tramp-smb-actions-with-acl'.
8216 (tramp-smb-actions-set-acl): New defconst.
8217 (tramp-smb-handle-copy-directory)
8218 (tramp-smb-action-get-acl): New defun, renamed from
8219 `tramp-smb-action-with-acl'.
8220 (tramp-smb-action-set-acl): New defun.
8221 (tramp-smb-handle-set-file-acl): Rewrite.
8222
8223 2013-10-17 Glenn Morris <rgm@gnu.org>
8224
8225 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
8226
8227 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8228
8229 * skeleton.el (skeleton-newline): Remove.
8230 (skeleton-internal-1): Use (insert "\n") instead.
8231
8232 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
8233 let-bindings.
8234
8235 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
8236 forward-sexp-function while we redo its job (bug#15613).
8237
8238 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
8239
8240 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
8241 represented by lists.
8242
8243 2013-10-16 Glenn Morris <rgm@gnu.org>
8244
8245 * tmm.el (tmm--history): New dynamic variable.
8246 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
8247
8248 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
8249
8250 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
8251 (tramp-smb-errors): Add error messages.
8252 (tramp-smb-actions-with-acl): New defconst.
8253 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
8254 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
8255 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
8256 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
8257 (tramp-smb-get-stat-capability): Fix tests.
8258
8259 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
8260
8261 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
8262 (bug#15580).
8263
8264 2013-10-16 Glenn Morris <rgm@gnu.org>
8265
8266 * ansi-color.el (ansi-color-drop-regexp):
8267 Add 1J, 1K, 2K. (Bug#15617)
8268
8269 * files.el (hack-local-variables--warned-lexical): New.
8270 (hack-local-variables):
8271 Warn about misplaced lexical-binding. (Bug#15616)
8272
8273 * net/eww.el (eww-render): Always set eww-current-url,
8274 and update header line. (Bug#15622)
8275 (eww-display-html): ... Rather than just doing it here.
8276
8277 2013-10-15 Eli Zaretskii <eliz@gnu.org>
8278
8279 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
8280 menu navigations commands.
8281
8282 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
8283
8284 * progmodes/subword.el (subword-capitalize): Be careful when
8285 the search for [[:alpha:]] fails (bug#15580).
8286
8287 2013-10-14 Eli Zaretskii <eliz@gnu.org>
8288
8289 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
8290 to commands that scroll the menu.
8291
8292 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
8293
8294 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
8295 Handle methods ending with `?' and `!'.
8296
8297 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
8298
8299 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8300 `japanese-cp932' to `cp932' to fix the problem where saving a
8301 source file written in Shift_JIS twice would end up having
8302 `coding: japanese-cp932' which Ruby could not recognize.
8303 (ruby-mode-set-encoding): Add support for encodings mapped to nil
8304 in `ruby-encoding-map'.
8305 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8306 doesn't need to be explicitly declared in magic comment.
8307 (ruby-encoding-map): Add type declaration for better customize UI.
8308
8309 2013-10-13 Glenn Morris <rgm@gnu.org>
8310
8311 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8312 Occur buffers are read-only. http://bugs.debian.org/720775
8313
8314 * emacs-lisp/authors.el (authors-fixed-entries):
8315 Comment out old alpha stuff.
8316
8317 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
8318
8319 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8320 to `after-save-hook' instead of `before-save-hook'.
8321 (ruby-mode-set-encoding): Use the value of coding system used to
8322 write the file. Call `basic-save-buffer-1' after modifying the
8323 buffer.
8324
8325 2013-10-13 Alan Mackenzie <acm@muc.de>
8326
8327 Fix indentation/fontification of Java enum with
8328 "implements"/generic.
8329
8330 * progmodes/cc-engine.el (c-backward-over-enum-header):
8331 Extracted from the three other places and enhanced to handle generics.
8332 (c-inside-bracelist-p): Uses new function above.
8333 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8334 function above.
8335 (c-font-lock-enum-tail): Uses new function above.
8336
8337 2013-10-13 Kenichi Handa <handa@gnu.org>
8338
8339 * international/mule-cmds.el (select-safe-coding-system): Remove a
8340 superfluous condition in chekcing whether a coding system is safe
8341 or not.
8342
8343 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
8344
8345 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
8346
8347 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
8348
8349 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
8350
8351 2013-10-13 Glenn Morris <rgm@gnu.org>
8352
8353 * menu-bar.el (menu-bar-update-buffers):
8354 Unify Buffers menu prompt string. (Bug#15576)
8355
8356 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
8357
8358 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8359 Add some entries.
8360 (authors-fixed-entries): Use accented form of name.
8361
8362 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8363
8364 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8365 method calls (bug#15594).
8366 (ruby-smie--args-separator-p): New function.
8367 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8368 recognize paren-free method calls.
8369
8370 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8371 internals of universal-argument.
8372
8373 2013-10-11 Eli Zaretskii <eliz@gnu.org>
8374
8375 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8376 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8377 dropped menu on second mouse click on the menu bar.
8378
8379 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8380
8381 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8382 (explicit-shell-file-name): Declare.
8383 (sh--vars-before-point, sh--cmd-completion-table): New functions.
8384 (sh-completion-at-point-function): New function.
8385 (sh-mode): Use it.
8386 (sh-smie--keyword-p): Remove unused argument.
8387 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8388 vars.
8389 (sh-set-shell): Always setup SMIE, even if we use the
8390 old indentation code.
8391
8392 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
8393
8394 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8395 cases of ? and =.
8396 (ruby-smie-rules): Simplify the "do" rule. The cases when the
8397 predicate would return nil are almost non-existent.
8398 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8399
8400 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8401 cache also after commands that modify the buffer but don't move
8402 point.
8403
8404 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8405
8406 * env.el (substitute-env-in-file-name): New function.
8407 (substitute-env-vars): Extend the meaning of the optional arg.
8408
8409 2013-10-10 Eli Zaretskii <eliz@gnu.org>
8410
8411 * term/w32-win.el (dynamic-library-alist): Define separate lists
8412 of GIF DLLs for versions before and after 5.0.0 of giflib.
8413 (Bug#15531)
8414
8415 2013-10-10 João Távora <joaotavora@gmail.com>
8416
8417 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8418 not locked, use last revision and current source as
8419 defaults. (Bug#15569)
8420
8421 2013-10-10 Masatake YAMATO <yamato@redhat.com>
8422
8423 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8424 menu-bar is hidden.
8425
8426 2013-10-10 Martin Rudalics <rudalics@gmx.at>
8427
8428 * window.el (pop-to-buffer-same-window): Fix doc-string.
8429 (Bug#15492)
8430
8431 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8432
8433 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8434
8435 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8436
8437 * calendar/icalendar.el (icalendar-import-file):
8438 Fix interactive spec. (Bug#15482)
8439
8440 2013-10-10 Glenn Morris <rgm@gnu.org>
8441
8442 * desktop.el (desktop-save): Default to saving in .emacs.d,
8443 since PWD is no longer in desktop-path by default. (Bug#15319)
8444
8445 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8446 now that text mode has a menu with the same entry.
8447 (menu-bar-text-mode-auto-fill): Remove now unused func.
8448 * textmodes/text-mode.el (text-mode-map):
8449 Use auto-fill help text from menu-bar.el.
8450
8451 2013-10-10 John Anthony <john@jo.hnanthony.com>
8452
8453 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8454
8455 2013-10-09 Juri Linkov <juri@jurta.org>
8456
8457 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8458 instead of this-command-keys. Add universal-argument-more and
8459 universal-argument-minus to the list of prefix commands. (Bug#15568)
8460
8461 2013-10-09 Glenn Morris <rgm@gnu.org>
8462
8463 * vc/vc-svn.el (vc-svn-create-repo):
8464 Expand paths in file://... url. (Bug#15446)
8465
8466 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8467 Add some entries.
8468 (authors): Remove unused local variables.
8469
8470 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8471
8472 * profiler.el: Create a more coherent calltree from partial backtraces.
8473 (profiler-format): Hide the tail with `invisible' so that C-s can still
8474 find the hidden elements.
8475 (profiler-calltree-depth): Don't recurse so enthusiastically.
8476 (profiler-function-equal): New hash-table-test.
8477 (profiler-calltree-build-unified): New function.
8478 (profiler-calltree-build): Use it.
8479 (profiler-report-make-name-part): Indent the calltree less.
8480 (profiler-report-mode): Add visibility specs for profiler-format.
8481 (profiler-report-expand-entry, profiler-report-toggle-entry):
8482 Expand the whole subtree when provided with a prefix arg.
8483
8484 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8485
8486 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8487 iuwu-mod token.
8488 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8489 hanging iuwu-mod token.
8490 (ruby-smie--forward-token): Do not include a dot after a token in
8491 that token.
8492 (ruby-smie--backward-token): Likewise.
8493
8494 2013-10-08 Juri Linkov <juri@jurta.org>
8495
8496 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8497 to isearch-other-control-char.
8498 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8499 and isearch-post-command-hook to post-command-hook.
8500 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8501 and isearch-post-command-hook from post-command-hook.
8502 (isearch-unread-key-sequence)
8503 (isearch-reread-key-sequence-naturally)
8504 (isearch-lookup-scroll-key, isearch-other-control-char)
8505 (isearch-other-meta-char): Remove functions.
8506 (isearch-pre-command-hook, isearch-post-command-hook):
8507 New functions based on isearch-other-meta-char rewritten
8508 relying on the new behavior of overriding-terminal-local-map
8509 that does not replace the local keymaps any more. (Bug#15200)
8510
8511 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8512
8513 Support menus on text-mode terminals.
8514 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8515 functionality.
8516
8517 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8518
8519 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8520 Move here from mouse.el.
8521 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8522 and arrow keys.
8523 (tty-menu-navigation-map): New map for TTY menu navigation.
8524
8525 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8526
8527 * frame.el (display-mouse-p): Report text-mode mouse as available
8528 on w32.
8529 (display-popup-menus-p): Report availability if mouse is
8530 available; don't condition on window-system.
8531
8532 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8533 (tty-menu-selected-face): New faces.
8534
8535 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8536
8537 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8538 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8539 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8540 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8541 New constants.
8542 (lisp-mode-variables): New `elisp' argument.
8543 (emacs-lisp-mode): Use it.
8544 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8545 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8546
8547 * indent.el: Use lexical-binding.
8548 (indent-region): Add progress reporter.
8549 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8550 last step.
8551 (indent--next-tab-stop): New function to implement this behavior.
8552 (tab-to-tab-stop, move-to-tab-stop): Use it.
8553
8554 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8555
8556 * indent.el (indent-rigidly--current-indentation): New function.
8557 (indent-rigidly-map): New var.
8558 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8559
8560 2013-10-08 Bastien Guerry <bzg@gnu.org>
8561
8562 * register.el (insert-register): Fix 2013-10-07 change.
8563
8564 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8565
8566 * progmodes/perl-mode.el: Use lexical-binding.
8567 Remove redundant :group args.
8568 (perl-nochange): Change default to be closer to other major modes's
8569 standard behavior.
8570 (perl-indent-line): Don't consider text on current line as a
8571 valid beginning of function from which to indent.
8572
8573 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8574 with more than one argument (bug#15538).
8575
8576 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8577
8578 * vc/pcvs.el: Use lexical-binding.
8579 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8580 environment of `eval'.
8581 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8582 than a list of expressions. Adjust callers.
8583 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8584
8585 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8586
8587 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8588 case of the dot in a chained method call being on the following line.
8589
8590 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8591
8592 * electric.el (electric-indent-inhibit): New var.
8593 (electric-indent-post-self-insert-function): Use it.
8594 * progmodes/python.el (python-mode): Set it.
8595
8596 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8597 open braces.
8598
8599 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8600
8601 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8602 (css-mode): Use electric-indent-chars.
8603
8604 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8605 (font-lock-beg, font-lock-end): Move before first use.
8606 (nxml-mode): Use syntax-propertize-function.
8607 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8608 (nxml-extend-after-change-region): Remove.
8609 * nxml/xmltok.el: Use lexical-binding.
8610 (xmltok-save): Use `declare'.
8611 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8612 * nxml/nxml-util.el: Use lexical-binding.
8613 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8614 Use `declare'.
8615 * nxml/nxml-ns.el: Use lexical-binding.
8616 (nxml-ns-save): Use `declare'.
8617 (nxml-ns-prefixes-for): Avoid add-to-list.
8618 * nxml/rng-match.el: Use lexical-binding.
8619 (rng--ipattern): Use cl-defstruct.
8620 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8621 (rng-cons-group-after, rng-subst-group-after)
8622 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8623 Use closures instead of `(lambda...).
8624
8625 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8626
8627 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8628 of BEG and END.
8629
8630 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8631 Use `tramp-handle-insert-file-contents'.
8632 (tramp-gvfs-handle-insert-file-contents): Remove function.
8633
8634 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8635 Use `save-restriction' in order to keep markers.
8636
8637 * net/trampver.el: Update release number.
8638
8639 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8640
8641 * progmodes/compile.el (compilation-parse-errors):
8642 Use compilation--put-prop.
8643 (compilation--ensure-parse): Check compilation-multiline.
8644
8645 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8646
8647 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8648 lexical-binding.
8649
8650 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8651
8652 * progmodes/ruby-mode.el: Fix recently added tests.
8653 (ruby-smie-grammar): Add - and +.
8654 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8655 (ruby-smie--backward-id): New functions.
8656 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8657 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8658 any more.
8659
8660 2013-10-07 Leo Liu <sdl.web@gmail.com>
8661
8662 * register.el (register-preview-delay)
8663 (register-preview-functions): New variables.
8664 (register-read-with-preview, register-preview)
8665 (register-describe-oneline): New functions.
8666 (point-to-register, window-configuration-to-register)
8667 (frame-configuration-to-register, jump-to-register)
8668 (number-to-register, view-register, insert-register)
8669 (copy-to-register, append-to-register, prepend-to-register)
8670 (copy-rectangle-to-register): Use register-read-with-preview to
8671 read register. (Bug#15525)
8672
8673 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8674
8675 * net/network-stream.el (network-stream-open-starttls): Don't add
8676 --insecure if it's already present, because that gnutls-cli
8677 rejects getting that parameter twice.
8678
8679 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8680
8681 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8682 keyword, too.
8683
8684 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8685
8686 * newcomment.el (comment-use-global-state): Change default value
8687 to t, mark obsolete (Bug#15251).
8688 (comment-beginning): In addition to `comment-to-syntax', check the
8689 value of `comment-use-global-state'.
8690
8691 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8692
8693 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8694 (ruby-comment-column): Follow the global default, by default.
8695 (ruby-smie-grammar): Add assignment syntax.
8696 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8697 open-paren, a comma, or a \.
8698 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8699 and line continuations.
8700 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8701 followed by implicit semi-colons. Add rule for string concatenation
8702 and for indentation at BOB.
8703 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8704
8705 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8706 calling next-sexp, since next-token may have skipped chars which
8707 next-sexp doesn't know should be skipped!
8708
8709 2013-10-05 Leo Liu <sdl.web@gmail.com>
8710
8711 * progmodes/octave.el (octave-send-region):
8712 Call compilation-forget-errors.
8713
8714 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8715
8716 * vc/vc-svn.el (vc-svn-find-admin-dir):
8717 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8718 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8719 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8720 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8721
8722 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8723
8724 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8725
8726 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8727
8728 * subr.el (read-passwd): Hide chars even when called within a context
8729 where after-change-functions is disabled (bug#15501).
8730 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8731 until we removed ourself from overriding-terminal-local-map.
8732
8733 2013-10-04 Leo Liu <sdl.web@gmail.com>
8734
8735 * progmodes/octave.el (inferior-octave-mode):
8736 Call compilation-forget-errors.
8737
8738 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8739
8740 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8741
8742 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8743
8744 * net/secrets.el (secrets-create-collection): Add optional
8745 argument ALIAS. Use proper Label keyword. Append ALIAS as
8746 dbus-call-method argument. (Bug#15516)
8747
8748 2013-10-04 Leo Liu <sdl.web@gmail.com>
8749
8750 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8751 (inferior-octave-compilation-font-lock-keywords): New variables.
8752 (compilation-error-regexp-alist)
8753 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8754 (inferior-octave-mode): Use compilation-shell-minor-mode.
8755
8756 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8757
8758 * minibuffer.el (completion--replace): Be careful that `end' might be
8759 a marker.
8760
8761 2013-10-03 Daiki Ueno <ueno@gnu.org>
8762
8763 Add support for package signature checking.
8764 * emacs-lisp/package.el (url-http-file-exists-p)
8765 (epg-make-context, epg-context-set-home-directory)
8766 (epg-verify-string, epg-context-result-for)
8767 (epg-signature-status, epg-signature-to-string)
8768 (epg-check-configuration, epg-configuration)
8769 (epg-import-keys-from-file): Declare.
8770 (package-check-signature): New user option.
8771 (package-unsigned-archives): New user option.
8772 (package-desc): Add `signed' field.
8773 (package-load-descriptor): Set `signed' field if .signed file exists.
8774 (package--archive-file-exists-p): New function.
8775 (package--check-signature): New function.
8776 (package-install-from-archive): Check package signature.
8777 (package--download-one-archive): Check archive signature.
8778 (package-delete): Remove .signed file.
8779 (package-import-keyring): New command.
8780 (package-refresh-contents): Import default keyring.
8781 (package-desc-status): Add "unsigned" status.
8782 (describe-package-1, package-menu--print-info)
8783 (package-menu-mark-delete, package-menu--find-upgrades)
8784 (package-menu--status-predicate): Support "unsigned" status.
8785
8786 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8787
8788 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8789 the new compilation scheme using the new byte-codes.
8790
8791 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8792 (byte-pophandler): New byte codes.
8793 (byte-goto-ops): Adjust accordingly.
8794 (byte-compile--use-old-handlers): New var.
8795 (byte-compile-catch): Use new byte codes depending on
8796 byte-compile--use-old-handlers.
8797 (byte-compile-condition-case--old): Rename from
8798 byte-compile-condition-case.
8799 (byte-compile-condition-case--new): New function.
8800 (byte-compile-condition-case): New function that dispatches depending
8801 on byte-compile--use-old-handlers.
8802 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8803 when we can.
8804
8805 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8806 Optimize under `condition-case' and `catch' if
8807 byte-compile--use-old-handlers is nil.
8808 (disassemble-offset): Handle new bytecodes.
8809
8810 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8811
8812 * subr.el (error): Use `declare'.
8813 (decode-char, encode-char): Use advertised-calling-convention instead
8814 of the docstring to discourage use of the `restriction' arg.
8815
8816 2013-10-03 Daiki Ueno <ueno@gnu.org>
8817
8818 * epg.el (epg-verify-file): Add a comment saying that it does not
8819 notify verification error as a return value nor a signal.
8820 (epg-verify-string): Ditto.
8821
8822 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8823
8824 * progmodes/compile.el (compilation-start): Try globbing the arg to
8825 `cd' (bug#15417).
8826
8827 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8828
8829 Sync with Tramp 2.2.8.
8830
8831 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8832 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8833 * net/trampver.el: Update release number.
8834
8835 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8836
8837 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8838 and default-process-coding-system for darwin only.
8839
8840 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8841
8842 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8843
8844 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8845
8846 * vc/vc-git.el (vc-git-grep): Disable pager.
8847
8848 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8849
8850 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8851 Use :url instead of :homepage, as per
8852 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8853
8854 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8855 non-nil, use `syntax-ppss' (Bug#15251).
8856
8857 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8858
8859 * progmodes/octave.el (inferior-octave-startup-file):
8860 Prefer ~/.emacs.d/init_octave.m.
8861
8862 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8863
8864 * emacs-lisp/package.el (package-desc-from-define):
8865 Accept additional arguments as plist, convert them to an alist and store
8866 them in the `extras' slot.
8867 (package-generate-description-file): Convert extras alist back to
8868 plist and append to the `define-package' form arguments.
8869 (package--alist-to-plist): New function.
8870 (package--ac-desc): Add `extras' slot.
8871 (package--add-to-archive-contents): Check if the archive-contents
8872 vector is long enough, and if it is, pass its `extras' slot value
8873 to `package-desc-create'.
8874 (package-buffer-info): Call `lm-homepage', pass the returned value
8875 to `package-desc-from-define'.
8876 (describe-package-1): Render the homepage button (Bug#13291).
8877
8878 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8879 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8880
8881 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8882
8883 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8884 and default-process-coding-system to utf-8-unix (Bug#15402).
8885
8886 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8887
8888 * subr.el (looking-back): Do not recommend using looking-back.
8889
8890 2013-09-28 Alan Mackenzie <acm@muc.de>
8891
8892 Fix indentation/fontification of Java enum with "implements".
8893
8894 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8895 regexp which matches "implements", etc., in Java.
8896 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8897 specifier clauses coming after "enum".
8898 * progmodes/cc-fonts.el (c-font-lock-declarations)
8899 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8900 after "enum".
8901
8902 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8903
8904 * faces.el (region): Change ns_selection_color to
8905 ns_selection_fg_color, add ns_selection_bg_color.
8906
8907 2013-09-28 Leo Liu <sdl.web@gmail.com>
8908
8909 * progmodes/octave.el (inferior-octave-completion-table)
8910 (inferior-octave-completion-at-point): Minor tweaks.
8911
8912 * textmodes/ispell.el (ispell-lookup-words): Rename from
8913 lookup-words. (Bug#15460)
8914 (lookup-words): Obsolete.
8915 (ispell-complete-word, ispell-command-loop): All uses changed.
8916
8917 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8918
8919 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8920 (octave-mode-menu): Add octave-send-buffer.
8921 (octave-send-buffer): New function.
8922
8923 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8924
8925 * progmodes/octave.el (octave-mode-map): Add key binding for
8926 octave-lookfor.
8927 (octave-mode-menu): Add octave-lookfor.
8928 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8929 octave-lookfor.
8930 (octave-lookfor): New function.
8931
8932 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8933
8934 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8935 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8936 its convention.
8937 (cl--loop-set-iterator-function): New function.
8938 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8939 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8940 Bind `it' with `let' instead of substituting it with `cl-subst'.
8941 (cl--unused-var-p): New function.
8942 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8943 Eliminate some unused variable warnings (bug#15326).
8944
8945 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8946
8947 * doc-view.el (doc-view-scale-reset): Rename from
8948 `doc-view-reset-zoom-level'.
8949 (doc-view-scale-adjust): New command.
8950 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8951 `doc-view-scale-adjust'.
8952
8953 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8954
8955 * doc-view.el (doc-view-reset-zoom-level): New command.
8956 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8957 zoom commands (bug#15466).
8958
8959 2013-09-26 Kenichi Handa <handa@gnu.org>
8960
8961 * international/quail.el (quail-help): Make it not a command.
8962
8963 2013-09-26 Leo Liu <sdl.web@gmail.com>
8964
8965 * minibuffer.el (completion-all-sorted-completions): Make args
8966 optional as they are.
8967
8968 2013-09-25 Daniel Colascione <dancol@dancol.org>
8969
8970 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8971 specs are and that they're not evaluated.
8972
8973 2013-09-24 Sam Steingold <sds@gnu.org>
8974
8975 * midnight.el (clean-buffer-list-kill-regexps)
8976 (clean-buffer-list-kill-buffer-names): Update for the new Man
8977 buffer naming which includes the object name.
8978
8979 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8980
8981 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8982 (eshell-parse-command, eshell-parse-pipeline): Use it since
8983 eshell-separate-commands requires a dynamic scoped var.
8984 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8985
8986 2013-09-23 Leo Liu <sdl.web@gmail.com>
8987
8988 * autoinsert.el (auto-insert-alist): Make the value of
8989 lexical-binding match its file setting.
8990
8991 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8992
8993 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8994
8995 * autoarg.el (autoarg-kp-digit-argument):
8996 * electric.el (Electric-command-loop):
8997 * kmacro.el (kmacro-step-edit-insert):
8998 Do not set universal-argument-num-events.
8999
9000 2013-09-22 Leo Liu <sdl.web@gmail.com>
9001
9002 * files.el (interpreter-mode-alist): Add octave.
9003
9004 2013-09-21 Alan Mackenzie <acm@muc.de>
9005
9006 C++: fontify identifier in declaration following "public:" correctly.
9007 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
9008 to match "public", etc.
9009 (c-decl-prefix-re): Add ":" into the C++ value.
9010 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
9011 bit. Add a check for a ":" preceded by "public", etc.
9012
9013 2013-09-21 Eli Zaretskii <eliz@gnu.org>
9014
9015 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
9016 recognized by GDB 7.5 and later.
9017
9018 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
9019
9020 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
9021
9022 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9023
9024 * subr.el (internal--call-interactively): New const.
9025 (called-interactively-p): Use it (bug#3984).
9026
9027 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
9028
9029 * vc/pcvs.el (cvs-mode-ignore):
9030 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
9031 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
9032
9033 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9034
9035 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
9036 (eshell-ls-orig-insert-directory): Remove.
9037 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
9038 (eshell-ls-use-in-dired): Use advice-add/remove.
9039 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
9040 Add `orig-fun' arg for use in :around advice.
9041 Make it check (redundantly) eshell-ls-use-in-dired.
9042
9043 2013-09-19 Glenn Morris <rgm@gnu.org>
9044
9045 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
9046
9047 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
9048
9049 * emacs-lisp/eieio.el (class-parent): Undo previous change.
9050
9051 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
9052
9053 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
9054 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
9055 (tramp-get-remote-python): New defuns.
9056 (tramp-get-remote-uid-with-perl)
9057 (tramp-get-remote-gid-with-perl): New defuns. Perl code
9058 contributed by yary <not.com@gmail.com> (tiny change).
9059 (tramp-get-remote-uid-with-python)
9060 (tramp-get-remote-gid-with-python): New defuns. Python code
9061 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
9062 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
9063
9064 2013-09-19 Glenn Morris <rgm@gnu.org>
9065
9066 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
9067
9068 * eshell/em-unix.el (eshell-remove-entries):
9069 Rename argument to avoid name-clash with global `top-level'.
9070
9071 * eshell/esh-proc.el (eshell-kill-process-function):
9072 Remove eshell-reset-after-proc from eshell-kill-hook if present.
9073 (eshell-reset-after-proc): Remove unused arg `proc'.
9074
9075 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
9076 (directory-files-and-attributes): Mark unused arg.
9077
9078 * eshell/em-unix.el (eshell-remove-entries):
9079 Remove unused arg `path'. Update callers.
9080
9081 * eshell/em-hist.el (eshell-hist-parse-arguments):
9082 Remove unused arg `silent'. Update callers.
9083
9084 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
9085 Fix (f)boundp mix-up.
9086
9087 * eshell/em-smart.el (eshell-smart-scroll-window)
9088 (eshell-disable-after-change):
9089 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
9090
9091 2013-09-18 Alan Mackenzie <acm@muc.de>
9092
9093 Fix fontification of type when followed by "const".
9094 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
9095 "known" types from fontification.
9096
9097 2013-09-18 Glenn Morris <rgm@gnu.org>
9098
9099 * emacs-lisp/chart.el (x-display-color-cells): Declare.
9100 (chart-face-list): Drop Emacsen without display-color-p.
9101
9102 * net/eww.el (libxml-parse-html-region): Declare.
9103 (eww-display-html): Explicit error if no libxml2 support.
9104
9105 * doc-view.el (doc-view-mode): Silence --without-x compilation.
9106
9107 * image.el (image-type-from-buffer, image-multi-frame-p):
9108 Remove --without-x warning/error.
9109
9110 * mouse.el (mouse-yank-primary):
9111 * term.el (term-mouse-paste):
9112 Reorder to silence --without-x compilation.
9113
9114 * mpc.el (doc-view-mode): Silence --without-x compilation.
9115
9116 * mail/rmailmm.el (rmail-mime-set-bulk-data):
9117 Silence --without-x compilation.
9118
9119 * progmodes/gud.el (gud-find-file, gud-mode):
9120 Silence --without-x compilation.
9121 (tooltip-mode): Declare.
9122
9123 * wdired.el (dired-backup-overwrite): Remove declaration.
9124 (wdired-mode-map): Add doc string.
9125
9126 * custom.el (x-get-resource): Declare.
9127
9128 * eshell/em-glob.el (ange-cache):
9129 * eshell/em-unix.el (ange-cache): Declare.
9130
9131 * faces.el (x-display-list, x-open-connection, x-get-resource):
9132 Declare.
9133
9134 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
9135 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
9136 Declare.
9137
9138 * frame.el (x-display-grayscale-p, x-display-name): Declare.
9139
9140 * net/gnutls.el (gnutls-log-level): Declare.
9141
9142 * net/shr.el (image-size, image-animate): Declare.
9143
9144 * simple.el (font-info): Declare.
9145
9146 * subr.el (x-popup-dialog): Declare.
9147
9148 * term/common-win.el (x-select-enable-primary)
9149 (x-last-selected-text-primary, x-last-selected-text-clipboard):
9150 Declare.
9151
9152 * term/ns-win.el (x-handle-args): Declare.
9153
9154 * term/x-win.el (x-select-enable-clipboard): Declare.
9155
9156 * term/w32-win.el (create-default-fontset): Declare.
9157
9158 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
9159 Declare.
9160
9161 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
9162 (fit-frame-to-buffer): Explicit error if --without-x.
9163 (mouse-autoselect-window-select): Silence compiler.
9164
9165 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9166
9167 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
9168 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
9169 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
9170 * eshell/esh-util.el (eshell-sublist):
9171 Remove unused local variables.
9172
9173 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
9174
9175 * textmodes/two-column.el: Make 2C-split work for --without-x.
9176 (scroll-bar-columns): Autoload.
9177 (top-level): Require fringe when compiling.
9178
9179 2013-09-18 Leo Liu <sdl.web@gmail.com>
9180
9181 * subr.el (add-hook): Robustify to handle closure as well.
9182
9183 2013-09-17 Glenn Morris <rgm@gnu.org>
9184
9185 * simple.el (messages-buffer-mode-map): Unbind "g".
9186
9187 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9188
9189 * help-mode.el (help-mode-finish): Use derived-mode-p.
9190 Remove obsolete highlighting.
9191
9192 * play/life.el (life-mode): Use define-derived-mode. Derive from
9193 special-mode.
9194 (life): Let-bind inhibit-read-only.
9195 (life-setup): Avoid `setq'. Use `life-mode'.
9196
9197 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
9198 which should not be needed any more.
9199 (package-menu-refresh, package-menu-describe-package): Use user-error.
9200
9201 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
9202 (eshell-post-rewrite-command-hook): Make obsolete.
9203 (eshell-parse-command): Simplify.
9204 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
9205 (eshell--cmd): Declare.
9206 (eshell-parse-pipeline): Remove unused var `final-p'.
9207 Pass a dynvar to eshell-post-rewrite-command-hook.
9208 Implement the new eshell-post-rewrite-command-function.
9209 (eshell-invoke-directly): Remove unused arg `input'.
9210 * eshell/esh-io.el (eshell-io-initialize):
9211 Use eshell-post-rewrite-command-function (bug#15399).
9212 (eshell--apply-redirections): Rename from eshell-apply-redirections;
9213 adjust to new calling convention.
9214 (eshell-create-handles): Rename args to avoid clashing with dynvar
9215 `standard-output'.
9216
9217 2013-09-17 Glenn Morris <rgm@gnu.org>
9218
9219 * simple.el (messages-buffer-mode): New major mode.
9220 (messages-buffer): New function.
9221 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
9222 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
9223 (ert-run-test): Use `messages-buffer' function.
9224 (ert--force-message-log-buffer-truncation): Ignore read-only.
9225 * help.el (view-echo-area-messages): Use `messages-buffer' function.
9226 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
9227
9228 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9229
9230 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
9231
9232 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
9233
9234 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9235
9236 * icomplete.el (icomplete-in-buffer): New var.
9237 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
9238 vars and replace them with functions.
9239 (icomplete-minibuffer-setup): Adjust accordingly.
9240 (icomplete--completion-table, icomplete--completion-predicate)
9241 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
9242 New functions.
9243 (icomplete-forward-completions, icomplete-backward-completions)
9244 (icomplete-simple-completing-p, icomplete-exhibit)
9245 (icomplete-completions): Use them.
9246 (icomplete--in-region-buffer): New var.
9247 (icomplete--in-region-setup): New function.
9248 (icomplete-mode): Use it.
9249
9250 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
9251 (bug#15379).
9252 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
9253 return args and options.
9254 (eshell-eval-using-options): Use the new return value of
9255 eshell--do-opts to set the options's vars in their scope.
9256 (eshell--set-option): Rename from eshell-set-option.
9257 Add arg `opt-vals'.
9258 (eshell--process-option): Rename from eshell-process-option.
9259 Add arg `opt-vals'.
9260 (eshell--process-args): Use an `opt-vals' alist to store the options's
9261 values during their processing and return them additionally to the
9262 remaining args.
9263
9264 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
9265
9266 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
9267 continuation character an operator, as far as indentation is
9268 concerned (Bug#15369).
9269
9270 2013-09-15 Martin Rudalics <rudalics@gmx.at>
9271
9272 * window.el (window--state-put-2): Don't process buffer state
9273 when buffer doesn't exist any more (Bug#15382).
9274
9275 2013-09-15 Glenn Morris <rgm@gnu.org>
9276
9277 * eshell/em-unix.el (eshell/rm):
9278 Make -f ignore missing files. (Bug#15373)
9279
9280 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
9281 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
9282 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
9283
9284 2013-09-14 Glenn Morris <rgm@gnu.org>
9285
9286 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
9287
9288 2013-09-13 Glenn Morris <rgm@gnu.org>
9289
9290 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
9291 (dired-guess-default): Make `file' available in the env. (Bug#15363)
9292
9293 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
9294
9295 * frame.el (x-focus-frame): Mark as declared in frame.c.
9296
9297 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9298
9299 * ls-lisp.el: Use advice-add.
9300 (original-insert-directory): Remove.
9301 (ls-lisp--insert-directory): Rename from insert-directory; add
9302 `orig-fun' argument.
9303 (insert-directory): Advise.
9304
9305 2013-09-13 Eli Zaretskii <eliz@gnu.org>
9306
9307 * term.el (term-emulate-terminal): Decode the command string
9308 before passing it to term-command-hook. (Bug#15337)
9309
9310 2013-09-13 Glenn Morris <rgm@gnu.org>
9311
9312 * eshell/esh-util.el (ange-cache): Move declaration earlier.
9313
9314 * eshell/esh-ext.el (eshell-search-path): Declare.
9315
9316 * eshell/em-prompt.el (eshell/pwd): Autoload it.
9317 Otherwise an error occurs if eshell-dirs module not loaded.
9318
9319 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9320
9321 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
9322
9323 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9324 `tramp-check-proper-host'. Check for a valid method name.
9325
9326 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9327 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9328 * net/tramp-sh.el (tramp-maybe-open-connection):
9329 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9330
9331 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9332 also for hash values.
9333
9334 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9335
9336 * term/ns-win.el (parameters): Don't declare as dynamic.
9337 (before-make-frame-hook): Don't add ineffective function.
9338
9339 * eshell/*.el: Use lexical-binding (bug#15231).
9340
9341 2013-09-12 Kenichi Handa <handa@gnu.org>
9342
9343 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9344
9345 2013-09-12 Glenn Morris <rgm@gnu.org>
9346
9347 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9348 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9349
9350 * subr.el (do-after-load-evaluation): Also give compiler warnings
9351 when obsolete files are used (except by obsolete files).
9352
9353 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9354 in the status output, assume `filename' is the first. (Bug#15322)
9355
9356 * vc/vc.el (vc-deduce-fileset): Doc fix.
9357
9358 * calc/calc-help.el (Info-goto-node):
9359 * progmodes/cperl-mode.el (Info-find-node):
9360 * vc/ediff.el (Info-goto-node): Update declarations.
9361
9362 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9363
9364 * vc/vc-bzr.el (vc-compilation-mode): Declare.
9365 (vc-bzr-pull): Require vc-dispatcher.
9366 * vc/vc-git.el (vc-compilation-mode): Declare.
9367 (vc-git-pull): Require vc-dispatcher.
9368
9369 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9370
9371 * progmodes/octave.el (help-button-action): Declare.
9372
9373 * shell.el (shell-directory-tracker): Output error as a message
9374 rather than just returning it as a string.
9375 (shell-process-pushd): Remove useless use of message.
9376
9377 * dframe.el (dframe-timer-fn):
9378 * files.el (dir-locals-read-from-file):
9379 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9380 (mpc-format):
9381 * reveal.el (reveal-post-command):
9382 * saveplace.el (load-save-place-alist-from-file):
9383 * shell.el (shell-resync-dirs):
9384 * w32-common-fns.el (x-get-selection-value):
9385 * emacs-lisp/copyright.el (copyright-find-copyright):
9386 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9387 * emulation/tpu-edt.el (tpu-copy-keyfile):
9388 * play/bubbles.el (bubbles--mark-neighbourhood):
9389 * progmodes/executable.el
9390 (executable-make-buffer-file-executable-if-script-p):
9391 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9392
9393 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9394
9395 Cleanup Eshell to rely less on dynamic scoping.
9396 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9397 last-value, and ext-command here. Bind `args' closer to `body'.
9398 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9399 (eshell--args): Declare new dynamic var.
9400 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
9401 last-value, and ext-command. Pass `args' to `body'.
9402 (eshell-process-args): Bind eshell--args.
9403 (eshell-set-option): Use eshell--args.
9404 * eshell/eshell.el (eshell): Use derived-mode-p.
9405 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9406 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9407 (eshell-glob-function): Declare.
9408 * eshell/esh-util.el: Require cl-lib.
9409 (eshell-read-hosts-file): Avoid add-to-list.
9410 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9411 `err'.
9412 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9413 Declare.
9414 (eshell/diff): Remove unused var `err'.
9415 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9416 `killflag'.
9417 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9418 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9419 first use.
9420 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9421 Move declaration before first use.
9422 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9423 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9424 rely on cl-return.
9425
9426 2013-09-12 Glenn Morris <rgm@gnu.org>
9427
9428 * term/ns-win.el (global-map): Remove binding for ispell-next,
9429 deleted 1999-05-29. (Bug#15357)
9430
9431 2013-09-11 Glenn Morris <rgm@gnu.org>
9432
9433 * echistory.el (electric-command-history): Remove call to deleted func.
9434
9435 * play/landmark.el (landmark-mode): Fix typos.
9436
9437 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9438 Check cvs-sort-ignore-file is bound.
9439
9440 * savehist.el: No need for cl when compiling on Emacs.
9441
9442 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9443
9444 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9445 (bug#15338).
9446 (eshell-self-insert-command, eshell-send-invisible):
9447 Remove unused argument.
9448 (eshell-handle-control-codes): Remove unused var `orig'.
9449 Avoid delete-backward-char.
9450
9451 * files.el (set-auto-mode): Simplify a bit further.
9452
9453 2013-09-11 Glenn Morris <rgm@gnu.org>
9454
9455 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9456 (set-auto-mode): Don't regexp-quote elements.
9457 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9458 * progmodes/cc-mode.el (interpreter-mode-alist):
9459 * progmodes/ruby-mode.el (interpreter-mode-alist):
9460 Revert previous change.
9461
9462 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9463
9464 * play/snake.el (snake-mode):
9465 * play/mpuz.el (mpuz-mode):
9466 * play/landmark.el (lm-mode):
9467 * play/blackbox.el (blackbox-mode):
9468 * play/5x5.el (5x5-mode):
9469 * obsolete/options.el (Edit-options-mode):
9470 * net/quickurl.el (quickurl-list-mode):
9471 * net/newst-treeview.el (newsticker-treeview-mode):
9472 * mail/rmailsum.el (rmail-summary-mode):
9473 * mail/mspools.el (mspools-mode):
9474 * locate.el (locate-mode):
9475 * ibuffer.el (ibuffer-mode):
9476 * emulation/ws-mode.el (wordstar-mode):
9477 * emacs-lisp/debug.el (debugger-mode):
9478 * array.el (array-mode):
9479 * net/eudc.el (eudc-mode): Use define-derived-mode.
9480 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9481 Move initialization into declaration.
9482 (mairix-searches-mode): Use define-derived-mode.
9483 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9484 (eudc-edit-hotlist): Use dolist.
9485 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9486 (Man-mode): Use define-derived-mode.
9487 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9488 (Info-edit-mode): Use define-derived-mode.
9489 (Info-cease-edit): Use Info-mode.
9490 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9491 into declaration.
9492 (eshell-mode): Use define-derived-mode.
9493 * chistory.el (command-history-mode-map): Rename from
9494 command-history-map.
9495 (command-history-mode): Use define-derived-mode.
9496 (Command-history-setup): Remove function.
9497 * calc/calc.el (calc-trail-mode-map): New var.
9498 (calc-trail-mode): Use define-derived-mode.
9499 (calc-trail-buffer): Set calc-main-buffer manually.
9500 * bookmark.el (bookmark-insert-annotation): New function.
9501 (bookmark-edit-annotation): Use it.
9502 (bookmark-edit-annotation-mode): Make it a proper major mode.
9503 (bookmark-send-edited-annotation): Use derived-mode-p.
9504 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9505 closer to its ideal place. Use \' to match EOS.
9506
9507 * profiler.el (profiler-calltree-find): Use function-equal.
9508
9509 2013-09-10 Glenn Morris <rgm@gnu.org>
9510
9511 * files.el (interpreter-mode-alist): Convert to regexps.
9512 (set-auto-mode): Adapt for this. (Bug#15306)
9513 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9514 Comment out unused variable.
9515 * progmodes/cc-mode.el (interpreter-mode-alist):
9516 * progmodes/python.el (interpreter-mode-alist):
9517 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9518 * progmodes/sh-script.el (sh-set-shell):
9519 No longer use interpreter-mode-alist to get list of shells.
9520
9521 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9522
9523 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9524
9525 * simple.el: Use set-temporary-overlay-map for universal-argument.
9526 (universal-argument-map): Don't use default-bindings (bug#15317).
9527 Bind switch-frame explicitly. Replace universal-argument-minus with
9528 a conditional binding.
9529 (universal-argument-num-events, saved-overriding-map): Remove.
9530 (restore-overriding-map): Remove.
9531 (universal-argument--mode): Rename from save&set-overriding-map,
9532 and rewrite.
9533 (universal-argument, universal-argument-more, negative-argument)
9534 (digit-argument): Adjust accordingly.
9535 (universal-argument-minus): Remove.
9536 (universal-argument-other-key): Remove.
9537
9538 * subr.el (with-demoted-errors): Add `format' argument.
9539
9540 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9541
9542 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9543 `tramp-cleanup-connection'.
9544
9545 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9546 parameters KEEP-DEBUG and KEEP-PASSWORD.
9547
9548 * net/tramp.el (tramp-file-name-handler):
9549 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9550 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9551 (tramp-maybe-open-connection):
9552 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9553 Use `tramp-cleanup-connection'.
9554
9555 * net/tramp-sh.el (tramp-maybe-open-connection):
9556 Catch 'uname-changed inside the progress reporter.
9557
9558 2013-09-10 Glenn Morris <rgm@gnu.org>
9559
9560 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9561
9562 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9563 returns "alternate access method" in mode (eg "-rw-r--r--.").
9564
9565 2013-09-08 Glenn Morris <rgm@gnu.org>
9566
9567 * saveplace.el (load-save-place-alist-from-file):
9568 Demote errors. (Bug#15305)
9569
9570 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9571
9572 Improve compatibility with older Emacsen, and XEmacs.
9573
9574 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9575 only if it is bound. It isn't for XEmacs.
9576 (with-tramp-progress-reporter): Do not let-bind `result'.
9577 This yields to scoping errors in XEmacs.
9578 (tramp-handle-make-auto-save-file-name): New function, moved from
9579 tramp-sh.el.
9580
9581 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9582 for `make-auto-save-file-name'.
9583 (tramp-adb--gnu-switches-to-ash):
9584 Use `tramp-compat-replace-regexp-in-string'.
9585
9586 * net/tramp-cache.el (tramp-cache-print): Call
9587 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9588
9589 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9590 bound. It isn't for XEmacs.
9591
9592 * net/tramp-compat.el (tramp-compat-copy-file):
9593 Catch `wrong-number-of-arguments' error.
9594 (tramp-compat-replace-regexp-in-string): New defun.
9595
9596 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9597 for `make-auto-save-file-name'.
9598 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9599 `copy-file'.
9600 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9601 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9602 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9603
9604 * net/tramp-gw.el (tramp-gw-open-network-stream):
9605 Use `tramp-compat-replace-regexp-in-string'.
9606
9607 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9608 Call `tramp-handle-make-auto-save-file-name'.
9609 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9610 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9611 (tramp-sh-file-inotifywait-process-filter):
9612 Use `tramp-compat-replace-regexp-in-string'.
9613 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9614
9615 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9616 for `make-auto-save-file-name'.
9617 (tramp-smb-handle-copy-directory):
9618 Call `tramp-compat-replace-regexp-in-string'.
9619 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9620 (tramp-smb-handle-copy-file): Improve error message.
9621 (tramp-smb-handle-rename-file): Rename directly only in case
9622 `newname' does not exist yet. This is a restriction of smbclient.
9623 (tramp-smb-maybe-open-connection): Rerun the function only when
9624 `auth-sources' is non-nil.
9625
9626 2013-09-08 Kenichi Handa <handa@gnu.org>
9627
9628 * international/characters.el: Set category "^" (Combining) for
9629 more characters.
9630
9631 2013-09-07 Alan Mackenzie <acm@muc.de>
9632
9633 Correctly fontify Java class constructors.
9634 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9635 in Java Mode.
9636 (c-recognize-typeless-decls): Set the Java value to t.
9637 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9638 While handling a "(", add a check for, effectively, Java, and handle a
9639 "typeless" declaration there.
9640
9641 2013-09-07 Roland Winkler <winkler@gnu.org>
9642
9643 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9644 field subtitle for entry type book.
9645
9646 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9647
9648 * minibuffer.el: Make minibuffer-complete call completion-in-region
9649 rather than other way around.
9650 (completion--some, completion-pcm--find-all-completions):
9651 Don't delay signals when debugging.
9652 (minibuffer-completion-contents): Beware fields within the
9653 minibuffer contents.
9654 (completion-all-sorted-completions): Use defvar-local.
9655 (completion--do-completion, completion--cache-all-sorted-completions)
9656 (completion-all-sorted-completions, minibuffer-force-complete):
9657 Add args `beg' and `end'.
9658 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9659 (minibuffer-complete): Use completion-in-region.
9660 (completion-complete-and-exit): New fun, extracted from
9661 minibuffer-complete-and-exit.
9662 (minibuffer-complete-and-exit): Use it.
9663 (completion--complete-and-exit): Rename from
9664 minibuffer--complete-and-exit.
9665 (completion-in-region--single-word): New function, extracted from
9666 minibuffer-complete-word.
9667 (minibuffer-complete-word): Use it.
9668 (display-completion-list): Make `common-substring' argument obsolete.
9669 (completion--in-region): Call completion--in-region-1 instead of
9670 minibuffer-complete.
9671 (completion-help-at-point): Pass boundaries to
9672 minibuffer-completion-help as args rather than via an overlay.
9673 (completion-pcm--string->pattern): Use `any-delim'.
9674 (completion-pcm--optimize-pattern): New function.
9675 (completion-pcm--pattern->regex): Handle `any-delim'.
9676 * icomplete.el (icomplete-forward-completions)
9677 (icomplete-backward-completions, icomplete-completions):
9678 Adjust calls to completion-all-sorted-completions and
9679 completion--cache-all-sorted-completions.
9680 (icomplete-with-completion-tables): Default to t.
9681 * emacs-lisp/crm.el (crm--current-element): Rename from
9682 crm--select-current-element. Don't put an overlay but return the
9683 boundaries instead.
9684 (crm--completion-command): Take two new args to bind to the boundaries.
9685 (crm-completion-help): Adjust accordingly.
9686 (crm-complete): Use completion-in-region.
9687 (crm-complete-word): Use completion-in-region--single-word.
9688 (crm-complete-and-exit): Use completion-complete-and-exit.
9689
9690 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9691
9692 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9693 than dynamically.
9694
9695 2013-09-06 Juri Linkov <juri@jurta.org>
9696
9697 * info.el (Info-display-images-node): When image file doesn't exist
9698 display text version of the image if it's provided in the Info file.
9699 Otherwise, display the location of missing image from SRC attribute.
9700 Add help-echo text property from ALT attribute. (Bug#15279)
9701
9702 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9703
9704 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9705 (edit-abbrevs-mode): Use define-derived-mode.
9706
9707 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9708 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9709 that it's defined.
9710 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9711 Use define-derived-mode.
9712
9713 * epg.el (epg-start-encrypt): Minor CSE simplification.
9714
9715 2013-09-06 William Xu <william.xwl@gmail.com>
9716
9717 * arc-mode.el: Add support for 7za (bug#15264).
9718 (archive-7z-program): New var.
9719 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9720 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9721 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9722
9723 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9724
9725 Remove URL syntax.
9726
9727 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9728 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9729 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9730 (tramp-postfix-host-format, tramp-file-name-regexp)
9731 (tramp-completion-file-name-regexp)
9732 (tramp-completion-dissect-file-name)
9733 (tramp-handle-substitute-in-file-name): Remove 'url case.
9734 (tramp-file-name-regexp-url)
9735 (tramp-completion-file-name-regexp-url): Remove constants.
9736
9737 2013-09-06 Glenn Morris <rgm@gnu.org>
9738
9739 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9740
9741 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9742
9743 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9744 keywords" below "here-doc beginnings" (Bug#15270).
9745
9746 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9747
9748 * subr.el (pop): Use `car-safe'.
9749 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9750 to detect unused `pop' return value.
9751
9752 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9753 var `block-regexp'.
9754 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9755 (python-fill-string): Remove unused var `marker'.
9756 (python-skeleton-add-menu-items): Remove unused var `items'.
9757
9758 * international/mule-cmds.el: Require CL.
9759 (find-coding-systems-for-charsets): Avoid add-to-list.
9760 (sanitize-coding-system-list): New function, extracted from
9761 select-safe-coding-system-interactively.
9762 (select-safe-coding-system-interactively): Use it.
9763 (read-input-method-name): Accept symbols for `default'.
9764
9765 * emacs-lisp/advice.el (defadvice): Add indent rule.
9766
9767 2013-09-05 Daniel Hackney <dan@haxney.org>
9768
9769 * dired-x.el:
9770 * net/ange-ftp.el:
9771 * net/browse-url.el:
9772 * net/dbus.el:
9773 * net/eudc.el:
9774 * net/eudcb-ldap.el:
9775 * net/eww.el:
9776 * net/imap.el:
9777 * printing.el:
9778 * vc/ediff-diff.el:
9779 * vc/ediff-init.el:
9780 * vc/ediff-merg.el:
9781 * vc/ediff-mult.el:
9782 * vc/ediff-util.el:
9783 * vc/ediff-wind.el:
9784 * vc/ediff.el:
9785 * vc/emerge.el:
9786 * vc/pcvs.el:
9787 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9788 byte compiler. Remove some unused let-bound variables.
9789
9790 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9791
9792 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9793 a "ref-cell", since it gets better optimized (bug#14883).
9794
9795 2013-09-05 Glenn Morris <rgm@gnu.org>
9796
9797 * progmodes/cc-awk.el (c-forward-sws): Declare.
9798
9799 2013-09-04 Glenn Morris <rgm@gnu.org>
9800
9801 * generic-x.el [rul-generic-mode]: Require cc-mode.
9802 (c++-mode-syntax-table): Declare.
9803 (rul-generic-mode-syntax-table): Init in the defvar.
9804
9805 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9806
9807 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9808 (vc-do-command, vc-set-async-update):
9809 * vc/vc-mtn.el (vc-mtn-dir-status):
9810 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9811 (vc-hg-pull, vc-hg-merge-branch):
9812 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9813 (vc-git-merge-branch):
9814 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9815 (vc-cvs-dir-status-files):
9816 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9817 (vc-bzr-dir-status-files):
9818 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9819 * vc/vc-annotate.el: Use lexical-binding.
9820 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9821 (vc-sentinel-movepoint): Declare.
9822 (vc-annotate): Don't use `goto-line'.
9823 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9824 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9825 (vc-sentinel-movepoint): Declare.
9826 * vc/vc-svn.el: Use lexical-binding.
9827 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9828 * vc/vc-sccs.el:
9829 * vc/vc-rcs.el: Use lexical-binding.
9830
9831 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9832 `deleted'. Don't drop errors silently.
9833
9834 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9835
9836 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9837
9838 * vc/vc.el (vc-ignore): Rewrite.
9839 (vc-default-ignore): New function.
9840 (vc-default-ignore-completion-table): Use find-ignore-file.
9841
9842 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9843 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9844 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9845 Remove. Most code moved to vc.el.
9846
9847 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9848
9849 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9850 * net/tramp-smb.el (tramp-smb-get-file-entries):
9851 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9852 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9853
9854 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9855 Update call to it.
9856 (eww-change-select): Remove unused var `properties'.
9857 (eww-make-unique-file-name): Remove unused var `base'.
9858
9859 * finder.el (finder-compile-keywords): Don't mess with windows.
9860
9861 * calculator.el (calculator-funcall): Fix typo in last change.
9862
9863 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9864
9865 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9866 <pkg>-autoloads.el file stop us.
9867
9868 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9869 warnings, and factor out common code.
9870
9871 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9872
9873 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9874 two-character operators and whether the character preceding them
9875 changes their meaning (Bug#15208).
9876
9877 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9878
9879 Format code sent to Python shell for robustness.
9880 * progmodes/python.el (python-shell-buffer-substring):
9881 New function.
9882 (python-shell-send-region, python-shell-send-buffer): Use it.
9883
9884 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9885
9886 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9887 * net/tramp.el (tramp-user-error): ... here.
9888 (tramp-find-method, tramp-check-proper-host)
9889 (tramp-dissect-file-name, tramp-debug-message)
9890 (tramp-handle-shell-command):
9891 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9892 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9893
9894 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9895
9896 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9897
9898 * avoid.el (mouse-avoidance-point-position)
9899 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9900 returns nil.
9901
9902 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9903
9904 * progmodes/python.el (python-shell-completion-get-completions):
9905 Drop use of deleted `comint-last-prompt-overlay'.
9906 (python-nav-if-name-main): New command.
9907
9908 2013-09-01 Glenn Morris <rgm@gnu.org>
9909
9910 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9911 Avoid leading space in $wins. Otherwise the sed command used by
9912 eg compile-main ends up containing "/*.el". (Bug#15170)
9913
9914 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9915
9916 2013-08-30 Glenn Morris <rgm@gnu.org>
9917
9918 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9919 Fix is-this-a-directory logic. (Bug#15220)
9920
9921 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9922
9923 * textmodes/css-mode.el: Use SMIE.
9924 (css-smie-grammar): New var.
9925 (css-smie--forward-token, css-smie--backward-token)
9926 (css-smie-rules): New functions.
9927 (css-mode): Use them.
9928 (css-navigation-syntax-table): Remove var.
9929 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9930 (css-indent-calculate, css-indent-line): Remove functions.
9931
9932 Misc changes to reduce use of `(lambda...); and other cleanups.
9933 * cus-edit.el: Use lexical-binding.
9934 (customize-push-and-save, customize-apropos)
9935 (custom-buffer-create-internal): Use closures.
9936 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9937 * progmodes/ada-xref.el: Use setq.
9938 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9939 * dframe.el: Use lexical-binding.
9940 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9941 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9942 * descr-text.el: Use lexical-binding.
9943 (describe-text-widget, describe-text-sexp, describe-property-list):
9944 Use closures.
9945 * comint.el (comint-history-isearch-push-state): Use a closure.
9946 * calculator.el: Use lexical-binding.
9947 (calculator-number-to-string): Make it work with lexical-binding.
9948 (calculator-funcall): Same and use cl-letf.
9949
9950 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9951 (lisp--company-doc-string, lisp--company-location): New functions.
9952 (lisp-completion-at-point): Use them to improve Company support.
9953
9954 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9955 params of lambda expressions.
9956 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9957 (ruby-smie--opening-pipe-p): New function.
9958 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9959 symbols and matched |...| for formal params.
9960 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9961 from being treated as hanging. Handle "rescue".
9962
9963 2013-08-29 Glenn Morris <rgm@gnu.org>
9964
9965 * progmodes/cc-engine.el (c-pull-open-brace):
9966 Move definition before use.
9967
9968 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9969
9970 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9971 are immutable. Don't use `unsafe' any more.
9972 (cl--defsubst-expand): Don't substitute at the same time as keeping
9973 a residual unused let-binding. Don't use `unsafe' any more.
9974
9975 2013-08-29 Glenn Morris <rgm@gnu.org>
9976
9977 * calendar/cal-china.el (calendar-chinese-year-cache):
9978 Recenter on 2015.
9979
9980 * nxml/nxml-util.el (nxml-debug-clear-inside):
9981 Use cl-loop rather than loop.
9982
9983 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9984
9985 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9986
9987 2013-08-28 Glenn Morris <rgm@gnu.org>
9988
9989 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9990
9991 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9992
9993 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9994
9995 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9996
9997 * simple.el (repeat-complex-command--called-interactively-skip):
9998 New function.
9999 (repeat-complex-command): Use it (bug#14136).
10000
10001 * progmodes/cc-mode.el: Minor cleanup of var declarations.
10002 (c-define-abbrev-table): Add `doc' argument.
10003 (c-mode-abbrev-table, c++-mode-abbrev-table)
10004 (objc-mode-abbrev-table, java-mode-abbrev-table)
10005 (idl-mode-abbrev-table, pike-mode-abbrev-table)
10006 (awk-mode-abbrev-table): Use it.
10007 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
10008 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
10009 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
10010 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
10011 Move initialization into the declaration; and remove any
10012 autoload cookie.
10013
10014 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
10015 and dynamic let binding.
10016
10017 * vc/smerge-mode.el: Remove redundant :group args.
10018
10019 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
10020 to load-path.
10021
10022 2013-08-28 Juri Linkov <juri@jurta.org>
10023
10024 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
10025 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
10026 (isearch-other-meta-char): Handle an undefined shifted printing
10027 character by downshifting it. (Bug#15200)
10028
10029 2013-08-28 Juri Linkov <juri@jurta.org>
10030
10031 * isearch.el (isearch-search): Change regexp error message for
10032 non-regexp searches. (Bug#15166)
10033
10034 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
10035
10036 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
10037 for portability to hosts where /bin/sh has problems.
10038
10039 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10040
10041 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
10042
10043 2013-08-27 Juri Linkov <juri@jurta.org>
10044
10045 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
10046 in the keyboard macro. (Bug#15126)
10047
10048 2013-08-27 Juri Linkov <juri@jurta.org>
10049
10050 * isearch.el (isearch-quote-char): Comment out converting unibyte
10051 to multibyte, thus syncing with its `quoted-insert' counterpart.
10052 (Bug#15166)
10053
10054 2013-08-27 Martin Rudalics <rudalics@gmx.at>
10055
10056 * window.el (display-buffer-use-some-window): Add missing
10057 argument in call of get-largest-window (Bug#15185).
10058 Reported by Stephen Leake.
10059
10060 2013-08-27 Glenn Morris <rgm@gnu.org>
10061
10062 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
10063
10064 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
10065
10066 * progmodes/python.el (python-font-lock-keywords): Don't return nil
10067 from a matcher-function unless there's no more matches (bug#15161).
10068
10069 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10070
10071 * minibuffer.el: Revert change from 2013-08-20.
10072
10073 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
10074 with text property `tramp-default', if appropriate.
10075 (tramp-check-proper-host): New defun.
10076 (tramp-dissect-file-name): Do not check hostname. Revert change
10077 of 2013-03-18.
10078 (tramp-backtrace): Make VEC-OR-PROC optional.
10079
10080 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10081 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10082 * net/tramp-sh.el (tramp-maybe-open-connection):
10083 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10084 Apply `tramp-check-proper-host'.
10085
10086 2013-08-26 Tassilo Horn <tsdh@gnu.org>
10087
10088 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
10089 lambda expression in order to have `describe-variable' display it.
10090
10091 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10092
10093 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
10094 BUF can be optional. (Bug#15186)
10095
10096 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
10097
10098 * progmodes/flymake.el (flymake-get-real-file-name-function):
10099 Fix broken customization. (Bug#15184)
10100
10101 2013-08-25 Alan Mackenzie <acm@muc.de>
10102
10103 Improve indentation of bracelists defined by macros (without "=").
10104
10105 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
10106 expansion begins with "{", regard it as bracelist when it doesn't
10107 contain a ";".
10108
10109 Parse C++ inher-intro when there's a template split over 2 lines.
10110
10111 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
10112 rigorously the search for "class" etc. followed by ":".
10113
10114 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
10115 random languages a regexp which never matches rather than nil.
10116
10117 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
10118
10119 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
10120 (c-awk-regexp-one-line-possibly-open-char-list-re)
10121 (c-awk-one-line-possibly-open-regexp-re)
10122 (c-awk-one-line-non-syn-ws*-re): Remove.
10123 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
10124 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
10125 (c-awk-space*-unclosed-regexp-/-re): New constants.
10126 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
10127 aren't regexp delimiters.
10128
10129 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
10130 handling for a rare situation in AWK Mode involving unterminated
10131 strings/regexps.
10132
10133 2013-08-23 Glenn Morris <rgm@gnu.org>
10134
10135 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
10136
10137 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
10138
10139 * files.el (create-file-buffer): If the result would begin with
10140 spaces, prepend a "|" instead of removing them. (Bug#15162)
10141
10142 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10143
10144 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
10145 text-properties (bug#15155).
10146
10147 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
10148 exist any more.
10149 (calc-keypad-redraw): Remove unused var `pad'.
10150 (calc-keypad-press): Remove unused var `menu'.
10151
10152 2013-08-23 Martin Rudalics <rudalics@gmx.at>
10153
10154 * window.el (display-buffer-pop-up-frame):
10155 Call pop-up-frame-function with BUFFER current so `make-frame' will
10156 use it as the new frame's buffer (Bug#15133).
10157
10158 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10159
10160 * calendar/timeclock.el: Minor cleanups.
10161 (timeclock-ask-before-exiting, timeclock-use-display-time):
10162 Use `symbol'.
10163 (timeclock-modeline-display): Define as alias before the
10164 actual definition.
10165 (timeclock-mode-line-display): Use define-minor-mode.
10166 (timeclock-day-list-template): Make it a function, add an argument.
10167 (timeclock-day-list-required, timeclock-day-list-length)
10168 (timeclock-day-list-debt, timeclock-day-list-span)
10169 (timeclock-day-list-break): Adjust calls accordingly.
10170
10171 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
10172
10173 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
10174 Use read--expression so that completion works again.
10175
10176 2013-08-21 Sam Steingold <sds@gnu.org>
10177
10178 Add rudimentary inferior shell interaction
10179 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
10180 (sh-set-shell): Reset it.
10181 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
10182 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
10183
10184 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
10185
10186 * align.el: Use lexical-binding.
10187 (align-region): Simplify accordingly.
10188
10189 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
10190
10191 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
10192
10193 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
10194 `non-essential' up.
10195
10196 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
10197
10198 * net/tramp.el:
10199 * net/tramp-adb.el:
10200 * net/tramp-cmds.el:
10201 * net/tramp-ftp.el:
10202 * net/tramp-gvfs.el:
10203 * net/tramp-gw.el:
10204 * net/tramp-sh.el: Don't wrap external variable declarations by
10205 `eval-when-compile'.
10206
10207 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10208
10209 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
10210 now that Emacs supports ImageMagick animations.
10211
10212 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
10213
10214 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
10215 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
10216
10217 2013-08-16 Martin Rudalics <rudalics@gmx.at>
10218
10219 * window.el (mouse-autoselect-window-select): Do autoselect when
10220 mouse pointer is on margin.
10221
10222 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
10223
10224 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
10225
10226 2013-08-16 Glenn Morris <rgm@gnu.org>
10227
10228 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
10229 Handle "Remote Directory" response of some clients. (Bug#15058)
10230
10231 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
10232 Tweak warning. (Bug#14926)
10233
10234 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
10235 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
10236
10237 * image-mode.el (image-mode-map): Add menu items to reverse,
10238 increase, decrease, reset animation speed.
10239 (image--set-speed, image-increase-speed, image-decrease-speed)
10240 (image-reverse-speed, image-reset-speed): New functions.
10241 (image-mode-map): Add bindings for speed commands.
10242
10243 * image.el (image-animate-get-speed, image-animate-set-speed):
10244 New functions.
10245 (image-animate-timeout): Respect image :speed property.
10246
10247 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10248
10249 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
10250 previous line (bug#15101).
10251 (debugger-eval-expression, debugger-record-expression):
10252 Use read--expression (bug#15102).
10253
10254 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
10255
10256 Remove byte compiler warnings, visible when compiling with
10257 `byte-compile-force-lexical-warnings' set to t.
10258
10259 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
10260 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
10261 (tramp-handle-unhandled-file-name-directory)
10262 (tramp-handle-file-notify-add-watch, tramp-action-login)
10263 (tramp-action-succeed, tramp-action-permission-denied)
10264 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
10265 arguments with "_".
10266
10267 * net/tramp-adb.el (tramp-adb-parse-device-names)
10268 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
10269 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
10270 (tramp-adb-handle-file-truename): Remove unused arguments.
10271
10272 * net/tramp-cache.el (tramp-flush-directory-property)
10273 (tramp-flush-connection-property, tramp-list-connections)
10274 (tramp-parse-connection-properties): Prefix unused arguments with "_".
10275
10276 * net/tramp-compat.el (tramp-compat-make-temp-file):
10277 Rename FILENAME to F.
10278
10279 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10280 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
10281 (tramp-zeroconf-parse-workstation-device-names)
10282 (tramp-zeroconf-parse-webdav-device-names)
10283 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
10284
10285 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10286 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
10287
10288 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
10289 arguments.
10290 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
10291 (tramp-sh-handle-insert-file-contents-literally)
10292 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
10293 with "_".
10294 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
10295 Remove unused variables.
10296
10297 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10298 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10299 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10300
10301 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10302 Make them a defconst.
10303 (tramp-uuencode-region): Remove unused variable.
10304
10305 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
10306
10307 * frameset.el (frameset--prop-setter): New function.
10308 (frameset-prop): Add gv-setter declaration.
10309 (frameset-filter-minibuffer): Deal with the case that the minibuffer
10310 parameter was already set in FILTERED. Doc fix.
10311 (frameset--record-minibuffer-relationships): Allow saving a
10312 minibufferless frame without its corresponding minibuffer frame.
10313 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10314 frame, if the frame id matches.
10315 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10316 frames before orphaned ones.
10317 (frameset-restore): Warn about orphaned windows, instead of error out.
10318
10319 2013-08-14 Martin Rudalics <rudalics@gmx.at>
10320
10321 * window.el (window-make-atom): Don't overwrite parameter
10322 already present.
10323 (display-buffer-in-atom-window): Handle special case where we
10324 split an already atomic window.
10325 (window--major-non-side-window, display-buffer-in-side-window)
10326 (window--side-check): Ignore minibuffer window when walking
10327 window tree.
10328 (window-deletable-p): Return 'frame only if no other frame uses
10329 our minibuffer window.
10330 (record-window-buffer): Run buffer-list-update-hook.
10331 (split-window): Make sure window--check-frame won't destroy an
10332 existing atomic window in case the new window gets nested
10333 inside.
10334 (display-buffer-at-bottom): Ignore minibuffer window when
10335 walking window tree. Don't split a side window.
10336 (pop-to-buffer): Don't set-buffer here, the select-window call
10337 should do that.
10338 (mouse-autoselect-window-select): Autoselect only if we are in the
10339 text portion of the window.
10340
10341 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10342
10343 * net/shr.el (shr-parse-image-data): New function to grab both the
10344 data itself and the Content-Type.
10345 (shr-put-image): Use it.
10346
10347 * net/eww.el (eww-display-image): Ditto.
10348
10349 * image.el (image-content-type-suffixes): New variable.
10350
10351 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10352
10353 * progmodes/python.el (python-imenu--build-tree)
10354 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10355
10356 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
10357
10358 * simple.el (backward-word): Mention the optional argument.
10359
10360 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10361
10362 * frameset.el (frameset--make): Rename constructor from make-frameset.
10363 (frameset-p, frameset-valid-p): Don't autoload.
10364 (frameset-valid-p): Use normal accessors.
10365
10366 2013-08-13 Glenn Morris <rgm@gnu.org>
10367
10368 * progmodes/compile.el (compile-command): Tweak example in doc.
10369 * obsolete/scribe.el (scribe-mode):
10370 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
10371
10372 * mail/feedmail.el (feedmail-confirm-outgoing)
10373 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10374
10375 * cus-start.el (truncate-partial-width-windows): Fix type.
10376
10377 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10378
10379 * net/shr.el (shr-table-horizontal-line): Fix custom type.
10380
10381 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10382
10383 * emacs-lisp/timer.el (timer--time-setter): New function.
10384 (timer--time): Use it as gv-setter.
10385
10386 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10387 setter is not a symbol.
10388
10389 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
10390
10391 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10392 if sending fails. This makes debugging easier.
10393
10394 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
10395
10396 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10397 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10398 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10399
10400 2013-08-12 Eli Zaretskii <eliz@gnu.org>
10401
10402 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10403
10404 2013-08-12 Glenn Morris <rgm@gnu.org>
10405
10406 * format.el (format-annotate-function):
10407 Handle read-only text properties in the source. (Bug#14887)
10408
10409 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10410
10411 * net/eww.el (eww-display-html): Ignore coding system errors.
10412 One web site uses "utf-8lias" as the coding system.
10413
10414 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
10415
10416 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10417
10418 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
10419
10420 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10421 (tutorial--detailed-help): Remove unused local variables.
10422 (tutorial--save-tutorial-to): Use ignore-errors.
10423 (help-with-tutorial): Use looking-at-p.
10424
10425 * view.el (view-buffer-other-window, view-buffer-other-frame):
10426 Mark unused arguments.
10427
10428 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10429 (woman-select-symbol-fonts, woman, woman-find-file)
10430 (woman-insert-file-contents, woman-non-underline-faces):
10431 Use string-match-p.
10432 (woman1-unquote): Move declaration.
10433
10434 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10435 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10436 argument. Remove unused local variable.
10437 (xml-parse-elem-type): Use string-match-p.
10438 (xml-substitute-numeric-entities): Use ignore-errors.
10439
10440 * calculator.el (calculator): Mark unused argument.
10441 (calculator-paste, calculator-quit, calculator-integer-p):
10442 Use ignore-errors.
10443 (calculator-string-to-number, calculator-decimal, calculator-exp)
10444 (calculator-op-or-exp): Use string-match-p.
10445
10446 * dired.el (dired-buffer-more-recently-used-p): Declare.
10447 (dired-insert-set-properties, dired-insert-old-subdirs):
10448 Use ignore-errors.
10449
10450 * dired-aux.el (dired-compress): Use ignore-errors.
10451 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10452 (dired-do-async-shell-command, dired-do-shell-command)
10453 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10454 (dired-insert-subdir-validate): Use string-match-p.
10455 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10456 (dired-add-entry): Use string-match-p, looking-at-p.
10457 (dired-insert-subdir-newpos): Remove unused local variable.
10458
10459 * filenotify.el (file-notify-callback): Remove unused local variable.
10460
10461 * filesets.el (filesets-error): Mark unused argument.
10462 (filesets-which-command-p, filesets-filter-dir-names)
10463 (filesets-directory-files, filesets-get-external-viewer)
10464 (filesets-ingroup-get-data): Use string-match-p.
10465
10466 * find-file.el (ff-other-file-name, ff-other-file-name)
10467 (ff-find-the-other-file, ff-cc-hh-converter):
10468 Remove unused local variables.
10469 (ff-get-file-name): Use string-match-p.
10470 (ff-all-dirs-under): Use ignore-errors.
10471
10472 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10473 (follow-select-if-visible): Remove unused local variable.
10474
10475 * forms.el (read-file-filter): Move declaration.
10476 (forms--make-format, forms--make-parser, forms-insert-record):
10477 Quote function with #'.
10478 (forms--update): Use string-match-p. Quote function with #'.
10479
10480 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10481 (help-make-xrefs): Use looking-at-p.
10482 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10483
10484 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10485 (ibuffer-confirm-operation-on): Use string-match-p.
10486
10487 * msb.el (msb-item-handler, msb-dired-item-handler):
10488 Mark unused arguments.
10489
10490 * ses.el (ses-decode-cell-symbol)
10491 (ses-kill-override): Remove unused local variable.
10492 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10493 (ses-load): Use ignore-errors, looking-at-p.
10494 (ses-jump-safe): Use ignore-errors.
10495 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10496
10497 * tabify.el (untabify, tabify): Mark unused arguments.
10498
10499 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10500 Mark unused argument.
10501 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10502 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10503
10504 * emacs-lisp/timer.el (timer--time): Define setter with
10505 gv-define-setter to avoid deprecation warning.
10506
10507 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10508 (*record-cmpl-statistics-p*): Remove (was commented out).
10509 (cmpl-statistics-block): Remove (body was commented out).
10510 All callers changed.
10511 (add-completions-from-buffer, load-completions-from-file):
10512 Remove unused variables.
10513
10514 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10515
10516 * filecache.el (file-cache-delete-file-list):
10517 Print message only when told so.
10518 (file-cache-files-matching): Use #' in mapconcat argument.
10519
10520 * ffap.el (ffap-url-at-point): Fix reference to variable
10521 thing-at-point-default-mail-uri-scheme.
10522
10523 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10524
10525 * subr.el (define-error): New function.
10526 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10527 error-file-not-found and define with define-error.
10528 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10529 and define with define-error.
10530 * userlock.el (file-locked, file-supersession):
10531 * simple.el (mark-inactive):
10532 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10533 * progmodes/ada-mode.el (ada-mode-errors):
10534 * play/life.el (life-extinct):
10535 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10536 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10537 * nxml/rng-util.el (rng-error):
10538 * nxml/rng-uri.el (rng-uri-error):
10539 * nxml/rng-match.el (rng-compile-error):
10540 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10541 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10542 * nxml/nxml-rap.el (nxml-scan-error):
10543 * nxml/nxml-outln.el (nxml-outline-error):
10544 * net/soap-client.el (soap-error):
10545 * net/gnutls.el (gnutls-error):
10546 * net/ange-ftp.el (ftp-error):
10547 * mpc.el (mpc-proc-error):
10548 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10549 (json-number-format, json-string-escape, json-string-format)
10550 (json-key-format, json-object-format):
10551 * jka-compr.el (compression-error):
10552 * international/quail.el (quail-error):
10553 * international/kkc.el (kkc-error):
10554 * emacs-lisp/ert.el (ert-test-failed):
10555 * calc/calc.el (calc-error, inexact-result, math-overflow)
10556 (math-underflow):
10557 * bookmark.el (bookmark-error-no-filename):
10558 * epg.el (epg-error): Define with define-error.
10559
10560 * time.el (display-time-event-handler)
10561 (display-time-next-load-average): Don't call sit-for since it seems
10562 unnecessary (bug#15045).
10563
10564 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10565 Use #' instead of ' to quote functions.
10566 (checkdoc-output-mode): Use setq-local.
10567 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10568 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10569 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10570 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10571 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10572 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10573 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10574 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10575
10576 * ido.el (ido-completion-help): Fix up compiler warning.
10577
10578 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10579
10580 * frameset.el (frameset-p): Add autoload cookie.
10581 (frameset--jump-to-register): New function, based on code moved from
10582 register.el.
10583 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10584
10585 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10586 (frameset-restore, frameset-save, frameset-session-filter-alist):
10587 Remove declarations.
10588 (register-alist): Doc fix.
10589 (frameset-to-register): Move to frameset.el.
10590 (jump-to-register, describe-register-1): Remove frameset-specific code.
10591
10592 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10593
10594 * allout-widgets.el (allout-widgets-pre-command-business)
10595 (allout-widgets-post-command-business)
10596 (allout-widgets-after-change-handler)
10597 (allout-decorate-item-and-context, allout-set-boundary-marker)
10598 (allout-body-modification-handler)
10599 (allout-graphics-modification-handler): Mark ignored arguments.
10600 (allout-widgets-post-command-business)
10601 (allout-widgets-exposure-change-processor)
10602 (allout-widgets-exposure-undo-processor)
10603 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10604 (allout-parse-item-at-point, allout-decorate-item-guides)
10605 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10606 * allout.el (epa-passphrase-callback-function): Declare.
10607 (allout-overlay-insert-in-front-handler)
10608 (allout-overlay-interior-modification-handler)
10609 (allout-isearch-end-handler, allout-chart-siblings)
10610 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10611 (allout-yank-processing, allout-process-exposed)
10612 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10613 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10614 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10615 (lisp-indent-defform): Mark ignored arguments.
10616 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10617 (calculate-lisp-indent): Remove unused variables.
10618 * international/characters.el (indian-2-column, arabic-2-column)
10619 (tibetan): Mark ignored arguments.
10620 (use-cjk-char-width-table): Mark ignored arguments.
10621 Remove unused variables.
10622 * international/fontset.el (build-default-fontset-data)
10623 (x-compose-font-name, create-fontset-from-fontset-spec):
10624 Mark ignored arguments.
10625 (fontset-plain-name): Remove unused variables.
10626 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10627 (keyboard-coding-system): Mark ignored arguments.
10628 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10629 * help.el (resize-temp-buffer-window):
10630 * window.el (display-buffer-in-major-side-window)
10631 (display-buffer-in-side-window, display-buffer-in-previous-window):
10632 Remove unused variables.
10633 * isearch.el (isearch-forward-symbol):
10634 * version.el (emacs-bzr-version-bzr):
10635 * international/mule-cmds.el (current-language-environment):
10636 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10637 (x-handle-display):
10638 * term/pc-win.el (x-list-fonts, x-display-planes)
10639 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10640 (x-server-version, x-display-screens, x-display-mm-height)
10641 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10642 (x-selection-owner-p, x-own-selection-internal)
10643 (x-disown-selection-internal, x-get-selection-internal)
10644 (msdos-initialize-window-system):
10645 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10646 * term/x-win.el (x-handle-no-bitmap-icon):
10647 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10648 (vc-default-find-file-hook, vc-default-extra-menu):
10649 Mark ignored arguments.
10650
10651 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10652
10653 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10654 break-condition in the context of the debugged code (bug#12685).
10655
10656 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10657
10658 * comint.el:
10659 Do not use an overlay to highlight the last prompt. (Bug#14744)
10660 (comint-mode): Make comint-last-prompt buffer local.
10661 (comint-last-prompt): New variable.
10662 (comint-last-prompt-overlay): Remove. Superseded by
10663 comint-last-prompt.
10664 (comint-snapshot-last-prompt, comint-output-filter):
10665 Use comint-last-prompt.
10666
10667 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10668
10669 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10670 (frameset-save): Check validity of the resulting frameset.
10671
10672 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10673
10674 * ido.el (ido-record-command): Add doc string.
10675
10676 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10677
10678 * frameset.el (frameset): Do not disable creation of the default
10679 frameset-p predicate. Doc fix.
10680 (frameset-valid-p): New function, copied from the old predicate-p.
10681 Add additional checks.
10682 (frameset-restore): Check with frameset-valid-p.
10683 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10684 (frameset-name, frameset-description, frameset-properties)
10685 (frameset-states): Add docstring.
10686 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10687 (frameset-filter-alist): Doc fixes.
10688
10689 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10690
10691 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10692
10693 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10694
10695 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10696 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10697 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10698 (byte-compile-normal-call): Remove obsolescence check.
10699
10700 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10701
10702 * frameset.el (frameset-restore): Doc fix.
10703
10704 * register.el (frameset-frame-id, frameset-frame-with-id)
10705 (frameset-p, frameset-restore, frameset-save): Declare.
10706 (register-alist): Document framesets.
10707 (frameset-session-filter-alist): Declare.
10708 (frameset-to-register): New function.
10709 (jump-to-register): Implement jumping to framesets. Doc fix.
10710 (describe-register-1): Describe framesets.
10711
10712 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10713
10714 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10715
10716 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10717 Use lexical-binding.
10718
10719 * frameset.el (frameset): Use type vector, not list (incompatible
10720 change). Do not declare a new constructor, use the default one.
10721 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10722 `name' and `description', respectively, and add read-only slot
10723 `timestamp'. Doc fixes.
10724 (frameset-copy, frameset-persistent-filter-alist)
10725 (frameset-filter-alist, frameset-switch-to-gui-p)
10726 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10727 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10728 (frameset-filter-iconified, frameset-keep-original-display-p):
10729 Doc fixes.
10730 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10731 Rename from frameset-filter-(save|restore)-param. All callers changed.
10732 Doc fix.
10733 (frameset-p): Adapt to change to vector and be more thorough.
10734 Change arg name to OBJECT. Doc fix.
10735 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10736 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10737 All callers changed.
10738 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10739 All callers changed.
10740 (frameset--record-minibuffer-relationships): Rename from
10741 frameset--process-minibuffer-frames. All callers changed.
10742 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10743 Use new default constructor (again). Doc fix.
10744 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10745 All callers changed.
10746 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10747 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10748 Doc fix.
10749 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10750 PARAMETERS and WINDOW-STATE, respectively.
10751 (frameset-restore): Add new keyword argument PREDICATE.
10752 Reset frameset--target-display to nil. Doc fix.
10753
10754 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10755
10756 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10757 (bat-mode): Use it.
10758 (bat-mode-syntax-table): Mark \n as end-of-comment.
10759 (bat-font-lock-keywords): Remove comment rule.
10760
10761 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10762 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10763
10764 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10765 (byte-compile-callargs-warn): Use `push'.
10766 (byte-compile-arglist-warn): Ignore higher-order "calls".
10767 (byte-compile-file-form-autoload): Use `pcase'.
10768 (byte-compile-function-form): If quoting a symbol, check that it exists.
10769
10770 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10771
10772 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10773 and add a few popular commands found in batch files.
10774 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10775 (dos-mode): Doc fixes.
10776
10777 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10778
10779 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10780 (dos-mode): Use setq-local. Add space after "rem".
10781 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10782 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10783
10784 2013-08-07 Arni Magnusson <arnima@hafro.is>
10785
10786 * progmodes/dos.el: New file.
10787 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10788 dos-mode.
10789
10790 2013-08-06 Glenn Morris <rgm@gnu.org>
10791
10792 * calendar/calendar.el: Add new faces, and day-header-array.
10793 (calendar-weekday-header, calendar-weekend-header)
10794 (calendar-month-header): New faces.
10795 (calendar-day-header-construct): New function.
10796 (calendar-day-header-width): Also :set calendar-day-header-array.
10797 (calendar-american-month-header, calendar-european-month-header)
10798 (calendar-iso-month-header): Use calendar- faces.
10799 (calendar-generate-month):
10800 Use calendar-day-header-array for day headers; apply faces to them.
10801 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10802 (calendar-abbrev-construct): Add optional maxlen argument.
10803 (calendar-day-name-array): Doc fix.
10804 (calendar-day-name-array, calendar-abbrev-length)
10805 (calendar-day-abbrev-array):
10806 Also :set calendar-day-header-array, and maybe redraw.
10807 (calendar-day-header-array): New option. (Bug#15007)
10808 (calendar-font-lock-keywords): Set to nil and make obsolete.
10809 (calendar-day-name): Add option to use header array.
10810
10811 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10812
10813 * net/shr.el (shr-render-td): Remove debugging.
10814 (shr-render-td): Make width computation consistent by defaulting
10815 all zero-width columns to 10 characters. This may not be optimal,
10816 but it's at least consistent.
10817 (shr-make-table-1): Redo last change to fix the real problem in
10818 colspan handling.
10819
10820 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10821
10822 * files.el (cache-long-line-scans):
10823 Make obsolete alias to `cache-long-scans'.
10824
10825 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10826
10827 * frameset.el (frameset, frameset-filter-alist)
10828 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10829 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10830 (frameset-compute-pos): Rename from frameset--compute-pos,
10831 and add docstring.
10832 (frameset-move-onscreen): Use frameset-compute-pos.
10833 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10834
10835 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10836 Fix typos in docstrings.
10837
10838 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10839
10840 * frame.el (get-other-frame): Tiny cleanup.
10841
10842 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10843
10844 * vc/vc.el (vc-default-ignore-completion-table):
10845 Silence byte-compiler warning.
10846
10847 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10848 slot, which can indeed be nil.
10849 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10850 Move entry for `left' from persistent to live filter alist.
10851 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10852 Doc fixes.
10853 (frameset-filter-params): When restoring a frame, copy items added to
10854 `filtered', to avoid unwittingly modifying the original parameters.
10855 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10856 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10857
10858 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10859 to use looking-at-p instead of looking-at. (Bug#15028)
10860
10861 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10862
10863 Revert introduction of isearch-filter-predicates (bug#14714).
10864 Rely on add-function instead.
10865 * isearch.el (isearch-filter-predicates): Rename it back to
10866 isearch-filter-predicate.
10867 (isearch-message-prefix): Use advice-function-mapc and advice
10868 properties to get the isearch-message-prefix.
10869 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10870 instead of run-hook-with-args-until-failure.
10871 (isearch-filter-visible): Not obsolete any more.
10872 * loadup.el: Preload nadvice.
10873 * replace.el (perform-replace): Revert to funcall
10874 instead of run-hook-with-args-until-failure.
10875 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10876 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10877 dired-isearch-filenames-toggle; make it into a proper minor mode.
10878 Use add/remove-function.
10879 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10880 Call the minor-mode rather than add/remove-hook.
10881 (dired-isearch-filter-filenames):
10882 Remove isearch-message-prefix property.
10883 * info.el (Info--search-loop): New function, extracted from Info-search.
10884 Funcall isearch-filter-predicate instead of
10885 run-hook-with-args-until-failure isearch-filter-predicates.
10886 (Info-search): Use it.
10887 (Info-mode): Use isearch-filter-predicate instead of
10888 isearch-filter-predicates.
10889
10890 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10891
10892 Do not call to `selected-window' where it is assumed by default.
10893 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10894 `window-hscroll', `window-width', `window-height', `window-buffer',
10895 `window-frame', `window-start', `window-point', `next-window'
10896 and `window-display-table'.
10897 * abbrev.el (abbrev--default-expand):
10898 * bs.el (bs--show-with-configuration):
10899 * buff-menu.el (Buffer-menu-mouse-select):
10900 * calc/calc.el (calc):
10901 * calendar/calendar.el (calendar-generate-window):
10902 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10903 (diary-make-entry):
10904 * comint.el (send-invisible, comint-dynamic-complete-filename)
10905 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10906 * completion.el (complete):
10907 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10908 * disp-table.el (describe-current-display-table):
10909 * doc-view.el (doc-view-insert-image):
10910 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10911 * ehelp.el (with-electric-help):
10912 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10913 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10914 * emacs-lisp/helper.el (Helper-help-scroller):
10915 * emulation/cua-base.el (cua--post-command-handler-1):
10916 * eshell/esh-mode.el (eshell-output-filter):
10917 * ffap.el (ffap-gnus-wrapper):
10918 * help-macro.el (make-help-screen):
10919 * hilit-chg.el (highlight-compare-buffers):
10920 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10921 * hl-line.el (global-hl-line-highlight):
10922 * icomplete.el (icomplete-simple-completing-p):
10923 * isearch.el (isearch-done):
10924 * jit-lock.el (jit-lock-stealth-fontify):
10925 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10926 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10927 * mpc.el (mpc-tagbrowser, mpc):
10928 * net/rcirc.el (rcirc-any-buffer):
10929 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10930 * play/landmark.el (landmark-max-width, landmark-max-height):
10931 * play/zone.el (zone):
10932 * progmodes/compile.el (compilation-goto-locus):
10933 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10934 * progmodes/etags.el (find-tag-other-window):
10935 * progmodes/fortran.el (fortran-column-ruler):
10936 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10937 * progmodes/verilog-mode.el (verilog-point-text):
10938 * reposition.el (reposition-window):
10939 * rot13.el (toggle-rot13-mode):
10940 * server.el (server-switch-buffer):
10941 * shell.el (shell-dynamic-complete-command)
10942 (shell-dynamic-complete-environment-variable):
10943 * simple.el (insert-buffer, set-selective-display)
10944 (delete-completion-window):
10945 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10946 (speedbar-recenter):
10947 * startup.el (fancy-splash-head):
10948 * textmodes/ispell.el (ispell-command-loop):
10949 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10950 * tutorial.el (help-with-tutorial):
10951 * vc/add-log.el (add-change-log-entry):
10952 * vc/compare-w.el (compare-windows):
10953 * vc/ediff-help.el (ediff-indent-help-message):
10954 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10955 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10956 (ediff-setup-control-frame):
10957 * vc/emerge.el (emerge-position-region):
10958 * vc/pcvs-util.el (cvs-bury-buffer):
10959 * window.el (walk-windows, mouse-autoselect-window-select):
10960 * winner.el (winner-set-conf, winner-undo): Related users changed.
10961
10962 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10963
10964 * frameset.el (frameset--set-id): Doc fix.
10965 (frameset-frame-id, frameset-frame-id-equal-p)
10966 (frameset-locate-frame-id): New functions.
10967 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10968 (frameset-restore): Use them.
10969
10970 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10971
10972 Do not call to `selected-frame' where it is assumed by default.
10973 Affected functions are `raise-frame', `redraw-frame',
10974 `frame-first-window', `frame-terminal' and `delete-frame'.
10975 * calendar/appt.el (appt-disp-window):
10976 * epg.el (epg-wait-for-completion):
10977 * follow.el (follow-delete-other-windows-and-split)
10978 (follow-avoid-tail-recenter):
10979 * international/mule.el (set-terminal-coding-system):
10980 * mail/rmail.el (rmail-mail-return):
10981 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10982 * progmodes/f90.el (f90-add-imenu-menu):
10983 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10984 * server.el (server-switch-buffer):
10985 * simple.el (delete-completion-window):
10986 * talk.el (talk):
10987 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10988 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10989 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10990 * vc/ediff.el (ediff-documentation): Related users changed.
10991 * frame.el (selected-terminal): Remove the leftover.
10992
10993 2013-08-05 Glenn Morris <rgm@gnu.org>
10994
10995 * calendar/calendar.el (calendar-generate-month):
10996 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10997 (calendar-generate-month, calendar-font-lock-keywords):
10998 Fix for calendar-day-header-width > length of any day name.
10999
11000 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11001
11002 * desktop.el (desktop-clear): Use new name of sort predicate.
11003
11004 * frameset.el (frameset): Add docstring. Move :version property to its
11005 own `version' slot.
11006 (frameset-copy): Rename from copy-frameset.
11007 (frameset-p): Check more thoroughly.
11008 (frameset-prop): Do not check for :version, which is no longer a prop.
11009 (frameset-live-filter-alist, frameset-persistent-filter-alist):
11010 Use new :never value instead of t.
11011 (frameset-filter-alist): Expand and clarify docstring.
11012 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
11013 (frameset-filter-minibuffer, frameset-filter-save-param)
11014 (frameset-filter-restore-param, frameset-filter-iconified):
11015 Add pointer to docstring of frameset-filter-alist.
11016 (frameset-filter-params): Rename filter values to be more meaningful:
11017 :never instead of t, and reverse the meanings of :save and :restore.
11018 (frameset--process-minibuffer-frames): Clarify error message.
11019 (frameset-save): Avoid unnecessary and confusing call to framep.
11020 Use new BOA constructor for framesets.
11021 (frameset--reuse-list): Doc fix.
11022 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
11023 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
11024 (frameset-minibufferless-first-p): Doc fix.
11025 Rename from frameset-sort-frames-for-deletion.
11026 (frameset-restore): Doc fixes. Use new function names.
11027 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11028
11029 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11030
11031 * desktop.el (desktop-restore-forces-onscreen)
11032 (desktop-restore-reuses-frames): Document :keyword constant values.
11033 (desktop-filter-parameters-alist): Remove, now identical to
11034 frameset-filter-alist.
11035 (desktop--filter-tty*): Remove, moved to frameset.el.
11036 (desktop-save-frameset, desktop-restore-frameset):
11037 Do not pass :filters argument.
11038
11039 * frameset.el (frameset-live-filter-alist)
11040 (frameset-persistent-filter-alist): New variables.
11041 (frameset-filter-alist): Use them. Add autoload cookie.
11042 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
11043 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
11044 `frameset--id' (it's supposed to be internal to frameset.el).
11045 (frameset--process-minibuffer-frames): Ditto. Doc fix.
11046 (frameset--initial-params): New function.
11047 (frameset--get-frame): Use it. Doc fix.
11048 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
11049 Accept :all, not 'all.
11050 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
11051 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
11052 with fbound symbols. Fix frame id matching, and remove matching ids if
11053 the frame being restored is deleted. Obey :delete.
11054
11055 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11056
11057 * subr.el (macrop): New function.
11058 (text-clone--maintaining): New var.
11059 (text-clone--maintain): Rename from text-clone-maintain. Use it
11060 instead of inhibit-modification-hooks.
11061
11062 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
11063 a proxy, so as handle autoloads and redefinitions of the target.
11064 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
11065
11066 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
11067 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
11068 (pcase--mutually-exclusive-p): New function.
11069 (pcase--split-consp): Use it.
11070 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
11071 mutually exclusive with the current predicate.
11072
11073 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
11074 (edebug-macrop): Remove. Use `macrop' instead.
11075 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
11076 (ad-macro-p):
11077 * eshell/esh-cmd.el (eshell-macrop):
11078 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
11079
11080 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11081
11082 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
11083 (advice-mapc): New function, using it.
11084 (advice-function-member-p): New function.
11085 (advice--normalize): Store the cdr in advice--saved-rewrite since
11086 that's the part that will be changed.
11087 (advice--symbol-function): New function.
11088 (advice-remove): Handle removal before the function is defined.
11089 Adjust to new advice--saved-rewrite.
11090 (advice-member-p): Use advice-function-member-p and
11091 advice--symbol-function.
11092
11093 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11094
11095 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
11096 (frameset-filter-minibuffer): Doc fix.
11097 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
11098 (frameset--set-id, frameset--process-minibuffer-frames)
11099 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
11100 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
11101
11102 * desktop.el (desktop-clear): Only delete frames when called
11103 interactively and desktop-restore-frames is non-nil. Doc fix.
11104 (desktop-read): Set desktop-saved-frameset to nil.
11105
11106 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
11107
11108 * vc/vc.el (vc-ignore): Rewrite.
11109 (vc-default-ignore-completion-table, vc--read-lines)
11110 (vc--add-line, vc--remove-regexp): New functions.
11111
11112 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
11113 (vc-svn-ignore-completion-table): New function.
11114
11115 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
11116 (vc-hg-ignore-completion-table)
11117 (vc-hg-find-ignore-file): New functions.
11118
11119 * vc/vc-git.el (vc-git-ignore): Rewrite.
11120 (vc-git-ignore-completion-table)
11121 (vc-git-find-ignore-file): New functions.
11122
11123 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
11124
11125 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
11126 (vc-bzr-ignore-completion-table)
11127 (vc-bzr-find-ignore-file): New functions.
11128
11129 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
11130
11131 * frameset.el (frameset-prop): New function and setter.
11132 (frameset-save): Do not modify frame list passed by the caller.
11133
11134 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11135
11136 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
11137
11138 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
11139
11140 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
11141 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
11142
11143 * custom.el (custom-initialize-default, custom-initialize-set)
11144 (custom-initialize-reset, custom-initialize-changed): Affect the
11145 toplevel-default-value (bug#6275, bug#14586).
11146 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
11147 for bug#6275.
11148
11149 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11150
11151 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11152 Add cl-def* expressions.
11153
11154 * frameset.el (frameset-filter-params): Fix order of arguments.
11155
11156 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11157
11158 Move code related to saving frames to frameset.el.
11159 * desktop.el: Require frameset.
11160 (desktop-restore-frames): Doc fix.
11161 (desktop-restore-reuses-frames): Rename from
11162 desktop-restoring-reuses-frames.
11163 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
11164 (desktop-clear): Clear frames too.
11165 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
11166 (desktop--filter-tty*, desktop-save, desktop-read):
11167 Use frameset functions.
11168 (desktop-before-saving-frames-functions, desktop--filter-*-color)
11169 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11170 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
11171 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
11172 (desktop--process-minibuffer-frames, desktop-save-frames)
11173 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
11174 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
11175 (desktop--sort-states, desktop-restoring-frames-p)
11176 (desktop-restore-frames): Remove. Most code moved to frameset.el.
11177 (desktop-restoring-frameset-p, desktop-restore-frameset)
11178 (desktop--check-dont-save, desktop-save-frameset): New functions.
11179 (desktop--app-id): New constant.
11180 (desktop-first-buffer, desktop-buffer-ok-count)
11181 (desktop-buffer-fail-count): Move before first use.
11182 * frameset.el: New file.
11183
11184 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11185
11186 * files.el: Use lexical-binding.
11187 (dir-locals-read-from-file): Remove unused `err' variable.
11188 (hack-dir-local-variables--warned-coding): New var.
11189 (hack-dir-local-variables): Use it to avoid repeated warnings.
11190 (make-backup-file-name--default-function): New function.
11191 (make-backup-file-name-function): Use it as default.
11192 (buffer-stale--default-function): New function.
11193 (buffer-stale-function): Use it as default.
11194 (revert-buffer-insert-file-contents--default-function): New function.
11195 (revert-buffer-insert-file-contents-function): Use it as default.
11196 (insert-directory): Avoid add-to-list.
11197
11198 * autorevert.el (auto-revert-handler): Simplify.
11199 Use buffer-stale--default-function.
11200
11201 2013-08-01 Tassilo Horn <tsdh@gnu.org>
11202
11203 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
11204
11205 * whitespace.el (whitespace-ensure-local-variables): New function.
11206 (whitespace-cleanup-region): Call it.
11207 (whitespace-turn-on): Call it.
11208
11209 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
11210
11211 Complete file name handlers.
11212
11213 * net/tramp.el (tramp-handle-set-visited-file-modtime)
11214 (tramp-handle-verify-visited-file-modtime)
11215 (tramp-handle-file-notify-rm-watch): New functions.
11216 (tramp-call-process): Do not bind `default-directory'.
11217
11218 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11219 Order alphabetically.
11220 <access-file, add-name-to-file, dired-call-process>:
11221 <dired-compress-file, file-acl, file-notify-rm-watch>:
11222 <file-ownership-preserved-p, file-selinux-context>:
11223 <make-directory-internal, make-symbolic-link, set-file-acl>:
11224 <set-file-selinux-context, set-visited-file-modtime>:
11225 <verify-visited-file-modtime>: Add handler.
11226 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
11227
11228 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11229 <file-notify-add-watch, file-notify-rm-watch>:
11230 <set-file-times, set-visited-file-modtime>:
11231 <verify-visited-file-modtime>: Add handler.
11232 (with-tramp-gvfs-error-message)
11233 (tramp-gvfs-handle-set-visited-file-modtime)
11234 (tramp-gvfs-fuse-file-name): Remove.
11235 (tramp-gvfs-handle-file-notify-add-watch)
11236 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
11237 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
11238
11239 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11240 Order alphabetically.
11241 <file-notify-rm-watch>: Use default Tramp handler.
11242 <executable-find>: Remove private handler.
11243 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
11244 `default-directory'.
11245 (tramp-sh-handle-executable-find)
11246 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
11247 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11248 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
11249 Do not use `format' in `tramp-message'.
11250
11251 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
11252 <file-notify-rm-watch, set-visited-file-modtime>:
11253 <verify-visited-file-modtime>: Add handler.
11254 (tramp-smb-call-winexe): Do not bind `default-directory'.
11255
11256 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
11257
11258 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
11259
11260 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
11261
11262 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
11263 use it.
11264 (log-view-diff-changeset): Same.
11265 (log-view-diff-common): Call backend command `previous-revision'
11266 to find out the previous revision, in both cases. Swap the
11267 variables `to' and `fr', so that `fr' usually refers to the
11268 earlier revision (Bug#14989).
11269
11270 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
11271
11272 * ibuf-ext.el (ibuffer-filter-by-filename):
11273 Make it work with dired buffers too.
11274
11275 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
11276
11277 * emacs-lisp/re-builder.el (reb-color-display-p):
11278 * files.el (save-buffers-kill-terminal):
11279 * net/browse-url.el (browse-url):
11280 * server.el (server-save-buffers-kill-terminal):
11281 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
11282 Prefer nil to selected-frame for the first arg of frame-parameter.
11283
11284 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
11285
11286 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
11287
11288 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
11289
11290 * minibuffer.el (completion--twq-all): Try and preserve each
11291 completion's case choice (bug#14907).
11292
11293 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11294
11295 * net/network-stream.el (open-network-stream): Mention the new
11296 :nogreeting parameter.
11297 (network-stream-open-starttls): Use the :nogreeting parameter
11298 (bug#14938).
11299
11300 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11301
11302 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11303 more natural than popping.
11304
11305 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
11306 (shr-urlify): Highlight under mouse.
11307
11308 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11309
11310 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11311
11312 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11313
11314 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
11315 buffer for output.
11316
11317 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
11318 point-min==1. Fix search string. Fix parentheses missing.
11319
11320 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
11321 assume point-min==1. Fix search string. Fix parentheses missing.
11322
11323 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11324
11325 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
11326 buffer for output.
11327
11328 2013-07-29 Eli Zaretskii <eliz@gnu.org>
11329
11330 * frame.el (frame-notice-user-settings): Avoid inflooping when the
11331 initial frame is minibuffer-less. (Bug#14841)
11332
11333 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
11334
11335 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11336 option.
11337
11338 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11339 (tramp-maybe-open-connection): Use it.
11340
11341 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11342
11343 * desktop.el (desktop--make-frame): Include `minibuffer' in the
11344 minimal set of parameters passed when creating a frame, because
11345 the minibuffer status of a frame cannot be changed later.
11346
11347 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
11348
11349 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11350 replace-regexp-in-string and inadvertent omissions in previous change.
11351 (todo-filter-items): Ensure only file names are comma-separated in
11352 name of filtered items buffer.
11353
11354 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11355
11356 * desktop.el: Optionally force offscreen frames back onscreen.
11357 (desktop-restoring-reuses-frames): New option.
11358 (desktop--compute-pos, desktop--move-onscreen): New functions.
11359 (desktop--make-frame): Use desktop--move-onscreen.
11360
11361 2013-07-27 Alan Mackenzie <acm@muc.de>
11362
11363 Fontify a Java generic method as a function.
11364 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11365 value to t.
11366
11367 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
11368
11369 * calendar/todo-mode.el: Add command to rename todo files.
11370 (todo-rename-file): New command.
11371 (todo-key-bindings-t): Add key binding for it. Change the
11372 bindings of todo-filter-regexp-items(-multifile) to use `x'
11373 instead of `r', since the latter is better suited to the new
11374 renaming command.
11375
11376 2013-07-27 Alan Mackenzie <acm@muc.de>
11377
11378 Make Java try-with-resources statement parse properly.
11379 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11380 (c-block-stmt-1-2-key): New language constants/variables.
11381 * progmodes/cc-engine.el (c-beginning-of-statement-1)
11382 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11383 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11384 with c-block-stmt-1-2-key.
11385
11386 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
11387
11388 * desktop.el (desktop--make-frame): Apply most frame parameters after
11389 creating the frame to force (partially or totally) offscreen frames to
11390 be restored as such.
11391
11392 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
11393
11394 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11395 (Bug#14948)
11396
11397 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11398
11399 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11400 `base' arg of backtrace-frame.
11401
11402 2013-07-26 Eli Zaretskii <eliz@gnu.org>
11403
11404 * simple.el (list-processes): Doc fix.
11405
11406 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11407
11408 * desktop.el (desktop--select-frame):
11409 Try harder to reuse existing frames.
11410
11411 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11412
11413 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11414 (edebug-eval): Use backtrace-eval.
11415 (edebug--display, edebug--recursive-edit): Don't let-bind the
11416 edebug-outer-* vars that keep track of variables we locally let-bind.
11417 (edebug-outside-excursion): Don't restore outside values of locally
11418 let-bound vars.
11419 (edebug--display): Use user-error.
11420 (cl-lexical-debug, cl-debug-env): Remove.
11421
11422 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11423
11424 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11425 are restored to be sure that they are visible before deleting any
11426 remaining ones.
11427
11428 2013-07-26 Matthias Meulien <orontee@gmail.com>
11429
11430 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11431 vc-print-root-log. (Bug#14948)
11432
11433 2013-07-26 Richard Stallman <rms@gnu.org>
11434
11435 Add aliases for encrypting mail.
11436 * epa.el (epa-mail-aliases): New option.
11437 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11438 Bind inhibit-read-only so read-only text doesn't ruin everything.
11439 (epa-mail-default-recipients): New subroutine broken out.
11440 Handle epa-mail-aliases.
11441
11442 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11443
11444 Add support for lexical variables to the debugger's `e' command.
11445 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11446 vars, except for debugger-outer-match-data.
11447 (debugger-frame-number): Move check for "on a function call" from
11448 callers into it. Add `skip-base' argument.
11449 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11450 (debugger-env-macro): Only reset the state stored in non-variables,
11451 i.e. current-buffer and match-data.
11452 (debugger-eval-expression): Rewrite using backtrace-eval.
11453 * subr.el (internal--called-interactively-p--get-frame): Remove.
11454 (called-interactively-p):
11455 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11456 `base' arg of backtrace-frame instead.
11457
11458 2013-07-26 Glenn Morris <rgm@gnu.org>
11459
11460 * align.el (align-regexp): Doc fix. (Bug#14857)
11461 (align-region): Explicit error if subexpression missing/does not match.
11462
11463 * simple.el (global-visual-line-mode):
11464 Do not duplicate the mode lighter. (Bug#14858)
11465
11466 2013-07-25 Martin Rudalics <rudalics@gmx.at>
11467
11468 * window.el (display-buffer): In display-buffer bind
11469 split-window-keep-point to t, bug#14829.
11470
11471 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11472
11473 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11474 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11475 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11476 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11477 Change accordingly.
11478 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11479 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11480
11481 2013-07-25 Glenn Morris <rgm@gnu.org>
11482
11483 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11484
11485 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11486
11487 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11488 parameter to modify-frame-parameters if the value has not changed;
11489 this is a workaround for bug#14949.
11490 (desktop--make-frame): On cl-delete-if call, check parameter name,
11491 not full parameter.
11492
11493 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11494
11495 * vc/vc.el (vc-ignore): New function.
11496
11497 * vc/vc-svn.el (vc-svn-ignore): New function.
11498
11499 * vc/vc-hg.el (vc-hg-ignore): New function.
11500
11501 * vc/vc-git.el (vc-git-ignore): New function.
11502
11503 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11504 (vc-dir-ignore): New function.
11505
11506 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11507 (cvs-append-to-ignore): Move here from pcvs.el.
11508
11509 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11510
11511 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11512
11513 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11514
11515 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11516 (desktop-restore-frames): Warn when deleting an existing frame failed.
11517
11518 2013-07-24 Glenn Morris <rgm@gnu.org>
11519
11520 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11521
11522 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11523
11524 * filenotify.el (file-notify-supported-p):
11525 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11526 Remove functions.
11527
11528 * autorevert.el (auto-revert-use-notify)
11529 (auto-revert-notify-add-watch):
11530 * net/tramp.el (tramp-file-name-for-operation):
11531 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11532 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11533 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11534 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11535 Remove `file-notify-supported-p' entry.
11536
11537 2013-07-24 Glenn Morris <rgm@gnu.org>
11538
11539 * printing.el: Replace all uses of deleted ps-windows-system,
11540 ps-lp-system, ps-flatten-list with lpr- versions.
11541
11542 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11543
11544 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11545 checked with memq (bug#14935).
11546
11547 * files.el (revert-buffer-function): Use a non-nil default.
11548 (revert-buffer-preserve-modes): Declare var to
11549 provide access to the `preserve-modes' argument.
11550 (revert-buffer): Let-bind it.
11551 (revert-buffer--default): New function, extracted from revert-buffer.
11552
11553 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11554
11555 * lpr.el: Signal print errors more prominently.
11556 (print-region-function): Don't default to nil.
11557 (lpr-print-region): New function, extracted from print-region-1.
11558 Check lpr's return value and signal an error in case of problem.
11559 (print-region-1): Use it.
11560 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11561 versions instead.
11562 (ps-printer-name): Default to nil.
11563 (ps-printer-name-option): Default to lpr-printer-switch.
11564 (ps-print-region-function): Don't default to nil.
11565 (ps-postscript-code-directory): Simplify default.
11566 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11567 (ps-string-list, ps-eval-switch, ps-flatten-list)
11568 (ps-flatten-list-1): Remove.
11569 (ps-multibyte-buffer): Avoid setq.
11570 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11571 (print-region-function, ps-print-region-function): Don't set them here.
11572
11573 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11574
11575 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11576 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11577 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11578 (ido-decorations): Doc fix.
11579
11580 * ansi-color.el: Fix old URL.
11581
11582 2013-07-23 Michael R. Mauger <michael@mauger.com>
11583
11584 * progmodes/sql.el: Version 3.3
11585 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11586 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11587 (sql-interactive-remove-continuation-prompt): Rewrite, use
11588 functions above. Fix continuation prompt and complete output line
11589 handling.
11590 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11591 redirected output buffer.
11592 (sql-mode): Restore deleted code (Bug#13591).
11593
11594 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11595
11596 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11597
11598 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11599
11600 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11601
11602 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11603 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11604 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11605
11606 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11607
11608 * desktop.el (desktop-clear): Simplify; remove useless checks
11609 against invalid buffer names.
11610 (desktop-list*): Use cl-list*.
11611 (desktop-buffer-info, desktop-create-buffer): Simplify.
11612
11613 2013-07-23 Leo Liu <sdl.web@gmail.com>
11614
11615 * bookmark.el (bookmark-make-record): Restore NAME as a default
11616 value. (Bug#14933)
11617
11618 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11619
11620 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11621 extracted from autoload--insert-text.
11622 (autoload--insert-text): Remove.
11623 (autoload--print-cookie-text): New function, extracted from
11624 autoload--insert-cookie-text.
11625 (autoload--insert-cookie-text): Remove.
11626 (autoload-generate-file-autoloads): Adjust calls accordingly.
11627
11628 * winner.el (winner-hook-installed-p): Remove.
11629 (winner-mode): Simplify accordingly.
11630
11631 * subr.el (add-to-list): Fix compiler-macro when `append' is
11632 not constant. Don't use `cl-member' for the base case.
11633
11634 * progmodes/subword.el: Fix boundary case (bug#13758).
11635 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11636 own group.
11637 (subword-backward-regexp): Make it a constant.
11638 (subword-forward-internal): Don't treat a trailing capital as the
11639 beginning of a word.
11640
11641 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11642
11643 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11644 global value of tabulated-list-revert-hook (bug#14930).
11645
11646 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11647
11648 * desktop.el: Require 'cl-lib.
11649 (desktop-before-saving-frames-functions): New hook.
11650 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11651 for frames being saved. Rename from desktop--save-minibuffer-frames.
11652 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11653 Do not save frames with non-nil `desktop-dont-save' parameter.
11654 Filter out deleted frames.
11655 (desktop--find-frame): Use cl-find-if.
11656 (desktop--select-frame): Use cl-(first|second|third) to access values
11657 of desktop-mini.
11658 (desktop--make-frame): Use cl-delete-if.
11659 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11660 (desktop-restore-frames): Use cl-(first|second|third) to access values
11661 of desktop-mini. Look for visible frame at the end, not while
11662 restoring frames.
11663
11664 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11665 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11666 Use string-match-p, looking-at-p (bug#14927).
11667
11668 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11669
11670 * desktop.el (desktop-saved-frame-states):
11671 Rename from desktop--saved-states; all users changed.
11672 (desktop-save-frames): Rename from desktop--save-frames.
11673 Do not save state to desktop file.
11674 (desktop-save): Save desktop-saved-frame-states to desktop file
11675 and reset to nil.
11676 (desktop-restoring-frames-p): New function.
11677 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11678 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11679 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11680
11681 * desktop.el: Correctly restore iconified frames.
11682 (desktop--filter-iconified-position): New function.
11683 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11684
11685 2013-07-20 Glenn Morris <rgm@gnu.org>
11686
11687 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11688 Let `message' do the formatting.
11689 (def-gdb-preempt-display-buffer): Add explicit format.
11690
11691 * image-dired.el (image-dired-track-original-file):
11692 Use with-current-buffer.
11693 (image-dired-track-thumbnail): Use with-current-buffer.
11694 Avoid changing point of wrong window.
11695
11696 * image-dired.el (image-dired-track-original-file):
11697 Avoid changing point of wrong window. (Bug#14909)
11698
11699 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11700
11701 * progmodes/gdb-mi.el (gdb-done-or-error):
11702 Guard against "%" in gdb output. (Bug#14127)
11703
11704 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11705
11706 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11707 (Bug#14826)
11708
11709 * international/mule.el (coding-system-iso-2022-flags): Fix last
11710 change.
11711
11712 2013-07-20 Kenichi Handa <handa@gnu.org>
11713
11714 * international/mule.el (coding-system-iso-2022-flags):
11715 Add `8-bit-level-4'. (Bug#8522)
11716
11717 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11718
11719 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11720 (bug#14815).
11721
11722 * net/eww.el (eww-process-text-input): Allow inputting when the
11723 point is at the start of the line, as the properties aren't
11724 front-sticky.
11725
11726 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11727 degenerate widths.
11728
11729 2013-07-19 Richard Stallman <rms@gnu.org>
11730
11731 * epa.el (epa-popup-info-window): Doc fix.
11732
11733 * subr.el (split-string): New arg TRIM.
11734
11735 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11736
11737 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11738 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11739
11740 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11741
11742 * filenotify.el (file-notify--library): Rename from
11743 `file-notify-support'. Do not autoload. Adapt all uses.
11744 (file-notify-supported-p): New defun.
11745
11746 * autorevert.el (auto-revert-use-notify):
11747 Use `file-notify-supported-p' instead of `file-notify-support'.
11748 Adapt docstring.
11749 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11750
11751 * net/tramp.el (tramp-file-name-for-operation):
11752 Add `file-notify-supported-p'.
11753
11754 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11755 New defun.
11756 (tramp-sh-file-name-handler-alist): Add it as handler for
11757 `file-notify-supported-p '.
11758
11759 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11760 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11761 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11762 Add `ignore' as handler for `file-notify-*' functions.
11763
11764 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11765
11766 * simple.el (line-move-partial, line-move): Don't start vscroll or
11767 scroll-up if the current line is not taller than the window.
11768 (Bug#14881)
11769
11770 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11771
11772 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11773 highlight question marks in the method names as strings.
11774 (ruby-block-beg-keywords): Inline.
11775 (ruby-font-lock-keyword-beg-re): Extract from
11776 `ruby-font-lock-keywords'.
11777
11778 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11779
11780 * frame.el (blink-cursor-blinks): New defcustom.
11781 (blink-cursor-blinks-done): New defvar.
11782 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11783 (blink-cursor-timer-function): Check if number of blinks has been
11784 done on X and NS.
11785 (blink-cursor-suspend, blink-cursor-check): New defuns.
11786
11787 2013-07-15 Glenn Morris <rgm@gnu.org>
11788
11789 * edmacro.el (edmacro-format-keys): Fix previous change.
11790
11791 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11792
11793 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11794 The hack didn't work outside English locales anyway.
11795
11796 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11797
11798 * simple.el (define-alternatives): Rename from alternatives-define,
11799 per RMS' suggestion.
11800
11801 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11802
11803 * desktop.el (desktop-restore-frames): Change default to t.
11804 (desktop-restore-in-current-display): Now offer more options.
11805 (desktop-restoring-reuses-frames): New customization option.
11806 (desktop--saved-states): Doc fix.
11807 (desktop-filter-parameters-alist): New variable, renamed and expanded
11808 from desktop--excluded-frame-parameters.
11809 (desktop--target-display): New variable.
11810 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11811 (desktop--filter-tty*, desktop--filter-*-color)
11812 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11813 (desktop--filter-save-desktop-parm)
11814 (desktop-restore-in-original-display-p): New functions.
11815 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11816 (desktop--save-minibuffer-frames): New function, inspired by a similar
11817 function from Martin Rudalics.
11818 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11819 (desktop--restore-in-this-display-p): Remove.
11820 (desktop--find-frame): Rename from desktop--find-frame-in-display
11821 and add predicate argument.
11822 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11823 (desktop--reuse-list): New variable.
11824 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11825 New functions.
11826 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11827
11828 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11829
11830 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11831
11832 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11833
11834 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11835 Highlight conversion methods on Kernel.
11836
11837 2013-07-13 Alan Mackenzie <acm@muc.de>
11838
11839 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11840 and comment it out. This out-commenting enables certain C++
11841 declarations to be parsed correctly.
11842
11843 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11844
11845 * international/mule.el (define-coding-system): Doc fix.
11846
11847 * simple.el (default-font-height): Don't call font-info if the
11848 frame's default font didn't change since the frame was created.
11849 (Bug#14838)
11850
11851 2013-07-13 Leo Liu <sdl.web@gmail.com>
11852
11853 * ido.el (ido-read-file-name): Guard against non-symbol value.
11854
11855 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11856
11857 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11858 in nested defuns.
11859
11860 2013-07-13 Leo Liu <sdl.web@gmail.com>
11861
11862 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11863 ido-set-matches call. (Bug#6852)
11864
11865 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11866
11867 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11868 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11869 Ruby 2.0.
11870 (ruby-font-lock-keywords): Distinguish calls to functions with
11871 module-like names from module references. Highlight character
11872 literals.
11873
11874 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11875
11876 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11877 (gdb-send): Handle continued commands. (Bug#14847)
11878
11879 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11880
11881 * desktop.el (desktop--v2s): Remove unused local variable.
11882 (desktop-save-buffer): Make defvar-local; adjust docstring.
11883 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11884 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11885
11886 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11887
11888 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11889
11890 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11891
11892 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11893 (Bug#14842)
11894
11895 2013-07-12 Glenn Morris <rgm@gnu.org>
11896
11897 * doc-view.el: Require cl-lib at runtime too.
11898 (doc-view-remove-if): Remove.
11899 (doc-view-search-next-match, doc-view-search-previous-match):
11900 Use cl-remove-if.
11901
11902 * edmacro.el: Require cl-lib at runtime too.
11903 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11904 (edmacro-mismatch, edmacro-subseq): Remove.
11905
11906 * shadowfile.el: Require cl-lib.
11907 (shadow-remove-if): Remove.
11908 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11909 Use cl-remove-if.
11910
11911 * wid-edit.el: Require cl-lib.
11912 (widget-choose): Use cl-remove-if.
11913 (widget-remove-if): Remove.
11914
11915 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11916 (ebrowse-delete-if-not): Remove.
11917 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11918 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11919 Use cl-delete-if-not.
11920
11921 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11922
11923 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11924 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11925
11926 2013-07-12 Leo Liu <sdl.web@gmail.com>
11927
11928 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11929
11930 2013-07-11 Glenn Morris <rgm@gnu.org>
11931
11932 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11933 (edebug-gensym-index, edebug-gensym):
11934 Remove reimplementation of cl-gensym.
11935 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11936
11937 * thumbs.el: Require cl-lib at run-time too.
11938 (thumbs-gensym-counter, thumbs-gensym):
11939 Remove reimplementation of cl-gensym.
11940 (thumbs-temp-file): Use cl-gensym.
11941
11942 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11943 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11944 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11945 (ert--union, ert--gensym-counter, ert--gensym-counter)
11946 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11947 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11948 (ert-make-test-unbound, ert--expand-should-1)
11949 (ert--expand-should, ert--should-error-handle-error)
11950 (should-error, ert--explain-equal-rec)
11951 (ert--plist-difference-explanation, ert-select-tests)
11952 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11953 Use cl-lib functions rather than reimplementations.
11954
11955 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11956
11957 * net/tramp.el (tramp-methods): Extend docstring.
11958 (tramp-connection-timeout): New defcustom.
11959 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11960 (with-tramp-progress-reporter): Simplify.
11961 (tramp-process-actions): Improve messages.
11962
11963 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11964 * net/tramp-sh.el (tramp-maybe-open-connection):
11965 Use `tramp-connection-timeout'.
11966 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11967 (Bug#14808)
11968
11969 2013-07-11 Leo Liu <sdl.web@gmail.com>
11970
11971 * ido.el (ido-read-file-name): Conform to the requirements of
11972 read-file-name. (Bug#11861)
11973 (ido-read-directory-name): Conform to the requirements of
11974 read-directory-name.
11975
11976 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11977
11978 * subr.el (delay-warning): New function.
11979
11980 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11981
11982 * simple.el (default-line-height): New function.
11983 (line-move-partial, line-move): Use it instead of computing the
11984 line height inline.
11985 (line-move-partial): Always compute ROWH. If the last line is
11986 partially-visible, but its text is completely visible, allow
11987 cursor to enter such a partially-visible line.
11988
11989 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11990
11991 Improve error messages. (Bug#14808)
11992
11993 * net/tramp.el (tramp-current-connection): New defvar, moved from
11994 tramp-sh.el.
11995 (tramp-message-show-progress-reporter-message): Remove, not
11996 needed anymore.
11997 (tramp-error-with-buffer): Show message in minibuffer.
11998 Discard input before waiting. Reset connection timestamp.
11999 (with-tramp-progress-reporter): Improve messages.
12000 (tramp-process-actions): Use progress reporter. Delete process in
12001 case of error. Improve messages.
12002
12003 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
12004 Call `tramp-error-with-buffer' with vector and buffer.
12005 (tramp-current-connection): Remove.
12006 (tramp-maybe-open-connection): The car of
12007 `tramp-current-connection' are the first 3 slots of the vector.
12008
12009 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
12010
12011 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
12012 inside continued strings.
12013
12014 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
12015
12016 Timestamp fixes for undo (Bug#14824).
12017 * files.el (clear-visited-file-modtime): Move here from fileio.c.
12018
12019 2013-07-10 Leo Liu <sdl.web@gmail.com>
12020
12021 * files.el (require-final-newline): Allow safe local value.
12022 (Bug#14834)
12023
12024 2013-07-09 Leo Liu <sdl.web@gmail.com>
12025
12026 * ido.el (ido-read-directory-name): Handle fallback.
12027 (ido-read-file-name): Update DIR to ido-current-directory.
12028 (Bug#1516)
12029 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
12030
12031 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
12032
12033 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
12034 "autoload". Remove "warn lower camel case" section, previously
12035 commented out. Highlight negation char. Do not highlight the
12036 target in singleton method definitions.
12037
12038 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12039
12040 * faces.el (tty-setup-hook): Declare the hook.
12041
12042 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
12043 and detect when a guard/pred depends on local vars (bug#14773).
12044 (pcase--u1): Adjust caller.
12045
12046 2013-07-08 Eli Zaretskii <eliz@gnu.org>
12047
12048 * simple.el (line-move-partial, line-move): Account for
12049 line-spacing.
12050 (line-move-partial): Avoid setting vscroll when the last
12051 partially-visible line in window is of default height.
12052
12053 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12054
12055 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
12056 been used a while.
12057
12058 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
12059
12060 * subr.el (read-quoted-char): Remove unused local variable `char'.
12061
12062 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
12063
12064 * vc/ediff.el (ediff-version): Version update.
12065 (ediff-files-command, ediff3-files-command, ediff-merge-command)
12066 (ediff-merge-with-ancestor-command, ediff-directories-command)
12067 (ediff-directories3-command, ediff-merge-directories-command)
12068 (ediff-merge-directories-with-ancestor-command): New functions.
12069 All are command-line interfaces to ediff: to facilitate calling
12070 Emacs with the appropriate ediff functions invoked.
12071
12072 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
12073 New function.
12074 (viper-save-kill-buffer): Check if buffer is modified.
12075
12076 * emulation/viper.el (viper-version): Version update.
12077 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
12078
12079 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
12080
12081 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
12082 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
12083 (viper-intercept-ESC-key): Simplify.
12084 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
12085 don't use kbd.
12086 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
12087 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
12088 (viper-setup-ESC-to-escape): New functions.
12089 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
12090 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
12091
12092 2013-07-07 Eli Zaretskii <eliz@gnu.org>
12093
12094 * simple.el (default-font-height, window-screen-lines):
12095 New functions.
12096 (line-move, line-move-partial): Use them instead of
12097 frame-char-height and window-text-height. This makes scrolling
12098 text smoother when the buffer's default face uses a font that is
12099 different from the frame's default font.
12100
12101 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
12102
12103 * files.el (write-file): Do not display confirm dialog for NS,
12104 it does its own dialog, which can't be canceled (Bug#14578).
12105
12106 2013-07-06 Eli Zaretskii <eliz@gnu.org>
12107
12108 * simple.el (line-move-partial): Adjust the row returned by
12109 posn-at-point for the current window-vscroll. (Bug#14567)
12110
12111 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
12112
12113 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
12114 (tramp-sh-file-inotifywait-process-filter): Handle file names with
12115 spaces.
12116
12117 2013-07-06 Martin Rudalics <rudalics@gmx.at>
12118
12119 * window.el (window-state-put-stale-windows): New variable.
12120 (window--state-put-2): Save list of windows without matching buffer.
12121 (window-state-put): Remove "bufferless" windows if possible.
12122
12123 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12124
12125 * simple.el (alternatives-define): Remove leftover :group keyword.
12126 Tweak docstring.
12127
12128 2013-07-06 Leo Liu <sdl.web@gmail.com>
12129
12130 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
12131 (ido-enable-virtual-buffers): New variable.
12132 (ido-buffer-internal, ido-toggle-virtual-buffers)
12133 (ido-make-buffer-list): Use it.
12134 (ido-exhibit): Support turning on and off virtual buffers
12135 automatically.
12136
12137 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12138
12139 * simple.el (alternatives-define): New macro.
12140
12141 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
12142
12143 * subr.el (read-quoted-char): Use read-key.
12144 (sit-for): Let read-event decode tty input (bug#14782).
12145
12146 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
12147
12148 * calendar/todo-mode.el: Add handling of file deletion, both by
12149 mode command and externally. Fix various related bugs.
12150 Clarify Commentary and improve some documentation strings and code.
12151 (todo-delete-file): New command.
12152 (todo-check-file): New function.
12153 (todo-show): Handle external deletion of the file we're trying to
12154 show (bug#14688). Replace called-interactively-p by an optional
12155 prefix argument to avoid problematic interaction with catch form
12156 when byte compiled (bug#14702).
12157 (todo-quit): Handle external deletion of the archive's todo file.
12158 Make sure the buffer that was visiting the archive file is still
12159 live before trying to bury it.
12160 (todo-category-completions): Handle external deletion of any
12161 category completion files.
12162 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
12163 of todo files, in case of external deletion.
12164 (todo-add-file): Replace unnecessary setq by let-binding.
12165 (todo-find-archive): Check whether there are any archives.
12166 Replace unnecessary setq by let-binding.
12167 (todo-archive-done-item): Use find-file-noselect to get the
12168 archive buffer whether or not the archive already exists.
12169 Remove superfluous code. Use file size instead of buffer-file-name to
12170 check if the archive is new; if it is, update list of archives.
12171 (todo-default-todo-file): Allow nil to be a valid value for when
12172 there are no todo files.
12173 (todo-reevaluate-default-file-defcustom): Use corrected definition
12174 of todo-default-todo-file.
12175 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
12176 (todo-delete-category, todo-show-categories-table)
12177 (todo-category-number): Clarify comment.
12178 (todo-filter-items): Clarify documentation string.
12179 (todo-show-current-file, todo-display-as-todo-file)
12180 (todo-reset-and-enable-done-separator): Tweak documentation string.
12181 (todo-done-separator): Make separator length window-width, since
12182 bug#2749 is now fixed.
12183
12184 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
12185
12186 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12187 Support both "gvfs-monitor-dir" and "inotifywait".
12188 (tramp-sh-file-inotifywait-process-filter): Rename from
12189 `tramp-sh-file-notify-process-filter'.
12190 (tramp-sh-file-gvfs-monitor-dir-process-filter)
12191 (tramp-get-remote-gvfs-monitor-dir): New defuns.
12192
12193 2013-07-05 Leo Liu <sdl.web@gmail.com>
12194
12195 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
12196
12197 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12198
12199 * frame.el (display-pixel-height, display-pixel-width)
12200 (display-mm-height, display-mm-width): Mention behavior on
12201 multi-monitor setups in docstrings.
12202 (w32-display-monitor-attributes-list): Declare function.
12203 (display-monitor-attributes-list): Use it.
12204
12205 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
12206
12207 * filenotify.el: New package.
12208
12209 * autorevert.el (top): Require filenotify.el.
12210 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
12211 instead.
12212 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12213 (auto-revert-notify-handler): Use `file-notify-*' functions.
12214
12215 * subr.el (file-notify-handle-event): Move function to filenotify.el.
12216
12217 * net/tramp.el (tramp-file-name-for-operation):
12218 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
12219
12220 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
12221 for `file-notify-add-watch' and `file-notify-rm-watch'.
12222 (tramp-process-sentinel): Improve trace.
12223 (tramp-sh-handle-file-notify-add-watch)
12224 (tramp-sh-file-notify-process-filter)
12225 (tramp-sh-handle-file-notify-rm-watch)
12226 (tramp-get-remote-inotifywait): New defuns.
12227
12228 2013-07-03 Juri Linkov <juri@jurta.org>
12229
12230 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
12231 call of `occur-read-primary-args' to interactive spec.
12232
12233 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
12234 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
12235
12236 2013-07-03 Matthias Meulien <orontee@gmail.com>
12237
12238 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
12239 `Buffer-menu-multi-occur'. Add it to the menu.
12240 (Buffer-menu-mode): Document it in docstring.
12241 (Buffer-menu-multi-occur): New command. (Bug#14673)
12242
12243 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12244
12245 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
12246 keywords and built-ins.
12247
12248 2013-07-03 Glenn Morris <rgm@gnu.org>
12249
12250 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
12251
12252 Make info-xref checks case-sensitive by default
12253 * info.el (Info-find-node, Info-find-in-tag-table)
12254 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
12255 Add option for exact case matching of nodes.
12256 * info-xref.el (info-xref): New custom group.
12257 (info-xref-case-fold): New option.
12258 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
12259
12260 2013-07-03 Leo Liu <sdl.web@gmail.com>
12261
12262 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
12263
12264 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12265
12266 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
12267 middle of block statement initially, lower the depth. Remove
12268 FIXME comment, not longer valid. Remove middle of block statement
12269 detection, no need to do that anymore since we've been using
12270 `ruby-parse-region' here.
12271
12272 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
12273
12274 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
12275
12276 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
12277
12278 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
12279
12280 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
12281
12282 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
12283 (desktop-restore-in-current-display): New customization option.
12284 (desktop--excluded-frame-parameters): Add `font'.
12285 (desktop--save-frames): Rename from desktop--save-windows.
12286 (desktop--restore-in-this-display-p): New function.
12287 (desktop--make-full-frame): Remove unwanted width/height from
12288 full(width|height) frames.
12289 (desktop--restore-frames): Rename from desktop--restore-windows.
12290 Obey desktop-restore-current-display. Do not delete old frames or
12291 select a new frame unless we were able to restore at least one frame.
12292
12293 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
12294
12295 * files.el (find-file-noselect): Simplify conditional expression.
12296
12297 * textmodes/remember.el (remember-append-to-file):
12298 Don't mix `find-buffer-visiting' and `get-file-buffer'.
12299
12300 Add `remember-notes' function to store random notes across Emacs
12301 restarts.
12302 * textmodes/remember.el (remember-data-file): Add :set callback to
12303 affect notes buffer (if any).
12304 (remember-notes): New command.
12305 (remember-notes-buffer-name, bury-remember-notes-on-kill):
12306 New defcustoms for the `remember-notes' function.
12307 (remember-notes-save-and-bury-buffer): New command.
12308 (remember-notes-mode-map): New variable.
12309 (remember-mode): New minor mode.
12310 (remember-notes--kill-buffer-query): New function.
12311 * startup.el (initial-buffer-choice): Add notes to custom type.
12312
12313 2013-06-30 Eli Zaretskii <eliz@gnu.org>
12314
12315 * bindings.el (right-char, left-char): Don't call sit-for, this is
12316 no longer needed. Use arithmetic comparison only for numerical
12317 arguments.
12318
12319 * international/mule-cmds.el (select-safe-coding-system):
12320 Handle the case of FROM being a string correctly. (Bug#14755)
12321
12322 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12323
12324 * net/shr.el (shr-make-table-1): Add a sanity check that allows
12325 progression on degenerate tables.
12326 (shr-rescale-image): ImageMagick animated images currently don't work.
12327
12328 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
12329
12330 Some fixes and improvements for desktop frame restoration.
12331 It is still experimental and disabled by default.
12332 * desktop.el (desktop--save-windows): Put the selected frame at
12333 the head of the list.
12334 (desktop--make-full-frame): New function.
12335 (desktop--restore-windows): Try to re-select the frame that was
12336 selected upon saving. Do not abort if some frames fail to restore,
12337 just show an error message and continue. Set up maximized frames
12338 so they have default non-maximized dimensions.
12339
12340 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
12341
12342 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12343 Don't start heredoc inside a string or comment.
12344
12345 2013-06-29 Eli Zaretskii <eliz@gnu.org>
12346
12347 * bindings.el (visual-order-cursor-movement): New defcustom.
12348 (right-char, left-char): Provide visual-order cursor motion by
12349 calling move-point-visually. Update the doc strings.
12350
12351 2013-06-28 Kenichi Handa <handa@gnu.org>
12352
12353 * international/mule.el (define-coding-system): New coding system
12354 properties :inhibit-null-byte-detection,
12355 :inhibit-iso-escape-detection, and :prefer-utf-8.
12356 (set-buffer-file-coding-system): If :charset-list property of
12357 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12358 appropriate for setting.
12359
12360 * international/mule-cmds.el (select-safe-coding-system):
12361 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12362 multibyte characters, return utf-8 (or one of its siblings).
12363
12364 * international/mule-conf.el (prefer-utf-8): New coding system.
12365 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12366 files.
12367
12368 2013-06-28 Ivan Kanis <ivan@kanis.fr>
12369
12370 * net/shr.el (shr-render-region): New function.
12371
12372 * net/eww.el: Autoload `eww-browse-url'.
12373
12374 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
12375
12376 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12377 Adapt to `package-desc-version' being a list.
12378 Use `package--ac-desc-version' to retrieve version from a package
12379 archive element.
12380
12381 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
12382
12383 New experimental feature to save&restore window and frame setup.
12384 * desktop.el (desktop-save-windows): New defcustom.
12385 (desktop--saved-states): New var.
12386 (desktop--excluded-frame-parameters): New defconst.
12387 (desktop--filter-frame-parms, desktop--find-frame-in-display)
12388 (desktop--restore-windows, desktop--save-windows): New functions.
12389 (desktop-save): Call `desktop--save-windows'.
12390 (desktop-read): Call `desktop--restore-windows'.
12391
12392 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12393
12394 * net/shr.el (add-face-text-property): Remove compat definition.
12395
12396 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12397
12398 * info.el (Info-try-follow-nearest-node): Move search for footnote
12399 above search for node name to prevent missing a footnote (bug#14717).
12400
12401 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12402
12403 * obsolete/otodo-mode.el: Add obsolescence info to file header.
12404
12405 2013-06-27 Leo Liu <sdl.web@gmail.com>
12406
12407 * net/eww.el (eww-read-bookmarks): Check file size.
12408
12409 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12410
12411 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12412 advice--pending if newdef is nil or an autoload (bug#13820).
12413 (advice-mapc): New function.
12414
12415 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12416
12417 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12418 probably.
12419 (eww-mode-map): Add a menu bar.
12420 (eww-add-bookmark): New command.
12421 (eww-bookmark-mode): New mode and commands.
12422 (eww-add-bookmark): Remove newlines from the title.
12423 (eww-bookmark-browse): Don't bug out if it's the only window.
12424
12425 2013-06-26 Glenn Morris <rgm@gnu.org>
12426
12427 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12428 (hfy-size): Handle ttys. (Bug#14668)
12429
12430 * info-xref.el: Update for Texinfo 5 change in *note format.
12431 (info-xref-node-re, info-xref-note-re): New constants.
12432 (info-xref-check-buffer): Use info-xref-note-re.
12433
12434 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12435
12436 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12437
12438 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12439 nil terminate the loop (bug#14718).
12440
12441 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12442
12443 * net/eww.el: Rework history traversal. When going forward/back,
12444 put these actions into the history, too, so that they can be
12445 replayed.
12446 (eww-render): Move the history reset to the correct buffer.
12447
12448 2013-06-25 Juri Linkov <juri@jurta.org>
12449
12450 * files-x.el (modify-dir-local-variable): Change the header comment
12451 in the file with directory local variables. (Bug#14692)
12452
12453 * files-x.el (read-file-local-variable-value): Add `default'.
12454 (Bug#14710)
12455
12456 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12457
12458 * net/eww.el (eww-make-unique-file-name): Create a unique file
12459 name before saving to entering `y' accidentally asynchronously.
12460
12461 2013-06-25 Ivan Kanis <ivan@kanis.fr>
12462
12463 * net/eww.el (eww-download): New command and keystroke.
12464
12465 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12466
12467 * net/eww.el (eww-copy-page-url): Change name of command.
12468
12469 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12470 be more consistent with Info and dired.
12471
12472 * net/eww.el (eww-mode-map): Ditto.
12473
12474 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12475
12476 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12477 packages from archives.
12478 (package-archive-contents): Change format; include obsolete packages.
12479 (package-desc): Use `dir' to mark builtin packages.
12480 (package--from-builtin): Set the `dir' field to `builtin'.
12481 (generated-autoload-file, version-control): Declare.
12482 (package-compute-transaction): Change first arg and return value to be
12483 lists of package-descs. Adjust to new package-archive-contents format.
12484 (package--add-to-archive-contents): Adjust to new
12485 package-archive-contents format.
12486 (package-download-transaction): Arg is now a list of package-descs.
12487 (package-install): If `pkg' is a package name, pass it as
12488 a requirement, so it is subject to the usual (e.g. disabled) checks.
12489 (describe-package): Accept package-desc as well.
12490 (describe-package-1): Describe a specific package-desc. Add links to
12491 other package-descs for the same package name.
12492 (package-menu-describe-package): Pass the actual package-desc.
12493 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12494 works correctly.
12495 (package-desc-status): New function.
12496 (package-menu--refresh): New function, extracted
12497 from package-menu--generate.
12498 (package-menu--generate): Use it.
12499 (package-delete): Update package-alist.
12500 (package-menu-execute): Don't call package-initialize.
12501
12502 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12503 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12504 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12505 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12506 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12507 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12508
12509 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12510
12511 * window.el (window--state-get-1): Workaround for bug#14527.
12512 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12513
12514 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12515
12516 * net/eww.el (eww-back-url): Implement the history by stashing all
12517 the data into a list.
12518 (eww-forward-url): Allow going forward in the history, too.
12519
12520 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12521
12522 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12523 for values and use read--expression for expressions (bug#14710).
12524 (read-file-local-variable): Avoid setq.
12525 (read-file-local-variable-mode): Use minor-mode-list.
12526
12527 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12528
12529 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12530 for DOI URLs.
12531
12532 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12533
12534 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12535 Update imenu-support when dialect changes.
12536
12537 2013-06-25 Leo Liu <sdl.web@gmail.com>
12538
12539 * ido.el (ido-read-internal): Allow forward slash on windows.
12540
12541 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12542
12543 * net/eww.el (eww): Start of strings is \\`, not ^.
12544
12545 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12546
12547 * net/shr.el (shr-browse-url): Fix interactive spec.
12548
12549 * net/eww.el (eww): Add a trailing slash to domain names.
12550
12551 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12552
12553 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12554
12555 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12556
12557 * net/shr.el (shr-browse-url): Use an external browser if given a
12558 prefix.
12559
12560 * net/eww.el (eww-external-browser): Move to shr.
12561
12562 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12563
12564 * net/eww.el (eww): Work more correctly for file: URLs.
12565 (eww-detect-charset): Allow quoted charsets.
12566 (eww-yank-page-url): New command and keystroke.
12567
12568 2013-06-24 Daiki Ueno <ueno@gnu.org>
12569
12570 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12571 file name of gpg executable.
12572 (epg-context-program): New function.
12573 (epg-context-home-directory): New function.
12574 (epg-context-set-program): New function.
12575 (epg-context-set-home-directory): New function.
12576 (epg--start): Use `epg-context-program' instead of
12577 'epg-gpg-program'.
12578 (epg--list-keys-1): Likewise.
12579
12580 2013-06-24 Leo Liu <sdl.web@gmail.com>
12581
12582 * ido.el (ido-read-internal): Fix bug#14620.
12583
12584 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12585
12586 * faces.el (face-documentation): Simplify.
12587 (read-face-attribute, tty-find-type, x-resolve-font-name):
12588 Use `string-match-p'.
12589 (list-faces-display): Use `string-match-p'. Simplify.
12590 (face-spec-recalc): Check face to avoid face alias loops.
12591 (read-color): Use `string-match-p' and non-capturing parenthesis.
12592
12593 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12594
12595 * net/shr.el (shr-rescale-image): Use the new
12596 :max-width/:max-height functionality.
12597
12598 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12599
12600 * net/eww.el (eww-search-prefix): New variable.
12601 (eww): Use it.
12602 (eww-external-browser): New variable.
12603 (eww-mode-map): New keystroke.
12604 (eww-browse-with-external-browser): New command.
12605
12606 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12607
12608 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12609
12610 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12611 Don't skip aligning the next header field when padding is 0;
12612 otherwise, field width is not respected unless the title is as
12613 wide as the field.
12614
12615 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12616
12617 * emacs-lisp/package.el (package-el-version): Remove.
12618 (package-process-define-package): Fix inf-loop.
12619 (package-install): Allow symbols as arguments again.
12620
12621 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12622
12623 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12624 add some more keyword-like methods.
12625 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12626
12627 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12628
12629 * bs.el (bs-buffer-show-mark): Make defvar-local.
12630 (bs-mode): Use setq-local.
12631
12632 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12633 (emacs-lock--try-unlocking): Make defvar-local.
12634
12635 2013-06-22 Glenn Morris <rgm@gnu.org>
12636
12637 * play/cookie1.el (cookie-apropos): Minor simplification.
12638
12639 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12640
12641 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12642
12643 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12644 `regexp-opt', it breaks the build during dumping.
12645
12646 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12647
12648 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12649 Highlight keyword-like methods on Kernel and Module with
12650 font-lock-builtin-face.
12651 (auto-mode-alist): Consolidate different entries into one regexp
12652 and add more *file-s.
12653
12654 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12655
12656 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12657
12658 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12659 (diary-entry): Use it in the action of this button type instead of
12660 diary-goto-entry.
12661
12662 * calendar/todo-mode.el: New version.
12663 (todo-add-category): Append new category to end of file and give
12664 it the highest number, instead of putting it at the beginning and
12665 giving it 0. Incorporate noninteractive functionality.
12666 (todo-forward-category): Adapt to 1-based category numbering.
12667 Allow skipping over archived categories.
12668 (todo-backward-category): Derive from todo-forward-category.
12669 (todo-backward-item, todo-forward-item): Make noninteractive and
12670 delegate interactive part to new commands. Make sensitive to done items.
12671 (todo-categories): Make value an alist of category names and
12672 vectors of item counts.
12673 (todo-category-beg): Make a defconst.
12674 (todo-category-number): Use 1 instead of 0 as initial value.
12675 (todo-category-select): Make sensitive to overlays, optional item
12676 highlighting and done items.
12677 (todo-delete-item): Make sensitive to overlays and marked and done items.
12678 (todo-edit-item): Make sensitive to overlays and editing of
12679 date/time header optional. Add format checks.
12680 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12681 no-op if point is not on an item. Advertise using todo-edit-quit.
12682 (todo-edit-mode): Make sensitive to new format, font-locking, and
12683 multiple todo files.
12684 (todo-insert-item, todo-insert-item-here): Derive from
12685 todo-basic-insert-item and extend functionality.
12686 (todo-item-end, todo-item-start): Make sensitive to done items.
12687 (todo-item-string): Don't return text properties. Restore point.
12688 (todo-jump-to-category): Make sensitive to multiple todo files and
12689 todo archives. Use extended category completion.
12690 (todo-lower-item, todo-raise-item): Rename to *-priority and
12691 derive from todo-set-item-priority.
12692 (todo-mode): Derive from special-mode. Make sensitive to new
12693 format, font-locking and multiple todo files. Make read-only.
12694 (todo-mode-map): Don't suppress digit keys, so they can supply
12695 prefix arguments. Add many new key bindings.
12696 (todo-prefix): Insert as an overlay instead of file text.
12697 Change semantics from diary date expression to purely visual mark.
12698 (todo-print): Rename to todo-print-buffer. Make buffer display
12699 features printable. Remove option to restrict number of items
12700 printed. Add option to print to file.
12701 (todo-print-function): Rename to todo-print-buffer-function.
12702 (todo-quit): Extend to handle exiting new todo modes.
12703 (todo-remove-item): Make sensitive to overlays.
12704 (todo-save): Extend to buffers of filtered items.
12705 (todo-show): Make sensitive to done items, multiple todo files and
12706 new todo modes. Offer to convert legacy todo file before creating
12707 first new todo file.
12708 (todo-show-priorities): Rename to todo-top-priorities.
12709 Change semantics of value 0.
12710 (todo-top-priorities): Rename to todo-filter-top-priorities,
12711 derive from todo-filter-items and extend functionality.
12712 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12713 and extend functionality to other types of filtered items.
12714 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12715 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12716 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12717 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12718 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12719 (todo-edit-mode-hook, todo-entry-prefix-function)
12720 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12721 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12722 (todo-initials, todo-insert-threshold, todo-item-string-start)
12723 (todo-line-string, todo-menu, todo-mode-hook)
12724 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12725 (todo-print-priorities, todo-remove-separator)
12726 (todo-save-top-priorities-too, todo-string-count-lines)
12727 (todo-string-multiline-p, todo-time-string-format)
12728 (todo-tmp-buffer-name): Remove.
12729 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12730 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12731 (todo-edit-category-diary-inclusion)
12732 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12733 (todo-edit-file, todo-edit-item-date-day)
12734 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12735 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12736 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12737 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12738 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12739 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12740 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12741 (todo-filter-top-priorities-multifile, todo-find-archive)
12742 (todo-find-filtered-items-file, todo-go-to-source-item)
12743 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12744 (todo-jump-to-archive-category, todo-lower-category)
12745 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12746 (todo-move-category, todo-move-item, todo-next-button)
12747 (todo-next-item, todo-padded-string, todo-powerset)
12748 (todo-previous-button, todo-previous-item)
12749 (todo-print-buffer-to-file, todo-raise-category)
12750 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12751 (todo-set-category-number, todo-set-item-priority)
12752 (todo-set-top-priorities-in-category)
12753 (todo-set-top-priorities-in-file, todo-show-categories-table)
12754 (todo-sort-categories-alphabetically-or-numerically)
12755 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12756 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12757 (todo-toggle-item-header, todo-toggle-item-highlighting)
12758 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12759 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12760 (todo-unarchive-items, todo-unmark-category): New commands.
12761 (todo-absolute-file-name, todo-add-to-buffer-list)
12762 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12763 (todo-basic-insert-item, todo-category-completions)
12764 (todo-category-number, todo-category-string-matcher-1)
12765 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12766 (todo-check-format, todo-clear-matches)
12767 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12768 (todo-current-category, todo-date-string-matcher)
12769 (todo-define-insertion-command, todo-diary-expired-matcher)
12770 (todo-diary-goto-entry, todo-diary-item-p)
12771 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12772 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12773 (todo-done-item-section-p, todo-done-separator)
12774 (todo-done-string-matcher, todo-files, todo-filter-items)
12775 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12776 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12777 (todo-insert-category-line, todo-insert-item-from-calendar)
12778 (todo-insert-sort-button, todo-insert-with-overlays)
12779 (todo-insertion-command-name, todo-insertion-key-bindings)
12780 (todo-label-to-key, todo-longest-category-name-length)
12781 (todo-make-categories-list, todo-mode-external-set)
12782 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12783 (todo-modes-set-3, todo-multiple-filter-files)
12784 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12785 (todo-read-category, todo-read-date, todo-read-dayname)
12786 (todo-read-file-name, todo-read-time)
12787 (todo-reevaluate-category-completions-files-defcustom)
12788 (todo-reevaluate-default-file-defcustom)
12789 (todo-reevaluate-filelist-defcustoms)
12790 (todo-reevaluate-filter-files-defcustom)
12791 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12792 (todo-reset-done-separator, todo-reset-done-separator-string)
12793 (todo-reset-done-string, todo-reset-global-current-todo-file)
12794 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12795 (todo-reset-prefix, todo-set-categories)
12796 (todo-set-date-from-calendar, todo-set-show-current-file)
12797 (todo-set-top-priorities, todo-short-file-name)
12798 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12799 (todo-total-item-counts, todo-update-buffer-list)
12800 (todo-update-categories-display, todo-update-categories-sexp)
12801 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12802 New functions.
12803 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12804 New major modes.
12805 (todo-categories, todo-display, todo-edit, todo-faces)
12806 (todo-filtered): New defgroups.
12807 (todo-archived-only, todo-button, todo-category-string, todo-date)
12808 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12809 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12810 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12811 (todo-add-item-if-new-category, todo-always-add-time-string)
12812 (todo-categories-align, todo-categories-archived-label)
12813 (todo-categories-category-label, todo-categories-diary-label)
12814 (todo-categories-done-label, todo-categories-number-separator)
12815 (todo-categories-todo-label, todo-categories-totals-label)
12816 (todo-category-completions-files, todo-completion-ignore-case)
12817 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12818 (todo-done-separator-string, todo-done-string)
12819 (todo-files-function, todo-filter-done-items, todo-filter-files)
12820 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12821 (todo-initial-category, todo-initial-file, todo-item-mark)
12822 (todo-legacy-date-time-regexp, todo-mode-line-function)
12823 (todo-nondiary-marker, todo-number-prefix)
12824 (todo-print-buffer-function, todo-show-current-file)
12825 (todo-show-done-only, todo-show-first, todo-show-with-done)
12826 (todo-skip-archived-categories, todo-top-priorities-overrides)
12827 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12828 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12829 New defcustoms.
12830 (todo-category-done, todo-date-pattern, todo-date-string-start)
12831 (todo-diary-items-buffer, todo-done-string-start)
12832 (todo-filtered-items-buffer, todo-item-start)
12833 (todo-month-abbrev-array, todo-month-name-array)
12834 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12835 (todo-top-priorities-buffer): New defconsts.
12836 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12837 (todo-categories-with-marks, todo-category-string-face)
12838 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12839 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12840 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12841 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12842 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12843 (todo-font-lock-keywords, todo-global-current-todo-file)
12844 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12845 (todo-insertion-commands-args)
12846 (todo-insertion-commands-args-genlist)
12847 (todo-insertion-commands-names, todo-insertion-map)
12848 (todo-key-bindings-t, todo-key-bindings-t+a)
12849 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12850 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12851 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12852 (todo-visited): New variables.
12853
12854 2013-06-21 Glenn Morris <rgm@gnu.org>
12855
12856 * play/cookie1.el (cookie-apropos): Add optional display argument.
12857 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12858 (psychoanalyze-pinhead): Use cookie-doctor.
12859
12860 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12861
12862 * emacs-lisp/package.el (tar-get-file-descriptor)
12863 (tar--extract): Declare.
12864
12865 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12866
12867 Extend flymake's warning predicate to be a function (bug#14217).
12868 * progmodes/flymake.el (flymake-warning-predicate): New.
12869 (flymake-parse-line): Use it.
12870 (flymake-warning-re): Make obsolete alias to
12871 `flymake-warning-predicate'.
12872
12873 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12874
12875 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12876 (package-obsolete-list): Remove.
12877 (package-activate): Remove min-version argument. Add `force' argument.
12878 Adjust to new package-alist format.
12879 (package-mark-obsolete): Remove.
12880 (package-unpack): Force reload of the package's autoloads.
12881 (package-installed-p): Check builtins if the installed package is not
12882 recent enough.
12883 (package-initialize): Don't reset package-obsolete-list.
12884 Don't specify which package version to activate.
12885 (package-process-define-package, describe-package-1)
12886 (package-menu--generate): Adjust to new package-alist format.
12887
12888 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12889
12890 * allout-widgets.el (allout-widgets-mode-off)
12891 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12892 (allout-widgets-post-command-business)
12893 (allout-widgets-after-copy-or-kill-function)
12894 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12895 (allout-decorate-item-and-context)
12896 (allout-graphics-modification-handler): Fix typos in docstrings.
12897 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12898
12899 * cmuscheme.el (scheme-start-file): Doc fix.
12900 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12901 (scheme-input-filter): Use `string-match-p'.
12902
12903 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12904
12905 * dired-x.el: Use Dired consistently in docstrings.
12906
12907 * dired.el: Use Dired consistently in docstrings.
12908 (dired-readin, dired-mode): Use `setq-local'.
12909 (dired-switches-alist): Make defvar-local.
12910 (dired-buffers-for-dir): Use `zerop'.
12911 (dired-safe-switches-p, dired-switches-escape-p)
12912 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12913 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12914 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12915 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12916 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12917 (dired-toggle-marks, dired-mark-files-containing-regexp)
12918 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12919 (dired-flag-auto-save-files, dired-flag-backup-files):
12920 Use `looking-at-p'.
12921 (dired-mark-files-regexp, dired-build-subdir-alist):
12922 Use `string-match-p', `looking-at-p'.
12923
12924 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12925 (direct-print-region-helper): Use `string-match-p'.
12926
12927 2013-06-21 Leo Liu <sdl.web@gmail.com>
12928
12929 * comint.el (comint-redirect-results-list-from-process):
12930 Fix infinite loop.
12931
12932 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12933
12934 * net/eww.el (eww-update-header-line-format): Quote % characters.
12935
12936 2013-06-21 Glenn Morris <rgm@gnu.org>
12937
12938 * play/cookie1.el (cookie): New custom group.
12939 (cookie-file): New option.
12940 (cookie-check-file): New function.
12941 (cookie): Make it interactive. Make start and end messages optional.
12942 Interactively, display the result. Default to cookie-file.
12943 (cookie-insert): Default to cookie-file.
12944 (cookie-snarf): Make start and end messages optional.
12945 Default to cookie-file. Use with-temp-buffer.
12946 (cookie-read): Rename from read-cookie.
12947 Make start and end messages optional. Default to cookie-file.
12948 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12949 Do not autoload it.
12950 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12951 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12952
12953 2013-06-21 Leo Liu <sdl.web@gmail.com>
12954
12955 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12956
12957 2013-06-21 Glenn Morris <rgm@gnu.org>
12958
12959 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12960
12961 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12962 Daniel Hackney <dan@haxney.org>
12963
12964 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12965 Consolidate the single-file vs tarball code.
12966 (package-desc-suffix): New function.
12967 (package-desc-full-name): Don't bother inlining it.
12968 (package-load-descriptor): Return the new package-desc.
12969 (package-mark-obsolete): Remove unused arg `package'.
12970 (package-unpack): Make it work for single files as well.
12971 Make it update package-alist.
12972 (package--make-autoloads-and-stuff): Rename from
12973 package--make-autoloads-and-compile. Don't compile any more.
12974 (package--compile): New function.
12975 (package-generate-description-file): New function, extracted from
12976 package-unpack-single.
12977 (package-unpack-single): Remove.
12978 (package--with-work-buffer): Add indentation and debugging info.
12979 (package-download-single): Remove.
12980 (package-install-from-archive): Rename from package-download-tar, make
12981 it take a pkg-desc, and make it work for single files as well.
12982 (package-download-transaction): Simplify.
12983 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12984 external tar program.
12985 (package-install-from-buffer): Remove `pkg-desc' argument.
12986 Use package-tar-file-info for tar-mode buffers.
12987 (package-install-file): Simplify accordingly.
12988 (package-archive-base): Change to take a pkg-desc.
12989 * tar-mode.el (tar--check-descriptor): New function, extracted from
12990 tar-get-descriptor.
12991 (tar-get-descriptor): Use it.
12992 (tar-get-file-descriptor): New function.
12993 (tar--extract): New function, extracted from tar-extract.
12994 (tar--extract): Use it.
12995 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12996 case the summary uses non-ascii. Adjust to new calling convention of
12997 package-tar-file-info.
12998
12999 2013-06-21 Leo Liu <sdl.web@gmail.com>
13000
13001 * comint.el (comint-redirect-results-list-from-process):
13002 Fix random delay. (Bug#14681)
13003
13004 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13005
13006 * profiler.el (profiler-format-number): Use log, not log10.
13007
13008 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13009
13010 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
13011
13012 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13013
13014 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
13015 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
13016 yet available.
13017 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
13018 (AUTOGENEL): ... here.
13019 * emacs-lisp/cl-macs.el (cl--sublis): New function.
13020 (cl--defsubst-expand): Use it.
13021
13022 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
13023
13024 * subr.el (log10): Move here from C code, and declare as obsolete.
13025 All uses of (log10 X) replaced with (log X 10).
13026
13027 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13028
13029 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
13030 Declare with `defvar-local'.
13031 (tabulated-list-use-header-line, tabulated-list-entries)
13032 (tabulated-list-padding, tabulated-list-printer)
13033 (tabulated-list-sort-key): Declare with `defvar-local'.
13034 (tabulated-list-init-header, tabulated-list-print-fake-header):
13035 Use `setq-local'.
13036
13037 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
13038
13039 * arc-mode.el (archive-mode): Add `archive-write-file' to
13040 `write-contents-functions' also for remote files. (Bug#14652)
13041
13042 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13043
13044 * cus-edit.el (custom-commands): Fix typos.
13045 (custom-display): Fix tooltip text.
13046 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
13047 Fix typos in docstrings.
13048 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
13049 (custom-unlispify-menu-entry, custom-magic-value-create)
13050 (custom-add-see-also, custom-group-value-create): Use ?\s.
13051 (custom-guess-type, customize-apropos, editable-field)
13052 (custom-face-value-create): Use `string-match-p'.
13053 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
13054
13055 * custom.el (custom-load-symbol): Use `string-match-p'.
13056
13057 * ansi-color.el: Convert to lexical binding.
13058 (ansi-colors): Fix URL.
13059 (ansi-color-context, ansi-color-context-region): Use defvar-local.
13060 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
13061 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
13062
13063 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13064
13065 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
13066
13067 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
13068
13069 2013-06-19 Tom Tromey <tromey@redhat.com>
13070
13071 * net/eww.el (eww-top-url): Remove.
13072 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
13073 (eww-render): Set new variables. Don't set eww-top-url.
13074 (eww-handle-link): Handle "prev", "home", and "contents".
13075 Downcase the rel text.
13076 (eww-top-url): Choose best top URL.
13077
13078 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13079
13080 * net/eww.el: Rewrite to implement form elements "by hand" instead of
13081 relying in widget.el. Using widget.el leads to too many
13082 user interface inconsistencies.
13083 (eww-self-insert): Implement entering commands in text fields.
13084 (eww-process-text-input): New function to make text input field editing
13085 work.
13086 (eww-submit): Rewrite to use the new-style form methods.
13087 (eww-select-display): Display the correct selected item.
13088 (eww-change-select): Implement changing the select value.
13089 (eww-toggle-checkbox): Implement radio/checkboxes.
13090 (eww-update-field): Fix compilation error.
13091 (eww-tag-textarea): Implement <textarea>.
13092
13093 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
13094 we don't shadow mode-specific bindings.
13095
13096 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
13097 nothing to push.
13098
13099 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
13100
13101 2013-06-19 Glenn Morris <rgm@gnu.org>
13102
13103 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
13104
13105 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13106
13107 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
13108 not needed.
13109
13110 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
13111
13112 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13113
13114 * net/browse-url.el (browse-url-browser-function):
13115 `eww-browse-url' has the right calling signature, `eww' does not.
13116
13117 2013-06-19 Glenn Morris <rgm@gnu.org>
13118
13119 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13120 Only eval autoloaded macros.
13121 (byte-compile-autoload): Only give the macro warning for macros.
13122
13123 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
13124 (ps-underlined-faces): Declare.
13125
13126 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
13127 (speedbar-add-supported-extension): Declare.
13128
13129 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
13130 Don't include a date stamp in the header of the generated file;
13131 it leads to needless differences between output files.
13132
13133 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13134
13135 * net/secrets.el (secrets-struct-secret-content-type):
13136 Replace check of introspection data by a test call of "CreateItem".
13137 Some servers do not offer introspection.
13138
13139 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
13140
13141 * electric.el (electric-pair-mode): Improve interaction with
13142 electric-layout-mode.
13143 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
13144 (electric-pair-syntax): Use text-mode-syntax-table in comments
13145 and strings.
13146 (electric-pair--insert): New function.
13147 (electric-pair-post-self-insert-function): Use it and
13148 electric--after-char-pos.
13149
13150 2013-06-19 Leo Liu <sdl.web@gmail.com>
13151
13152 * progmodes/octave.el (octave-help): Fix regexp.
13153
13154 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13155
13156 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
13157 (shr-table-horizontal-line): Allow nil as a value, and change the
13158 default.
13159 (shr-insert-table-ruler): Respect the nil value.
13160
13161 2013-06-18 Tom Tromey <tromey@barimba>
13162
13163 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13164 New defvars.
13165 (eww-open-file): New defun.
13166 (eww-render): Initialize new variables.
13167 (eww-display-html): Handle "link" and "a".
13168 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
13169 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
13170 (eww-back-url): Rename from eww-previous-url.
13171 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13172 New defuns.
13173
13174 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
13175
13176 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
13177 Distinguish ternary operator tokens from slash symbol and slash
13178 char literal.
13179
13180 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13181
13182 Convert symbol prettification into minor mode and global minor mode.
13183
13184 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
13185 `prog-prettify-symbols', and make a local defvar instead of defcustom.
13186 (prettify-symbols--keywords): Rename from
13187 `prog-prettify-symbols-alist' and make a local defvar.
13188 (prettify-symbols--compose-symbol): Rename from
13189 `prog--prettify-font-lock-compose-symbol'.
13190 (prettify-symbols--make-keywords): Rename from
13191 `prog-prettify-font-lock-symbols-keywords' and simplify.
13192 (prog-prettify-install): Remove.
13193 (prettify-symbols-mode): New minor mode, based on
13194 `prog-prettify-install'.
13195 (turn-on-prettify-symbols-mode): New function.
13196 (global-prettify-symbols-mode): New globalized minor mode.
13197
13198 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13199 * progmodes/cfengine.el (cfengine3-mode):
13200 * progmodes/perl-mode.el (perl-mode): Don't call
13201 `prog-prettify-install'; set `prettify-symbols-alist' instead.
13202
13203 2013-06-18 Juri Linkov <juri@jurta.org>
13204
13205 * files-x.el (modify-file-local-variable-message): New function.
13206 (modify-file-local-variable)
13207 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
13208 and call `modify-file-local-variable-message' when it's non-nil.
13209 (add-file-local-variable, delete-file-local-variable)
13210 (add-file-local-variable-prop-line)
13211 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
13212 and use it. (Bug#9820)
13213
13214 2013-06-18 Juri Linkov <juri@jurta.org>
13215
13216 * emulation/vi.el (vi-shell-op):
13217 * emulation/vip.el (vip-execute-com, ex-command):
13218 * emulation/viper-cmd.el (viper-exec-bang):
13219 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
13220 the call of `shell-command-on-region'. (Bug#14637)
13221
13222 * simple.el (shell-command-on-region): Doc fix.
13223
13224 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13225
13226 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
13227 (bug#14633).
13228
13229 2013-06-18 Glenn Morris <rgm@gnu.org>
13230
13231 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
13232
13233 * newcomment.el (comment-search-forward, comment-search-backward):
13234 Doc fix. (Bug#14376)
13235
13236 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13237
13238 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
13239 (buffer-face-mode-invoke): Doc fix.
13240
13241 2013-06-18 Matthias Meulien <orontee@gmail.com>
13242
13243 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
13244 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
13245
13246 2013-06-18 Glenn Morris <rgm@gnu.org>
13247
13248 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
13249 Replace obsolete function generic-make-keywords with its expansion.
13250
13251 * progmodes/python.el (ffap-alist): Declare.
13252
13253 * textmodes/reftex.el (bibtex-mode-map): Declare.
13254
13255 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13256
13257 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
13258 (package-unpack, package-unpack-single): Return the pkg-dir.
13259 (package-download-transaction): Use it to update package-alist.
13260
13261 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13262
13263 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
13264 possible choice.
13265
13266 2013-06-17 Juri Linkov <juri@jurta.org>
13267
13268 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
13269
13270 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13271
13272 * emacs-lisp/package.el (package-load-descriptor):
13273 Remove `with-syntax-table' call, `read' doesn't need it.
13274 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
13275
13276 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13277
13278 * startup.el (command-line): Expand package name returned by
13279 `package--description-file' (bug#14639).
13280
13281 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13282
13283 * emacs-lisp/package.el (package-load-descriptor): Do not call
13284 `emacs-lisp-mode', just use its syntax table.
13285
13286 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13287
13288 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
13289 `font-lock-extra-managed-props' if any prettifying keyword is added.
13290 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
13291 (prog-mode): Use `setq-local'.
13292
13293 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13294
13295 * international/characters.el (standard-case-table): Set syntax of ?»
13296 and ?« to punctuation.
13297
13298 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
13299
13300 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13301 Save relevant match data before calling `syntax-ppss' (bug#14595).
13302
13303 2013-06-15 Juri Linkov <juri@jurta.org>
13304
13305 * files-x.el (modify-file-local-variable-prop-line): Add local
13306 variables to the end of the existing comment on the first line.
13307 Use `file-auto-mode-skip' to skip interpreter magic line,
13308 and also skip XML declaration.
13309
13310 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13311
13312 * startup.el (package--builtin-versions): New var.
13313 (package-subdirectory-regexp): Remove.
13314 (package--description-file): Hard code its value instead.
13315
13316 * emacs-lisp/package.el: Don't activate packages older than builtin.
13317 (package-obsolete-list): Rename from package-obsolete-alist, and make
13318 it into a simple list of package-desc.
13319 (package-strip-version): Remove.
13320 (package-built-in-p): Use package--builtin-versions.
13321 (package-mark-obsolete): Simplify.
13322 (package-process-define-package): Mark it obsolete if older than the
13323 builtin version.
13324 (package-handle-response): Use line-end-position.
13325 (package-read-archive-contents, package--download-one-archive):
13326 Simplify.
13327 (package--add-to-archive-contents): Skip if older than the builtin or
13328 installed version.
13329 (package-menu-describe-package): Fix last change.
13330 (package-list-unversioned): New var.
13331 (package-menu--generate): Use it.
13332
13333 * emacs-lisp/autoload.el: Manage package--builtin-versions.
13334 (autoload--insert-text, autoload--insert-cookie-text): New functions.
13335 (autoload-builtin-package-versions): New variable.
13336 (autoload-generate-file-autoloads): Use them.
13337 Remove the list of autoloaded functions/macros from the
13338 (autoload...) comments.
13339
13340 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13341
13342 2013-06-15 Eli Zaretskii <eliz@gnu.org>
13343
13344 * simple.el (line-move-partial): Don't jump to the next screen
13345 line as soon as it becomes visible. Instead, continue enlarging
13346 the vscroll until the portion of a tall screen line that's left on
13347 display is about the height of the frame's default font.
13348 (Bug#14567)
13349
13350 2013-06-15 Glenn Morris <rgm@gnu.org>
13351
13352 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13353 compilation-error-regexp-alist void, or local while let-bound.
13354
13355 * progmodes/make-mode.el (makefile-mode-syntax-table):
13356 Treat "=" as punctuation. (Bug#14614)
13357
13358 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
13359
13360 * help-fns.el (describe-variable):
13361 Add extra line for permanent-local variables.
13362
13363 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
13364
13365 * progmodes/scheme.el (scheme-font-lock-keywords-2):
13366 Add export, import, library. (Bug#9164)
13367 (library): Set indent function.
13368
13369 2013-06-14 Glenn Morris <rgm@gnu.org>
13370
13371 * term/xterm.el (xterm--query):
13372 Stop after first matching handler. (Bug#14615)
13373
13374 2013-06-14 Ivan Kanis <ivan@kanis.fr>
13375
13376 Add support for dired in saveplace.
13377 * dired.el (dired-initial-position-hook): New variable.
13378 (dired-initial-position): Call hook to place cursor position.
13379 * saveplace.el (save-place-to-alist): Add dired position.
13380 (save-place-dired-hook): New function.
13381
13382 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
13383
13384 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13385 through a symbol rather than letrec.
13386
13387 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
13388 (package-desc): Add `dir' field.
13389 (package-desc-full-name): New function.
13390 (package-load-descriptor): Combine the two arguments. Don't use `load'.
13391 (package-maybe-load-descriptor): Remove.
13392 (package-load-all-descriptors): Just call package-load-descriptor.
13393 (package--disabled-p): New function.
13394 (package-desc-vers, package-desc-doc): Remove aliases.
13395 (package--dir): Remove function.
13396 (package-activate): Check if a package is disabled.
13397 (package-process-define-package): New function, extracted from
13398 define-package.
13399 (define-package): Turn into a place holder.
13400 (package-unpack-single, package-tar-file-info):
13401 Use package--description-file.
13402 (package-compute-transaction): Use package--disabled-p.
13403 (package-download-transaction): Don't call
13404 package-maybe-load-descriptor since they're all loaded anyway.
13405 (package-install): Change argument to be a pkg-desc.
13406 (package-delete): Use a single pkg-desc argument.
13407 (describe-package-1): Use package-desc-dir instead of package--dir.
13408 Use package-desc property instead of package-symbol.
13409 (package-install-button-action): Adjust accordingly.
13410 (package--push): Rewrite.
13411 (package-menu--print-info): Adjust accordingly. Change the ID format
13412 to be a pkg-desc.
13413 (package-menu-describe-package, package-menu-get-status)
13414 (package-menu--find-upgrades, package-menu-mark-upgrades)
13415 (package-menu-execute, package-menu--name-predicate):
13416 Adjust accordingly.
13417 * startup.el (package--description-file): New function.
13418 (command-line): Use it.
13419 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13420 Use package-desc-version.
13421
13422 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13423 (byte-compile-preprocess): Use it.
13424 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13425 can't quite recognize.
13426 (byte-compile-add-to-list): Remove.
13427 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13428 (cconv-closure-convert): Add assertion.
13429
13430 * emacs-lisp/map-ynp.el: Use lexical-binding.
13431 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13432 Factor out some repeated code.
13433
13434 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13435
13436 * subr.el (with-eval-after-load): New macro.
13437 (eval-after-load): Allow form to be a function.
13438 take advantage of lexical-binding.
13439 (do-after-load-evaluation): Use dolist and adjust to new format.
13440 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13441
13442 2013-06-13 Juri Linkov <juri@jurta.org>
13443
13444 * replace.el (perform-replace): Display "symbol " and other search
13445 modes from `isearch-message-prefix' in the *Help* buffer.
13446
13447 * isearch.el (isearch-query-replace): Add " symbol" and other
13448 possible search modes from `isearch-message-prefix' to the prompt.
13449 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13450 when reading a regexp to collect.
13451
13452 2013-06-13 Juri Linkov <juri@jurta.org>
13453
13454 * isearch.el (word-search-regexp): Match whitespace if the search
13455 string begins or ends in whitespace. The LAX arg is applied to
13456 both ends of the search string. Use `regexp-quote' and explicit
13457 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13458 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13459 boundaries are replaced with symbol boundaries, and characters
13460 between symbols match non-word non-symbol syntax. (Bug#14602)
13461
13462 2013-06-13 Juri Linkov <juri@jurta.org>
13463
13464 * isearch.el (isearch-del-char): Don't exceed the length of
13465 `isearch-string' by the prefix arg. (Bug#14563)
13466
13467 2013-06-13 Juri Linkov <juri@jurta.org>
13468
13469 * isearch.el (isearch-yank-word, isearch-yank-line)
13470 (isearch-char-by-name, isearch-quote-char)
13471 (isearch-printing-char, isearch-process-search-char):
13472 Add optional count prefix arg. (Bug#14563)
13473
13474 * international/isearch-x.el
13475 (isearch-process-search-multibyte-characters):
13476 Add optional count prefix arg.
13477
13478 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13479
13480 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13481 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13482 lexical-binding.
13483
13484 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13485
13486 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13487
13488 2013-06-13 Glenn Morris <rgm@gnu.org>
13489
13490 * startup.el (tty-handle-args):
13491 Don't just discard "--" and anything after. (Bug#14608)
13492
13493 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13494
13495 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13496
13497 Implement changes in Secret Service API. Make it backward compatible.
13498 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13499 (secrets-create-item): Use it. Prefix properties with interface.
13500
13501 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13502
13503 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13504 (term-emulate-terminal): Respect term-suppress-hard-newline.
13505
13506 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13507
13508 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13509 Only remove a `thumb-file' overlay. (Bug#14548)
13510
13511 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13512
13513 * mail/reporter.el (reporter-submit-bug-report):
13514 Handle missing package-name. (Bug#14600)
13515
13516 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13517
13518 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13519 (reftex-citation-prompt, reftex-default-bibliography)
13520 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13521 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13522 (reftex-bib-sort-author, reftex-bib-sort-year)
13523 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13524 (reftex-extract-bib-entries-from-thebibliography)
13525 (reftex-get-bibkey-default, reftex-get-bib-names)
13526 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13527 (reftex-format-bib-entry, reftex-parse-bibitem)
13528 (reftex-format-bibitem, reftex-do-citation)
13529 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13530 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13531 (reftex-insert-bib-matches, reftex-format-citation)
13532 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13533 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13534 existing comments into docstrings.
13535
13536 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13537
13538 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13539
13540 2013-06-12 Andreas Schwab <schwab@suse.de>
13541
13542 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13543 for auto-save files.
13544
13545 2013-06-12 Glenn Morris <rgm@gnu.org>
13546
13547 * ido.el (ido-delete-ignored-files): Remove.
13548 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13549 Go back to calling ido-ignore-item-p directly.
13550
13551 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13552
13553 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13554
13555 * ido.el (ido-delete-ignored-files): New function,
13556 split from ido-make-file-list-1.
13557 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13558 (ido-make-file-list-1): Use ido-delete-ignored-files.
13559
13560 2013-06-12 Leo Liu <sdl.web@gmail.com>
13561
13562 * progmodes/octave.el (inferior-octave-startup)
13563 (inferior-octave-completion-table)
13564 (inferior-octave-track-window-width-change)
13565 (octave-eldoc-function-signatures, octave-help)
13566 (octave-find-definition): Use single quoted strings.
13567 (inferior-octave-startup-args): Change default value.
13568 (inferior-octave-startup): Do not hard code "-i" and
13569 "--no-line-editing".
13570 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13571 (inferior-octave-directory-tracker): Use it.
13572 (octave-goto-function-definition): Robustify.
13573 (octave-help): Support highlighting operators in 'See also'.
13574 (octave-find-definition): Find subfunctions only in Octave mode.
13575
13576 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13577
13578 * help-fns.el (help-fns--compiler-macro): If the handler function is
13579 named, then put a link to it.
13580 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13581 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13582 (cl-typep): Use it.
13583 (cl-eval-when): Simplify debug spec.
13584 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13585 compiler-macro function instead of setting `compiler-macro-file'.
13586
13587 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13588
13589 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13590 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13591
13592 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13593 Daniel Hackney <dan@haxney.org>
13594
13595 First part of Daniel Hackney's patch to package.el.
13596 * emacs-lisp/package.el: Use defstruct.
13597 (package-desc): New, main struct.
13598 (package--bi-desc, package--ac-desc): New structs, used to describe the
13599 format in external files.
13600 (package-desc-vers): Replace with package-desc-version accessor.
13601 (package-desc-doc): Replace with package-desc-summary accessor.
13602 (package-activate-1): Remove `package' arg since the pkg-vec now
13603 includes the name.
13604 (define-package): Use package-desc-from-define.
13605 (package-unpack-single): Change file-name arg to be a symbol.
13606 (package--add-to-archive-contents): Use package-desc-create and new
13607 accessor functions to package--ac-desc.
13608 (package-buffer-info, package-tar-file-info): Return a package-desc.
13609 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13610 arg to be a package-desc.
13611 (package-install-file): Adjust accordingly. Use \' to match EOS.
13612 (package--from-builtin): New function.
13613 (describe-package-1, package-menu--generate): Use it.
13614 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13615 (package-generate-autoloads): Idem and return the name of the file.
13616 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13617 Change pkg-info arg to be a package-desc.
13618 Use package-make-ac-desc.
13619 (package-upload-file): Use \' to match EOS.
13620 * finder.el (finder-compile-keywords): Use package-make-builtin.
13621
13622 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13623
13624 * vc/vc.el (vc-deduce-fileset): Change error message.
13625 (vc-read-backend): New function.
13626 (vc-next-action): Use it.
13627
13628 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13629
13630 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13631 (prolog-font-lock-keywords): Use regexp-opt instead.
13632 Don't manually highlight strings.
13633 (prolog-mode-variables): Simplify comment-start-skip.
13634 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13635
13636 * emacs-lisp/generic.el (generic--normalise-comments)
13637 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13638 (generic-mode-set-comments): Use them.
13639 (generic-bracket-support): Use setq-local.
13640 (generic-make-keywords-list): Declare obsolete.
13641
13642 2013-06-11 Glenn Morris <rgm@gnu.org>
13643
13644 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13645 Prettify after setting font-lock-defaults. (Bug#14574)
13646
13647 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13648
13649 * replace.el (query-replace, occur-read-regexp-defaults-function)
13650 (replace-search):
13651 * subr.el (declare-function, number-sequence, local-set-key)
13652 (substitute-key-definition, locate-user-emacs-file)
13653 (with-silent-modifications, split-string, eval-after-load):
13654 Fix typos, remove unneeded backslashes and reflow some docstrings.
13655
13656 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13657
13658 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13659 default for Elisp files.
13660
13661 2013-06-11 Glenn Morris <rgm@gnu.org>
13662
13663 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13664 although define-derived-mode was doing this anyway. (Bug#14583)
13665
13666 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13667
13668 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13669 Fix make-variable-buffer-local call to refer to the correct variable.
13670
13671 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13672
13673 * eshell/em-term.el (eshell-visual-commands)
13674 (eshell-visual-subcommands, eshell-visual-options):
13675 Add summary line to docstrings. Add cross-references.
13676
13677 2013-06-10 Glenn Morris <rgm@gnu.org>
13678
13679 * epa.el (epa-read-file-name): New function. (Bug#14510)
13680 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13681
13682 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13683
13684 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13685 output redirection to be ignored with visual commands.
13686
13687 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13688
13689 * eshell/em-term.el (eshell-visual-command-p): New function.
13690 (eshell-term-initialize): Move long lambda to separate function
13691 eshell-visual-command-p.
13692 * eshell/em-dirs.el (eshell-dirs-initialize):
13693 * eshell/em-script.el (eshell-script-initialize):
13694 Add missing #' to lambda.
13695
13696 2013-06-08 Leo Liu <sdl.web@gmail.com>
13697
13698 * progmodes/octave.el (octave-add-log-current-defun): New function.
13699 (octave-mode): Set add-log-current-defun-function.
13700 (octave-goto-function-definition): Do not move point if not found.
13701 (octave-find-definition): Enhance to try subfunctions first.
13702
13703 2013-06-08 Glenn Morris <rgm@gnu.org>
13704
13705 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13706 (byte-compile-backward-char, byte-compile-backward-word):
13707 Improve previous change, to handle non-explicit nil.
13708
13709 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13710
13711 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13712 (smie--opener/closer-at-point): New function.
13713 (smie--matching-block-data): Use it. Don't match from right after an
13714 opener or right before a closer. Obey smie-blink-matching-inners.
13715 Don't signal a mismatch for repeated inners like "switch..case..case".
13716
13717 2013-06-07 Leo Liu <sdl.web@gmail.com>
13718
13719 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13720 to t. (Bug#14303)
13721 (octave-function-header-regexp): Fix. (Bug#14570)
13722 (octave-help-mode-finish-hook, octave-help-mode-finish):
13723 Remove. Just use temp-buffer-show-hook.
13724
13725 * newcomment.el (comment-search-backward): Revert last change.
13726 (Bug#14434)
13727
13728 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13729
13730 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13731
13732 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13733 through xargs, to avoid failure due to MS-Windows limitations on
13734 command-line length.
13735
13736 2013-06-06 Glenn Morris <rgm@gnu.org>
13737
13738 * font-lock.el (lisp-font-lock-keywords-2):
13739 Treat user-error like error.
13740
13741 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13742 (byte-compile-backward-char, byte-compile-backward-word):
13743 Handle explicit nil arguments. (Bug#14565)
13744
13745 2013-06-05 Alan Mackenzie <acm@muc.de>
13746
13747 * isearch.el (isearch-allow-prefix): New user option.
13748 (isearch-other-meta-char): Don't exit isearch when a prefix
13749 argument is typed whilst `isearch-allow-prefix' is non-nil.
13750 (Bug#9706)
13751
13752 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13753
13754 * autorevert.el (auto-revert-notify-handler): Use memq.
13755 Hide assertion failure.
13756
13757 * skeleton.el: Use cl-lib.
13758 (skeleton-further-elements): Use defvar-local.
13759 (skeleton-insert): Use cl-progv.
13760
13761 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13762
13763 * progmodes/prog-mode.el (prog-prettify-symbols)
13764 (prog-prettify-install): Update docstrings.
13765
13766 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13767
13768 * simple.el: Move all the prog-mode code to prog-mode.el.
13769 * progmodes/prog-mode.el: New file.
13770 * loadup.el: Add prog-mode.el.
13771
13772 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13773
13774 * simple.el (prog-prettify-symbols): Add version.
13775 (prog-prettify-install): Add convenience function to prettify symbols.
13776
13777 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13778 (perl--augmented-font-lock-keywords-1)
13779 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13780 variables and use it.
13781
13782 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13783 (cfengine3-mode): Remove unneeded variable and use it.
13784
13785 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13786 (lisp--augmented-font-lock-keywords-1)
13787 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13788 Remove unneeded variables and use it.
13789
13790 2013-06-05 João Távora <joaotavora@gmail.com>
13791
13792 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13793 to point when opening the connection. (Bug#14380)
13794
13795 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13796
13797 * subr.el (load-history-regexp, load-history-filename-element)
13798 (eval-after-load, after-load-functions, do-after-load-evaluation)
13799 (eval-next-after-load, display-delayed-warnings)
13800 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13801 definition of save-match-data.
13802 (overriding-local-map): Remove accidental obsolescence declaration.
13803
13804 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13805
13806 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13807
13808 Generalize symbol prettify support to prog-mode and implement it
13809 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13810 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13811 (prog--prettify-font-lock-compose-symbol)
13812 (prog-prettify-font-lock-symbols-keywords): New variables and
13813 functions to support symbol prettification.
13814 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13815 (lisp--augmented-font-lock-keywords-1)
13816 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13817 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13818 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13819 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13820 Implement prettify of -> => :: strings.
13821 * progmodes/perl-mode.el (perl-prettify-symbols)
13822 (perl--font-lock-compose-symbol)
13823 (perl--font-lock-symbols-keywords): Move to prog-mode.
13824 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13825 (perl-font-lock-keywords-1)
13826 (perl-font-lock-keywords-2): Remove explicit prettify support.
13827 (perl--augmented-font-lock-keywords)
13828 (perl--augmented-font-lock-keywords-1)
13829 (perl--augmented-font-lock-keywords-2, perl-mode):
13830 Implement prettify support.
13831
13832 2013-06-05 Leo Liu <sdl.web@gmail.com>
13833
13834 Re-implement SMIE matching block highlight using
13835 show-paren-data-function. (Bug#14395)
13836 * emacs-lisp/smie.el (smie-matching-block-highlight)
13837 (smie--highlight-matching-block-overlay)
13838 (smie--highlight-matching-block-lastpos)
13839 (smie-highlight-matching-block)
13840 (smie-highlight-matching-block-mode): Remove.
13841 (smie--matching-block-data-cache): New variable.
13842 (smie--matching-block-data): New function.
13843 (smie-setup): Use smie--matching-block-data for
13844 show-paren-data-function.
13845
13846 * progmodes/octave.el (octave-mode-menu): Fix.
13847 (octave-find-definition): Skip garbage lines.
13848
13849 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13850
13851 Fix compilation error with simultaneous dynamic+lexical scoping.
13852 Add warning when a defvar appears after the first let-binding.
13853 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13854 (byte-compile-close-variables): Initialize it.
13855 (byte-compile--declare-var): New function.
13856 (byte-compile-file-form-defvar)
13857 (byte-compile-file-form-define-abbrev-table)
13858 (byte-compile-file-form-custom-declare-variable): Use it.
13859 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13860 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13861 (byte-compile-bind): Handle dynamic bindings that shadow
13862 lexical bindings.
13863 (byte-compile-unbind): Make arg non-optional.
13864 (byte-compile-let): Simplify.
13865 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13866 (cconv--analyse-function, cconv-analyse-form): Populate it.
13867 Protect byte-compile-bound-variables to limit the scope of defvars.
13868 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13869 Remove unneeded rule for `declare'.
13870
13871 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13872 so as to avoid depending on cl-adjoin at run-time.
13873 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13874
13875 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13876 (macroexp--warn-and-return): Use it.
13877
13878 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13879
13880 * subr.el: Convert to lexical binding.
13881 (overriding-local-map): Make obsolete.
13882 (add-to-list): Doc fix. Add compiler macro.
13883 (read-key): Swap values of local maps.
13884
13885 2013-06-05 Leo Liu <sdl.web@gmail.com>
13886
13887 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13888
13889 2013-06-04 Leo Liu <sdl.web@gmail.com>
13890
13891 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13892 (compilation-auto-jump): Suppress the "Mark set" message to give
13893 way to exit message.
13894
13895 2013-06-04 Alan Mackenzie <acm@muc.de>
13896
13897 Remove faulty optimisation from indentation calculation.
13898 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13899 search limit based on 2000 characters back from indent-point.
13900
13901 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13902
13903 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13904
13905 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13906
13907 * emacs-lisp/lisp.el: Use lexical-binding.
13908 (lisp--local-variables-1, lisp--local-variables): New functions.
13909 (lisp--local-variables-completion-table): New var.
13910 (lisp-completion-at-point): Use it complete let-bound vars.
13911
13912 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13913 eagerly (bug#14422).
13914
13915 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13916
13917 * autorevert.el (auto-revert-notify-enabled)
13918 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13919 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13920 (auto-revert-notify-handler): Handle also gfilenotify.
13921
13922 * subr.el (file-notify-handle-event): New defun. Replacing ...
13923 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13924 Remove.
13925
13926 2013-06-03 Juri Linkov <juri@jurta.org>
13927
13928 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13929 `M-s h .'. (Bug#14427)
13930
13931 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13932 command `hi-lock-face-symbol-at-point'.
13933 (hi-lock-face-symbol-at-point): New command.
13934 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13935 (hi-lock-menu): Add `highlight-symbol-at-point'.
13936 (hi-lock-mode): Doc fix.
13937
13938 * isearch.el (isearch-forward-symbol-at-point): New command.
13939 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13940 (isearch-highlight-regexp): Add a regexp which matches
13941 words/symbols for word/symbol mode.
13942
13943 * subr.el (find-tag-default-bounds): New function with the body
13944 mostly moved from `find-tag-default'.
13945 (find-tag-default): Move most code to `find-tag-default-bounds',
13946 call it and apply `buffer-substring-no-properties' afterwards.
13947
13948 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13949
13950 * eshell/em-term.el (eshell-term-initialize):
13951 Use `cl-intersection' rather than `intersection'.
13952
13953 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13954
13955 * vc/log-view.el: Doc fix.
13956 (log-view-mode-map): Copy keymap from `special-mode-map'.
13957
13958 2013-06-02 Eric Ludlam <zappo@gnu.org>
13959
13960 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13961 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13962 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13963 (eieio-unbound, eieio-default-superclass)
13964 (eieio--define-field-accessors, method-static, method-before)
13965 (method-primary, method-after, method-num-lists)
13966 (method-generic-before, method-generic-primary)
13967 (method-generic-after, method-num-slots)
13968 (eieio-specialized-key-to-generic-key)
13969 (eieio--check-type, class-v, class-p)
13970 (eieio-class-name, define-obsolete-function-alias)
13971 (eieio-class-parents-fast, eieio-class-children-fast)
13972 (same-class-fast-p, class-constructor, generic-p)
13973 (generic-primary-only-p, generic-primary-only-one-p)
13974 (class-option-assoc, class-option, eieio-object-p)
13975 (class-abstract-p, class-method-invocation-order)
13976 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13977 (eieio-class-un-autoload, eieio-defclass)
13978 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13979 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13980 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13981 (eieio-defgeneric-reset-generic-form)
13982 (eieio-defgeneric-form-primary-only)
13983 (eieio-defgeneric-reset-generic-form-primary-only)
13984 (eieio-defgeneric-form-primary-only-one)
13985 (eieio-defgeneric-reset-generic-form-primary-only-one)
13986 (eieio-unbind-method-implementations)
13987 (eieio--defmethod, eieio--typep)
13988 (eieio-perform-slot-validation, eieio-validate-slot-value)
13989 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13990 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13991 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13992 (eieio-slot-name-index, eieio-class-slot-name-index)
13993 (eieio-set-defaults, eieio-initarg-to-attribute)
13994 (eieio-attribute-to-initarg, eieio-c3-candidate)
13995 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13996 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13997 (eieio-class-precedence-list, eieio-generic-call-methodname)
13998 (eieio-generic-call-arglst, eieio-generic-call-key)
13999 (eieio-generic-call-next-method-list)
14000 (eieio-pre-method-execution-functions, eieio-generic-call)
14001 (eieio-generic-call-primary-only, eieiomt-method-list)
14002 (eieiomt-optimizing-obarray, eieiomt-install)
14003 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
14004 (eieio-generic-form, eieio-defmethod, make-obsolete)
14005 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
14006 (defclass): Remove `eval-and-compile' from macro.
14007 (call-next-method, shared-initialize): Instead of using
14008 `scoped-class' variable, use new eieio--scoped-class, and
14009 eieio--with-scoped-class.
14010 (initialize-instance): Rename local variable 'scoped-class' to
14011 'this-class' to remove ambiguitity from old global.
14012
14013 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
14014 eieio.el.
14015 (eieio--scoped-class-stack): New variable.
14016 (eieio--scoped-class): New fcn.
14017 (eieio--with-scoped-class): New scoping macro.
14018 (eieio-defclass): Use pushnew instead of add-to-list.
14019 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
14020 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
14021 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
14022 `scoped-class' variable, use new eieio--scoped-class, and
14023 eieio--with-scoped-class.
14024
14025 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
14026
14027 2013-06-02 Tassilo Horn <tsdh@gnu.org>
14028
14029 * eshell/esh-ext.el (eshell-external-command): Pass args to
14030 `eshell-find-interpreter'.
14031 (eshell-find-interpreter): Add new second parameter ARGS.
14032
14033 * eshell/em-script.el (eshell-script-initialize): Add second arg
14034 to the function added as MATCH to `eshell-interpreter-alist'.
14035
14036 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
14037 the function added as MATCH to `eshell-interpreter-alist'.
14038
14039 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
14040 (eshell-visual-options): New defcustom.
14041 (eshell-escape-control-x): Adapt docstring.
14042 (eshell-term-initialize): Test `eshell-visual-subcommands' and
14043 `eshell-visual-options' in addition to `eshell-visual-commands'.
14044 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
14045
14046 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
14047
14048 * progmodes/python.el (python-indent-block-enders): Add break,
14049 continue and raise keywords.
14050
14051 2013-06-01 Glenn Morris <rgm@gnu.org>
14052
14053 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
14054
14055 Plain (f)boundp silences compilation warnings since Emacs 22.1.
14056 * progmodes/cc-cmds.el (delete-forward-p):
14057 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
14058 * progmodes/cc-engine.el (buffer-syntactic-context):
14059 * progmodes/cc-fonts.el (face-property-instance):
14060 * progmodes/cc-mode.el (set-keymap-parents):
14061 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
14062 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
14063 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
14064 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
14065 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
14066
14067 * progmodes/cc-vars.el (other): Emacs has this widget since
14068 at least 21.1, so don't (re)define it.
14069
14070 * eshell/em-cmpl.el (eshell-cmpl-initialize):
14071 Replace the obsolete alias pcomplete-arg-quote-list.
14072
14073 2013-06-01 Leo Liu <sdl.web@gmail.com>
14074
14075 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
14076 punctuation syntax.
14077 (inferior-octave-minimal-columns)
14078 (inferior-octave-last-column-width): New variables.
14079 (inferior-octave-track-window-width-change): New function.
14080 (inferior-octave-mode): Adjust column width so that Octave output,
14081 for example from 'ls', can fit into the window nicely.
14082
14083 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14084
14085 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14086 Highlight expansions inside regexp literals.
14087
14088 2013-05-31 Glenn Morris <rgm@gnu.org>
14089
14090 * obsolete/sym-comp.el (symbol-complete):
14091 Replace obsolete completion-annotate-function.
14092
14093 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
14094
14095 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14096
14097 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14098 New function, checks if point is inside a literal that allows
14099 expression expansion.
14100 (ruby-syntax-propertize-expansion): Use it.
14101 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
14102 around the body.
14103
14104 2013-05-30 Juri Linkov <juri@jurta.org>
14105
14106 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
14107 to "\M-si".
14108 (isearch-invisible): New variable.
14109 (isearch-forward): Doc fix.
14110 (isearch-mode): Set `isearch-invisible'
14111 to the value of `search-invisible'.
14112 (isearch-toggle-case-fold): Doc fix.
14113 (isearch-toggle-invisible): New command.
14114 (isearch-query-replace): Let-bind `search-invisible'
14115 to the value of `isearch-invisible'.
14116 (isearch-search): Use `isearch-invisible' instead of
14117 `search-invisible'. Let-bind `search-invisible'
14118 to the value of `isearch-invisible'. (Bug#11378)
14119
14120 2013-05-30 Juri Linkov <juri@jurta.org>
14121
14122 * replace.el (perform-replace): Avoid `isearch-range-invisible'
14123 call when `query-flag' is nil and `search-invisible' is non-nil.
14124 (Bug#11746)
14125
14126 2013-05-30 Glenn Morris <rgm@gnu.org>
14127
14128 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
14129
14130 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
14131 (cc-require): Suppress spurious "noruntime" warnings.
14132 (cc-require-when-compile): Use fboundp, for sake of compiler.
14133
14134 * progmodes/cc-mode.el: Move load of cc-vars before that of
14135 cc-langs (which in turn loads cc-vars), to quieten compiler.
14136
14137 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14138
14139 * paren.el: Simplify the code.
14140 (show-paren-mode): Always start the timer.
14141 (show-paren--idle-timer): Rename from show-paren-idle-timer.
14142 (show-paren--overlay, show-paren--overlay-1): Rename from
14143 show-paren-overlay and show-paren-overlay-1, and initialize to an
14144 overlay rather than to nil.
14145 (show-paren-function): Misc cleanup and simplifications.
14146
14147 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14148
14149 * paren.el (show-paren-data-function): New hook.
14150 (show-paren--default): New function, extracted from show-paren-function.
14151 (show-paren-function): Use show-paren-data-function.
14152
14153 2013-05-30 Glenn Morris <rgm@gnu.org>
14154
14155 * ielm.el (ielm-map, ielm-complete-symbol):
14156 Use completion-at-point rather than obsolete functions.
14157 (inferior-emacs-lisp-mode): Doc fix.
14158 Set completion-at-point-functions, rather than
14159 comint-dynamic-complete-functions.
14160
14161 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
14162 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
14163 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
14164
14165 * image.el (image-animated-p): Tweak definition.
14166
14167 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
14168 (rlogin-process-connection-type): Tweak default. Add set-after.
14169 (rlogin-host): Doc fix.
14170 (rlogin): Tweak prompt.
14171 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
14172
14173 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
14174 * progmodes/tcl.el (inferior-tcl-mode-map):
14175 Use completion-at-point rather than obsolete alias.
14176
14177 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
14178
14179 * minibuffer.el (read-file-name-completion-ignore-case):
14180 Move before completion--in-region, for eager macro expansion.
14181
14182 2013-05-29 Juri Linkov <juri@jurta.org>
14183
14184 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
14185 for total count of matching lines. Add `global-matches' for total
14186 count of matches. Rename `matches' to `lines' for count of
14187 matching lines. Add `matches' for count of matches.
14188 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
14189 to `prev-line' for line number of prev match endpt.
14190 Increment `matches' for every match. Print the number of
14191 matching lines in the header.
14192 (occur-context-lines): Rename `lines' to `curr-line'.
14193 Rename `prev-lines' to `prev-line'. (Bug#14017)
14194
14195 2013-05-29 Juri Linkov <juri@jurta.org>
14196
14197 * replace.el (perform-replace): Add `skip-read-only-count',
14198 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
14199 Increment them for corresponding conditions and report the number
14200 of skipped occurrences in the final message. (Bug#11746)
14201 (query-replace, query-replace-regexp, query-replace-regexp-eval)
14202 (replace-string, replace-regexp): Doc fix.
14203
14204 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14205
14206 * emacs-lisp/trace.el (trace--read-args): Provide a default.
14207
14208 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
14209 prog-mode-map (bug#14504).
14210
14211 2013-05-29 Leo Liu <sdl.web@gmail.com>
14212
14213 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
14214 (octave-help): Small simplification.
14215
14216 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
14217 off the highlight first.
14218
14219 2013-05-29 Glenn Morris <rgm@gnu.org>
14220
14221 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
14222 Handle idlwave-last-system-routine-info-cons-cell being nil.
14223
14224 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14225 (idlwave-write-paths): Simplify via with-temp-buffer.
14226
14227 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
14228 * emulation/cua-rect.el: Also load cua-base at run time.
14229
14230 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
14231 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
14232 (cperl-imenu-on-info): Require imenu.
14233
14234 2013-05-28 Alan Mackenzie <acm@muc.de>
14235
14236 Handle "capitalised keywords" correctly.
14237 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
14238
14239 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
14240
14241 * eshell/em-unix.el: Add -r option to cp.
14242
14243 2013-05-28 Glenn Morris <rgm@gnu.org>
14244
14245 * vc/vc-arch.el (vc-exec-after): Declare.
14246 (vc-switches): Autoload.
14247 * vc/vc-bzr.el: No need to require vc when compiling.
14248 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
14249 (vc-resynch-buffer, vc-dir-refresh): Declare.
14250 (vc-setup-buffer, vc-switches): Autoload.
14251 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
14252 (vc-resynch-buffer): Declare.
14253 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
14254 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
14255 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
14256 (grep-read-regexp, grep-read-files, grep-expand-template)
14257 (vc-dir-refresh): Declare.
14258 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
14259 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
14260 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
14261 * vc/vc-mtn.el (vc-exec-after): Declare.
14262 (vc-switches): Autoload.
14263 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
14264 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
14265 (vc-file-tree-walk): Declare.
14266 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
14267 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
14268 (vc-tag-precondition, vc-rename-master): Autoload.
14269 * vc/vc-svn.el (vc-exec-after): Declare.
14270 (vc-switches, vc-setup-buffer): Autoload.
14271 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
14272 Autoload.
14273 (vc-resynch-buffer): Declare.
14274
14275 * obsolete/fast-lock.el (byte-compile-warnings):
14276 Don't warn about obsolete features in this obsolete file.
14277
14278 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
14279 Move definition before use.
14280
14281 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
14282 (dun-unix-verbs): Remove dun-zippy.
14283 (dun-zippy): Remove function.
14284
14285 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
14286
14287 2013-05-27 Juri Linkov <juri@jurta.org>
14288
14289 * replace.el (replace-search): New function with code moved out
14290 from `perform-replace'.
14291 (replace-highlight, replace-dehighlight): Move function definitions
14292 up closer to `replace-search'. (Bug#11746)
14293
14294 2013-05-27 Juri Linkov <juri@jurta.org>
14295
14296 * replace.el (perform-replace): Ignore invisible matches.
14297 In addition to checking `query-replace-skip-read-only', also
14298 filter out matches by calling `run-hook-with-args-until-failure'
14299 on `isearch-filter-predicates', and also check `search-invisible'
14300 for t or call `isearch-range-invisible'.
14301 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
14302
14303 2013-05-27 Juri Linkov <juri@jurta.org>
14304
14305 * isearch.el (isearch-filter-predicates): Rename from
14306 `isearch-filter-predicate'. Doc fix. (Bug#11378)
14307 (isearch-message-prefix): Display text from the property
14308 `isearch-message-prefix' of the currently active filters.
14309 (isearch-search): Don't compare `isearch-filter-predicate' with
14310 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
14311 on `isearch-filter-predicates'. Also check `search-invisible' for t
14312 or call `isearch-range-invisible'.
14313 (isearch-filter-visible): Make obsolete.
14314 (isearch-lazy-highlight-search):
14315 Call `run-hook-with-args-until-failure' on
14316 `isearch-filter-predicates' and use `isearch-range-invisible'.
14317
14318 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14319 `isearch-filter-predicates' instead of `funcall'ing
14320 `isearch-filter-predicate'.
14321 (Info-mode): Set `Info-isearch-filter' to
14322 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14323
14324 * dired-aux.el (dired-isearch-filter-predicate-orig):
14325 Remove variable.
14326 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14327 (dired-isearch-filenames-end): Add and remove
14328 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14329 instead of changing the value of `isearch-filter-predicate'.
14330 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14331 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14332 Put property `isearch-message-prefix' to "filename " on
14333 `dired-isearch-filter-filenames'.
14334
14335 * wdired.el (wdired-change-to-wdired-mode):
14336 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14337 locally instead of changing `isearch-filter-predicate'.
14338 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14339
14340 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
14341
14342 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14343 return the commit hash (Bug#14459). Also set the
14344 `vc-git-detached' property.
14345 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14346 (vc-git-mode-line-string): Use the same help-echo format whether
14347 in detached mode or not, because we know the actual revision now.
14348 When in detached mode, shorten the revision to 7 chars.
14349
14350 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14351
14352 * emacs-lisp/easy-mmode.el (define-minor-mode):
14353 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14354 mode hook and provide a docstring.
14355
14356 2013-05-27 Alan Mackenzie <acm@muc.de>
14357
14358 Remove spurious syntax-table text properties inserted by C-y.
14359 * progmodes/cc-mode.el (c-after-change): Also clear hard
14360 syntax-table property with value nil.
14361
14362 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
14363
14364 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14365 when reading the events; the buffer layout shall not be changed.
14366
14367 2013-05-27 Leo Liu <sdl.web@gmail.com>
14368
14369 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14370 New variable.
14371 (inferior-octave-directory-tracker): Automatically re-sync
14372 default-directory.
14373 (octave-help): Improve handling of 'See also'.
14374
14375 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14376
14377 * doc-view.el: Minor naming convention tweaks.
14378 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14379
14380 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14381 even if there's no `display' property yet (bug#14435).
14382
14383 2013-05-25 Eli Zaretskii <eliz@gnu.org>
14384
14385 * subr.el (unmsys--file-name): Rename from reveal-filename.
14386
14387 * Makefile.in (custom-deps, finder-data, autoloads)
14388 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14389 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14390 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14391
14392 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14393
14394 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14395 error-completion on the first 2 args of condition-case (bug#14446).
14396 Don't burp at EOB.
14397
14398 2013-05-25 Leo Liu <sdl.web@gmail.com>
14399
14400 * comint.el (comint-previous-matching-input): Do not flood the
14401 *Messages* buffer with trivial messages.
14402
14403 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14404
14405 * progmodes/flymake.el (flymake-nop): Don't return a string.
14406 (flymake-set-at): Fix typo.
14407
14408 * simple.el (read--expression): New function, extracted from
14409 eval-expression. Set completion-at-point-functions (bug#14465).
14410 (eval-expression, eval-minibuffer): Use it.
14411
14412 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
14413
14414 * progmodes/flymake.el (flymake-save-buffer-in-file)
14415 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14416 (flymake-selected-frame, flymake-log, flymake-ins-after)
14417 (flymake-set-at, flymake-get-buildfile-from-cache)
14418 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14419 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14420 Refine the doc string.
14421 (flymake-get-file-name-mode-and-masks): Reformat.
14422 (flymake-get-real-file-name-function): Fix a minor bug.
14423
14424 2013-05-24 Juri Linkov <juri@jurta.org>
14425
14426 * progmodes/grep.el (grep-mode-font-lock-keywords):
14427 Support =linenumber= format used by git-grep for lines with
14428 function names. (Bug#13549)
14429
14430 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14431
14432 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14433 0 after a semi-colon; it works better for smie-auto-fill.
14434 (octave--indent-new-comment-line): New function.
14435 (octave-indent-new-comment-line): Use it (indirectly).
14436 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14437 modify comment-line-break-function.
14438
14439 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14440 (smie-setup): Use add-function to set it.
14441
14442 2013-05-24 Sam Steingold <sds@gnu.org>
14443
14444 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14445 argument (before the `interactive' argument).
14446
14447 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14448
14449 * image-mode.el (image-mode-winprops): Add winprops to
14450 image-mode-winprops-alist before running
14451 image-mode-new-window-functions.
14452 * doc-view.el (doc-view-new-window-function): Don't delay
14453 doc-view-goto-page via timers (bug#14435).
14454
14455 2013-05-24 Tassilo Horn <tsdh@gnu.org>
14456
14457 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14458 (doc-view-desktop-save-buffer): New function.
14459 (doc-view-restore-desktop-buffer): New function.
14460 (desktop-buffer-mode-handlers):
14461 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14462 handler.
14463 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14464 `desktop-save-buffer' function.
14465
14466 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
14467
14468 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14469 (tramp-gvfs-file-name-handler): Raise a user error when
14470 `tramp-gvfs-enabled' is nil.
14471 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14472 Do not raise a user error when loading package. (Bug#14447)
14473
14474 * net/xesam.el: Move to obsolete/.
14475
14476 2013-05-24 Glenn Morris <rgm@gnu.org>
14477
14478 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14479
14480 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14481
14482 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14483 (Info-find-node, Man-getpage-in-background): Declare.
14484
14485 * mail/unrmail.el (unrmail):
14486 Replace obsolete detect-coding-with-priority.
14487
14488 * net/socks.el (socks-split-string): Use this rather than split-string.
14489 (socks-nslookup-host): Update for above change.
14490 (dynamic-choice, s5-dynamic-choice-match)
14491 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14492 Comment out unused code.
14493
14494 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14495 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14496 (gud-tooltip-echo-area): Make obsolete.
14497 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14498
14499 * progmodes/js.el (js--optimize-arglist): Declare.
14500
14501 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14502
14503 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14504 (ediff-window-C): Declare.
14505
14506 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14507 Tweak requires to silence compiler.
14508
14509 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14510 (he-search-string, he-tried-table, he-expand-list)
14511 (he-init-string, he-string-member, he-substitute-string)
14512 (he-reset-string): Declare.
14513
14514 * obsolete/options.el (list-options): Use custom-variable-p,
14515 rather than obsolete alias.
14516
14517 2013-05-23 Sam Steingold <sds@gnu.org>
14518
14519 * simple.el (shell-command-on-region): Pass the `replace' argument
14520 down to `call-process-region' to comply with the doc as reported on
14521 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14522
14523 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14524
14525 * emacs-lisp/smie.el (smie-indent-forward-token)
14526 (smie-indent-backward-token): Handle string tokens (bug#14381).
14527
14528 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14529
14530 * ielm.el (ielm-menu): New menu.
14531 (inferior-emacs-lisp-mode): Set comment-start.
14532
14533 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14534
14535 * textmodes/reftex.el (reftex-ref-style-toggle):
14536 Fix deactivate action.
14537
14538 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14539 Add cleveref macros.
14540
14541 * textmodes/reftex-parse.el
14542 (reftex-locate-bibliography-files): Accept options for
14543 bibliography commands.
14544 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14545 Add addbibresource. Basic Biblatex support.
14546
14547 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14548
14549 * net/tramp-gvfs.el (top):
14550 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14551 when loading package. (Bug#14447)
14552
14553 2013-05-23 Glenn Morris <rgm@gnu.org>
14554
14555 * progmodes/js.el: No need to load comint when compiling.
14556 (ring-insert, comint-send-string, comint-send-input)
14557 (comint-last-input-end, ido-chop): Declare.
14558
14559 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14560 * vc/ediff-mult.el: Adjust requires.
14561 (ediff-directories-internal, ediff-directory-revisions-internal)
14562 (ediff-patch-file-internal): Declare.
14563 * vc/ediff-ptch.el: Adjust requires.
14564 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14565 (ediff-find-file): Autoload.
14566 * vc/ediff-util.el: No need to load ediff when compiling.
14567 (ediff-regions-internal): Declare.
14568 * vc/ediff-wind.el: Adjust requires.
14569 (ediff-compute-toolbar-width): Define when compiling.
14570 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14571 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14572 (dired-get-filename, dired-get-marked-files)
14573 (ediff-last-dir-patch, ediff-patch-default-directory)
14574 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14575 (ediff-patch-buffer-internal): Declare.
14576
14577 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14578 (ispell-process, ispell-buffer-local-words, lm-summary)
14579 (lm-section-start, lm-section-end): Declare.
14580 (checkdoc-ispell-init): Simplify.
14581
14582 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14583 (he-string-member, he-reset-string, he-substitute-string): Declare.
14584
14585 * eshell/em-ls.el: Adjust requires.
14586 (eshell-glob-regexp): Declare.
14587 * eshell/em-tramp.el: Adjust requires.
14588 (eshell-parse-command): Autoload.
14589 * eshell/em-xtra.el: Adjust requires.
14590 (eshell-parse-command): Autoload.
14591 * eshell/esh-ext.el: Adjust requires.
14592 (eshell-parse-command, eshell-close-handles): Autoload.
14593 * eshell/esh-io.el: Adjust requires.
14594 (eshell-output-filter): Autoload.
14595 * eshell/esh-util.el: No need to load tramp when compiling.
14596 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14597 Declare.
14598 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14599 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14600 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14601 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14602 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14603 * eshell/esh-opt.el, eshell/esh-proc.el:
14604 * eshell/esh-var.el: Adjust requires.
14605 * eshell/eshell.el: Do not require esh-util twice.
14606 (eshell-add-input-to-history): Declare.
14607 (eshell-command): Check history module is active before using it.
14608
14609 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14610
14611 2013-05-22 Leo Liu <sdl.web@gmail.com>
14612
14613 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14614
14615 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14616
14617 * autorevert.el (auto-revert-notify-add-watch)
14618 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14619 it indicates changes in file modification time.
14620
14621 2013-05-22 Glenn Morris <rgm@gnu.org>
14622
14623 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14624 Always delete the autoloaded function from the noruntime and
14625 unresolved functions lists.
14626
14627 * allout.el: No need to load epa, epg, overlay when compiling.
14628 (epg-context-set-passphrase-callback, epg-list-keys)
14629 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14630 (epg-key-user-id-list): Declare.
14631
14632 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14633 (viper-set-parsing-style-toggling-macro)
14634 (viper-set-emacs-state-searchstyle-macros):
14635 Use called-interactively-p on Emacs.
14636 (viper-looking-back): Make it an obsolete alias. Update callers.
14637 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14638 Use looking-back rather than viper-looking-back.
14639 (viper-tmp-insert-at-eob, viper-enlarge-region)
14640 (viper-read-string-with-history, viper-register-to-point)
14641 (viper-append-to-register, viper-change-state-to-vi)
14642 (viper-backward-char-carefully, viper-forward-char-carefully)
14643 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14644 (viper-change-state-to-emacs): Declare.
14645 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14646 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14647 * emulation/viper-mous.el: Do not load viper-cmd.
14648 (viper-backward-char-carefully, viper-forward-char-carefully)
14649 (viper-forward-word, viper-adjust-window): Declare.
14650
14651 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14652
14653 * progmodes/idlw-help.el (idlwave-help-fontify):
14654 Use called-interactively-p.
14655
14656 * term/w32console.el (w32-get-console-codepage)
14657 (w32-get-console-output-codepage): Declare.
14658
14659 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14660 Remove unnecessary declarations.
14661 (dframe-message): Doc fix.
14662
14663 * info.el (dframe-select-attached-frame, dframe-current-frame):
14664 Declare.
14665
14666 * speedbar.el (speedbar-message): Make it an obsolete alias.
14667 Update all callers.
14668 (speedbar-with-attached-buffer)
14669 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14670 (speedbar-with-writable): Use backquote.
14671 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14672 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14673 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14674 rather than speedbar- aliases.
14675 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14676 (speedbar-make-specialized-keymap, speedbar-insert-button)
14677 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14678 (speedbar-do-function-pointer): Declare.
14679 (rmail-speedbar-button, rmail-speedbar-find-file)
14680 (rmail-speedbar-move-message):
14681 Use dframe-with-attached-buffer rather than speedbar- alias.
14682 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14683 (dframe-message, speedbar-make-specialized-keymap)
14684 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14685 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14686 (speedbar-insert-button, dframe-select-attached-frame)
14687 (dframe-maybee-jump-to-attached-frame)
14688 (speedbar-change-initial-expansion-list)
14689 (speedbar-previously-used-expansion-list-name): Declare.
14690 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14691 Use dframe-message, dframe-with-attached-buffer rather than
14692 speedbar- aliases.
14693 (gud-sentinel): Silence compiler.
14694 * progmodes/vhdl-mode.el (speedbar-refresh)
14695 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14696 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14697 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14698 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14699 (speedbar-file-lists, speedbar-make-tag-line)
14700 (speedbar-line-directory, speedbar-goto-this-file)
14701 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14702 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14703 (speedbar-make-button, speedbar-reset-scanners)
14704 (speedbar-files-item-info, speedbar-line-text)
14705 (speedbar-find-file-in-frame, speedbar-set-timer)
14706 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14707 (speedbar-with-writable): Do not (re)define it.
14708 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14709 rather than speedbar- alias.
14710
14711 2013-05-21 Leo Liu <sdl.web@gmail.com>
14712
14713 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14714 menu items.
14715 (octave-mode): Tweak fill-nobreak-predicate.
14716 (inferior-octave-startup): Check process to avoid infinite loop.
14717 (inferior-octave): Pop to buffer first to show abornmal process
14718 exit information.
14719
14720 2013-05-21 Glenn Morris <rgm@gnu.org>
14721
14722 * printing.el (pr-menu-bar): Define when compiling.
14723
14724 2013-05-21 Leo Liu <sdl.web@gmail.com>
14725
14726 * progmodes/octave.el (octave-auto-fill): Remove.
14727 (octave-indent-new-comment-line): Improve.
14728 (octave-mode): Use auto fill mode through
14729 comment-line-break-function and fill-nobreak-predicate.
14730 (octave-goto-function-definition): Support DEFUN_DLD.
14731 (octave-beginning-of-defun): Small tweak.
14732 (octave-help): Show parent directory.
14733
14734 2013-05-21 Glenn Morris <rgm@gnu.org>
14735
14736 * files.el (dired-unmark):
14737 * progmodes/gud.el (gdb-input): Update declarations.
14738
14739 * calculator.el (electric, ehelp): No need to load when compiling.
14740 (Electric-command-loop, electric-describe-mode): Declare.
14741
14742 * doc-view.el (doc-view-current-converter-processes): Move before use.
14743
14744 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14745 Move MODE-set-explicitly definition before use.
14746
14747 * international/mule-diag.el (mule-diag):
14748 Don't use obsolete window-system-version.
14749
14750 * mail/feedmail.el (smtpmail): No need to load when compiling.
14751 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14752
14753 * mail/mail-utils.el (rfc822): No need to load when compiling.
14754 (rfc822-addresses): Autoload it.
14755 (mail-strip-quoted-names): Trivial simplification.
14756
14757 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14758 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14759
14760 * net/snmp-mode.el (tempo): Don't duplicate requires.
14761
14762 * progmodes/prolog.el (info): No need to load when compiling.
14763 (comint): Require before shell requires it.
14764 (Info-goto-node): Autoload it.
14765 (Info-follow-nearest-node): Declare.
14766 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14767
14768 * textmodes/artist.el (picture-mode-exit): Declare.
14769
14770 * textmodes/reftex-parse.el (reftex-parse-from-file):
14771 Trivial rewrite so the compiler can parse it better.
14772
14773 2013-05-20 Leo Liu <sdl.web@gmail.com>
14774
14775 * progmodes/octave.el (octave-help-mode-map)
14776 (octave-help-mode-finish-hook): New variables.
14777 (octave-help-mode, octave-help-mode-finish): New functions.
14778 (octave-help): Use octave-help-mode.
14779
14780 2013-05-20 Glenn Morris <rgm@gnu.org>
14781
14782 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14783
14784 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14785
14786 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14787 start at point, so that expansion starting right after opening
14788 slash in a regexp is recognized.
14789 (ruby-syntax-before-regexp-re): New defvar, extracted from
14790 ruby-syntax-propertize-function. Since the value of this regexp
14791 is looked up at runtime now, we should be able to turn
14792 `ruby-syntax-methods-before-regexp' into a defcustom later.
14793 (ruby-syntax-propertize-function): Split regexp matching into two
14794 parts, for opening and closing slashes. That allows us to skip
14795 over string interpolations and support multiline regexps.
14796 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14797 for them, which calls `ruby-syntax-propertize-expansion'.
14798 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14799 call to `ruby-syntax-propertize-function'.
14800 (ruby-syntax-propertize-expansion): Extracted from
14801 `ruby-syntax-propertize-expansions'. Handles one expansion.
14802 (ruby-syntax-propertize-percent-literal): Leave point right after
14803 the percent symbol, so that the expression expansion rule can
14804 propertize the contents.
14805 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14806 heredoc openers.
14807 (ruby-syntax-propertize-expansions): Remove.
14808
14809 2013-05-18 Juri Linkov <juri@jurta.org>
14810
14811 * man.el (Man-default-man-entry): Remove `-' from the end
14812 of the default value. (Bug#14400)
14813
14814 2013-05-18 Glenn Morris <rgm@gnu.org>
14815
14816 * comint.el (comint-password-prompt-regexp):
14817 Allow "password for XXX" where XXX contains colons (eg https://...).
14818
14819 2013-05-18 Leo Liu <sdl.web@gmail.com>
14820
14821 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14822 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14823 (octave-source-directories): Don't check process.
14824 (octave-source-directories, octave-find-definition): Doc fix.
14825
14826 2013-05-18 Glenn Morris <rgm@gnu.org>
14827
14828 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14829 Remove backspace/delete bindings. (Bug#14392)
14830
14831 * cus-dep.el (custom-make-dependencies): Sort the output.
14832 (custom-versions-load-alist): Convert comment to doc.
14833
14834 2013-05-17 Leo Liu <sdl.web@gmail.com>
14835
14836 * newcomment.el (comment-search-backward): Stricter in finding
14837 comment start. (Bug#14303)
14838
14839 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14840 (octave-comment-start-skip): Properly anchored.
14841
14842 2013-05-17 Leo Liu <sdl.web@gmail.com>
14843
14844 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14845 Clean up when turned off. (Bug#14395)
14846 (smie--highlight-matching-block-overlay): No longer buffer-local.
14847 (smie-highlight-matching-block): Adjust.
14848
14849 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14850
14851 Doc string fix for "nanoseconds" (Bug#14406).
14852 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14853 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14854
14855 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14856
14857 * calc/calc-units.el (math-extract-units): Preserve powers
14858 of units.
14859
14860 2013-05-17 Leo Liu <sdl.web@gmail.com>
14861
14862 * subr.el (delete-consecutive-dups): New function.
14863 * ido.el (ido-set-matches-1): Use it.
14864 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14865 * ido.el (ido-remove-consecutive-dups): Remove.
14866
14867 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14868
14869 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14870 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14871 regexp-opt's `words'.
14872
14873 2013-05-16 Leo Liu <sdl.web@gmail.com>
14874
14875 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14876 (smie--highlight-matching-block-overlay)
14877 (smie--highlight-matching-block-lastpos)
14878 (smie--highlight-matching-block-timer): New variables.
14879 (smie-highlight-matching-block): New function.
14880 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14881 (smie-setup): Conditionally enable smie-blink-matching-open.
14882
14883 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14884
14885 Sync with upstream verilog-mode r840.
14886 * progmodes/verilog-mode.el (verilog-mode-version)
14887 (verilog-mode-release-date): Update.
14888 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14889 (verilog-sig-tieoff): Fix string error on
14890 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14891 (verilog-read-decls): Fix parameters confusing
14892 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14893
14894 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14895
14896 * subr.el (reveal-filename): New function.
14897
14898 * loadup.el: Compute Emacs executable versions on MS-Windows,
14899 where executables have the .exe extension. Add a hard link
14900 emacs-XX.YY.ZZ.exe on MS-Windows.
14901
14902 * Makefile.in (XARGS_LIMIT): New variable.
14903 (custom-deps, finder-data, autoloads)
14904 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14905 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14906 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14907 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14908
14909 2013-05-16 Leo Liu <sdl.web@gmail.com>
14910
14911 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14912 (octave-mode-menu, octave-mode-map): Remove its uses.
14913
14914 2013-05-16 Reto Zimmermann <reto@gnu.org>
14915
14916 Sync with upstream vhdl mode v3.34.2.
14917 * progmodes/vhdl-mode.el: Use `push' throughout.
14918 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14919 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14920 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14921 (vhdl-actual-generic-name): New option to derive actual generic name.
14922 (vhdl-port-paste-signals): Replace formal by actual generics.
14923 (vhdl-beautify): New name for old group vhdl-align. Update users.
14924 (vhdl-beautify-options): New option.
14925 (vhdl-last-input-event): New compat alias. Use throughout.
14926 (vhdl-goto-line): Replace user level function `goto-line'.
14927 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14928 vhdl-fix-statement-buffer.
14929 (vhdl-create-mode-menu): Add some entries.
14930 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14931 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14932 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14933 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14934 to force statements on one line.
14935 (vhdl-remove-trailing-spaces-region):
14936 New, split from vhdl-remove-trailing-spaces.
14937 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14938 Respect vhdl-beautify-options.
14939 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14940 (vhdl-update-sensitivity-list): Not add with index if exists without.
14941 Not include array index with signal. Ignore keywords in comments.
14942 (vhdl-get-visible-signals): Regexp tweaks.
14943 (vhdl-template-component-inst): Handle empty library.
14944 (vhdl-template-type): Add template for 'enum' type.
14945 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14946 Use vhdl-replace-string.
14947 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14948 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14949 (vhdl-speedbar-initialize): Update for above name change.
14950 (vhdl-compose-wire-components): Fix in handling of constants.
14951 (vhdl-error-regexp-emacs-alist): New variable.
14952 (vhdl-error-regexp-add-emacs): New function;
14953 adds support for new compile.el (Emacs 22+)
14954 (vhdl-generate-makefile-1): Change target order for single lib. units.
14955 Allow use of absolute file names.
14956
14957 2013-05-16 Leo Liu <sdl.web@gmail.com>
14958
14959 * simple.el (prog-indent-sexp): Indent enclosing defun.
14960
14961 2013-05-15 Glenn Morris <rgm@gnu.org>
14962
14963 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14964 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14965 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14966 (whitespace-highlight): Move to whitespace group.
14967
14968 * comint.el (comint-source):
14969 * pcmpl-linux.el (pcmpl-linux):
14970 * shell.el (shell-faces):
14971 * eshell/esh-opt.el (eshell-opt):
14972 * international/ccl.el (ccl): Remove empty custom groups.
14973
14974 * completion.el (dynamic-completion-mode):
14975 * jit-lock.el (jit-lock-debug-mode):
14976 * minibuffer.el (completion-in-region-mode):
14977 * type-break.el (type-break-mode-line-message-mode)
14978 (type-break-query-mode):
14979 * emulation/tpu-edt.el (tpu-edt-mode):
14980 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14981 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14982 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14983
14984 * term/xterm.el (xterm): Change parent group to terminals.
14985
14986 * master.el (master): Remove empty custom group.
14987 (master-mode): Remove unused :group argument.
14988 * textmodes/refill.el (refill): Remove empty custom group.
14989 (refill-mode): Remove unused :group argument.
14990
14991 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14992
14993 * cus-dep.el: Provide a feature.
14994 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14995 Don't mistakenly ignore files whose basenames match a basename
14996 from preloaded-file-list (eg cedet/ede/simple.el).
14997 Add a fallback method for getting :group.
14998
14999 2013-05-15 Juri Linkov <juri@jurta.org>
15000
15001 * isearch.el (isearch-char-by-name): Rename from
15002 `isearch-insert-char-by-name'. Doc fix.
15003 (isearch-forward): Mention `isearch-char-by-name' in
15004 the docstring. (Bug#13348)
15005
15006 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
15007 `exit-minibuffer' instead of
15008 `isearch-nonincremental-exit-minibuffer'.
15009 (isearch-edit-string): Remove mention of
15010 `isearch-nonincremental-exit-minibuffer' from docstring.
15011 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
15012 (isearch-forward-exit-minibuffer)
15013 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
15014
15015 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15016
15017 * loadup.el: Just use unversioned DOC.
15018
15019 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
15020 literals as extending to EOB.
15021 (nxml-last-fontify-end): Remove unused variable.
15022 (nxml-after-change1): Use with-silent-modifications.
15023 (nxml-extend-after-change-region): Simplify.
15024 (nxml-extend-after-change-region1): Remove function.
15025 (nxml-after-change1): Don't adjust for dependent regions.
15026 (nxml-fontify-matcher): Simplify.
15027 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
15028 (xmltok-add-dependent): Remove function.
15029 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
15030 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
15031 (xmltok-scan-prolog-after-processing-instruction-open): Treat
15032 unclosed <[[, <?, comment, and other literals as extending to EOB.
15033 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
15034 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
15035 Remove functions.
15036 (rng-do-some-validation-1): Don't mark dependent regions.
15037 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
15038 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
15039 (nxml-clear-dependent-regions): Remove functions.
15040 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
15041 (nxml-ensure-scan-up-to-date):
15042 Don't clear&mark dependent regions.
15043
15044 2013-05-15 Leo Liu <sdl.web@gmail.com>
15045
15046 * progmodes/octave.el (octave-goto-function-definition):
15047 Improve and fix callers.
15048
15049 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15050
15051 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
15052 the setter (bug#14387).
15053
15054 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
15055 surrounding group (bug#14402).
15056
15057 2013-05-14 Juri Linkov <juri@jurta.org>
15058
15059 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
15060 (Bug#14390)
15061
15062 2013-05-14 Glenn Morris <rgm@gnu.org>
15063
15064 * progmodes/f90.el (f90-imenu-generic-expression):
15065 Fix typo in 2013-05-08 change. (Bug#14402)
15066
15067 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15068
15069 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
15070 Remove signals for which replies are never received.
15071
15072 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15073
15074 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
15075 (gdb-handler-alist, gdb-handler-number): Remove variables.
15076 (gdb-handler-list): New variable.
15077 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
15078 (gdb-pending-handler-p, gdb-handle-reply)
15079 (gdb-remove-all-pending-triggers): New functions.
15080 (gdb-discard-unordered-replies): New defcustom.
15081 (gdb-handler): New defstruct.
15082 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
15083 instead of gdb-pending-triggers. Update docstring.
15084 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
15085 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
15086 (gdb-var-update-handler, def-gdb-auto-update-trigger)
15087 (def-gdb-auto-update-handler, gdb-get-changed-registers)
15088 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
15089 (gdb-frame-handler): Pending triggers are now automatically managed.
15090 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
15091 Remove argument.
15092 (gdb-input): Automatically handles pending triggers. Update docstring.
15093 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
15094 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
15095 Update comments.
15096 (gdb-done-or-error): Now use gdb-handle-reply.
15097
15098 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15099
15100 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
15101 gdb-debug-log.
15102
15103 2013-05-14 Glenn Morris <rgm@gnu.org>
15104
15105 * subr.el (user-emacs-directory-warning): New option.
15106 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
15107
15108 2013-05-14 Leo Liu <sdl.web@gmail.com>
15109
15110 * progmodes/octave.el (octave-font-lock-keywords): Fix error
15111 during redisplay.
15112 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
15113 (octave-font-lock-texinfo-comment): Fix invalid search bound
15114 error: wrong side of point.
15115
15116 2013-05-14 Glenn Morris <rgm@gnu.org>
15117
15118 * progmodes/flymake.el (flymake-xml-program): New option.
15119 (flymake-xml-init): Use it.
15120
15121 * term/xterm.el: Provide a feature.
15122
15123 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
15124
15125 2013-05-13 Glenn Morris <rgm@gnu.org>
15126
15127 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
15128 Add compat aliases as a hack workaround. (Bug#14384)
15129
15130 2013-05-13 Leo Liu <sdl.web@gmail.com>
15131
15132 * progmodes/octave.el (octave-indent-comment): Fix indentation for
15133 ###, and %!.
15134 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
15135 C-M-q.
15136 (octave-comment-start-skip): Include %!.
15137 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
15138
15139 2013-05-12 Leo Liu <sdl.web@gmail.com>
15140
15141 * progmodes/octave.el (inferior-octave-startup): Store the value
15142 of __octave_srcdir__ for octave-source-directories.
15143 (inferior-octave-check-process): New function refactored out of
15144 inferior-octave-send-list-and-digest.
15145 (octave-source-directories)
15146 (octave-find-definition-filename-function): New variables.
15147 (octave-source-directories)
15148 (octave-find-definition-default-filename): New functions.
15149 (octave-find-definition): Improve to find functions implemented in C++.
15150
15151 2013-05-12 Glenn Morris <rgm@gnu.org>
15152
15153 * calendar/diary-lib.el (diary-outlook-format-1):
15154 Don't include dayname in the output. (Bug#14349)
15155
15156 2013-05-11 Glenn Morris <rgm@gnu.org>
15157
15158 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
15159
15160 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
15161 Treat cc-provide like provide.
15162
15163 2013-05-11 Kevin Ryde <user42@zip.com.au>
15164
15165 * cus-dep.el (custom-make-dependencies):
15166 Use generated-autoload-load-name for the sake of files such
15167 such cedet/semantic/bovine/c.el, where the base file name
15168 is not in load-path. (Bug#5277)
15169
15170 2013-05-11 Glenn Morris <rgm@gnu.org>
15171
15172 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
15173 Provide features.
15174
15175 2013-05-11 Leo Liu <sdl.web@gmail.com>
15176
15177 * progmodes/octave.el (octave-indent-comment): Improve.
15178 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
15179 (octave-eldoc-function-signatures, octave-eldoc-function):
15180 New functions.
15181 (octave-mode, inferior-octave-mode): Add eldoc support.
15182
15183 2013-05-11 Richard Stallman <rms@gnu.org>
15184
15185 * epa.el (epa-decrypt-file): Take output file name as argument
15186 and read it using `interactive'.
15187
15188 2013-05-11 Leo Liu <sdl.web@gmail.com>
15189
15190 * progmodes/octave.el (octave-beginning-of-line)
15191 (octave-end-of-line): Check before using up-list because it jumps
15192 out of more syntactic contructs since moving to smie.
15193 (octave-indent-comment): New function.
15194 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
15195 (octave-begin-keywords, octave-end-keywords)
15196 (octave-reserved-words, octave-smie-bnf-table)
15197 (octave-smie-rules): Add new keywords from Octave 3.6.4.
15198
15199 2013-05-11 Glenn Morris <rgm@gnu.org>
15200
15201 * faces.el (internal-face-x-get-resource):
15202 * frame.el (ns-display-monitor-attributes-list):
15203 * calc/calc-aent.el (math-to-radians-2):
15204 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
15205 Fix declarations.
15206
15207 * calc/calc-menu.el: Make it loadable in isolation.
15208
15209 * net/eudcb-bbdb.el: Make it loadable without bbdb.
15210 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
15211 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
15212 (eudc-bbdb-query-internal): Require 'bbdb.
15213
15214 * lpr.el (lpr-headers-switches):
15215 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
15216
15217 * progmodes/sql.el (sql-login-params): Fix and improve :type.
15218
15219 * emulation/edt-mapper.el: In batch mode, error rather than hang.
15220
15221 * term.el (term-set-escape-char): Make it idempotent.
15222
15223 2013-05-10 Leo Liu <sdl.web@gmail.com>
15224
15225 * progmodes/octave.el (inferior-octave-completion-table):
15226 No longer a function and all uses changed. Use cache to speed up
15227 completion due to bug#11906.
15228 (octave-beginning-of-defun): Re-write to be more general.
15229
15230 2013-05-10 Glenn Morris <rgm@gnu.org>
15231
15232 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
15233
15234 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
15235
15236 * comint.el (comint-redirect-send-command-to-process): Use :around
15237 rather than :override for comint-redirect-filter.
15238 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
15239 Call it instead of comint-redirect-original-filter-function (which
15240 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
15241
15242 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
15243
15244 * frame.el (display-monitor-attributes-list): Add NS case.
15245 (ns-display-monitor-attributes-list): Declare.
15246
15247 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
15248
15249 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
15250
15251 2013-05-09 Glenn Morris <rgm@gnu.org>
15252
15253 * international/fontset.el (vertical-centering-font-regexp):
15254 Set standard-value.
15255
15256 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
15257
15258 * bookmark.el (bookmark-search-delay):
15259 * cus-start.el (vertical-centering-font-regexp):
15260 * ps-mule.el (ps-mule-font-info-database-default):
15261 * ps-print.el (ps-default-fg, ps-default-bg):
15262 * type-break.el (type-break-good-break-interval):
15263 * whitespace.el (whitespace-indentation-regexp)
15264 (whitespace-space-after-tab-regexp):
15265 * emacs-lisp/testcover.el (testcover-1value-functions)
15266 (testcover-noreturn-functions, testcover-progn-functions)
15267 (testcover-prog1-functions):
15268 * emulation/viper-init.el (viper-emacs-state-cursor-color):
15269 * eshell/em-glob.el (eshell-glob-translate-alist):
15270 * play/tetris.el (tetris-tty-colors):
15271 * progmodes/cpp.el (cpp-face-default-list):
15272 * progmodes/flymake.el (flymake-allowed-file-name-masks):
15273 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
15274 (idlwave-help-browser-generic-args):
15275 * progmodes/make-mode.el (makefile-special-targets-list):
15276 * progmodes/python.el (python-shell-virtualenv-path):
15277 * progmodes/verilog-mode.el (verilog-active-low-regexp)
15278 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
15279 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
15280 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
15281 * textmodes/reftex-vars.el (reftex-format-label-function):
15282 * textmodes/remember.el (remember-diary-file): Fix custom types.
15283
15284 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
15285 Add :version.
15286
15287 2013-05-09 Leo Liu <sdl.web@gmail.com>
15288
15289 * progmodes/octave.el (inferior-octave-completion-at-point):
15290 Restore file completion. (Bug#14300)
15291 (inferior-octave-startup): Fix incorrect highlighting for the
15292 first prompt.
15293
15294 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15295
15296 * progmodes/ruby-mode.el: First cut at SMIE support.
15297 (ruby-use-smie): New var.
15298 (ruby-smie-grammar): New constant.
15299 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15300 (ruby-smie--forward-token, ruby-smie--backward-token)
15301 (ruby-smie-rules): New functions.
15302 (ruby-mode-variables): Setup SMIE if applicable.
15303
15304 2013-05-08 Eli Zaretskii <eliz@gnu.org>
15305
15306 * simple.el (line-move-visual): Signal beginning/end of buffer
15307 only if vertical-motion moved less than it was requested. Avoids
15308 silly incorrect error messages when there are display strings with
15309 multiple newlines at EOL.
15310
15311 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15312
15313 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15314 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15315 (prolog-char-quote-workaround):
15316 * progmodes/cperl-mode.el (cperl-under-as-char):
15317 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15318 Mark as obsolete.
15319 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15320 their declaration.
15321 (vhdl-mode-syntax-table-init): Remove.
15322
15323 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15324 last change.
15325
15326 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15327 syntax for "_".
15328 (ld-script-font-lock-keywords):
15329 Change regexps to use things like \_< and \_>.
15330
15331 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15332 Change all regexps to use things like \_< and \_>.
15333
15334 * progmodes/autoconf.el (autoconf-definition-regexp)
15335 (autoconf-font-lock-keywords, autoconf-current-defun-function):
15336 Handle a _ with symbol syntax.
15337 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15338
15339 * progmodes/ada-mode.el (ada-mode-abbrev-table):
15340 Consolidate declaration.
15341 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15342 the declaration.
15343 (ada-create-syntax-table): Remove.
15344 (ada-capitalize-word): Don't mess with the syntax of "_" since it
15345 already has the right syntax nowadays.
15346 (ada-goto-next-word): Don't change the syntax of "_".
15347
15348 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15349 with-wrapper-hook.
15350
15351 2013-05-08 Sam Steingold <sds@gnu.org>
15352
15353 * thingatpt.el (thing-at-point): Accept optional second argument
15354 NO-PROPERTIES to strip the text properties from the return value.
15355 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15356 to `thing-at-point' instead of stripping the properties ourselves.
15357 Also, when `thing-at-point' fails to find a url, prepend "http://"
15358 to the filename at point on the assumption that the user is
15359 pointing at something like gnu.org/gnu.
15360
15361 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
15362
15363 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15364 * faces.el (crm-separator):
15365 Silence byte-compiler.
15366
15367 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15368 (tool-bar-map): Remove unneeded defvars.
15369
15370 2013-05-08 Leo Liu <sdl.web@gmail.com>
15371
15372 Re-work a fix for bug#10994 based on Le Wang's patch.
15373 * ido.el (ido-remove-consecutive-dups): New helper.
15374 (ido-completing-read): Use it.
15375 (ido-chop): Revert fix for bug#10994.
15376
15377 2013-05-08 Adam Spiers <emacs@adamspiers.org>
15378
15379 * cus-edit.el (custom-save-variables):
15380 Pretty-print long values. (Bug#14187)
15381
15382 2013-05-08 Glenn Morris <rgm@gnu.org>
15383
15384 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15385 (m4-mode-syntax-table): Init in the defvar.
15386 (m4-mode-abbrev-table): Let define-derived-mode define it.
15387
15388 2013-05-08 Tom Tromey <tromey@redhat.com>
15389
15390 * progmodes/m4-mode.el (m4-mode-syntax-table):
15391 Do not treat "_" as word constituent. (Bug#14167)
15392
15393 2013-05-07 Glenn Morris <rgm@gnu.org>
15394
15395 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15396 Remove explicit eshell-isearch-cancel-map.
15397
15398 * progmodes/f90.el (f90-smart-end-names): New option.
15399 (f90-smart-end): Doc fix.
15400 (f90-end-block-optional-name): New constant.
15401 (f90-block-match): Respect f90-smart-end-names.
15402
15403 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15404
15405 * progmodes/octave.el (octave-smie-forward-token): Be more careful
15406 about implicit semi-colons (bug#14218).
15407
15408 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15409
15410 * frame.el (display-monitor-attributes-list)
15411 (frame-monitor-attributes): New functions.
15412
15413 2013-05-06 Leo Liu <sdl.web@gmail.com>
15414
15415 * progmodes/octave.el (octave-syntax-propertize-function): Change
15416 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15417 (octave-font-lock-keywords): Use octave-operator-regexp.
15418 (octave-completion-at-point): Rename from
15419 octave-completion-at-point-function.
15420 (inferior-octave-directory-tracker): Robustify.
15421 (octave-text-functions): Remove and fix its uses. No such things
15422 any more.
15423
15424 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15425
15426 * emacs-lisp/trace.el (trace--display-buffer): New function.
15427 (trace-make-advice): Use it.
15428
15429 2013-05-06 Juri Linkov <juri@jurta.org>
15430
15431 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15432 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15433 Doc fix.
15434 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15435 in the help string. (Bug#12985)
15436
15437 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15438
15439 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15440
15441 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15442
15443 * progmodes/perl-mode.el: Add support for here documents.
15444 (perl-syntax-propertize-function): Match here-doc markers.
15445 (perl-syntax-propertize-special-constructs): Find their end.
15446 (perl-imenu-generic-expression): Use [:alnum:].
15447
15448 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15449 (advice--add-function): Refresh the advice if already present
15450 (bug#14317).
15451
15452 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
15453
15454 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15455
15456 2013-05-06 Glenn Morris <rgm@gnu.org>
15457
15458 * w32-fns.el (w32-charset-info-alist): Declare.
15459
15460 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15461 of its defcustom properties.
15462 (eshell-cmpl-initialize): No need to load pcomplete.
15463
15464 * generic-x.el: No need to require comint when compiling.
15465
15466 * net/eudc-export.el: Make it loadable without bbdb.
15467 (top-level): Use require rather than load-library.
15468 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15469 (eudc-batch-export-records-to-bbdb)
15470 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15471 Require bbdb.
15472
15473 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15474
15475 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15476 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15477 some tweaks, instead.
15478
15479 2013-05-05 Leo Liu <sdl.web@gmail.com>
15480
15481 * progmodes/octave.el (octave-font-lock-keywords)
15482 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15483 (inferior-octave-send-list-and-digest): Improve error message.
15484 (octave-mode, inferior-octave-mode): Use setq-local.
15485 (octave-help): Set info-lookup-mode.
15486
15487 2013-05-05 Richard Stallman <rms@gnu.org>
15488
15489 * vc/compare-w.el (compare-windows-whitespace):
15490 Treat no-break space as whitespace.
15491
15492 * mail/rmailsum.el (rmail-summary-rmail-update):
15493 Detect empty summary and don't change selected message.
15494 (rmail-summary-goto-msg): Likewise.
15495
15496 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15497 Doc fixes, rename args.
15498
15499 2013-05-05 Alan Mackenzie <acm@muc.de>
15500
15501 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15502
15503 2013-05-05 Juri Linkov <juri@jurta.org>
15504
15505 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15506 to not add the length of the summary segment to the return value.
15507 (Bug#14125)
15508
15509 2013-05-05 Leo Liu <sdl.web@gmail.com>
15510
15511 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15512 (inferior-octave-output-filter): Remove.
15513 (octave-send-region, inferior-octave-startup): Fix callers.
15514 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15515 (octave-binary-file-extensions): New user variable.
15516 (octave-find-definition): Confirm if opening binary files.
15517 (octave-help-file): Use octave-find-definition to get the binary
15518 confirmation.
15519 (octave-help): Adjust for octave-help-file change.
15520
15521 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15522
15523 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15524 Merge the two entries that handle function definitions.
15525 (pascal--syntax-propertize): New const.
15526 (pascal-mode): Use it. Use setq-local.
15527
15528 2013-05-04 Glenn Morris <rgm@gnu.org>
15529
15530 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15531 (diary-from-outlook): Respect diary-from-outlook-function.
15532
15533 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15534
15535 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15536 Move the declaration from C.
15537 (read-minibuffer, eval-minibuffer): Move from C.
15538 (completion-setup-function): Avoid minibuffer-completion-contents.
15539
15540 2013-05-03 Leo Liu <sdl.web@gmail.com>
15541
15542 * progmodes/octave.el (octave-font-lock-keywords): Do not
15543 dehighlight 'end' in comments or strings.
15544 (octave-completing-read, octave-goto-function-definition):
15545 New helpers.
15546 (octave-help-buffer): New user variable.
15547 (octave-help-file, octave-help-function): New button types.
15548 (octave-help): New command and bind it to C-h ;.
15549 (octave-find-definition): New command and bind it to M-.
15550 (user-error): Alias to error if not defined.
15551
15552 2013-05-02 Leo Liu <sdl.web@gmail.com>
15553
15554 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15555 for \. (bug#14332)
15556 (octave-font-lock-keywords): Include [ and {.
15557
15558 2013-05-02 Leo Liu <sdl.web@gmail.com>
15559
15560 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15561 (inferior-octave): Remove calling comint-mode and return the buffer.
15562 (inferior-octave-startup): Cosmetic changes.
15563
15564 2013-05-02 Leo Liu <sdl.web@gmail.com>
15565
15566 * progmodes/octave.el (octave-syntax-propertize-function):
15567 Include the case when ' is at line beginning. (Bug#14336)
15568
15569 2013-05-02 Glenn Morris <rgm@gnu.org>
15570
15571 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15572 * desktop.el (vc-dir-mode): Just autoload it here.
15573
15574 2013-05-02 Alan Mackenzie <acm@muc.de>
15575
15576 Eliminate variable c-standard-font-lock-fontify-region-function.
15577 * progmodes/cc-mode.el
15578 (c-standard-font-lock-fontify-region-function): Remove.
15579 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15580
15581 2013-05-01 Leo Liu <sdl.web@gmail.com>
15582
15583 * progmodes/octave.el: Compatible with older emacs-24 releases.
15584 (inferior-octave-has-built-in-variables): Remove. Built-in
15585 variables were removed from Octave in 2007.
15586 (inferior-octave-startup): Fix uses.
15587 (comint-line-beginning-position): Remove compatibility code for
15588 emacs 21.
15589
15590 2013-05-01 Juri Linkov <juri@jurta.org>
15591
15592 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15593
15594 2013-05-01 Juri Linkov <juri@jurta.org>
15595
15596 * comint.el (comint-previous-matching-input): Don't print message
15597 "History item: %d" when `isearch-mode' is active.
15598 (comint-history-isearch-message): Print message "History item: %d"
15599 when `comint-input-ring-index' is not empty and this function is
15600 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15601
15602 2013-05-01 Leo Liu <sdl.web@gmail.com>
15603
15604 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15605 definitions. Use completion-at-point to insert keywords.
15606 (octave-abbrev-start): Remove.
15607 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15608
15609 2013-04-30 Leo Liu <sdl.web@gmail.com>
15610
15611 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15612 change.
15613
15614 2013-04-30 Alan Mackenzie <acm@muc.de>
15615
15616 Handle arbitrarily long C++ member initialisation lists.
15617 * progmodes/cc-engine.el (c-back-over-member-initializers):
15618 new function.
15619 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15620 (most) member init lists.
15621
15622 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15623
15624 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15625 variable.
15626
15627 2013-04-30 Leo Liu <sdl.web@gmail.com>
15628
15629 * progmodes/octave.el (octave-variables): Remove. No builtin
15630 variables any more. All converted to functions.
15631 (octave-font-lock-keywords, octave-completion-at-point-function):
15632 Fix uses.
15633 (octave-font-lock-texinfo-comment): New user variable.
15634 (octave-texinfo-font-lock-keywords): New variable for texinfo
15635 comment block.
15636 (octave-function-comment-block): New face.
15637 (octave-font-lock-texinfo-comment): New function.
15638 (octave-mode): Font lock texinfo comment block.
15639
15640 2013-04-29 Leo Liu <sdl.web@gmail.com>
15641
15642 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15643 indexing expression.
15644 (octave-continuation-string): Do not use \.
15645 (inferior-octave-complete-impossible): Remove.
15646 (inferior-octave-completion-table)
15647 (inferior-octave-completion-at-point): Remove its uses.
15648 (inferior-octave-startup): completion_matches was introduced to
15649 Octave in 1996 so safe to assume it.
15650 (octave-function-file-comment): Improve to follow how Octave does it.
15651 (octave-update-function-file-comment): Tweak.
15652
15653 2013-04-29 Leo Liu <sdl.web@gmail.com>
15654
15655 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15656 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15657 (octave-function-file-comment): Fix typo.
15658 (octave-sync-function-file-names): Use read-char-choice.
15659
15660 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15661
15662 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15663 to t for the less important warnings.
15664
15665 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15666
15667 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15668
15669 2013-04-27 Glenn Morris <rgm@gnu.org>
15670
15671 * vc/log-view.el (log-view-current-entry):
15672 Treat "---" separator lines as part of the following rev. (Bug#14169)
15673
15674 2013-04-27 Juri Linkov <juri@jurta.org>
15675
15676 * subr.el (read-number): Doc fix about using it by interactive
15677 code letter `n'. (Bug#14254)
15678
15679 2013-04-27 Juri Linkov <juri@jurta.org>
15680
15681 * desktop.el (desktop-auto-save-timeout): New option.
15682 (desktop-file-checksum): New variable.
15683 (desktop-save): Add optional arg `auto-save' and don't auto-save
15684 if nothing changed.
15685 (desktop-auto-save-timer): New variable.
15686 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15687 (after-init-hook): Call `desktop-auto-save-set-timer'.
15688 Suggested by Reuben Thomas <rrt@sc3d.org> in
15689 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15690
15691 2013-04-27 Leo Liu <sdl.web@gmail.com>
15692
15693 * progmodes/octave.el (octave-function-file-p)
15694 (octave-skip-comment-forward, octave-function-file-comment)
15695 (octave-update-function-file-comment): New functions.
15696 (octave-mode-map): Bind C-c ; to
15697 octave-update-function-file-comment.
15698 (octave-mode-menu): Add octave-update-function-file-comment.
15699 (octave-mode, inferior-octave-mode): Fix doc-string.
15700 (octave-insert-defun): Conform to Octave's coding convention.
15701 (Bug#14285)
15702
15703 * files.el (basic-save-buffer): Don't let errors in
15704 before-save-hook prevent saving buffer.
15705
15706 2013-04-20 Roland Winkler <winkler@gnu.org>
15707
15708 * faces.el (read-face-name): Use completing-read if arg multiple
15709 is nil.
15710
15711 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15712
15713 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15714 displayed, move point to after the totals line.
15715 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15716 for the details.
15717
15718 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15719
15720 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15721 Add current dir to the load-path.
15722 (package-generate-autoloads): Don't rely on
15723 autoload-ensure-default-file.
15724
15725 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15726
15727 * textmodes/remember.el (remember-store-in-files): Document that
15728 the file name format is passed to `format-time-string'.
15729
15730 2013-04-26 Leo Liu <sdl.web@gmail.com>
15731
15732 * progmodes/octave.el (octave-sync-function-file-names): New function.
15733 (octave-mode): Use it in before-save-hook.
15734
15735 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15736
15737 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15738 (bug#14274).
15739
15740 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15741 \n and comment, even if it's not an implicit ; (bug#14218).
15742
15743 2013-04-26 Glenn Morris <rgm@gnu.org>
15744
15745 * subr.el (read-number): Once more use `read' rather than
15746 `string-to-number', to trap non-numeric input. (Bug#14254)
15747
15748 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15749
15750 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15751 Use `syntax-multiline' text property consistently instead of
15752 `font-lock-multiline'. (Bug#14237)
15753
15754 2013-04-26 Glenn Morris <rgm@gnu.org>
15755
15756 * emacs-lisp/shadow.el (list-load-path-shadows):
15757 No longer necessary to check for duplicate simple.el, since
15758 2012-07-07 change to init_lread to not include installation lisp
15759 directories in load-path when running uninstalled. (Bug#14270)
15760
15761 2013-04-26 Leo Liu <sdl.web@gmail.com>
15762
15763 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15764 (octave-mode, inferior-octave-mode): Use setq-local.
15765 (octave-not-in-string-or-comment-p): Rename to
15766 octave-in-string-or-comment-p.
15767 (octave-in-comment-p, octave-in-string-p)
15768 (octave-in-string-or-comment-p): Replace defsubst with defun.
15769
15770 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15771
15772 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15773
15774 2013-04-25 Bastien Guerry <bzg@gnu.org>
15775
15776 * textmodes/remember.el (remember-data-directory)
15777 (remember-directory-file-name-format): Fix custom types.
15778
15779 2013-04-25 Leo Liu <sdl.web@gmail.com>
15780
15781 * progmodes/octave.el (octave-completion-at-point-function):
15782 Make use of inferior octave process.
15783 (octave-initialize-completions): Remove.
15784 (inferior-octave-completion-table): New function.
15785 (inferior-octave-completion-at-point): Use it.
15786 (octave-completion-alist): Remove.
15787
15788 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15789
15790 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15791 (opascal-mode-syntax-table): New var.
15792 (opascal-literal-kind, opascal-is-literal-end)
15793 (opascal-literal-token-at): Rewrite.
15794 (opascal--literal-start-re, opascal-font-lock-keywords)
15795 (opascal--syntax-propertize): New constants.
15796 (opascal-font-lock-defaults): Adjust.
15797 (opascal-mode): Use them. Set comment-<foo> variables as well.
15798 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15799 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15800 (delphi-other-face, opascal-other-face): Remove face variables.
15801 (opascal-save-state): Remove macro.
15802 (opascal-fontifying-progress-step): Remove constant.
15803 (opascal--ignore-changes): Remove var.
15804 (opascal-set-token-property, opascal-parse-next-literal)
15805 (opascal-is-stable-literal, opascal-complete-literal)
15806 (opascal-is-literal-start, opascal-face-of)
15807 (opascal-parse-region, opascal-parse-region-until-stable)
15808 (opascal-fontify-region, opascal-after-change)
15809 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15810 (opascal-debug-parse-region, opascal-debug-parse-window)
15811 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15812 (opascal-debug-fontify-buffer): Remove.
15813 (opascal-debug-mode-map): Adjust accordingly.
15814
15815 2013-04-25 Leo Liu <sdl.web@gmail.com>
15816
15817 Merge octave-mod.el and octave-inf.el into octave.el with some
15818 cleanups.
15819 * progmodes/octave.el: New file renamed from octave-mod.el.
15820 * progmodes/octave-inf.el: Merged into octave.el.
15821 * progmodes/octave-mod.el: Renamed to octave.el.
15822
15823 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15824
15825 * textmodes/reftex-vars.el
15826 (reftex-label-ignored-macros-and-environments): New defcustom.
15827
15828 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15829
15830 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15831
15832 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15833 (smie-indent-keyword): Improve the check to ensure that the next
15834 comment is really on the same line.
15835 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15836
15837 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15838 semi-colons if the line is not otherwise empty (bug#14218).
15839
15840 2013-04-25 Glenn Morris <rgm@gnu.org>
15841
15842 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15843
15844 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15845
15846 * progmodes/opascal.el (opascal-set-token-property): Rename from
15847 opascal-set-text-properties and only set `token' (bug#14134).
15848 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15849 (opascal-literal-text-properties): Remove.
15850 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15851 Adjust callers.
15852
15853 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15854
15855 * textmodes/remember.el (remember-handler-functions): Add an
15856 option for a new handler `remember-store-in-files'.
15857 (remember-data-directory, remember-directory-file-name-format):
15858 New options.
15859 (remember-store-in-files): New function to store remember notes
15860 as separate files within a directory.
15861
15862 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15863
15864 * progmodes/compile.el (compilation-next-error-function):
15865 Pass "formats" to compilation-find-file (bug#11777).
15866
15867 2013-04-24 Glenn Morris <rgm@gnu.org>
15868
15869 * vc/vc-bzr.el (vc-bzr-print-log):
15870 * vc/vc-hg.el (vc-hg-print-log):
15871 * vc/vc-svn.el (vc-svn-print-log):
15872 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15873
15874 * vc/vc-bzr.el (vc-bzr-print-log):
15875 * vc/vc-cvs.el (vc-cvs-print-log):
15876 * vc/vc-git.el (vc-git-print-log):
15877 * vc/vc-hg.el (vc-hg-print-log):
15878 * vc/vc-mtn.el (vc-mtn-print-log):
15879 * vc/vc-rcs.el (vc-rcs-print-log):
15880 * vc/vc-sccs.el (vc-sccs-print-log):
15881 * vc/vc-svn.el (vc-svn-print-log):
15882 * vc/vc.el (vc-print-log-internal): Doc fixes.
15883
15884 2013-04-23 Glenn Morris <rgm@gnu.org>
15885
15886 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15887 Remove venerable code attempting to avoid substitute-command-keys.
15888
15889 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15890
15891 * textmodes/reftex-vars.el (reftex-label-regexps):
15892 Call `reftex-compile-variables' after changes to this variable.
15893
15894 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15895
15896 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15897 Use lexical-binding.
15898 (jit-lock-force-redisplay): Use markers, check buffer's continued
15899 existence and beware narrowed buffers.
15900 (jit-lock-fontify-now): Adjust call accordingly.
15901
15902 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15903
15904 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15905 to avoid misleading the user.
15906
15907 2013-04-22 Leo Liu <sdl.web@gmail.com>
15908
15909 * info-look.el: Prefer latex2e.info. (Bug#14240)
15910
15911 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15912
15913 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15914
15915 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15916 * net/tramp.el (tramp-call-process): ... here.
15917 (tramp-set-completion-function, tramp-parse-putty):
15918 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15919 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15920 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15921 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15922 (tramp-call-local-coding-command): Use `tramp-call-process'
15923 instead of `tramp-compat-call-process'.
15924
15925 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15926 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15927 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15928 (tramp-find-inline-compress): Improve traces.
15929 (tramp-maybe-send-script): Check for Perl binary.
15930 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15931
15932 2013-04-22 Daiki Ueno <ueno@gnu.org>
15933
15934 * epg.el (epg-context-pinentry-mode): New function.
15935 (epg-context-set-pinentry-mode): New function.
15936 (epg--start): Pass --pinentry-mode option to gpg command.
15937
15938 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15939
15940 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15941 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15942 `completion-at-point'. (Bug#13774)
15943
15944 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15945 default key binding for `describe-distribution' has been moved to
15946 `C-h C-o'. (Bug#13970)
15947
15948 2013-04-21 Glenn Morris <rgm@gnu.org>
15949
15950 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15951 Add doc strings.
15952 (vc-print-log): Clarify interactive prompt.
15953
15954 2013-04-20 Glenn Morris <rgm@gnu.org>
15955
15956 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15957 No longer include timestamp etc information.
15958
15959 2013-04-20 Roland Winkler <winkler@gnu.org>
15960
15961 * faces.el (read-face-name): Bug fix, return just one face if arg
15962 multiple is nil. (Bug#14209)
15963
15964 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15965
15966 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15967 (remove-function): Autoload.
15968
15969 * comint.el (comint-redirect-original-filter-function): Remove.
15970 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15971 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15972 (vc-cvs-annotate-command):
15973 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15974 * progmodes/prolog.el (prolog-consult-compile):
15975 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15976 Use add/remove-function instead.
15977 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15978 (gud-tooltip-process-output, gud-tooltip-tips):
15979 Use add/remove-function instead.
15980 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15981 (scheme-interaction-mode, exit-scheme-interaction-mode):
15982 Use add/remove-function instead.
15983
15984 * vc/vc-dispatcher.el: Use lexical-binding.
15985 (vc--process-sentinel): Rename from vc-process-sentinel.
15986 Change last arg to be the code to run. Don't use vc-previous-sentinel
15987 and vc-sentinel-commands any more.
15988 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15989 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15990
15991 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15992
15993 * progmodes/sh-script.el (sh-imenu-generic-expression):
15994 Handle function names with a single character. (Bug#14111)
15995
15996 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15997
15998 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15999 for subroutines defined in an eval (bug#14182).
16000
16001 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16002
16003 * bookmark.el (bookmark-completing-read): Improve handling of empty
16004 string (bug#14176).
16005
16006 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16007
16008 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
16009
16010 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
16011
16012 New faster Imenu implementation (bug#14058).
16013 * progmodes/python.el:
16014 (python-imenu-prev-index-position):
16015 (python-imenu-format-item-label-function)
16016 (python-imenu-format-parent-item-label-function)
16017 (python-imenu-format-parent-item-jump-label-function):
16018 New vars.
16019 (python-imenu-format-item-label)
16020 (python-imenu-format-parent-item-label)
16021 (python-imenu-format-parent-item-jump-label)
16022 (python-imenu--put-parent, python-imenu--build-tree)
16023 (python-imenu-create-index, python-imenu-create-flat-index)
16024 (python-util-popn): New functions.
16025 (python-mode): Set imenu-create-index-function to
16026 python-imenu-create-index.
16027
16028 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16029
16030 * winner.el (winner-active-region): Use region-active-p, activate-mark
16031 and deactivate-mark (bug#14225).
16032
16033 * simple.el (deactivate-mark): Don't inline it.
16034
16035 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
16036
16037 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
16038
16039 2013-04-18 Tassilo Horn <tsdh@gnu.org>
16040
16041 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
16042 file extensions from the archive-mode entry in order to prefer
16043 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
16044
16045 2013-04-18 Leo Liu <sdl.web@gmail.com>
16046
16047 * bindings.el (help-event-list): Add ?\?.
16048
16049 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16050
16051 * subr.el (with-wrapper-hook): Declare obsolete.
16052 * simple.el (filter-buffer-substring-function): New hook.
16053 (filter-buffer-substring): Use it.
16054 (filter-buffer-substring-functions): Mark obsolete.
16055 * minibuffer.el (completion-in-region-function): New hook.
16056 (completion-in-region): Use it.
16057 (completion-in-region-functions): Mark obsolete.
16058 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
16059 * abbrev.el (abbrev-expand-function): New hook.
16060 (expand-abbrev): Use it.
16061 (abbrev-expand-functions): Mark obsolete.
16062 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
16063 and :filter-return.
16064
16065 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16066
16067 * progmodes/python.el (python-nav--syntactically): Fix cornercases
16068 and do not care about match data.
16069
16070 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16071
16072 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
16073 completion tables when completing error conditions and
16074 `declare' arguments.
16075 (lisp-complete-symbol, field-complete): Mark as obsolete.
16076 (check-parens): Unmatched parens are user errors.
16077 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
16078
16079 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
16080
16081 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
16082 command changed buffer (ie. `flyspell-pre-buffer' is not current
16083 buffer), which prevents making decisions based on invalid value of
16084 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
16085 cause an error when `flyspell-pre-point' was nil after switching
16086 buffers.
16087 (flyspell-post-command-hook): No longer needs to change buffers when
16088 checking pre-word. While at it remove unnecessary progn.
16089
16090 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
16091
16092 * textmodes/ispell.el (ispell-add-per-file-word-list):
16093 Fix `flyspell-correct-word-before-point' error when accepting
16094 words and `coment-padding' is an integer by using
16095 `comment-normalize-vars' (Bug #14214).
16096
16097 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16098
16099 New defun movement commands.
16100 * progmodes/python.el (python-nav--syntactically)
16101 (python-nav--forward-defun, python-nav-backward-defun)
16102 (python-nav-forward-defun): New functions.
16103
16104 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16105
16106 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
16107 (python-syntax-context): Use named compiler-macro for backwards
16108 compatibility with Emacs 24.x.
16109
16110 2013-04-17 Leo Liu <sdl.web@gmail.com>
16111
16112 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
16113 octave-hide-process-buffer.
16114
16115 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16116
16117 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
16118 (bug#14216).
16119
16120 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
16121
16122 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
16123 Fix adjustment of offset when receiving incomplete responses from GDB
16124 (bug#14129).
16125
16126 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16127
16128 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
16129 python-mode-abbrev-table.
16130 (python-skeleton-define): Adjust accordingly.
16131 (python-mode-abbrev-table): New table that inherits from it so that
16132 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
16133
16134 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
16135 (abbrev-symbol): Use it.
16136 (abbrev--before-point): Use it since we already handle inheritance.
16137
16138 2013-04-16 Leo Liu <sdl.web@gmail.com>
16139
16140 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
16141 binding to info-lookup-symbol.
16142
16143 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
16144
16145 * minibuffer.el (completion--twq-all):
16146 * term/ns-win.el (ns-initialize-window-system):
16147 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
16148
16149 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16150
16151 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
16152 global bindings.
16153
16154 * doc-view.el (doc-view-start-process): Handle url-handler directories.
16155
16156 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
16157
16158 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
16159 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
16160 to nil.
16161 (ruby-end-of-defun): Remove the unused arg, change the docstring
16162 to reflect that this function is only used as the value of
16163 `end-of-defun-function'.
16164 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
16165 to reflect an earlier change that beginning/end-of-defun functions
16166 jump between methods in a class definition, as well as top-level
16167 functions.
16168
16169 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16170
16171 * minibuffer.el (minibuffer-complete): Don't just scroll
16172 a *Completions* that's been iconified.
16173 (minibuffer-force-complete): Make sure repetitions do cycle when going
16174 through completion-in-region -> minibuffer-complete.
16175
16176 2013-04-15 Alan Mackenzie <acm@muc.de>
16177
16178 Correct the placement of c-cpp-delimiters when there're #s not at
16179 col 0.
16180
16181 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
16182 place a submatch around the #.
16183 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
16184 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
16185 on the #, not BOL.
16186
16187 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16188
16189 * emacs-lisp/nadvice.el: Properly test names when adding advice.
16190 (advice--member-p): New arg `name'.
16191 (advice--add-function, advice-member-p): Use it (bug#14202).
16192
16193 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
16194
16195 Reformulate java imenu-generic-expression.
16196 The old expression contained ill formed regexps.
16197
16198 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
16199 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
16200 (cc-imenu-java-method-arg-regexp): New defconsts.
16201 (cc-imenu-java-build-type-args-regex): New defun.
16202 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
16203 handling of spaces in the regexp.
16204
16205 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16206
16207 * textmodes/ispell.el (ispell-command-loop): Remove
16208 flyspell highlight of a word when ispell accepts it (bug #14178).
16209
16210 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
16211
16212 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
16213 uses code from the previous `ange-ftp-run-real-handler'.
16214 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
16215 only in case that function exist. This is needed for proper
16216 unloading of Tramp.
16217
16218 2013-04-15 Tassilo Horn <tsdh@gnu.org>
16219
16220 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
16221
16222 * textmodes/reftex.el (reftex-compile-variables): Use it.
16223
16224 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16225
16226 * files.el (normal-mode): Only use default major-mode if no other mode
16227 was specified.
16228
16229 * emacs-lisp/trace.el (trace-values): New function.
16230
16231 * files.el: Allow : in local variables (bug#14089).
16232 (hack-local-variable-regexp): New var.
16233 (hack-local-variables-prop-line, hack-local-variables): Use it.
16234
16235 2013-04-13 Roland Winkler <winkler@gnu.org>
16236
16237 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
16238 data before it gets modified by bibtex-beginning-of-entry.
16239
16240 2013-04-13 Roland Winkler <winkler@gnu.org>
16241
16242 * textmodes/bibtex.el (bibtex-url): Doc fix.
16243
16244 2013-04-13 Roland Winkler <winkler@gnu.org>
16245
16246 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
16247 does not visit a BibTeX file, exclude it from the list of buffers
16248 returned by bibtex-initialize.
16249
16250 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
16251
16252 * window.el (split-window): Remove interactive form, since as a
16253 command this function is a special case of split-window-below.
16254 Correct doc string.
16255
16256 2013-04-12 Roland Winkler <winkler@gnu.org>
16257
16258 * faces.el (read-face-name): Do not override value of arg default.
16259 Allow single faces and strings as default values. Remove those
16260 elements from return value that are not faces.
16261 (describe-face): Simplify.
16262 (face-at-point): New optional args thing and multiple so that this
16263 function can provide the same functionality previously provided by
16264 read-face-name.
16265 (make-face-bold, make-face-unbold, make-face-italic)
16266 (make-face-unitalic, make-face-bold-italic, invert-face)
16267 (modify-face, read-face-and-attribute): Use face-at-point.
16268
16269 * cus-edit.el (customize-face, customize-face-other-window)
16270 * cus-theme.el (custom-theme-add-face)
16271 * face-remap.el (buffer-face-set)
16272 * facemenu.el (facemenu-set-face): Use face-at-point.
16273
16274 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
16275
16276 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
16277
16278 2013-04-10 Tassilo Horn <tsdh@gnu.org>
16279
16280 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
16281 off leading { and trailing } from field values.
16282
16283 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16284
16285 * emacs-lisp/timer.el (timer--check): New function.
16286 (timer--time, timer-set-function, timer-event-handler): Use it.
16287 (timer-set-idle-time): Simplify.
16288 (timer--activate): CSE.
16289 (timer-event-handler): Give more info in error message.
16290 (internal-timer-start-idle): New function, moved from C.
16291
16292 * mpc.el (mpc-proc): Add `restart' argument.
16293 (mpc-proc-cmd): Use it.
16294 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
16295 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
16296 less often.
16297
16298 2013-04-10 Masatake YAMATO <yamato@redhat.com>
16299
16300 * progmodes/sh-script.el: Implement `sh-mode' own
16301 `add-log-current-defun-function' (bug#14112).
16302 (sh-current-defun-name): New function.
16303 (sh-mode): Use the function.
16304
16305 2013-04-09 Bastien Guerry <bzg@gnu.org>
16306
16307 * simple.el (choose-completion-string): Fix docstring (bug#14163).
16308
16309 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
16310
16311 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16312
16313 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16314 timer (bug#14156).
16315
16316 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
16317
16318 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16319 declaration.
16320
16321 2013-04-07 Leo Liu <sdl.web@gmail.com>
16322
16323 * pcmpl-x.el: New file.
16324
16325 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
16326
16327 Do not set x-display-name until X connection is established.
16328 This is needed to prevent from weird situation described at
16329 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16330 * frame.el (make-frame): Set x-display-name after call to
16331 window system initialization function, not before.
16332 * term/x-win.el (x-initialize-window-system): Add optional
16333 display argument and use it.
16334 * term/w32-win.el (w32-initialize-window-system):
16335 * term/ns-win.el (ns-initialize-window-system):
16336 * term/pc-win.el (msdos-initialize-window-system):
16337 Add compatible optional display argument.
16338
16339 2013-04-06 Eli Zaretskii <eliz@gnu.org>
16340
16341 * files.el (normal-backup-enable-predicate): On MS-Windows and
16342 MS-DOS compare truenames of temporary-file-directory and of the
16343 file, so that 8+3 aliases (usually found in $TEMP on Windows)
16344 don't fail comparison by compare-strings. Also, compare file
16345 names case-insensitively on MS-Windows and MS-DOS.
16346
16347 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16348
16349 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16350 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16351
16352 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
16353
16354 * whitespace.el (whitespace-color-on, whitespace-color-off):
16355 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16356
16357 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
16358
16359 * ispell.el (ispell-set-spellchecker-params):
16360 Really set `ispell-args' for all equivs.
16361
16362 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16363
16364 * ido.el (ido-completions): Use extra elements of ido-decorations
16365 (bug#14143).
16366 (ido-decorations): Update docstring.
16367
16368 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
16369
16370 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16371 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16372 nil during initialization, in order not to miss changes since the
16373 file was opened. (Bug#14140)
16374
16375 2013-04-05 Leo Liu <sdl.web@gmail.com>
16376
16377 * kmacro.el (kmacro-call-macro): Fix bug#14135.
16378
16379 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
16380
16381 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16382
16383 2013-04-04 Glenn Morris <rgm@gnu.org>
16384
16385 * electric.el (electric-pair-inhibit-predicate): Add :version.
16386
16387 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16388
16389 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16390 when a package is required several times (bug#14082).
16391
16392 2013-04-04 Roland Winkler <winkler@gnu.org>
16393
16394 * faces.el (read-face-name): Behave as promised by the docstring.
16395 Assume that arg default is a list of faces.
16396 (describe-face): Call read-face-name with list of default faces.
16397
16398 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16399
16400 * bookmark.el: Fix deletion of bookmarks (bug#13972).
16401 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16402 (bookmark-bmenu-execute-deletions): Only skip first line if it's
16403 the header.
16404 (bookmark-exit-hook-internal): Save even if list is empty.
16405
16406 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
16407
16408 * emacs-lisp/package.el (package-pinned-packages): New var.
16409 (package--add-to-archive-contents): Obey it (bug#14118).
16410
16411 2013-04-03 Alan Mackenzie <acm@muc.de>
16412
16413 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16414 Also adapt to the new values of element 7 of a parse state.
16415
16416 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16417 parameter `not-in-delimiter'. Handle being inside comment opener.
16418 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16419 character in case we're typing a '*' after a '/'.
16420 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16421 instead by passing the parameter to c-state-pp-to-literal.
16422
16423 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16424 for elt. 7 of a parse state.
16425
16426 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16427
16428 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16429 * international/latin1-disp.el, international/mule-util.el:
16430 * language/cyril-util.el, language/european.el, language/ind-util.el:
16431 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16432 * language/tibetan.el, language/viet-util.el:
16433 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16434
16435 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16436
16437 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16438 (electric-pair-post-self-insert-function): Use it.
16439 (electric-pair-default-inhibit): New function, extracted from
16440 electric-pair-post-self-insert-function.
16441
16442 2013-03-31 Roland Winkler <winkler@gnu.org>
16443
16444 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16445
16446 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16447
16448 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16449
16450 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
16451
16452 Un-indent after "pass" and "return" statements (Bug#13888)
16453 * progmodes/python.el (python-indent-block-enders): New var.
16454 (python-indent-calculate-indentation): Use it.
16455
16456 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
16457
16458 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16459 defun. Defining it as defalias could introduce too eager
16460 byte-compiler optimization. (Bug#14030)
16461
16462 2013-03-30 Chong Yidong <cyd@gnu.org>
16463
16464 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16465
16466 2013-03-30 Leo Liu <sdl.web@gmail.com>
16467
16468 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16469 (kmacro-execute-from-register): Pass the keyboard macro to
16470 kmacro-call-macro or repeating won't work correctly.
16471
16472 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16473
16474 * progmodes/subword.el: Back to using `forward-symbol'.
16475
16476 * subr.el (forward-whitespace, forward-symbol)
16477 (forward-same-syntax): Move from thingatpt.el.
16478
16479 2013-03-29 Leo Liu <sdl.web@gmail.com>
16480
16481 * kmacro.el (kmacro-to-register): New command.
16482 (kmacro-execute-from-register): New function.
16483 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16484
16485 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16486
16487 * mpc.el: Use defvar-local and setq-local.
16488 (mpc--proc-connect): Connection failures are not bugs.
16489 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16490 (mpc-volume-map): Bind to the up-events.
16491
16492 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16493
16494 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16495 instead of `forward-symbol'.
16496
16497 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16498
16499 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16500 (edebug--recursive-edit): Use it.
16501 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16502 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16503
16504 2013-03-28 Leo Liu <sdl.web@gmail.com>
16505
16506 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16507
16508 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16509
16510 * facemenu.el (list-colors-callback): New defvar.
16511 (list-colors-redisplay): New function.
16512 (list-colors-display): Install list-colors-redisplay as the
16513 revert-buffer-function. (Bug#14063)
16514
16515 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16516
16517 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16518 and suffixes don't overlap (bug#14061).
16519
16520 * case-table.el: Use lexical-binding.
16521 (case-table-get-table): New function.
16522 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16523
16524 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16525
16526 * progmodes/subword.el: Add `superword-mode' to do word motion
16527 over symbol_words (parallels and leverages `subword-mode' which
16528 does word motion inside MixedCaseWords).
16529
16530 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16531
16532 * eshell/em-unix.el: Move su and sudo to...
16533 * eshell/em-tramp.el: ...Eshell tramp module.
16534
16535 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16536
16537 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16538 Change return value to be a sexp. Delay `get-buffer' to after
16539 restoring the desktop (bug#13951).
16540
16541 2013-03-26 Leo Liu <sdl.web@gmail.com>
16542
16543 * register.el: Move semantic tag handling back to
16544 cedet/semantic/senator.el. (Bug#14052)
16545
16546 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16547
16548 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16549 into the prompt either (bug#13963).
16550
16551 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16552
16553 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16554 part of "(error-foo)".
16555
16556 2013-03-24 Juri Linkov <juri@jurta.org>
16557
16558 * replace.el (list-matching-lines-prefix-face): New defcustom.
16559 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16560 `occur-engine' if `face-differs-from-default-p' returns t.
16561 (occur-engine): Add `,' inside backquote construct to evaluate
16562 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16563 Pass `prefix-face' to the functions `occur-context-lines' and
16564 `occur-engine-add-prefix'.
16565 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16566 `prefix-face' and propertize the prefix with `prefix-face'.
16567 (Bug#14017)
16568
16569 2013-03-24 Leo Liu <sdl.web@gmail.com>
16570
16571 * nxml/rng-valid.el (rng-validate-while-idle)
16572 (rng-validate-quick-while-idle): Guard against deleted buffer.
16573 (Bug#13999)
16574
16575 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16576 is the last entry in kill-buffer-hook.
16577
16578 * files.el (kill-buffer-hook): Doc fix.
16579
16580 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16581
16582 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16583 Make it safe-local.
16584
16585 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16586
16587 2013-03-23 Leo Liu <sdl.web@gmail.com>
16588
16589 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16590 Remove.
16591
16592 * nxml/rng-valid.el (rng-validate-mode)
16593 (rng-after-change-function, rng-do-some-validation):
16594 * nxml/rng-maint.el (rng-validate-buffer):
16595 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16596 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16597 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16598 (nxml-extend-after-change-region): Use with-silent-modifications.
16599
16600 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16601 timer-idle-list.
16602
16603 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16604 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16605 timer-idle-list. (Bug#13999)
16606
16607 2013-03-23 Juri Linkov <juri@jurta.org>
16608
16609 * info.el (info-index-match): New face.
16610 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16611 main pattern and add text properties with the new face to matches
16612 in index entries relative to the beginning of the index entry.
16613 (Bug#14015)
16614
16615 2013-03-21 Eric Ludlam <zappo@gnu.org>
16616
16617 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16618 Inhibit read only while inserting objects.
16619
16620 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16621
16622 * progmodes/cfengine.el: Update docs to mention
16623 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16624 symbol motion. Remove "_" from the word syntax.
16625
16626 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16627
16628 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16629 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16630
16631 2013-03-20 Juri Linkov <juri@jurta.org>
16632
16633 * info.el (Info-next-reference-or-link)
16634 (Info-prev-reference-or-link): New functions.
16635 (Info-next-reference, Info-prev-reference): Use them.
16636 (Info-try-follow-nearest-node): Handle footnote navigation.
16637 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16638
16639 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16640
16641 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16642 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16643
16644 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16645
16646 Suppress unnecessary non-ASCII chatter during build process.
16647 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16648 (batch-skkdic-convert): Suppress most of the chatter.
16649 It's not needed so much now that machines are faster,
16650 and its non-ASCII component was confusing; see Dmitry Gutov in
16651 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16652
16653 2013-03-20 Leo Liu <sdl.web@gmail.com>
16654
16655 * ido.el (ido-chop): Fix bug#10994.
16656
16657 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16658
16659 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16660 Remove vars.
16661 (whitespace-color-on, whitespace-color-off):
16662 Use `font-lock-fontify-buffer' (Bug#13817).
16663
16664 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16665
16666 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16667 remapping in mode-line.
16668 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16669
16670 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16671
16672 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16673 value for `whitespace-line' face (Bug#13875).
16674 (whitespace-font-lock-keywords): Change description.
16675 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16676 the constructed keywords instead.
16677 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16678
16679 2013-03-19 Leo Liu <sdl.web@gmail.com>
16680
16681 * progmodes/compile.el (compilation-display-error): New command.
16682 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16683 C-o. (Bug#13992)
16684
16685 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16686
16687 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16688
16689 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16690
16691 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16692
16693 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16694
16695 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16696
16697 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16698 * net/tramp-gvfs.el (top):
16699 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16700 (tramp-handle-shell-command): Use it.
16701 (tramp-dissect-file-name): Raise an error when hostname is a
16702 method name, and neither method nor user is specified.
16703
16704 * net/trampver.el: Update release number.
16705
16706 2013-03-18 Leo Liu <sdl.web@gmail.com>
16707
16708 Make sure eldoc can be turned off properly.
16709 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16710 eldoc-mode.
16711 (eldoc-display-message-p): Revert last change.
16712 (eldoc-display-message-no-interference-p)
16713 (eldoc-print-current-symbol-info): Tweak.
16714
16715 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16716
16717 * doc-view.el (doc-view-new-window-function): Check the new window
16718 overlay's display property instead the char property of the
16719 buffer's first char. Use `with-selected-window' instead of
16720 `save-window-excursion' with `select-window'.
16721 (doc-view-document->bitmap): Check the current doc-view overlay's
16722 display property instead the char property of the buffer's first char.
16723
16724 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16725
16726 Automate the build of ja-dic.el (Bug#13984).
16727 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16728 from the input, rather than assume that it's been done for us by the
16729 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16730 the current date into a ja-dic.el comment, as that complicates
16731 regression testing.
16732
16733 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16734
16735 * whitespace.el: Fix double evaluation.
16736 (whitespace-space, whitespace-hspace, whitespace-tab)
16737 (whitespace-newline, whitespace-trailing, whitespace-line)
16738 (whitespace-space-before-tab, whitespace-indentation)
16739 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16740 obsolete defvars.
16741 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16742 (whitespace-color-on): Use a single font-lock-add-keywords call.
16743 Fix double-evaluation of face variables.
16744
16745 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16746
16747 * net/tramp-adb.el (tramp-adb-parse-device-names):
16748 Use `start-process' instead of `call-process'. Otherwise, the
16749 function might be blocked under MS Windows. (Bug#13299)
16750
16751 2013-03-17 Leo Liu <sdl.web@gmail.com>
16752
16753 Extend eldoc to display info in the mode-line. (Bug#13978)
16754 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16755 (eldoc-mode-line-string): New variable.
16756 (eldoc-minibuffer-message): New function.
16757 (eldoc-message-function): New variable.
16758 (eldoc-message): Use it.
16759 (eldoc-display-message-p)
16760 (eldoc-display-message-no-interference-p):
16761 Support eldoc-post-insert-mode.
16762
16763 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16764 (eval-expression): Run it.
16765
16766 2013-03-17 Roland Winkler <winkler@gnu.org>
16767
16768 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16769 strings in the list of return values.
16770
16771 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16772
16773 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16774 radix before checking for HMS forms.
16775
16776 2013-03-16 Leo Liu <sdl.web@gmail.com>
16777
16778 * progmodes/scheme.el: Add indentation and font-locking for λ.
16779 (Bug#13975)
16780
16781 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16782
16783 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16784 token before point (bug#13942).
16785
16786 2013-03-16 Leo Liu <sdl.web@gmail.com>
16787
16788 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16789
16790 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16791
16792 * startup.el (command-line-normalize-file-name): Fix handling of
16793 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16794 <xfq.free@gmail.com> in
16795 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16796
16797 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16798
16799 Sync with Tramp 2.2.7.
16800
16801 * net/trampver.el: Update release number.
16802
16803 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16804
16805 * doc-view.el: Fix bug#13887.
16806 (doc-view-insert-image): Don't modify overlay associated to
16807 non-live windows, and implement horizontal centering of image in
16808 case it's smaller than the window.
16809 (doc-view-new-window-function): Force redisplay of new windows on
16810 doc-view buffers.
16811
16812 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16813
16814 * saveplace.el (save-place-alist-to-file): Don't sort
16815 `save-place-alist', just pretty-print it (bug#13882).
16816
16817 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16818
16819 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16820 Check whether `default-file-name-coding-system' is bound.
16821 It isn't in XEmacs.
16822
16823 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16824
16825 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16826 backquotes for `obsolete' (bug#13929).
16827
16828 * international/mule.el (find-auto-coding): Include file name in
16829 obsolescence warning (bug#13922).
16830
16831 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16832
16833 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16834 for CFEngine 3-specific indentation.
16835 (cfengine3-indent-line): Use it. Fix up category regex.
16836 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16837
16838 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16839
16840 * type-break.el (type-break-file-name):
16841 * textmodes/remember.el (remember-data-file):
16842 * strokes.el (strokes-file):
16843 * shadowfile.el (shadow-initialize):
16844 * saveplace.el (save-place-file):
16845 * ps-bdf.el (bdf-cache-file):
16846 * progmodes/idlwave.el (idlwave-config-directory):
16847 * net/quickurl.el (quickurl-url-file):
16848 * international/kkc.el (kkc-init-file-name):
16849 * ido.el (ido-save-directory-list-file):
16850 * emulation/viper.el (viper-custom-file-name):
16851 * emulation/vip.el (vip-startup-file):
16852 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16853 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16854
16855 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16856
16857 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16858 * language/thai-word.el: Switch to UTF-8.
16859
16860 See ChangeLog.16 for earlier changes.
16861
16862 ;; Local Variables:
16863 ;; coding: utf-8
16864 ;; End:
16865
16866 Copyright (C) 2011-2015 Free Software Foundation, Inc.
16867
16868 This file is part of GNU Emacs.
16869
16870 GNU Emacs is free software: you can redistribute it and/or modify
16871 it under the terms of the GNU General Public License as published by
16872 the Free Software Foundation, either version 3 of the License, or
16873 (at your option) any later version.
16874
16875 GNU Emacs is distributed in the hope that it will be useful,
16876 but WITHOUT ANY WARRANTY; without even the implied warranty of
16877 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16878 GNU General Public License for more details.
16879
16880 You should have received a copy of the GNU General Public License
16881 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.