]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Handle "#" operator properly inside macro. Fix coding bug.
[gnu-emacs] / lisp / ChangeLog
1 2015-01-31 Alan Mackenzie <acm@muc.de>
2
3 Handle "#" operator properly inside macro. Fix coding bug.
4
5 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP): On
6 finding a "#" which looks like the start of a macro, check it
7 isn't already inside a macro.
8
9 * progmodes/cc-engine.el (c-state-safe-place): Don't record a new
10 "safe" position into the list of them when this is beyond our
11 current position.
12
13 2015-01-31 Martin Rudalics <rudalics@gmx.at>
14
15 * menu-bar.el (menu-bar-non-minibuffer-window-p): Return nil when
16 the menu frame is dead. (Bug#19728)
17
18 2015-01-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
19
20 python.el: Handle tabs in python-indent-dedent-line.
21
22 * progmodes/python.el (python-indent-dedent-line): Fixes for
23 indentation with tabs. Thanks to <dale@codefu.org> (Bug#19730).
24
25 2015-01-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
26
27 * progmodes/python.el (python-indent-context): Respect user
28 indentation after comment.
29
30 2015-01-29 Tassilo Horn <tsdh@gnu.org>
31
32 * textmodes/reftex-vars.el (featurep): Conditionalize value of
33 reftex-label-regexps in order to stay compatible with XEmacs 21.5
34 which has no explicitly numbered groups in regexps (bug#19714).
35
36 2015-01-28 Tassilo Horn <tsdh@gnu.org>
37
38 * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
39 punctuation syntax since to allow bibtex fields with values such
40 as {Test 1) and 2)} (bug#19205, bug#19707).
41 (reftex--prepare-syntax-tables): New function.
42 (reftex-mode): Use it.
43
44 2015-01-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
45
46 python.el: New non-global state dependent indentation engine.
47 (Bug#18319, Bug#19595)
48
49 * progmodes/python.el (python-syntax-comment-or-string-p): Accept
50 PPSS as argument.
51 (python-syntax-closing-paren-p): New function.
52 (python-indent-current-level)
53 (python-indent-levels): Mark obsolete.
54 (python-indent-context): Return more context cases.
55 (python-indent--calculate-indentation)
56 (python-indent--calculate-levels): New functions.
57 (python-indent-calculate-levels): Use them.
58 (python-indent-calculate-indentation, python-indent-line):
59 (python-indent-line-function): Rewritten to use new API.
60 (python-indent-dedent-line): Simplify logic.
61 (python-indent-dedent-line-backspace): Use `unless`.
62 (python-indent-toggle-levels): Delete function.
63
64 2015-01-22 Wolfgang Jenkner <wjenkner@inode.at>
65
66 * calc/calc-units.el (math-units-in-expr-p)
67 (math-single-units-in-expr-p, math-find-compatible-unit-rec)
68 (math-extract-units): Handle the `neg' operator. (Bug#19582)
69 [Backport]
70
71 2015-01-21 Daniel Koning <dk@danielkoning.com> (tiny change)
72
73 * subr.el (posnp): Correct docstring of `posnp'.
74 (posn-col-row): Make it work with all mouse position objects.
75 * textmodes/artist.el (artist-mouse-draw-continously): Cancel
76 timers if an error occurs during continuous drawing. (Bug#6130)
77
78 2015-01-20 Eli Zaretskii <eliz@gnu.org>
79
80 * button.el (button-activate, push-button): Doc fix. (Bug#19628)
81
82 2015-01-16 Samer Masterson <samer@samertm.com> (tiny change)
83
84 * pcomplete.el (pcomplete-parse-arguments): Parse arguments
85 regardless of pcomplete-cycle-completions's value. (Bug#18950)
86
87 2015-01-13 Michael Albinus <michael.albinus@gmx.de>
88
89 * filenotify.el (file-notify-descriptors, file-notify-handle-event):
90 Adapt docstring.
91 (file-notify--descriptor): New defun.
92 (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
93 Adapt docstring. Handle multiple values for
94 `file-notify-descriptors' entries. (Bug#18880)
95
96 * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
97 `file-notify-descriptors', the implementation has been changed.
98
99 2015-01-13 Juri Linkov <juri@linkov.net>
100
101 * comint.el (comint-history-isearch-search)
102 (comint-history-isearch-wrap): Use field-beginning instead of
103 comint-line-beginning-position.
104 (comint-send-input): Go to the end of the field instead of the end
105 of the line to accept whole multi-line input.
106 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
107 (comint-history-isearch-message): Use field-beginning
108 instead of comint-line-beginning-position - that's more fixes for
109 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
110 (comint-history-isearch-message): Fix args of isearch-message-prefix.
111
112 [Backport]
113
114 2015-01-09 Eli Zaretskii <eliz@gnu.org>
115
116 * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
117 On MS-Windows, bind coding-system-for-read to the console output
118 codepage. (Bug#19458)
119
120 2015-01-08 Eli Zaretskii <eliz@gnu.org>
121
122 * simple.el (line-move-visual): When converting X pixel coordinate
123 to temporary-goal-column, adjust the value for right-to-left
124 screen lines. This fixes vertical-motion, next/prev-line, etc.
125
126 2015-01-06 Glenn Morris <rgm@gnu.org>
127
128 * progmodes/sh-script.el (sh-mode): Doc fix.
129 (sh-basic-indent-line): Handle electric newline. (Bug#18756)
130
131 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
132
133 * emacs-lisp/package.el (package-menu-mode): Use an extra column
134 for the "Version" column, to accomodate date-and-time-based versions.
135
136 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
137
138 Fix dired quoting bug with "Hit`N`Hide". Fixes Bug#19498.
139 * files.el (shell-quote-wildcard-pattern): Also quote "`".
140
141 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
142
143 Unbreak `mouse-action' property in text buttons.
144 * button.el (push-button): Fix regression from 2012-12-06.
145
146 2015-01-01 Eli Zaretskii <eliz@gnu.org>
147
148 * tool-bar.el (tool-bar-local-item)
149 (tool-bar-local-item-from-menu): Call force-mode-line-update to
150 make sure the tool-bar changes show on display.
151
152 2014-12-29 Michael Albinus <michael.albinus@gmx.de>
153
154 Sync with Tramp 2.2.11.
155
156 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
157 Make an alias for `default-toplevel-value' if it doesn't exist.
158
159 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
160 Use `tramp-compat-delete-directory'.
161
162 * net/trampver.el: Update release number.
163
164 2014-12-29 Filipp Gunbin <fgunbin@fastmail.fm>
165
166 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
167 for remote files. (Bug#19449)
168
169 2014-12-28 Eli Zaretskii <eliz@gnu.org>
170
171 * international/mule.el (define-coding-system): Fix typos in the
172 doc string.
173
174 2014-12-28 Kenichi Handa <handa@gnu.org>
175
176 * international/mule.el (define-coding-system): Improve the doc
177 string.
178
179 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
180
181 * progmodes/python.el (python-shell-buffer-substring): Handle
182 cornercase when region sent starts at point-min.
183
184 2014-12-27 Eli Zaretskii <eliz@gnu.org>
185
186 * language/misc-lang.el (composition-function-table): Add Syriac
187 characters and also ZWJ/ZWNJ. See
188 http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
189 for the details.
190
191 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
192
193 python.el: Fix message when sending region.
194
195 * progmodes/python.el (python-shell-send-region): Rename argument
196 send-main from nomain. Fix message.
197 (python-shell-send-buffer): Rename argument send-main from arg.
198
199 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
200
201 python.el: Cleanup temp files even with eval errors.
202
203 * progmodes/python.el (python-shell-send-file): Make file-name
204 mandatory. Fix temp file removal in the majority of cases.
205
206 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
207
208 python.el: Handle file encoding for shell.
209
210 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
211 (python-shell--save-temp-file): Write file with proper encoding.
212 (python-shell-buffer-substring): Add coding cookie for detected
213 encoding to generated content. Fix blank lines when removing
214 if-name-main block.
215 (python-shell-send-file): Handle file encoding.
216 (python-info-encoding-from-cookie)
217 (python-info-encoding): New functions.
218
219 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
220
221 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
222 Use `tramp-rsh-end-of-line', it ought to be more robust.
223
224 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
225
226 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
227 (bug#19397).
228
229 2014-12-23 Michael Albinus <michael.albinus@gmx.de>
230
231 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
232
233 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
234 as end-of-line delimeter for passwords, when running on MS Windows.
235
236 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
237
238 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
239 of indent-line-function (bug#19433).
240
241 2014-12-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
242
243 Fix line numbers on Python shell.
244 * progmodes/python.el (python-shell--save-temp-file): Do not
245 append coding cookie.
246 (python-shell-send-string): Generalize for
247 python-shell-send-region.
248 (python--use-fake-loc): Delete var.
249 (python-shell-buffer-substring): Cleanup fake-loc logic.
250 (python-shell-send-region): Remove fake-loc logic, simplify.
251
252 2014-12-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
253
254 * progmodes/python.el (python-indent-post-self-insert-function):
255 Make colon to re-indent only for dedenters, handling
256 multiline-statements gracefully.
257
258 2014-12-21 Michael Albinus <michael.albinus@gmx.de>
259
260 * net/tramp.el (tramp-handle-insert-file-contents):
261 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
262
263 2014-12-19 Michael Albinus <michael.albinus@gmx.de>
264
265 * net/tramp-sh.el (tramp-send-command-and-read): New optional
266 arg MARKER.
267 (tramp-get-remote-path): Use it.
268
269 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
270
271 * subr.el (redisplay-dont-pause): Mark as obsolete.
272
273 2014-12-17 Michael Albinus <michael.albinus@gmx.de>
274
275 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
276 (tramp-accept-process-output): Use nil as argument for
277 `accept-process-output', when there is a gateway prepended.
278
279 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
280 wrong debug buffer.
281 (tramp-gw-open-connection): Set process coding system 'binary.
282 (tramp-gw-open-network-stream): Handle HTTP error 403.
283
284 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
285 wrong debug buffer.
286 (tramp-maybe-open-connection): Set connection property "gateway".
287
288 2014-12-15 Stefan Monnier <monnier@iro.umontreal.ca>
289
290 * subr.el (sit-for): Tweak docstring (bug#19381).
291
292 2014-12-15 Dmitry Gutov <dgutov@yandex.ru>
293
294 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
295 stage to after `diff-index' (bug#19386).
296
297 2014-12-14 João Távora <joaotavora@gmail.com>
298
299 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
300 `electric-pair-mode' (bug#19356).
301
302 2014-12-12 Michael Albinus <michael.albinus@gmx.de>
303
304 * simple.el (password-word-equivalents): Add "passcode", used for
305 numeric secrets like PINs or RSA tokens.
306
307 2014-12-10 Michael Albinus <michael.albinus@gmx.de>
308
309 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
310 order to determine `tramp-own-remote-path'.
311
312 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
313
314 * progmodes/python.el (python-shell-parse-command):
315 Quote `python-shell-interpreter`. (Bug#19289)
316
317 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
318
319 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
320 of the whole pipe when indenting an opening keyword after a |.
321 Generalize this treatment to opening keywords like "while" (bug#18031).
322
323 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
324
325 * simple.el (newline): Place the hook buffer-locally,
326 to make sure it's first.
327
328 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
329 Fix handling of symbols with different syntax at beginning/end or with
330 symbol rather than word syntax.
331
332 2014-11-30 Eli Zaretskii <eliz@gnu.org>
333
334 * simple.el (line-move): If noninteractive, call line-move-1, not
335 forward-line, since the former is compatible with line-move-visual
336 both in terms of the column to which it moves and the return
337 value. (Bug#19211)
338
339 2014-11-27 Stephen Berman <stephen.berman@gmx.net>
340 Stefan Monnier <monnier@iro.umontreal.ca>
341
342 * outline.el (outline-move-subtree-down): Make sure we can move
343 forward to find the end of the subtree and the insertion point
344 (bug#19102).
345
346 2014-11-27 Leonard Randall <leonard.a.randall@gmail.com>
347
348 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
349 for comment lines non-greedy and stopping at newlines to fix stack
350 overflows with large files. [Backport]
351
352 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
353
354 * progmodes/python.el (python-shell-completion-setup-code):
355 Use __builtin__ module (or builtins in Python 3) and catch all errors
356 when importing readline and rlcompleter.
357
358 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
359
360 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
361 (todo-revert-buffer): New function.
362 (todo-modes-set-1): Use it as the buffer-local value of
363 revert-buffer-function.
364
365 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
366
367 * calendar/todo-mode.el (todo-mode): If called interactively, just
368 display a message saying to call todo-show to enter Todo mode
369 (Bug#19112).
370
371 2014-11-24 Dmitry Gutov <dgutov@yandex.ru>
372
373 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
374 (Bug#18579)
375
376 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
377 files. (Bug#18579)
378
379 2014-11-23 Michael Albinus <michael.albinus@gmx.de>
380
381 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
382 remote `buffer-file-name'.
383
384 2014-11-23 Leo Liu <sdl.web@gmail.com>
385
386 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
387
388 2014-11-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
389
390 Set PYTHONUNBUFFERED on shell startup.
391
392 * progmodes/python.el (python-shell-unbuffered): New var.
393 (python-shell-calculate-process-environment): Use it.
394
395 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
396
397 * net/tramp.el (tramp-action-password): Clean password on subsequent
398 attempts even if there was no wrong password indication. (Bug#19047)
399
400 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
401 fallback.
402 (tramp-open-connection-setup-interactive-shell): No need to check
403 for nil as `tramp-get-remote-locale' return value.
404
405 2014-11-21 Eli Zaretskii <eliz@gnu.org>
406
407 * vc/vc-git.el (vc-git-command, vc-git--call):
408 Bind coding-system-for-read and coding-system-for-write to
409 vc-git-commits-coding-system.
410 (vc-git-previous-revision): Use "~1" instead of "^", since the
411 latter is a special character for MS-Windows system shells.
412
413 2014-11-20 Michael Albinus <michael.albinus@gmx.de>
414
415 Improve XEmacs compatibility.
416
417 * net/tramp.el (tramp-autoload-file-name-handler):
418 Wrap `temporary-file-directory' by `symbol-value', it doesn't
419 exist in XEmacs.
420 (tramp-read-passwd): Don't use `with-timeout-suspend' and
421 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
422 (tramp-time-less-p, tramp-time-subtract): Remove functions.
423 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
424 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
425 * net/tramp-cache.el (tramp-get-file-property):
426 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
427 Use `time-less-p' and `time-subtract, respectively.
428
429 * net/tramp-adb.el (top): Do not require time-date.el.
430
431 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
432
433 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
434 Check, whether `utf-8' is a valid coding system.
435
436 2014-11-19 Eli Zaretskii <eliz@gnu.org>
437
438 * vc/vc.el (vc-retrieve-tag): Doc fix.
439
440 2014-11-17 Eli Zaretskii <eliz@gnu.org>
441
442 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
443 Don't assume --long is the default for "bzr log", always specify
444 it explicitly, in case the user defined an alias for 'log' that
445 uses some other format.
446
447 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
448
449 * progmodes/python.el (python-eldoc--get-doc-at-point):
450 Strip shell output before returning. (bug#18794)
451
452 2014-11-16 Dmitry Gutov <dgutov@yandex.ru>
453
454 Fix indentation before `!=' and after `+='. Originally reported
455 in https://github.com/mooz/js2-mode/issues/174.
456 * progmodes/js.el (js--indent-operator-re): Make assignments and
457 (in)equality operator a separate case.
458 (js--continued-expression-p): Escape the second `+' in the regexp.
459
460 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
461
462 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
463
464 2014-11-15 Andreas Schwab <schwab@linux-m68k.org>
465
466 * version.el (emacs-repository-get-version): Use git rev-parse
467 instead of git log.
468
469 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
470
471 * progmodes/python.el (python-indent-calculate-levels):
472 Fix indentation behavior multiline dedenter statement. (Bug#18432)
473
474 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
475
476 * progmodes/python.el (python-indent-region):
477 Use python-indent-line and skip special cases. (Bug#18843)
478
479 2014-11-15 Michael Albinus <michael.albinus@gmx.de>
480
481 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
482
483 2014-11-15 Peder O. Klingenberg <peder@klingenberg.no>
484
485 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
486 envelope-from when reporting through sendmail (bug#19054).
487
488 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
489
490 * progmodes/python.el (python-ffap-module-path):
491 Use `derived-mode-p' instead of equality test on `major-mode'.
492
493 2014-11-13 Ulrich Müller <ulm@gentoo.org>
494
495 * version.el (emacs-repository-get-version): Call `git log'
496 command with proper format argument (bug#19049).
497
498 2014-11-10 Glenn Morris <rgm@gnu.org>
499
500 * startup.el (command-line): Handle nil elements in load-path.
501
502 2014-11-08 Glenn Morris <rgm@gnu.org>
503
504 * emacs-lisp/bytecomp.el (byte-compile-report-error):
505 Allow the argument to be a string. Due to the vague doc,
506 it was already being used this way.
507
508 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
509
510 * net/tramp.el (tramp-check-cached-permissions): Include hop in
511 the constructed Tramp file name. (Bug#18943)
512
513 2014-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
514
515 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
516 (bug#18952).
517 (cua-set-mark, cua--pre-command-handler-1,cua--post-command-handler-1):
518 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
519
520 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
521
522 * files.el (file-name-non-special): Wrap the call of
523 `insert-file-contents' by `unwind-protect', in order to set the
524 buffer's file name anyway. (Bug#18891)
525
526 2014-11-07 Daiki Ueno <ueno@gnu.org>
527
528 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
529 (bug#18979). Reported by Hideki Saito.
530
531 2014-10-18 Alan Mackenzie <acm@muc.de>
532
533 Check that a "macro" found near point-min isn't a ## operator.
534 Fixes bug #18749. Backported from trunk, 2014-11-05.
535 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
536 (c-beginning-of-macro): Use the above new function.
537
538 2014-11-05 Alan Mackenzie <acm@muc.de>
539
540 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
541 * progmodes/cc-fonts.el (c-font-lock-declarations):
542 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
543 the buffer is sometimes narrowed to less than "limit" (e.g., in
544 the presence of macros).
545
546 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
547
548 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
549 only when message appeared in minibuffer. (Bug#18891)
550
551 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
552 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
553 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
554 case of errors.
555
556 2014-11-04 Eli Zaretskii <eliz@gnu.org>
557
558 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
559 returned by load-average.
560
561 2014-11-04 Michael Albinus <michael.albinus@gmx.de>
562
563 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
564 a local copy; setting `inhibit-file-name-handlers' proper might be
565 more performant. (Bug#18751)
566
567 2014-11-04 Glenn Morris <rgm@gnu.org>
568
569 * mail/emacsbug.el (report-emacs-bug): No longer include
570 recent-keys in the report. (Bug#18900)
571
572 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
573
574 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
575 local copy of FILENAME, when it is remote. (Bug#18751)
576
577 2014-11-02 Michael Albinus <michael.albinus@gmx.de>
578
579 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
580 an error when the command fails; the return code must indicate.
581 (tramp-adb-send-command-and-check): Fix docstring.
582
583 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
584
585 * net/tramp-cache.el (tramp-get-file-property)
586 (tramp-set-file-property): Check, that `tramp-cache-get-count-*'
587 and `tramp-cache-set-count-*' are bound. Otherwise, there might
588 be compiler warnings.
589
590 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
591 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
592
593 2014-11-01 Eli Zaretskii <eliz@gnu.org>
594
595 * progmodes/compile.el (compilation-mode): Turn off deferred
596 fontifications locally. (Bug#18856)
597
598 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
599
600 * net/tramp-sh.el (tramp-send-command): Fix the case where the
601 remote-echo connection property is non-nil (bug#18858).
602
603 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
604
605 Backport Tramp changes from trunk.
606
607 * net/tramp.el (tramp-methods): Tweak docstring.
608 (tramp-file-name-handler): Apply `cons' where appropriate.
609 (tramp-handle-file-accessible-directory-p): Check for
610 `file-readable-p' instead of `file-executable-p'.
611 (tramp-handle-shell-command): Use `display-buffer'. (Bug#18326)
612 (tramp-handle-unhandled-file-name-directory): Return "/".
613 (tramp-check-cached-permissions):
614 Use `tramp-compat-file-attributes'.
615 (tramp-call-process): Add new argument VEC. Adapt callees in all
616 tramp*.el files.
617
618 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
619 (tramp-adb-handle-write-region): Improve messages.
620 (tramp-adb-maybe-open-connection): Don't set
621 `tramp-current-*' variables.
622
623 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
624 Suppress debug messages.
625
626 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
627 (tramp-ftp-file-name-handler):
628
629 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
630 (tramp-gvfs-methods-mounttracker)
631 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
632 during initialization. (Bug#18774)
633 (tramp-gvfs-handle-delete-file): Flush file properties, not
634 directory properties.
635 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
636 reading "unix::mode".
637 (tramp-gvfs-handle-file-name-all-completions):
638 Use "-h" option for "gvfs-ls".
639 (tramp-gvfs-url-file-name): Apply `cons' where appropriate.
640 `user' and `localname' could be nil.
641 (tramp-gvfs-send-command): Simplify traces.
642
643 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
644 (vc-git-program, vc-hg-program): Declare.
645 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
646 (tramp-methods) <nc>: Add new method.
647 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
648 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
649 `tramp-login-args'.
650 (tramp-default-user-alist): Add "nc".
651 (top): Remove completion function for "sftp". Add completion
652 functions for "nc" and "psftp".
653 (tramp-sh-handle-set-visited-file-modtime):
654 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
655 (tramp-do-copy-or-rename-file-out-of-band):
656 Use cached "remote-copy-args" value, if available. (Bug#18199)
657 Tweak docstring. Implement support for "nc" method.
658 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
659 (tramp-remote-coding-commands, tramp-call-local-coding-command):
660 Tweak docstring.
661 (tramp-sh-handle-start-file-process): Expand `default-directory'.
662 (tramp-sh-handle-write-region): Tweak error message.
663 (tramp-sh-handle-vc-registered): Remove backends when the remote
664 binary does not exist.
665 (tramp-open-connection-setup-interactive-shell):
666 Prefer utf-8 coding. (Bug#17859)
667 (tramp-find-inline-encoding): Do not raise an error.
668 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
669 the "nc" case. Quote result also locally.
670 (tramp-get-remote-id): Check also for "gid".
671 (tramp-get-remote-python):
672
673 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
674 (tramp-smb-handle-set-file-acl): Use `start-process'.
675 (tramp-smb-handle-insert-directory): Use progress reporter.
676 (tramp-smb-handle-rename-file): Flush also file properties of
677 FILENAME.
678
679 * net/trampver.el: Update release number.
680
681 2014-11-01 Reuben Thomas <rrt@sc3d.org>
682
683 * net/tramp.el (tramp-handle-file-symlink-p):
684 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
685 about VMS, which we no longer support.
686
687 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
688
689 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
690 the global vc-handled-backends (bug#18535).
691
692 2014-11-01 Jérémy Compostella <jeremy.compostella@intel.com>
693 Michael Albinus <michael.albinus@gmx.de>
694
695 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
696 Reduce the amount of set environment variable commands.
697
698 2014-11-01 Paul Eggert <eggert@cs.ucla.edu>
699
700 * net/tramp-sh.el (tramp-get-remote-touch): Omit unnecessary call to
701 current-time.
702
703 2014-11-01 Emilio C. Lopes <eclig@gmx.net>
704
705 * net/tramp-sh.el (tramp-get-remote-python): Also search for
706 executables named "python2" or "python3".
707 (tramp-get-remote-uid-with-python): Use parentheses around
708 arguments to `print' to make it compatible with Python 3.
709 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
710
711 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
712
713 * simple.el (newline): Add assertions to try and help catch bug#18913.
714
715 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
716 (bug#18886).
717 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
718
719 2014-10-31 Eli Zaretskii <eliz@gnu.org>
720
721 * Makefile.in (repo-update): Fix a typo and slightly reword
722 commentary.
723
724 2014-10-31 Eric S. Raymond <esr@thyrsus.com>
725
726 * Makefile.in: Change some production names so they're neutral
727 about the repository type.
728
729 2014-10-30 Kim F. Storm <storm@cua.dk>
730
731 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
732 * delsel.el (delete-selection-save-to-register)
733 (delsel--replace-text-or-position): New vars.
734 (delete-active-region): Use them.
735 (delete-selection-repeat-replace-region): New command, moved from
736 cua-base.el.
737 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
738 (cua-repeat-replace-region): Move command to delsel.el.
739 (cua--init-keymaps): Update binding accordingly.
740 (cua-mode): Set delete-selection-save-to-register.
741
742 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
743
744 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
745 (c-lang-defconst):
746 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
747
748 2014-10-29 Eli Zaretskii <eliz@gnu.org>
749
750 * progmodes/compile.el (compilation-start):
751 If compilation-scroll-output is non-nil, don't force window-start of
752 the compilation buffer to be at beginning of buffer. (Bug#18874)
753
754 2014-10-23 Tassilo Horn <tsdh@gnu.org>
755
756 * doc-view.el (doc-view-open-text): View the document's plain text
757 in the current buffer instead of a new one.
758 (doc-view-toggle-display): Handle the case where the current
759 buffer contains the plain text contents of the document.
760 (doc-view-initiate-display): Don't switch to fallback mode if the
761 user wants to view the doc's plain text. [Backport]
762
763 2014-10-23 Eli Zaretskii <eliz@gnu.org>
764
765 * startup.el (fancy-about-text): Read the entire tutorial, not
766 just its first 256 bytes. (Bug#18760)
767
768 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
769
770 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
771 * emacs-lisp/cl-extra.el: Add missing provide.
772
773 2014-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
774
775 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
776 all args are copyable (bug#18767).
777 (=, <, >, <=, >=): Re-enable the optimization.
778
779 2014-10-20 Santiago Payà i Miralta <santiagopim@gmail.com>
780
781 * vc/vc-hg.el (vc-hg-log-graph): New var.
782 (vc-hg-print-log): Use it.
783 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
784 graph output (bug#17515).
785
786 2014-10-20 Juri Linkov <juri@jurta.org>
787
788 * vc/diff-mode.el (diff-refine-changed): Rename from
789 `diff-refine-change' for consistency with `diff-changed'.
790 (diff-refine-change): Add obsolete face alias. (Bug#10181)
791
792 * vc/smerge-mode.el (smerge-refined-changed): Rename from
793 `smerge-refined-change'.
794 (smerge-refined-change): Add obsolete face alias.
795
796 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
797
798 * subr.el (call-process-shell-command, process-file-shell-command):
799 Make the `args' obsolete (bug#18409).
800 (start-process-shell-command, start-file-process-shell-command):
801 Use `declare'.
802
803 2014-10-20 Juanma Barranquero <lekktu@gmail.com>
804
805 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
806
807 2014-10-20 Glenn Morris <rgm@gnu.org>
808
809 * dired.el (dired-read-regexp): Make obsolete.
810 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
811 (dired-flag-files-regexp):
812 * dired-aux.el (dired-mark-read-regexp):
813 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
814
815 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
816
817 * progmodes/python.el (inferior-python-mode): Use add-hook.
818
819 * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
820
821 2014-10-20 Glenn Morris <rgm@gnu.org>
822
823 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
824 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
825 * emulation/ws-mode.el: Move to obsolete/. [Backport]
826
827 2014-10-20 Glenn Morris <rgm@gnu.org>
828
829 * cus-start.el (history-length): Bump :version. [Backport]
830
831 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
832
833 * obsolete/cc-compat.el: Make obsolete (bug#18561).
834
835 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
836
837 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
838 case (bug#18767).
839
840 2014-10-20 Glenn Morris <rgm@gnu.org>
841
842 * Version 24.4 released.
843
844 2014-10-15 Alan Mackenzie <acm@muc.de>
845
846 * cus-edit.el (custom-command-apply): Specify the return value in
847 the doc string.
848 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
849 custom-command-apply has returned non-nil.
850
851 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
852
853 * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
854 Backported (bug#18688).
855
856 2014-10-14 Eli Zaretskii <eliz@gnu.org>
857
858 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
859 Force bidi-paragraph-direction to 'left-to-right'. This fixes
860 buffer-menu display when the first buffer happens to start with
861 R2L letter.
862
863 2014-10-13 Glenn Morris <rgm@gnu.org>
864
865 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
866 (authors-obsolete-files-regexps): Additions.
867 (authors-no-scan-regexps): New constant.
868 (authors-no-scan-file-p): New function.
869 (authors): Respect authors-no-scan-file-p.
870
871 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
872
873 Fix import completion. (Bug#18582)
874 * progmodes/python.el (python-shell-completion-get-completions):
875 Fix import case regexp.
876
877 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
878
879 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
880 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
881 * progmodes/prolog.el (prolog-electric--underscore): Same.
882
883 2014-10-09 Glenn Morris <rgm@gnu.org>
884
885 * frame.el (display-monitor-attributes-list): Doc tweaks.
886
887 2014-10-08 Eli Zaretskii <eliz@gnu.org>
888
889 * faces.el (display-grayscale-p): Mention in the doc string that
890 the argument can be either a display name or a frame.
891
892 * frame.el (display-pixel-height, display-pixel-width)
893 (display-mm-height, display-mm-width, display-backing-store)
894 (display-save-under, display-planes, display-color-cells)
895 (display-visual-class, display-monitor-attributes-list)
896 (display-screens): Mention in the doc string that the argument can
897 be either a display name or a frame. Improve the docs of the
898 monitor attributes. (Bug#18636)
899
900 2014-10-06 Martin Rudalics <rudalics@gmx.at>
901
902 * term.el (term-window-width): Subtract 1 from the width when
903 any fringe has zero width, not just the right fringe. (Bug#18601)
904
905 2014-10-05 Leo Liu <sdl.web@gmail.com>
906
907 * imenu.el (imenu-default-goto-function): Fix typo.
908
909 2014-10-04 Glenn Morris <rgm@gnu.org>
910
911 * frame.el (frame-monitor-attributes)
912 (display-monitor-attributes-list): Doc fixes.
913
914 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
915
916 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
917 (vc-svn-ignore): Use it. (Bug#18619)
918
919 2014-10-03 Martin Rudalics <rudalics@gmx.at>
920
921 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
922 In doc-string mention need to set `frame-resize-pixelwise'.
923
924 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
925
926 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
927 similarly to Rogers's 2010-06-16 change for the remote case
928 (bug#18605).
929
930 2014-10-01 Glenn Morris <rgm@gnu.org>
931
932 * emacs-lisp/package.el (package-import-keyring):
933 Create gnupg directory private. (Bug#17625#155)
934
935 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
936
937 * progmodes/python.el (python-shell-completion-get-completions):
938 Use python-shell--prompt-calculated-input-regexp from the
939 process buffer (bug#18582).
940 Don't assume that `line' comes from the process buffer.
941
942 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
943
944 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
945 (bug#18462).
946
947 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
948
949 * emacs-lisp/package.el (package-check-signature): Default to nil if
950 GPG is not available.
951 (package-refresh-contents): Don't mess with the keyring if we won't
952 check the signatures anyway.
953
954 2014-09-18 Kan-Ru Chen <kanru@kanru.info>
955
956 * window.el (fit-window-to-buffer): When counting buffer width,
957 count the whole visible buffer. Correctly convert the body-height
958 to pixel size for window-text-pixel-size (Bug#18498).
959
960 2014-09-14 Glenn Morris <rgm@gnu.org>
961
962 * image.el (image-multi-frame-p): Fix thinko - do not force
963 a delay if none was specified. (Bug#18334)
964
965 2014-09-12 Kan-Ru Chen <kanru@kanru.info>
966
967 * window.el (fit-window-to-buffer): Doc fix.
968
969 2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change)
970
971 * desktop.el (desktop-create-buffer): Check that buffers are still live
972 before burying them (bug#18373).
973
974 2014-09-09 Glenn Morris <rgm@gnu.org>
975
976 * calendar/diary-lib.el (diary-list-entries):
977 Restore 24.3 display behavior. (Bug#18381)
978
979 2014-09-09 Eli Zaretskii <eliz@gnu.org>
980
981 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
982 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
983 discrepancy between window-pixel-edges and mouse events, and
984 avoids moving mode line up when the mouse click is on the modeline
985 and no drag is attempted.
986
987 2014-09-08 Glenn Morris <rgm@gnu.org>
988
989 * calendar/calendar.el (calendar-basic-setup):
990 Avoid clobbering calendar with diary. (Bug#18381)
991
992 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
993
994 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
995
996 2014-09-04 Lars Ljung <lars@matholka.se> (tiny change)
997
998 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
999 as well (bug#18400).
1000
1001 2014-09-04 Eli Zaretskii <eliz@gnu.org>
1002
1003 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
1004
1005 2014-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
1006
1007 * emacs-lisp/package.el (package-generate-description-file):
1008 Properly quote the arguments (bug#18332). Change second arg.
1009 (package--alist-to-plist-args): Rename from package--alist-to-plist and
1010 quote the elements.
1011 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
1012 the *-pkg.el file. Adjust to new calling convention of
1013 package-generate-description-file.
1014
1015 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
1016 (gud-gdb-completions): Remove obsolete workaround.
1017
1018 2014-09-02 Eli Zaretskii <eliz@gnu.org>
1019
1020 * subr.el (posn-col-row): Revert the change from commit
1021 2010-11-13T21:07:58Z!eliz@gnu.org, which
1022 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
1023 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
1024 introduced an off-by-one error in the reported row when there is a
1025 header line. (Bug#18384)
1026
1027 2014-09-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
1028
1029 * progmodes/python.el (python-indent-post-self-insert-function):
1030 Avoid electric colon at beginning-of-defun. (Bug#18228)
1031
1032 2014-09-01 Glenn Morris <rgm@gnu.org>
1033
1034 * tutorial.el (tutorial--display-changes):
1035 Fix 2014-07-29 change. (Bug#18382)
1036
1037 2014-08-29 Ken Brown <kbrown@cornell.edu>
1038
1039 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
1040 the Cygwin-w32 build. (Bug#18347)
1041
1042 2014-08-28 Glenn Morris <rgm@gnu.org>
1043
1044 * tar-mode.el (tar--extract, tar-extract):
1045 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
1046
1047 2014-08-27 Michael Albinus <michael.albinus@gmx.de>
1048
1049 * emacs-lisp/authors.el (authors-aliases): Addition.
1050
1051 * net/tramp-adb.el: Spell author name correctly.
1052
1053 2014-08-27 João Távora <joaotavora@gmail.com>
1054
1055 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
1056 use url-expand-file-name. (Bug#18310)
1057
1058 2014-08-25 Glenn Morris <rgm@gnu.org>
1059
1060 * emulation/cua-rect.el (cua--highlight-rectangle):
1061 Avoid error at point-min. (Bug#18309)
1062
1063 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
1064
1065 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
1066 executable-find (bug#18244).
1067
1068 * simple.el (self-insert-uses-region-functions): Defvar.
1069
1070 2014-08-13 Leo Liu <sdl.web@gmail.com>
1071
1072 * speedbar.el (speedbar-generic-list-tag-p): Allow special
1073 elements from imenu.
1074
1075 2014-08-11 Glenn Morris <rgm@gnu.org>
1076
1077 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
1078
1079 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
1080 chose coding system for writing before backing up, since it causes
1081 a more serious problem than the one it solves. (Closes Bug#18141,
1082 reopens Bug#13522.)
1083
1084 2014-08-10 Martin Rudalics <rudalics@gmx.at>
1085
1086 * window.el (window-total-size): Make doc-string more
1087 self-contained.
1088
1089 2014-08-09 Martin Rudalics <rudalics@gmx.at>
1090
1091 * window.el (display-buffer-below-selected): Restore original
1092 behavior if buffer is already displayed in the window below the
1093 selected one (Bug#18181).
1094
1095 2014-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1096
1097 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
1098 event (bug#18212).
1099
1100 2014-08-08 Eli Zaretskii <eliz@gnu.org>
1101
1102 * info.el (info): Doc fix.
1103
1104 2014-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1105
1106 * info.el (Info-mode-map): Override a global down-mouse-2 binding
1107 (bug#18212).
1108
1109 2014-08-05 Eli Zaretskii <eliz@gnu.org>
1110
1111 * simple.el (default-line-height): A floating-point value of
1112 line-spacing means a fraction of the default frame font's height,
1113 not of the font currently used by the 'default' face.
1114 Truncate the pixel value, like the display engine does.
1115 (window-screen-lines): Use window-inside-pixel-edges for
1116 determining the window height in pixels. (Bug#18195)
1117
1118 2014-07-29 Eli Zaretskii <eliz@gnu.org>
1119
1120 * tutorial.el (tutorial--display-changes): Accept punctuation
1121 characters before the key binding. (Bug#18146)
1122
1123 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
1124
1125 * doc-view.el (doc-view-open-text): Don't require that the
1126 document is saved in a file (e.g., email attachment).
1127
1128 2014-07-27 Eli Zaretskii <eliz@gnu.org>
1129
1130 * window.el (window--pixel-to-total): Use FRAME's root window, not
1131 that of the selected frame. (Bug#18112, Bug#16674)
1132
1133 2014-07-27 Andreas Schwab <schwab@linux-m68k.org>
1134
1135 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
1136 (Bug#18117)
1137
1138 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1139
1140 * progmodes/python.el (inferior-python-mode): Doc fix.
1141
1142 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
1143
1144 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
1145 not a character, ignore it instead of raising an error.
1146
1147 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
1148
1149 * calendar/todo-mode.el: Fix handling of marked items and make
1150 minor code improvements.
1151 (todo-edit-item): If there are marked items, ensure user can only
1152 invoke editing commands that work with marked items.
1153 (todo-edit-item--text): When there are marked items, make it a
1154 noop if invoked with point not on an item; otherwise, ensure it
1155 applies only to item at point.
1156 (todo-item-undone): If there are marked not-done items, return
1157 point to its original position before signaling user error.
1158 (todo--user-error-if-marked-done-item): New function.
1159 (todo-edit-item--header, todo-edit-item--diary-inclusion)
1160 (todo-item-done): Use it.
1161
1162 2014-07-25 Glenn Morris <rgm@gnu.org>
1163
1164 * files.el (toggle-read-only): Re-add basic doc-string.
1165 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
1166
1167 * progmodes/prolog.el (prolog-mode-keybindings-edit):
1168 Replace missing `switch-to-prolog' with `run-prolog'.
1169 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
1170
1171 2014-07-22 Stephen Berman <stephen.berman@gmx.net>
1172
1173 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
1174 of file-wide setting when changing category-wide setting.
1175
1176 2014-07-21 Glenn Morris <rgm@gnu.org>
1177
1178 * progmodes/hideif.el (hide-ifdef-mode-submap):
1179 Also substitute read-only-mode.
1180 * bindings.el (mode-line-toggle-read-only):
1181 * bs.el (bs-toggle-readonly):
1182 * buff-menu.el (Buffer-menu-toggle-read-only):
1183 * dired.el (dired-toggle-read-only):
1184 * files.el (view-read-only, find-file-read-only)
1185 (find-file-read-only-other-window)
1186 (find-file-read-only-other-frame):
1187 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
1188 Doc fixes re toggle-read-only.
1189
1190 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1191
1192 * progmodes/python.el: Add comment about pipe buffering and
1193 solutions for missing/delayed output in inferior Python shells.
1194 (Bug#17304)
1195
1196 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1197
1198 * progmodes/python.el (python-mode): Don't set
1199 mode-require-final-newline. (Bug#17990)
1200
1201 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1202
1203 Make python.el work with IPython automatically. (Bug#15510)
1204 * progmodes/python.el:
1205 (python-shell-completion-setup-code): New value supporting iPython.
1206 (python-shell-completion-string-code): New value supporting iPython.
1207 (python-shell-completion-get-completions): Use them.
1208 (python-shell-completion-module-string-code): Make obsolete.
1209 (python-shell-prompt-input-regexps)
1210 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
1211 (python-shell-output-filter): Fix comment typo.
1212
1213 2014-07-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
1214
1215 Fix Python shell prompts detection for remote hosts.
1216 * progmodes/python.el (python-shell-prompt-detect):
1217 Replace call-process with process-file and make it more robust.
1218
1219 2014-07-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1220
1221 Autodetect Python shell prompts. (Bug#17370)
1222 * progmodes/python.el:
1223 (python-shell-interpreter-interactive-arg)
1224 (python-shell-prompt-detect-enabled)
1225 (python-shell-prompt-detect-failure-warning)
1226 (python-shell-prompt-input-regexps)
1227 (python-shell-prompt-output-regexps): New vars.
1228 (python-shell-prompt-calculated-input-regexp)
1229 (python-shell-prompt-calculated-output-regexp): New vars.
1230 (python-shell-get-process-name)
1231 (python-shell-internal-get-process-name)
1232 (python-shell-output-filter)
1233 (python-shell-completion-get-completions): Use them.
1234 (python-shell-prompt-detect)
1235 (python-shell-prompt-validate-regexps): New functions.
1236 (python-shell-prompt-set-calculated-regexps): New function.
1237 (inferior-python-mode): Use it. Also honor overridden
1238 python-shell-interpreter and python-shell-interpreter-args.
1239 (python-shell-make-comint): Honor overridden
1240 python-shell-interpreter and python-shell-interpreter-args.
1241 (python-shell-get-or-create-process): Make it testable by allowing
1242 to call run-python non-interactively.
1243 (python-util-valid-regexp-p): New function.
1244 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
1245 (python-shell-prompt-output-regexp)
1246 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
1247
1248 2014-07-16 Glenn Morris <rgm@gnu.org>
1249
1250 * desktop.el (after-init-hook): Disable startup frame restoration
1251 in non-graphical situations. (Bug#17693)
1252
1253 2014-07-14 Glenn Morris <rgm@gnu.org>
1254
1255 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
1256 if it was "empty", or used for a different set of files. (Bug#17884)
1257
1258 2014-07-13 Eli Zaretskii <eliz@gnu.org>
1259
1260 * bindings.el (mode-line-remote): If default-directory is not a
1261 string, don't call file-remote-p on it; instead state in the
1262 help-echo that it is nil. (Bug#17986)
1263
1264 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
1265
1266 Fix bug: C-x v v discarded existing log message (Bug#17884).
1267 * vc/vc-dispatcher.el (vc-log-edit):
1268 Don't clobber an already-existing log message.
1269
1270 2014-07-10 Glenn Morris <rgm@gnu.org>
1271
1272 * vc/log-edit.el (log-edit-changelog-entries):
1273 Check for a visited-but-never-saved ChangeLog.
1274
1275 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1276
1277 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
1278 a non-existing file (bug#17970).
1279
1280 * faces.el (face-name): Undo last change.
1281 (x-resolve-font-name): Don't call face-name (bug#17956).
1282
1283 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
1284
1285 Fix dedenters and electric colon handling. (Bug#15163)
1286
1287 * progmodes/python.el
1288 (python-rx-constituents): Add dedenter and block-ender.
1289 (python-indent-dedenters, python-indent-block-enders): Delete.
1290 (python-indent-context): Return new case for dedenter-statement.
1291 (python-indent-calculate-indentation): Handle new case.
1292 (python-indent-calculate-levels): Fix levels calculation for
1293 dedenter statements.
1294 (python-indent-post-self-insert-function): Fix colon handling.
1295 (python-info-dedenter-opening-block-message): New function.
1296 (python-indent-line): Use it.
1297 (python-info-closing-block)
1298 (python-info-closing-block-message): Remove.
1299 (python-info-dedenter-opening-block-position)
1300 (python-info-dedenter-opening-block-positions)
1301 (python-info-dedenter-statement-p): New functions.
1302
1303 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1304
1305 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
1306 the middle of a line (bug#17896).
1307
1308 2014-07-08 Juri Linkov <juri@jurta.org>
1309
1310 * startup.el (command-line): Append displaying the warning about
1311 the errors in the init file to the end of `after-init-hook'.
1312 (Bug#17927)
1313
1314 2014-07-08 Juri Linkov <juri@jurta.org>
1315
1316 * faces.el (face-name): Return input arg `face' as is
1317 when it's not a symbol.
1318 (x-resolve-font-name): Don't check if the face is a symbol.
1319 (Bug#17956)
1320
1321 2014-07-08 Juri Linkov <juri@jurta.org>
1322
1323 * facemenu.el (list-colors-print): In help-echo format use %.2f
1324 instead of %d because now HSV values are floating-point components
1325 between 0.0 and 1.0.
1326
1327 2014-07-06 Glenn Morris <rgm@gnu.org>
1328
1329 * emulation/cua-rect.el (cua--activate-rectangle):
1330 Avoid setting cua--rectangle to nil. (Bug#17877)
1331
1332 2014-07-06 Stephen Berman <stephen.berman@gmx.net>
1333
1334 * calendar/todo-mode.el: Fix wrong-type-argument error when
1335 marking multiple consecutive items.
1336 (todo-toggle-mark-item): Don't try to mark the empty lines at the
1337 end of the todo and done items sections. Note in doc string that
1338 items marked by passing a numeric prefix argument can include the
1339 last todo and first done items.
1340 (todo-mark-category): Don't try to mark the empty line between the
1341 todo and done items sections.
1342
1343 2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1344
1345 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
1346 proper Lisp quoting (bug#17934).
1347
1348 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
1349 require-final-newline since prog-mode already took care of it (bug#17947).
1350
1351 2014-07-04 Stephen Berman <stephen.berman@gmx.net>
1352
1353 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
1354 refer to the Todo mode Info manual. Update the comment on
1355 requiring cl-lib.
1356 (todo-find-filtered-items-file): Add todo-prefix overlays.
1357 (todo-filter-items): Reorder a let-bound variable to avoid a
1358 wrong-type-argument error on canceling the file choice dialog.
1359
1360 2014-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1361
1362 * progmodes/octave.el (inferior-octave-mode):
1363 Set comint-input-ring-size to a number (bug#17912).
1364
1365 2014-07-03 Juri Linkov <juri@jurta.org>
1366
1367 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
1368 and `isearch-mode' associated with nil. (Bug#17849)
1369
1370 2014-07-02 Juri Linkov <juri@jurta.org>
1371
1372 * desktop.el (desktop-save): Rename arg `auto-save' to
1373 `only-if-changed'. Doc fix. (Bug#17873)
1374
1375 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1376
1377 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
1378 Use insert-for-yank (bug#17271).
1379
1380 2014-07-02 Leo Liu <sdl.web@gmail.com>
1381
1382 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
1383 Support lexical-binding.
1384
1385 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1386
1387 * vc/log-edit.el (log-edit-goto-eoh): New function.
1388 (log-edit--match-first-line): Use it (bug#17861).
1389
1390 2014-07-01 Glenn Morris <rgm@gnu.org>
1391
1392 * vc/log-edit.el (log-edit-hook): Add missing :version.
1393
1394 2014-07-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
1395
1396 * progmodes/python.el (python-indent-post-self-insert-function):
1397 Enhancements to electric indentation behavior inside
1398 parens. (Bug#17658)
1399
1400 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1401
1402 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
1403 buffer-invisibility-spec (bug#17867).
1404
1405 2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
1406
1407 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
1408 pass "-a".
1409
1410 2014-06-29 Glenn Morris <rgm@gnu.org>
1411
1412 * cus-edit.el (help):
1413 * finder.el (finder-known-keywords):
1414 * help.el (help-for-help-internal):
1415 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
1416 (ediff-redraw-registry-buffer):
1417 * vc/ediff-ptch.el (ediff-patch-file-internal):
1418 Doc fixes re "online" help. (Bug#17803)
1419
1420 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
1421 (idlwave-mode): Doc URL update.
1422
1423 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
1424
1425 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
1426 account for file-wide setting of todo-top-priorities-overrides.
1427 Make code a bit cleaner.
1428
1429 2014-06-27 Leo Liu <sdl.web@gmail.com>
1430
1431 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
1432
1433 2014-06-27 Glenn Morris <rgm@gnu.org>
1434
1435 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
1436
1437 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
1438
1439 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
1440 category-wide setting of todo-top-priorities-overrides, check for
1441 a file-wide setting and fontify accordingly.
1442
1443 2014-06-26 Glenn Morris <rgm@gnu.org>
1444
1445 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
1446
1447 2014-06-26 Daiki Ueno <ueno@gnu.org>
1448
1449 * emacs-lisp/package.el (package--check-signature):
1450 If package-check-signature is allow-unsigned, don't signal error when
1451 we can't verify signature because of missing public key
1452 (backport for bug#17625).
1453
1454 2014-06-26 Glenn Morris <rgm@gnu.org>
1455
1456 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
1457 Remove outdated declaration.
1458
1459 * emacs-lisp/authors.el (authors-valid-file-names)
1460 (authors-renamed-files-alist): Additions.
1461
1462 2014-06-25 Leo Liu <sdl.web@gmail.com>
1463
1464 * textmodes/picture.el (picture-set-tab-stops):
1465 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
1466 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
1467
1468 * progmodes/asm-mode.el (asm-calculate-indentation):
1469 Use indent-next-tab-stop.
1470
1471 * indent.el (indent-accumulate-tab-stops): New function.
1472
1473 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1474
1475 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
1476 (package-desc-status): Obey it.
1477
1478 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
1479
1480 * calendar/todo-mode.el: Fix two bugs.
1481 (todo-insert-item--basic): If user cancels item insertion to
1482 another category before setting priority, show original category
1483 whether it is in the same or a different file.
1484 (todo-set-item-priority): After selecting category, instead of
1485 moving point to top, which extends an active region, restore it.
1486
1487 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1488
1489 * help-fns.el (describe-function-1): Check file-name is a string before
1490 calling help-fns--autoloaded-p (bug#17564).
1491
1492 2014-06-24 Juri Linkov <juri@jurta.org>
1493
1494 * desktop.el (desktop-auto-save-enable)
1495 (desktop-auto-save-disable): New functions.
1496 (desktop-save-mode, desktop-auto-save-timeout): Use them.
1497 (desktop-read): Disable the autosave before loading the desktop,
1498 and enable afterwards. (Bug#17351)
1499
1500 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
1501
1502 Fix some indentation problem with \; and pipes (bug#17842).
1503 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1504 (sh-smie--default-forward-token, sh-smie--default-backward-token):
1505 New functions.
1506 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1507 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1508 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1509
1510 2014-06-24 Eli Zaretskii <eliz@gnu.org>
1511
1512 * international/fontset.el (script-representative-chars):
1513 Add representative characters for scripts added in Unicode 7.0.
1514 (otf-script-alist): Synchronize with the latest registry of OTF
1515 script tags.
1516
1517 * international/characters.el (char-script-table): Update for
1518 scripts added and codepoint ranges changed in Unicode 7.0.
1519
1520 2014-06-23 Leo Liu <sdl.web@gmail.com>
1521
1522 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
1523 tab-stop-list to nil. (Bug#16381)
1524
1525 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1526 (indent-rigidly-left-to-tab-stop)
1527 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1528 (move-to-tab-stop): Change callers.
1529
1530 2014-06-22 Eli Zaretskii <eliz@gnu.org>
1531
1532 * skeleton.el (skeleton-insert): Yet another fix of the doc string
1533 wrt behavior of \n as the first/last element of a skeleton.
1534
1535 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
1536
1537 * net/tramp-adb.el (tramp-adb-handle-process-file):
1538 * net/tramp-sh.el (tramp-sh-handle-process-file):
1539 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1540 the output buffer when DISPLAY is non-nil. (Bug#17815)
1541
1542 2014-06-21 Glenn Morris <rgm@gnu.org>
1543
1544 * play/landmark.el (landmark-move-down, landmark-move-up):
1545 Fix 2007-10-20 change - preserve horizontal position.
1546
1547 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1548
1549 Fix completion retrieval parsing (bug#17209).
1550 * progmodes/python.el (python-mode):
1551 (python-util-strip-string): New function.
1552 (python-shell-completion-get-completions): Use it.
1553
1554 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1555
1556 * skeleton.el (skeleton-insert): Fix last change.
1557
1558 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1559
1560 Enhancements for outline integration (bug#17796).
1561 * progmodes/python.el (python-mode): Properly set
1562 outline-heading-end-regexp so that comments after colons for
1563 defuns are supported.
1564
1565 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1566
1567 * skeleton.el (skeleton-insert): Doc fix.
1568
1569 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1570
1571 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1572 (smie-config-guess): Use smie-config-local so the rules are obeyed
1573 (bug#17818).
1574
1575 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1576 since it's already done inside the loop (bug#17819).
1577
1578 2014-06-20 Martin Rudalics <rudalics@gmx.at>
1579
1580 * mouse.el (mouse-drag-line): Re-remove code initially removed
1581 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1582 (Bug#17819).
1583
1584 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1585
1586 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1587 align with the surrounding parent (bug#17721).
1588
1589 2014-06-20 Eli Zaretskii <eliz@gnu.org>
1590
1591 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1592 locally to nil.
1593 (texinfo-insert-block, texinfo-insert-@end)
1594 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1595 local setting of skeleton-end-newline by adding an explicit \n to
1596 the skeletons where appropriate. (Bug#17801)
1597
1598 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1599
1600 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1601 (smie-indent--hanging-p): Use it.
1602 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1603
1604 2014-06-20 Leo Liu <sdl.web@gmail.com>
1605
1606 * simple.el (read-quoted-char): Don't let help chars pop up help
1607 buffer. (Bug#16617)
1608
1609 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
1610
1611 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1612 for | (bug#17621).
1613
1614 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1615
1616 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
1617 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
1618 burping.
1619
1620 2014-06-18 Eli Zaretskii <eliz@gnu.org>
1621
1622 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1623 and later. (Bug#17790)
1624
1625 2014-06-18 Juri Linkov <juri@jurta.org>
1626
1627 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1628 to `soft'. (Bug#17554)
1629
1630 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1631
1632 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1633 (bug#17737).
1634
1635 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
1636
1637 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1638 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
1639
1640 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
1641
1642 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1643 `unread-command-events'.
1644
1645 2014-06-14 Glenn Morris <rgm@gnu.org>
1646
1647 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
1648 Replace delete-duplicates and mapcan by cl- versions throughout.
1649 And cl-macroexpand-all by macroexpand-all.
1650 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1651
1652 2014-06-14 Eli Zaretskii <eliz@gnu.org>
1653
1654 * subr.el (posn-col-row): Doc fix. (Bug#17768)
1655
1656 2014-06-14 Juri Linkov <juri@jurta.org>
1657
1658 * bindings.el: Put `ascii-character' property on keypad keys
1659 mapped to characters. (Bug#17759)
1660
1661 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1662
1663 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1664 bumping forward into a closing paren (bug#17761).
1665
1666 * term/xterm.el (xterm--version-handler): Work around for OSX
1667 Terminal.app (bug#17607).
1668
1669 2014-06-08 Glenn Morris <rgm@gnu.org>
1670
1671 * startup.el (initial-buffer-choice): Doc fix.
1672 Reset :version (adding an option does not merit a :version bump).
1673
1674 * bookmark.el (bookmark-load):
1675 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1676
1677 2014-06-06 Juri Linkov <juri@jurta.org>
1678
1679 * desktop.el: Activate auto-saving on window configuration changes.
1680 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1681 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
1682 (desktop-auto-save-set-timer): Change REPEAT arg of
1683 `run-with-idle-timer' from t to nil.
1684 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1685
1686 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
1687
1688 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1689 vc-hg-command (bug#17570).
1690
1691 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1692
1693 * international/mule-cmds.el (ucs-names): Add special entry for BEL
1694 (bug#17702).
1695
1696 2014-06-06 Glenn Morris <rgm@gnu.org>
1697
1698 * startup.el (window-setup-hook): Doc fix.
1699
1700 2014-06-05 Glenn Morris <rgm@gnu.org>
1701
1702 * emacs-lisp/package.el (package-check-signature)
1703 (package-unsigned-archives): Doc fixes.
1704
1705 2014-06-03 Martin Rudalics <rudalics@gmx.at>
1706
1707 * window.el (display-buffer-use-some-window): Don't make window
1708 used smaller than it was before (Bug#17671).
1709
1710 2014-06-03 Eli Zaretskii <eliz@gnu.org>
1711
1712 * menu-bar.el (menu-bar-open): Fix last change: use the PC
1713 'redisplay' instead of '(sit-for 0)'.
1714
1715 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
1716
1717 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
1718 regexp. (Bug#17653)
1719
1720 2014-06-03 Glenn Morris <rgm@gnu.org>
1721
1722 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1723
1724 2014-06-02 Eli Zaretskii <eliz@gnu.org>
1725
1726 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1727
1728 2014-06-01 Eli Zaretskii <eliz@gnu.org>
1729
1730 * simple.el (keyboard-quit): Force update of mode lines, to remove
1731 the "Def" indicator, if we were defining a macro. (Bug#17615)
1732
1733 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1734
1735 * minibuffer.el (minibuffer-force-complete-and-exit):
1736 Obey minibuffer-default (bug#17545).
1737
1738 * progmodes/js.el (js-indent-line): Don't mix columns and chars
1739 (bug#17619).
1740
1741 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1742
1743 * subr.el (set-transient-map): Don't wait for some "nested"
1744 transient-map to finish if we're only supposed to be active for
1745 the next command (bug#17642).
1746
1747 2014-05-31 Leo Liu <sdl.web@gmail.com>
1748
1749 * emacs-lisp/gv.el (window-buffer, window-display-table)
1750 (window-dedicated-p, window-hscroll, window-point, window-start):
1751 Fix gv-expander. (Bug#17630)
1752
1753 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1754
1755 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1756 clicks (bug#17633).
1757
1758 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1759 for the single comma, since ", " is *very* common in normal French text
1760 (bug#17643).
1761
1762 2014-05-30 Glenn Morris <rgm@gnu.org>
1763
1764 * emacs-lisp/package.el (package-check-signature)
1765 (package-unsigned-archives): Fix :version.
1766
1767 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1768
1769 * subr.el (sit-for): Don't run input-methods (bug#15614).
1770
1771 2014-05-28 Glenn Morris <rgm@gnu.org>
1772
1773 * cus-start.el: Fix some :version numbers.
1774
1775 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1776
1777 * simple.el (deactivate-mark): Set mark-active to nil even if
1778 deactivation is done via setting transient-mark-mode to nil,
1779 since one is buffer-local and the other is global.
1780
1781 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1782 there can't be more than 2 arguments (bug#17584).
1783
1784 2014-05-27 Glenn Morris <rgm@gnu.org>
1785
1786 * simple.el (filter-buffer-substring-functions)
1787 (filter-buffer-substring-function, buffer-substring-filters)
1788 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1789
1790 * minibuffer.el (completion-in-region-functions, completion-in-region)
1791 (completion--in-region): Doc fixes.
1792
1793 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1794 (expand-abbrev, abbrev--default-expand): Doc fixes.
1795
1796 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
1797
1798 Include sources used to create macuvs.h.
1799 * international/README: Refer to the Unicode Terms of Use rather
1800 than copying it bodily here, as that simplifies maintenance.
1801
1802 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1803
1804 * cus-face.el (custom-face-attributes): Add :distant-foreground.
1805
1806 2014-05-25 Martin Rudalics <rudalics@gmx.at>
1807
1808 * window.el (window--dump-frame): Remove interactive
1809 specification.
1810
1811 2014-05-23 Glenn Morris <rgm@gnu.org>
1812
1813 * hippie-exp.el (he-line-search-regexp):
1814 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
1815
1816 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1817
1818 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1819 to avoid errors when trying to create or visit a file foo.todo
1820 located outside to todo-directory, and to allow having such files
1821 without them being tied to Todo mode (bug#17482).
1822 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1823 (todo-archive-done-item, todo-find-filtered-items-file)
1824 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1825 (todo-category-completions, todo-read-category): When visiting a
1826 Todo file, make sure we're in the right mode and the buffer local
1827 variables are set.
1828 (todo-make-categories-list, todo-reset-nondiary-marker)
1829 (todo-reset-done-string, todo-reset-comment-string):
1830 After processing all Todo files, kill the buffers of those files that
1831 weren't being visited before the processing.
1832 (todo-display-as-todo-file, todo-add-to-buffer-list)
1833 (todo-visit-files-commands): Comment out.
1834 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1835 (auto-mode-alist): Remove add-to-list calls making Todo file
1836 extensions unrestrictedly tied to Todo modes.
1837
1838 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1839
1840 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1841 (advice-function-member-p): Tell it to check both names and functions
1842 (bug#17531).
1843 (advice--add-function): Adjust call accordingly.
1844
1845 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1846
1847 * calendar/todo-mode.el: Miscellaneous bug fixes.
1848 (todo-delete-file): When deleting an archive but not its todo
1849 file, make sure to update the todo file's category sexp.
1850 (todo-move-category): Keep the moved category's name unless the
1851 file moved to already has a category with that name. If the
1852 numerically last category of the source file was moved, make the
1853 first category current to avoid selecting a nonexisting category.
1854 (todo-merge-category): Fix implementation to make merging to a
1855 category in another file work as documented. Eliminate now
1856 insufficient and unnecessary renaming of archive category, correct
1857 document string accordingly, and clarify it. If the numerically
1858 last category of the source file was merged, make the first
1859 category current to avoid selecting a nonexisting category.
1860 (todo-archive-done-item): When there are marked items and point
1861 happens to be on an unmarked item, ignore the latter. Don't leave
1862 point below last item after archiving marked items.
1863 (todo-unarchive-items): Fix logic to ensure unarchiving an item
1864 from an archive with only one category deletes the archive only
1865 when the category is empty after unarchiving. Make sure the todo
1866 file's category sexp is updated.
1867 (todo-read-file-name): Allow an existing file name even when it is
1868 not required (todo-move-category needs this to work as documented).
1869 (todo-add-file): Call todo-validate-name to reject the name of an
1870 existing todo file (needed due to fix in todo-read-file-name).
1871 (todo-reset-nondiary-marker): Also reset in filtered items files.
1872 (todo-reset-done-string, todo-reset-comment-string): Also reset in
1873 regexp filtered items files.
1874 (todo-reset-highlight-item): Also reset in filtered items files.
1875 Fix incorrect variable reference in document string.
1876
1877 2014-05-22 Glenn Morris <rgm@gnu.org>
1878
1879 * window.el (window--dump-frame): Avoid error in --without-x builds.
1880
1881 2014-05-21 Glenn Morris <rgm@gnu.org>
1882
1883 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1884
1885 2014-05-21 Eli Zaretskii <eliz@gnu.org>
1886
1887 * frame.el (set-frame-font): Doc fix.
1888
1889 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
1890
1891 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
1892
1893 * emacs-lisp/package.el (package--download-one-archive):
1894 Use `write-region' instead of `save-buffer' to avoid running various
1895 hooks. (Bug#17155)
1896 (describe-package-1): Same. Insert newline at the end of the
1897 buffer if appropriate.
1898
1899 2014-05-20 Juri Linkov <juri@jurta.org>
1900
1901 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1902 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1903 Add more modifiers: meta, control, shift, hyper, super, alt.
1904 (Bug#17439)
1905
1906 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1907 to allow changing its value with `set-variable'.
1908
1909 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
1910
1911 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1912 #; comments.
1913 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1914 New functions.
1915 (scheme-mode-variables): Set syntax-propertize-function instead of
1916 font-lock-syntactic-face-function.
1917 (scheme-font-lock-syntactic-face-function): Delete.
1918
1919 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1920
1921 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1922
1923 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1924 (bug#17392).
1925
1926 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
1927
1928 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1929 for a temporary file name.
1930
1931 2014-05-17 Eli Zaretskii <eliz@gnu.org>
1932
1933 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
1934
1935 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
1936
1937 * net/dbus.el (dbus-init-bus, dbus-call-method)
1938 (dbus-call-method-asynchronously, dbus-send-signal)
1939 (dbus-method-return-internal, dbus-method-error-internal):
1940 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
1941
1942 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1943
1944 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1945 methods which do not have a doc string. (Bug#17490)
1946
1947 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
1948 Stefan Monnier <monnier@iro.umontreal.ca>
1949
1950 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1951 suffix (bug#15419).
1952
1953 2014-05-14 Glenn Morris <rgm@gnu.org>
1954
1955 * vc/emerge.el (emerge-temp-file-prefix):
1956 Make pointless option obsolete.
1957 (emerge-temp-file-mode): Make non-functional option obsolete.
1958
1959 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
1960
1961 * net/browse-url.el (browse-url):
1962 Use `unhandled-file-name-directory' when setting `default-directory',
1963 in order to circumvent stalled remote connections. (Bug#17425)
1964
1965 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1966
1967 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1968 into autoloading just because of a silly indirection.
1969
1970 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
1971
1972 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
1973
1974 2014-05-11 Glenn Morris <rgm@gnu.org>
1975
1976 * emacs-lisp/find-gc.el: Move to ../admin.
1977
1978 2014-05-10 Glenn Morris <rgm@gnu.org>
1979
1980 * printing.el (pr-version):
1981 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1982
1983 * net/browse-url.el (browse-url-mosaic):
1984 Create /tmp/Mosaic.PID as a private file.
1985
1986 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
1987
1988 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1989 (advice--member-p): If name is given, only compare the name.
1990 (advice--remove-function): Don't stop at the first match.
1991 (advice--normalize-place): New function.
1992 (add-function, remove-function): Use it.
1993 (advice--add-function): Pass the name, if any, to
1994 advice--remove-function.
1995
1996 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
1997
1998 * electric.el (electric-indent-post-self-insert-function): Don't use
1999 `pos' after modifying the buffer (bug#17449).
2000
2001 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2002
2003 * subr.el (function-put): Add function.
2004
2005 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
2006
2007 * calendar/todo-mode.el (todo-insert-item-from-calendar):
2008 Correct argument list to conform to todo-insert-item--basic.
2009
2010 2014-05-09 Glenn Morris <rgm@gnu.org>
2011
2012 * files.el (cd-absolute): Test if directory is accessible
2013 rather than executable. (Bug#17330)
2014
2015 * progmodes/compile.el (recompile):
2016 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
2017
2018 2014-05-08 Juri Linkov <juri@jurta.org>
2019
2020 * dired.el (dired-check-switches, dired-switches-recursive-p):
2021 New functions. (Bug#17218)
2022 (dired-switches-escape-p, dired-move-to-end-of-filename):
2023 Use `dired-check-switches'.
2024 (dired-insert-old-subdirs, dired-build-subdir-alist)
2025 (dired-sort-R-check): Use `dired-switches-recursive-p'.
2026
2027 2014-05-08 Glenn Morris <rgm@gnu.org>
2028
2029 * net/browse-url.el (browse-url-mosaic):
2030 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
2031 This is CVE-2014-3423.
2032
2033 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2034
2035 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
2036 (xterm-mouse--read-event-sequence-1000): Return nil if something
2037 looks fishy.
2038 (xterm-mouse-event): Propagate it.
2039 (xterm-mouse-translate-1): Handle it.
2040
2041 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
2042
2043 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
2044 four slots of the parameter list are filled, make sure to pass it
2045 to the argument list of todo-insert-item--basic.
2046
2047 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2048
2049 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
2050 Add optional `seen' argument to detect and break infinite loops.
2051
2052 2014-05-06 Eli Zaretskii <eliz@gnu.org>
2053
2054 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
2055 (trace-unsafe, trace-use-tree): Make parentheses style be
2056 according to Emacs style.
2057
2058 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
2059
2060 * net/tramp-sh.el (tramp-remote-process-environment):
2061 Remove HISTFILE and HISTSIZE; it's too late to set them here.
2062 Add :version entry.
2063 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
2064 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
2065 extra "PSx=..." commands.
2066 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
2067 (Bug#17295)
2068
2069 (tramp-uudecode): Replace the hard-coded temporary file name by a
2070 format specifier.
2071 (tramp-remote-coding-commands): Enhance docstring.
2072 (tramp-find-inline-encoding): Replace "%t" by a temporary file
2073 name. (Bug#17415)
2074 This is CVE-2014-3424.
2075
2076 2014-05-06 Glenn Morris <rgm@gnu.org>
2077
2078 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
2079 (find-gc-source-files): Update some names.
2080 (trace-call-tree): Simplify and update.
2081 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
2082 This is CVE-2014-3422.
2083
2084 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2085
2086 * minibuffer.el (completion--try-word-completion): Revert fix for
2087 Bug#15980 (bug#17375).
2088
2089 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
2090 Always store button numbers in the same way in xterm-mouse-last;
2091 Don't burp is xterm-mouse-last is not set as expected.
2092 Never return negative indices.
2093
2094 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
2095
2096 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2097 Backtrack one char if the global/char-literal var matcher hits
2098 inside a string. The next char could be the beginning of an
2099 expression expansion.
2100
2101 2014-05-05 Glenn Morris <rgm@gnu.org>
2102
2103 * help-fns.el (describe-function-1): Test for an autoload before a
2104 macro, since `macrop' works on autoloads. (Bug#17410)
2105
2106 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2107
2108 * electric.el (electric-indent-functions-without-reindent): Add yaml.
2109
2110 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
2111 Make sure the new point we return is within the new string (bug#17239).
2112
2113 2014-05-03 Eli Zaretskii <eliz@gnu.org>
2114
2115 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
2116
2117 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2118
2119 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2120 Use nil rather than `default' for the "default" appearance (bug#17388).
2121 * vc/ediff-util.el (ediff-inferior-compare-regions)
2122 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
2123 a misleading `default' value when it's really a boolean.
2124 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
2125 overlay is not visible.
2126
2127 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
2128
2129 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
2130 (todo-menu): Uncomment and update.
2131
2132 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
2133
2134 * calendar/todo-mode.el: Reimplement item editing to have the same
2135 basic user interface as item insertion, and make small UI and
2136 larger internal improvements to the latter.
2137 (todo-insert-item): Add reference to the Todo mode user manual to
2138 the documentation string.
2139 (todo-insert-item--basic): Rename from todo-basic-insert-item and
2140 adjust all callers. Change signature to combine diary and
2141 nonmarking arguments. Incorporate functionality of deleted item
2142 copying command and add error checking. Remove detailed
2143 descriptions of the arguments from the documentation string, since
2144 this is treated in the Todo mode user manual.
2145 (todo-copy-item, todo-edit-multiline-item)
2146 (todo-edit-done-item-comment, todo-edit-item-header)
2147 (todo-edit-item-time, todo-edit-item-date-from-calendar)
2148 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
2149 (todo-edit-item-date-year, todo-edit-item-date-month)
2150 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
2151 Remove.
2152 (todo-edit-item): Reimplement as wrapper command for
2153 todo-edit-item--next-key and make it distinguish done and not done
2154 todo items.
2155 (todo-edit-item--text): New function, replacing old command
2156 todo-edit-item and incorporating deleted commands
2157 todo-edit-multiline-item and todo-edit-done-item-comment.
2158 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
2159 Use only numeric value of prefix argument. Remove detailed
2160 descriptions of the arguments from the documentation string, since
2161 this is treated in the Todo mode user manual.
2162 (todo-edit-item--diary-inclusion): New function, replacing old
2163 command todo-edit-item-diary-inclusion and incorporating and fixing
2164 functionality of deleted command todo-edit-item-diary-nonmarking,
2165 making sure to remove todo-nondiary-marker when adding
2166 diary-nonmarking-symbol.
2167 (todo-edit-category-diary-inclusion): Make sure to delete
2168 diary-nonmarking-symbol when adding todo-nondiary-marker.
2169 (todo-edit-category-diary-nonmarking): Fix indentation.
2170 (todo-insert-item--parameters): Group diary and nonmarking
2171 parameters together.
2172 (todo-insert-item--apply-args): Adjust to signature of
2173 todo-insert-item--basic and incorporate copy parameter.
2174 Make small code improvements.
2175 (todo-insert-item--next-param): Improve prompt and adjust it to
2176 new parameter grouping. Remove obsolete code.
2177 (todo-edit-item--param-key-alist)
2178 (todo-edit-item--date-param-key-alist)
2179 (todo-edit-done-item--param-key-alist): New defconsts.
2180 (todo-edit-item--prompt): New variable.
2181 (todo-edit-item--next-key): New function.
2182 (todo-key-bindings-t): Bind "e" to todo-edit-item.
2183 Remove bindings of deleted commands.
2184
2185 2014-05-02 Leo Liu <sdl.web@gmail.com>
2186
2187 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
2188
2189 2014-05-01 Glenn Morris <rgm@gnu.org>
2190
2191 * allout-widgets.el (allout-widgets-tally)
2192 (allout-decorate-item-guides):
2193 * menu-bar.el (menu-bar-positive-p):
2194 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
2195 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
2196 * progmodes/js.el (js--inside-param-list-p)
2197 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
2198 * progmodes/prolog.el (region-exists-p):
2199 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
2200 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
2201 Doc fixes (replace `iff').
2202
2203 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2204
2205 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
2206
2207 2014-04-30 Eli Zaretskii <eliz@gnu.org>
2208
2209 * dired.el (dired-initial-position-hook, dired-initial-position):
2210 Doc string fixes.
2211
2212 2014-04-29 Glenn Morris <rgm@gnu.org>
2213
2214 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
2215
2216 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
2217
2218 * faces.el (face-spec-recalc): Apply X resources only after the
2219 defface spec has been applied. Thus, X resources are no longer
2220 overridden by the defface spec which also fixes issues on win32 where
2221 the toolbar coloring was wrong because it is set through X resources
2222 and was (wrongfully) overridden. (Bug#16694)
2223
2224 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2225
2226 * textmodes/rst.el (electric-pair-pairs): Declare.
2227 (rst-mode): Set it (bug#17131).
2228
2229 2014-04-27 Juri Linkov <juri@jurta.org>
2230
2231 * desktop.el (desktop-value-to-string): Let-bind `print-length'
2232 and `print-level' to nil. (Bug#17351)
2233
2234 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2235
2236 * battery.el (battery-update): Handle the case where battery
2237 status is "N/A" (bug#17319).
2238
2239 2014-04-24 Eli Zaretskii <eliz@gnu.org>
2240
2241 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
2242 Use equal-including-properties to compare help-echo strings (bug#17331).
2243
2244 2014-04-24 Leo Liu <sdl.web@gmail.com>
2245
2246 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
2247 Fix syntax for @. (Bug#17325)
2248
2249 2014-04-24 Daniel Colascione <dancol@dancol.org>
2250
2251 * emacs-lisp/cl.el (gv): Require gv early to break eager
2252 macro-expansion cycles.
2253
2254 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2255
2256 * simple.el (region-active-p): Check there's a mark (bug#17324).
2257
2258 * simple.el (completion-list-mode-map): Use choose-completion for the
2259 mouse binding as well (bug#17302).
2260 (completion-list-mode, completion-setup-function): Adjust docstring and
2261 echo area message accordingly.
2262 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
2263 calling convention of choose-completion.
2264 * comint.el (comint-dynamic-list-completions):
2265 * term.el (term-dynamic-list-completions): Accept choose-completion.
2266
2267 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
2268 &, |, +, - and * can't be a division (bug#17317).
2269
2270 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2271
2272 * term/xterm.el (xterm--version-handler): Don't use modern xterm
2273 features on gnome-terminal (bug#16988).
2274
2275 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
2276
2277 * dired.el (dired-insert-set-properties): Do not consider
2278 subdirectory headings and empty lines to be information that
2279 `dired-hide-details-mode' should hide. (Bug#17228)
2280
2281 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
2282
2283 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2284 Remove test messages.
2285 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
2286 and `target' twice.
2287
2288 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2289
2290 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
2291 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
2292
2293 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
2294
2295 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
2296
2297 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2298 Set "IFS=" when using read builtin, in order to preserve spaces in
2299 the file name. Add test messages for hunting a bug on hydra.
2300 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
2301
2302 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2303
2304 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
2305 Don't prettify a word within a symbol.
2306
2307 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
2308
2309 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
2310 possible.
2311
2312 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2313
2314 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
2315 assignments such as "case=hello" (bug#17297).
2316
2317 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
2318
2319 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
2320 Do not autoload.
2321 (tramp-file-name-handler, tramp-completion-file-name-handler):
2322 Revert patch from 2014-04-10, it isn't necessary anymore.
2323 (tramp-autoload-file-name-handler)
2324 (tramp-register-autoload-file-name-handlers): New defuns.
2325 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
2326 (tramp-register-file-name-handlers): Remove also
2327 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
2328 Do not autoload its invocation, but eval it after loading of 'tramp.
2329
2330 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
2331
2332 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
2333
2334 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2335
2336 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
2337 was done (bug#17264).
2338 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
2339 comment to EOB.
2340
2341 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
2342 here-documents (bug#17262).
2343
2344 2014-04-16 Eli Zaretskii <eliz@gnu.org>
2345
2346 * term/pc-win.el (x-list-fonts, x-get-selection-value):
2347 Provide doc strings, as required by snarf-documentation.
2348
2349 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2350
2351 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
2352 arg of overlays-at. Use `invisible-p'.
2353
2354 * obsolete/lucid.el (extent-at):
2355 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
2356 overlays-at.
2357 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
2358
2359 2014-04-14 João Távora <joaotavora@gmail.com>
2360
2361 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
2362 links. (Bug#17217).
2363
2364 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2365
2366 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2367 Use mapc to loop over a vector. (Bug#17257).
2368
2369 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
2370
2371 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
2372 patch, there are new problems with file names containing spaces.
2373 Get rid of backticks. (Bug#17238)
2374
2375 2014-04-13 João Távora <joaotavora@gmail.com>
2376
2377 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
2378 possible bug.
2379
2380 2014-04-13 Eli Zaretskii <eliz@gnu.org>
2381
2382 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
2383 (blink-cursor-mode): Mention customization variables and the
2384 effect of 'blink-cursor-blinks'.
2385
2386 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
2387
2388 * simple.el (undo): Prevent insertion of identity mapping into
2389 undo-equiv-table so as undo-only does not inf loop in the presence
2390 of consecutive nils in undo list.
2391
2392 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
2393
2394 * faces.el (make-face): Deprecate optional argument as it is no
2395 longer needed/used since the conditional X resources handling
2396 has been pushed down to make-face-x-resource-internal itself.
2397 (make-empty-face): Don't pass optional argument to make-face.
2398
2399 2014-04-12 Eli Zaretskii <eliz@gnu.org>
2400
2401 * international/characters.el <standard-case-table>: Add entries
2402 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
2403 Set category of Coptic characters be 'g' (Greek).
2404
2405 2014-04-12 Leo Liu <sdl.web@gmail.com>
2406
2407 * progmodes/octave.el (completion-table-with-cache): Define if not
2408 available.
2409 (octave-goto-function-definition)
2410 (octave-sync-function-file-names)
2411 (octave-find-definition-default-filename): Backquote upattern for
2412 compatibility.
2413
2414 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
2415
2416 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
2417 name twice due to backticks. (Bug#17238)
2418
2419 2014-04-11 Glenn Morris <rgm@gnu.org>
2420
2421 * term/w32-win.el (x-win-suspend-error):
2422 * term/x-win.el (x-win-suspend-error): Sync docs.
2423
2424 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2425
2426 Ediff's overlay priorities cause more trouble than they solve.
2427 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
2428 (ediff-highest-priority): Remove function (bug#17234).
2429 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
2430 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
2431 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
2432 overlay priorities.
2433
2434 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
2435
2436 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
2437 entry; use symbol boundaries to avoid mis-matches.
2438
2439 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
2440
2441 * net/tramp.el (tramp-file-name-handler)
2442 (tramp-completion-file-name-handler): Avoid recursive loading.
2443
2444 * net/tramp-sh.el (tramp-make-copy-program-file-name):
2445 Quote result also locally.
2446
2447 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
2448
2449 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2450 Module methods. (Bug#17216)
2451
2452 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2453
2454 * help.el (describe-bindings): Fix buffer handling (bug#17210).
2455 (describe-bindings-internal): Mark obsolete.
2456
2457 2014-04-07 João Távora <joaotavora@gmail.com>
2458
2459 * elec-pair.el:
2460 (electric-pair--syntax-ppss): When inside comments parse from
2461 comment beginning.
2462 (electric-pair--balance-info): Fix typo in comment.
2463 (electric-pair--in-unterminated-string-p): Delete.
2464 (electric-pair--unbalanced-strings-p): New function.
2465 (electric-pair-string-bound-function): New var.
2466 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2467 according to `electric-pair--in-unterminated-string-p'
2468
2469 2014-04-07 João Távora <joaotavora@gmail.com>
2470
2471 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2472 Inhibit quote pairing if point-max is inside an unterminated string.
2473 (electric-pair--looking-at-unterminated-string-p): Delete.
2474 (electric-pair--in-unterminated-string-p): New function.
2475
2476 2014-04-07 Glenn Morris <rgm@gnu.org>
2477
2478 * shell.el (shell-directory-tracker):
2479 Go back to just ignoring failures. (Bug#17159)
2480
2481 2014-04-06 João Távora <joaotavora@gmail.com>
2482
2483 Fix `electric-pair-delete-adjacent-pairs' in modes binding
2484 backspace. (bug#16981)
2485 * elec-pair.el (electric-pair-backward-delete-char): Delete.
2486 (electric-pair-backward-delete-char-untabify): Delete.
2487 (electric-pair-mode-map): Bind backspace to a menu item filtering
2488 a new `electric-pair-delete-pair' command.
2489 (electric-pair-delete-pair): New command.
2490
2491 2014-04-06 João Távora <joaotavora@gmail.com>
2492
2493 * progmodes/python.el (python-electric-pair-string-delimiter):
2494 Fix triple-quoting electricity. (Bug#17192)
2495
2496 2014-04-06 João Távora <joaotavora@gmail.com>
2497
2498 * elec-pair.el (electric-pair-post-self-insert-function):
2499 Don't skip whitespace when `electric-pair-text-pairs' and
2500 `electric-pair-pairs' were used. syntax to
2501 electric-pair--skip-whitespace. (Bug#17183)
2502
2503 2014-04-06 Eli Zaretskii <eliz@gnu.org>
2504
2505 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2506 "<F>". (Bug#17199)
2507
2508 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
2509
2510 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2511 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2512
2513 2014-04-05 Glenn Morris <rgm@gnu.org>
2514
2515 * help.el (view-lossage): Doc tweak.
2516
2517 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
2518
2519 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2520 only when inhibit-x-resources is nil, and do that earlier in the
2521 function. Doc fix. (Bug#16694)
2522 (face-spec-choose): Accept additional optional argument, whose
2523 value is returned if no matching attributes are found.
2524 (face-spec-recalc): Use the new optional argument when calling
2525 face-spec-choose. (Bug#16378)
2526 (make-face-x-resource-internal): Do nothing when
2527 inhibit-x-resources is non-nil. Don't touch the default face if
2528 reversed video is given--as was done in previous versions of Emacs.
2529 (face-set-after-frame-default): Don't call
2530 make-face-x-resource-internal here. (Bug#16434)
2531
2532 2014-04-04 Tassilo Horn <tsdh@gnu.org>
2533
2534 * doc-view.el (doc-view-bookmark-jump):
2535 Use `bookmark-after-jump-hook' to jump to the right page after the
2536 buffer is shown in a window. (bug#16090)
2537
2538 2014-04-04 Eli Zaretskii <eliz@gnu.org>
2539
2540 * international/characters.el (mirroring): Fix last change:
2541 instead of loading uni-mirrored.el explicitly, do that implicitly
2542 by creating the 'mirroring' uniprop table. This avoids announcing
2543 the loading of uni-mirrored.el.
2544
2545 2014-04-04 Glenn Morris <rgm@gnu.org>
2546
2547 * files.el (buffer-stale--default-function)
2548 (buffer-stale-function, revert-buffer--default):
2549 * autorevert.el (auto-revert-buffers): Doc tweaks.
2550
2551 2014-04-03 Eli Zaretskii <eliz@gnu.org>
2552
2553 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
2554
2555 2014-04-03 Glenn Morris <rgm@gnu.org>
2556
2557 * files.el (make-backup-file-name-function)
2558 (make-backup-file-name, make-backup-file-name--default-function)
2559 (make-backup-file-name-1, find-backup-file-name)
2560 (revert-buffer-function, revert-buffer-insert-file-contents-function)
2561 (buffer-stale--default-function, buffer-stale-function)
2562 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2563 (revert-buffer, revert-buffer--default)
2564 (revert-buffer-insert-file-contents--default-function):
2565 Doc fixes related to defaults no longer being nil.
2566 (make-backup-file-name-function): Bump :version.
2567 Restore nil as a valid but deprecated custom type.
2568
2569 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
2570
2571 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
2572 used as a variable (bug#17174).
2573
2574 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
2575
2576 * progmodes/perl-mode.el (perl-indent-new-calculate):
2577 Handle forward-sexp failure (bug#16985).
2578 (perl-syntax-propertize-function): Add "foreach" and "for" statement
2579 modifiers introducing expressions (bug#17116).
2580
2581 2014-04-02 Glenn Morris <rgm@gnu.org>
2582
2583 * menu-bar.el (menu-bar-file-menu):
2584 * vc/ediff.el (ediff-current-file):
2585 Update for revert-buffer-function no longer being nil by default.
2586
2587 * simple.el (command-execute): Respect nil disabled-command-function.
2588
2589 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2590
2591 * simple.el (command-execute): Do not execute the command when it
2592 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2593
2594 2014-03-29 Juri Linkov <juri@jurta.org>
2595
2596 * dired-aux.el (dired-compress-file): Don't use string-match-p
2597 because its match data is used afterwards.
2598
2599 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2600
2601 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2602 0 like nil.
2603
2604 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2605
2606 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2607 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2608
2609 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2610 Don't propertize `?' or `!' as symbol constituent when after
2611 colon. (Bug#17097)
2612
2613 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2614
2615 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2616 which is no longer needed and causes trouble in GTK builds (bug#17046).
2617
2618 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2619 Use url-insert-file-contents; package-handle-response no longer exists.
2620
2621 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2622
2623 * emacs-lisp/package.el: Fix bug#16733 (again).
2624 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2625 (url-http-target-url): Remove unused declarations.
2626 (package-handle-response): Remove.
2627 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2628 (package--download-one-archive): Use current-buffer instead of
2629 dynamic binding of `buffer'.
2630 (describe-package-1): Do not decode readme-string.
2631
2632 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
2633
2634 * simple.el (primitive-undo): Correction to 2014-03-24 change.
2635
2636 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
2637
2638 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2639
2640 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2641 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2642 `remote-file-name-inhibit-cache' to nil in the second pass.
2643 (tramp-find-executable): Do not call "which" on SunOS.
2644 (tramp-send-command-and-check): Fix docstring.
2645 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2646 check whether source directory has set the sticky bit.
2647
2648 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
2649
2650 * simple.el (primitive-undo): Only process marker adjustments
2651 validated against their corresponding (TEXT . POS). Issue warning
2652 for lone marker adjustments in undo history. (Bug#16818)
2653 (undo-make-selective-list): Add marker adjustments to selective
2654 undo list based on whether their corresponding (TEXT . POS) is in
2655 the region. Remove variable adjusted-markers, which was unused
2656 and only non nil during undo-make-selective-list.
2657 (undo-elt-in-region): Return nil when passed a marker adjustment
2658 and explain in function doc.
2659
2660 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2661
2662 * emacs-lisp/package.el (package--add-to-archive-contents):
2663 Include already installed and built-in packages in
2664 `package-archive-contents'.
2665 (package-install): Don't include already installed packages in the
2666 options during interactive invocation. (Bug#16762)
2667
2668 2014-03-24 Daniel Colascione <dancol@dancol.org>
2669
2670 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2671 instead of cl-loop search function.
2672
2673 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
2674
2675 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2676
2677 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2678
2679 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2680
2681 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2682
2683 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2684 Match special global variables without curlies, too.
2685 (ruby-font-lock-keywords): Simplify the matcher for special global
2686 variables. Don't require a non-word character after the variable.
2687 (Bug#17057)
2688
2689 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2690
2691 * simple.el (redisplay-highlight-region-function): Increase priority of
2692 overlay to make sure boundaries are visible (bug#15899).
2693
2694 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2695
2696 * frameset.el (frameset-restore): Compare display strings with equal.
2697
2698 * frame.el (make-frame): Don't quote display name in error message,
2699 it is already a string.
2700
2701 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2702
2703 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2704 the password.
2705
2706 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
2707
2708 * emacs-lisp/package.el (package-show-package-list): If the buffer
2709 is already displayed in another window, switch to that window.
2710
2711 2014-03-21 Daniel Colascione <dancol@dancol.org>
2712
2713 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2714 information in bug reports.
2715
2716 2014-03-23 Daniel Colascione <dancol@dancol.org>
2717
2718 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2719 list to look for keyword arguments instead of `memq', fixing
2720 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2721 Please make bootstrap.
2722
2723 2014-03-23 Richard Stallman <rms@gnu.org>
2724
2725 * battery.el (battery-linux-sysfs): Search for each field
2726 from the beginning of the buffer.
2727
2728 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2729
2730 * emacs-lisp/package.el (package-desc): Use the contents of the
2731 quoted form, not its cdr. (Bug#16873)
2732
2733 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2734
2735 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2736 benefit of doc.c; change parameter profile to match the X function.
2737
2738 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2739
2740 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2741 and `tramp-copy-env'.
2742
2743 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2744 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2745
2746 2014-03-21 Glenn Morris <rgm@gnu.org>
2747
2748 * electric.el (electric-indent-post-self-insert-function): Add doc.
2749
2750 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2751
2752 * emacs-lisp/package.el (package-compute-transaction):
2753 Use `version-list-<=' to compare the requirement version against
2754 the version of package already to be installed. Update the error
2755 message. (Bug#16826)
2756
2757 * progmodes/ruby-mode.el (ruby-smie-rules):
2758 Add indentation rule for ` @ '. (Bug#17050)
2759
2760 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2761
2762 * align.el (align-regexp): Remove superfluous backslash.
2763
2764 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2765 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2766 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2767 Fix docstring typos.
2768 (ffap-next): Use C-u in docstring.
2769 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2770 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2771 Remove superfluous backslashes.
2772 (ffap-string-at-point): Reflow docstring.
2773
2774 * server.el (server-host): Reflow docstring.
2775 (server-unload-function): Fix docstring typo.
2776 (server-eval-at): Remove superfluous backslash.
2777
2778 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2779 (skeleton-insert): Doc fix.
2780 (skeleton-insert): Reflow docstring.
2781
2782 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2783 (tty-color-approximate, tty-color-by-index, tty-color-values)
2784 (tty-color-desc): Remove superfluous backslashes.
2785
2786 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2787
2788 * electric.el (electric-newline-and-maybe-indent): New command.
2789 Bind it globally to C-j.
2790 (electric-indent-mode): Don't mess with the global map any more.
2791 Don't drop the post-self-insert-hook is some buffer is still using it
2792 (bug#16770).
2793
2794 * bindings.el (global-map): Remove C-j binding.
2795
2796 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2797 the docstring of functions advised before dumping (bug#16993).
2798
2799 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2800
2801 * ps-print.el (ps-generate-postscript-with-faces):
2802 Explicitly deactivate the mark (bug#16866).
2803 * simple.el (deactivate-mark): Update region highlight.
2804
2805 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2806
2807 * emacs-lisp/package.el (describe-package-1):
2808 Decode commentary (bug#16733).
2809
2810 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2811
2812 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2813 modification of the value argument of :set (bug#16755).
2814
2815 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2816
2817 * simple.el (newline-and-indent): Do autofill (bug#17031).
2818
2819 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2820
2821 * newcomment.el (comment-normalize-vars): Only add escaping check
2822 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2823 (comment-beginning): Use `narrow-to-region' instead of moving back
2824 one character.
2825 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2826 (comment-start-skip): Update the docstring.
2827
2828 2014-03-18 Richard Stallman <rms@gnu.org>
2829
2830 * dired.el (dired-display-file): Force use of other window.
2831
2832 2014-03-18 Daniel Colascione <dancol@dancol.org>
2833
2834 * startup.el (tty-handle-args): Remove debug message from 2007.
2835
2836 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2837
2838 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2839 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2840 (advice--make-1, advice-add, advice-remove):
2841 Remove braindead :advice-pending hack.
2842
2843 2014-03-17 Glenn Morris <rgm@gnu.org>
2844
2845 * calendar/calendar.el (calendar-generate-month): Apply weekend
2846 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2847
2848 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2849
2850 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2851 (tramp-call-process): Trace also DESTINATION.
2852
2853 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2854 Quote file names when they are local. Remove superfluous trace.
2855
2856 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2857
2858 * newcomment.el (comment-beginning): If `comment-start-skip'
2859 doesn't match, move back one char and try again. (Bug#16971)
2860
2861 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2862 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2863 Set `comment-start-skip' to a simpler value that doesn't try to
2864 check if the semicolon is escaped (this is handled by
2865 `syntax-ppss' now). (Bug#16971)
2866
2867 * progmodes/scheme.el (scheme-mode-variables): Same.
2868
2869 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2870
2871 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2872 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2873 current (Bug#16816, Bug#17007).
2874 (with-current-buffer-window): New macro doing the same as
2875 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2876 * help.el (help-print-return-message): Warn in doc-string to not
2877 use this in `with-help-window'.
2878 (describe-bindings-internal): Call `describe-buffer-bindings'
2879 from within help buffer. See Juanma's scenario in (Bug#16816).
2880 (with-help-window): Update doc-string.
2881 * dired.el (dired-mark-pop-up):
2882 * files.el (save-buffers-kill-emacs):
2883 * register.el (register-preview): Use `with-current-buffer-window'
2884 instead of `with-temp-buffer-window'.
2885
2886 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2887
2888 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2889 Implement inserting into current buffer, documented in their docstrings.
2890 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2891 (rst-section-tree-point, rst-forward-section, rst-indent)
2892 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2893 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2894 (rst-font-lock-handle-adornment-pre-match-form)
2895 (rst-repeat-last-character): Reflow docstrings.
2896 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2897 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2898 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2899 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2900 Fix docstring typos.
2901 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2902 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2903 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2904
2905 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2906
2907 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2908 for compatibility with other ports.
2909 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2910 from the -xrm command line argument, but in the Nextstep port its value
2911 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2912
2913 * progmodes/python.el (defconst, python-syntax-count-quotes)
2914 (python-indent-region, python-indent-shift-right)
2915 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2916 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2917 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2918 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2919 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2920 (python-shell-buffer-substring, python-shell-send-buffer)
2921 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2922 (python-completion-complete-at-point, python-fill-docstring-style)
2923 (python-eldoc-function, python-imenu-format-item-label)
2924 (python-imenu-format-parent-item-label)
2925 (python-imenu-format-parent-item-jump-label)
2926 (python-imenu--build-tree, python-imenu-create-index)
2927 (python-imenu-create-flat-index): Fix docstring typos.
2928 (python-indent-context, python-shell-prompt-regexp, run-python):
2929 Remove superfluous backslashes.
2930 (python-indent-line, python-nav-beginning-of-defun)
2931 (python-shell-get-buffer, python-shell-get-process)
2932 (python-info-current-defun, python-info-current-line-comment-p)
2933 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2934 (python-indent-post-self-insert-function, python-shell-send-file)
2935 (python-shell-completion-get-completions)
2936 (python-shell-completion-complete-or-indent)
2937 (python-eldoc--get-doc-at-point): Reflow docstrings.
2938
2939 2014-03-14 Glenn Morris <rgm@gnu.org>
2940
2941 * emacs-lisp/package.el (package-menu-mode-map):
2942 Replace use of obsolete function alias. Tweak menu item text.
2943
2944 * info.el (Info-finder-find-node):
2945 Ignore the `emacs' metapackage. (Bug#10813)
2946
2947 * finder.el (finder-list-matches): Include unversioned packages
2948 in the result of a keyword search.
2949
2950 * finder.el (finder--builtins-descriptions): New constant.
2951 (finder-compile-keywords): Use finder--builtins-descriptions.
2952
2953 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2954
2955 * simple.el (blink-matching-paren): Describe the new value,
2956 `jump', enabling the old behavior.
2957 (blink-matching-open): Use that value. (Bug#17008)
2958
2959 2014-03-14 Glenn Morris <rgm@gnu.org>
2960
2961 * finder.el (finder-no-scan-regexp): Add leim-list.
2962 (finder-compile-keywords):
2963 Don't skip files with same basename. (Bug#14010)
2964 * Makefile.in (setwins_finder): New, excluding leim.
2965 (finder-data): Use setwins_finder.
2966
2967 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2968 (help-function-arglist, help-make-usage): Move from here...
2969 * help.el (help-split-fundoc, help-add-fundoc-usage)
2970 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2971 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2972
2973 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2974
2975 * net/socks.el (socks, socks-override-functions)
2976 (socks-find-services-entry):
2977 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2978 (hif-find-ifdef-block):
2979 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2980
2981 * net/tls.el (tls-program): Reflow docstring.
2982
2983 * progmodes/pascal.el (pascal-mode-abbrev-table)
2984 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2985 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2986 (pascal-outline-mode): Fix docstring typos.
2987 (pascal-mode): Let define-derived-mode document mode hook.
2988 (pascal-uncomment-area): Reflow.
2989 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2990
2991 * progmodes/opascal.el (opascal-compound-block-indent)
2992 (opascal-case-label-indent): Fix docstring typos.
2993 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2994
2995 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2996
2997 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2998 Fontify multiple adjacent negation chars. (Bug#17004)
2999
3000 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
3001
3002 * emacs-lisp/package.el (package--prepare-dependencies):
3003 Accept requirements without explicit version (bug#14941).
3004
3005 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3006
3007 * register.el (register-separator, copy-to-register): Doc fixes.
3008 (register-preview-default): Remove unnecessary call to concat.
3009
3010 * frameset.el (frameset-restore): When checking for a visible frame,
3011 use the action map instead of calling visible-frame-list.
3012
3013 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
3014
3015 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
3016
3017 2014-03-12 Martin Rudalics <rudalics@gmx.at>
3018
3019 * window.el (fit-frame-to-buffer): Get maximum width from
3020 display's width instead of height.
3021
3022 2014-03-12 Glenn Morris <rgm@gnu.org>
3023
3024 * desktop.el (desktop-restore-frames)
3025 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
3026 (desktop-restore-reuses-frames): Doc tweaks.
3027
3028 * electric.el (electric-indent-mode): Doc fix.
3029
3030 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3031
3032 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
3033 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
3034 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
3035 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
3036 (cvs-dired-use-hook): Fix docstring typos.
3037 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
3038 Doc fixes.
3039
3040 * vc/pcvs-defs.el (cvs-auto-remove-handled)
3041 (cvs-auto-remove-directories, cvs-default-ignore-marks)
3042 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
3043 (cvs-execute-single-dir): Fix docstring typos.
3044
3045 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
3046 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
3047
3048 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
3049
3050 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
3051 Fix docstring typos.
3052
3053 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3054
3055 * frameset.el (frameset--jump-to-register): Add autoload; it could be
3056 called from jump-to-register after unloading the frameset package.
3057
3058 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3059
3060 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
3061 (bug#16975). Deactivate the mark before setting it to nil.
3062 (activate-mark): Do nothing if region is already active.
3063
3064 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3065
3066 * frameset.el (frameset--target-display): Remove definition; declare.
3067 (frameset-save, frameset-restore): Let-bind frameset--target-display.
3068
3069 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3070
3071 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
3072 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
3073 when the advice is pending.
3074 (advice-remove): Remove this marker when not needed any more.
3075
3076 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3077
3078 * frameset.el: Separate options for reusing frames and cleaning up.
3079 (frameset--reuse-list): Remove definition; declare.
3080 (frameset--action-map): Declare.
3081 (frameset--find-frame-if): Doc fix.
3082 (frameset--restore-frame): Cache frame action.
3083 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
3084 how to clean up the frame list after restoring. Remove cleaning
3085 options from REUSE-FRAMES. Change all keyword values to symbols.
3086 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
3087
3088 * desktop.el (desktop-restore-forces-onscreen)
3089 (desktop-restore-reuses-frames): Use non-keyword values.
3090 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
3091
3092 2014-03-10 Glenn Morris <rgm@gnu.org>
3093
3094 * files.el (find-file): Doc fix: update info node name.
3095
3096 * emacs-lisp/advice.el (ad-add-advice, defadvice):
3097 Doc fix: remove references to deleted info nodes.
3098
3099 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
3100
3101 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3102 Do not add `nil' to the environment, when there's no remote `locale'.
3103 (tramp-find-inline-encoding): Check, that the remote host has
3104 installed perl, before sending scripts.
3105
3106 2014-03-10 Leo Liu <sdl.web@gmail.com>
3107
3108 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3109 Clear eldoc-last-message. (Bug#16920)
3110
3111 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3112
3113 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
3114 (bug#14430).
3115
3116 2014-03-09 Juri Linkov <juri@jurta.org>
3117
3118 * ansi-color.el (ansi-color-names-vector): Copy default colors
3119 from `xterm-standard-colors' that look well on the default white
3120 background (and also on the black background) to avoid illegible
3121 color combinations like yellow-on-white and white-on-white.
3122 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
3123
3124 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
3125
3126 * frameset.el (frameset-restore): When no frame is visible, do not
3127 generate a list of frames, just make visible the selected one.
3128
3129 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
3130
3131 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
3132 it only contains the repository root. (Bug#16897)
3133
3134 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
3135
3136 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
3137 only when `remote-file-name-inhibit-cache' is nil.
3138 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
3139
3140 2014-03-06 Martin Rudalics <rudalics@gmx.at>
3141
3142 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
3143 Fix doc-strings.
3144 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
3145 fit-frame-to-buffer variable. Fix doc-string.
3146 (fit-window-to-buffer): Set ONLY argument in call of
3147 fit-frame-to-buffer. Fix doc-string.
3148
3149 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
3150
3151 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
3152 (tramp-action-password): Clear password cache if needed.
3153 (tramp-read-passwd): Do not clear password cache.
3154
3155 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
3156 cache unless it is the first password request.
3157
3158 2014-03-06 Glenn Morris <rgm@gnu.org>
3159
3160 * simple.el (newline): Doc tweak.
3161
3162 * emacs-lisp/shadow.el (load-path-shadows-find):
3163 Ignore dir-locals. (Bug#12357)
3164
3165 2014-03-05 Glenn Morris <rgm@gnu.org>
3166
3167 * files.el (interpreter-mode-alist):
3168 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
3169
3170 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3171
3172 * frameset.el (frameset--initial-params): Filter out null entries.
3173
3174 2014-03-05 Martin Rudalics <rudalics@gmx.at>
3175
3176 * window.el (window-min-height, window-min-width):
3177 Rewrite doc-strings.
3178 (window-body-size): Add PIXELWISE argument to make it consistent
3179 with its callees.
3180
3181 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3182
3183 * finder.el (finder-mode-map, finder-mode-syntax-table):
3184 Revert part of 2014-02-28 change.
3185
3186 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
3187
3188 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
3189 (eww-setup-buffer): Clear next/prev/etc more reliably.
3190 (eww-textarea-map): [tab] doesn't work on tty.
3191 Reported by Mario Lang.
3192
3193 * net/shr.el (shr-map): Ditto.
3194
3195 2014-03-04 Glenn Morris <rgm@gnu.org>
3196
3197 * minibuffer.el (completion-hilit-commonality):
3198 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
3199
3200 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3201
3202 * hilit-chg.el (hilit-chg-unload-function): New function.
3203 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
3204 (hilit-chg-map-changes): Prefer cardinal number to digit.
3205 (hilit-chg-display-changes): Reflow docstring.
3206 (highlight-changes-rotate-faces): Remove superfluous backslash.
3207
3208 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
3209
3210 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
3211 `tramp-send-command-and-check'.
3212
3213 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3214
3215 * hexl.el (hexl-address-region, hexl-ascii-region)
3216 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
3217 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
3218 (hexl-forward-word, hexl-previous-line, hexl-next-line):
3219 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
3220 (hexl-mode): Doc fix.
3221 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
3222 (hexl-mode-ruler): Fix typos in docstrings.
3223
3224 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
3225 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
3226 Remove superfluous backslashes.
3227 (strokes-last-stroke, strokes-global-map, strokes-mode):
3228 Reflow docstrings.
3229 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
3230 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
3231 (strokes-distance-squared, strokes-global-set-stroke)
3232 (strokes-global-set-stroke-string): Doc fixes.
3233 (strokes-help): Fix typos; reflow docstring.
3234
3235 2014-03-04 Martin Rudalics <rudalics@gmx.at>
3236
3237 * window.el (window-in-direction): Fix doc-string.
3238
3239 2014-03-04 Glenn Morris <rgm@gnu.org>
3240
3241 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
3242 Explicit error if no grammar.
3243 (smie-config-save): Doc fix. Fix quote typo.
3244
3245 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
3246
3247 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
3248 electric-indent-mode-hook if we obey electric-indent-mode.
3249 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
3250 decide whether we obey electric-indent-mode.
3251 (c-change-set-fl-decl-start, c-extend-after-change-region):
3252 Silence warnings.
3253 (c-electric-indent-mode-hook): Assume we do want to obey
3254 electric-indent-mode.
3255
3256 * electric.el (electric-indent-mode-has-been-called): Remove.
3257 (electric-indent-mode): Fix accordingly.
3258
3259 * files.el (hack-local-variables): Mention file name in warning.
3260
3261 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
3262
3263 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
3264
3265 * bindings.el: Add comment describing why C-d binds to `delete-char'.
3266 * simple.el (delete-forward-char): Mark as interactive-only.
3267
3268 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
3269
3270 * icomplete.el (icomplete-completions):
3271 Follow-up to 2014-03-01 change.
3272
3273 * icomplete.el: Miscellaneous doc fixes.
3274 Use Icomplete everywhere instead of icomplete for consistency.
3275 (icomplete-max-delay-chars): Fix typo.
3276 (icomplete-mode): Use \[].
3277 (icomplete-tidy, icomplete-exhibit): Reflow.
3278 (icomplete-minibuffer-setup-hook, icomplete-completions):
3279 Remove superfluous backlashes.
3280
3281 * ido.el: Miscellaneous doc fixes.
3282 Use Ido everywhere instead of ido or `ido' for consistency.
3283 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
3284 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
3285 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
3286 (ido-separator): Extract obsolescence info from docstring and declare
3287 with make-obsolete-variable.
3288 (ido-minibuffer-setup-hook): Simplify example.
3289 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
3290 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
3291 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
3292 (ido-everywhere): Reflow docstring.
3293 (ido-toggle-vc): Doc fix.
3294 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
3295 of long list of keybindings.
3296
3297 2014-03-03 Glenn Morris <rgm@gnu.org>
3298
3299 * frame.el (display-pixel-height, display-pixel-width)
3300 (display-mm-dimensions-alist, display-mm-height)
3301 (display-mm-width): Doc tweaks.
3302
3303 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
3304
3305 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
3306 case of undo in region.
3307
3308 2014-03-02 Martin Rudalics <rudalics@gmx.at>
3309
3310 * window.el (fit-window-to-buffer): Fix argument in window-size
3311 call when window is horizontally combined.
3312
3313 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
3314
3315 * icomplete.el (icomplete-completions): Use string-width.
3316 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
3317
3318 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
3319
3320 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3321 Highlight regexp options. (Bug#16914)
3322
3323 2014-03-01 Martin Rudalics <rudalics@gmx.at>
3324
3325 * window.el (window--max-delta-1): Round down when calculating
3326 how many lines/columns we can get from a window.
3327
3328 2014-03-01 Glenn Morris <rgm@gnu.org>
3329
3330 * isearch.el (search-invisible): Doc fix.
3331
3332 * minibuffer.el (completion-hilit-commonality):
3333 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
3334 * comint.el (comint-dynamic-list-completions): Doc fix.
3335 * comint.el (comint-dynamic-list-completions):
3336 * filecache.el (file-cache-minibuffer-complete):
3337 * tempo.el (tempo-display-completions):
3338 * eshell/em-hist.el (eshell-list-history):
3339 Replace use of obsolete argument of display-completion-list.
3340
3341 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
3342
3343 * icomplete.el (icomplete-completions):
3344 Revert back to using "..." when ?… cannot be displayed.
3345
3346 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3347
3348 * finder.el (finder-unload-function): New function.
3349
3350 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3351
3352 * dframe.el (dframe-detach):
3353 * find-dired.el (find-dired, find-name-dired):
3354 * finder.el (finder-mode-map, finder-mode-syntax-table)
3355 (finder-headmark, finder-select, finder-mouse-select):
3356 Fix docstring typos.
3357
3358 2014-02-28 Martin Rudalics <rudalics@gmx.at>
3359
3360 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
3361 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
3362 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3363 Fix doc-string based on a suggestion by Nicolas Richard
3364 <theonewiththeevillook@yahoo.fr>.
3365 * help.el (with-help-window): Fix doc-string.
3366
3367 2014-02-28 Ivan Kanis <ivan@kanis.fr>
3368
3369 * net/shr.el (shr-image-animate): New option.
3370 (shr-put-image): Respect shr-image-animate.
3371
3372 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
3373
3374 * net/tramp-adb.el (tramp-adb-parse-device-names):
3375 Use `accept-process-output'.
3376 (tramp-adb-handle-file-truename): Cache the localname only.
3377 (tramp-adb-handle-make-directory)
3378 (tramp-adb-handle-delete-directory): Flush file properties correctly.
3379 (tramp-adb-handle-set-file-modes): Do not raise an error when file
3380 modes cannot be changed.
3381
3382 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3383 file properties of symlinks.
3384
3385 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
3386
3387 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3388 required/optional fields to match development biblatex. (Bug#16781)
3389
3390 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
3391
3392 * saveplace.el (toggle-save-place):
3393 Fix argument handling. (Bug#16673)
3394
3395 2014-02-28 Glenn Morris <rgm@gnu.org>
3396
3397 * minibuffer.el (completions-first-difference)
3398 (completions-common-part, completion-hilit-commonality): Doc fixes.
3399
3400 2014-02-28 Karl Berry <karl@gnu.org>
3401
3402 * info.el (Info-mode-map): Add H for describe-mode,
3403 to synchronize with standalone Info.
3404
3405 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
3406
3407 * progmodes/sql.el (sql-interactive-mode):
3408 Avoid setting global comint-input-ring-separator. (Bug#16814)
3409
3410 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3411
3412 * net/dbus.el (dbus--init-bus): Declare function.
3413 (dbus-path-local, dbus-interface-local): New defconst.
3414 (dbus-init-bus): Use them.
3415 (dbus-return-values-table): Extend doc.
3416 (dbus-handle-bus-disconnect): Extend error message.
3417
3418 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
3419
3420 * subr.el (y-or-n-p): Fix double space issue in message.
3421
3422 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3423
3424 * net/tramp.el (tramp-call-process): Improve trace message.
3425 (tramp-handle-insert-file-contents): Trace error case.
3426
3427 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3428 <insert-directory>: Use `tramp-handle-insert-directory'.
3429 (tramp-adb-handle-insert-directory): Remove function.
3430 (tramp-adb-send-command-and-check): New defun, replacing
3431 `tramp-adb-command-exit-status'. Change all callees.
3432 (tramp-adb-handle-file-attributes)
3433 (tramp-adb-handle-directory-files-and-attributes): Use it.
3434 (tramp-adb-ls-output-name-less-p):
3435 Use `directory-listing-before-filename-regexp'.
3436 (tramp-adb-handle-delete-directory): Flush also file properties of
3437 the truename of directory.
3438 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3439 (tramp-adb-handle-file-local-copy): Make the local copy readable.
3440 (tramp-adb-handle-write-region): Implement APPEND.
3441 (tramp-adb-handle-rename-file): Make it more robust. Flush file
3442 properties correctly.
3443 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3444 variables. Check for connected devices only when needed.
3445
3446 2014-02-27 Glenn Morris <rgm@gnu.org>
3447
3448 * minibuffer.el (completion-table-dynamic)
3449 (completion-table-with-cache): Doc fixes.
3450
3451 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3452 (completing-read-multiple): Doc fixes.
3453
3454 2014-02-27 Daniel Colascione <dancol@dancol.org>
3455
3456 * minibuffer.el (completion--nth-completion): Fix indentation.
3457
3458 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3459 explicit tramp path is empty.
3460
3461 2014-02-27 Glenn Morris <rgm@gnu.org>
3462
3463 * emacs-lisp/crm.el (completing-read-multiple):
3464 Empower help-enable-auto-load.
3465
3466 2014-02-26 Glenn Morris <rgm@gnu.org>
3467
3468 * startup.el (command-line): Don't init the tty in daemon mode.
3469
3470 Avoid calling tty-setup-hook twice, eg if a term file
3471 explicitly calls tty-run-terminal-initialization. (Bug#16859)
3472 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3473 (tty-create-frame-with-faces): Use it.
3474 * startup.el (command-line): Pass run-hook argument
3475 to tty-run-terminal-initialization.
3476
3477 * dired.el (dired-restore-desktop-buffer): Demote errors;
3478 eg in case a glob match fails. (Bug#16884)
3479
3480 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
3481
3482 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3483 error from `read-from-string'. (Bug#16850)
3484
3485 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3486 result of `completing-read' in the interactive form. (Bug#16854)
3487
3488 2014-02-25 Glenn Morris <rgm@gnu.org>
3489
3490 * image.el (image-animate, image-animate-timeout):
3491 Stop animating images in dead buffers. (Bug#16878)
3492
3493 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
3494
3495 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3496 Doc fixes.
3497 * startup.el (term-setup-hook): Doc fix. Make obsolete.
3498 * term/sun.el (sun-raw-prefix-hooks):
3499 Use tty-setup-hook instead of term-setup-hook.
3500 (terminal-init-sun): Construct message from bytecomp plist.
3501 * term/wyse50.el (enable-arrow-keys): Doc fix.
3502
3503 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3504
3505 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3506 Fix docstring typos.
3507
3508 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
3509
3510 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3511
3512 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3513
3514 * minibuffer.el (completion--try-word-completion):
3515 Fix error when completing M-x commands (bug#16808).
3516
3517 2014-02-24 Leo Liu <sdl.web@gmail.com>
3518
3519 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3520
3521 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3522
3523 * apropos.el (apropos-print): Avoid formatting error when
3524 apropos-do-all and apropos-compact-layout are both t.
3525
3526 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3527
3528 * apropos.el (apropos-property, apropos-all-words-regexp)
3529 (apropos-true-hit, apropos-variable, apropos-print):
3530 Fix docstring typos, and remove obsolete comment.
3531
3532 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3533
3534 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3535 Preserve trailing "/". (Bug#16851)
3536
3537 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3538
3539 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3540 after `=>' (bug#16811).
3541 (ruby-smie-rules): Handle the inconsistent second element of the
3542 list returned by `smie-indent--parent'.
3543 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3544 method call.
3545
3546 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3547
3548 * elec-pair.el (electric-pair-text-syntax-table)
3549 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3550 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3551 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3552 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3553
3554 2014-02-22 Glenn Morris <rgm@gnu.org>
3555
3556 * imenu.el (imenu--generic-function): Doc fix.
3557
3558 * register.el (frame-configuration-to-register): Make obsolete.
3559
3560 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
3561
3562 * desktop.el (desktop-save-buffer-p): Do not fail when
3563 desktop-files-not-to-save is nil. Return t for true result
3564 as the doc says.
3565
3566 2014-02-22 Daniel Colascione <dancol@dancol.org>
3567
3568 * net/secrets.el (secrets-create-item, secrets-search-items):
3569 Check that attribute values are strings, avoiding the construction
3570 of invalid dbus messages.
3571
3572 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3573
3574 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3575 defun-declarations-alist.
3576
3577 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3578
3579 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3580 (bug#16829).
3581
3582 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3583
3584 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3585 (whitespace-newline, whitespace-trailing, whitespace-line)
3586 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3587 (whitespace-space-after-tab): Fix typo in docstrings.
3588
3589 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3590
3591 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3592
3593 * electric.el (electric-indent-functions-without-reindent):
3594 Add `yaml-indent-line'.
3595
3596 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3597
3598 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3599 It has done nothing for years; should be removed after the release.
3600
3601 * simple.el (choose-completion): Fix docstring typo.
3602 (read-quoted-char-radix): Remove unneeded * in docstring.
3603 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3604 Don't escape parentheses unnecessarily in docstrings.
3605
3606 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3607
3608 Fix handling of window-min-height/-width (Bug#16738).
3609 * window.el (window--dump-window, window--dump-frame):
3610 New functions.
3611 (window--min-size-1): Account for window dividers.
3612 When window-resize-pixelwise is nil, delay rounding till after the
3613 sum of the window components has been calculated.
3614 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3615 nil make sure at least one text line and two text columns remain
3616 fully visible.
3617 (window-resize): Signal an error when window-resize-apply fails.
3618 (window--resize-child-windows): Fix calculation of by how many
3619 pixels a window can still be shrunk via window-new-normal.
3620 (adjust-window-trailing-edge): Call window--resizable with
3621 correct TRAIL argument.
3622
3623 (with-temp-buffer-window): Don't evaluate BODY within
3624 with-current-buffer (Bug#16816).
3625
3626 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3627
3628 * net/tramp.el (tramp-check-cached-permissions):
3629 Call `file-attributes' with `suffix' being a symbol but a string.
3630
3631 2014-02-21 Daniel Colascione <dancol@dancol.org>
3632
3633 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3634 (dbus-init-bus): New function: call into dbus-init-bus-1
3635 and installs a handler for the disconnect signal.
3636 (dbus-call-method): Rewrite to look for result in cons.
3637 (dbus-call-method-handler): Store result in cons.
3638 (dbus-check-event): Recognize events with nil sender as valid.
3639 (dbus-handle-bus-disconnect): New function. React to bus
3640 disconnection signal by synthesizing dbus error for each
3641 pending synchronous or asynchronous call.
3642 (dbus-notice-synchronous-call-errors): New function.
3643 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3644 is true, not all the time.
3645
3646 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3647
3648 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3649 Remove obsolescence declarations, these variables do not exist anymore.
3650
3651 * savehist.el (savehist-save-minibuffer-history)
3652 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3653 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3654 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3655 mostly, refer to "Savehist mode" when talking about the mode,
3656 and not the function.
3657
3658 * saveplace.el (save-place): Remove redundant info in docstring.
3659 (save-place-forget-unreadable-files, toggle-save-place)
3660 (save-place-forget-unreadable-files, save-place-dired-hook):
3661 Fix typos and remove unneeded backslashes.
3662
3663 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3664
3665 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3666 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3667
3668 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3669 <insert-directory>: Use `tramp-handle-insert-directory'.
3670 (tramp-gvfs-handle-insert-directory): Remove function.
3671
3672 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3673 Call `tramp-handle-insert-directory'.
3674
3675 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3676
3677 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3678 before the start of buffer/region (bug#16799).
3679
3680 2014-02-20 Glenn Morris <rgm@gnu.org>
3681
3682 * isearch.el (search-invisible): Doc fix.
3683
3684 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3685
3686 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3687 (bug#16657).
3688
3689 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3690
3691 * frameset.el (frameset-restore): Delay removing an old frame's
3692 duplicate id until the new frame has been correctly created.
3693
3694 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3695
3696 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3697 (tramp-check-cached-permissions): Call `file-attributes' if the
3698 cache is empty.
3699
3700 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3701 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3702
3703 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3704 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3705 (tramp-gvfs-maybe-open-connection): Set always connection
3706 properties, even if target is mounted already.
3707
3708 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3709 Set tramp-autoload cookie.
3710 (tramp-get-remote-touch): New defun.
3711 (tramp-sh-handle-set-file-times): Use it.
3712 (tramp-sh-handle-directory-files-and-attributes):
3713 Use `tramp-handle-directory-files-and-attributes' if neither stat
3714 nor perl are available on the remote host.
3715
3716 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3717 "/". Write long listing only when "l" belongs to the switches.
3718
3719 * net/trampver.el: Update release number.
3720
3721 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3722
3723 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3724
3725 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3726
3727 * window.el (window-state-put): Allow WINDOW to refer to an
3728 internal window (Bug#16793).
3729
3730 2014-02-19 Glenn Morris <rgm@gnu.org>
3731
3732 * textmodes/remember.el: Move provide statement to end.
3733 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3734 (remember-notes): Doc fixes.
3735
3736 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3737
3738 * delsel.el (delete-char): Restore incorrectly erased property
3739 (bug#16795).
3740
3741 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3742
3743 * frameset.el (frameset--restore-frame): When a frame is being reused
3744 and its root window is not alive, delete all the frame's windows before
3745 restoring the window state. This works around the issue in bug#16793.
3746
3747 2014-02-18 Glenn Morris <rgm@gnu.org>
3748
3749 * textmodes/remember.el (remember-data-directory)
3750 (remember-directory-file-name-format, remember-store-in-files)
3751 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3752 (remember-notes-save-and-bury-buffer)
3753 (remember-notes--kill-buffer-query): Doc fixes.
3754
3755 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3756
3757 2014-02-17 Alan Mackenzie <acm@muc.de>
3758
3759 Connect electric-indent-mode up with CC Mode. Bug #15478.
3760 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3761 to electric-indent-{,local-}-mode.
3762 (c-basic-common-init): Set electric-indent-inhibit.
3763 Initialise c-electric-flag from electric-indent-mode.
3764 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3765 New hook functions which propagate electric-indent-mode to CC mode.
3766
3767 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3768 hit, toggle electric-indent-local-mode.
3769
3770 * electric.el (electric-indent-mode-has-been-called):
3771 New variable.
3772
3773 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3774
3775 * frameset.el (frameset-cfg-id): New function.
3776 (frameset--reuse-frame, frameset-restore): Use it.
3777 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3778
3779 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3780
3781 * ido.el (ido-file-internal): Remove unused var `d'.
3782 Use \` for to match BoS. Fit within 80n columns.
3783
3784 2014-02-17 Daniel Colascione <dancol@dancol.org>
3785
3786 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3787 dbus-call-method check for completion using a busy-wait loop with
3788 gradual backoff.
3789
3790 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3791
3792 Sync with Tramp 2.2.9.
3793
3794 * net/trampver.el: Update release number.
3795
3796 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3797
3798 * ido.el (ido-file-internal): Don't add the name of an existing
3799 directory twice. (Bug#16747)
3800
3801 2014-02-16 Glenn Morris <rgm@gnu.org>
3802
3803 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3804 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3805
3806 2014-02-15 Michael R. Mauger <michael@mauger.com>
3807
3808 * progmodes/sql.el: Version 3.4
3809 (sql-oracle-options): New default value ("-L").
3810 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3811 (sql-placeholders-filter): Correct placeholder pattern.
3812 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3813 (sql-login-delay): New variable.
3814 (sql-product-interactive): Use it.
3815
3816 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3817
3818 * frameset.el (frameset--jump-to-register): Check that buffer is live
3819 (bug#16749).
3820
3821 2014-02-15 Glenn Morris <rgm@gnu.org>
3822
3823 * info.el (info-initialize): Revert 2014-01-10 change.
3824
3825 2014-02-14 Glenn Morris <rgm@gnu.org>
3826
3827 * replace.el (map-query-replace-regexp)
3828 (read-regexp-defaults-function, read-regexp): Doc fixes.
3829
3830 * dired.el (dired-read-regexp):
3831 * faces.el (list-faces-display):
3832 * misearch.el (multi-isearch-read-matching-buffers)
3833 (multi-isearch-read-matching-files):
3834 * play/cookie1.el (cookie-apropos):
3835 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3836
3837 * textmodes/remember.el (remember): Use frameset-to-register
3838 rather than frame-configuration-to-register.
3839
3840 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3841
3842 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3843 incorrect keybinding.
3844
3845 2014-02-13 Daniel Colascione <dancol@dancol.org>
3846
3847 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3848 when adding overlays so that line numbers from compiler match line
3849 numbers we use.
3850
3851 2014-02-13 Glenn Morris <rgm@gnu.org>
3852
3853 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3854
3855 * jit-lock.el (jit-lock-mode): Doc fix.
3856
3857 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3858
3859 * apropos.el (apropos-read-pattern): When the user passes an empty
3860 string, give a more helpful error message than "Wrong type
3861 argument: stringp, nil".
3862
3863 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3864
3865 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3866
3867 2014-02-13 Glenn Morris <rgm@gnu.org>
3868
3869 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3870
3871 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3872
3873 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3874 shift-select commands.
3875
3876 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3877
3878 * progmodes/js.el (js-indent-line): Don't widen.
3879 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3880
3881 2014-02-12 Glenn Morris <rgm@gnu.org>
3882
3883 * icomplete.el (icomplete): Add info-link to defgroup.
3884 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3885 (icomplete-minibuffer-map, icomplete-mode)
3886 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3887
3888 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3889 (package-menu-filter): Rename from package-menu-filter-interactive.
3890 Doc fix.
3891
3892 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3893
3894 * frameset.el (frameset--jump-to-register): Select the required
3895 window and buffer before restoring position (bug#16696).
3896
3897 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3898
3899 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3900
3901 2014-02-10 Glenn Morris <rgm@gnu.org>
3902
3903 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3904
3905 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3906
3907 * w32-common-fns.el (x-get-selection): Doc fix.
3908 * select.el (x-get-selection): Doc fix. (Bug#15109)
3909
3910 * face-remap.el (face-remap-add-relative)
3911 (face-remap-remove-relative, face-remap-reset-base)
3912 (face-remap-set-base): Call force-mode-line-update to redisplay
3913 the current buffer due to potential change in faces. (Bug#16709)
3914
3915 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3916
3917 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3918 script more robustly.
3919
3920 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3921
3922 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3923
3924 * simple.el (choose-completion): Doc fix (bug#14160).
3925
3926 * subr.el (event-start): Say what a nil EVENT value means.
3927
3928 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3929 (bug#14197).
3930
3931 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3932
3933 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3934
3935 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3936
3937 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3938 predicate function (bug#15455).
3939
3940 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3941
3942 * ielm.el (inferior-emacs-lisp-mode): Instead of
3943 `comment-use-global-state', set `comment-use-syntax'.
3944
3945 2014-02-10 Glenn Morris <rgm@gnu.org>
3946
3947 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3948
3949 2014-02-09 Alan Mackenzie <acm@muc.de>
3950
3951 Fix c-invalidate-state-cache on narrowed buffers.
3952 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3953 Widen when setting and clearing the CPP delimiter properties.
3954
3955 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3956
3957 * help.el (describe-bindings): Doc fix (bug#9888).
3958
3959 * files.el (save-buffer): Use ARG as the parameter name for
3960 consistency (bug#10346).
3961 (save-buffer): Clarify the 0 argument (bug#10346).
3962
3963 * cus-edit.el (customize-apropos): Fix error string.
3964 (custom-buffer-create): Doc fix (bug#11122).
3965 (custom-sort-items): Doc fix (bug#11121).
3966
3967 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3968
3969 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3970 (icomplete-simple-completing-p): Mention the previous variable.
3971
3972 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3973 meaning of the parameter (bug#12282).
3974
3975 * files.el (find-file-noselect): Clarify prompt when changing
3976 readedness (bug#13261).
3977 (locate-file): Suffixes aren't returned, so don't say that they
3978 are (bug#12674).
3979 (backup-inhibited): Doc clarification (bug#12525).
3980
3981 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3982 before we actually start to delete things (bug#16331).
3983
3984 * subr.el (event-start): Doc fix (bug#14228).
3985 (event-end): Ditto.
3986
3987 2014-02-09 Glenn Morris <rgm@gnu.org>
3988
3989 * emacs-lisp/warnings.el (lwarn):
3990 Empower help-enable-auto-load. (Bug#15940)
3991
3992 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3993
3994 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3995 (Bug#16690)
3996
3997 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3998
3999 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4000 Insert output at end of buffer. (Bug#16120)
4001
4002 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4003
4004 * simple.el (choose-completion-string-functions): Document new
4005 calling convention (bug#14153).
4006 (execute-extended-command): Clarify doc string (bug#13373).
4007
4008 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
4009
4010 * find-dired.el (find-name-dired): Doc fix (bug#14290).
4011 (find-grep-dired): Doc fix (bug#14288).
4012
4013 2014-02-08 Juri Linkov <juri@jurta.org>
4014
4015 * isearch.el (isearch-quote-char): Check character validity
4016 like in `quoted-insert' (bug#16677).
4017
4018 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4019
4020 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
4021
4022 * isearch.el (isearch-hide-immediately): Doc clarification
4023 (bug#14723).
4024
4025 * simple.el (line-move): Document utility function used many
4026 places in the Emacs sources (bug#14843).
4027
4028 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
4029 (dired-prev-marked-file): Doc fix (bug#14855).
4030 (dired-up-directory): Doc fix (bug#14848).
4031
4032 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
4033
4034 * files.el (file-relative-name): Doc fix (bug#15159).
4035
4036 * fringe.el (fringe-styles): Doc fix (bug#15239).
4037
4038 * isearch.el (isearch-filter-predicate): Documentation typo fix
4039 (bug#15474).
4040
4041 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
4042
4043 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
4044
4045 * replace.el (replace-match-maybe-edit): Doc clarification
4046 (bug#15632).
4047
4048 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
4049
4050 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
4051
4052 2014-02-08 Glenn Morris <rgm@gnu.org>
4053
4054 * help-fns.el (describe-variable):
4055 Check {file,dir}-local-variables-alist, and buffer-file-name,
4056 in the correct buffer.
4057
4058 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
4059
4060 * help-fns.el (describe-variable): Fix the case where
4061 a value is directory-local with no dir-locals file. (Bug#16635)
4062
4063 2014-02-08 Glenn Morris <rgm@gnu.org>
4064
4065 * abbrev.el (edit-abbrevs-mode):
4066 Derive from fundamental-mode. (Bug#16682)
4067
4068 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
4069
4070 * simple.el (quoted-insert): Check character validity (bug#16677).
4071
4072 2014-02-07 Juri Linkov <juri@jurta.org>
4073
4074 * desktop.el (desktop-read): Claim the lock when the owner is not
4075 the current process. (Bug#16157)
4076
4077 2014-02-07 Juri Linkov <juri@jurta.org>
4078
4079 * desktop.el (desktop-buffers-not-to-save): Change default from nil
4080 to "\\` ". (Bug#16651)
4081
4082 2014-02-07 Juri Linkov <juri@jurta.org>
4083
4084 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
4085 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
4086 (desktop-auto-save-cancel-timer): New function with some code from
4087 `desktop-auto-save-set-timer'.
4088 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
4089 Instead of setting `desktop-save-mode' to nil, call
4090 `desktop-save-mode' with arg 0. (Bug#16630)
4091
4092 2014-02-07 Glenn Morris <rgm@gnu.org>
4093
4094 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
4095 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
4096 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
4097
4098 * obsolete/iswitchb.el: Move to obsolete/.
4099 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
4100 since obsolete/ is not scanned for autoloads.
4101 * emacs-lisp/authors.el (authors-valid-file-names):
4102 Add iswitchb.el.
4103
4104 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
4105 Disable now non-functional find-file-hook.
4106
4107 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
4108
4109 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
4110 instead of ";" in order to avoid additional prompts. Let heredoc
4111 scripts read from tty. (Bug#16582)
4112 (tramp-send-command): No special handling of heredocs, it isn't
4113 necessary anymore.
4114
4115 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
4116
4117 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
4118 with a space (bug#16664). Limit the symbols considered to the ones
4119 that are bound or fbound (bug#16646).
4120
4121 2014-02-06 Glenn Morris <rgm@gnu.org>
4122
4123 * epa.el (epa-mail-aliases): Doc fix.
4124
4125 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
4126
4127 * emacs-lisp/lisp.el (lisp-completion-at-point):
4128 Use `completion-table-merge' instead of `completion-table-in-turn'
4129 (bug#16604).
4130
4131 * minibuffer.el (completion-table-merge): New function.
4132
4133 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
4134
4135 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
4136 (tramp-sh-handle-set-file-acl)
4137 (tramp-sh-handle-start-file-process)
4138 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
4139 (tramp-find-executable, tramp-send-command): Use it.
4140
4141 2014-02-05 Glenn Morris <rgm@gnu.org>
4142
4143 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
4144
4145 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
4146
4147 * progmodes/python.el (python-shell-send-string)
4148 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
4149
4150 2014-02-04 Anders Lindgren <andlind@gmail.com>
4151
4152 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
4153 the names (bug#16620).
4154
4155 2014-02-03 Martin Rudalics <rudalics@gmx.at>
4156
4157 * faces.el (window-divider): New default value. Rewrite doc-string.
4158 (window-divider-first-pixel, window-divider-last-pixel): New faces.
4159
4160 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
4161
4162 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
4163 `protected' and `public' can also be called without arguments.
4164
4165 2014-02-03 Glenn Morris <rgm@gnu.org>
4166
4167 * register.el (window-configuration-to-register)
4168 (frame-configuration-to-register): Unadvertise unused argument.
4169 * frameset.el (frameset-to-register): Remove unused argument.
4170
4171 * frameset.el (frameset-to-register):
4172 * kmacro.el (kmacro-to-register):
4173 * register.el (increment-register):
4174 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
4175 (calc-append-to-register, calc-prepend-to-register):
4176 * play/gametree.el (gametree-layout-to-register)
4177 (gametree-apply-register-layout):
4178 * textmodes/picture.el (picture-clear-rectangle-to-register)
4179 (picture-yank-rectangle-from-register):
4180 * vc/emerge.el (emerge-combine-versions-register):
4181 Use register-read-with-preview to read registers.
4182
4183 2014-02-03 João Távora <joaotavora@gmail.com>
4184
4185 * elec-pair.el (electric-pair-backward-delete-char): Don't error
4186 when at beginning of (possibly narrowed) buffer.
4187
4188 2014-02-02 Daniel Colascione <dancol@dancol.org>
4189
4190 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
4191 Also try to display local help from just before point.
4192
4193 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
4194
4195 c-parse-state. Don't "append-lower-brace-pair" in certain
4196 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
4197 recognised as a comment.
4198
4199 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
4200 as well as normal comment starter.
4201 (c-parse-state-get-strategy): Extra return possibility
4202 'back-and-forward.
4203 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
4204 return value list to indicate replacement of a brace-pair cons
4205 with its car.
4206 (c-parse-state-1): With 'back-and-forward, only call
4207 c-append-lower-brace-pair-to state-cache when cons-separated.
4208
4209 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
4210
4211 * term/ns-win.el (ns-suspend-error): New function.
4212 (ns-initialize-window-system): Add ns-suspend-error to
4213 suspend-hook (Bug#16612).
4214
4215 2014-02-02 Daniel Colascione <dancol@dancol.org>
4216
4217 * progmodes/cc-defs.el (c-find-assignment-for-mode):
4218 Make loading cc-mode silent.
4219
4220 2014-02-02 Daniel Colascione <dancol@dancol.org>
4221
4222 * comint.el (comint-prompt-read-only): Change doc to suggest
4223 remap keybinding.
4224
4225 2014-02-02 Glenn Morris <rgm@gnu.org>
4226
4227 * register.el (register-read-with-preview, point-to-register)
4228 (window-configuration-to-register, frame-configuration-to-register)
4229 (jump-to-register, number-to-register, view-register, insert-register)
4230 (copy-to-register, append-to-register, prepend-to-register)
4231 (copy-rectangle-to-register): Doc fixes.
4232
4233 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4234
4235 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
4236 * emacs-lisp/find-func.el (find-function-C-source): Idem.
4237 * emacs-lisp/nadvice.el (advice--cd*r): New function.
4238 * help-fns.el (describe-function-1): Use it.
4239
4240 2014-02-02 Glenn Morris <rgm@gnu.org>
4241
4242 * register.el (register-preview-default): New function,
4243 split from register-preview.
4244 (register-preview-function): Rename from register-preview-functions,
4245 make it not a hook.
4246 (register-preview): Use register-preview-function.
4247 (register-read-with-preview): Error on non-character event. (Bug#16595)
4248
4249 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
4250
4251 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
4252 `:' before binary operators (bug#16609). Don't check for `:'
4253 before `[' and `(', or their syntax status. A percent literal
4254 can't end with either.
4255 (ruby-font-lock-keywords): For built-ins that require arguments,
4256 check that they're followed by something that looks like argument
4257 (bug#16610).
4258
4259 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
4260
4261 * subr.el (butlast): Document what an omitted N means (bug#13437).
4262 (nbutlast): Ditto.
4263
4264 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
4265
4266 * net/shr.el (shr-generic): Make into a defsubst to make the stack
4267 depth shallower (bug#16587).
4268 (shr-tag-svg): Respect `shr-inhibit-images'.
4269 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
4270
4271 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
4272
4273 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
4274 (ruby-smie-grammar): Make "." right-associative. Make its priority
4275 lower than the ternary and all binary operators.
4276 (ruby-smie-rules): Indent "(" relative to the first non-"."
4277 parent, or the first "." parent at indentation.
4278 Use `ruby-align-chained-calls' for indentation of "." tokens.
4279 (Bug#16593)
4280
4281 2014-01-31 Juri Linkov <juri@jurta.org>
4282
4283 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
4284 from `make-hash-table'.
4285
4286 * textmodes/ispell.el (ispell-init-process): Change message format
4287 to be consistent with other messages.
4288
4289 2014-01-31 Glenn Morris <rgm@gnu.org>
4290
4291 * delsel.el (delete-selection-mode): Doc fix.
4292
4293 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
4294 (trace-function-background): Doc fixes.
4295
4296 * ido.el (ido-use-virtual-buffers): Doc fix.
4297 Reset :version, since the default value has not changed.
4298
4299 * register.el (register-preview-delay, register-read-with-preview):
4300 Doc fixes.
4301
4302 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
4303 do not mess with mail-buffer position (fixes 2009-11-03 change).
4304 * progmodes/cc-mode.el (c-submit-bug-report):
4305 Check auto-fill-mode is bound. (Bug#16592)
4306
4307 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
4308
4309 * startup.el (fancy-splash-image-file): New function,
4310 split from fancy-splash-head.
4311 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
4312 so that we are both using the same image. (Bug#16574)
4313
4314 2014-01-30 Glenn Morris <rgm@gnu.org>
4315
4316 * simple.el (eval-expression): Doc fix.
4317
4318 * hexl.el (hexl-mode-hook):
4319 * ielm.el (ielm-mode-hook):
4320 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
4321 (lisp-interaction-mode-hook):
4322 * progmodes/cfengine.el (cfengine3-documentation-function):
4323 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
4324
4325 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4326
4327 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
4328 is a symbol (bug#16584).
4329
4330 2014-01-30 Glenn Morris <rgm@gnu.org>
4331
4332 * help.el (help-for-help-internal): Add "P" to text.
4333
4334 2014-01-29 Glenn Morris <rgm@gnu.org>
4335
4336 * simple.el (just-one-space, cycle-spacing): Doc fixes.
4337
4338 2014-01-28 Martin Rudalics <rudalics@gmx.at>
4339
4340 * window.el (fit-frame-to-buffer): Fix calculations for margins and
4341 height constraints.
4342
4343 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
4344
4345 * progmodes/hideif.el: Extend to full CPP expression syntax.
4346 (hif-token-alist): Add missing tokens.
4347 (hif-token-regexp): Add support for float/octal/hex immediates.
4348 (hif-string-literal-regexp): New const.
4349 (hif-tokenize): Recognize strings and float/octal/hex immediates.
4350 (hif-exprlist): New function.
4351 (hif-parse-if-exp): Use it.
4352 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
4353 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
4354 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
4355 (hif-logxor, hif-comma): New functions.
4356
4357 2014-01-28 Glenn Morris <rgm@gnu.org>
4358
4359 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
4360
4361 * indent.el (tab-stop-list): Doc fix. Add :version.
4362
4363 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
4364 (cvs-append-to-ignore): Add compatibility alias.
4365
4366 2014-01-27 Glenn Morris <rgm@gnu.org>
4367
4368 * dired.el (dired-hide-details-mode): Don't autoload it,
4369 since it cannot be used outside Dired buffers anyway.
4370
4371 * emulation/cua-base.el (cua-mode): Doc fix.
4372
4373 * dired.el (dired-hide-details-hide-symlink-targets)
4374 (dired-hide-details-hide-information-lines)
4375 (dired-hide-details-mode): Doc fixes.
4376
4377 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
4378 * strokes.el (strokes-file): Doc fix. Bump :version.
4379 (strokes-help): Doc fix.
4380 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
4381 * emulation/viper.el (viper): Doc fix for custom group.
4382 (top-level): Remove oh-so-no-longer-relevant text about vip.
4383 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4384
4385 * ido.el (ido-save-directory-list-file):
4386 * saveplace.el (save-place-file):
4387 * calendar/timeclock.el (timeclock-file):
4388 * net/quickurl.el (quickurl-url-file):
4389 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4390 * progmodes/idlwave.el (idlwave-config-directory):
4391 * textmodes/remember.el (remember-data-file):
4392 Bump :version.
4393
4394 2014-01-26 Glenn Morris <rgm@gnu.org>
4395
4396 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4397 Doc fix. Make obsolete.
4398 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4399
4400 * sort.el (delete-duplicate-lines): Doc fix.
4401
4402 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4403
4404 * progmodes/ada-mode.el (ada):
4405 * woman.el (woman): Link to info manual and Commentary section.
4406
4407 * progmodes/flymake.el (flymake):
4408 * nxml/nxml-mode.el (nxml):
4409 * net/eww.el (eww):
4410 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4411 * htmlfontify.el (htmlfontify):
4412 * ses.el (ses):
4413 * epa.el (epa):
4414 * ido.el (ido): Link to info manual.
4415
4416 2014-01-25 Leo Liu <sdl.web@gmail.com>
4417
4418 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4419
4420 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
4421
4422 * net/shr.el (shr-tag-img): Prefer the title over the alt text
4423 (bug#16537).
4424
4425 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
4426
4427 * net/eww.el (eww-download-callback):
4428 Fix reference to eww-download-directory.
4429
4430 * emacs-lisp/bytecomp.el (byte-compile-file):
4431 Remove unused local variable `file-name'.
4432
4433 2014-01-24 Glenn Morris <rgm@gnu.org>
4434
4435 * woman.el (woman-default-faces, woman-monochrome-faces):
4436 Fix obsolescence specification.
4437
4438 * subr.el (with-demoted-errors): Doc fix.
4439
4440 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
4441
4442 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4443 (cl--macroexp-fboundp): New function.
4444 (cl--make-type-test): Use it.
4445
4446 2014-01-23 Glenn Morris <rgm@gnu.org>
4447
4448 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4449 * simple.el (eval-expression): Doc fixes.
4450
4451 2014-01-22 Glenn Morris <rgm@gnu.org>
4452
4453 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4454
4455 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
4456
4457 * emacs-lisp/package.el: Write files silently.
4458 (package-autoload-ensure-default-file, package--write-file-no-coding)
4459 (package-generate-description-file, package--download-one-archive)
4460 (package-install-from-archive): Tell `write-region' to stay quiet.
4461 (package-menu-mode, package-menu--print-info): Omit the Archive column
4462 if there's only one archive.
4463 (package-all-keywords, package--has-keyword-p): Remove dead code.
4464
4465 2014-01-22 Glenn Morris <rgm@gnu.org>
4466
4467 * version.el (emacs-bzr-version-bzr): Fix typo.
4468
4469 * version.el (emacs-repository-get-version):
4470 Check either .bzr or .git, but not both.
4471 Make the git case actually use the DIR argument, and return nil
4472 rather than the empty string.
4473 Avoid error if .git exists but the git executable is not found.
4474
4475 2014-01-22 Martin Rudalics <rudalics@gmx.at>
4476
4477 Fixes in window size functions around Bug#16430 and Bug#16470.
4478 * window.el (window-total-size, window-size): New argument ROUND.
4479 (window--min-delta-1, window-min-delta, window--max-delta-1):
4480 Be more conservative when calculating the numbers of lines or
4481 columns a window can shrink (Bug#16430).
4482 (fit-window-to-buffer): Simplify code.
4483 * term.el (term-window-width): Call window-body-width again.
4484
4485 2014-01-22 Glenn Morris <rgm@gnu.org>
4486
4487 * image.el (image-format-suffixes): Doc fix.
4488
4489 * international/quail.el (quail-define-package): Doc fix.
4490
4491 * emacs-lisp/authors.el (authors-valid-file-names)
4492 (authors-renamed-files-alist): Additions.
4493
4494 * vc/vc-git.el (vc-git-print-log): Remove --follow;
4495 reverts 2014-01-09 change. (Bug#16422)
4496
4497 * calc/calc-embed.el (thing-at-point-looking-at):
4498 * emacs-lisp/map-ynp.el (x-popup-dialog):
4499 * obsolete/lmenu.el (x-popup-dialog):
4500 * emacs-lisp/package.el (url-recreate-url):
4501 * mail/mailclient.el (clipboard-kill-ring-save):
4502 * subr.el (x-popup-dialog): Update declaration.
4503 * mail/rmail.el (rmail-mime-message-p):
4504 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4505
4506 2014-01-21 Daniel Colascione <dancol@dancol.org>
4507
4508 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4509 Correctly detect when we're inside an arithmetic expansion form
4510 containing nested parenthesis.
4511 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4512 to detect cases where we shouldn't expand "<<" to a heredoc
4513 skeleton.
4514
4515 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4516
4517 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4518 (eldoc--message-command-p): New function.
4519 (eldoc-display-message-p): Use it.
4520 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4521 message is not automatically erased for us.
4522 (eldoc-print-current-symbol-info): Erase previous message, if any.
4523
4524 2014-01-21 Tassilo Horn <tsdh@gnu.org>
4525
4526 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4527 specify it's an interactive function.
4528
4529 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4530 Fix regex used for scanning for citation keys which failed for
4531 citations with optional arguments.
4532
4533 2014-01-21 Leo Liu <sdl.web@gmail.com>
4534
4535 * simple.el (read--expression): Don't enable eldoc-mode.
4536
4537 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4538
4539 * simple.el (move-beginning-of-line): Make sure we don't move forward
4540 (bug#16497).
4541
4542 2014-01-20 Juri Linkov <juri@jurta.org>
4543
4544 * saveplace.el (toggle-save-place, save-place-to-alist)
4545 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4546 'dired-mode) before checking for dired-directory. (Bug#16477)
4547
4548 2014-01-20 Juri Linkov <juri@jurta.org>
4549
4550 * indent.el (indent-line-to): Use backward-to-indentation
4551 instead of back-to-indentation. (Bug#16461)
4552
4553 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4554
4555 Revert some of the CANNOT_DUMP fix (Bug#16494).
4556 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4557 but fixing this can wait until after the next release.
4558 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4559
4560 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
4561
4562 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4563 Use `password-word-equivalents'.
4564 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4565 to t. (Bug#5664, Bug#13124)
4566
4567 2014-01-19 Alan Mackenzie <acm@muc.de>
4568
4569 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4570 points.
4571 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4572 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4573 * progmodes/cc-mode.el (c-before-change, c-after-change)
4574 (c-font-lock-fontify-region): Bind it here.
4575
4576 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4577
4578 * term.el (term-window-width): Call window-text-width instead of
4579 window-width (Bug#16470).
4580
4581 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4582
4583 * simple.el (password-word-equivalents): Remove duplicates.
4584 Sort, to make this easier next time.
4585 Downcase. Omit ": " after "jelszó".
4586
4587 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4588
4589 * term/common-win.el (saved-region-selection): Defvar it.
4590 (x-select-text): Set saved-region-selection (Bug#16382).
4591
4592 2014-01-18 Glenn Morris <rgm@gnu.org>
4593
4594 * emacs-lisp/authors.el (authors-aliases)
4595 (authors-renamed-files-alist): Add some entries.
4596
4597 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4598
4599 * net/tramp.el (tramp-password-prompt-regexp):
4600 Use `password-word-equivalents' if available.
4601 (tramp-action-password, tramp-process-one-action)
4602 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4603
4604 2014-01-17 Chong Yidong <cyd@gnu.org>
4605
4606 * simple.el (password-word-equivalents): New defcustom.
4607 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4608 to 24.4.
4609 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4610 to t. (Bug#13124)
4611
4612 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4613
4614 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4615 (ruby-align-to-stmt-keywords): Change the default value.
4616 Use `ruby-alignable-keywords' to generate the possible customization
4617 choices.
4618 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4619 keywords, check against the value of `ruby-alignable-keywords'
4620 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4621
4622 2014-01-17 Glenn Morris <rgm@gnu.org>
4623
4624 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4625
4626 Make M-x authors return zero *Authors Errors* from current logs.
4627 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4628 (authors-ignored-files): Add some entries, remove others.
4629 (authors-ambiguous-files, authors-valid-file-names):
4630 Add some entries.
4631 (authors-renamed-files-alist): Add, remove, and adjust entries.
4632 (authors-renamed-files-regexps): Add some entries.
4633 Remove some very broad ones. Make some entries `lax'.
4634 (authors-lax-changelogs): New constant.
4635 (authors-disambiguate-file-name): Treat top-level specially.
4636 (authors-lax-changelog-p): New function.
4637 (authors-canonical-file-name): Check file as written against
4638 authors-valid-file-names. Do not special-case etc/.
4639 Handle `lax' logs and authors-renamed-files-regexps elements.
4640
4641 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4642
4643 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4644 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4645 callers.
4646
4647 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4648
4649 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4650 Assume we're already in the proper buffer.
4651 Inspired by Anders Lindgren <andlind@gmail.com>.
4652 (follow-post-command-hook): Call it from the right buffer.
4653 (follow-comint-scroll-to-bottom): Adjust call.
4654 (follow-all-followers): Use get-buffer-window-list.
4655
4656 2014-01-15 Daniel Colascione <dancol@dancol.org>
4657
4658 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4659 `buffer-file-name' in interactive-form so that we don't leave
4660 pathless file names in `file-name-history'.
4661
4662 2014-01-15 Juri Linkov <juri@jurta.org>
4663
4664 * indent.el (indent-rigidly): Set deactivate-mark to nil
4665 in transient indentation mode. (Bug#16438)
4666
4667 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4668
4669 * emacs-lisp/package.el (package-desc-keywords): New function
4670 (Bug#16222).
4671 (describe-package-1, package-all-keywords)
4672 (package--has-keyword-p): Use it.
4673
4674 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4675
4676 * simple.el (define-alternatives): When creating the
4677 COMMAND-alternatives variable, assign COMMAND as its definition
4678 name so that `describe-variable' can relocate it.
4679
4680 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4681
4682 * font-lock.el (font-lock-keywords): Fix typo in docstring
4683 (bug#16307).
4684
4685 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4686
4687 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
4688 line instead of wrongly reset `add-coment' (bug#13577).
4689
4690 2014-01-14 Daiki Ueno <ueno@gnu.org>
4691
4692 * epa-file.el (epa-file-write-region): Encode the region according
4693 to `buffer-file-format'. Problem reported at:
4694 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4695
4696 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4697
4698 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4699 so it applies in the right buffer (bug#16410).
4700
4701 2014-01-13 Daniel Colascione <dancol@dancol.org>
4702
4703 * textmodes/rst.el (rst-define-key): Provide deprecated
4704 keybindings through named functions instead of anonymous ones so
4705 that "??" doesn't appear in describe-mode output.
4706
4707 2014-01-13 Bastien Guerry <bzg@gnu.org>
4708
4709 * simple.el (define-alternatives): Call the selected command
4710 interactively. When setting `COMMAND--implementation' for the
4711 first time, tell the user how to chose another implementation.
4712 Enhance the docstring.
4713
4714 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4715
4716 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4717 (log-edit--match-first-line): New function.
4718 (log-edit-font-lock-keywords): Use it.
4719 (log-edit-mode): Make jit-lock-defer-multiline work.
4720
4721 2014-01-13 Bastien Guerry <bzg@gnu.org>
4722
4723 * rect.el (rectangle-mark-mode): When the region is not active,
4724 display a message saying that the mark as been set and that
4725 rectangle mode is in use.
4726 (rectangle--highlight-for-redisplay): Only put an overlay with a
4727 visible vertical bar when (display-graphic-p) is non-nil.
4728 This partially fixes Bug#16403.
4729
4730 2014-01-13 Juri Linkov <juri@jurta.org>
4731
4732 * info.el (Info-find-file): Go to DIR before displaying the error
4733 about a nonexistent file if no previous Info file is visited.
4734 Use `user-error' instead of `error' for "Info file %s does not exist".
4735 (Info-find-node-2): In case of a nonexistent node in unwind forms
4736 go to the Top node if there is no previous node to revert to.
4737 (Bug#16405)
4738
4739 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4740
4741 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4742 * window.el (fit-frame-to-buffer): Fix doc-string.
4743 Respect window-min-height/-width. Fit pixelwise when
4744 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4745 when avoiding that frame goes partially off-screen.
4746 (fit-window-to-buffer): Respect window-min-height/-width
4747 (Bug#14096).
4748
4749 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4750
4751 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4752 after an empty line.
4753
4754 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4755
4756 * net/shr.el (shr-render-region): Autoload.
4757
4758 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4759
4760 * net/eww.el (eww-download-directory): Rename from
4761 `eww-download-path' (Bug#16419).
4762
4763 2014-01-12 Leo Liu <sdl.web@gmail.com>
4764
4765 * dired-x.el (dired-mode-map): Fix last change.
4766
4767 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4768
4769 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4770
4771 Spelling fixes.
4772 * emacs-lisp/generic.el (generic--normalize-comments):
4773 Rename from generic--normalise-comments. All uses changed.
4774 * play/bubbles.el (bubbles--neighborhood-score)
4775 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4776 (bubbles--neighborhood-available)
4777 (bubbles--update-neighborhood-score):
4778 Rename from names with 'neighbourhood'. All uses changed.
4779
4780 2014-01-12 Leo Liu <sdl.web@gmail.com>
4781
4782 Re-implement the feature of showing eldoc info after editing.
4783 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4784 (eldoc-edit-message-commands): New function.
4785 (eldoc-print-after-edit): New variable.
4786 (eldoc-pre-command-refresh-echo-area): Emit message only by
4787 eldoc-message-commands.
4788 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4789 if eldoc-print-after-edit is set. (Bug#16346)
4790 * simple.el (read--expression): Enable eldoc-mode.
4791 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4792
4793 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4794 Eric S. Raymond <esr@thyrsus.com>
4795
4796 * version.el (emacs-repository-get-version): Enhance so the
4797 function works correctly in either a Bazaar or Git repo.
4798
4799 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4800
4801 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4802 Goes with removal of the joke manpages from /etc.
4803
4804 2014-01-10 Kenichi Handa <handa@gnu.org>
4805
4806 * mail/rmail.el (rmail-get-coding-system):
4807 Check rmail-get-coding-function before "funcall"ing it.
4808
4809 2014-01-10 Glenn Morris <rgm@gnu.org>
4810
4811 * emacs-lisp/authors.el (authors-fixed-entries):
4812 Update for files that no longer exist.
4813
4814 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4815
4816 * version.el (emacs-bzr-get-version): Restore compatibilty with
4817 24.3 (Tested).
4818
4819 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4820
4821 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4822 and Podfile.
4823
4824 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4825
4826 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4827
4828 2014-01-10 Chong Yidong <cyd@gnu.org>
4829
4830 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4831
4832 2014-01-10 Anders Lindgren <andlind@gmail.com>
4833
4834 * follow.el (follow-cache-command-list): Include right-char and
4835 left-char.
4836
4837 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4838
4839 Spelling fixes.
4840 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4841 * woman.el (woman-mark-horizontal-position):
4842 Rename from woman-mark-horizonal-position. Use changed.
4843
4844 2014-01-10 Glenn Morris <rgm@gnu.org>
4845
4846 * info.el (info-initialize): If running uninstalled, ensure our
4847 own info files are always found first, even if INFOPATH is set.
4848
4849 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4850
4851 2014-01-09 David Engster <deng@randomsample.de>
4852
4853 * emacs-lisp/eieio-custom.el:
4854 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4855 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4856 * emacs-lisp/eieio.el: Regenerate autoloads.
4857
4858 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4859
4860 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4861 following renames. (Bug#8756)
4862
4863 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4864
4865 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4866 (bug#16382).
4867 (activate-mark): Add `no-tmm' argument.
4868 (set-mark, push-mark-command): Use it instead of running
4869 activate-mark-hook by hand.
4870
4871 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4872
4873 In preparation for the move to git, sanitize out some
4874 Bazaar-specific names.
4875
4876 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4877
4878 * version.el (emacs-bzr-version): Name changed to
4879 emacs-repository-version. Obsolete-variable alias made.
4880 * loadup.el: Follow through on this name change.
4881 * mail/emacsbug.el (report-emacs-bug): Factor out any
4882 assumption about the version control system in use.
4883
4884 2014-01-08 David Engster <deng@randomsample.de>
4885
4886 * help-fns.el (help-fns-describe-function-functions):
4887 New variable to call functions for augmenting help buffers.
4888 (describe-function-1): Remove explicit calls to
4889 `help-fns--compiler-macro', `help-fns--parent-mode' and
4890 `help-fns--obsolete'. Put them in above new variable instead, and
4891 call them through `run-hook-with-args'.
4892 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4893 `eieio-describe-class'. Not meant for interactive use anymore,
4894 but to augment existing help buffers. Remove optional second
4895 argument. Create proper button for file location.
4896 Rewrite function to use `insert' instead of `princ' and `prin1' where
4897 possible.
4898 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4899 (eieio-method-def, eieio-class-def): Move further up.
4900 (describe-method, describe-generic, eieio-describe-method):
4901 Remove aliases.
4902 (eieio-help-constructor, eieio-help-generic): Rename from
4903 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4904 Rewrite to use `insert' in the current buffer and use proper help
4905 buttons.
4906 (eieio-help-find-method-definition)
4907 (eieio-help-find-class-definition): Also accept symbols as
4908 arguments.
4909 (eieio-help-mode-augmentation-maybee): Remove.
4910 (eieio-describe-class-sb): Use `describe-function'.
4911 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4912 Add `eieio-help-generic' and `eieio-help-constructor'.
4913
4914 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4915
4916 Spelling fixes.
4917 * language/china-util.el (hz-ascii-designation):
4918 Rename from hz-ascii-designnation.
4919 (hz-ascii-designation): Rename from hz-ascii-designnation.
4920 All uses changed.
4921
4922 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4923
4924 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4925 package-alist.
4926
4927 2014-01-08 Bastien Guerry <bzg@gnu.org>
4928
4929 * emacs-lisp/package.el (package-delete):
4930 Correctly delete the package from package-alist.
4931
4932 2014-01-08 Daiki Ueno <ueno@gnu.org>
4933
4934 * emacs-lisp/package.el (url-recreate-url): Declare.
4935 (url-http-target-url): Declare.
4936 (package-handle-response): Include requested URL in the error message.
4937 (package--check-signature): Don't re-signal errors from
4938 package--with-work-buffer. Suggested by Stefan Monnier.
4939
4940 2014-01-07 Bastien Guerry <bzg@gnu.org>
4941
4942 * minibuffer.el (completion--try-word-completion): When both a
4943 hyphen and a space are possible candidates for the character
4944 following a word, display both candidates. (Bug#15980)
4945
4946 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4947
4948 * window.el (balance-windows-2): While rounding don't give a
4949 window more than the remainder. Bug#16351, bug#16383.
4950
4951 2014-01-07 Glenn Morris <rgm@gnu.org>
4952
4953 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4954 (menu-bar-help-menu): Use view-external-packages instead.
4955
4956 2014-01-07 Bastien Guerry <bzg@gnu.org>
4957
4958 * emacs-lisp/package.el (package-delete): Also delete the package
4959 name from `package-alist', not its description only.
4960
4961 2014-01-07 Glenn Morris <rgm@gnu.org>
4962
4963 * help.el (view-external-packages):
4964 * menu-bar.el (menu-bar-help-extra-packages):
4965 Visit efaq.info rather than etc/MORE.STUFF.
4966
4967 2014-01-07 Juri Linkov <juri@jurta.org>
4968
4969 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4970 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4971
4972 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4973 that shadows RET. (Bug#16342)
4974
4975 2014-01-07 Chong Yidong <cyd@gnu.org>
4976
4977 * isearch.el (isearch-yank-char, isearch-yank-word)
4978 (isearch-yank-line): Doc fix.
4979
4980 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4981
4982 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4983 * emacs-lisp/elint.el (elint-find-builtins):
4984 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4985 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4986 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4987 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4988 * apropos.el (apropos-safe-documentation):
4989 * subr.el (symbol-file): Remove redundant fboundp.
4990 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4991
4992 2014-01-06 Bastien Guerry <bzg@gnu.org>
4993
4994 * hl-line.el (global-hl-line-overlay): Make a local variable.
4995 (global-hl-line-overlays): New variable to store all overlays.
4996 (global-hl-line-mode): Don't delete overlays from the current
4997 buffer when `global-hl-line-sticky-flag' is non-nil.
4998 (global-hl-line-highlight): Add new overlays to
4999 `global-hl-line-overlays'.
5000 (global-hl-line-unhighlight-all): New function to delete all
5001 overlays when turning off `global-hl-line-mode'.
5002 This fixes Bug#16183.
5003
5004 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
5005
5006 * subr.el (set-transient-map): Fix nested case and docstring.
5007
5008 2014-01-06 Tassilo Horn <tsdh@gnu.org>
5009
5010 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
5011 `Texinfo' entry.
5012
5013 2014-01-06 Daniel Colascione <dancol@dancol.org>
5014
5015 Fix defun navigation in vc log view.
5016
5017 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
5018 like `beginning-of-defun'.
5019 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
5020 log-view-end-of-defun to log-view-end-of-defun-1. Replace
5021 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
5022 (log-view-extract-comment): Call `log-view-current-entry' directly
5023 instead of relying on broken `log-view-beginning-of-defun' behavior.
5024
5025 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
5026
5027 Spelling fixes.
5028 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
5029 * emacs-lisp/debug.el (cancel-debug-on-entry):
5030 * epg.el (epg-error-to-string):
5031 * files.el (recover-file):
5032 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
5033 * mail/emacsbug.el (report-emacs-bug-hook):
5034 * mail/sendmail.el (mail-recover):
5035 * ses.el (ses-yank-resize):
5036 * term/ns-win.el (ns-print-buffer):
5037 Spelling fixes in diagnostics, mostly for "canceled" with one L.
5038 * epg.el (epg-key-capability-alist): Rename from misspelled version.
5039 All uses changed.
5040 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
5041
5042 2014-01-06 Leo Liu <sdl.web@gmail.com>
5043
5044 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
5045 to avoid shadowing global key. (Bug#16354)
5046
5047 2014-01-06 Daniel Colascione <dancol@dancol.org>
5048
5049 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
5050 rst-mode.
5051
5052 2014-01-05 Martin Rudalics <rudalics@gmx.at>
5053
5054 * window.el (balance-windows): Add mising t to fix Bug#16351.
5055
5056 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5057
5058 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
5059 (bug#16285).
5060 (shr-insert): If we have a word that's longer than `shr-width',
5061 break after it anyway. Otherwise we'll do no breaking once we get
5062 such a long word.
5063
5064 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5065
5066 * net/eww.el (eww): Support single/double quote for search.
5067 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
5068 (eww-history-quit): Delete and use quit-window.
5069 (eww-history-kill): Delete, because it doesn't work well and
5070 not necessary.
5071 (eww-history-mode-map): Delete some keys and add easy-menu.
5072
5073 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
5074
5075 Fix misspelling of 'chinese' in rx (Bug#16237).
5076 * emacs-lisp/rx.el (rx-categories): Correct spelling of
5077 chinese-two-byte.
5078
5079 Change subword regexps back to vars (Bug#16296).
5080 * progmodes/subword.el (subword-forward-regexp)
5081 (subword-backward-regexp): Change these back to variables.
5082
5083 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5084
5085 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
5086 syntax-begin-function (bug#16247).
5087
5088 2014-01-03 Chong Yidong <cyd@gnu.org>
5089
5090 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
5091 (advice--docstring): Delete variable.
5092 (advice--make-1): Leave the docstring empty.
5093 (advice-add): Use function-documentation for advised docstring.
5094
5095 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
5096 Ignore function-documentation property when getting documentation.
5097 (ad-activate-advised-definition): Use function-documentation
5098 generate the docstring.
5099 (ad-make-advised-definition): Don't call
5100 ad-make-advised-definition-docstring.
5101 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5102 Delete functions.
5103
5104 * progmodes/sql.el (sql-help): Use function-documentation instead
5105 of dynamic-docstring-function property. No need to autoload now.
5106 (sql--help-docstring): New variable.
5107 (sql--make-help-docstring): Use it.
5108
5109 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5110
5111 * ielm.el (ielm-tab): Retarget.
5112 (ielm-map): Use ielm-tab for tab.
5113 (ielm-complete-filename): Use comint-filename-completion.
5114 (ielm-complete-symbol): Remove.
5115 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
5116 remove ielm-tab from completion-at-point-functions (bug#16224).
5117
5118 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
5119 Beware signals raised by predicates (bug#16201).
5120
5121 2014-01-02 Richard Stallman <rms@gnu.org>
5122
5123 * dired-aux.el (dired-do-print): Handle printer-name.
5124
5125 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
5126 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
5127 (rmail-epa-decrypt): Turn off mime processing.
5128
5129 * mail/rmail.el (rmail-make-in-reply-to-field):
5130 Add parens in message-id.
5131
5132 * mail/rmail.el (rmail-get-coding-function): Variable.
5133 (rmail-get-coding-system): Use it.
5134
5135 2013-12-31 Eli Zaretskii <eliz@gnu.org>
5136
5137 * international/mule-conf.el: Unify the charset indian-is13194.
5138 (indian-is13194): Specify unify-map.
5139
5140 2013-12-31 Leo Liu <sdl.web@gmail.com>
5141
5142 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
5143
5144 2013-12-30 Daniel Colascione <dancol@dancol.org>
5145
5146 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
5147 of printing a useless when we resume from sleep.
5148
5149 * progmodes/sh-script.el
5150 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
5151 in indentation code. (Bug#16233)
5152
5153 2013-12-28 João Távora <joaotavora@gmail.com>
5154
5155 * elec-pair.el (electric-pair-post-self-insert-function):
5156 Don't open extra newlines at beginning of buffer. (Bug#16272)
5157
5158 2013-12-28 Eli Zaretskii <eliz@gnu.org>
5159
5160 * frame.el (window-system-for-display): Don't allow to create a
5161 GUI frame from a -nw session on MS-Windows. (Bug#14739)
5162
5163 2013-12-28 Glenn Morris <rgm@gnu.org>
5164
5165 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
5166 Update callers.
5167
5168 * apropos.el (apropos-match-face):
5169 * calculator.el (calculator-displayer):
5170 * dabbrev.el (dabbrev-search-these-buffers-only):
5171 * face-remap.el (buffer-face-mode-face):
5172 * simple.el (yank-handled-properties):
5173 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
5174 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
5175 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
5176 (hashcash-double-spend-database):
5177 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
5178 (ruby-deep-indent-paren-style):
5179 * textmodes/flyspell.el (flyspell-auto-correct-binding):
5180 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
5181 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
5182 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
5183 Specify custom types.
5184
5185 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
5186 * bookmark.el (bookmark-bmenu-use-header-line):
5187 * doc-view.el (doc-view-scale-internally):
5188 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
5189 * register.el (register-preview-delay):
5190 * net/shr.el (shr-bullet):
5191 * progmodes/cfengine.el (cfengine-cf-promises)
5192 (cfengine-parameters-indent):
5193 * progmodes/octave.el (inferior-octave-error-regexp-alist):
5194 * textmodes/reftex-vars.el (reftex-label-regexps):
5195 * vc/log-edit.el (log-edit-setup-add-author): Add version.
5196
5197 * net/tls.el (tls-certtool-program): Fix default value.
5198
5199 * desktop.el (desktop-restore-in-current-display):
5200 * newcomment.el (comment-empty-lines):
5201 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
5202 (idlwave-pad-keyword):
5203 * progmodes/tcl.el (tcl-tab-always-indent):
5204 * textmodes/reftex-vars.el (reftex-index-default-tag):
5205 * elec-pair.el (electric-pair-skip-whitespace):
5206 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
5207
5208 * emacs-lisp/authors.el (authors-ignored-files)
5209 (authors-valid-file-names, authors-renamed-files-alist): Additions.
5210
5211 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
5212
5213 * shell.el (shell-dynamic-complete-command): Doc fix.
5214 (shell--command-completion-data): Shell completion now matches
5215 executable filenames from the current buffer's directory, on
5216 systems in which this behavior is the default (windows-nt, ms-dos).
5217
5218 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5219
5220 * net/shr.el (shr-insert): Don't infloop if the width is zero.
5221
5222 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
5223
5224 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
5225 (bug#16251).
5226
5227 * electric.el: Move all electric-pair-* to elec-pair.el.
5228 * elec-pair.el: New file, split from electric.el.
5229
5230 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5231
5232 * net/shr.el (shr-find-fill-point): Don't try to fill if the
5233 indentation level is larger than the width, because that will
5234 infloop.
5235 (shr-insert): Fill repeatedly long texts, so that Japanese is
5236 formatted correctly (bug#16263).
5237 (shr-find-fill-point): Off by one error in comparison with the
5238 indentation.
5239
5240 2013-12-26 João Távora <joaotavora@gmail.com>
5241
5242 * electric.el (electric-pair-mode): More flexible engine for skip-
5243 and inhibit predicates, new options for pairing-related functionality.
5244 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
5245 if that keeps or improves their balance in buffers.
5246 (electric-pair-delete-adjacent-pairs): Delete the pair when
5247 backspacing over adjacent matched delimiters.
5248 (electric-pair-open-extra-newline): Open extra newline when
5249 inserting newlines between adjacent matched delimiters.
5250 (electric--sort-post-self-insertion-hook):
5251 Sort post-self-insert-hook according to priority values when
5252 minor-modes are activated.
5253 * simple.el (newline-and-indent): Call newline with interactive
5254 set to t.
5255 (blink-paren-post-self-insert-function): Set priority to 100.
5256 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5257 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
5258 comments. Locally set electric-pair-skip-whitespace to 'chomp and
5259 electric-pair-open-newline-between-pairs to nil.
5260
5261 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
5262
5263 * progmodes/python.el: Use lexical-binding.
5264 (python-nav-beginning-of-defun): Stop searching ASAP.
5265
5266 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
5267
5268 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
5269 Fix interactive spec. Doc fix. (Bug#15754)
5270
5271 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
5272
5273 * emacs-lisp/byte-run.el (eval-when-compile):
5274 * progmodes/cc-defs.el (cc-eval-when-compile):
5275 Fix edebug spec (bug#16184).
5276
5277 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5278
5279 * net/shr.el (shr-visit-file): Remove debugging function.
5280 (shr-insert): Don't infloop if we can't find a good place to break
5281 the line (bug#16256).
5282
5283 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
5284
5285 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
5286 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
5287 python-nav-lisp-forward-sexp-safe.
5288 (python-nav--forward-sexp): New argument SAFE allows switching
5289 forward sexp movement behavior for parens.
5290 (python-nav-forward-sexp): Throw errors on unterminated parens
5291 (Bug#16191).
5292 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
5293 (python-nav-backward-sexp-safe): New functions.
5294 (python-shell-buffer-substring):
5295 Use `python-nav-forward-sexp-safe'.
5296
5297 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5298
5299 * net/shr.el (shr-find-fill-point): Don't break lines before a
5300 quotation mark.
5301 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
5302 (shr-find-fill-point): Remove the special checks for the quotation
5303 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
5304
5305 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5306
5307 * net/eww.el (eww-form-textarea): Use a different face for
5308 textareas than text input since they have different keymaps
5309 (bug#16142).
5310
5311 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
5312
5313 * progmodes/python.el (python-nav-beginning-of-statement):
5314 Speed up (Bug#15295).
5315
5316 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5317
5318 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
5319 the window configuration.
5320
5321 2013-12-24 Eli Zaretskii <eliz@gnu.org>
5322
5323 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
5324 we run on MS-Windows or MS-DOS.
5325
5326 2013-12-24 Martin Rudalics <rudalics@gmx.at>
5327
5328 * window.el (balance-windows-area): Call window-size instead of
5329 window-height and window-width. Bug#16241.
5330
5331 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5332
5333 * net/eww.el (eww-bookmark-quit): Remove.
5334 (eww-bookmark-browse): Restore the window configuration when you
5335 choose a bookmark (bug#16144).
5336
5337 2013-12-24 Daniel Colascione <dancol@dancol.org>
5338
5339 * icomplete.el: Remove redundant :group arguments to `defcustom'
5340 throughout.
5341 (icomplete-show-matches-on-no-input): New customizable variable.
5342 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
5343 we have something to show.
5344 (icomplete-exhibit): Compute completions even if we have no user input.
5345
5346 2013-12-23 Daniel Colascione <dancol@dancol.org>
5347
5348 * icomplete.el: Move `provide' to end of file.
5349
5350 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
5351
5352 * net/gnutls.el (gnutls-verify-error): Add version tag.
5353
5354 2013-12-23 Chong Yidong <cyd@gnu.org>
5355
5356 * subr.el (set-transient-map): Rename from
5357 set-temporary-overlay-map. Doc fix.
5358
5359 * face-remap.el (text-scale-adjust):
5360 * indent.el (indent-rigidly):
5361 * kmacro.el (kmacro-call-macro):
5362 * minibuffer.el (minibuffer-force-complete):
5363 * repeat.el (repeat):
5364 * simple.el (universal-argument--mode):
5365 * calendar/todo-mode.el (todo-insert-item--next-param):
5366 * progmodes/f90.el (f90-abbrev-start): Callers changed.
5367
5368 * indent.el (indent-rigidly): Use substitute-command-keys.
5369
5370 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5371
5372 * net/eww.el (eww-tag-select): Add text-property to jump to next
5373 select field.
5374 (eww): Add non-supported ftp error.
5375
5376 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5377
5378 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
5379 comments. Handle electric indent after typing `?' and `!'.
5380
5381 2013-12-22 Chong Yidong <cyd@gnu.org>
5382
5383 * faces.el (face-spec-recalc): If the theme specs are not
5384 applicable to a frame, fall back on the defface spec.
5385 This prevents themes from obliterating faces on low-color terminals.
5386
5387 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5388
5389 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5390 after `{'. We need it after block openers, and it doesn't seem
5391 to hurt after hash openers.
5392
5393 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5394
5395 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5396 extracted from `ruby-smie-rules'.
5397 (ruby--electric-indent-chars): New variable.
5398 (ruby--electric-indent-p): New function.
5399 (ruby-mode): Use `electric-indent-functions' instead of
5400 `electric-indent-chars'.
5401
5402 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5403
5404 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5405 docstring.
5406 (ruby-smie-rules): Indent plus one level after `=>'.
5407
5408 2013-12-21 Richard Stallman <rms@gnu.org>
5409
5410 * simple.el (newline): Doc fix.
5411
5412 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5413
5414 * net/eww.el (eww-list-histories, eww-list-histories)
5415 (eww-history-browse, eww-history-quit, eww-history-kill)
5416 (eww-history-mode-map, eww-history-mode): New command and
5417 functions to list browser histories.
5418 (eww-form-text): Support text form with disabled
5419 and readonly attributes.
5420 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5421
5422 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5423
5424 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5425 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5426 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5427 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5428 Use `user-error'.
5429 (eww-bookmark-mode-map): Add menu.
5430 (eww-render, eww-mode): Use `setq-local'.
5431 (eww-tool-bar-map): New variable.
5432 (eww-mode): Set `tool-bar-map'.
5433 (eww-view-source): Check for `html-mode' with `fboundp'.
5434
5435 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5436
5437 * net/shr.el (shr--extract-best-source): Don't bug out on audio
5438 elements with text inside. Also remove debugging.
5439
5440 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
5441
5442 * cus-start.el (all): Add ns-use-srgb-colorspace.
5443
5444 2013-12-21 Chong Yidong <cyd@gnu.org>
5445
5446 * custom.el (custom-theme-recalc-face): Do nothing if the face is
5447 undefined. Thus, theme settings for undefined faces do not take
5448 effect until the faces are defined with defface, the same as with
5449 theme variables.
5450
5451 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5452 (face-spec-reset-face): Don't assign extra properties in temacs.
5453 (face-spec-recalc): Apply X resources too.
5454
5455 2013-12-21 Chong Yidong <cyd@gnu.org>
5456
5457 * faces.el (face-spec-set):
5458 * cus-face.el (custom-theme-set-faces, custom-set-faces):
5459 * custom.el (defface): Doc fixes (Bug#16203).
5460
5461 * indent.el (indent-rigidly-map): Add docstring, and move commands
5462 into named functions.
5463 (indent-rigidly-left, indent-rigidly-right)
5464 (indent-rigidly-left-to-tab-stop)
5465 (indent-rigidly-right-to-tab-stop): New functions. Decide on
5466 indentation direction based on bidi direction, and accumulate
5467 sequential commands in a single undo boundary.
5468 (indent-rigidly--pop-undo): New utility function.
5469
5470 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
5471
5472 * faces.el (read-face-name): Require crm.el when using crm-separator.
5473
5474 2013-12-20 Daniel Colascione <dancol@dancol.org>
5475
5476 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5477 so that we don't reflow comments into the shebang line.
5478
5479 2013-12-20 Juri Linkov <juri@jurta.org>
5480
5481 * saveplace.el (save-place-to-alist): Add `dired-filename' as
5482 a position when `dired-directory' is non-nil. Check integer
5483 positions with `integerp'.
5484 (toggle-save-place, save-places-to-alist): Add check for
5485 `dired-directory'.
5486 (save-place-find-file-hook): Check integer positions with
5487 `integerp'.
5488 (save-place-dired-hook): Use `dired-goto-file' when
5489 `dired-filename' is found in the assoc list. Check integer
5490 positions with `integerp'.
5491 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5492
5493 * dired.el (dired-initial-position-hook): Rename back from
5494 `dired-initial-point-hook'.
5495 (dired-initial-position): Rename `dired-initial-point-hook' to
5496 `dired-initial-position-hook'.
5497 (dired-file-name-at-point): Doc fix. (Bug#15329)
5498
5499 2013-12-20 Juri Linkov <juri@jurta.org>
5500
5501 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5502 (read-regexp-suggestions): New function.
5503 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5504 Use `read-regexp-suggestions'. Add non-empty default to history
5505 for empty input.
5506 (occur-read-regexp-defaults-function): Remove function.
5507 (occur-read-primary-args): Use `regexp-history-last' instead of
5508 `occur-read-regexp-defaults-function'.
5509
5510 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5511 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5512 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5513 `hi-lock-read-regexp-defaults-function'. Doc fix.
5514 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5515 with `find-tag-default-as-symbol-regexp'. Doc fix.
5516 (hi-lock-read-regexp-defaults): Remove function.
5517 (hi-lock-regexp-okay): Add check for null.
5518
5519 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5520 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5521
5522 * subr.el (find-tag-default-as-symbol-regexp): New function.
5523 (find-tag-default-as-regexp): Move symbol regexp formatting to
5524 `find-tag-default-as-symbol-regexp'.
5525
5526 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5527
5528 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5529 (Bug#14179)
5530
5531 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5532
5533 * calendar/todo-mode.el: New implementation of item insertion
5534 commands and key bindings.
5535 (todo-key-prompt): New face.
5536 (todo-insert-item): New command.
5537 (todo-insert-item--parameters): New defconst, replacing defvar
5538 todo-insertion-commands-args-genlist.
5539 (todo-insert-item--param-key-alist): New defconst, replacing
5540 defvar todo-insertion-commands-arg-key-list.
5541 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5542 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5543 (todo-insert-item--next-param): New functions.
5544 (todo-insert-item--args, todo-insert-item--argleft)
5545 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5546 New variables.
5547 (todo-key-bindings-t): Change binding of "i" from
5548 todo-insertion-map to todo-insert-item.
5549 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5550 (todo-insertion-command-name, todo-insertion-commands-names)
5551 (todo-define-insertion-command, todo-insertion-commands)
5552 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5553
5554 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5555
5556 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5557 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5558 eval-when-compile.
5559 (todo-move-category): Allow choosing a non-existing todo file to
5560 move the category to, and create that file.
5561 (todo-default-priority): New user option.
5562 (todo-set-item-priority): Use it.
5563 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5564 (desktop-restore-file-buffer): Declare.
5565 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5566 (todo-modes-set-2): Locally set desktop-save-buffer to
5567 todo-desktop-save-buffer.
5568 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5569 (auto-mode-alist): Add autoload cookie.
5570
5571 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5572
5573 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5574 helpers.el was a poor choice of name.
5575 (string-remove-prefix): New function.
5576 (string-remove-suffix): New function.
5577
5578 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5579
5580 Fix assignment for new window total sizes.
5581 * window.el (window--pixel-to-size): Remove function.
5582 (window--pixel-to-total-1, window--pixel-to-total):
5583 Fix calculation of new total sizes.
5584
5585 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5586
5587 * comint.el (comint-output-filter): Fix rear-nonsticky property
5588 placement (Bug#16010).
5589
5590 2013-12-20 Chong Yidong <cyd@gnu.org>
5591
5592 * faces.el (read-color): Minor fix for completion function.
5593
5594 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5595
5596 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5597 New option. (Bug#16182)
5598 (ruby-smie--indent-to-stmt-p): Use it.
5599 (ruby-smie-rules): Revert the logic in the handling of `when'.
5600 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5601 (ruby-deep-arglist, ruby-deep-indent-paren)
5602 (ruby-deep-indent-paren-style): Update docstrings to note that the
5603 vars don't have any effect with SMIE.
5604
5605 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5606
5607 * calc/calc.el (calc-enter, calc-pop): Use the variable
5608 `calc-context-sensitive-enter'.
5609
5610 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5611
5612 * net/shr.el (shr-insert): Protect against infloops in degenerate
5613 tables.
5614
5615 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5616
5617 * progmodes/octave.el (octave): Add link to manual and octave
5618 homepage.
5619 (octave-mode-menu): Link to octave-mode manual.
5620
5621 2013-12-20 Leo Liu <sdl.web@gmail.com>
5622
5623 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5624 insertion using skeleton-end-newline. (Bug#16138)
5625
5626 2013-12-20 Juri Linkov <juri@jurta.org>
5627
5628 * replace.el (occur-engine): Use `add-face-text-property'
5629 to add the face property to matches and titles. (Bug#14645)
5630
5631 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5632 the palette of other hi-lock colors.
5633 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5634
5635 2013-12-19 Juri Linkov <juri@jurta.org>
5636
5637 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5638 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5639 (minibuffer-history-symbol): Move variable declaration closer to
5640 its usage.
5641
5642 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5643 (Bug#14785)
5644
5645 2013-12-19 Juri Linkov <juri@jurta.org>
5646
5647 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5648 New function.
5649 (log-edit-hook): Add it to :options. (Bug#16170)
5650
5651 2013-12-19 Juri Linkov <juri@jurta.org>
5652
5653 * simple.el (eval-expression-print-format): Don't check for
5654 command names and the last command. Always display additional
5655 formats of the integer result in the echo area, and insert them
5656 to the current buffer only with a zero prefix arg.
5657 Display character when char-displayable-p is non-nil.
5658 (eval-expression): With a zero prefix arg, set `print-length' and
5659 `print-level' to nil, and insert the integer values from
5660 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5661
5662 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5663 `eval-last-sexp-arg-internal'. Doc fix.
5664 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5665 `eval-last-sexp-print-value'. Doc fix.
5666 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5667 Set `print-length' and `print-level' to nil when arg is zero.
5668 (eval-last-sexp): Doc fix.
5669 (eval-defun-2): Print the integer values from
5670 `eval-expression-print-format' at the end.
5671
5672 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5673 values from `eval-expression-print-format' at the end.
5674
5675 * ielm.el (ielm-eval-input): Print the integer
5676 values from `eval-expression-print-format' at the end.
5677
5678 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5679
5680 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5681 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5682
5683 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5684
5685 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5686 (hl-line-highlight, global-hl-line-highlight): Use it.
5687 (hl-line-overlay): Use defvar-local.
5688
5689 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5690
5691 * term/ns-win.el: Require dnd.
5692 (global-map): Remove drag items.
5693 (ns-insert-text, ns-set-foreground-at-mouse)
5694 (ns-set-background-at-mouse):
5695 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5696 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5697 New functions.
5698
5699 2013-12-19 Glenn Morris <rgm@gnu.org>
5700
5701 * emacs-lisp/ert.el (ert-select-tests):
5702 Fix string/symbol mixup. (Bug#16121)
5703
5704 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5705
5706 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5707 keywords to their parent.
5708
5709 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5710
5711 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5712 first arg to be a string (fixed dead code), or an operator symbol.
5713 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5714 operator symbols.
5715 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5716 did nothing. Don't respond to `(:after ".")', it will be called
5717 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5718 change anything. Only return indentation for binary operators
5719 when they are hanging. De-dent opening paren when its parent is
5720 `.', otherwise it looks bad when the dot is not at bol or eol
5721 (bug#16182).
5722
5723 2013-12-19 Juri Linkov <juri@jurta.org>
5724
5725 * replace.el (query-replace-read-args): Split a non-negative arg
5726 and a negative arg into separate elements.
5727 (query-replace, query-replace-regexp, replace-string)
5728 (replace-regexp): Add arg `backward'. Doc fix.
5729 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5730 move point to the beginning of the match.
5731 (replace-search, replace-highlight): Use new arg `backward'
5732 to set the value of `isearch-forward'.
5733 (perform-replace): Add arg `backward' and use it to perform
5734 replacement backward. (Bug#14979)
5735
5736 * isearch.el (isearch-query-replace): Use a negative prefix arg
5737 to call `perform-replace' with a non-nil arg `backward'.
5738
5739 2013-12-18 Juri Linkov <juri@jurta.org>
5740
5741 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5742 to the default list. Move `log-edit-show-files' to the end.
5743 Add more available functions to options.
5744 (log-edit): Move default specific settings to
5745 `log-edit-insert-message-template'. Don't move point.
5746 (log-edit-insert-message-template): New function.
5747 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5748 (Bug#16170)
5749
5750 2013-12-18 Juri Linkov <juri@jurta.org>
5751
5752 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5753 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5754
5755 2013-12-18 Leo Liu <sdl.web@gmail.com>
5756
5757 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5758 (Bug#16186)
5759
5760 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5761
5762 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5763 formats for displaying file sizes when the -s switch is given.
5764 Instead, compute a separate format for displaying the size in
5765 blocks, which is displayed in addition to the "regular" size.
5766 When -h is given in addition to -s, produce size in blocks in
5767 human-readable form as well. (Bug#16179)
5768
5769 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5770
5771 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5772 Reference tables with ~\ref{...} instead of only \ref{...}.
5773
5774 2013-12-18 Chong Yidong <cyd@gnu.org>
5775
5776 * cus-edit.el (custom-magic-alist): Fix "themed" description
5777 (Bug#14348).
5778
5779 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5780 is non-nil, do not create a new entry in the symbol's theme-value
5781 or theme-face property; update theme-settings only (Bug#14664).
5782 (custom-available-themes): Doc fix.
5783
5784 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5785 (Bug#15674).
5786
5787 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5788
5789 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5790
5791 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5792 (Bug#13914).
5793
5794 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5795
5796 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5797
5798 2013-12-18 Glenn Morris <rgm@gnu.org>
5799
5800 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5801 * cus-start.el (load-prefer-newer): New option.
5802
5803 2013-12-18 Le Wang <l26wang@gmail.com>
5804
5805 * comint.el (comint-previous-matching-input-from-input):
5806 Retain point (Bug#13404).
5807
5808 2013-12-18 Chong Yidong <cyd@gnu.org>
5809
5810 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5811
5812 2013-12-18 Glenn Morris <rgm@gnu.org>
5813
5814 * mail/emacsbug.el (report-emacs-bug):
5815 Only mention enable-multibyte-characters if non-standard.
5816
5817 2013-12-17 Juri Linkov <juri@jurta.org>
5818
5819 * arc-mode.el (archive-extract-by-file): Check if directory exists
5820 before deletion to not show irrelevant errors if it doesn't exist.
5821
5822 2013-12-17 Juri Linkov <juri@jurta.org>
5823
5824 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5825 (Bug#14751)
5826
5827 * net/eww.el (browse-web): Add alias to `eww'.
5828 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5829 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5830
5831 * net/browse-url.el (browse-url-browser-function): Move `eww'
5832 closer to similar functions.
5833
5834 * startup.el (fancy-startup-screen, fancy-about-screen):
5835 Set browse-url-browser-function to eww-browse-url locally.
5836 (Bug#14751)
5837
5838 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5839
5840 * window.el (window--pixel-to-total): Remove unused `mini' var.
5841 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5842 (split-window): Remove unused `new' var.
5843 (window--display-buffer): Remove unused `frame' and `delta' vars.
5844 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5845 and display-width'.
5846
5847 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5848
5849 * dired.el (dired-mark-pop-up):
5850 * register.el (register-preview): Don't bind
5851 split-height-threshold here since it's now done in
5852 display-buffer-below-selected.
5853
5854 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5855
5856 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5857 xterm-rgb-convert-to-16bit.
5858 (rxvt-register-default-colors): Standardize with
5859 xterm-register-default-colors (Bug#14078).
5860
5861 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5862
5863 * simple.el (kill-region): Pass mark first, then point, so that
5864 kill-append works right (Bug#12819).
5865 (copy-region-as-kill, kill-ring-save): Likewise.
5866
5867 2013-12-17 Leo Liu <sdl.web@gmail.com>
5868
5869 * net/rcirc.el (rcirc-add-face):
5870 * eshell/em-prompt.el (eshell-emit-prompt):
5871 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5872 (Bug#16167)
5873
5874 2013-12-17 Chong Yidong <cyd@gnu.org>
5875
5876 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5877 Suggested by Xue Fuqiao.
5878
5879 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5880
5881 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5882
5883 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5884
5885 * net/shr.el (shr-insert-document): Remove unused var
5886 `shr-preliminary-table-render'.
5887 (shr-rescale-image): Remove unused arg `force'.
5888 (shr-put-image): Update calls accordingly.
5889 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5890
5891 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5892
5893 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5894 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5895 :close-all, to see which indentation method to use (Bug#16116).
5896 (smie-rules-function): Document the method :close-all.
5897
5898 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5899
5900 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5901
5902 * net/eww.el (eww-display-html): If we can't find the anchor we're
5903 looking for, then go to point-min.
5904
5905 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5906
5907 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5908 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5909 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5910 Expand dir too, in case it's relative.
5911
5912 2013-12-16 Juri Linkov <juri@jurta.org>
5913
5914 * desktop.el (desktop-auto-save-timeout): Change default to
5915 `auto-save-timeout'. Doc fix.
5916 (desktop-save): Skip the timestamp in desktop-saved-frameset
5917 when checking for auto-save changes.
5918 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5919 `desktop-auto-save' is called repeatedly by the idle timer.
5920 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5921 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5922 (Bug#15331)
5923
5924 2013-12-16 Juri Linkov <juri@jurta.org>
5925
5926 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5927 (Bug#16035)
5928 (isearch-pre-command-hook): Check `this-command' for symbolp.
5929
5930 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5931
5932 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5933
5934 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5935
5936 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5937 (cfengine3--current-function): Bring in the current-function
5938 functionality from `cfengine3--current-word'.
5939 (cfengine3-completion-function): Bring in the
5940 bounds-of-current-word functionality from
5941 `cfengine3--current-word'.
5942
5943 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5944
5945 * window.el (display-buffer-below-selected):
5946 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5947
5948 2013-12-16 Leo Liu <sdl.web@gmail.com>
5949
5950 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5951 Remove NOMSG arg and all uses changed.
5952
5953 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5954
5955 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5956 (cua--deactivate-rectangle): Don't deactivate the mark.
5957 (cua-set-rectangle-mark): Don't set mark-active since
5958 cua--activate-rectangle already does it for us.
5959 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5960 non-rectangular region.
5961
5962 * emulation/cua-base.el (cua-repeat-replace-region):
5963 Use with-current-buffer.
5964
5965 * net/gnutls.el: Use cl-lib.
5966 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5967
5968 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5969
5970 * emacs-lisp/package.el (package-built-in-p): Support both
5971 built-in and the package.el converted package descriptions.
5972 (package-show-package-list): Allow keywords.
5973 (package-keyword-button-action): Use it instead of
5974 `finder-list-matches'.
5975 (package-menu-filter-interactive): Interactive filtering (by
5976 keyword) function.
5977 (package-menu--generate): Support keywords and change keymappings
5978 and headers when they are given.
5979 (package--has-keyword-p): Helper function.
5980 (package-menu--refresh): Use it.
5981 (package--mapc): Helper function.
5982 (package-all-keywords): Use it.
5983 (package-menu-mode-map): Set up menu items and keybindings to
5984 provide a filtering UI.
5985
5986 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5987
5988 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5989 the behavior when a certificate fails validation. Defaults to
5990 old behavior: never abort, just warn.
5991 (gnutls-negotiate): Use it.
5992
5993 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5994
5995 * window.el (display-buffer-below-selected): Never split window
5996 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5997
5998 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5999
6000 * emacs-lisp/package.el (package--prepare-dependencies): New function.
6001 (package-buffer-info): Use it (bug#15108).
6002
6003 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
6004
6005 * icomplete.el (icomplete-completions): Make sure the prefix is already
6006 displayed elsewhere before hiding it (bug#16219).
6007
6008 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
6009
6010 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
6011 open-paren tokens when preceded by a open-paren, too.
6012 (ruby-smie-rules): Handle virtual indentation after open-paren
6013 tokens specially. If there is code between it and eol, return the
6014 column where is starts (Bug#16118).
6015
6016 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6017
6018 * progmodes/cfengine.el: Fix `add-hook' doc.
6019 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
6020 (cfengine3--current-word): Fix parameters.
6021 (cfengine3-make-syntax-cache): Simplify further.
6022 (cfengine3-completion-function, cfengine3--current-function):
6023 Use `assq' for symbols.
6024 (cfengine3--current-function): Fix `cfengine3--current-word' call.
6025
6026 2013-12-13 Glenn Morris <rgm@gnu.org>
6027
6028 * loadup.el (load-path): Warn if site-load or site-init changes it.
6029 No more need to reset it when bootstrapping.
6030
6031 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6032
6033 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
6034 locations for cf-promises.
6035 (cfengine-mode-syntax-functions-regex): New caching variable.
6036 (cfengine3-fallback-syntax): Fallback syntax for cases where
6037 cf-promises doesn't run.
6038 (cfengine3--current-word): Reimplement using
6039 `cfengine-mode-syntax-functions-regex'.
6040 (cfengine3-completion-function, cfengine3--current-function):
6041 Use `cfengine3-make-syntax-cache' directly.
6042 (cfengine3-clear-syntax-cache): New function.
6043 (cfengine3-make-syntax-cache): Simplify and create
6044 `cfengine-mode-syntax-functions-regex' on demand.
6045 (cfengine3-format-function-docstring): Don't call
6046 `cfengine3-make-syntax-cache' explicitly.
6047
6048 2013-12-13 Martin Rudalics <rudalics@gmx.at>
6049
6050 Fix windmove-find-other-window broken after pixelwise resizing
6051 (Bug#16017).
6052 * windmove.el (windmove-other-window-loc): Revert change from
6053 2013-12-04.
6054 (windmove-find-other-window): Call window-in-direction.
6055 * window.el (window-in-direction): New arguments SIGN, WRAP and
6056 MINI to emulate original windmove-find-other-window behavior.
6057
6058 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
6059
6060 * simple.el (blink-matching--overlay): New variable.
6061 (blink-matching-open): Instead of moving point, highlight the
6062 matching paren with an overlay
6063 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
6064
6065 * faces.el (paren-showing-faces, show-paren-match)
6066 (show-paren-mismatch): Move from paren.el.
6067
6068 2013-12-13 Leo Liu <sdl.web@gmail.com>
6069
6070 * indent.el (indent-region): Disable progress reporter in
6071 minibuffer. (Bug#16108)
6072
6073 * bindings.el (visual-order-cursor-movement): Fix version.
6074
6075 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6076
6077 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
6078 Also match after beginning of line.
6079 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
6080 files. Thanks to Russell Sim. (Bug#15378)
6081
6082 2013-12-13 Juri Linkov <juri@jurta.org>
6083
6084 * simple.el <Keypad support>: Remove key bindings duplicated
6085 with bindings.el. (Bug#14397)
6086
6087 2013-12-13 Juri Linkov <juri@jurta.org>
6088
6089 * comint.el (comint-mode-map): Replace `delete-char' with
6090 `delete-forward-char'. (Bug#16109)
6091
6092 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6093
6094 * progmodes/python.el (python-indent-calculate-indentation):
6095 Fix de-denters cornercase. (Bug#15731)
6096
6097 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
6098
6099 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
6100 (advice--make): Pay attention to `depth'.
6101 (advice--make-1): Don't autoload commands eagerly.
6102 * emacs-lisp/elp.el (elp-instrument-function):
6103 * emacs-lisp/trace.el (trace-function-internal):
6104 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
6105
6106 * iswitchb.el (iswitchb-mode): Don't belittle ido.
6107
6108 2013-12-12 Eli Zaretskii <eliz@gnu.org>
6109
6110 * term/w32-win.el (w32-handle-dropped-file):
6111 * startup.el (normal-top-level):
6112 * net/browse-url.el (browse-url-file-url):
6113 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
6114 decode file names using 'utf-8' rather than
6115 file-name-coding-system.
6116
6117 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6118
6119 * progmodes/python.el (python-indent-context)
6120 (python-indent-calculate-indentation): Fix auto-identation
6121 behavior for comment blocks. (Bug#15916)
6122
6123 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6124
6125 * progmodes/python.el (python-indent-calculate-indentation):
6126 When determining indentation, don't treat "return", "pass", etc., as
6127 operators when they are just string constituents. (Bug#15812)
6128
6129 2013-12-12 Juri Linkov <juri@jurta.org>
6130
6131 * uniquify.el (uniquify-buffer-name-style): Change default to
6132 `post-forward-angle-brackets'.
6133
6134 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
6135 `uniquify'. Change default to `post-forward-angle-brackets'.
6136
6137 2013-12-11 Glenn Morris <rgm@gnu.org>
6138
6139 * emacs-lisp/package.el (finder-list-matches):
6140 Autoload rather than falsely declaring.
6141
6142 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
6143
6144 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
6145 (eww-mode-map): Use them.
6146
6147 2013-12-11 Martin Rudalics <rudalics@gmx.at>
6148
6149 * window.el (display-buffer-in-side-window): Fix doc-string
6150 (Bug#16115).
6151
6152 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
6153
6154 * vc/vc-git.el: Silence byte-compiler warnings.
6155 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
6156 (log-edit-set-header): Declare.
6157
6158 2013-12-11 Eli Zaretskii <eliz@gnu.org>
6159
6160 * Makefile.in (custom-deps, finder-data): Run output file names
6161 through unmsys--file-name. (Bug#16099)
6162
6163 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
6164
6165 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
6166 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
6167
6168 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
6169 instead of deleting the selection "by hand" (bug#16098).
6170 Rely on insert-for-yank to yank rectangles.
6171 (cua-highlight-region-shift-only): Mark obsolete.
6172 (cua-mode): Don't enable/disable transient-mark-mode,
6173 shift-select-mode (cua-mode works both with and without them), and
6174 pc-selection-mode (obsolete).
6175 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
6176 (cua--deactivate-rectangle): Deactivate it.
6177
6178 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
6179 (delete-selection-helper): Make sure yank starts at the top of the
6180 deleted region.
6181 (minibuffer-keyboard-quit): Use region-active-p.
6182
6183 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
6184
6185 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
6186 to `delete' (bug#16109).
6187
6188 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6189
6190 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
6191 info manual and show keybindings and set `:group' keyword.
6192
6193 2013-12-11 Juri Linkov <juri@jurta.org>
6194
6195 * delsel.el (delete-active-region): Let-bind `this-command'
6196 to prevent `kill-region' from changing its original value.
6197 (delete-selection-helper): Handle `overwrite-mode' for the type
6198 `kill' exactly the same way as for the type `t'.
6199 (insert-char, quoted-insert, reindent-then-newline-and-indent):
6200 Support more commands. (Bug#13312)
6201
6202 2013-12-11 Juri Linkov <juri@jurta.org>
6203
6204 * bindings.el: Map kp keys to non-kp keys systematically
6205 with basic modifiers control, meta and shift. (Bug#14397)
6206
6207 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6208
6209 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
6210 "Close browser" menu items. Fix wrong function of "List
6211 bookmarks".
6212
6213 2013-12-11 Juri Linkov <juri@jurta.org>
6214
6215 * misearch.el (multi-isearch-buffers): Set the value of
6216 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6217 arg of isearch-forward to t.
6218 (multi-isearch-buffers-regexp): Set the value of
6219 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6220 arg of isearch-forward-regexp to t.
6221 (multi-isearch-files): Set the value of
6222 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6223 arg of isearch-forward to t.
6224 (multi-isearch-files-regexp): Set the value of
6225 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6226 arg of isearch-forward-regexp to t. (Bug#16035)
6227
6228 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
6229 arg of isearch-forward to t.
6230 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
6231 arg of isearch-forward-regexp to t.
6232 (dired-isearch-filter-filenames): Remove unnecessary check for
6233 `dired-isearch-filenames'.
6234
6235 * comint.el (comint-history-isearch-backward):
6236 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
6237 (comint-history-isearch-backward-regexp):
6238 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
6239
6240 2013-12-10 Eli Zaretskii <eliz@gnu.org>
6241
6242 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
6243 unmsys--file-name. (Bug#16099)
6244
6245 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
6246
6247 * emacs-lisp/package.el (package-keyword-button-action):
6248 Remove finder.el require dependency.
6249
6250 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
6251
6252 * emacs-lisp/package.el: Require finder.el.
6253 (describe-package-1): Add keyword buttons.
6254 (package-make-button): New convenience function.
6255 (package-keyword-button-action): Keyword button action using
6256 `finder-list-matches'.
6257
6258 2013-12-09 Eli Zaretskii <eliz@gnu.org>
6259
6260 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
6261 last commit.
6262
6263 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
6264
6265 * autorevert.el (auto-revert-notify-add-watch): Do not handle
6266 symlinked files.
6267
6268 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6269
6270 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6271 after the end of a percent literal.
6272
6273 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
6274
6275 * progmodes/ruby-mode.el (ruby-forward-string): Document.
6276 Handle caret-delimited strings (Bug#16079).
6277
6278 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6279
6280 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
6281 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
6282 `ruby-parse-partial' (Bug#16078).
6283
6284 2013-12-09 Leo Liu <sdl.web@gmail.com>
6285
6286 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
6287
6288 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
6289
6290 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
6291 (js-switch-indent-offset): New option.
6292 (js--proper-indentation): Use it. And handle the case when
6293 "default" is actually a key in an object literal.
6294 (js--same-line): New function.
6295 (js--multi-line-declaration-indentation): Use it.
6296 (js--indent-in-array-comp, js--array-comp-indentation):
6297 New functions.
6298 (js--proper-indentation): Use them, to handle array comprehension
6299 continuations.
6300
6301 2013-12-08 Leo Liu <sdl.web@gmail.com>
6302
6303 * progmodes/flymake.el (flymake-highlight-line): Re-write.
6304 (flymake-make-overlay): Remove arg MOUSE-FACE.
6305 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
6306
6307 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6308
6309 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
6310 New function.
6311 (redisplay-highlight-region-function): Use it.
6312
6313 * emulation/cua-base.el (cua--explicit-region-start)
6314 (cua--last-region-shifted): Remove.
6315 (cua--deactivate): Use deactivate-mark.
6316 (cua--pre-command-handler-1): Don't handle shift-selection.
6317 (cua--post-command-handler-1): Don't change transient-mark-mode.
6318 (cua--select-keymaps): Use region-active-p rather than
6319 cua--explicit-region-start or cua--last-region-shifted.
6320 (cua-mode): Enable shift-select-mode.
6321
6322 2013-12-08 Leo Liu <sdl.web@gmail.com>
6323
6324 * progmodes/flymake.el (flymake-popup-current-error-menu):
6325 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6326 (flymake-posn-at-point-as-event, flymake-popup-menu)
6327 (flymake-make-emacs-menu): Remove. (Bug#16077)
6328
6329 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6330
6331 * rect.el (rectangle-mark-mode): Activate mark even if
6332 transient-mark-mode is off (bug#16066).
6333 (rectangle--highlight-for-redisplay): Fix boundary condition when point
6334 is > mark and at bolp.
6335
6336 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
6337 (region-extract-function): Use it.
6338 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
6339 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
6340 Delete functions.
6341 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
6342 kill-ring-save, kill-region, delete-char, delete-forward-char.
6343 Ignore self-insert-iso.
6344
6345 * emulation/cua-gmrk.el (cua--init-global-mark):
6346 Ignore `self-insert-iso'.
6347
6348 * emulation/cua-base.el (cua--prefix-copy-handler)
6349 (cua--prefix-cut-handler): Rely on region-extract-function rather than
6350 checking cua--rectangle.
6351 (cua-delete-region): Use region-extract-function.
6352 (cua-replace-region): Delete function.
6353 (cua-copy-region, cua-cut-region): Obey region-extract-function.
6354 (cua--pre-command-handler-1): Don't do the delete-selection thing.
6355 (cua--self-insert-char-p): Ignore `self-insert-iso'.
6356 (cua--init-keymaps): Don't remap delete-selection commands.
6357 (cua-mode): Use delete-selection-mode instead of rolling our own
6358 (bug#16085).
6359
6360 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
6361 Obey region-extract-function.
6362
6363 Make registers and delete-selection-mode work on rectangles.
6364 * register.el (describe-register-1): Don't modify the register's value.
6365 (copy-to-register): Obey region-extract-function.
6366 * delsel.el (delete-active-region): Obey region-extract-function.
6367
6368 2013-12-08 Leo Liu <sdl.web@gmail.com>
6369
6370 * progmodes/flymake.el (flymake, flymake-error-bitmap)
6371 (flymake-warning-bitmap, flymake-fringe-indicator-position)
6372 (flymake-compilation-prevents-syntax-check)
6373 (flymake-start-syntax-check-on-newline)
6374 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
6375 (flymake-start-syntax-check-on-find-file, flymake-log-level)
6376 (flymake-xml-program, flymake-master-file-dirs)
6377 (flymake-master-file-count-limit)
6378 (flymake-allowed-file-name-masks): Relocate.
6379 (flymake-makehash, flymake-float-time)
6380 (flymake-replace-regexp-in-string, flymake-split-string)
6381 (flymake-get-temp-dir): Remove.
6382 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6383 (flymake-current-row, flymake-selected-frame)
6384 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6385 related functions. (Bug#16077)
6386
6387 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
6388
6389 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6390
6391 2013-12-07 Tassilo Horn <tsdh@gnu.org>
6392
6393 * help-fns.el (describe-function-1): Use new advice-* functions
6394 rather than old ad-* functions. Fix function type description and
6395 source links for advised functions and subrs.
6396
6397 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6398
6399 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
6400
6401 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
6402
6403 * progmodes/compile.el (compilation-start):
6404 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6405
6406 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6407 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
6408
6409 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6410
6411 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6412 Touch up the last change.
6413
6414 2013-12-06 Leo Liu <sdl.web@gmail.com>
6415
6416 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6417 (inferior-octave-startup): Always use "octave> " for prompt.
6418 (octave-goto-function-definition)
6419 (octave-sync-function-file-names)
6420 (octave-find-definition-default-filename): Remove redundant backquotes.
6421
6422 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6423
6424 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6425 syntax for `?'.
6426 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6427 where appropriate already.
6428 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6429 end of method names (Bug#15874).
6430
6431 2013-12-06 Juri Linkov <juri@jurta.org>
6432
6433 * isearch.el (isearch--saved-overriding-local-map):
6434 New internal variable.
6435 (isearch-mode): Set it to the initial value of
6436 `overriding-terminal-local-map'.
6437 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6438 with `isearch--saved-overriding-local-map'. (Bug#16035)
6439
6440 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6441
6442 * progmodes/octave.el (inferior-octave-completion-table):
6443 Turn back into function, use `completion-table-with-cache'
6444 (Bug#11906). Update all references.
6445
6446 * minibuffer.el (completion-table-with-cache): New function.
6447
6448 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
6449
6450 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6451
6452 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
6453
6454 * net/eww.el (eww-current-source): New variable to store page
6455 source.
6456 (eww-display-html, eww-mode, eww-save-history)
6457 (eww-restore-history): Use it.
6458 (eww-view-source): New command to view page source.
6459 Opportunistically uses `html-mode' to highlight the buffer.
6460 (eww-mode-map): Install it.
6461
6462 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
6463
6464 * net/dbus.el (dbus-unregister-service)
6465 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6466 Fix docstring.
6467 (dbus-unregister-service): Skip :serial entries in
6468 `dbus-registered-objects-table'.
6469 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6470
6471 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
6472
6473 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6474 around keywords with extra `split-string' argument.
6475
6476 2013-12-04 Martin Rudalics <rudalics@gmx.at>
6477
6478 * windmove.el (windmove-other-window-loc): Handle navigation
6479 between windows (excluding the minibuffer window - Bug#16017).
6480
6481 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
6482
6483 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6484 in D-Bus type syntax.
6485 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6486 preserve unibyte strings. (Bug#16048)
6487
6488 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6489
6490 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6491 Call force-mode-line-update is the proper buffer (bug#16042).
6492
6493 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
6494
6495 * vc/log-edit.el (log-edit-add-new-comment): Rename to
6496 `log-edit-remember-comment', make argument optional. Adjust all
6497 callers.
6498 (log-edit-mode): Add `log-edit-remember-comment' to
6499 `kill-buffer-hook' locally.
6500 (log-edit-kill-buffer): Don't remember comment explicitly since
6501 the buffer is killed anyway.
6502
6503 2013-12-04 Juri Linkov <juri@jurta.org>
6504
6505 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6506 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6507
6508 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
6509
6510 * notifications.el (notifications-close-notification): Call the
6511 D-Bus method with ID being a `:uint32'. (Bug#16030)
6512
6513 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6514
6515 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6516
6517 2013-12-03 Juri Linkov <juri@jurta.org>
6518
6519 * progmodes/compile.el (compilation-start): Rename window alist
6520 entry `no-display-ok' to `allow-no-window'.
6521
6522 * simple.el (shell-command): Add window alist entry
6523 `allow-no-window' to `display-buffer'.
6524 (async-shell-command): Doc fix.
6525
6526 * window.el (display-buffer-no-window): New action function.
6527 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6528
6529 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6530
6531 * vc/log-edit.el (log-edit-set-header): Extract from
6532 `log-edit-toggle-header'.
6533 (log-edit-extract-headers): Separate the summary, when extracted
6534 from header, from the rest of the message with an empty line.
6535
6536 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6537 line, if present, to the Summary header.
6538
6539 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6540
6541 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6542 in current-buffer (bug#16029).
6543
6544 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
6545
6546 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6547 (debugger-mode-map): Bind it.
6548 (debugger--backtrace-base): New function.
6549 (debugger-eval-expression): Use it.
6550 (debugger-frame-number): Skip local vars when present.
6551 (debugger--locals-visible-p, debugger--insert-locals)
6552 (debugger--show-locals, debugger--hide-locals): New functions.
6553
6554 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
6555
6556 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6557 "LC_ALL".
6558 (tramp-get-remote-locale): New defun.
6559 (tramp-open-connection-setup-interactive-shell): Use it.
6560
6561 2013-12-02 Leo Liu <sdl.web@gmail.com>
6562
6563 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6564
6565 * progmodes/sh-script.el (sh-shell-process):
6566 * progmodes/octave.el (inferior-octave-process-live-p):
6567 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6568 (gdb-inferior-io-sentinel):
6569 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6570
6571 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6572
6573 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6574 `save-selected-window' to `log-edit-hide-buf'. This makes
6575 `log-edit-show-files' idempotent.
6576 (log-edit-show-files): Mark the new window as dedicated.
6577
6578 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6579
6580 * vc/log-edit.el (log-edit-mode-map): Add binding for
6581 `log-edit-kill-biffer'.
6582 (log-edit-hide-buf): Add a FIXME comment.
6583 (log-edit-add-new-comment): New function, extracted from
6584 `log-edit-done'.
6585 (log-edit-done, log-edit-add-to-changelog): Use it.
6586 (log-edit-kill-buffer): New command.
6587
6588 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6589
6590 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6591 instead of killing the buffer.
6592
6593 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6594
6595 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6596
6597 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6598
6599 * net/eww.el (eww-form-checkbox-selected-symbol)
6600 (eww-form-checkbox-symbol): New customizable variable.
6601 (eww-form-checkbox, eww-toggle-checkbox):
6602 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6603
6604 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6605 (shr--get-media-pref, shr--extract-best-source): New function.
6606 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6607 no :src tag was specified.
6608
6609 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6610 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6611 Use \\` to match beginning of string instead of ^.
6612 (eww-browse-with-external-browser): Provide optional URL parameter.
6613 (eww-render): Set `eww-current-title' back to "".
6614
6615 * net/shr.el (shr-tag-video): Display content for video if no
6616 poster is available.
6617 (shr-tag-audio): Add support for <audio> tag.
6618
6619 * net/eww.el (eww-text-input-types): New const.
6620 (eww-process-text-input): Treat input types in
6621 `eww-text-input-types' as text.
6622
6623 * net/shr.el (shr-tag-table): Fix comment typo.
6624
6625 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6626
6627 * net/eww.el (eww-follow-link): New command to avoid reloading
6628 pages when we follow #target links (bug#15243).
6629 (eww-quit): Special mode buffers shouldn't query before exiting.
6630
6631 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6632
6633 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6634 forms.
6635
6636 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6637
6638 * net/eww.el (eww-restore-history): Update the window title after
6639 moving in the history.
6640 (eww-current-dom): New variable used to save the current DOM.
6641
6642 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6643
6644 * vc/log-edit.el (log-edit-mode-map): Add binding for
6645 `log-edit-beginning-of-line'.
6646 (log-edit-setup-add-author): New user option.
6647 (log-edit-beginning-of-line): New command.
6648 (log-edit): Move major mode call above the contents setup so that
6649 the local variable values are already applied.
6650 (log-edit): Only insert "Author: " when
6651 `log-edit-setup-add-author' is non-nil.
6652 (log-edit): When SETUP is non-nil, position point after ": "
6653 instead of point-min.
6654
6655 2013-12-01 Glenn Morris <rgm@gnu.org>
6656
6657 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6658
6659 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6660
6661 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6662 redisplay to make sure the initial frame gets a chance to become
6663 visible. (Bug#16014)
6664
6665 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6666
6667 Support resizing frames and windows pixelwise.
6668 * cus-start.el (frame-resize-pixelwise)
6669 (window-resize-pixelwise): New entries.
6670 * emacs-lisp/debug.el (debug): Use window-total-height instead
6671 of window-total-size.
6672 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6673 * help.el (describe-bindings-internal): Use help-buffer as
6674 argument for with-help-window.
6675 (temp-buffer-max-width): New option.
6676 (resize-temp-buffer-window, help-window-setup)
6677 (with-help-window): Rewrite.
6678 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6679 dragging dividers.
6680 * window.el (frame-char-size, window-min-pixel-height)
6681 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6682 (window-min-pixel-width, window-safe-min-pixel-size)
6683 (window-combination-p, window-safe-min-size)
6684 (window-resizable-p, window--size-to-pixel)
6685 (window--pixel-to-size, window--resize-apply-p): New functions.
6686 (window-safe-min-height): Fix doc-string.
6687 (window-size, window-min-size, window--min-size-1)
6688 (window-sizable, window-sizable-p, window--min-delta-1)
6689 (window-min-delta, window--max-delta-1, window-max-delta)
6690 (window--resizable, window--resizable-p, window-resizable)
6691 (window-full-height-p, window-full-width-p, window-at-side-p)
6692 (window--in-direction-2, window-in-direction)
6693 (window--resize-reset-1, window--resize-mini-window)
6694 (window-resize, window-resize-no-error)
6695 (window--resize-child-windows-normal)
6696 (window--resize-child-windows, window--resize-siblings)
6697 (window--resize-this-window, window--resize-root-window)
6698 (window--resize-root-window-vertically)
6699 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6700 (maximize-window, minimize-window, delete-window)
6701 (quit-restore-window, window-split-min-size, split-window)
6702 (balance-windows-2, balance-windows)
6703 (balance-windows-area-adjust, balance-windows-area)
6704 (window--state-get-1, window-state-get, window--state-put-1)
6705 (window--state-put-2, window-state-put)
6706 (display-buffer-record-window, window--display-buffer):
6707 Make functions handle pixelwise sizing of windows.
6708 (display-buffer--action-function-custom-type)
6709 (display-buffer-fallback-action):
6710 Add display-buffer-in-previous-window.
6711 (display-buffer-use-some-window): Resize window to height it had
6712 before.
6713 (fit-window-to-buffer-horizontally): New option.
6714 (fit-frame-to-buffer): Describe new values.
6715 (fit-frame-to-buffer-bottom-margin): Replace with
6716 fit-frame-to-buffer-margins.
6717 (window--sanitize-margin): New function.
6718 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6719 using window-text-pixel-size.
6720
6721 2013-11-30 Glenn Morris <rgm@gnu.org>
6722
6723 * emacs-lisp/bytecomp.el (byte-compile-form):
6724 Make the `interactive-only' warning like the `obsolete' one.
6725 * comint.el (comint-run):
6726 * files.el (insert-file-literally, insert-file):
6727 * replace.el (replace-string, replace-regexp):
6728 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6729 (goto-line, insert-buffer, next-line, previous-line):
6730 Tweak `interactive-only' spec.
6731
6732 Stop keeping (most) generated cedet grammar files in the repository.
6733 * Makefile.in (semantic): New.
6734 (compile-main): Depend on semantic.
6735
6736 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6737
6738 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6739 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6740
6741 * uniquify.el (uniquify-buffer-name-style): Change default.
6742
6743 * loadup.el: Preload "uniquify".
6744
6745 * time.el (display-time-update): Update all mode lines (bug#15999).
6746
6747 * electric.el (electric-indent-mode): Enable by default.
6748 * loadup.el: Preload "electric".
6749
6750 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6751
6752 * emacs-lisp/helpers.el (string-empty-p): New function.
6753 (string-blank-p): New function.
6754
6755 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6756
6757 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6758 (Bug#14029).
6759
6760 2013-11-29 Andreas Politz <politza@fh-trier.de>
6761 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6762 allow non-lambda lists as functions.
6763 (imenu--in-alist): Don't recurse into non-subalists.
6764 (imenu): Don't pass function itself as an argument (Bug#14029).
6765
6766 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6767
6768 * progmodes/python.el (python-mode-map): Remove binding for ":".
6769 (python-indent-electric-colon): Remove command.
6770 (python-indent-post-self-insert-function): Integrate the previous code
6771 of python-indent-electric-colon. Make it conditional on
6772 electric-indent-mode.
6773 (python-mode): Add ?: to electric-indent-chars.
6774 Move python-indent-post-self-insert-function to the end of
6775 post-self-insert-hook.
6776
6777 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6778
6779 * doc-view.el (doc-view-goto-page): Update mode-line.
6780
6781 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6782
6783 2013-11-27 Glenn Morris <rgm@gnu.org>
6784
6785 * international/charprop.el, international/uni-bidi.el:
6786 * international/uni-category.el, international/uni-combining.el:
6787 * international/uni-comment.el, international/uni-decimal.el:
6788 * international/uni-decomposition.el, international/uni-digit.el:
6789 * international/uni-lowercase.el, international/uni-mirrored.el:
6790 * international/uni-name.el, international/uni-numeric.el:
6791 * international/uni-old-name.el, international/uni-titlecase.el:
6792 * international/uni-uppercase.el:
6793 Remove generated files from VCS repository.
6794
6795 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6796
6797 * filenotify.el (file-notify-add-watch): Don't special-case
6798 w32notify when computing the directory to watch.
6799
6800 2013-11-27 Glenn Morris <rgm@gnu.org>
6801
6802 Make bootstrap without generated uni-*.el files possible again.
6803 * loadup.el: Update command-line-args checking for unidata-gen.
6804 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6805 * composite.el, international/characters.el:
6806 Handle unicode tables being undefined.
6807
6808 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6809 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6810 (compile-main): Depend on leim rule.
6811 (leim): New rule.
6812 * loadup.el: Move leim-list.el to leim/ subdirectory.
6813 * startup.el (normal-top-level): No more leim directory.
6814 * international/ja-dic-cnv.el (skkdic-convert):
6815 Disable version-control and autoloads in output files.
6816 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6817 Disable version-control and autoloads in output files.
6818 * leim/quail: Move here from ../leim.
6819 * leim/quail/hangul.el (hangul-input-method-activate):
6820 Add autoload cookie.
6821 (generated-autoload-load-name): Set file-local value.
6822 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6823 (generated-autoload-load-name): Set file-local value.
6824
6825 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6826
6827 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6828 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6829 (eww-quit): Ask confirmation before quitting eww.
6830
6831 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6832
6833 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6834 reading output from Diff on MS-Windows and MS-DOS.
6835
6836 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6837
6838 * emacs-lisp/helpers.el (string-reverse): New function.
6839
6840 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6841
6842 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6843 names on MS Windows, like "/[::1]:".
6844
6845 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6846 SWITCHES.
6847
6848 2013-11-26 Glenn Morris <rgm@gnu.org>
6849
6850 * progmodes/python.el (python-indent-guess-indent-offset):
6851 Avoid corner-case error. (Bug#15975)
6852
6853 Preload leim-list.el. (Bug#4789)
6854 * loadup.el: Load leim-list.el when found.
6855 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6856
6857 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6858
6859 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6860
6861 * emacs-lisp/helpers.el (string-join): New function.
6862
6863 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6864
6865 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6866 Mark as obsolete and replace it with a symbol property.
6867 (byte-compile-form): Use new 'interactive-only property.
6868 * comint.el, files.el, replace.el, simple.el:
6869 Apply new 'interactive-only properly.
6870
6871 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6872
6873 * window.el (display-buffer-at-bottom): Make sure that
6874 split-window-sensibly creates the new window on bottom
6875 (Bug#15961).
6876
6877 2013-11-23 David Kastrup <dak@gnu.org>
6878
6879 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6880 on the conflict markers when available.
6881 (smerge--get-marker): New function.
6882 (smerge-end-re, smerge-base-re): Add subgroup.
6883
6884 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6885
6886 * frame.el (handle-focus-in, handle-focus-out): Add missing
6887 interactive spec.
6888
6889 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6890
6891 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6892 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6893
6894 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6895
6896 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6897 (gomoku--last-pos): New var.
6898 (gomoku--intangible-chars): New const.
6899 (gomoku--intangible): New function.
6900 (gomoku-mode): Use it. Derive from special-mode.
6901 (gomoku-move-up): Adjust line count.
6902 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6903 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6904 Simplify accordingly.
6905
6906 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6907 Remove blink-cursor code.
6908 (blink-cursor-timer-function, blink-cursor-suspend):
6909 Don't special-case GUIs.
6910 (blink-cursor-mode): Use focus-in/out-hook.
6911
6912 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6913
6914 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6915 work when annotation is invisible (Bug#13886).
6916
6917 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6918
6919 * json.el (json-alist-p): Only return non-nil if the alist has
6920 simple keys (Bug#13518).
6921
6922 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6923
6924 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6925 when control-statement is the first statement in a buffer (Bug#15956).
6926
6927 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6928
6929 * imenu.el (imenu-generic-skip-comments-and-strings):
6930 New option (Bug#15560).
6931 (imenu--generic-function): Use it.
6932
6933 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6934
6935 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6936 (Bug#13898)
6937
6938 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6939
6940 * emacs-lisp/helpers.el: Add some string helpers.
6941 (string-trim-left): Removes leading whitespace.
6942 (string-trim-right): Removes trailing whitespace.
6943 (string-trim): Removes leading and trailing whitespace.
6944
6945 * subr.el (string-suffix-p): New function.
6946
6947 2013-11-23 Glenn Morris <rgm@gnu.org>
6948
6949 * progmodes/python.el (python-shell-send-file):
6950 Add option to delete file when done. (Bug#15647)
6951 (python-shell-send-string, python-shell-send-region): Use it.
6952
6953 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6954
6955 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6956 to set buffer-read-only to t, never to nil. (Bug#15938)
6957
6958 * textmodes/tex-mode.el (latex-noindent-environments):
6959 Add safe-local-variable property. (Bug#15936)
6960
6961 2013-11-23 Glenn Morris <rgm@gnu.org>
6962
6963 * textmodes/enriched.el (enriched-mode): Doc fix.
6964 * emacs-lisp/authors.el (authors-renamed-files-alist):
6965 Add enriched.doc -> enriched.txt.
6966
6967 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6968
6969 2013-11-22 Leo Liu <sdl.web@gmail.com>
6970
6971 * progmodes/octave.el (inferior-octave-startup): Spit out error
6972 message.
6973
6974 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6975
6976 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6977 Improve docstring.
6978 Add :version.
6979 (ruby-encoding-magic-comment-style): Add :version.
6980
6981 2013-11-22 Leo Liu <sdl.web@gmail.com>
6982
6983 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6984 (Bug#15076)
6985 (octave-help-mode): Adapt to change to help-mode-finish to use
6986 derived-mode-p on 2013-09-17.
6987 (inferior-octave-prompt): Also match octave-gui.
6988 (octave-kill-process): Don't ask twice. (Bug#10564)
6989
6990 2013-11-22 Leo Liu <sdl.web@gmail.com>
6991
6992 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6993 (inferior-octave-startup, inferior-octave-check-process)
6994 (inferior-octave-track-window-width-change)
6995 (octave-completion-at-point, octave-eldoc-function): Use it.
6996 (octave-kill-process): Provide confirmation. (Bug#10564)
6997
6998 2013-11-21 Leo Liu <sdl.web@gmail.com>
6999
7000 * progmodes/octave.el (octave-mode, inferior-octave-mode):
7001 Fix obsolete variable comment-use-global-state.
7002
7003 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7004
7005 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
7006 Add `octave-source-file'.
7007 (octave-source-file): New function. (Bug#15935)
7008
7009 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
7010
7011 * net/eww.el (eww-local-regex): New variable.
7012 (eww): Use it to detect localhost and similar.
7013
7014 2013-11-21 Leo Liu <sdl.web@gmail.com>
7015
7016 Add completion for command `ag'.
7017 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
7018 (pcomplete/ag): New function.
7019 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
7020
7021 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7022
7023 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
7024 (bug#14646).
7025 (make-obsolete): Remove interactive spec.
7026
7027 2013-11-21 Glenn Morris <rgm@gnu.org>
7028
7029 * startup.el (command-line-1): Use path-separator with -L.
7030
7031 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
7032
7033 * emacs-lisp/package.el (describe-package-1): Add package archive
7034 to shown fields.
7035
7036 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7037
7038 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7039 Change default to "# encoding: %s" to differentiate it from the
7040 default Ruby encoding comment template.
7041
7042 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
7043
7044 * ses.el (ses-mode): Doc fix. (Bug#14748)
7045
7046 2013-11-20 Leo Liu <sdl.web@gmail.com>
7047
7048 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
7049
7050 2013-11-19 Dan Nicolaescu <dann@gnu.org>
7051
7052 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
7053 when rebase or bisect are in progress.
7054
7055 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
7056
7057 * filenotify.el (file-notify-add-watch): Doc fix.
7058
7059 2013-11-19 Leo Liu <sdl.web@gmail.com>
7060
7061 * obsolete/rcompile.el: Mark obsolete.
7062
7063 * progmodes/compile.el (compilation-start)
7064 (compilation-goto-locus, compilation-find-file):
7065 Pass no-display-ok and handle nil value from display-buffer.
7066 (Bug#13594)
7067
7068 * window.el (display-buffer-alist, display-buffer): Document the
7069 new parameter no-display-ok. Return either a window or nil
7070 but never a non-window value.
7071
7072 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7073
7074 * electric.el (electric-indent-mode-map): Remove.
7075 (electric-indent-mode): Change the global-map instead (bug#15915).
7076
7077 * textmodes/text-mode.el (paragraph-indent-minor-mode):
7078 Use add-function.
7079
7080 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
7081
7082 * emacs-lisp/nadvice.el (remove-function): Align with
7083 add-function's behavior.
7084
7085 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
7086 (gdb--string-regexp): New constant.
7087 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
7088 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
7089 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
7090 submatch 1.
7091 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
7092 Adjust use accordingly.
7093 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
7094
7095 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
7096
7097 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
7098 interpolation curlies (Bug#15914).
7099
7100 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
7101
7102 * calc/calc.el (calc-context-sensitive-enter): New variable.
7103 (calc-enter): Use `calc-context-sensitive-enter'.
7104
7105 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
7106
7107 * progmodes/cfengine.el: Version bump.
7108 (cfengine-cf-promises): New defcustom to locate cf-promises.
7109 (cfengine3-vartypes): Add new "data" type.
7110 (cfengine3--current-word): New function to get current name-like
7111 word or its bounds.
7112 (cfengine3--current-function): New function to look up a CFEngine
7113 function's definition.
7114 (cfengine3-format-function-docstring): New function.
7115 (cfengine3-make-syntax-cache): New function.
7116 (cfengine3-documentation-function): New function: ElDoc glue.
7117 (cfengine3-completion-function): New function: completion glue.
7118 (cfengine3-mode): Set `compile-command',
7119 `eldoc-documentation-function', and add to
7120 `completion-at-point-functions'.
7121
7122 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
7123
7124 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7125 `tramp-current-connection'.
7126
7127 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
7128
7129 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
7130 nil/self/true/false with "end of symbol".
7131
7132 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
7133
7134 * subr.el (version-regexp-alist): Fix a typo.
7135
7136 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
7137
7138 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
7139 "en_US.utf8" and "LC_CTYPE" to "".
7140 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
7141 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
7142
7143 2013-11-15 Leo Liu <sdl.web@gmail.com>
7144
7145 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
7146
7147 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7148
7149 * progmodes/gud.el (ctl-x-map):
7150 Remove C-x SPC binding. (Bug#12342)
7151 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
7152
7153 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
7154
7155 * subr.el (version-regexp-alist):
7156 Recognize hg, svn and darcs versions as snapshot versions.
7157
7158 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
7159 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
7160 (ruby--encoding-comment-required-p): Extract from
7161 `ruby-mode-set-encoding'.
7162 (ruby-mode-set-encoding): Add the ability to always insert an
7163 utf-8 encoding comment. Fix and simplify coding comment update
7164 logic.
7165
7166 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
7167
7168 * net/tramp-gvfs.el (top): Run init code only when
7169 `tramp-gvfs-enabled' is not nil.
7170 (tramp-gvfs-enabled): Check also :system bus.
7171
7172 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7173
7174 Sync with upstream verilog-mode revision 78e66ba.
7175 * progmodes/verilog-mode.el (verilog-end-of-defun)
7176 (verilog-type-completion, verilog-get-list): Remove unused funcs.
7177 (verilog-get-end-of-defun): Remove unused argument.
7178 (verilog-comment-depth): Remove unused local `e'.
7179 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
7180 Don't pass arg to verilog-get-end-of-defun.
7181
7182 2013-11-14 Glenn Morris <rgm@gnu.org>
7183
7184 * obsolete/assoc.el (aget): Prefix dynamic variable.
7185
7186 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
7187
7188 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7189
7190 * widget.el, hfy-cmap.el: Remove bogus package version number.
7191
7192 2013-11-13 Glenn Morris <rgm@gnu.org>
7193
7194 * replace.el (replace-eval-replacement):
7195 Try to give more helpful error message. (Bug#15836)
7196
7197 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7198 (archive-7z-update): Avoid custom type mismatches.
7199
7200 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
7201
7202 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
7203
7204 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
7205 address can be empty.
7206
7207 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
7208 Accept nil SWITCHES.
7209 (tramp-gvfs-handle-write-region): Implement APPEND.
7210
7211 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
7212
7213 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
7214 binary "|" operator and closing block args delimiter.
7215 Remove FIXME comment referring to Ruby 1.8-only syntax.
7216 (ruby-smie--implicit-semi-p): Not after "|" operator.
7217 (ruby-smie--closing-pipe-p): New function.
7218 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
7219 (ruby-smie-rules): Indent after "|".
7220
7221 2013-11-12 Glenn Morris <rgm@gnu.org>
7222
7223 * ps-print.el (ps-face-attribute-list):
7224 Handle anonymous faces. (Bug#15827)
7225
7226 2013-11-12 Martin Rudalics <rudalics@gmx.at>
7227
7228 * window.el (display-buffer-other-frame): Fix doc-string.
7229 (Bug#15868)
7230
7231 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7232
7233 * subr.el (force-mode-line-update): Delete, move to buffer.c.
7234
7235 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
7236
7237 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
7238 (tramp-sh-handle-file-local-copy): Don't write a message when
7239 saving temporary files.
7240
7241 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
7242 both directories are remote.
7243 (tramp-smb-handle-directory-files): Do not return double entries.
7244 Do not expand full file names.
7245 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
7246 (tramp-smb-handle-write-region): Implement APPEND.
7247 (tramp-smb-get-stat-capability): Fix a stupid bug.
7248
7249 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7250
7251 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
7252
7253 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7254
7255 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
7256 throwing error over malformed let/let* (bug#15814).
7257
7258 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7259
7260 * iswitchb.el (iswitchb-mode): Mark obsolete.
7261
7262 2013-11-11 Glenn Morris <rgm@gnu.org>
7263
7264 * international/uni-bidi.el, international/uni-category.el:
7265 * international/uni-name.el, international/uni-numeric.el:
7266 Regenerate for Unicode 6.3.0.
7267
7268 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
7269
7270 * net/tramp.el (tramp-methods):
7271 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
7272 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
7273
7274 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
7275
7276 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7277 Force highlighting text after Summary keyword in doc face for rpm.
7278
7279 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
7280
7281 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
7282 available and the word has no wildcards, append one to the grep pattern.
7283 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
7284 (ispell-complete-word): Call `ispell-lookup-words' with the value
7285 independent of `ispell-look-p'.
7286
7287 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7288
7289 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
7290 Not after "||".
7291 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
7292 their parent.
7293
7294 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7295
7296 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
7297 (ruby-font-lock-keywords): Use backquote.
7298
7299 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7300
7301 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7302 (ruby-smie--backward-token): Only consider full-string matches.
7303
7304 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
7305
7306 * faces.el (describe-face): Add distant-foreground.
7307
7308 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
7309
7310 * progmodes/ruby-mode.el: Improve encoding comment handling.
7311 (ruby-encoding-magic-comment-style): New option.
7312 (ruby-custom-encoding-magic-comment-template): New option.
7313 (ruby--insert-coding-comment, ruby--detect-encoding):
7314 New functions extracted from `ruby-mode-set-encoding'.
7315 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
7316 to control the style of the auto-inserted encoding comment.
7317
7318 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7319
7320 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
7321 Use `smie-backward-sexp' with token argument.
7322
7323 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
7324
7325 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7326 Remove instrumentation code.
7327
7328 2013-11-08 Glenn Morris <rgm@gnu.org>
7329
7330 * progmodes/autoconf.el (autoconf-mode):
7331 Tweak comment-start-skip. (Bug#15822)
7332
7333 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7334
7335 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
7336 at bobp (bug#15826).
7337 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
7338
7339 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
7340
7341 * man.el (Man-start-calling): New macro, extracted from
7342 Man-getpage-in-background.
7343 (Man-getpage-in-background): Use it.
7344 (Man-update-manpage): New command.
7345 (Man-mode-map): Bind it.
7346
7347 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7348
7349 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
7350 of "and", "or", "&&" and "||".
7351 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
7352 argument. Prohibit opening curly brace because it could only be a
7353 block opener in that position.
7354 (ruby-smie--forward-token, ruby-smie--backward-token):
7355 Separate "|" from "&" or "*" going after it. That can happen in block
7356 arguments.
7357 (ruby-smie--indent-to-stmt): New function, seeks the end of
7358 previous statement or beginning of buffer.
7359 (ruby-smie-rules): Use it.
7360 (ruby-smie-rules): Check if there's a ":" before a curly block
7361 opener candidate; if there is, it's a hash.
7362
7363 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7364
7365 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
7366 (cl--block-wrapper): Fix last accidental change.
7367
7368 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
7369
7370 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7371 Instrument, in order to hunt failure on hydra.
7372
7373 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7374
7375 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
7376 malformed bindings form (bug#15814).
7377
7378 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
7379
7380 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
7381 "." compared to " @ ". This incidentally fixes some indentation
7382 examples with "do".
7383 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
7384 (ruby-smie-grammar): New tokens: "and" and "or".
7385 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7386 Exclude "and" and "or". Remove "do" in order to work around token
7387 priorities.
7388 (ruby-smie-rules): Add all infix tokens. Handle the case of
7389 beginning-of-buffer.
7390
7391 2013-11-06 Glenn Morris <rgm@gnu.org>
7392
7393 * Makefile.in (setwins_almost, setwins_for_subdirs):
7394 Avoid accidental matches.
7395
7396 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7397
7398 * menu-bar.el (popup-menu): Use key-binding.
7399
7400 2013-11-06 Eli Zaretskii <eliz@gnu.org>
7401
7402 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7403 menus, support also the menus produced by minor modes.
7404 (Bug#15817)
7405
7406 2013-11-06 Leo Liu <sdl.web@gmail.com>
7407
7408 * thingatpt.el (thing-at-point-looking-at): Add optional arg
7409 DISTANCE to bound the search. All uses changed. (Bug#15808)
7410
7411 2013-11-06 Glenn Morris <rgm@gnu.org>
7412
7413 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7414 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7415 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7416
7417 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7418
7419 * electric.el (electric-indent-just-newline): New command.
7420 (electric-indent-mode-map): New keymap.
7421 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7422 Re-add :group which weren't redundant.
7423
7424 * electric.el (electric-indent-local-mode): New minor mode.
7425 (electric-indent-functions-without-reindent): New var.
7426 (electric-indent-post-self-insert-function): Use it.
7427 * emacs-lisp/gv.el (buffer-local-value): Add setter.
7428
7429 2013-11-05 Eli Zaretskii <eliz@gnu.org>
7430
7431 * international/quail.el (quail-help): Be more explicit about the
7432 meaning of the labels shown on the keys. (Bug#15800)
7433
7434 * startup.el (normal-top-level): Load the subdirs.el files before
7435 setting the locale environment. (Bug#15805)
7436
7437 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
7438
7439 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7440 via arguments so as to get the right ones (bug#15418).
7441
7442 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7443
7444 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
7445
7446 Fix problems found while writing a test suite.
7447
7448 * net/tramp-compat.el (tramp-compat-load): New defun.
7449 * net/tramp.el (tramp-handle-load): Use it.
7450
7451 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7452 "(numberp ok-if-already-exists)" correctly.
7453
7454 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
7455
7456 * international/characters.el (glyphless-char-display-control):
7457 Add usage note.
7458
7459 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
7460
7461 * progmodes/python.el (python-mode):
7462 * progmodes/scheme.el (scheme-mode):
7463 * progmodes/prolog.el (prolog-mode):
7464 * progmodes/ruby-mode.el (ruby-mode):
7465 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7466 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7467
7468 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7469
7470 * rect.el (rectangle--highlight-for-redisplay):
7471 * emacs-lisp/smie.el (smie--next-indent-change):
7472 Use buffer-chars-modified-tick.
7473
7474 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7475
7476 * electric.el (electric-indent-post-self-insert-function):
7477 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7478
7479 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
7480
7481 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7482
7483 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7484
7485 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7486 (bug#15786).
7487
7488 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7489
7490 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
7491
7492 * progmodes/python.el: Fix up last change.
7493 (python-shell--save-temp-file): New function.
7494 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
7495 `string' comes from the current buffer.
7496 (python-shell-send-string-no-output): Remove `msg' arg.
7497 (python--use-fake-loc): New var.
7498 (python-shell-buffer-substring): Obey it. Try to compensate for the
7499 extra coding line added by python-shell--save-temp-file.
7500 (python-shell-send-region): Use python-shell--save-temp-file and
7501 python-shell-send-file directly. Add `nomain' argument.
7502 (python-shell-send-buffer): Use python-shell-send-region.
7503 (python-electric-pair-string-delimiter): New function.
7504 (python-mode): Use it.
7505
7506 2013-11-04 Eli Zaretskii <eliz@gnu.org>
7507
7508 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7509 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7510 environment and decoding all of the default-directory's to here
7511 from command-line.
7512 (command-line): Decode also argv[0].
7513
7514 * loadup.el: Error out if default-directory is a multibyte string
7515 when we are dumping.
7516
7517 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7518
7519 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7520
7521 * emacs-lisp/package.el (package-menu-mode)
7522 (package-menu--print-info, package-menu--archive-predicate):
7523 Add Archive column to package list.
7524
7525 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
7526
7527 Fix problems found while writing a test suite.
7528
7529 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7530 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7531 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7532 to nil when running original file name handler. Otherwise,
7533 there are problems with constructs like "$$FOO".
7534
7535 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7536 for `localname'.
7537
7538 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7539
7540 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7541
7542 * subr.el (version<, version<=, version=):
7543 Update docstrings with information for snapshot versions.
7544
7545 * helpers.el: New library for misc helper functions.
7546 (hash-table-keys): New function returning a list of hash keys.
7547 (hash-table-values): New function returning a list of hash values.
7548
7549 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7550
7551 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7552 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7553
7554 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
7555
7556 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7557 checking whether point is after a 1-letter word.
7558
7559 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7560
7561 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7562 Don't infloop when expanding region over `multiline' syntax-type that
7563 begins a line (bug#15778).
7564
7565 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7566
7567 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7568 Make it into a proper minor mode.
7569 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
7570 (rectangle-mark-mode-map): New keymap.
7571 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7572
7573 2013-11-04 Glenn Morris <rgm@gnu.org>
7574
7575 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7576
7577 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7578
7579 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7580 (ruby-smie-rules): Use smie-rule-parent instead.
7581
7582 * emacs-lisp/smie.el (smie-rule-parent): Always call
7583 smie-indent-virtual rather than only for hanging tokens.
7584 (smie--next-indent-change): New helper command.
7585
7586 2013-11-03 Glenn Morris <rgm@gnu.org>
7587
7588 * Makefile.in (abs_srcdir): Remove.
7589 (emacs): Unset EMACSLOADPATH.
7590
7591 2013-11-02 Glenn Morris <rgm@gnu.org>
7592
7593 * Makefile.in (EMACS): Use a relative filename.
7594 (abs_top_builddir): Remove.
7595 (custom-deps, finder-data, autoloads): Use --chdir.
7596
7597 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7598
7599 Use relative filenames in TAGS files.
7600 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7601 (lisptagsfiles4, TAGS): Use relative file names.
7602 (TAGS-LISP): Remove.
7603 (maintainer-clean): No more TAGS-LISP file.
7604
7605 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7606 (lisptagsfiles4): Use absolute filenames again.
7607 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7608 Remove all *loaddefs files, not just the first. Remove esh-groups.
7609 (maintainer-clean): Delete TAGS, TAGS-LISP.
7610
7611 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7612
7613 * emacs-lisp/package.el (package-version-join):
7614 Recognize snapshot versions.
7615
7616 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7617
7618 * subr.el (version-regexp-alist): Add support for snapshot versions.
7619
7620 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7621
7622 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7623 New function, replacement for `smie-rule-parent' for when we want to
7624 skip over our direct parent if it's an assignment token..
7625 (ruby-smie-rules): Use it.
7626
7627 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7628
7629 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7630 unconditionally. Remove now unnecessary forward declarations.
7631 Remove XEmacs-specific setup.
7632 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7633 (ruby-font-lock-syntactic-keywords)
7634 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7635 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7636 (ruby-here-doc-end-syntax): Remove.
7637 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7638 defined as function.
7639
7640 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7641
7642 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7643
7644 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7645
7646 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7647 table and abbrev table, `define-derived-mode' does that for us
7648 anyway.
7649
7650 2013-11-01 Glenn Morris <rgm@gnu.org>
7651
7652 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7653 files is atomic for some time, so no parallel compilation issues).
7654
7655 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7656
7657 * faces.el (face-x-resources): Add :distant-foreground.
7658 (region): Use :distant-foreground for gtk and ns.
7659
7660 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7661
7662 Allow multiple bibliographies when BibLaTeX is used rather than
7663 BibTeX.
7664 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7665 (reftex-locate-bibliography-files): Us it.
7666
7667 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7668
7669 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7670 allow comments in pbm files.
7671
7672 * term/w32-win.el (dynamic-library-alist): Support newer versions
7673 of libjpeg starting with v7: look only for the DLL from the
7674 version against which Emacs was built.
7675 Support versions of libpng beyond 1.4.x.
7676 Support libtiff v4.x.
7677
7678 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7679
7680 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7681 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7682 Add property :safe.
7683 (ruby-deep-arglist): Add property :type.
7684
7685 2013-10-31 Glenn Morris <rgm@gnu.org>
7686
7687 * Makefile.in (custom-deps, finder-data): No need to setq the target
7688 variables, we are in the right directory and the defaults work fine.
7689
7690 2013-10-30 Glenn Morris <rgm@gnu.org>
7691
7692 * Makefile.in (autoloads): Do not use abs_lisp.
7693
7694 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7695 `newline' does not respect `standard-output', so use `princ'.
7696
7697 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7698
7699 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7700 * buff-menu.el (Buffer-menu--unmark): New function.
7701 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7702
7703 2013-10-30 Glenn Morris <rgm@gnu.org>
7704
7705 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7706
7707 * emacs-lisp/package.el (lm-homepage): Declare.
7708
7709 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7710 Fix doc typos.
7711
7712 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7713
7714 * Makefile.in (finder-data, autoloads, update-subdirs)
7715 (compile-main, compile-clean, compile-always, bootstrap-clean):
7716 Check return value of cd.
7717 (compile-calc): Remove.
7718
7719 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7720
7721 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7722
7723 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7724 (byte-compile-and-folded): New function.
7725 (=, <, >, <=, >=): Use it.
7726
7727 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7728 (path-separator, null-device, buffer-file-coding-system)
7729 (lpr-headers-switches): Check system-type before modifying them.
7730 (find-buffer-file-type-coding-system): Mark obsolete.
7731 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7732 find-file-not-found-set-buffer-file-coding-system.
7733 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7734 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7735 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7736 (w32-direct-print-region-helper, w32-direct-print-region-function)
7737 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7738 * startup.el (normal-top-level-add-subdirs-to-load-path):
7739 * ps-print.el (ps-print-region-function):
7740 * lpr.el (print-region-function): Use new name.
7741
7742 * subr.el (custom-declare-variable-early): Remove function.
7743 (custom-declare-variable-list): Remove var.
7744 (error, user-error): Remove `while' loop.
7745 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7746 (user-emacs-directory-warning, locate-user-emacs-file):
7747 Move to files.el.
7748 * simple.el (read-quoted-char-radix, read-quoted-char):
7749 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7750 Move from subr.el.
7751 * custom.el (custom-declare-variable-list): Don't process
7752 custom-declare-variable-list.
7753
7754 * progmodes/python.el (python-shell-get-buffer): New function.
7755 (python-shell-get-process): Use it.
7756 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7757 Python which encoding was used. Don't split-string since we only care
7758 about the first line. Return the temp-file, if applicable.
7759 (python-shell-send-region): Tell compile.el how to turn locations in
7760 the temp-file into locations in the source buffer.
7761
7762 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7763
7764 * subr.el (undefined): Add missing behavior from the C code for
7765 unbound keys.
7766
7767 * rect.el: Use lexical-binding. Add new rectangular region support.
7768 (rectangle-mark): New command.
7769 (rectangle--region): New var.
7770 (deactivate-mark-hook): Reset rectangle--region.
7771 (rectangle--extract-region, rectangle--insert-for-yank)
7772 (rectangle--highlight-for-redisplay)
7773 (rectangle--unhighlight-for-redisplay): New functions.
7774 (region-extract-function, redisplay-unhighlight-region-function)
7775 (redisplay-highlight-region-function): Use them to handle
7776 rectangular region.
7777 * simple.el (region-extract-function): New var.
7778 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7779 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7780 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7781 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7782 (redisplay-unhighlight-region-function)
7783 (redisplay-highlight-region-function): New vars.
7784 (redisplay--update-region-highlight): New function.
7785 (pre-redisplay-function): Use it.
7786 (exchange-point-and-mark): Don't deactivate the mark before
7787 reactivate-it anyway.
7788 * comint.el (comint-kill-region): Remove yank-handler argument.
7789 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7790 (delete-char): Remove property, since it's now part of their
7791 default behavior.
7792 (self-insert-iso): Remove property since this command doesn't exist.
7793
7794 * emacs-lisp/package.el (package--download-one-archive)
7795 (describe-package-1): Don't query the user about final newline.
7796
7797 2013-10-29 Daniel Colascione <dancol@dancol.org>
7798
7799 * net/tramp.el (tramp-methods): Document new functionality.
7800 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7801 tramp-hostname-checker if method provides one instead of scanning
7802 argument list for "%h" to decide hostname acceptability.
7803
7804 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7805
7806 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7807 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7808 Handle COPY-CONTENTS. (Bug#15737)
7809
7810 2013-10-28 Daiki Ueno <ueno@gnu.org>
7811
7812 * epa-file.el
7813 (epa-file-cache-passphrase-for-symmetric-encryption):
7814 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7815
7816 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7817
7818 * image.el (defimage, image-load-path): Doc fixes.
7819
7820 2013-10-27 Alan Mackenzie <acm@muc.de>
7821
7822 Indent statements in macros following "##" correctly.
7823 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7824 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7825
7826 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7827
7828 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7829
7830 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7831
7832 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7833 after `=' is probably a new expression.
7834
7835 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7836
7837 * man.el (man-imenu-title): New option.
7838 (Man-mode-map): Add menu. (Bug#15722)
7839 (Man-mode): Add imenu to menu.
7840
7841 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7842
7843 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7844 specific in what the first arg can be: a non-keyword word,
7845 string/regexp/percent literal opener, opening paren, or unary
7846 operator followed directly by word.
7847
7848 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7849
7850 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7851 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7852 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7853 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7854 Remove vars, they do not apply any more.
7855 (prolog-mode-abbrev-table): Remove redundant declaration.
7856 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7857 (prolog-use-smie): Remove.
7858 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7859 supported by prolog-electric-if-then-else-flag.
7860 (prolog-mode-variables, prolog-menu): Use setq-local.
7861 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7862 Remove binding to `Backspace' since this key doesn't exist anyway.
7863 Remove bindings for electric self-inserting keys.
7864 (prog-mode): Assume it's defined.
7865 (prolog-post-self-insert): New function.
7866 (prolog-mode): Use it.
7867 (prolog-indent-line, prolog-indent-level)
7868 (prolog-find-indent-of-matching-paren)
7869 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7870 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7871 (prolog-goto-next-paren, prolog-in-string-or-comment)
7872 (prolog-tokenize, prolog-inside-mline-comment)
7873 (prolog-find-start-of-mline-comment): Remove functions.
7874 (prolog-find-unmatched-paren, prolog-clause-end)
7875 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7876 (prolog-electric--if-then-else): Rename from
7877 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7878 (prolog-tokenize-searchkey): Remove const.
7879 (prolog-clause-info): Use forward-sexp.
7880 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7881 (prolog-electric-if-then-else): Remove commands.
7882 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7883 for use in post-self-insert-hook.
7884 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7885 for use in post-self-insert-hook.
7886 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7887 for use in post-self-insert-hook.
7888 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7889 adapt it for use in post-self-insert-hook.
7890
7891 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7892
7893 * emacs-lisp/ert.el (ert-run-tests-interactively):
7894 Use `completing-read'. (Bug#9756)
7895
7896 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7897
7898 * simple.el (line-move): Call line-move-1 instead of
7899 line-move-visual when the current window hscroll is zero, but
7900 temporary-goal-column indicates we will need to hscroll as result
7901 of the movement. (Bug#15712)
7902
7903 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7904
7905 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7906 capitalization. Use :visible instead of :active.
7907 Fix `ruby-indent-exp' reference. Add menu items for the generic
7908 commands that are used with SMIE.
7909 (ruby-do-end-to-brace): Insert space after `{'.
7910
7911 2013-10-25 John Anthony <john@jo.hnanthony.com>
7912
7913 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7914
7915 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7916
7917 2013-10-25 Glenn Morris <rgm@gnu.org>
7918
7919 * vc/vc.el (vc-print-log): Don't use a working revision unless
7920 one was explicitly specified. (Bug#15322)
7921
7922 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7923
7924 * subr.el (add-to-list): Preserve return value in compiler-macro
7925 (bug#15692).
7926
7927 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7928
7929 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7930 result. Ask user to retry using '-all' flag. (Bug#15701)
7931
7932 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7933
7934 * emacs-lisp/smie.el: New smie-config system.
7935 (smie-config): New defcustom.
7936 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7937 (smie-config-guess, smie-config-save): New commands.
7938 (smie-config--mode-local, smie-config--buffer-local)
7939 (smie-config--trace, smie-config--modefuns): New vars.
7940 (smie-config--advice, smie-config--mode-hook)
7941 (smie-config--setter, smie-config-local, smie-config--get-trace)
7942 (smie-config--guess-value, smie-config--guess): New functions.
7943 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7944 text properties. Treat "string fence" syntax like string syntax.
7945
7946 * progmodes/sh-script.el (sh-use-smie): Change default.
7947 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7948 (sh-var-value): Simplify by CSE.
7949 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7950 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7951 is used.
7952 (sh-guess-basic-offset): Use cl-incf.
7953 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7954
7955 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7956
7957 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7958 (bug#15699).
7959
7960 2013-10-24 Glenn Morris <rgm@gnu.org>
7961
7962 * Makefile.in (abs_top_srcdir): Remove.
7963 (update-subdirs): Use relative path to update-subdirs.
7964
7965 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7966
7967 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7968 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7969 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7970 Call unmsys--file-name before expand-file-name, not after it.
7971
7972 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7973
7974 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7975 (ert-test-skipped): New error.
7976 (ert-skip, ert-stats-skipped): New defuns.
7977 (ert--skip-unless): New macro.
7978 (ert-test-skipped): New struct.
7979 (ert--run-test-debugger, ert-test-result-type-p)
7980 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7981 (ert--stats-set-test-and-result, ert-char-for-test-result)
7982 (ert-string-for-test-result, ert-run-tests-batch)
7983 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7984 Handle skipped tests. (Bug#9803)
7985
7986 2013-10-24 Glenn Morris <rgm@gnu.org>
7987
7988 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7989
7990 * Makefile.in (abs_top_srcdir): New, set by configure.
7991 (update-subdirs): Correct build-aux location.
7992
7993 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7994
7995 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7996 value, whether we could auto-deduce `backend', or not.
7997
7998 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7999 with parameters" example. Simplify the "is it block or is it
8000 hash" check, but also make it more thorough.
8001
8002 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
8003
8004 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
8005
8006 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
8007
8008 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
8009 { if it is hanging.
8010
8011 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
8012 :before ";".
8013
8014 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
8015
8016 * progmodes/compile.el (compilation-directory-matcher)
8017 (compilation-page-delimiter):
8018 Support GNU Make-4.0 directory quoting. (Bug#15678)
8019
8020 2013-10-23 Leo Liu <sdl.web@gmail.com>
8021
8022 * ido.el (ido-tidy): Handle read-only text.
8023
8024 2013-10-23 Glenn Morris <rgm@gnu.org>
8025
8026 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
8027 (emacs, compile, compile-always):
8028 Quote entities that might contain whitespace.
8029 (custom-deps, finder-data, autoloads): Use abs_lisp.
8030 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8031 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8032 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
8033
8034 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
8035
8036 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
8037 Use `following-char'.
8038
8039 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
8040
8041 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
8042 * progmodes/ruby-mode.el (ruby-smie-rules):
8043 Remove corresponding workaround. Fix indentation rule of ";" so it
8044 also applies when ";" is the parent.
8045
8046 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
8047
8048 * frame.el (display-screens, display-pixel-height)
8049 (display-pixel-width, display-mm-width, display-backing-store)
8050 (display-save-under, display-planes, display-color-cells)
8051 (display-visual-class, display-monitor-attributes-list):
8052 Mention the optional ‘display’ argument in doc strings.
8053
8054 2013-10-22 Michael Gauland <mikelygee@amuri.net>
8055
8056 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
8057 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
8058
8059 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8060
8061 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
8062 TODO. Add "." after " @ ".
8063 (ruby-smie--at-dot-call): New function. Checks if point at method
8064 call with explicit target.
8065 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
8066 to the method name tokens when it precedes them.
8067 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
8068 (ruby-smie-rules): Add rule for indentation before and after "."
8069 token.
8070
8071 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
8072
8073 * textmodes/remember.el (remember-diary-extract-entries):
8074 Avoid add-to-list.
8075
8076 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
8077 an instruction.
8078
8079 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8080
8081 * progmodes/ruby-mode.el (ruby-smie-grammar):
8082 Add (almost) all infix operators.
8083 (ruby-smie--implicit-semi-p): Add new operator chars.
8084
8085 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8086 `smie-down-list'.
8087 (ruby-smie--args-separator-p): Check that there's no newline
8088 between method call and its arguments.
8089
8090 2013-10-20 Alan Mackenzie <acm@muc.de>
8091
8092 Allow comma separated lists after Java "implements".
8093
8094 * progmodes/cc-engine.el (c-backward-over-enum-header):
8095 Parse commas.
8096 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
8097 from a "disallowed" list in enum fontification.
8098
8099 2013-10-20 Johan Bockgård <bojohan@gnu.org>
8100
8101 * startup.el (default-frame-background-mode): Remove unused defvar.
8102
8103 * progmodes/verilog-mode.el (verilog-mode): Don't set
8104 comment-indent-function globally.
8105
8106 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
8107
8108 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
8109 Move Info menu item creation to ns-win.el.
8110
8111 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
8112 in menu bar.
8113
8114 * menu-bar.el: Move GNUstep specific menus...
8115
8116 * term/ns-win.el (ns-initialize-window-system): ... to here.
8117
8118 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8119
8120 * simple.el (newline): Only run post-self-insert-hook when
8121 called interactively.
8122
8123 2013-10-19 Johan Bockgård <bojohan@gnu.org>
8124
8125 * icomplete.el (icomplete-with-completion-tables): Add :version.
8126
8127 2013-10-19 Alan Mackenzie <acm@muc.de>
8128
8129 Fix fontification bugs with constructors and const.
8130
8131 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
8132 CASE 2) Remove the check for the absence of a suffix construct
8133 after a function declaration with only types (no identifiers) in
8134 the parentheses. Also, accept a function declaration with just a
8135 type inside the parentheses, if this type can be positively
8136 recognised as such, or if a prefix keyword like "explicit" nails
8137 down the construct as a declaration.
8138
8139 2013-10-19 Eli Zaretskii <eliz@gnu.org>
8140
8141 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
8142 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
8143 the problem whereby selecting a menu item that leads to a
8144 minibuffer prompt moves the cursor out of the minibuffer window,
8145 making it hard to type at the prompt. Suggested by Stefan Monnier
8146 <monnier@iro.umontreal.ca>.
8147
8148 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
8149
8150 * menu-bar.el: Don't make Services menu.
8151
8152 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8153
8154 * ffap.el: Handle "/usr/include/c++/<version>" directories.
8155 (ffap-alist): Use ffap-c++-mode for c++-mode.
8156 (ffap-c++-path): New variable.
8157 (ffap-c++-mode): New function.
8158
8159 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
8160
8161 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
8162
8163 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
8164
8165 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
8166 introduced on 2013-09-08, which results in an infinite loop
8167 requesting a password.
8168
8169 2013-10-18 Glenn Morris <rgm@gnu.org>
8170
8171 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
8172
8173 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
8174
8175 Sync with upstream verilog-mode revision 1a6ecec7.
8176 * progmodes/verilog-mode.el (verilog-mode-version): Update.
8177 (verilog-mode-release-date): Remove.
8178 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
8179 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
8180 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
8181 (verilog-auto-tieoff-ignore-regexp)
8182 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
8183 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
8184 (verilog-signals-with, verilog-dir-cache-preserving)
8185 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
8186 Doc fixes.
8187 (verilog-case-fold): New option, to control case folding in
8188 regexp searches, bug597.
8189 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
8190 (verilog-string-match-fold, verilog-in-paren-count)
8191 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
8192 (verilog-at-close-struct-p): New functions.
8193 (verilog-beg-block-re-ordered, verilog-extended-case-re)
8194 (verilog-forward-sexp, verilog-set-auto-endcomments)
8195 (verilog-leap-to-case-head): Handle "unique0" case.
8196 (verilog-in-constraint-re): New constant.
8197 (verilog-keywords, verilog-type-font-keywords):
8198 Add some SystemVerilog 1800-2012 keywords.
8199 (verilog-label-be): Remove unimplemented argument, bug669.
8200 (verilog-batch-execute-func): When batch expanding clear
8201 create-lockfiles to prevent spurious user locks when a file ends
8202 up not changing.
8203 (verilog-calculate-indent, verilog-calc-1)
8204 (verilog-at-close-constraint-p, verilog-at-constraint-p)
8205 (verilog-do-indent): Fix indentation of nested constraints
8206 and structures.
8207 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
8208 (verilog-auto-inst-param): Use verilog-string-match-fold.
8209 (verilog-read-inst-module-matcher):
8210 Fix AUTOINST on gate primitives with #1.
8211 (verilog-read-decls): Fix double-declaring user-defined typed signals.
8212 Reads all user-defined typed variables.
8213 (verilog-read-defines): Fix reading definitions inside comments, bug647.
8214 (verilog-signals-matching-regexp)
8215 (verilog-signals-not-matching-regexp, verilog-auto):
8216 Respect verilog-case-fold.
8217 (verilog-diff-report): Fix line count.
8218 (verilog-auto-assign-modport): Remove unused local `modi'.
8219 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
8220 better handle multidimensional arrays.
8221 Fix packed array ports misadding bit index in AUTOINST, bug637.
8222 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
8223 to not double-declare existing outputs and inputs, respectively.
8224 (verilog-template-map): Bind U to verilog-sk-uvm-component.
8225 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
8226 (verilog-sk-uvm-component): New skeleton.
8227 (verilog-submit-bug-report): Add verilog-case-fold,
8228 remove verilog-mode-release-date.
8229
8230 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
8231
8232 * subr.el (sit-for): Call (input-pending-p t) so as to behave
8233 as before.
8234
8235 2013-10-18 Reuben Thomas <rrt@sc3d.org>
8236
8237 * textmodes/remember.el (remember): Set buffer-offer-save in
8238 remember buffers (bug#13566).
8239
8240 2013-10-18 Daniel Colascione <dancol@dancol.org>
8241
8242 When evaluating forms in ielm, direct standard output to ielm
8243 buffer. Add new ielm-return-for-effect command. Remove trailing
8244 whitespace throughout.
8245
8246 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
8247 (ielm-return-for-effect): New command.
8248 (ielm-send-input): Accept optional `for-effect' parameter.
8249 (ielm-eval-input): Accept optional `for-effect' parameter.
8250 Bind `standard-output' to stream we create using
8251 `ielm-standard-output-impl'. Suppress printing result when
8252 `for-effect'.
8253 (ielm-standard-output-impl): New function.
8254 (inferior-emacs-lisp-mode): Explain new features in documentation.
8255
8256 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
8257
8258 Code cleanup.
8259
8260 * net/tramp.el (tramp-debug-message): Do not check for connection
8261 buffer.
8262 (tramp-message): Use "vector" connection property.
8263
8264 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
8265 (tramp-equal-remote, tramp-eshell-directory-change)
8266 * net/tramp-adb.el (tramp-adb-handle-copy-file)
8267 (tramp-adb-handle-rename-file)
8268 * net/tramp-cmds.el (tramp-list-remote-buffers)
8269 (tramp-cleanup-connection, tramp-cleanup-this-connection)
8270 * net/tramp-compat.el (tramp-compat-process-running-p)
8271 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
8272 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
8273 (tramp-gvfs-handle-rename-file)
8274 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8275 (tramp-set-file-uid-gid)
8276 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8277 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
8278 of `file-remote-p'.
8279
8280 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
8281 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8282 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
8283 (tramp-gw-open-network-stream): Suppress unrelated traces.
8284
8285 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
8286 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8287 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8288 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
8289 connection property.
8290
8291 * net/tramp-cache.el (top): Suppress traces when reading
8292 persistency file.
8293
8294 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8295 Refactor common code. Improve debug message.
8296 (tramp-maybe-open-connection)
8297 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
8298 connection buffer too early.
8299
8300 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
8301 from `tramp-smb-actions-with-acl'.
8302 (tramp-smb-actions-set-acl): New defconst.
8303 (tramp-smb-handle-copy-directory)
8304 (tramp-smb-action-get-acl): New defun, renamed from
8305 `tramp-smb-action-with-acl'.
8306 (tramp-smb-action-set-acl): New defun.
8307 (tramp-smb-handle-set-file-acl): Rewrite.
8308
8309 2013-10-17 Glenn Morris <rgm@gnu.org>
8310
8311 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
8312
8313 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8314
8315 * skeleton.el (skeleton-newline): Remove.
8316 (skeleton-internal-1): Use (insert "\n") instead.
8317
8318 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
8319 let-bindings.
8320
8321 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
8322 forward-sexp-function while we redo its job (bug#15613).
8323
8324 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
8325
8326 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
8327 represented by lists.
8328
8329 2013-10-16 Glenn Morris <rgm@gnu.org>
8330
8331 * tmm.el (tmm--history): New dynamic variable.
8332 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
8333
8334 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
8335
8336 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
8337 (tramp-smb-errors): Add error messages.
8338 (tramp-smb-actions-with-acl): New defconst.
8339 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
8340 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
8341 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
8342 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
8343 (tramp-smb-get-stat-capability): Fix tests.
8344
8345 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
8346
8347 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
8348 (bug#15580).
8349
8350 2013-10-16 Glenn Morris <rgm@gnu.org>
8351
8352 * ansi-color.el (ansi-color-drop-regexp):
8353 Add 1J, 1K, 2K. (Bug#15617)
8354
8355 * files.el (hack-local-variables--warned-lexical): New.
8356 (hack-local-variables):
8357 Warn about misplaced lexical-binding. (Bug#15616)
8358
8359 * net/eww.el (eww-render): Always set eww-current-url,
8360 and update header line. (Bug#15622)
8361 (eww-display-html): ... Rather than just doing it here.
8362
8363 2013-10-15 Eli Zaretskii <eliz@gnu.org>
8364
8365 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
8366 menu navigations commands.
8367
8368 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
8369
8370 * progmodes/subword.el (subword-capitalize): Be careful when
8371 the search for [[:alpha:]] fails (bug#15580).
8372
8373 2013-10-14 Eli Zaretskii <eliz@gnu.org>
8374
8375 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
8376 to commands that scroll the menu.
8377
8378 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
8379
8380 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
8381 Handle methods ending with `?' and `!'.
8382
8383 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
8384
8385 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8386 `japanese-cp932' to `cp932' to fix the problem where saving a
8387 source file written in Shift_JIS twice would end up having
8388 `coding: japanese-cp932' which Ruby could not recognize.
8389 (ruby-mode-set-encoding): Add support for encodings mapped to nil
8390 in `ruby-encoding-map'.
8391 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8392 doesn't need to be explicitly declared in magic comment.
8393 (ruby-encoding-map): Add type declaration for better customize UI.
8394
8395 2013-10-13 Glenn Morris <rgm@gnu.org>
8396
8397 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8398 Occur buffers are read-only. http://bugs.debian.org/720775
8399
8400 * emacs-lisp/authors.el (authors-fixed-entries):
8401 Comment out old alpha stuff.
8402
8403 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
8404
8405 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8406 to `after-save-hook' instead of `before-save-hook'.
8407 (ruby-mode-set-encoding): Use the value of coding system used to
8408 write the file. Call `basic-save-buffer-1' after modifying the
8409 buffer.
8410
8411 2013-10-13 Alan Mackenzie <acm@muc.de>
8412
8413 Fix indentation/fontification of Java enum with
8414 "implements"/generic.
8415
8416 * progmodes/cc-engine.el (c-backward-over-enum-header):
8417 Extracted from the three other places and enhanced to handle generics.
8418 (c-inside-bracelist-p): Uses new function above.
8419 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8420 function above.
8421 (c-font-lock-enum-tail): Uses new function above.
8422
8423 2013-10-13 Kenichi Handa <handa@gnu.org>
8424
8425 * international/mule-cmds.el (select-safe-coding-system): Remove a
8426 superfluous condition in chekcing whether a coding system is safe
8427 or not.
8428
8429 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
8430
8431 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
8432
8433 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
8434
8435 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
8436
8437 2013-10-13 Glenn Morris <rgm@gnu.org>
8438
8439 * menu-bar.el (menu-bar-update-buffers):
8440 Unify Buffers menu prompt string. (Bug#15576)
8441
8442 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
8443
8444 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8445 Add some entries.
8446 (authors-fixed-entries): Use accented form of name.
8447
8448 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8449
8450 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8451 method calls (bug#15594).
8452 (ruby-smie--args-separator-p): New function.
8453 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8454 recognize paren-free method calls.
8455
8456 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8457 internals of universal-argument.
8458
8459 2013-10-11 Eli Zaretskii <eliz@gnu.org>
8460
8461 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8462 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8463 dropped menu on second mouse click on the menu bar.
8464
8465 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8466
8467 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8468 (explicit-shell-file-name): Declare.
8469 (sh--vars-before-point, sh--cmd-completion-table): New functions.
8470 (sh-completion-at-point-function): New function.
8471 (sh-mode): Use it.
8472 (sh-smie--keyword-p): Remove unused argument.
8473 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8474 vars.
8475 (sh-set-shell): Always setup SMIE, even if we use the
8476 old indentation code.
8477
8478 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
8479
8480 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8481 cases of ? and =.
8482 (ruby-smie-rules): Simplify the "do" rule. The cases when the
8483 predicate would return nil are almost non-existent.
8484 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8485
8486 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8487 cache also after commands that modify the buffer but don't move
8488 point.
8489
8490 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8491
8492 * env.el (substitute-env-in-file-name): New function.
8493 (substitute-env-vars): Extend the meaning of the optional arg.
8494
8495 2013-10-10 Eli Zaretskii <eliz@gnu.org>
8496
8497 * term/w32-win.el (dynamic-library-alist): Define separate lists
8498 of GIF DLLs for versions before and after 5.0.0 of giflib.
8499 (Bug#15531)
8500
8501 2013-10-10 João Távora <joaotavora@gmail.com>
8502
8503 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8504 not locked, use last revision and current source as
8505 defaults. (Bug#15569)
8506
8507 2013-10-10 Masatake YAMATO <yamato@redhat.com>
8508
8509 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8510 menu-bar is hidden.
8511
8512 2013-10-10 Martin Rudalics <rudalics@gmx.at>
8513
8514 * window.el (pop-to-buffer-same-window): Fix doc-string.
8515 (Bug#15492)
8516
8517 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8518
8519 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8520
8521 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8522
8523 * calendar/icalendar.el (icalendar-import-file):
8524 Fix interactive spec. (Bug#15482)
8525
8526 2013-10-10 Glenn Morris <rgm@gnu.org>
8527
8528 * desktop.el (desktop-save): Default to saving in .emacs.d,
8529 since PWD is no longer in desktop-path by default. (Bug#15319)
8530
8531 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8532 now that text mode has a menu with the same entry.
8533 (menu-bar-text-mode-auto-fill): Remove now unused func.
8534 * textmodes/text-mode.el (text-mode-map):
8535 Use auto-fill help text from menu-bar.el.
8536
8537 2013-10-10 John Anthony <john@jo.hnanthony.com>
8538
8539 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8540
8541 2013-10-09 Juri Linkov <juri@jurta.org>
8542
8543 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8544 instead of this-command-keys. Add universal-argument-more and
8545 universal-argument-minus to the list of prefix commands. (Bug#15568)
8546
8547 2013-10-09 Glenn Morris <rgm@gnu.org>
8548
8549 * vc/vc-svn.el (vc-svn-create-repo):
8550 Expand paths in file://... url. (Bug#15446)
8551
8552 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8553 Add some entries.
8554 (authors): Remove unused local variables.
8555
8556 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8557
8558 * profiler.el: Create a more coherent calltree from partial backtraces.
8559 (profiler-format): Hide the tail with `invisible' so that C-s can still
8560 find the hidden elements.
8561 (profiler-calltree-depth): Don't recurse so enthusiastically.
8562 (profiler-function-equal): New hash-table-test.
8563 (profiler-calltree-build-unified): New function.
8564 (profiler-calltree-build): Use it.
8565 (profiler-report-make-name-part): Indent the calltree less.
8566 (profiler-report-mode): Add visibility specs for profiler-format.
8567 (profiler-report-expand-entry, profiler-report-toggle-entry):
8568 Expand the whole subtree when provided with a prefix arg.
8569
8570 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8571
8572 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8573 iuwu-mod token.
8574 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8575 hanging iuwu-mod token.
8576 (ruby-smie--forward-token): Do not include a dot after a token in
8577 that token.
8578 (ruby-smie--backward-token): Likewise.
8579
8580 2013-10-08 Juri Linkov <juri@jurta.org>
8581
8582 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8583 to isearch-other-control-char.
8584 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8585 and isearch-post-command-hook to post-command-hook.
8586 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8587 and isearch-post-command-hook from post-command-hook.
8588 (isearch-unread-key-sequence)
8589 (isearch-reread-key-sequence-naturally)
8590 (isearch-lookup-scroll-key, isearch-other-control-char)
8591 (isearch-other-meta-char): Remove functions.
8592 (isearch-pre-command-hook, isearch-post-command-hook):
8593 New functions based on isearch-other-meta-char rewritten
8594 relying on the new behavior of overriding-terminal-local-map
8595 that does not replace the local keymaps any more. (Bug#15200)
8596
8597 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8598
8599 Support menus on text-mode terminals.
8600 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8601 functionality.
8602
8603 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8604
8605 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8606 Move here from mouse.el.
8607 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8608 and arrow keys.
8609 (tty-menu-navigation-map): New map for TTY menu navigation.
8610
8611 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8612
8613 * frame.el (display-mouse-p): Report text-mode mouse as available
8614 on w32.
8615 (display-popup-menus-p): Report availability if mouse is
8616 available; don't condition on window-system.
8617
8618 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8619 (tty-menu-selected-face): New faces.
8620
8621 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8622
8623 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8624 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8625 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8626 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8627 New constants.
8628 (lisp-mode-variables): New `elisp' argument.
8629 (emacs-lisp-mode): Use it.
8630 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8631 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8632
8633 * indent.el: Use lexical-binding.
8634 (indent-region): Add progress reporter.
8635 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8636 last step.
8637 (indent--next-tab-stop): New function to implement this behavior.
8638 (tab-to-tab-stop, move-to-tab-stop): Use it.
8639
8640 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8641
8642 * indent.el (indent-rigidly--current-indentation): New function.
8643 (indent-rigidly-map): New var.
8644 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8645
8646 2013-10-08 Bastien Guerry <bzg@gnu.org>
8647
8648 * register.el (insert-register): Fix 2013-10-07 change.
8649
8650 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8651
8652 * progmodes/perl-mode.el: Use lexical-binding.
8653 Remove redundant :group args.
8654 (perl-nochange): Change default to be closer to other major modes's
8655 standard behavior.
8656 (perl-indent-line): Don't consider text on current line as a
8657 valid beginning of function from which to indent.
8658
8659 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8660 with more than one argument (bug#15538).
8661
8662 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8663
8664 * vc/pcvs.el: Use lexical-binding.
8665 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8666 environment of `eval'.
8667 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8668 than a list of expressions. Adjust callers.
8669 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8670
8671 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8672
8673 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8674 case of the dot in a chained method call being on the following line.
8675
8676 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8677
8678 * electric.el (electric-indent-inhibit): New var.
8679 (electric-indent-post-self-insert-function): Use it.
8680 * progmodes/python.el (python-mode): Set it.
8681
8682 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8683 open braces.
8684
8685 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8686
8687 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8688 (css-mode): Use electric-indent-chars.
8689
8690 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8691 (font-lock-beg, font-lock-end): Move before first use.
8692 (nxml-mode): Use syntax-propertize-function.
8693 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8694 (nxml-extend-after-change-region): Remove.
8695 * nxml/xmltok.el: Use lexical-binding.
8696 (xmltok-save): Use `declare'.
8697 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8698 * nxml/nxml-util.el: Use lexical-binding.
8699 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8700 Use `declare'.
8701 * nxml/nxml-ns.el: Use lexical-binding.
8702 (nxml-ns-save): Use `declare'.
8703 (nxml-ns-prefixes-for): Avoid add-to-list.
8704 * nxml/rng-match.el: Use lexical-binding.
8705 (rng--ipattern): Use cl-defstruct.
8706 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8707 (rng-cons-group-after, rng-subst-group-after)
8708 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8709 Use closures instead of `(lambda...).
8710
8711 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8712
8713 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8714 of BEG and END.
8715
8716 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8717 Use `tramp-handle-insert-file-contents'.
8718 (tramp-gvfs-handle-insert-file-contents): Remove function.
8719
8720 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8721 Use `save-restriction' in order to keep markers.
8722
8723 * net/trampver.el: Update release number.
8724
8725 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8726
8727 * progmodes/compile.el (compilation-parse-errors):
8728 Use compilation--put-prop.
8729 (compilation--ensure-parse): Check compilation-multiline.
8730
8731 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8732
8733 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8734 lexical-binding.
8735
8736 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8737
8738 * progmodes/ruby-mode.el: Fix recently added tests.
8739 (ruby-smie-grammar): Add - and +.
8740 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8741 (ruby-smie--backward-id): New functions.
8742 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8743 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8744 any more.
8745
8746 2013-10-07 Leo Liu <sdl.web@gmail.com>
8747
8748 * register.el (register-preview-delay)
8749 (register-preview-functions): New variables.
8750 (register-read-with-preview, register-preview)
8751 (register-describe-oneline): New functions.
8752 (point-to-register, window-configuration-to-register)
8753 (frame-configuration-to-register, jump-to-register)
8754 (number-to-register, view-register, insert-register)
8755 (copy-to-register, append-to-register, prepend-to-register)
8756 (copy-rectangle-to-register): Use register-read-with-preview to
8757 read register. (Bug#15525)
8758
8759 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8760
8761 * net/network-stream.el (network-stream-open-starttls): Don't add
8762 --insecure if it's already present, because that gnutls-cli
8763 rejects getting that parameter twice.
8764
8765 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8766
8767 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8768 keyword, too.
8769
8770 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8771
8772 * newcomment.el (comment-use-global-state): Change default value
8773 to t, mark obsolete (Bug#15251).
8774 (comment-beginning): In addition to `comment-to-syntax', check the
8775 value of `comment-use-global-state'.
8776
8777 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8778
8779 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8780 (ruby-comment-column): Follow the global default, by default.
8781 (ruby-smie-grammar): Add assignment syntax.
8782 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8783 open-paren, a comma, or a \.
8784 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8785 and line continuations.
8786 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8787 followed by implicit semi-colons. Add rule for string concatenation
8788 and for indentation at BOB.
8789 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8790
8791 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8792 calling next-sexp, since next-token may have skipped chars which
8793 next-sexp doesn't know should be skipped!
8794
8795 2013-10-05 Leo Liu <sdl.web@gmail.com>
8796
8797 * progmodes/octave.el (octave-send-region):
8798 Call compilation-forget-errors.
8799
8800 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8801
8802 * vc/vc-svn.el (vc-svn-find-admin-dir):
8803 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8804 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8805 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8806 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8807
8808 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8809
8810 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8811
8812 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8813
8814 * subr.el (read-passwd): Hide chars even when called within a context
8815 where after-change-functions is disabled (bug#15501).
8816 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8817 until we removed ourself from overriding-terminal-local-map.
8818
8819 2013-10-04 Leo Liu <sdl.web@gmail.com>
8820
8821 * progmodes/octave.el (inferior-octave-mode):
8822 Call compilation-forget-errors.
8823
8824 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8825
8826 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8827
8828 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8829
8830 * net/secrets.el (secrets-create-collection): Add optional
8831 argument ALIAS. Use proper Label keyword. Append ALIAS as
8832 dbus-call-method argument. (Bug#15516)
8833
8834 2013-10-04 Leo Liu <sdl.web@gmail.com>
8835
8836 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8837 (inferior-octave-compilation-font-lock-keywords): New variables.
8838 (compilation-error-regexp-alist)
8839 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8840 (inferior-octave-mode): Use compilation-shell-minor-mode.
8841
8842 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8843
8844 * minibuffer.el (completion--replace): Be careful that `end' might be
8845 a marker.
8846
8847 2013-10-03 Daiki Ueno <ueno@gnu.org>
8848
8849 Add support for package signature checking.
8850 * emacs-lisp/package.el (url-http-file-exists-p)
8851 (epg-make-context, epg-context-set-home-directory)
8852 (epg-verify-string, epg-context-result-for)
8853 (epg-signature-status, epg-signature-to-string)
8854 (epg-check-configuration, epg-configuration)
8855 (epg-import-keys-from-file): Declare.
8856 (package-check-signature): New user option.
8857 (package-unsigned-archives): New user option.
8858 (package-desc): Add `signed' field.
8859 (package-load-descriptor): Set `signed' field if .signed file exists.
8860 (package--archive-file-exists-p): New function.
8861 (package--check-signature): New function.
8862 (package-install-from-archive): Check package signature.
8863 (package--download-one-archive): Check archive signature.
8864 (package-delete): Remove .signed file.
8865 (package-import-keyring): New command.
8866 (package-refresh-contents): Import default keyring.
8867 (package-desc-status): Add "unsigned" status.
8868 (describe-package-1, package-menu--print-info)
8869 (package-menu-mark-delete, package-menu--find-upgrades)
8870 (package-menu--status-predicate): Support "unsigned" status.
8871
8872 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8873
8874 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8875 the new compilation scheme using the new byte-codes.
8876
8877 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8878 (byte-pophandler): New byte codes.
8879 (byte-goto-ops): Adjust accordingly.
8880 (byte-compile--use-old-handlers): New var.
8881 (byte-compile-catch): Use new byte codes depending on
8882 byte-compile--use-old-handlers.
8883 (byte-compile-condition-case--old): Rename from
8884 byte-compile-condition-case.
8885 (byte-compile-condition-case--new): New function.
8886 (byte-compile-condition-case): New function that dispatches depending
8887 on byte-compile--use-old-handlers.
8888 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8889 when we can.
8890
8891 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8892 Optimize under `condition-case' and `catch' if
8893 byte-compile--use-old-handlers is nil.
8894 (disassemble-offset): Handle new bytecodes.
8895
8896 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8897
8898 * subr.el (error): Use `declare'.
8899 (decode-char, encode-char): Use advertised-calling-convention instead
8900 of the docstring to discourage use of the `restriction' arg.
8901
8902 2013-10-03 Daiki Ueno <ueno@gnu.org>
8903
8904 * epg.el (epg-verify-file): Add a comment saying that it does not
8905 notify verification error as a return value nor a signal.
8906 (epg-verify-string): Ditto.
8907
8908 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8909
8910 * progmodes/compile.el (compilation-start): Try globbing the arg to
8911 `cd' (bug#15417).
8912
8913 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8914
8915 Sync with Tramp 2.2.8.
8916
8917 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8918 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8919 * net/trampver.el: Update release number.
8920
8921 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8922
8923 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8924 and default-process-coding-system for darwin only.
8925
8926 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8927
8928 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8929
8930 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8931
8932 * vc/vc-git.el (vc-git-grep): Disable pager.
8933
8934 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8935
8936 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8937 Use :url instead of :homepage, as per
8938 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8939
8940 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8941 non-nil, use `syntax-ppss' (Bug#15251).
8942
8943 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8944
8945 * progmodes/octave.el (inferior-octave-startup-file):
8946 Prefer ~/.emacs.d/init_octave.m.
8947
8948 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8949
8950 * emacs-lisp/package.el (package-desc-from-define):
8951 Accept additional arguments as plist, convert them to an alist and store
8952 them in the `extras' slot.
8953 (package-generate-description-file): Convert extras alist back to
8954 plist and append to the `define-package' form arguments.
8955 (package--alist-to-plist): New function.
8956 (package--ac-desc): Add `extras' slot.
8957 (package--add-to-archive-contents): Check if the archive-contents
8958 vector is long enough, and if it is, pass its `extras' slot value
8959 to `package-desc-create'.
8960 (package-buffer-info): Call `lm-homepage', pass the returned value
8961 to `package-desc-from-define'.
8962 (describe-package-1): Render the homepage button (Bug#13291).
8963
8964 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8965 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8966
8967 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8968
8969 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8970 and default-process-coding-system to utf-8-unix (Bug#15402).
8971
8972 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8973
8974 * subr.el (looking-back): Do not recommend using looking-back.
8975
8976 2013-09-28 Alan Mackenzie <acm@muc.de>
8977
8978 Fix indentation/fontification of Java enum with "implements".
8979
8980 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8981 regexp which matches "implements", etc., in Java.
8982 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8983 specifier clauses coming after "enum".
8984 * progmodes/cc-fonts.el (c-font-lock-declarations)
8985 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8986 after "enum".
8987
8988 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8989
8990 * faces.el (region): Change ns_selection_color to
8991 ns_selection_fg_color, add ns_selection_bg_color.
8992
8993 2013-09-28 Leo Liu <sdl.web@gmail.com>
8994
8995 * progmodes/octave.el (inferior-octave-completion-table)
8996 (inferior-octave-completion-at-point): Minor tweaks.
8997
8998 * textmodes/ispell.el (ispell-lookup-words): Rename from
8999 lookup-words. (Bug#15460)
9000 (lookup-words): Obsolete.
9001 (ispell-complete-word, ispell-command-loop): All uses changed.
9002
9003 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9004
9005 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
9006 (octave-mode-menu): Add octave-send-buffer.
9007 (octave-send-buffer): New function.
9008
9009 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9010
9011 * progmodes/octave.el (octave-mode-map): Add key binding for
9012 octave-lookfor.
9013 (octave-mode-menu): Add octave-lookfor.
9014 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
9015 octave-lookfor.
9016 (octave-lookfor): New function.
9017
9018 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9019
9020 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
9021 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
9022 its convention.
9023 (cl--loop-set-iterator-function): New function.
9024 (cl-loop): Adjust accordingly, so as not to use cl-subst.
9025 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
9026 Bind `it' with `let' instead of substituting it with `cl-subst'.
9027 (cl--unused-var-p): New function.
9028 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
9029 Eliminate some unused variable warnings (bug#15326).
9030
9031 2013-09-27 Tassilo Horn <tsdh@gnu.org>
9032
9033 * doc-view.el (doc-view-scale-reset): Rename from
9034 `doc-view-reset-zoom-level'.
9035 (doc-view-scale-adjust): New command.
9036 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
9037 `doc-view-scale-adjust'.
9038
9039 2013-09-26 Tassilo Horn <tsdh@gnu.org>
9040
9041 * doc-view.el (doc-view-reset-zoom-level): New command.
9042 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
9043 zoom commands (bug#15466).
9044
9045 2013-09-26 Kenichi Handa <handa@gnu.org>
9046
9047 * international/quail.el (quail-help): Make it not a command.
9048
9049 2013-09-26 Leo Liu <sdl.web@gmail.com>
9050
9051 * minibuffer.el (completion-all-sorted-completions): Make args
9052 optional as they are.
9053
9054 2013-09-25 Daniel Colascione <dancol@dancol.org>
9055
9056 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
9057 specs are and that they're not evaluated.
9058
9059 2013-09-24 Sam Steingold <sds@gnu.org>
9060
9061 * midnight.el (clean-buffer-list-kill-regexps)
9062 (clean-buffer-list-kill-buffer-names): Update for the new Man
9063 buffer naming which includes the object name.
9064
9065 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9066
9067 * eshell/esh-cmd.el (eshell--sep-terms): New var.
9068 (eshell-parse-command, eshell-parse-pipeline): Use it since
9069 eshell-separate-commands requires a dynamic scoped var.
9070 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
9071
9072 2013-09-23 Leo Liu <sdl.web@gmail.com>
9073
9074 * autoinsert.el (auto-insert-alist): Make the value of
9075 lexical-binding match its file setting.
9076
9077 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
9078
9079 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
9080
9081 * autoarg.el (autoarg-kp-digit-argument):
9082 * electric.el (Electric-command-loop):
9083 * kmacro.el (kmacro-step-edit-insert):
9084 Do not set universal-argument-num-events.
9085
9086 2013-09-22 Leo Liu <sdl.web@gmail.com>
9087
9088 * files.el (interpreter-mode-alist): Add octave.
9089
9090 2013-09-21 Alan Mackenzie <acm@muc.de>
9091
9092 C++: fontify identifier in declaration following "public:" correctly.
9093 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
9094 to match "public", etc.
9095 (c-decl-prefix-re): Add ":" into the C++ value.
9096 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
9097 bit. Add a check for a ":" preceded by "public", etc.
9098
9099 2013-09-21 Eli Zaretskii <eliz@gnu.org>
9100
9101 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
9102 recognized by GDB 7.5 and later.
9103
9104 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
9105
9106 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
9107
9108 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9109
9110 * subr.el (internal--call-interactively): New const.
9111 (called-interactively-p): Use it (bug#3984).
9112
9113 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
9114
9115 * vc/pcvs.el (cvs-mode-ignore):
9116 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
9117 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
9118
9119 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9120
9121 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
9122 (eshell-ls-orig-insert-directory): Remove.
9123 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
9124 (eshell-ls-use-in-dired): Use advice-add/remove.
9125 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
9126 Add `orig-fun' arg for use in :around advice.
9127 Make it check (redundantly) eshell-ls-use-in-dired.
9128
9129 2013-09-19 Glenn Morris <rgm@gnu.org>
9130
9131 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
9132
9133 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
9134
9135 * emacs-lisp/eieio.el (class-parent): Undo previous change.
9136
9137 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
9138
9139 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
9140 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
9141 (tramp-get-remote-python): New defuns.
9142 (tramp-get-remote-uid-with-perl)
9143 (tramp-get-remote-gid-with-perl): New defuns. Perl code
9144 contributed by yary <not.com@gmail.com> (tiny change).
9145 (tramp-get-remote-uid-with-python)
9146 (tramp-get-remote-gid-with-python): New defuns. Python code
9147 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
9148 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
9149
9150 2013-09-19 Glenn Morris <rgm@gnu.org>
9151
9152 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
9153
9154 * eshell/em-unix.el (eshell-remove-entries):
9155 Rename argument to avoid name-clash with global `top-level'.
9156
9157 * eshell/esh-proc.el (eshell-kill-process-function):
9158 Remove eshell-reset-after-proc from eshell-kill-hook if present.
9159 (eshell-reset-after-proc): Remove unused arg `proc'.
9160
9161 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
9162 (directory-files-and-attributes): Mark unused arg.
9163
9164 * eshell/em-unix.el (eshell-remove-entries):
9165 Remove unused arg `path'. Update callers.
9166
9167 * eshell/em-hist.el (eshell-hist-parse-arguments):
9168 Remove unused arg `silent'. Update callers.
9169
9170 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
9171 Fix (f)boundp mix-up.
9172
9173 * eshell/em-smart.el (eshell-smart-scroll-window)
9174 (eshell-disable-after-change):
9175 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
9176
9177 2013-09-18 Alan Mackenzie <acm@muc.de>
9178
9179 Fix fontification of type when followed by "const".
9180 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
9181 "known" types from fontification.
9182
9183 2013-09-18 Glenn Morris <rgm@gnu.org>
9184
9185 * emacs-lisp/chart.el (x-display-color-cells): Declare.
9186 (chart-face-list): Drop Emacsen without display-color-p.
9187
9188 * net/eww.el (libxml-parse-html-region): Declare.
9189 (eww-display-html): Explicit error if no libxml2 support.
9190
9191 * doc-view.el (doc-view-mode): Silence --without-x compilation.
9192
9193 * image.el (image-type-from-buffer, image-multi-frame-p):
9194 Remove --without-x warning/error.
9195
9196 * mouse.el (mouse-yank-primary):
9197 * term.el (term-mouse-paste):
9198 Reorder to silence --without-x compilation.
9199
9200 * mpc.el (doc-view-mode): Silence --without-x compilation.
9201
9202 * mail/rmailmm.el (rmail-mime-set-bulk-data):
9203 Silence --without-x compilation.
9204
9205 * progmodes/gud.el (gud-find-file, gud-mode):
9206 Silence --without-x compilation.
9207 (tooltip-mode): Declare.
9208
9209 * wdired.el (dired-backup-overwrite): Remove declaration.
9210 (wdired-mode-map): Add doc string.
9211
9212 * custom.el (x-get-resource): Declare.
9213
9214 * eshell/em-glob.el (ange-cache):
9215 * eshell/em-unix.el (ange-cache): Declare.
9216
9217 * faces.el (x-display-list, x-open-connection, x-get-resource):
9218 Declare.
9219
9220 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
9221 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
9222 Declare.
9223
9224 * frame.el (x-display-grayscale-p, x-display-name): Declare.
9225
9226 * net/gnutls.el (gnutls-log-level): Declare.
9227
9228 * net/shr.el (image-size, image-animate): Declare.
9229
9230 * simple.el (font-info): Declare.
9231
9232 * subr.el (x-popup-dialog): Declare.
9233
9234 * term/common-win.el (x-select-enable-primary)
9235 (x-last-selected-text-primary, x-last-selected-text-clipboard):
9236 Declare.
9237
9238 * term/ns-win.el (x-handle-args): Declare.
9239
9240 * term/x-win.el (x-select-enable-clipboard): Declare.
9241
9242 * term/w32-win.el (create-default-fontset): Declare.
9243
9244 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
9245 Declare.
9246
9247 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
9248 (fit-frame-to-buffer): Explicit error if --without-x.
9249 (mouse-autoselect-window-select): Silence compiler.
9250
9251 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9252
9253 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
9254 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
9255 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
9256 * eshell/esh-util.el (eshell-sublist):
9257 Remove unused local variables.
9258
9259 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
9260
9261 * textmodes/two-column.el: Make 2C-split work for --without-x.
9262 (scroll-bar-columns): Autoload.
9263 (top-level): Require fringe when compiling.
9264
9265 2013-09-18 Leo Liu <sdl.web@gmail.com>
9266
9267 * subr.el (add-hook): Robustify to handle closure as well.
9268
9269 2013-09-17 Glenn Morris <rgm@gnu.org>
9270
9271 * simple.el (messages-buffer-mode-map): Unbind "g".
9272
9273 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9274
9275 * help-mode.el (help-mode-finish): Use derived-mode-p.
9276 Remove obsolete highlighting.
9277
9278 * play/life.el (life-mode): Use define-derived-mode. Derive from
9279 special-mode.
9280 (life): Let-bind inhibit-read-only.
9281 (life-setup): Avoid `setq'. Use `life-mode'.
9282
9283 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
9284 which should not be needed any more.
9285 (package-menu-refresh, package-menu-describe-package): Use user-error.
9286
9287 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
9288 (eshell-post-rewrite-command-hook): Make obsolete.
9289 (eshell-parse-command): Simplify.
9290 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
9291 (eshell--cmd): Declare.
9292 (eshell-parse-pipeline): Remove unused var `final-p'.
9293 Pass a dynvar to eshell-post-rewrite-command-hook.
9294 Implement the new eshell-post-rewrite-command-function.
9295 (eshell-invoke-directly): Remove unused arg `input'.
9296 * eshell/esh-io.el (eshell-io-initialize):
9297 Use eshell-post-rewrite-command-function (bug#15399).
9298 (eshell--apply-redirections): Rename from eshell-apply-redirections;
9299 adjust to new calling convention.
9300 (eshell-create-handles): Rename args to avoid clashing with dynvar
9301 `standard-output'.
9302
9303 2013-09-17 Glenn Morris <rgm@gnu.org>
9304
9305 * simple.el (messages-buffer-mode): New major mode.
9306 (messages-buffer): New function.
9307 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
9308 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
9309 (ert-run-test): Use `messages-buffer' function.
9310 (ert--force-message-log-buffer-truncation): Ignore read-only.
9311 * help.el (view-echo-area-messages): Use `messages-buffer' function.
9312 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
9313
9314 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9315
9316 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
9317
9318 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
9319
9320 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9321
9322 * icomplete.el (icomplete-in-buffer): New var.
9323 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
9324 vars and replace them with functions.
9325 (icomplete-minibuffer-setup): Adjust accordingly.
9326 (icomplete--completion-table, icomplete--completion-predicate)
9327 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
9328 New functions.
9329 (icomplete-forward-completions, icomplete-backward-completions)
9330 (icomplete-simple-completing-p, icomplete-exhibit)
9331 (icomplete-completions): Use them.
9332 (icomplete--in-region-buffer): New var.
9333 (icomplete--in-region-setup): New function.
9334 (icomplete-mode): Use it.
9335
9336 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
9337 (bug#15379).
9338 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
9339 return args and options.
9340 (eshell-eval-using-options): Use the new return value of
9341 eshell--do-opts to set the options's vars in their scope.
9342 (eshell--set-option): Rename from eshell-set-option.
9343 Add arg `opt-vals'.
9344 (eshell--process-option): Rename from eshell-process-option.
9345 Add arg `opt-vals'.
9346 (eshell--process-args): Use an `opt-vals' alist to store the options's
9347 values during their processing and return them additionally to the
9348 remaining args.
9349
9350 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
9351
9352 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
9353 continuation character an operator, as far as indentation is
9354 concerned (Bug#15369).
9355
9356 2013-09-15 Martin Rudalics <rudalics@gmx.at>
9357
9358 * window.el (window--state-put-2): Don't process buffer state
9359 when buffer doesn't exist any more (Bug#15382).
9360
9361 2013-09-15 Glenn Morris <rgm@gnu.org>
9362
9363 * eshell/em-unix.el (eshell/rm):
9364 Make -f ignore missing files. (Bug#15373)
9365
9366 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
9367 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
9368 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
9369
9370 2013-09-14 Glenn Morris <rgm@gnu.org>
9371
9372 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
9373
9374 2013-09-13 Glenn Morris <rgm@gnu.org>
9375
9376 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
9377 (dired-guess-default): Make `file' available in the env. (Bug#15363)
9378
9379 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
9380
9381 * frame.el (x-focus-frame): Mark as declared in frame.c.
9382
9383 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9384
9385 * ls-lisp.el: Use advice-add.
9386 (original-insert-directory): Remove.
9387 (ls-lisp--insert-directory): Rename from insert-directory; add
9388 `orig-fun' argument.
9389 (insert-directory): Advise.
9390
9391 2013-09-13 Eli Zaretskii <eliz@gnu.org>
9392
9393 * term.el (term-emulate-terminal): Decode the command string
9394 before passing it to term-command-hook. (Bug#15337)
9395
9396 2013-09-13 Glenn Morris <rgm@gnu.org>
9397
9398 * eshell/esh-util.el (ange-cache): Move declaration earlier.
9399
9400 * eshell/esh-ext.el (eshell-search-path): Declare.
9401
9402 * eshell/em-prompt.el (eshell/pwd): Autoload it.
9403 Otherwise an error occurs if eshell-dirs module not loaded.
9404
9405 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9406
9407 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
9408
9409 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9410 `tramp-check-proper-host'. Check for a valid method name.
9411
9412 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9413 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9414 * net/tramp-sh.el (tramp-maybe-open-connection):
9415 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9416
9417 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9418 also for hash values.
9419
9420 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9421
9422 * term/ns-win.el (parameters): Don't declare as dynamic.
9423 (before-make-frame-hook): Don't add ineffective function.
9424
9425 * eshell/*.el: Use lexical-binding (bug#15231).
9426
9427 2013-09-12 Kenichi Handa <handa@gnu.org>
9428
9429 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9430
9431 2013-09-12 Glenn Morris <rgm@gnu.org>
9432
9433 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9434 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9435
9436 * subr.el (do-after-load-evaluation): Also give compiler warnings
9437 when obsolete files are used (except by obsolete files).
9438
9439 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9440 in the status output, assume `filename' is the first. (Bug#15322)
9441
9442 * vc/vc.el (vc-deduce-fileset): Doc fix.
9443
9444 * calc/calc-help.el (Info-goto-node):
9445 * progmodes/cperl-mode.el (Info-find-node):
9446 * vc/ediff.el (Info-goto-node): Update declarations.
9447
9448 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9449
9450 * vc/vc-bzr.el (vc-compilation-mode): Declare.
9451 (vc-bzr-pull): Require vc-dispatcher.
9452 * vc/vc-git.el (vc-compilation-mode): Declare.
9453 (vc-git-pull): Require vc-dispatcher.
9454
9455 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9456
9457 * progmodes/octave.el (help-button-action): Declare.
9458
9459 * shell.el (shell-directory-tracker): Output error as a message
9460 rather than just returning it as a string.
9461 (shell-process-pushd): Remove useless use of message.
9462
9463 * dframe.el (dframe-timer-fn):
9464 * files.el (dir-locals-read-from-file):
9465 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9466 (mpc-format):
9467 * reveal.el (reveal-post-command):
9468 * saveplace.el (load-save-place-alist-from-file):
9469 * shell.el (shell-resync-dirs):
9470 * w32-common-fns.el (x-get-selection-value):
9471 * emacs-lisp/copyright.el (copyright-find-copyright):
9472 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9473 * emulation/tpu-edt.el (tpu-copy-keyfile):
9474 * play/bubbles.el (bubbles--mark-neighbourhood):
9475 * progmodes/executable.el
9476 (executable-make-buffer-file-executable-if-script-p):
9477 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9478
9479 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9480
9481 Cleanup Eshell to rely less on dynamic scoping.
9482 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9483 last-value, and ext-command here. Bind `args' closer to `body'.
9484 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9485 (eshell--args): Declare new dynamic var.
9486 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
9487 last-value, and ext-command. Pass `args' to `body'.
9488 (eshell-process-args): Bind eshell--args.
9489 (eshell-set-option): Use eshell--args.
9490 * eshell/eshell.el (eshell): Use derived-mode-p.
9491 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9492 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9493 (eshell-glob-function): Declare.
9494 * eshell/esh-util.el: Require cl-lib.
9495 (eshell-read-hosts-file): Avoid add-to-list.
9496 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9497 `err'.
9498 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9499 Declare.
9500 (eshell/diff): Remove unused var `err'.
9501 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9502 `killflag'.
9503 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9504 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9505 first use.
9506 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9507 Move declaration before first use.
9508 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9509 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9510 rely on cl-return.
9511
9512 2013-09-12 Glenn Morris <rgm@gnu.org>
9513
9514 * term/ns-win.el (global-map): Remove binding for ispell-next,
9515 deleted 1999-05-29. (Bug#15357)
9516
9517 2013-09-11 Glenn Morris <rgm@gnu.org>
9518
9519 * echistory.el (electric-command-history): Remove call to deleted func.
9520
9521 * play/landmark.el (landmark-mode): Fix typos.
9522
9523 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9524 Check cvs-sort-ignore-file is bound.
9525
9526 * savehist.el: No need for cl when compiling on Emacs.
9527
9528 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9529
9530 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9531 (bug#15338).
9532 (eshell-self-insert-command, eshell-send-invisible):
9533 Remove unused argument.
9534 (eshell-handle-control-codes): Remove unused var `orig'.
9535 Avoid delete-backward-char.
9536
9537 * files.el (set-auto-mode): Simplify a bit further.
9538
9539 2013-09-11 Glenn Morris <rgm@gnu.org>
9540
9541 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9542 (set-auto-mode): Don't regexp-quote elements.
9543 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9544 * progmodes/cc-mode.el (interpreter-mode-alist):
9545 * progmodes/ruby-mode.el (interpreter-mode-alist):
9546 Revert previous change.
9547
9548 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9549
9550 * play/snake.el (snake-mode):
9551 * play/mpuz.el (mpuz-mode):
9552 * play/landmark.el (lm-mode):
9553 * play/blackbox.el (blackbox-mode):
9554 * play/5x5.el (5x5-mode):
9555 * obsolete/options.el (Edit-options-mode):
9556 * net/quickurl.el (quickurl-list-mode):
9557 * net/newst-treeview.el (newsticker-treeview-mode):
9558 * mail/rmailsum.el (rmail-summary-mode):
9559 * mail/mspools.el (mspools-mode):
9560 * locate.el (locate-mode):
9561 * ibuffer.el (ibuffer-mode):
9562 * emulation/ws-mode.el (wordstar-mode):
9563 * emacs-lisp/debug.el (debugger-mode):
9564 * array.el (array-mode):
9565 * net/eudc.el (eudc-mode): Use define-derived-mode.
9566 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9567 Move initialization into declaration.
9568 (mairix-searches-mode): Use define-derived-mode.
9569 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9570 (eudc-edit-hotlist): Use dolist.
9571 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9572 (Man-mode): Use define-derived-mode.
9573 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9574 (Info-edit-mode): Use define-derived-mode.
9575 (Info-cease-edit): Use Info-mode.
9576 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9577 into declaration.
9578 (eshell-mode): Use define-derived-mode.
9579 * chistory.el (command-history-mode-map): Rename from
9580 command-history-map.
9581 (command-history-mode): Use define-derived-mode.
9582 (Command-history-setup): Remove function.
9583 * calc/calc.el (calc-trail-mode-map): New var.
9584 (calc-trail-mode): Use define-derived-mode.
9585 (calc-trail-buffer): Set calc-main-buffer manually.
9586 * bookmark.el (bookmark-insert-annotation): New function.
9587 (bookmark-edit-annotation): Use it.
9588 (bookmark-edit-annotation-mode): Make it a proper major mode.
9589 (bookmark-send-edited-annotation): Use derived-mode-p.
9590 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9591 closer to its ideal place. Use \' to match EOS.
9592
9593 * profiler.el (profiler-calltree-find): Use function-equal.
9594
9595 2013-09-10 Glenn Morris <rgm@gnu.org>
9596
9597 * files.el (interpreter-mode-alist): Convert to regexps.
9598 (set-auto-mode): Adapt for this. (Bug#15306)
9599 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9600 Comment out unused variable.
9601 * progmodes/cc-mode.el (interpreter-mode-alist):
9602 * progmodes/python.el (interpreter-mode-alist):
9603 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9604 * progmodes/sh-script.el (sh-set-shell):
9605 No longer use interpreter-mode-alist to get list of shells.
9606
9607 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9608
9609 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9610
9611 * simple.el: Use set-temporary-overlay-map for universal-argument.
9612 (universal-argument-map): Don't use default-bindings (bug#15317).
9613 Bind switch-frame explicitly. Replace universal-argument-minus with
9614 a conditional binding.
9615 (universal-argument-num-events, saved-overriding-map): Remove.
9616 (restore-overriding-map): Remove.
9617 (universal-argument--mode): Rename from save&set-overriding-map,
9618 and rewrite.
9619 (universal-argument, universal-argument-more, negative-argument)
9620 (digit-argument): Adjust accordingly.
9621 (universal-argument-minus): Remove.
9622 (universal-argument-other-key): Remove.
9623
9624 * subr.el (with-demoted-errors): Add `format' argument.
9625
9626 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9627
9628 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9629 `tramp-cleanup-connection'.
9630
9631 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9632 parameters KEEP-DEBUG and KEEP-PASSWORD.
9633
9634 * net/tramp.el (tramp-file-name-handler):
9635 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9636 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9637 (tramp-maybe-open-connection):
9638 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9639 Use `tramp-cleanup-connection'.
9640
9641 * net/tramp-sh.el (tramp-maybe-open-connection):
9642 Catch 'uname-changed inside the progress reporter.
9643
9644 2013-09-10 Glenn Morris <rgm@gnu.org>
9645
9646 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9647
9648 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9649 returns "alternate access method" in mode (eg "-rw-r--r--.").
9650
9651 2013-09-08 Glenn Morris <rgm@gnu.org>
9652
9653 * saveplace.el (load-save-place-alist-from-file):
9654 Demote errors. (Bug#15305)
9655
9656 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9657
9658 Improve compatibility with older Emacsen, and XEmacs.
9659
9660 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9661 only if it is bound. It isn't for XEmacs.
9662 (with-tramp-progress-reporter): Do not let-bind `result'.
9663 This yields to scoping errors in XEmacs.
9664 (tramp-handle-make-auto-save-file-name): New function, moved from
9665 tramp-sh.el.
9666
9667 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9668 for `make-auto-save-file-name'.
9669 (tramp-adb--gnu-switches-to-ash):
9670 Use `tramp-compat-replace-regexp-in-string'.
9671
9672 * net/tramp-cache.el (tramp-cache-print): Call
9673 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9674
9675 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9676 bound. It isn't for XEmacs.
9677
9678 * net/tramp-compat.el (tramp-compat-copy-file):
9679 Catch `wrong-number-of-arguments' error.
9680 (tramp-compat-replace-regexp-in-string): New defun.
9681
9682 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9683 for `make-auto-save-file-name'.
9684 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9685 `copy-file'.
9686 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9687 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9688 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9689
9690 * net/tramp-gw.el (tramp-gw-open-network-stream):
9691 Use `tramp-compat-replace-regexp-in-string'.
9692
9693 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9694 Call `tramp-handle-make-auto-save-file-name'.
9695 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9696 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9697 (tramp-sh-file-inotifywait-process-filter):
9698 Use `tramp-compat-replace-regexp-in-string'.
9699 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9700
9701 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9702 for `make-auto-save-file-name'.
9703 (tramp-smb-handle-copy-directory):
9704 Call `tramp-compat-replace-regexp-in-string'.
9705 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9706 (tramp-smb-handle-copy-file): Improve error message.
9707 (tramp-smb-handle-rename-file): Rename directly only in case
9708 `newname' does not exist yet. This is a restriction of smbclient.
9709 (tramp-smb-maybe-open-connection): Rerun the function only when
9710 `auth-sources' is non-nil.
9711
9712 2013-09-08 Kenichi Handa <handa@gnu.org>
9713
9714 * international/characters.el: Set category "^" (Combining) for
9715 more characters.
9716
9717 2013-09-07 Alan Mackenzie <acm@muc.de>
9718
9719 Correctly fontify Java class constructors.
9720 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9721 in Java Mode.
9722 (c-recognize-typeless-decls): Set the Java value to t.
9723 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9724 While handling a "(", add a check for, effectively, Java, and handle a
9725 "typeless" declaration there.
9726
9727 2013-09-07 Roland Winkler <winkler@gnu.org>
9728
9729 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9730 field subtitle for entry type book.
9731
9732 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9733
9734 * minibuffer.el: Make minibuffer-complete call completion-in-region
9735 rather than other way around.
9736 (completion--some, completion-pcm--find-all-completions):
9737 Don't delay signals when debugging.
9738 (minibuffer-completion-contents): Beware fields within the
9739 minibuffer contents.
9740 (completion-all-sorted-completions): Use defvar-local.
9741 (completion--do-completion, completion--cache-all-sorted-completions)
9742 (completion-all-sorted-completions, minibuffer-force-complete):
9743 Add args `beg' and `end'.
9744 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9745 (minibuffer-complete): Use completion-in-region.
9746 (completion-complete-and-exit): New fun, extracted from
9747 minibuffer-complete-and-exit.
9748 (minibuffer-complete-and-exit): Use it.
9749 (completion--complete-and-exit): Rename from
9750 minibuffer--complete-and-exit.
9751 (completion-in-region--single-word): New function, extracted from
9752 minibuffer-complete-word.
9753 (minibuffer-complete-word): Use it.
9754 (display-completion-list): Make `common-substring' argument obsolete.
9755 (completion--in-region): Call completion--in-region-1 instead of
9756 minibuffer-complete.
9757 (completion-help-at-point): Pass boundaries to
9758 minibuffer-completion-help as args rather than via an overlay.
9759 (completion-pcm--string->pattern): Use `any-delim'.
9760 (completion-pcm--optimize-pattern): New function.
9761 (completion-pcm--pattern->regex): Handle `any-delim'.
9762 * icomplete.el (icomplete-forward-completions)
9763 (icomplete-backward-completions, icomplete-completions):
9764 Adjust calls to completion-all-sorted-completions and
9765 completion--cache-all-sorted-completions.
9766 (icomplete-with-completion-tables): Default to t.
9767 * emacs-lisp/crm.el (crm--current-element): Rename from
9768 crm--select-current-element. Don't put an overlay but return the
9769 boundaries instead.
9770 (crm--completion-command): Take two new args to bind to the boundaries.
9771 (crm-completion-help): Adjust accordingly.
9772 (crm-complete): Use completion-in-region.
9773 (crm-complete-word): Use completion-in-region--single-word.
9774 (crm-complete-and-exit): Use completion-complete-and-exit.
9775
9776 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9777
9778 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9779 than dynamically.
9780
9781 2013-09-06 Juri Linkov <juri@jurta.org>
9782
9783 * info.el (Info-display-images-node): When image file doesn't exist
9784 display text version of the image if it's provided in the Info file.
9785 Otherwise, display the location of missing image from SRC attribute.
9786 Add help-echo text property from ALT attribute. (Bug#15279)
9787
9788 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9789
9790 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9791 (edit-abbrevs-mode): Use define-derived-mode.
9792
9793 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9794 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9795 that it's defined.
9796 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9797 Use define-derived-mode.
9798
9799 * epg.el (epg-start-encrypt): Minor CSE simplification.
9800
9801 2013-09-06 William Xu <william.xwl@gmail.com>
9802
9803 * arc-mode.el: Add support for 7za (bug#15264).
9804 (archive-7z-program): New var.
9805 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9806 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9807 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9808
9809 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9810
9811 Remove URL syntax.
9812
9813 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9814 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9815 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9816 (tramp-postfix-host-format, tramp-file-name-regexp)
9817 (tramp-completion-file-name-regexp)
9818 (tramp-completion-dissect-file-name)
9819 (tramp-handle-substitute-in-file-name): Remove 'url case.
9820 (tramp-file-name-regexp-url)
9821 (tramp-completion-file-name-regexp-url): Remove constants.
9822
9823 2013-09-06 Glenn Morris <rgm@gnu.org>
9824
9825 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9826
9827 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9828
9829 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9830 keywords" below "here-doc beginnings" (Bug#15270).
9831
9832 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9833
9834 * subr.el (pop): Use `car-safe'.
9835 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9836 to detect unused `pop' return value.
9837
9838 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9839 var `block-regexp'.
9840 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9841 (python-fill-string): Remove unused var `marker'.
9842 (python-skeleton-add-menu-items): Remove unused var `items'.
9843
9844 * international/mule-cmds.el: Require CL.
9845 (find-coding-systems-for-charsets): Avoid add-to-list.
9846 (sanitize-coding-system-list): New function, extracted from
9847 select-safe-coding-system-interactively.
9848 (select-safe-coding-system-interactively): Use it.
9849 (read-input-method-name): Accept symbols for `default'.
9850
9851 * emacs-lisp/advice.el (defadvice): Add indent rule.
9852
9853 2013-09-05 Daniel Hackney <dan@haxney.org>
9854
9855 * dired-x.el:
9856 * net/ange-ftp.el:
9857 * net/browse-url.el:
9858 * net/dbus.el:
9859 * net/eudc.el:
9860 * net/eudcb-ldap.el:
9861 * net/eww.el:
9862 * net/imap.el:
9863 * printing.el:
9864 * vc/ediff-diff.el:
9865 * vc/ediff-init.el:
9866 * vc/ediff-merg.el:
9867 * vc/ediff-mult.el:
9868 * vc/ediff-util.el:
9869 * vc/ediff-wind.el:
9870 * vc/ediff.el:
9871 * vc/emerge.el:
9872 * vc/pcvs.el:
9873 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9874 byte compiler. Remove some unused let-bound variables.
9875
9876 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9877
9878 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9879 a "ref-cell", since it gets better optimized (bug#14883).
9880
9881 2013-09-05 Glenn Morris <rgm@gnu.org>
9882
9883 * progmodes/cc-awk.el (c-forward-sws): Declare.
9884
9885 2013-09-04 Glenn Morris <rgm@gnu.org>
9886
9887 * generic-x.el [rul-generic-mode]: Require cc-mode.
9888 (c++-mode-syntax-table): Declare.
9889 (rul-generic-mode-syntax-table): Init in the defvar.
9890
9891 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9892
9893 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9894 (vc-do-command, vc-set-async-update):
9895 * vc/vc-mtn.el (vc-mtn-dir-status):
9896 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9897 (vc-hg-pull, vc-hg-merge-branch):
9898 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9899 (vc-git-merge-branch):
9900 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9901 (vc-cvs-dir-status-files):
9902 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9903 (vc-bzr-dir-status-files):
9904 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9905 * vc/vc-annotate.el: Use lexical-binding.
9906 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9907 (vc-sentinel-movepoint): Declare.
9908 (vc-annotate): Don't use `goto-line'.
9909 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9910 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9911 (vc-sentinel-movepoint): Declare.
9912 * vc/vc-svn.el: Use lexical-binding.
9913 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9914 * vc/vc-sccs.el:
9915 * vc/vc-rcs.el: Use lexical-binding.
9916
9917 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9918 `deleted'. Don't drop errors silently.
9919
9920 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9921
9922 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9923
9924 * vc/vc.el (vc-ignore): Rewrite.
9925 (vc-default-ignore): New function.
9926 (vc-default-ignore-completion-table): Use find-ignore-file.
9927
9928 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9929 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9930 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9931 Remove. Most code moved to vc.el.
9932
9933 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9934
9935 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9936 * net/tramp-smb.el (tramp-smb-get-file-entries):
9937 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9938 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9939
9940 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9941 Update call to it.
9942 (eww-change-select): Remove unused var `properties'.
9943 (eww-make-unique-file-name): Remove unused var `base'.
9944
9945 * finder.el (finder-compile-keywords): Don't mess with windows.
9946
9947 * calculator.el (calculator-funcall): Fix typo in last change.
9948
9949 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9950
9951 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9952 <pkg>-autoloads.el file stop us.
9953
9954 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9955 warnings, and factor out common code.
9956
9957 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9958
9959 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9960 two-character operators and whether the character preceding them
9961 changes their meaning (Bug#15208).
9962
9963 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9964
9965 Format code sent to Python shell for robustness.
9966 * progmodes/python.el (python-shell-buffer-substring):
9967 New function.
9968 (python-shell-send-region, python-shell-send-buffer): Use it.
9969
9970 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9971
9972 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9973 * net/tramp.el (tramp-user-error): ... here.
9974 (tramp-find-method, tramp-check-proper-host)
9975 (tramp-dissect-file-name, tramp-debug-message)
9976 (tramp-handle-shell-command):
9977 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9978 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9979
9980 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9981
9982 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9983
9984 * avoid.el (mouse-avoidance-point-position)
9985 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9986 returns nil.
9987
9988 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9989
9990 * progmodes/python.el (python-shell-completion-get-completions):
9991 Drop use of deleted `comint-last-prompt-overlay'.
9992 (python-nav-if-name-main): New command.
9993
9994 2013-09-01 Glenn Morris <rgm@gnu.org>
9995
9996 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9997 Avoid leading space in $wins. Otherwise the sed command used by
9998 eg compile-main ends up containing "/*.el". (Bug#15170)
9999
10000 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
10001
10002 2013-08-30 Glenn Morris <rgm@gnu.org>
10003
10004 * emacs-lisp/bytecomp.el (byte-recompile-directory):
10005 Fix is-this-a-directory logic. (Bug#15220)
10006
10007 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10008
10009 * textmodes/css-mode.el: Use SMIE.
10010 (css-smie-grammar): New var.
10011 (css-smie--forward-token, css-smie--backward-token)
10012 (css-smie-rules): New functions.
10013 (css-mode): Use them.
10014 (css-navigation-syntax-table): Remove var.
10015 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
10016 (css-indent-calculate, css-indent-line): Remove functions.
10017
10018 Misc changes to reduce use of `(lambda...); and other cleanups.
10019 * cus-edit.el: Use lexical-binding.
10020 (customize-push-and-save, customize-apropos)
10021 (custom-buffer-create-internal): Use closures.
10022 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
10023 * progmodes/ada-xref.el: Use setq.
10024 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
10025 * dframe.el: Use lexical-binding.
10026 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
10027 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
10028 * descr-text.el: Use lexical-binding.
10029 (describe-text-widget, describe-text-sexp, describe-property-list):
10030 Use closures.
10031 * comint.el (comint-history-isearch-push-state): Use a closure.
10032 * calculator.el: Use lexical-binding.
10033 (calculator-number-to-string): Make it work with lexical-binding.
10034 (calculator-funcall): Same and use cl-letf.
10035
10036 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
10037 (lisp--company-doc-string, lisp--company-location): New functions.
10038 (lisp-completion-at-point): Use them to improve Company support.
10039
10040 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
10041 params of lambda expressions.
10042 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
10043 (ruby-smie--opening-pipe-p): New function.
10044 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
10045 symbols and matched |...| for formal params.
10046 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
10047 from being treated as hanging. Handle "rescue".
10048
10049 2013-08-29 Glenn Morris <rgm@gnu.org>
10050
10051 * progmodes/cc-engine.el (c-pull-open-brace):
10052 Move definition before use.
10053
10054 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10055
10056 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
10057 are immutable. Don't use `unsafe' any more.
10058 (cl--defsubst-expand): Don't substitute at the same time as keeping
10059 a residual unused let-binding. Don't use `unsafe' any more.
10060
10061 2013-08-29 Glenn Morris <rgm@gnu.org>
10062
10063 * calendar/cal-china.el (calendar-chinese-year-cache):
10064 Recenter on 2015.
10065
10066 * nxml/nxml-util.el (nxml-debug-clear-inside):
10067 Use cl-loop rather than loop.
10068
10069 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
10070
10071 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
10072
10073 2013-08-28 Glenn Morris <rgm@gnu.org>
10074
10075 * progmodes/antlr-mode.el: No need to require cc-mode twice.
10076
10077 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
10078
10079 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
10080
10081 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10082
10083 * simple.el (repeat-complex-command--called-interactively-skip):
10084 New function.
10085 (repeat-complex-command): Use it (bug#14136).
10086
10087 * progmodes/cc-mode.el: Minor cleanup of var declarations.
10088 (c-define-abbrev-table): Add `doc' argument.
10089 (c-mode-abbrev-table, c++-mode-abbrev-table)
10090 (objc-mode-abbrev-table, java-mode-abbrev-table)
10091 (idl-mode-abbrev-table, pike-mode-abbrev-table)
10092 (awk-mode-abbrev-table): Use it.
10093 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
10094 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
10095 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
10096 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
10097 Move initialization into the declaration; and remove any
10098 autoload cookie.
10099
10100 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
10101 and dynamic let binding.
10102
10103 * vc/smerge-mode.el: Remove redundant :group args.
10104
10105 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
10106 to load-path.
10107
10108 2013-08-28 Juri Linkov <juri@jurta.org>
10109
10110 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
10111 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
10112 (isearch-other-meta-char): Handle an undefined shifted printing
10113 character by downshifting it. (Bug#15200)
10114
10115 2013-08-28 Juri Linkov <juri@jurta.org>
10116
10117 * isearch.el (isearch-search): Change regexp error message for
10118 non-regexp searches. (Bug#15166)
10119
10120 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
10121
10122 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
10123 for portability to hosts where /bin/sh has problems.
10124
10125 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10126
10127 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
10128
10129 2013-08-27 Juri Linkov <juri@jurta.org>
10130
10131 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
10132 in the keyboard macro. (Bug#15126)
10133
10134 2013-08-27 Juri Linkov <juri@jurta.org>
10135
10136 * isearch.el (isearch-quote-char): Comment out converting unibyte
10137 to multibyte, thus syncing with its `quoted-insert' counterpart.
10138 (Bug#15166)
10139
10140 2013-08-27 Martin Rudalics <rudalics@gmx.at>
10141
10142 * window.el (display-buffer-use-some-window): Add missing
10143 argument in call of get-largest-window (Bug#15185).
10144 Reported by Stephen Leake.
10145
10146 2013-08-27 Glenn Morris <rgm@gnu.org>
10147
10148 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
10149
10150 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
10151
10152 * progmodes/python.el (python-font-lock-keywords): Don't return nil
10153 from a matcher-function unless there's no more matches (bug#15161).
10154
10155 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10156
10157 * minibuffer.el: Revert change from 2013-08-20.
10158
10159 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
10160 with text property `tramp-default', if appropriate.
10161 (tramp-check-proper-host): New defun.
10162 (tramp-dissect-file-name): Do not check hostname. Revert change
10163 of 2013-03-18.
10164 (tramp-backtrace): Make VEC-OR-PROC optional.
10165
10166 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10167 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10168 * net/tramp-sh.el (tramp-maybe-open-connection):
10169 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10170 Apply `tramp-check-proper-host'.
10171
10172 2013-08-26 Tassilo Horn <tsdh@gnu.org>
10173
10174 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
10175 lambda expression in order to have `describe-variable' display it.
10176
10177 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10178
10179 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
10180 BUF can be optional. (Bug#15186)
10181
10182 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
10183
10184 * progmodes/flymake.el (flymake-get-real-file-name-function):
10185 Fix broken customization. (Bug#15184)
10186
10187 2013-08-25 Alan Mackenzie <acm@muc.de>
10188
10189 Improve indentation of bracelists defined by macros (without "=").
10190
10191 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
10192 expansion begins with "{", regard it as bracelist when it doesn't
10193 contain a ";".
10194
10195 Parse C++ inher-intro when there's a template split over 2 lines.
10196
10197 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
10198 rigorously the search for "class" etc. followed by ":".
10199
10200 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
10201 random languages a regexp which never matches rather than nil.
10202
10203 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
10204
10205 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
10206 (c-awk-regexp-one-line-possibly-open-char-list-re)
10207 (c-awk-one-line-possibly-open-regexp-re)
10208 (c-awk-one-line-non-syn-ws*-re): Remove.
10209 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
10210 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
10211 (c-awk-space*-unclosed-regexp-/-re): New constants.
10212 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
10213 aren't regexp delimiters.
10214
10215 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
10216 handling for a rare situation in AWK Mode involving unterminated
10217 strings/regexps.
10218
10219 2013-08-23 Glenn Morris <rgm@gnu.org>
10220
10221 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
10222
10223 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
10224
10225 * files.el (create-file-buffer): If the result would begin with
10226 spaces, prepend a "|" instead of removing them. (Bug#15162)
10227
10228 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10229
10230 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
10231 text-properties (bug#15155).
10232
10233 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
10234 exist any more.
10235 (calc-keypad-redraw): Remove unused var `pad'.
10236 (calc-keypad-press): Remove unused var `menu'.
10237
10238 2013-08-23 Martin Rudalics <rudalics@gmx.at>
10239
10240 * window.el (display-buffer-pop-up-frame):
10241 Call pop-up-frame-function with BUFFER current so `make-frame' will
10242 use it as the new frame's buffer (Bug#15133).
10243
10244 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10245
10246 * calendar/timeclock.el: Minor cleanups.
10247 (timeclock-ask-before-exiting, timeclock-use-display-time):
10248 Use `symbol'.
10249 (timeclock-modeline-display): Define as alias before the
10250 actual definition.
10251 (timeclock-mode-line-display): Use define-minor-mode.
10252 (timeclock-day-list-template): Make it a function, add an argument.
10253 (timeclock-day-list-required, timeclock-day-list-length)
10254 (timeclock-day-list-debt, timeclock-day-list-span)
10255 (timeclock-day-list-break): Adjust calls accordingly.
10256
10257 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
10258
10259 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
10260 Use read--expression so that completion works again.
10261
10262 2013-08-21 Sam Steingold <sds@gnu.org>
10263
10264 Add rudimentary inferior shell interaction
10265 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
10266 (sh-set-shell): Reset it.
10267 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
10268 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
10269
10270 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
10271
10272 * align.el: Use lexical-binding.
10273 (align-region): Simplify accordingly.
10274
10275 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
10276
10277 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
10278
10279 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
10280 `non-essential' up.
10281
10282 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
10283
10284 * net/tramp.el:
10285 * net/tramp-adb.el:
10286 * net/tramp-cmds.el:
10287 * net/tramp-ftp.el:
10288 * net/tramp-gvfs.el:
10289 * net/tramp-gw.el:
10290 * net/tramp-sh.el: Don't wrap external variable declarations by
10291 `eval-when-compile'.
10292
10293 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10294
10295 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
10296 now that Emacs supports ImageMagick animations.
10297
10298 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
10299
10300 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
10301 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
10302
10303 2013-08-16 Martin Rudalics <rudalics@gmx.at>
10304
10305 * window.el (mouse-autoselect-window-select): Do autoselect when
10306 mouse pointer is on margin.
10307
10308 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
10309
10310 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
10311
10312 2013-08-16 Glenn Morris <rgm@gnu.org>
10313
10314 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
10315 Handle "Remote Directory" response of some clients. (Bug#15058)
10316
10317 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
10318 Tweak warning. (Bug#14926)
10319
10320 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
10321 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
10322
10323 * image-mode.el (image-mode-map): Add menu items to reverse,
10324 increase, decrease, reset animation speed.
10325 (image--set-speed, image-increase-speed, image-decrease-speed)
10326 (image-reverse-speed, image-reset-speed): New functions.
10327 (image-mode-map): Add bindings for speed commands.
10328
10329 * image.el (image-animate-get-speed, image-animate-set-speed):
10330 New functions.
10331 (image-animate-timeout): Respect image :speed property.
10332
10333 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10334
10335 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
10336 previous line (bug#15101).
10337 (debugger-eval-expression, debugger-record-expression):
10338 Use read--expression (bug#15102).
10339
10340 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
10341
10342 Remove byte compiler warnings, visible when compiling with
10343 `byte-compile-force-lexical-warnings' set to t.
10344
10345 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
10346 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
10347 (tramp-handle-unhandled-file-name-directory)
10348 (tramp-handle-file-notify-add-watch, tramp-action-login)
10349 (tramp-action-succeed, tramp-action-permission-denied)
10350 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
10351 arguments with "_".
10352
10353 * net/tramp-adb.el (tramp-adb-parse-device-names)
10354 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
10355 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
10356 (tramp-adb-handle-file-truename): Remove unused arguments.
10357
10358 * net/tramp-cache.el (tramp-flush-directory-property)
10359 (tramp-flush-connection-property, tramp-list-connections)
10360 (tramp-parse-connection-properties): Prefix unused arguments with "_".
10361
10362 * net/tramp-compat.el (tramp-compat-make-temp-file):
10363 Rename FILENAME to F.
10364
10365 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10366 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
10367 (tramp-zeroconf-parse-workstation-device-names)
10368 (tramp-zeroconf-parse-webdav-device-names)
10369 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
10370
10371 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10372 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
10373
10374 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
10375 arguments.
10376 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
10377 (tramp-sh-handle-insert-file-contents-literally)
10378 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
10379 with "_".
10380 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
10381 Remove unused variables.
10382
10383 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10384 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10385 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10386
10387 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10388 Make them a defconst.
10389 (tramp-uuencode-region): Remove unused variable.
10390
10391 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
10392
10393 * frameset.el (frameset--prop-setter): New function.
10394 (frameset-prop): Add gv-setter declaration.
10395 (frameset-filter-minibuffer): Deal with the case that the minibuffer
10396 parameter was already set in FILTERED. Doc fix.
10397 (frameset--record-minibuffer-relationships): Allow saving a
10398 minibufferless frame without its corresponding minibuffer frame.
10399 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10400 frame, if the frame id matches.
10401 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10402 frames before orphaned ones.
10403 (frameset-restore): Warn about orphaned windows, instead of error out.
10404
10405 2013-08-14 Martin Rudalics <rudalics@gmx.at>
10406
10407 * window.el (window-make-atom): Don't overwrite parameter
10408 already present.
10409 (display-buffer-in-atom-window): Handle special case where we
10410 split an already atomic window.
10411 (window--major-non-side-window, display-buffer-in-side-window)
10412 (window--side-check): Ignore minibuffer window when walking
10413 window tree.
10414 (window-deletable-p): Return 'frame only if no other frame uses
10415 our minibuffer window.
10416 (record-window-buffer): Run buffer-list-update-hook.
10417 (split-window): Make sure window--check-frame won't destroy an
10418 existing atomic window in case the new window gets nested
10419 inside.
10420 (display-buffer-at-bottom): Ignore minibuffer window when
10421 walking window tree. Don't split a side window.
10422 (pop-to-buffer): Don't set-buffer here, the select-window call
10423 should do that.
10424 (mouse-autoselect-window-select): Autoselect only if we are in the
10425 text portion of the window.
10426
10427 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10428
10429 * net/shr.el (shr-parse-image-data): New function to grab both the
10430 data itself and the Content-Type.
10431 (shr-put-image): Use it.
10432
10433 * net/eww.el (eww-display-image): Ditto.
10434
10435 * image.el (image-content-type-suffixes): New variable.
10436
10437 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10438
10439 * progmodes/python.el (python-imenu--build-tree)
10440 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10441
10442 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
10443
10444 * simple.el (backward-word): Mention the optional argument.
10445
10446 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10447
10448 * frameset.el (frameset--make): Rename constructor from make-frameset.
10449 (frameset-p, frameset-valid-p): Don't autoload.
10450 (frameset-valid-p): Use normal accessors.
10451
10452 2013-08-13 Glenn Morris <rgm@gnu.org>
10453
10454 * progmodes/compile.el (compile-command): Tweak example in doc.
10455 * obsolete/scribe.el (scribe-mode):
10456 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
10457
10458 * mail/feedmail.el (feedmail-confirm-outgoing)
10459 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10460
10461 * cus-start.el (truncate-partial-width-windows): Fix type.
10462
10463 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10464
10465 * net/shr.el (shr-table-horizontal-line): Fix custom type.
10466
10467 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10468
10469 * emacs-lisp/timer.el (timer--time-setter): New function.
10470 (timer--time): Use it as gv-setter.
10471
10472 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10473 setter is not a symbol.
10474
10475 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
10476
10477 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10478 if sending fails. This makes debugging easier.
10479
10480 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
10481
10482 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10483 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10484 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10485
10486 2013-08-12 Eli Zaretskii <eliz@gnu.org>
10487
10488 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10489
10490 2013-08-12 Glenn Morris <rgm@gnu.org>
10491
10492 * format.el (format-annotate-function):
10493 Handle read-only text properties in the source. (Bug#14887)
10494
10495 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10496
10497 * net/eww.el (eww-display-html): Ignore coding system errors.
10498 One web site uses "utf-8lias" as the coding system.
10499
10500 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
10501
10502 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10503
10504 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
10505
10506 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10507 (tutorial--detailed-help): Remove unused local variables.
10508 (tutorial--save-tutorial-to): Use ignore-errors.
10509 (help-with-tutorial): Use looking-at-p.
10510
10511 * view.el (view-buffer-other-window, view-buffer-other-frame):
10512 Mark unused arguments.
10513
10514 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10515 (woman-select-symbol-fonts, woman, woman-find-file)
10516 (woman-insert-file-contents, woman-non-underline-faces):
10517 Use string-match-p.
10518 (woman1-unquote): Move declaration.
10519
10520 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10521 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10522 argument. Remove unused local variable.
10523 (xml-parse-elem-type): Use string-match-p.
10524 (xml-substitute-numeric-entities): Use ignore-errors.
10525
10526 * calculator.el (calculator): Mark unused argument.
10527 (calculator-paste, calculator-quit, calculator-integer-p):
10528 Use ignore-errors.
10529 (calculator-string-to-number, calculator-decimal, calculator-exp)
10530 (calculator-op-or-exp): Use string-match-p.
10531
10532 * dired.el (dired-buffer-more-recently-used-p): Declare.
10533 (dired-insert-set-properties, dired-insert-old-subdirs):
10534 Use ignore-errors.
10535
10536 * dired-aux.el (dired-compress): Use ignore-errors.
10537 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10538 (dired-do-async-shell-command, dired-do-shell-command)
10539 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10540 (dired-insert-subdir-validate): Use string-match-p.
10541 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10542 (dired-add-entry): Use string-match-p, looking-at-p.
10543 (dired-insert-subdir-newpos): Remove unused local variable.
10544
10545 * filenotify.el (file-notify-callback): Remove unused local variable.
10546
10547 * filesets.el (filesets-error): Mark unused argument.
10548 (filesets-which-command-p, filesets-filter-dir-names)
10549 (filesets-directory-files, filesets-get-external-viewer)
10550 (filesets-ingroup-get-data): Use string-match-p.
10551
10552 * find-file.el (ff-other-file-name, ff-other-file-name)
10553 (ff-find-the-other-file, ff-cc-hh-converter):
10554 Remove unused local variables.
10555 (ff-get-file-name): Use string-match-p.
10556 (ff-all-dirs-under): Use ignore-errors.
10557
10558 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10559 (follow-select-if-visible): Remove unused local variable.
10560
10561 * forms.el (read-file-filter): Move declaration.
10562 (forms--make-format, forms--make-parser, forms-insert-record):
10563 Quote function with #'.
10564 (forms--update): Use string-match-p. Quote function with #'.
10565
10566 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10567 (help-make-xrefs): Use looking-at-p.
10568 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10569
10570 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10571 (ibuffer-confirm-operation-on): Use string-match-p.
10572
10573 * msb.el (msb-item-handler, msb-dired-item-handler):
10574 Mark unused arguments.
10575
10576 * ses.el (ses-decode-cell-symbol)
10577 (ses-kill-override): Remove unused local variable.
10578 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10579 (ses-load): Use ignore-errors, looking-at-p.
10580 (ses-jump-safe): Use ignore-errors.
10581 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10582
10583 * tabify.el (untabify, tabify): Mark unused arguments.
10584
10585 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10586 Mark unused argument.
10587 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10588 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10589
10590 * emacs-lisp/timer.el (timer--time): Define setter with
10591 gv-define-setter to avoid deprecation warning.
10592
10593 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10594 (*record-cmpl-statistics-p*): Remove (was commented out).
10595 (cmpl-statistics-block): Remove (body was commented out).
10596 All callers changed.
10597 (add-completions-from-buffer, load-completions-from-file):
10598 Remove unused variables.
10599
10600 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10601
10602 * filecache.el (file-cache-delete-file-list):
10603 Print message only when told so.
10604 (file-cache-files-matching): Use #' in mapconcat argument.
10605
10606 * ffap.el (ffap-url-at-point): Fix reference to variable
10607 thing-at-point-default-mail-uri-scheme.
10608
10609 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10610
10611 * subr.el (define-error): New function.
10612 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10613 error-file-not-found and define with define-error.
10614 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10615 and define with define-error.
10616 * userlock.el (file-locked, file-supersession):
10617 * simple.el (mark-inactive):
10618 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10619 * progmodes/ada-mode.el (ada-mode-errors):
10620 * play/life.el (life-extinct):
10621 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10622 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10623 * nxml/rng-util.el (rng-error):
10624 * nxml/rng-uri.el (rng-uri-error):
10625 * nxml/rng-match.el (rng-compile-error):
10626 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10627 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10628 * nxml/nxml-rap.el (nxml-scan-error):
10629 * nxml/nxml-outln.el (nxml-outline-error):
10630 * net/soap-client.el (soap-error):
10631 * net/gnutls.el (gnutls-error):
10632 * net/ange-ftp.el (ftp-error):
10633 * mpc.el (mpc-proc-error):
10634 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10635 (json-number-format, json-string-escape, json-string-format)
10636 (json-key-format, json-object-format):
10637 * jka-compr.el (compression-error):
10638 * international/quail.el (quail-error):
10639 * international/kkc.el (kkc-error):
10640 * emacs-lisp/ert.el (ert-test-failed):
10641 * calc/calc.el (calc-error, inexact-result, math-overflow)
10642 (math-underflow):
10643 * bookmark.el (bookmark-error-no-filename):
10644 * epg.el (epg-error): Define with define-error.
10645
10646 * time.el (display-time-event-handler)
10647 (display-time-next-load-average): Don't call sit-for since it seems
10648 unnecessary (bug#15045).
10649
10650 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10651 Use #' instead of ' to quote functions.
10652 (checkdoc-output-mode): Use setq-local.
10653 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10654 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10655 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10656 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10657 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10658 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10659 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10660 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10661
10662 * ido.el (ido-completion-help): Fix up compiler warning.
10663
10664 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10665
10666 * frameset.el (frameset-p): Add autoload cookie.
10667 (frameset--jump-to-register): New function, based on code moved from
10668 register.el.
10669 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10670
10671 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10672 (frameset-restore, frameset-save, frameset-session-filter-alist):
10673 Remove declarations.
10674 (register-alist): Doc fix.
10675 (frameset-to-register): Move to frameset.el.
10676 (jump-to-register, describe-register-1): Remove frameset-specific code.
10677
10678 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10679
10680 * allout-widgets.el (allout-widgets-pre-command-business)
10681 (allout-widgets-post-command-business)
10682 (allout-widgets-after-change-handler)
10683 (allout-decorate-item-and-context, allout-set-boundary-marker)
10684 (allout-body-modification-handler)
10685 (allout-graphics-modification-handler): Mark ignored arguments.
10686 (allout-widgets-post-command-business)
10687 (allout-widgets-exposure-change-processor)
10688 (allout-widgets-exposure-undo-processor)
10689 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10690 (allout-parse-item-at-point, allout-decorate-item-guides)
10691 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10692 * allout.el (epa-passphrase-callback-function): Declare.
10693 (allout-overlay-insert-in-front-handler)
10694 (allout-overlay-interior-modification-handler)
10695 (allout-isearch-end-handler, allout-chart-siblings)
10696 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10697 (allout-yank-processing, allout-process-exposed)
10698 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10699 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10700 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10701 (lisp-indent-defform): Mark ignored arguments.
10702 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10703 (calculate-lisp-indent): Remove unused variables.
10704 * international/characters.el (indian-2-column, arabic-2-column)
10705 (tibetan): Mark ignored arguments.
10706 (use-cjk-char-width-table): Mark ignored arguments.
10707 Remove unused variables.
10708 * international/fontset.el (build-default-fontset-data)
10709 (x-compose-font-name, create-fontset-from-fontset-spec):
10710 Mark ignored arguments.
10711 (fontset-plain-name): Remove unused variables.
10712 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10713 (keyboard-coding-system): Mark ignored arguments.
10714 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10715 * help.el (resize-temp-buffer-window):
10716 * window.el (display-buffer-in-major-side-window)
10717 (display-buffer-in-side-window, display-buffer-in-previous-window):
10718 Remove unused variables.
10719 * isearch.el (isearch-forward-symbol):
10720 * version.el (emacs-bzr-version-bzr):
10721 * international/mule-cmds.el (current-language-environment):
10722 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10723 (x-handle-display):
10724 * term/pc-win.el (x-list-fonts, x-display-planes)
10725 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10726 (x-server-version, x-display-screens, x-display-mm-height)
10727 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10728 (x-selection-owner-p, x-own-selection-internal)
10729 (x-disown-selection-internal, x-get-selection-internal)
10730 (msdos-initialize-window-system):
10731 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10732 * term/x-win.el (x-handle-no-bitmap-icon):
10733 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10734 (vc-default-find-file-hook, vc-default-extra-menu):
10735 Mark ignored arguments.
10736
10737 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10738
10739 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10740 break-condition in the context of the debugged code (bug#12685).
10741
10742 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10743
10744 * comint.el:
10745 Do not use an overlay to highlight the last prompt. (Bug#14744)
10746 (comint-mode): Make comint-last-prompt buffer local.
10747 (comint-last-prompt): New variable.
10748 (comint-last-prompt-overlay): Remove. Superseded by
10749 comint-last-prompt.
10750 (comint-snapshot-last-prompt, comint-output-filter):
10751 Use comint-last-prompt.
10752
10753 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10754
10755 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10756 (frameset-save): Check validity of the resulting frameset.
10757
10758 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10759
10760 * ido.el (ido-record-command): Add doc string.
10761
10762 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10763
10764 * frameset.el (frameset): Do not disable creation of the default
10765 frameset-p predicate. Doc fix.
10766 (frameset-valid-p): New function, copied from the old predicate-p.
10767 Add additional checks.
10768 (frameset-restore): Check with frameset-valid-p.
10769 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10770 (frameset-name, frameset-description, frameset-properties)
10771 (frameset-states): Add docstring.
10772 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10773 (frameset-filter-alist): Doc fixes.
10774
10775 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10776
10777 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10778
10779 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10780
10781 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10782 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10783 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10784 (byte-compile-normal-call): Remove obsolescence check.
10785
10786 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10787
10788 * frameset.el (frameset-restore): Doc fix.
10789
10790 * register.el (frameset-frame-id, frameset-frame-with-id)
10791 (frameset-p, frameset-restore, frameset-save): Declare.
10792 (register-alist): Document framesets.
10793 (frameset-session-filter-alist): Declare.
10794 (frameset-to-register): New function.
10795 (jump-to-register): Implement jumping to framesets. Doc fix.
10796 (describe-register-1): Describe framesets.
10797
10798 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10799
10800 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10801
10802 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10803 Use lexical-binding.
10804
10805 * frameset.el (frameset): Use type vector, not list (incompatible
10806 change). Do not declare a new constructor, use the default one.
10807 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10808 `name' and `description', respectively, and add read-only slot
10809 `timestamp'. Doc fixes.
10810 (frameset-copy, frameset-persistent-filter-alist)
10811 (frameset-filter-alist, frameset-switch-to-gui-p)
10812 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10813 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10814 (frameset-filter-iconified, frameset-keep-original-display-p):
10815 Doc fixes.
10816 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10817 Rename from frameset-filter-(save|restore)-param. All callers changed.
10818 Doc fix.
10819 (frameset-p): Adapt to change to vector and be more thorough.
10820 Change arg name to OBJECT. Doc fix.
10821 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10822 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10823 All callers changed.
10824 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10825 All callers changed.
10826 (frameset--record-minibuffer-relationships): Rename from
10827 frameset--process-minibuffer-frames. All callers changed.
10828 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10829 Use new default constructor (again). Doc fix.
10830 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10831 All callers changed.
10832 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10833 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10834 Doc fix.
10835 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10836 PARAMETERS and WINDOW-STATE, respectively.
10837 (frameset-restore): Add new keyword argument PREDICATE.
10838 Reset frameset--target-display to nil. Doc fix.
10839
10840 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10841
10842 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10843 (bat-mode): Use it.
10844 (bat-mode-syntax-table): Mark \n as end-of-comment.
10845 (bat-font-lock-keywords): Remove comment rule.
10846
10847 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10848 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10849
10850 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10851 (byte-compile-callargs-warn): Use `push'.
10852 (byte-compile-arglist-warn): Ignore higher-order "calls".
10853 (byte-compile-file-form-autoload): Use `pcase'.
10854 (byte-compile-function-form): If quoting a symbol, check that it exists.
10855
10856 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10857
10858 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10859 and add a few popular commands found in batch files.
10860 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10861 (dos-mode): Doc fixes.
10862
10863 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10864
10865 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10866 (dos-mode): Use setq-local. Add space after "rem".
10867 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10868 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10869
10870 2013-08-07 Arni Magnusson <arnima@hafro.is>
10871
10872 * progmodes/dos.el: New file.
10873 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10874 dos-mode.
10875
10876 2013-08-06 Glenn Morris <rgm@gnu.org>
10877
10878 * calendar/calendar.el: Add new faces, and day-header-array.
10879 (calendar-weekday-header, calendar-weekend-header)
10880 (calendar-month-header): New faces.
10881 (calendar-day-header-construct): New function.
10882 (calendar-day-header-width): Also :set calendar-day-header-array.
10883 (calendar-american-month-header, calendar-european-month-header)
10884 (calendar-iso-month-header): Use calendar- faces.
10885 (calendar-generate-month):
10886 Use calendar-day-header-array for day headers; apply faces to them.
10887 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10888 (calendar-abbrev-construct): Add optional maxlen argument.
10889 (calendar-day-name-array): Doc fix.
10890 (calendar-day-name-array, calendar-abbrev-length)
10891 (calendar-day-abbrev-array):
10892 Also :set calendar-day-header-array, and maybe redraw.
10893 (calendar-day-header-array): New option. (Bug#15007)
10894 (calendar-font-lock-keywords): Set to nil and make obsolete.
10895 (calendar-day-name): Add option to use header array.
10896
10897 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10898
10899 * net/shr.el (shr-render-td): Remove debugging.
10900 (shr-render-td): Make width computation consistent by defaulting
10901 all zero-width columns to 10 characters. This may not be optimal,
10902 but it's at least consistent.
10903 (shr-make-table-1): Redo last change to fix the real problem in
10904 colspan handling.
10905
10906 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10907
10908 * files.el (cache-long-line-scans):
10909 Make obsolete alias to `cache-long-scans'.
10910
10911 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10912
10913 * frameset.el (frameset, frameset-filter-alist)
10914 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10915 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10916 (frameset-compute-pos): Rename from frameset--compute-pos,
10917 and add docstring.
10918 (frameset-move-onscreen): Use frameset-compute-pos.
10919 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10920
10921 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10922 Fix typos in docstrings.
10923
10924 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10925
10926 * frame.el (get-other-frame): Tiny cleanup.
10927
10928 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10929
10930 * vc/vc.el (vc-default-ignore-completion-table):
10931 Silence byte-compiler warning.
10932
10933 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10934 slot, which can indeed be nil.
10935 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10936 Move entry for `left' from persistent to live filter alist.
10937 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10938 Doc fixes.
10939 (frameset-filter-params): When restoring a frame, copy items added to
10940 `filtered', to avoid unwittingly modifying the original parameters.
10941 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10942 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10943
10944 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10945 to use looking-at-p instead of looking-at. (Bug#15028)
10946
10947 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10948
10949 Revert introduction of isearch-filter-predicates (bug#14714).
10950 Rely on add-function instead.
10951 * isearch.el (isearch-filter-predicates): Rename it back to
10952 isearch-filter-predicate.
10953 (isearch-message-prefix): Use advice-function-mapc and advice
10954 properties to get the isearch-message-prefix.
10955 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10956 instead of run-hook-with-args-until-failure.
10957 (isearch-filter-visible): Not obsolete any more.
10958 * loadup.el: Preload nadvice.
10959 * replace.el (perform-replace): Revert to funcall
10960 instead of run-hook-with-args-until-failure.
10961 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10962 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10963 dired-isearch-filenames-toggle; make it into a proper minor mode.
10964 Use add/remove-function.
10965 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10966 Call the minor-mode rather than add/remove-hook.
10967 (dired-isearch-filter-filenames):
10968 Remove isearch-message-prefix property.
10969 * info.el (Info--search-loop): New function, extracted from Info-search.
10970 Funcall isearch-filter-predicate instead of
10971 run-hook-with-args-until-failure isearch-filter-predicates.
10972 (Info-search): Use it.
10973 (Info-mode): Use isearch-filter-predicate instead of
10974 isearch-filter-predicates.
10975
10976 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10977
10978 Do not call to `selected-window' where it is assumed by default.
10979 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10980 `window-hscroll', `window-width', `window-height', `window-buffer',
10981 `window-frame', `window-start', `window-point', `next-window'
10982 and `window-display-table'.
10983 * abbrev.el (abbrev--default-expand):
10984 * bs.el (bs--show-with-configuration):
10985 * buff-menu.el (Buffer-menu-mouse-select):
10986 * calc/calc.el (calc):
10987 * calendar/calendar.el (calendar-generate-window):
10988 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10989 (diary-make-entry):
10990 * comint.el (send-invisible, comint-dynamic-complete-filename)
10991 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10992 * completion.el (complete):
10993 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10994 * disp-table.el (describe-current-display-table):
10995 * doc-view.el (doc-view-insert-image):
10996 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10997 * ehelp.el (with-electric-help):
10998 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10999 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
11000 * emacs-lisp/helper.el (Helper-help-scroller):
11001 * emulation/cua-base.el (cua--post-command-handler-1):
11002 * eshell/esh-mode.el (eshell-output-filter):
11003 * ffap.el (ffap-gnus-wrapper):
11004 * help-macro.el (make-help-screen):
11005 * hilit-chg.el (highlight-compare-buffers):
11006 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
11007 * hl-line.el (global-hl-line-highlight):
11008 * icomplete.el (icomplete-simple-completing-p):
11009 * isearch.el (isearch-done):
11010 * jit-lock.el (jit-lock-stealth-fontify):
11011 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
11012 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
11013 * mpc.el (mpc-tagbrowser, mpc):
11014 * net/rcirc.el (rcirc-any-buffer):
11015 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
11016 * play/landmark.el (landmark-max-width, landmark-max-height):
11017 * play/zone.el (zone):
11018 * progmodes/compile.el (compilation-goto-locus):
11019 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
11020 * progmodes/etags.el (find-tag-other-window):
11021 * progmodes/fortran.el (fortran-column-ruler):
11022 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
11023 * progmodes/verilog-mode.el (verilog-point-text):
11024 * reposition.el (reposition-window):
11025 * rot13.el (toggle-rot13-mode):
11026 * server.el (server-switch-buffer):
11027 * shell.el (shell-dynamic-complete-command)
11028 (shell-dynamic-complete-environment-variable):
11029 * simple.el (insert-buffer, set-selective-display)
11030 (delete-completion-window):
11031 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
11032 (speedbar-recenter):
11033 * startup.el (fancy-splash-head):
11034 * textmodes/ispell.el (ispell-command-loop):
11035 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
11036 * tutorial.el (help-with-tutorial):
11037 * vc/add-log.el (add-change-log-entry):
11038 * vc/compare-w.el (compare-windows):
11039 * vc/ediff-help.el (ediff-indent-help-message):
11040 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
11041 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
11042 (ediff-setup-control-frame):
11043 * vc/emerge.el (emerge-position-region):
11044 * vc/pcvs-util.el (cvs-bury-buffer):
11045 * window.el (walk-windows, mouse-autoselect-window-select):
11046 * winner.el (winner-set-conf, winner-undo): Related users changed.
11047
11048 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11049
11050 * frameset.el (frameset--set-id): Doc fix.
11051 (frameset-frame-id, frameset-frame-id-equal-p)
11052 (frameset-locate-frame-id): New functions.
11053 (frameset--process-minibuffer-frames, frameset--reuse-frame)
11054 (frameset-restore): Use them.
11055
11056 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11057
11058 Do not call to `selected-frame' where it is assumed by default.
11059 Affected functions are `raise-frame', `redraw-frame',
11060 `frame-first-window', `frame-terminal' and `delete-frame'.
11061 * calendar/appt.el (appt-disp-window):
11062 * epg.el (epg-wait-for-completion):
11063 * follow.el (follow-delete-other-windows-and-split)
11064 (follow-avoid-tail-recenter):
11065 * international/mule.el (set-terminal-coding-system):
11066 * mail/rmail.el (rmail-mail-return):
11067 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
11068 * progmodes/f90.el (f90-add-imenu-menu):
11069 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
11070 * server.el (server-switch-buffer):
11071 * simple.el (delete-completion-window):
11072 * talk.el (talk):
11073 * term/xterm.el (terminal-init-xterm-modify-other-keys)
11074 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
11075 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
11076 * vc/ediff.el (ediff-documentation): Related users changed.
11077 * frame.el (selected-terminal): Remove the leftover.
11078
11079 2013-08-05 Glenn Morris <rgm@gnu.org>
11080
11081 * calendar/calendar.el (calendar-generate-month):
11082 Fix for calendar-column-width != 1 + calendar-day-digit-width.
11083 (calendar-generate-month, calendar-font-lock-keywords):
11084 Fix for calendar-day-header-width > length of any day name.
11085
11086 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11087
11088 * desktop.el (desktop-clear): Use new name of sort predicate.
11089
11090 * frameset.el (frameset): Add docstring. Move :version property to its
11091 own `version' slot.
11092 (frameset-copy): Rename from copy-frameset.
11093 (frameset-p): Check more thoroughly.
11094 (frameset-prop): Do not check for :version, which is no longer a prop.
11095 (frameset-live-filter-alist, frameset-persistent-filter-alist):
11096 Use new :never value instead of t.
11097 (frameset-filter-alist): Expand and clarify docstring.
11098 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
11099 (frameset-filter-minibuffer, frameset-filter-save-param)
11100 (frameset-filter-restore-param, frameset-filter-iconified):
11101 Add pointer to docstring of frameset-filter-alist.
11102 (frameset-filter-params): Rename filter values to be more meaningful:
11103 :never instead of t, and reverse the meanings of :save and :restore.
11104 (frameset--process-minibuffer-frames): Clarify error message.
11105 (frameset-save): Avoid unnecessary and confusing call to framep.
11106 Use new BOA constructor for framesets.
11107 (frameset--reuse-list): Doc fix.
11108 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
11109 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
11110 (frameset-minibufferless-first-p): Doc fix.
11111 Rename from frameset-sort-frames-for-deletion.
11112 (frameset-restore): Doc fixes. Use new function names.
11113 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11114
11115 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11116
11117 * desktop.el (desktop-restore-forces-onscreen)
11118 (desktop-restore-reuses-frames): Document :keyword constant values.
11119 (desktop-filter-parameters-alist): Remove, now identical to
11120 frameset-filter-alist.
11121 (desktop--filter-tty*): Remove, moved to frameset.el.
11122 (desktop-save-frameset, desktop-restore-frameset):
11123 Do not pass :filters argument.
11124
11125 * frameset.el (frameset-live-filter-alist)
11126 (frameset-persistent-filter-alist): New variables.
11127 (frameset-filter-alist): Use them. Add autoload cookie.
11128 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
11129 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
11130 `frameset--id' (it's supposed to be internal to frameset.el).
11131 (frameset--process-minibuffer-frames): Ditto. Doc fix.
11132 (frameset--initial-params): New function.
11133 (frameset--get-frame): Use it. Doc fix.
11134 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
11135 Accept :all, not 'all.
11136 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
11137 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
11138 with fbound symbols. Fix frame id matching, and remove matching ids if
11139 the frame being restored is deleted. Obey :delete.
11140
11141 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11142
11143 * subr.el (macrop): New function.
11144 (text-clone--maintaining): New var.
11145 (text-clone--maintain): Rename from text-clone-maintain. Use it
11146 instead of inhibit-modification-hooks.
11147
11148 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
11149 a proxy, so as handle autoloads and redefinitions of the target.
11150 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
11151
11152 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
11153 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
11154 (pcase--mutually-exclusive-p): New function.
11155 (pcase--split-consp): Use it.
11156 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
11157 mutually exclusive with the current predicate.
11158
11159 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
11160 (edebug-macrop): Remove. Use `macrop' instead.
11161 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
11162 (ad-macro-p):
11163 * eshell/esh-cmd.el (eshell-macrop):
11164 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
11165
11166 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11167
11168 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
11169 (advice-mapc): New function, using it.
11170 (advice-function-member-p): New function.
11171 (advice--normalize): Store the cdr in advice--saved-rewrite since
11172 that's the part that will be changed.
11173 (advice--symbol-function): New function.
11174 (advice-remove): Handle removal before the function is defined.
11175 Adjust to new advice--saved-rewrite.
11176 (advice-member-p): Use advice-function-member-p and
11177 advice--symbol-function.
11178
11179 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11180
11181 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
11182 (frameset-filter-minibuffer): Doc fix.
11183 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
11184 (frameset--set-id, frameset--process-minibuffer-frames)
11185 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
11186 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
11187
11188 * desktop.el (desktop-clear): Only delete frames when called
11189 interactively and desktop-restore-frames is non-nil. Doc fix.
11190 (desktop-read): Set desktop-saved-frameset to nil.
11191
11192 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
11193
11194 * vc/vc.el (vc-ignore): Rewrite.
11195 (vc-default-ignore-completion-table, vc--read-lines)
11196 (vc--add-line, vc--remove-regexp): New functions.
11197
11198 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
11199 (vc-svn-ignore-completion-table): New function.
11200
11201 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
11202 (vc-hg-ignore-completion-table)
11203 (vc-hg-find-ignore-file): New functions.
11204
11205 * vc/vc-git.el (vc-git-ignore): Rewrite.
11206 (vc-git-ignore-completion-table)
11207 (vc-git-find-ignore-file): New functions.
11208
11209 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
11210
11211 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
11212 (vc-bzr-ignore-completion-table)
11213 (vc-bzr-find-ignore-file): New functions.
11214
11215 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
11216
11217 * frameset.el (frameset-prop): New function and setter.
11218 (frameset-save): Do not modify frame list passed by the caller.
11219
11220 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11221
11222 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
11223
11224 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
11225
11226 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
11227 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
11228
11229 * custom.el (custom-initialize-default, custom-initialize-set)
11230 (custom-initialize-reset, custom-initialize-changed): Affect the
11231 toplevel-default-value (bug#6275, bug#14586).
11232 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
11233 for bug#6275.
11234
11235 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11236
11237 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11238 Add cl-def* expressions.
11239
11240 * frameset.el (frameset-filter-params): Fix order of arguments.
11241
11242 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11243
11244 Move code related to saving frames to frameset.el.
11245 * desktop.el: Require frameset.
11246 (desktop-restore-frames): Doc fix.
11247 (desktop-restore-reuses-frames): Rename from
11248 desktop-restoring-reuses-frames.
11249 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
11250 (desktop-clear): Clear frames too.
11251 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
11252 (desktop--filter-tty*, desktop-save, desktop-read):
11253 Use frameset functions.
11254 (desktop-before-saving-frames-functions, desktop--filter-*-color)
11255 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11256 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
11257 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
11258 (desktop--process-minibuffer-frames, desktop-save-frames)
11259 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
11260 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
11261 (desktop--sort-states, desktop-restoring-frames-p)
11262 (desktop-restore-frames): Remove. Most code moved to frameset.el.
11263 (desktop-restoring-frameset-p, desktop-restore-frameset)
11264 (desktop--check-dont-save, desktop-save-frameset): New functions.
11265 (desktop--app-id): New constant.
11266 (desktop-first-buffer, desktop-buffer-ok-count)
11267 (desktop-buffer-fail-count): Move before first use.
11268 * frameset.el: New file.
11269
11270 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11271
11272 * files.el: Use lexical-binding.
11273 (dir-locals-read-from-file): Remove unused `err' variable.
11274 (hack-dir-local-variables--warned-coding): New var.
11275 (hack-dir-local-variables): Use it to avoid repeated warnings.
11276 (make-backup-file-name--default-function): New function.
11277 (make-backup-file-name-function): Use it as default.
11278 (buffer-stale--default-function): New function.
11279 (buffer-stale-function): Use it as default.
11280 (revert-buffer-insert-file-contents--default-function): New function.
11281 (revert-buffer-insert-file-contents-function): Use it as default.
11282 (insert-directory): Avoid add-to-list.
11283
11284 * autorevert.el (auto-revert-handler): Simplify.
11285 Use buffer-stale--default-function.
11286
11287 2013-08-01 Tassilo Horn <tsdh@gnu.org>
11288
11289 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
11290
11291 * whitespace.el (whitespace-ensure-local-variables): New function.
11292 (whitespace-cleanup-region): Call it.
11293 (whitespace-turn-on): Call it.
11294
11295 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
11296
11297 Complete file name handlers.
11298
11299 * net/tramp.el (tramp-handle-set-visited-file-modtime)
11300 (tramp-handle-verify-visited-file-modtime)
11301 (tramp-handle-file-notify-rm-watch): New functions.
11302 (tramp-call-process): Do not bind `default-directory'.
11303
11304 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11305 Order alphabetically.
11306 <access-file, add-name-to-file, dired-call-process>:
11307 <dired-compress-file, file-acl, file-notify-rm-watch>:
11308 <file-ownership-preserved-p, file-selinux-context>:
11309 <make-directory-internal, make-symbolic-link, set-file-acl>:
11310 <set-file-selinux-context, set-visited-file-modtime>:
11311 <verify-visited-file-modtime>: Add handler.
11312 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
11313
11314 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11315 <file-notify-add-watch, file-notify-rm-watch>:
11316 <set-file-times, set-visited-file-modtime>:
11317 <verify-visited-file-modtime>: Add handler.
11318 (with-tramp-gvfs-error-message)
11319 (tramp-gvfs-handle-set-visited-file-modtime)
11320 (tramp-gvfs-fuse-file-name): Remove.
11321 (tramp-gvfs-handle-file-notify-add-watch)
11322 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
11323 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
11324
11325 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11326 Order alphabetically.
11327 <file-notify-rm-watch>: Use default Tramp handler.
11328 <executable-find>: Remove private handler.
11329 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
11330 `default-directory'.
11331 (tramp-sh-handle-executable-find)
11332 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
11333 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11334 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
11335 Do not use `format' in `tramp-message'.
11336
11337 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
11338 <file-notify-rm-watch, set-visited-file-modtime>:
11339 <verify-visited-file-modtime>: Add handler.
11340 (tramp-smb-call-winexe): Do not bind `default-directory'.
11341
11342 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
11343
11344 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
11345
11346 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
11347
11348 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
11349 use it.
11350 (log-view-diff-changeset): Same.
11351 (log-view-diff-common): Call backend command `previous-revision'
11352 to find out the previous revision, in both cases. Swap the
11353 variables `to' and `fr', so that `fr' usually refers to the
11354 earlier revision (Bug#14989).
11355
11356 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
11357
11358 * ibuf-ext.el (ibuffer-filter-by-filename):
11359 Make it work with dired buffers too.
11360
11361 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
11362
11363 * emacs-lisp/re-builder.el (reb-color-display-p):
11364 * files.el (save-buffers-kill-terminal):
11365 * net/browse-url.el (browse-url):
11366 * server.el (server-save-buffers-kill-terminal):
11367 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
11368 Prefer nil to selected-frame for the first arg of frame-parameter.
11369
11370 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
11371
11372 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
11373
11374 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
11375
11376 * minibuffer.el (completion--twq-all): Try and preserve each
11377 completion's case choice (bug#14907).
11378
11379 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11380
11381 * net/network-stream.el (open-network-stream): Mention the new
11382 :nogreeting parameter.
11383 (network-stream-open-starttls): Use the :nogreeting parameter
11384 (bug#14938).
11385
11386 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11387
11388 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11389 more natural than popping.
11390
11391 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
11392 (shr-urlify): Highlight under mouse.
11393
11394 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11395
11396 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11397
11398 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11399
11400 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
11401 buffer for output.
11402
11403 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
11404 point-min==1. Fix search string. Fix parentheses missing.
11405
11406 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
11407 assume point-min==1. Fix search string. Fix parentheses missing.
11408
11409 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11410
11411 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
11412 buffer for output.
11413
11414 2013-07-29 Eli Zaretskii <eliz@gnu.org>
11415
11416 * frame.el (frame-notice-user-settings): Avoid inflooping when the
11417 initial frame is minibuffer-less. (Bug#14841)
11418
11419 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
11420
11421 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11422 option.
11423
11424 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11425 (tramp-maybe-open-connection): Use it.
11426
11427 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11428
11429 * desktop.el (desktop--make-frame): Include `minibuffer' in the
11430 minimal set of parameters passed when creating a frame, because
11431 the minibuffer status of a frame cannot be changed later.
11432
11433 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
11434
11435 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11436 replace-regexp-in-string and inadvertent omissions in previous change.
11437 (todo-filter-items): Ensure only file names are comma-separated in
11438 name of filtered items buffer.
11439
11440 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11441
11442 * desktop.el: Optionally force offscreen frames back onscreen.
11443 (desktop-restoring-reuses-frames): New option.
11444 (desktop--compute-pos, desktop--move-onscreen): New functions.
11445 (desktop--make-frame): Use desktop--move-onscreen.
11446
11447 2013-07-27 Alan Mackenzie <acm@muc.de>
11448
11449 Fontify a Java generic method as a function.
11450 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11451 value to t.
11452
11453 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
11454
11455 * calendar/todo-mode.el: Add command to rename todo files.
11456 (todo-rename-file): New command.
11457 (todo-key-bindings-t): Add key binding for it. Change the
11458 bindings of todo-filter-regexp-items(-multifile) to use `x'
11459 instead of `r', since the latter is better suited to the new
11460 renaming command.
11461
11462 2013-07-27 Alan Mackenzie <acm@muc.de>
11463
11464 Make Java try-with-resources statement parse properly.
11465 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11466 (c-block-stmt-1-2-key): New language constants/variables.
11467 * progmodes/cc-engine.el (c-beginning-of-statement-1)
11468 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11469 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11470 with c-block-stmt-1-2-key.
11471
11472 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
11473
11474 * desktop.el (desktop--make-frame): Apply most frame parameters after
11475 creating the frame to force (partially or totally) offscreen frames to
11476 be restored as such.
11477
11478 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
11479
11480 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11481 (Bug#14948)
11482
11483 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11484
11485 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11486 `base' arg of backtrace-frame.
11487
11488 2013-07-26 Eli Zaretskii <eliz@gnu.org>
11489
11490 * simple.el (list-processes): Doc fix.
11491
11492 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11493
11494 * desktop.el (desktop--select-frame):
11495 Try harder to reuse existing frames.
11496
11497 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11498
11499 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11500 (edebug-eval): Use backtrace-eval.
11501 (edebug--display, edebug--recursive-edit): Don't let-bind the
11502 edebug-outer-* vars that keep track of variables we locally let-bind.
11503 (edebug-outside-excursion): Don't restore outside values of locally
11504 let-bound vars.
11505 (edebug--display): Use user-error.
11506 (cl-lexical-debug, cl-debug-env): Remove.
11507
11508 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11509
11510 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11511 are restored to be sure that they are visible before deleting any
11512 remaining ones.
11513
11514 2013-07-26 Matthias Meulien <orontee@gmail.com>
11515
11516 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11517 vc-print-root-log. (Bug#14948)
11518
11519 2013-07-26 Richard Stallman <rms@gnu.org>
11520
11521 Add aliases for encrypting mail.
11522 * epa.el (epa-mail-aliases): New option.
11523 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11524 Bind inhibit-read-only so read-only text doesn't ruin everything.
11525 (epa-mail-default-recipients): New subroutine broken out.
11526 Handle epa-mail-aliases.
11527
11528 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11529
11530 Add support for lexical variables to the debugger's `e' command.
11531 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11532 vars, except for debugger-outer-match-data.
11533 (debugger-frame-number): Move check for "on a function call" from
11534 callers into it. Add `skip-base' argument.
11535 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11536 (debugger-env-macro): Only reset the state stored in non-variables,
11537 i.e. current-buffer and match-data.
11538 (debugger-eval-expression): Rewrite using backtrace-eval.
11539 * subr.el (internal--called-interactively-p--get-frame): Remove.
11540 (called-interactively-p):
11541 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11542 `base' arg of backtrace-frame instead.
11543
11544 2013-07-26 Glenn Morris <rgm@gnu.org>
11545
11546 * align.el (align-regexp): Doc fix. (Bug#14857)
11547 (align-region): Explicit error if subexpression missing/does not match.
11548
11549 * simple.el (global-visual-line-mode):
11550 Do not duplicate the mode lighter. (Bug#14858)
11551
11552 2013-07-25 Martin Rudalics <rudalics@gmx.at>
11553
11554 * window.el (display-buffer): In display-buffer bind
11555 split-window-keep-point to t, bug#14829.
11556
11557 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11558
11559 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11560 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11561 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11562 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11563 Change accordingly.
11564 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11565 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11566
11567 2013-07-25 Glenn Morris <rgm@gnu.org>
11568
11569 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11570
11571 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11572
11573 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11574 parameter to modify-frame-parameters if the value has not changed;
11575 this is a workaround for bug#14949.
11576 (desktop--make-frame): On cl-delete-if call, check parameter name,
11577 not full parameter.
11578
11579 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11580
11581 * vc/vc.el (vc-ignore): New function.
11582
11583 * vc/vc-svn.el (vc-svn-ignore): New function.
11584
11585 * vc/vc-hg.el (vc-hg-ignore): New function.
11586
11587 * vc/vc-git.el (vc-git-ignore): New function.
11588
11589 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11590 (vc-dir-ignore): New function.
11591
11592 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11593 (cvs-append-to-ignore): Move here from pcvs.el.
11594
11595 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11596
11597 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11598
11599 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11600
11601 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11602 (desktop-restore-frames): Warn when deleting an existing frame failed.
11603
11604 2013-07-24 Glenn Morris <rgm@gnu.org>
11605
11606 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11607
11608 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11609
11610 * filenotify.el (file-notify-supported-p):
11611 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11612 Remove functions.
11613
11614 * autorevert.el (auto-revert-use-notify)
11615 (auto-revert-notify-add-watch):
11616 * net/tramp.el (tramp-file-name-for-operation):
11617 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11618 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11619 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11620 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11621 Remove `file-notify-supported-p' entry.
11622
11623 2013-07-24 Glenn Morris <rgm@gnu.org>
11624
11625 * printing.el: Replace all uses of deleted ps-windows-system,
11626 ps-lp-system, ps-flatten-list with lpr- versions.
11627
11628 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11629
11630 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11631 checked with memq (bug#14935).
11632
11633 * files.el (revert-buffer-function): Use a non-nil default.
11634 (revert-buffer-preserve-modes): Declare var to
11635 provide access to the `preserve-modes' argument.
11636 (revert-buffer): Let-bind it.
11637 (revert-buffer--default): New function, extracted from revert-buffer.
11638
11639 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11640
11641 * lpr.el: Signal print errors more prominently.
11642 (print-region-function): Don't default to nil.
11643 (lpr-print-region): New function, extracted from print-region-1.
11644 Check lpr's return value and signal an error in case of problem.
11645 (print-region-1): Use it.
11646 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11647 versions instead.
11648 (ps-printer-name): Default to nil.
11649 (ps-printer-name-option): Default to lpr-printer-switch.
11650 (ps-print-region-function): Don't default to nil.
11651 (ps-postscript-code-directory): Simplify default.
11652 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11653 (ps-string-list, ps-eval-switch, ps-flatten-list)
11654 (ps-flatten-list-1): Remove.
11655 (ps-multibyte-buffer): Avoid setq.
11656 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11657 (print-region-function, ps-print-region-function): Don't set them here.
11658
11659 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11660
11661 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11662 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11663 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11664 (ido-decorations): Doc fix.
11665
11666 * ansi-color.el: Fix old URL.
11667
11668 2013-07-23 Michael R. Mauger <michael@mauger.com>
11669
11670 * progmodes/sql.el: Version 3.3
11671 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11672 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11673 (sql-interactive-remove-continuation-prompt): Rewrite, use
11674 functions above. Fix continuation prompt and complete output line
11675 handling.
11676 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11677 redirected output buffer.
11678 (sql-mode): Restore deleted code (Bug#13591).
11679
11680 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11681
11682 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11683
11684 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11685
11686 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11687
11688 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11689 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11690 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11691
11692 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11693
11694 * desktop.el (desktop-clear): Simplify; remove useless checks
11695 against invalid buffer names.
11696 (desktop-list*): Use cl-list*.
11697 (desktop-buffer-info, desktop-create-buffer): Simplify.
11698
11699 2013-07-23 Leo Liu <sdl.web@gmail.com>
11700
11701 * bookmark.el (bookmark-make-record): Restore NAME as a default
11702 value. (Bug#14933)
11703
11704 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11705
11706 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11707 extracted from autoload--insert-text.
11708 (autoload--insert-text): Remove.
11709 (autoload--print-cookie-text): New function, extracted from
11710 autoload--insert-cookie-text.
11711 (autoload--insert-cookie-text): Remove.
11712 (autoload-generate-file-autoloads): Adjust calls accordingly.
11713
11714 * winner.el (winner-hook-installed-p): Remove.
11715 (winner-mode): Simplify accordingly.
11716
11717 * subr.el (add-to-list): Fix compiler-macro when `append' is
11718 not constant. Don't use `cl-member' for the base case.
11719
11720 * progmodes/subword.el: Fix boundary case (bug#13758).
11721 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11722 own group.
11723 (subword-backward-regexp): Make it a constant.
11724 (subword-forward-internal): Don't treat a trailing capital as the
11725 beginning of a word.
11726
11727 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11728
11729 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11730 global value of tabulated-list-revert-hook (bug#14930).
11731
11732 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11733
11734 * desktop.el: Require 'cl-lib.
11735 (desktop-before-saving-frames-functions): New hook.
11736 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11737 for frames being saved. Rename from desktop--save-minibuffer-frames.
11738 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11739 Do not save frames with non-nil `desktop-dont-save' parameter.
11740 Filter out deleted frames.
11741 (desktop--find-frame): Use cl-find-if.
11742 (desktop--select-frame): Use cl-(first|second|third) to access values
11743 of desktop-mini.
11744 (desktop--make-frame): Use cl-delete-if.
11745 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11746 (desktop-restore-frames): Use cl-(first|second|third) to access values
11747 of desktop-mini. Look for visible frame at the end, not while
11748 restoring frames.
11749
11750 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11751 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11752 Use string-match-p, looking-at-p (bug#14927).
11753
11754 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11755
11756 * desktop.el (desktop-saved-frame-states):
11757 Rename from desktop--saved-states; all users changed.
11758 (desktop-save-frames): Rename from desktop--save-frames.
11759 Do not save state to desktop file.
11760 (desktop-save): Save desktop-saved-frame-states to desktop file
11761 and reset to nil.
11762 (desktop-restoring-frames-p): New function.
11763 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11764 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11765 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11766
11767 * desktop.el: Correctly restore iconified frames.
11768 (desktop--filter-iconified-position): New function.
11769 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11770
11771 2013-07-20 Glenn Morris <rgm@gnu.org>
11772
11773 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11774 Let `message' do the formatting.
11775 (def-gdb-preempt-display-buffer): Add explicit format.
11776
11777 * image-dired.el (image-dired-track-original-file):
11778 Use with-current-buffer.
11779 (image-dired-track-thumbnail): Use with-current-buffer.
11780 Avoid changing point of wrong window.
11781
11782 * image-dired.el (image-dired-track-original-file):
11783 Avoid changing point of wrong window. (Bug#14909)
11784
11785 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11786
11787 * progmodes/gdb-mi.el (gdb-done-or-error):
11788 Guard against "%" in gdb output. (Bug#14127)
11789
11790 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11791
11792 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11793 (Bug#14826)
11794
11795 * international/mule.el (coding-system-iso-2022-flags): Fix last
11796 change.
11797
11798 2013-07-20 Kenichi Handa <handa@gnu.org>
11799
11800 * international/mule.el (coding-system-iso-2022-flags):
11801 Add `8-bit-level-4'. (Bug#8522)
11802
11803 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11804
11805 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11806 (bug#14815).
11807
11808 * net/eww.el (eww-process-text-input): Allow inputting when the
11809 point is at the start of the line, as the properties aren't
11810 front-sticky.
11811
11812 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11813 degenerate widths.
11814
11815 2013-07-19 Richard Stallman <rms@gnu.org>
11816
11817 * epa.el (epa-popup-info-window): Doc fix.
11818
11819 * subr.el (split-string): New arg TRIM.
11820
11821 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11822
11823 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11824 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11825
11826 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11827
11828 * filenotify.el (file-notify--library): Rename from
11829 `file-notify-support'. Do not autoload. Adapt all uses.
11830 (file-notify-supported-p): New defun.
11831
11832 * autorevert.el (auto-revert-use-notify):
11833 Use `file-notify-supported-p' instead of `file-notify-support'.
11834 Adapt docstring.
11835 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11836
11837 * net/tramp.el (tramp-file-name-for-operation):
11838 Add `file-notify-supported-p'.
11839
11840 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11841 New defun.
11842 (tramp-sh-file-name-handler-alist): Add it as handler for
11843 `file-notify-supported-p '.
11844
11845 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11846 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11847 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11848 Add `ignore' as handler for `file-notify-*' functions.
11849
11850 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11851
11852 * simple.el (line-move-partial, line-move): Don't start vscroll or
11853 scroll-up if the current line is not taller than the window.
11854 (Bug#14881)
11855
11856 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11857
11858 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11859 highlight question marks in the method names as strings.
11860 (ruby-block-beg-keywords): Inline.
11861 (ruby-font-lock-keyword-beg-re): Extract from
11862 `ruby-font-lock-keywords'.
11863
11864 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11865
11866 * frame.el (blink-cursor-blinks): New defcustom.
11867 (blink-cursor-blinks-done): New defvar.
11868 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11869 (blink-cursor-timer-function): Check if number of blinks has been
11870 done on X and NS.
11871 (blink-cursor-suspend, blink-cursor-check): New defuns.
11872
11873 2013-07-15 Glenn Morris <rgm@gnu.org>
11874
11875 * edmacro.el (edmacro-format-keys): Fix previous change.
11876
11877 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11878
11879 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11880 The hack didn't work outside English locales anyway.
11881
11882 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11883
11884 * simple.el (define-alternatives): Rename from alternatives-define,
11885 per RMS' suggestion.
11886
11887 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11888
11889 * desktop.el (desktop-restore-frames): Change default to t.
11890 (desktop-restore-in-current-display): Now offer more options.
11891 (desktop-restoring-reuses-frames): New customization option.
11892 (desktop--saved-states): Doc fix.
11893 (desktop-filter-parameters-alist): New variable, renamed and expanded
11894 from desktop--excluded-frame-parameters.
11895 (desktop--target-display): New variable.
11896 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11897 (desktop--filter-tty*, desktop--filter-*-color)
11898 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11899 (desktop--filter-save-desktop-parm)
11900 (desktop-restore-in-original-display-p): New functions.
11901 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11902 (desktop--save-minibuffer-frames): New function, inspired by a similar
11903 function from Martin Rudalics.
11904 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11905 (desktop--restore-in-this-display-p): Remove.
11906 (desktop--find-frame): Rename from desktop--find-frame-in-display
11907 and add predicate argument.
11908 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11909 (desktop--reuse-list): New variable.
11910 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11911 New functions.
11912 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11913
11914 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11915
11916 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11917
11918 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11919
11920 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11921 Highlight conversion methods on Kernel.
11922
11923 2013-07-13 Alan Mackenzie <acm@muc.de>
11924
11925 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11926 and comment it out. This out-commenting enables certain C++
11927 declarations to be parsed correctly.
11928
11929 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11930
11931 * international/mule.el (define-coding-system): Doc fix.
11932
11933 * simple.el (default-font-height): Don't call font-info if the
11934 frame's default font didn't change since the frame was created.
11935 (Bug#14838)
11936
11937 2013-07-13 Leo Liu <sdl.web@gmail.com>
11938
11939 * ido.el (ido-read-file-name): Guard against non-symbol value.
11940
11941 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11942
11943 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11944 in nested defuns.
11945
11946 2013-07-13 Leo Liu <sdl.web@gmail.com>
11947
11948 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11949 ido-set-matches call. (Bug#6852)
11950
11951 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11952
11953 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11954 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11955 Ruby 2.0.
11956 (ruby-font-lock-keywords): Distinguish calls to functions with
11957 module-like names from module references. Highlight character
11958 literals.
11959
11960 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11961
11962 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11963 (gdb-send): Handle continued commands. (Bug#14847)
11964
11965 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11966
11967 * desktop.el (desktop--v2s): Remove unused local variable.
11968 (desktop-save-buffer): Make defvar-local; adjust docstring.
11969 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11970 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11971
11972 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11973
11974 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11975
11976 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11977
11978 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11979 (Bug#14842)
11980
11981 2013-07-12 Glenn Morris <rgm@gnu.org>
11982
11983 * doc-view.el: Require cl-lib at runtime too.
11984 (doc-view-remove-if): Remove.
11985 (doc-view-search-next-match, doc-view-search-previous-match):
11986 Use cl-remove-if.
11987
11988 * edmacro.el: Require cl-lib at runtime too.
11989 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11990 (edmacro-mismatch, edmacro-subseq): Remove.
11991
11992 * shadowfile.el: Require cl-lib.
11993 (shadow-remove-if): Remove.
11994 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11995 Use cl-remove-if.
11996
11997 * wid-edit.el: Require cl-lib.
11998 (widget-choose): Use cl-remove-if.
11999 (widget-remove-if): Remove.
12000
12001 * progmodes/ebrowse.el: Require cl-lib at runtime too.
12002 (ebrowse-delete-if-not): Remove.
12003 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
12004 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
12005 Use cl-delete-if-not.
12006
12007 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
12008
12009 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
12010 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
12011
12012 2013-07-12 Leo Liu <sdl.web@gmail.com>
12013
12014 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
12015
12016 2013-07-11 Glenn Morris <rgm@gnu.org>
12017
12018 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
12019 (edebug-gensym-index, edebug-gensym):
12020 Remove reimplementation of cl-gensym.
12021 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
12022
12023 * thumbs.el: Require cl-lib at run-time too.
12024 (thumbs-gensym-counter, thumbs-gensym):
12025 Remove reimplementation of cl-gensym.
12026 (thumbs-temp-file): Use cl-gensym.
12027
12028 * emacs-lisp/ert.el: Require cl-lib at runtime too.
12029 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
12030 (ert--intersection, ert--set-difference, ert--set-difference-eq)
12031 (ert--union, ert--gensym-counter, ert--gensym-counter)
12032 (ert--coerce-to-vector, ert--remove*, ert--string-position)
12033 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
12034 (ert-make-test-unbound, ert--expand-should-1)
12035 (ert--expand-should, ert--should-error-handle-error)
12036 (should-error, ert--explain-equal-rec)
12037 (ert--plist-difference-explanation, ert-select-tests)
12038 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
12039 Use cl-lib functions rather than reimplementations.
12040
12041 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
12042
12043 * net/tramp.el (tramp-methods): Extend docstring.
12044 (tramp-connection-timeout): New defcustom.
12045 (tramp-error-with-buffer): Reset timestamp only when appropriate.
12046 (with-tramp-progress-reporter): Simplify.
12047 (tramp-process-actions): Improve messages.
12048
12049 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
12050 * net/tramp-sh.el (tramp-maybe-open-connection):
12051 Use `tramp-connection-timeout'.
12052 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
12053 (Bug#14808)
12054
12055 2013-07-11 Leo Liu <sdl.web@gmail.com>
12056
12057 * ido.el (ido-read-file-name): Conform to the requirements of
12058 read-file-name. (Bug#11861)
12059 (ido-read-directory-name): Conform to the requirements of
12060 read-directory-name.
12061
12062 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
12063
12064 * subr.el (delay-warning): New function.
12065
12066 2013-07-10 Eli Zaretskii <eliz@gnu.org>
12067
12068 * simple.el (default-line-height): New function.
12069 (line-move-partial, line-move): Use it instead of computing the
12070 line height inline.
12071 (line-move-partial): Always compute ROWH. If the last line is
12072 partially-visible, but its text is completely visible, allow
12073 cursor to enter such a partially-visible line.
12074
12075 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
12076
12077 Improve error messages. (Bug#14808)
12078
12079 * net/tramp.el (tramp-current-connection): New defvar, moved from
12080 tramp-sh.el.
12081 (tramp-message-show-progress-reporter-message): Remove, not
12082 needed anymore.
12083 (tramp-error-with-buffer): Show message in minibuffer.
12084 Discard input before waiting. Reset connection timestamp.
12085 (with-tramp-progress-reporter): Improve messages.
12086 (tramp-process-actions): Use progress reporter. Delete process in
12087 case of error. Improve messages.
12088
12089 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
12090 Call `tramp-error-with-buffer' with vector and buffer.
12091 (tramp-current-connection): Remove.
12092 (tramp-maybe-open-connection): The car of
12093 `tramp-current-connection' are the first 3 slots of the vector.
12094
12095 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
12096
12097 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
12098 inside continued strings.
12099
12100 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
12101
12102 Timestamp fixes for undo (Bug#14824).
12103 * files.el (clear-visited-file-modtime): Move here from fileio.c.
12104
12105 2013-07-10 Leo Liu <sdl.web@gmail.com>
12106
12107 * files.el (require-final-newline): Allow safe local value.
12108 (Bug#14834)
12109
12110 2013-07-09 Leo Liu <sdl.web@gmail.com>
12111
12112 * ido.el (ido-read-directory-name): Handle fallback.
12113 (ido-read-file-name): Update DIR to ido-current-directory.
12114 (Bug#1516)
12115 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
12116
12117 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
12118
12119 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
12120 "autoload". Remove "warn lower camel case" section, previously
12121 commented out. Highlight negation char. Do not highlight the
12122 target in singleton method definitions.
12123
12124 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12125
12126 * faces.el (tty-setup-hook): Declare the hook.
12127
12128 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
12129 and detect when a guard/pred depends on local vars (bug#14773).
12130 (pcase--u1): Adjust caller.
12131
12132 2013-07-08 Eli Zaretskii <eliz@gnu.org>
12133
12134 * simple.el (line-move-partial, line-move): Account for
12135 line-spacing.
12136 (line-move-partial): Avoid setting vscroll when the last
12137 partially-visible line in window is of default height.
12138
12139 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12140
12141 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
12142 been used a while.
12143
12144 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
12145
12146 * subr.el (read-quoted-char): Remove unused local variable `char'.
12147
12148 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
12149
12150 * vc/ediff.el (ediff-version): Version update.
12151 (ediff-files-command, ediff3-files-command, ediff-merge-command)
12152 (ediff-merge-with-ancestor-command, ediff-directories-command)
12153 (ediff-directories3-command, ediff-merge-directories-command)
12154 (ediff-merge-directories-with-ancestor-command): New functions.
12155 All are command-line interfaces to ediff: to facilitate calling
12156 Emacs with the appropriate ediff functions invoked.
12157
12158 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
12159 New function.
12160 (viper-save-kill-buffer): Check if buffer is modified.
12161
12162 * emulation/viper.el (viper-version): Version update.
12163 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
12164
12165 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
12166
12167 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
12168 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
12169 (viper-intercept-ESC-key): Simplify.
12170 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
12171 don't use kbd.
12172 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
12173 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
12174 (viper-setup-ESC-to-escape): New functions.
12175 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
12176 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
12177
12178 2013-07-07 Eli Zaretskii <eliz@gnu.org>
12179
12180 * simple.el (default-font-height, window-screen-lines):
12181 New functions.
12182 (line-move, line-move-partial): Use them instead of
12183 frame-char-height and window-text-height. This makes scrolling
12184 text smoother when the buffer's default face uses a font that is
12185 different from the frame's default font.
12186
12187 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
12188
12189 * files.el (write-file): Do not display confirm dialog for NS,
12190 it does its own dialog, which can't be canceled (Bug#14578).
12191
12192 2013-07-06 Eli Zaretskii <eliz@gnu.org>
12193
12194 * simple.el (line-move-partial): Adjust the row returned by
12195 posn-at-point for the current window-vscroll. (Bug#14567)
12196
12197 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
12198
12199 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
12200 (tramp-sh-file-inotifywait-process-filter): Handle file names with
12201 spaces.
12202
12203 2013-07-06 Martin Rudalics <rudalics@gmx.at>
12204
12205 * window.el (window-state-put-stale-windows): New variable.
12206 (window--state-put-2): Save list of windows without matching buffer.
12207 (window-state-put): Remove "bufferless" windows if possible.
12208
12209 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12210
12211 * simple.el (alternatives-define): Remove leftover :group keyword.
12212 Tweak docstring.
12213
12214 2013-07-06 Leo Liu <sdl.web@gmail.com>
12215
12216 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
12217 (ido-enable-virtual-buffers): New variable.
12218 (ido-buffer-internal, ido-toggle-virtual-buffers)
12219 (ido-make-buffer-list): Use it.
12220 (ido-exhibit): Support turning on and off virtual buffers
12221 automatically.
12222
12223 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12224
12225 * simple.el (alternatives-define): New macro.
12226
12227 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
12228
12229 * subr.el (read-quoted-char): Use read-key.
12230 (sit-for): Let read-event decode tty input (bug#14782).
12231
12232 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
12233
12234 * calendar/todo-mode.el: Add handling of file deletion, both by
12235 mode command and externally. Fix various related bugs.
12236 Clarify Commentary and improve some documentation strings and code.
12237 (todo-delete-file): New command.
12238 (todo-check-file): New function.
12239 (todo-show): Handle external deletion of the file we're trying to
12240 show (bug#14688). Replace called-interactively-p by an optional
12241 prefix argument to avoid problematic interaction with catch form
12242 when byte compiled (bug#14702).
12243 (todo-quit): Handle external deletion of the archive's todo file.
12244 Make sure the buffer that was visiting the archive file is still
12245 live before trying to bury it.
12246 (todo-category-completions): Handle external deletion of any
12247 category completion files.
12248 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
12249 of todo files, in case of external deletion.
12250 (todo-add-file): Replace unnecessary setq by let-binding.
12251 (todo-find-archive): Check whether there are any archives.
12252 Replace unnecessary setq by let-binding.
12253 (todo-archive-done-item): Use find-file-noselect to get the
12254 archive buffer whether or not the archive already exists.
12255 Remove superfluous code. Use file size instead of buffer-file-name to
12256 check if the archive is new; if it is, update list of archives.
12257 (todo-default-todo-file): Allow nil to be a valid value for when
12258 there are no todo files.
12259 (todo-reevaluate-default-file-defcustom): Use corrected definition
12260 of todo-default-todo-file.
12261 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
12262 (todo-delete-category, todo-show-categories-table)
12263 (todo-category-number): Clarify comment.
12264 (todo-filter-items): Clarify documentation string.
12265 (todo-show-current-file, todo-display-as-todo-file)
12266 (todo-reset-and-enable-done-separator): Tweak documentation string.
12267 (todo-done-separator): Make separator length window-width, since
12268 bug#2749 is now fixed.
12269
12270 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
12271
12272 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12273 Support both "gvfs-monitor-dir" and "inotifywait".
12274 (tramp-sh-file-inotifywait-process-filter): Rename from
12275 `tramp-sh-file-notify-process-filter'.
12276 (tramp-sh-file-gvfs-monitor-dir-process-filter)
12277 (tramp-get-remote-gvfs-monitor-dir): New defuns.
12278
12279 2013-07-05 Leo Liu <sdl.web@gmail.com>
12280
12281 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
12282
12283 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12284
12285 * frame.el (display-pixel-height, display-pixel-width)
12286 (display-mm-height, display-mm-width): Mention behavior on
12287 multi-monitor setups in docstrings.
12288 (w32-display-monitor-attributes-list): Declare function.
12289 (display-monitor-attributes-list): Use it.
12290
12291 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
12292
12293 * filenotify.el: New package.
12294
12295 * autorevert.el (top): Require filenotify.el.
12296 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
12297 instead.
12298 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12299 (auto-revert-notify-handler): Use `file-notify-*' functions.
12300
12301 * subr.el (file-notify-handle-event): Move function to filenotify.el.
12302
12303 * net/tramp.el (tramp-file-name-for-operation):
12304 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
12305
12306 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
12307 for `file-notify-add-watch' and `file-notify-rm-watch'.
12308 (tramp-process-sentinel): Improve trace.
12309 (tramp-sh-handle-file-notify-add-watch)
12310 (tramp-sh-file-notify-process-filter)
12311 (tramp-sh-handle-file-notify-rm-watch)
12312 (tramp-get-remote-inotifywait): New defuns.
12313
12314 2013-07-03 Juri Linkov <juri@jurta.org>
12315
12316 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
12317 call of `occur-read-primary-args' to interactive spec.
12318
12319 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
12320 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
12321
12322 2013-07-03 Matthias Meulien <orontee@gmail.com>
12323
12324 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
12325 `Buffer-menu-multi-occur'. Add it to the menu.
12326 (Buffer-menu-mode): Document it in docstring.
12327 (Buffer-menu-multi-occur): New command. (Bug#14673)
12328
12329 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12330
12331 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
12332 keywords and built-ins.
12333
12334 2013-07-03 Glenn Morris <rgm@gnu.org>
12335
12336 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
12337
12338 Make info-xref checks case-sensitive by default
12339 * info.el (Info-find-node, Info-find-in-tag-table)
12340 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
12341 Add option for exact case matching of nodes.
12342 * info-xref.el (info-xref): New custom group.
12343 (info-xref-case-fold): New option.
12344 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
12345
12346 2013-07-03 Leo Liu <sdl.web@gmail.com>
12347
12348 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
12349
12350 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12351
12352 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
12353 middle of block statement initially, lower the depth. Remove
12354 FIXME comment, not longer valid. Remove middle of block statement
12355 detection, no need to do that anymore since we've been using
12356 `ruby-parse-region' here.
12357
12358 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
12359
12360 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
12361
12362 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
12363
12364 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
12365
12366 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
12367
12368 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
12369 (desktop-restore-in-current-display): New customization option.
12370 (desktop--excluded-frame-parameters): Add `font'.
12371 (desktop--save-frames): Rename from desktop--save-windows.
12372 (desktop--restore-in-this-display-p): New function.
12373 (desktop--make-full-frame): Remove unwanted width/height from
12374 full(width|height) frames.
12375 (desktop--restore-frames): Rename from desktop--restore-windows.
12376 Obey desktop-restore-current-display. Do not delete old frames or
12377 select a new frame unless we were able to restore at least one frame.
12378
12379 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
12380
12381 * files.el (find-file-noselect): Simplify conditional expression.
12382
12383 * textmodes/remember.el (remember-append-to-file):
12384 Don't mix `find-buffer-visiting' and `get-file-buffer'.
12385
12386 Add `remember-notes' function to store random notes across Emacs
12387 restarts.
12388 * textmodes/remember.el (remember-data-file): Add :set callback to
12389 affect notes buffer (if any).
12390 (remember-notes): New command.
12391 (remember-notes-buffer-name, bury-remember-notes-on-kill):
12392 New defcustoms for the `remember-notes' function.
12393 (remember-notes-save-and-bury-buffer): New command.
12394 (remember-notes-mode-map): New variable.
12395 (remember-mode): New minor mode.
12396 (remember-notes--kill-buffer-query): New function.
12397 * startup.el (initial-buffer-choice): Add notes to custom type.
12398
12399 2013-06-30 Eli Zaretskii <eliz@gnu.org>
12400
12401 * bindings.el (right-char, left-char): Don't call sit-for, this is
12402 no longer needed. Use arithmetic comparison only for numerical
12403 arguments.
12404
12405 * international/mule-cmds.el (select-safe-coding-system):
12406 Handle the case of FROM being a string correctly. (Bug#14755)
12407
12408 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12409
12410 * net/shr.el (shr-make-table-1): Add a sanity check that allows
12411 progression on degenerate tables.
12412 (shr-rescale-image): ImageMagick animated images currently don't work.
12413
12414 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
12415
12416 Some fixes and improvements for desktop frame restoration.
12417 It is still experimental and disabled by default.
12418 * desktop.el (desktop--save-windows): Put the selected frame at
12419 the head of the list.
12420 (desktop--make-full-frame): New function.
12421 (desktop--restore-windows): Try to re-select the frame that was
12422 selected upon saving. Do not abort if some frames fail to restore,
12423 just show an error message and continue. Set up maximized frames
12424 so they have default non-maximized dimensions.
12425
12426 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
12427
12428 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12429 Don't start heredoc inside a string or comment.
12430
12431 2013-06-29 Eli Zaretskii <eliz@gnu.org>
12432
12433 * bindings.el (visual-order-cursor-movement): New defcustom.
12434 (right-char, left-char): Provide visual-order cursor motion by
12435 calling move-point-visually. Update the doc strings.
12436
12437 2013-06-28 Kenichi Handa <handa@gnu.org>
12438
12439 * international/mule.el (define-coding-system): New coding system
12440 properties :inhibit-null-byte-detection,
12441 :inhibit-iso-escape-detection, and :prefer-utf-8.
12442 (set-buffer-file-coding-system): If :charset-list property of
12443 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12444 appropriate for setting.
12445
12446 * international/mule-cmds.el (select-safe-coding-system):
12447 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12448 multibyte characters, return utf-8 (or one of its siblings).
12449
12450 * international/mule-conf.el (prefer-utf-8): New coding system.
12451 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12452 files.
12453
12454 2013-06-28 Ivan Kanis <ivan@kanis.fr>
12455
12456 * net/shr.el (shr-render-region): New function.
12457
12458 * net/eww.el: Autoload `eww-browse-url'.
12459
12460 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
12461
12462 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12463 Adapt to `package-desc-version' being a list.
12464 Use `package--ac-desc-version' to retrieve version from a package
12465 archive element.
12466
12467 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
12468
12469 New experimental feature to save&restore window and frame setup.
12470 * desktop.el (desktop-save-windows): New defcustom.
12471 (desktop--saved-states): New var.
12472 (desktop--excluded-frame-parameters): New defconst.
12473 (desktop--filter-frame-parms, desktop--find-frame-in-display)
12474 (desktop--restore-windows, desktop--save-windows): New functions.
12475 (desktop-save): Call `desktop--save-windows'.
12476 (desktop-read): Call `desktop--restore-windows'.
12477
12478 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12479
12480 * net/shr.el (add-face-text-property): Remove compat definition.
12481
12482 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12483
12484 * info.el (Info-try-follow-nearest-node): Move search for footnote
12485 above search for node name to prevent missing a footnote (bug#14717).
12486
12487 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12488
12489 * obsolete/otodo-mode.el: Add obsolescence info to file header.
12490
12491 2013-06-27 Leo Liu <sdl.web@gmail.com>
12492
12493 * net/eww.el (eww-read-bookmarks): Check file size.
12494
12495 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12496
12497 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12498 advice--pending if newdef is nil or an autoload (bug#13820).
12499 (advice-mapc): New function.
12500
12501 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12502
12503 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12504 probably.
12505 (eww-mode-map): Add a menu bar.
12506 (eww-add-bookmark): New command.
12507 (eww-bookmark-mode): New mode and commands.
12508 (eww-add-bookmark): Remove newlines from the title.
12509 (eww-bookmark-browse): Don't bug out if it's the only window.
12510
12511 2013-06-26 Glenn Morris <rgm@gnu.org>
12512
12513 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12514 (hfy-size): Handle ttys. (Bug#14668)
12515
12516 * info-xref.el: Update for Texinfo 5 change in *note format.
12517 (info-xref-node-re, info-xref-note-re): New constants.
12518 (info-xref-check-buffer): Use info-xref-note-re.
12519
12520 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12521
12522 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12523
12524 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12525 nil terminate the loop (bug#14718).
12526
12527 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12528
12529 * net/eww.el: Rework history traversal. When going forward/back,
12530 put these actions into the history, too, so that they can be
12531 replayed.
12532 (eww-render): Move the history reset to the correct buffer.
12533
12534 2013-06-25 Juri Linkov <juri@jurta.org>
12535
12536 * files-x.el (modify-dir-local-variable): Change the header comment
12537 in the file with directory local variables. (Bug#14692)
12538
12539 * files-x.el (read-file-local-variable-value): Add `default'.
12540 (Bug#14710)
12541
12542 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12543
12544 * net/eww.el (eww-make-unique-file-name): Create a unique file
12545 name before saving to entering `y' accidentally asynchronously.
12546
12547 2013-06-25 Ivan Kanis <ivan@kanis.fr>
12548
12549 * net/eww.el (eww-download): New command and keystroke.
12550
12551 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12552
12553 * net/eww.el (eww-copy-page-url): Change name of command.
12554
12555 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12556 be more consistent with Info and dired.
12557
12558 * net/eww.el (eww-mode-map): Ditto.
12559
12560 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12561
12562 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12563 packages from archives.
12564 (package-archive-contents): Change format; include obsolete packages.
12565 (package-desc): Use `dir' to mark builtin packages.
12566 (package--from-builtin): Set the `dir' field to `builtin'.
12567 (generated-autoload-file, version-control): Declare.
12568 (package-compute-transaction): Change first arg and return value to be
12569 lists of package-descs. Adjust to new package-archive-contents format.
12570 (package--add-to-archive-contents): Adjust to new
12571 package-archive-contents format.
12572 (package-download-transaction): Arg is now a list of package-descs.
12573 (package-install): If `pkg' is a package name, pass it as
12574 a requirement, so it is subject to the usual (e.g. disabled) checks.
12575 (describe-package): Accept package-desc as well.
12576 (describe-package-1): Describe a specific package-desc. Add links to
12577 other package-descs for the same package name.
12578 (package-menu-describe-package): Pass the actual package-desc.
12579 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12580 works correctly.
12581 (package-desc-status): New function.
12582 (package-menu--refresh): New function, extracted
12583 from package-menu--generate.
12584 (package-menu--generate): Use it.
12585 (package-delete): Update package-alist.
12586 (package-menu-execute): Don't call package-initialize.
12587
12588 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12589 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12590 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12591 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12592 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12593 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12594
12595 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12596
12597 * window.el (window--state-get-1): Workaround for bug#14527.
12598 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12599
12600 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12601
12602 * net/eww.el (eww-back-url): Implement the history by stashing all
12603 the data into a list.
12604 (eww-forward-url): Allow going forward in the history, too.
12605
12606 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12607
12608 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12609 for values and use read--expression for expressions (bug#14710).
12610 (read-file-local-variable): Avoid setq.
12611 (read-file-local-variable-mode): Use minor-mode-list.
12612
12613 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12614
12615 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12616 for DOI URLs.
12617
12618 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12619
12620 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12621 Update imenu-support when dialect changes.
12622
12623 2013-06-25 Leo Liu <sdl.web@gmail.com>
12624
12625 * ido.el (ido-read-internal): Allow forward slash on windows.
12626
12627 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12628
12629 * net/eww.el (eww): Start of strings is \\`, not ^.
12630
12631 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12632
12633 * net/shr.el (shr-browse-url): Fix interactive spec.
12634
12635 * net/eww.el (eww): Add a trailing slash to domain names.
12636
12637 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12638
12639 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12640
12641 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12642
12643 * net/shr.el (shr-browse-url): Use an external browser if given a
12644 prefix.
12645
12646 * net/eww.el (eww-external-browser): Move to shr.
12647
12648 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12649
12650 * net/eww.el (eww): Work more correctly for file: URLs.
12651 (eww-detect-charset): Allow quoted charsets.
12652 (eww-yank-page-url): New command and keystroke.
12653
12654 2013-06-24 Daiki Ueno <ueno@gnu.org>
12655
12656 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12657 file name of gpg executable.
12658 (epg-context-program): New function.
12659 (epg-context-home-directory): New function.
12660 (epg-context-set-program): New function.
12661 (epg-context-set-home-directory): New function.
12662 (epg--start): Use `epg-context-program' instead of
12663 'epg-gpg-program'.
12664 (epg--list-keys-1): Likewise.
12665
12666 2013-06-24 Leo Liu <sdl.web@gmail.com>
12667
12668 * ido.el (ido-read-internal): Fix bug#14620.
12669
12670 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12671
12672 * faces.el (face-documentation): Simplify.
12673 (read-face-attribute, tty-find-type, x-resolve-font-name):
12674 Use `string-match-p'.
12675 (list-faces-display): Use `string-match-p'. Simplify.
12676 (face-spec-recalc): Check face to avoid face alias loops.
12677 (read-color): Use `string-match-p' and non-capturing parenthesis.
12678
12679 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12680
12681 * net/shr.el (shr-rescale-image): Use the new
12682 :max-width/:max-height functionality.
12683
12684 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12685
12686 * net/eww.el (eww-search-prefix): New variable.
12687 (eww): Use it.
12688 (eww-external-browser): New variable.
12689 (eww-mode-map): New keystroke.
12690 (eww-browse-with-external-browser): New command.
12691
12692 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12693
12694 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12695
12696 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12697 Don't skip aligning the next header field when padding is 0;
12698 otherwise, field width is not respected unless the title is as
12699 wide as the field.
12700
12701 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12702
12703 * emacs-lisp/package.el (package-el-version): Remove.
12704 (package-process-define-package): Fix inf-loop.
12705 (package-install): Allow symbols as arguments again.
12706
12707 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12708
12709 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12710 add some more keyword-like methods.
12711 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12712
12713 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12714
12715 * bs.el (bs-buffer-show-mark): Make defvar-local.
12716 (bs-mode): Use setq-local.
12717
12718 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12719 (emacs-lock--try-unlocking): Make defvar-local.
12720
12721 2013-06-22 Glenn Morris <rgm@gnu.org>
12722
12723 * play/cookie1.el (cookie-apropos): Minor simplification.
12724
12725 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12726
12727 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12728
12729 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12730 `regexp-opt', it breaks the build during dumping.
12731
12732 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12733
12734 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12735 Highlight keyword-like methods on Kernel and Module with
12736 font-lock-builtin-face.
12737 (auto-mode-alist): Consolidate different entries into one regexp
12738 and add more *file-s.
12739
12740 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12741
12742 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12743
12744 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12745 (diary-entry): Use it in the action of this button type instead of
12746 diary-goto-entry.
12747
12748 * calendar/todo-mode.el: New version.
12749 (todo-add-category): Append new category to end of file and give
12750 it the highest number, instead of putting it at the beginning and
12751 giving it 0. Incorporate noninteractive functionality.
12752 (todo-forward-category): Adapt to 1-based category numbering.
12753 Allow skipping over archived categories.
12754 (todo-backward-category): Derive from todo-forward-category.
12755 (todo-backward-item, todo-forward-item): Make noninteractive and
12756 delegate interactive part to new commands. Make sensitive to done items.
12757 (todo-categories): Make value an alist of category names and
12758 vectors of item counts.
12759 (todo-category-beg): Make a defconst.
12760 (todo-category-number): Use 1 instead of 0 as initial value.
12761 (todo-category-select): Make sensitive to overlays, optional item
12762 highlighting and done items.
12763 (todo-delete-item): Make sensitive to overlays and marked and done items.
12764 (todo-edit-item): Make sensitive to overlays and editing of
12765 date/time header optional. Add format checks.
12766 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12767 no-op if point is not on an item. Advertise using todo-edit-quit.
12768 (todo-edit-mode): Make sensitive to new format, font-locking, and
12769 multiple todo files.
12770 (todo-insert-item, todo-insert-item-here): Derive from
12771 todo-basic-insert-item and extend functionality.
12772 (todo-item-end, todo-item-start): Make sensitive to done items.
12773 (todo-item-string): Don't return text properties. Restore point.
12774 (todo-jump-to-category): Make sensitive to multiple todo files and
12775 todo archives. Use extended category completion.
12776 (todo-lower-item, todo-raise-item): Rename to *-priority and
12777 derive from todo-set-item-priority.
12778 (todo-mode): Derive from special-mode. Make sensitive to new
12779 format, font-locking and multiple todo files. Make read-only.
12780 (todo-mode-map): Don't suppress digit keys, so they can supply
12781 prefix arguments. Add many new key bindings.
12782 (todo-prefix): Insert as an overlay instead of file text.
12783 Change semantics from diary date expression to purely visual mark.
12784 (todo-print): Rename to todo-print-buffer. Make buffer display
12785 features printable. Remove option to restrict number of items
12786 printed. Add option to print to file.
12787 (todo-print-function): Rename to todo-print-buffer-function.
12788 (todo-quit): Extend to handle exiting new todo modes.
12789 (todo-remove-item): Make sensitive to overlays.
12790 (todo-save): Extend to buffers of filtered items.
12791 (todo-show): Make sensitive to done items, multiple todo files and
12792 new todo modes. Offer to convert legacy todo file before creating
12793 first new todo file.
12794 (todo-show-priorities): Rename to todo-top-priorities.
12795 Change semantics of value 0.
12796 (todo-top-priorities): Rename to todo-filter-top-priorities,
12797 derive from todo-filter-items and extend functionality.
12798 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12799 and extend functionality to other types of filtered items.
12800 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12801 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12802 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12803 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12804 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12805 (todo-edit-mode-hook, todo-entry-prefix-function)
12806 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12807 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12808 (todo-initials, todo-insert-threshold, todo-item-string-start)
12809 (todo-line-string, todo-menu, todo-mode-hook)
12810 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12811 (todo-print-priorities, todo-remove-separator)
12812 (todo-save-top-priorities-too, todo-string-count-lines)
12813 (todo-string-multiline-p, todo-time-string-format)
12814 (todo-tmp-buffer-name): Remove.
12815 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12816 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12817 (todo-edit-category-diary-inclusion)
12818 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12819 (todo-edit-file, todo-edit-item-date-day)
12820 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12821 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12822 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12823 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12824 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12825 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12826 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12827 (todo-filter-top-priorities-multifile, todo-find-archive)
12828 (todo-find-filtered-items-file, todo-go-to-source-item)
12829 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12830 (todo-jump-to-archive-category, todo-lower-category)
12831 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12832 (todo-move-category, todo-move-item, todo-next-button)
12833 (todo-next-item, todo-padded-string, todo-powerset)
12834 (todo-previous-button, todo-previous-item)
12835 (todo-print-buffer-to-file, todo-raise-category)
12836 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12837 (todo-set-category-number, todo-set-item-priority)
12838 (todo-set-top-priorities-in-category)
12839 (todo-set-top-priorities-in-file, todo-show-categories-table)
12840 (todo-sort-categories-alphabetically-or-numerically)
12841 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12842 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12843 (todo-toggle-item-header, todo-toggle-item-highlighting)
12844 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12845 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12846 (todo-unarchive-items, todo-unmark-category): New commands.
12847 (todo-absolute-file-name, todo-add-to-buffer-list)
12848 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12849 (todo-basic-insert-item, todo-category-completions)
12850 (todo-category-number, todo-category-string-matcher-1)
12851 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12852 (todo-check-format, todo-clear-matches)
12853 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12854 (todo-current-category, todo-date-string-matcher)
12855 (todo-define-insertion-command, todo-diary-expired-matcher)
12856 (todo-diary-goto-entry, todo-diary-item-p)
12857 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12858 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12859 (todo-done-item-section-p, todo-done-separator)
12860 (todo-done-string-matcher, todo-files, todo-filter-items)
12861 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12862 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12863 (todo-insert-category-line, todo-insert-item-from-calendar)
12864 (todo-insert-sort-button, todo-insert-with-overlays)
12865 (todo-insertion-command-name, todo-insertion-key-bindings)
12866 (todo-label-to-key, todo-longest-category-name-length)
12867 (todo-make-categories-list, todo-mode-external-set)
12868 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12869 (todo-modes-set-3, todo-multiple-filter-files)
12870 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12871 (todo-read-category, todo-read-date, todo-read-dayname)
12872 (todo-read-file-name, todo-read-time)
12873 (todo-reevaluate-category-completions-files-defcustom)
12874 (todo-reevaluate-default-file-defcustom)
12875 (todo-reevaluate-filelist-defcustoms)
12876 (todo-reevaluate-filter-files-defcustom)
12877 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12878 (todo-reset-done-separator, todo-reset-done-separator-string)
12879 (todo-reset-done-string, todo-reset-global-current-todo-file)
12880 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12881 (todo-reset-prefix, todo-set-categories)
12882 (todo-set-date-from-calendar, todo-set-show-current-file)
12883 (todo-set-top-priorities, todo-short-file-name)
12884 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12885 (todo-total-item-counts, todo-update-buffer-list)
12886 (todo-update-categories-display, todo-update-categories-sexp)
12887 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12888 New functions.
12889 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12890 New major modes.
12891 (todo-categories, todo-display, todo-edit, todo-faces)
12892 (todo-filtered): New defgroups.
12893 (todo-archived-only, todo-button, todo-category-string, todo-date)
12894 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12895 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12896 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12897 (todo-add-item-if-new-category, todo-always-add-time-string)
12898 (todo-categories-align, todo-categories-archived-label)
12899 (todo-categories-category-label, todo-categories-diary-label)
12900 (todo-categories-done-label, todo-categories-number-separator)
12901 (todo-categories-todo-label, todo-categories-totals-label)
12902 (todo-category-completions-files, todo-completion-ignore-case)
12903 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12904 (todo-done-separator-string, todo-done-string)
12905 (todo-files-function, todo-filter-done-items, todo-filter-files)
12906 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12907 (todo-initial-category, todo-initial-file, todo-item-mark)
12908 (todo-legacy-date-time-regexp, todo-mode-line-function)
12909 (todo-nondiary-marker, todo-number-prefix)
12910 (todo-print-buffer-function, todo-show-current-file)
12911 (todo-show-done-only, todo-show-first, todo-show-with-done)
12912 (todo-skip-archived-categories, todo-top-priorities-overrides)
12913 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12914 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12915 New defcustoms.
12916 (todo-category-done, todo-date-pattern, todo-date-string-start)
12917 (todo-diary-items-buffer, todo-done-string-start)
12918 (todo-filtered-items-buffer, todo-item-start)
12919 (todo-month-abbrev-array, todo-month-name-array)
12920 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12921 (todo-top-priorities-buffer): New defconsts.
12922 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12923 (todo-categories-with-marks, todo-category-string-face)
12924 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12925 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12926 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12927 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12928 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12929 (todo-font-lock-keywords, todo-global-current-todo-file)
12930 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12931 (todo-insertion-commands-args)
12932 (todo-insertion-commands-args-genlist)
12933 (todo-insertion-commands-names, todo-insertion-map)
12934 (todo-key-bindings-t, todo-key-bindings-t+a)
12935 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12936 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12937 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12938 (todo-visited): New variables.
12939
12940 2013-06-21 Glenn Morris <rgm@gnu.org>
12941
12942 * play/cookie1.el (cookie-apropos): Add optional display argument.
12943 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12944 (psychoanalyze-pinhead): Use cookie-doctor.
12945
12946 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12947
12948 * emacs-lisp/package.el (tar-get-file-descriptor)
12949 (tar--extract): Declare.
12950
12951 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12952
12953 Extend flymake's warning predicate to be a function (bug#14217).
12954 * progmodes/flymake.el (flymake-warning-predicate): New.
12955 (flymake-parse-line): Use it.
12956 (flymake-warning-re): Make obsolete alias to
12957 `flymake-warning-predicate'.
12958
12959 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12960
12961 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12962 (package-obsolete-list): Remove.
12963 (package-activate): Remove min-version argument. Add `force' argument.
12964 Adjust to new package-alist format.
12965 (package-mark-obsolete): Remove.
12966 (package-unpack): Force reload of the package's autoloads.
12967 (package-installed-p): Check builtins if the installed package is not
12968 recent enough.
12969 (package-initialize): Don't reset package-obsolete-list.
12970 Don't specify which package version to activate.
12971 (package-process-define-package, describe-package-1)
12972 (package-menu--generate): Adjust to new package-alist format.
12973
12974 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12975
12976 * allout-widgets.el (allout-widgets-mode-off)
12977 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12978 (allout-widgets-post-command-business)
12979 (allout-widgets-after-copy-or-kill-function)
12980 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12981 (allout-decorate-item-and-context)
12982 (allout-graphics-modification-handler): Fix typos in docstrings.
12983 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12984
12985 * cmuscheme.el (scheme-start-file): Doc fix.
12986 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12987 (scheme-input-filter): Use `string-match-p'.
12988
12989 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12990
12991 * dired-x.el: Use Dired consistently in docstrings.
12992
12993 * dired.el: Use Dired consistently in docstrings.
12994 (dired-readin, dired-mode): Use `setq-local'.
12995 (dired-switches-alist): Make defvar-local.
12996 (dired-buffers-for-dir): Use `zerop'.
12997 (dired-safe-switches-p, dired-switches-escape-p)
12998 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12999 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
13000 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
13001 (dired-goto-next-nontrivial-file): Use `string-match-p'.
13002 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
13003 (dired-toggle-marks, dired-mark-files-containing-regexp)
13004 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
13005 (dired-flag-auto-save-files, dired-flag-backup-files):
13006 Use `looking-at-p'.
13007 (dired-mark-files-regexp, dired-build-subdir-alist):
13008 Use `string-match-p', `looking-at-p'.
13009
13010 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
13011 (direct-print-region-helper): Use `string-match-p'.
13012
13013 2013-06-21 Leo Liu <sdl.web@gmail.com>
13014
13015 * comint.el (comint-redirect-results-list-from-process):
13016 Fix infinite loop.
13017
13018 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13019
13020 * net/eww.el (eww-update-header-line-format): Quote % characters.
13021
13022 2013-06-21 Glenn Morris <rgm@gnu.org>
13023
13024 * play/cookie1.el (cookie): New custom group.
13025 (cookie-file): New option.
13026 (cookie-check-file): New function.
13027 (cookie): Make it interactive. Make start and end messages optional.
13028 Interactively, display the result. Default to cookie-file.
13029 (cookie-insert): Default to cookie-file.
13030 (cookie-snarf): Make start and end messages optional.
13031 Default to cookie-file. Use with-temp-buffer.
13032 (cookie-read): Rename from read-cookie.
13033 Make start and end messages optional. Default to cookie-file.
13034 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
13035 Do not autoload it.
13036 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
13037 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
13038
13039 2013-06-21 Leo Liu <sdl.web@gmail.com>
13040
13041 * progmodes/octave.el (octave-mode): Backward compatibility fix.
13042
13043 2013-06-21 Glenn Morris <rgm@gnu.org>
13044
13045 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
13046
13047 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13048 Daniel Hackney <dan@haxney.org>
13049
13050 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
13051 Consolidate the single-file vs tarball code.
13052 (package-desc-suffix): New function.
13053 (package-desc-full-name): Don't bother inlining it.
13054 (package-load-descriptor): Return the new package-desc.
13055 (package-mark-obsolete): Remove unused arg `package'.
13056 (package-unpack): Make it work for single files as well.
13057 Make it update package-alist.
13058 (package--make-autoloads-and-stuff): Rename from
13059 package--make-autoloads-and-compile. Don't compile any more.
13060 (package--compile): New function.
13061 (package-generate-description-file): New function, extracted from
13062 package-unpack-single.
13063 (package-unpack-single): Remove.
13064 (package--with-work-buffer): Add indentation and debugging info.
13065 (package-download-single): Remove.
13066 (package-install-from-archive): Rename from package-download-tar, make
13067 it take a pkg-desc, and make it work for single files as well.
13068 (package-download-transaction): Simplify.
13069 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
13070 external tar program.
13071 (package-install-from-buffer): Remove `pkg-desc' argument.
13072 Use package-tar-file-info for tar-mode buffers.
13073 (package-install-file): Simplify accordingly.
13074 (package-archive-base): Change to take a pkg-desc.
13075 * tar-mode.el (tar--check-descriptor): New function, extracted from
13076 tar-get-descriptor.
13077 (tar-get-descriptor): Use it.
13078 (tar-get-file-descriptor): New function.
13079 (tar--extract): New function, extracted from tar-extract.
13080 (tar--extract): Use it.
13081 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
13082 case the summary uses non-ascii. Adjust to new calling convention of
13083 package-tar-file-info.
13084
13085 2013-06-21 Leo Liu <sdl.web@gmail.com>
13086
13087 * comint.el (comint-redirect-results-list-from-process):
13088 Fix random delay. (Bug#14681)
13089
13090 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13091
13092 * profiler.el (profiler-format-number): Use log, not log10.
13093
13094 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13095
13096 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
13097
13098 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13099
13100 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
13101 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
13102 yet available.
13103 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
13104 (AUTOGENEL): ... here.
13105 * emacs-lisp/cl-macs.el (cl--sublis): New function.
13106 (cl--defsubst-expand): Use it.
13107
13108 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
13109
13110 * subr.el (log10): Move here from C code, and declare as obsolete.
13111 All uses of (log10 X) replaced with (log X 10).
13112
13113 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13114
13115 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
13116 Declare with `defvar-local'.
13117 (tabulated-list-use-header-line, tabulated-list-entries)
13118 (tabulated-list-padding, tabulated-list-printer)
13119 (tabulated-list-sort-key): Declare with `defvar-local'.
13120 (tabulated-list-init-header, tabulated-list-print-fake-header):
13121 Use `setq-local'.
13122
13123 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
13124
13125 * arc-mode.el (archive-mode): Add `archive-write-file' to
13126 `write-contents-functions' also for remote files. (Bug#14652)
13127
13128 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13129
13130 * cus-edit.el (custom-commands): Fix typos.
13131 (custom-display): Fix tooltip text.
13132 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
13133 Fix typos in docstrings.
13134 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
13135 (custom-unlispify-menu-entry, custom-magic-value-create)
13136 (custom-add-see-also, custom-group-value-create): Use ?\s.
13137 (custom-guess-type, customize-apropos, editable-field)
13138 (custom-face-value-create): Use `string-match-p'.
13139 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
13140
13141 * custom.el (custom-load-symbol): Use `string-match-p'.
13142
13143 * ansi-color.el: Convert to lexical binding.
13144 (ansi-colors): Fix URL.
13145 (ansi-color-context, ansi-color-context-region): Use defvar-local.
13146 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
13147 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
13148
13149 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13150
13151 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
13152
13153 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
13154
13155 2013-06-19 Tom Tromey <tromey@redhat.com>
13156
13157 * net/eww.el (eww-top-url): Remove.
13158 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
13159 (eww-render): Set new variables. Don't set eww-top-url.
13160 (eww-handle-link): Handle "prev", "home", and "contents".
13161 Downcase the rel text.
13162 (eww-top-url): Choose best top URL.
13163
13164 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13165
13166 * net/eww.el: Rewrite to implement form elements "by hand" instead of
13167 relying in widget.el. Using widget.el leads to too many
13168 user interface inconsistencies.
13169 (eww-self-insert): Implement entering commands in text fields.
13170 (eww-process-text-input): New function to make text input field editing
13171 work.
13172 (eww-submit): Rewrite to use the new-style form methods.
13173 (eww-select-display): Display the correct selected item.
13174 (eww-change-select): Implement changing the select value.
13175 (eww-toggle-checkbox): Implement radio/checkboxes.
13176 (eww-update-field): Fix compilation error.
13177 (eww-tag-textarea): Implement <textarea>.
13178
13179 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
13180 we don't shadow mode-specific bindings.
13181
13182 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
13183 nothing to push.
13184
13185 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
13186
13187 2013-06-19 Glenn Morris <rgm@gnu.org>
13188
13189 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
13190
13191 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13192
13193 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
13194 not needed.
13195
13196 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
13197
13198 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13199
13200 * net/browse-url.el (browse-url-browser-function):
13201 `eww-browse-url' has the right calling signature, `eww' does not.
13202
13203 2013-06-19 Glenn Morris <rgm@gnu.org>
13204
13205 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13206 Only eval autoloaded macros.
13207 (byte-compile-autoload): Only give the macro warning for macros.
13208
13209 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
13210 (ps-underlined-faces): Declare.
13211
13212 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
13213 (speedbar-add-supported-extension): Declare.
13214
13215 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
13216 Don't include a date stamp in the header of the generated file;
13217 it leads to needless differences between output files.
13218
13219 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13220
13221 * net/secrets.el (secrets-struct-secret-content-type):
13222 Replace check of introspection data by a test call of "CreateItem".
13223 Some servers do not offer introspection.
13224
13225 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
13226
13227 * electric.el (electric-pair-mode): Improve interaction with
13228 electric-layout-mode.
13229 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
13230 (electric-pair-syntax): Use text-mode-syntax-table in comments
13231 and strings.
13232 (electric-pair--insert): New function.
13233 (electric-pair-post-self-insert-function): Use it and
13234 electric--after-char-pos.
13235
13236 2013-06-19 Leo Liu <sdl.web@gmail.com>
13237
13238 * progmodes/octave.el (octave-help): Fix regexp.
13239
13240 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13241
13242 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
13243 (shr-table-horizontal-line): Allow nil as a value, and change the
13244 default.
13245 (shr-insert-table-ruler): Respect the nil value.
13246
13247 2013-06-18 Tom Tromey <tromey@barimba>
13248
13249 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13250 New defvars.
13251 (eww-open-file): New defun.
13252 (eww-render): Initialize new variables.
13253 (eww-display-html): Handle "link" and "a".
13254 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
13255 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
13256 (eww-back-url): Rename from eww-previous-url.
13257 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13258 New defuns.
13259
13260 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
13261
13262 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
13263 Distinguish ternary operator tokens from slash symbol and slash
13264 char literal.
13265
13266 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13267
13268 Convert symbol prettification into minor mode and global minor mode.
13269
13270 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
13271 `prog-prettify-symbols', and make a local defvar instead of defcustom.
13272 (prettify-symbols--keywords): Rename from
13273 `prog-prettify-symbols-alist' and make a local defvar.
13274 (prettify-symbols--compose-symbol): Rename from
13275 `prog--prettify-font-lock-compose-symbol'.
13276 (prettify-symbols--make-keywords): Rename from
13277 `prog-prettify-font-lock-symbols-keywords' and simplify.
13278 (prog-prettify-install): Remove.
13279 (prettify-symbols-mode): New minor mode, based on
13280 `prog-prettify-install'.
13281 (turn-on-prettify-symbols-mode): New function.
13282 (global-prettify-symbols-mode): New globalized minor mode.
13283
13284 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13285 * progmodes/cfengine.el (cfengine3-mode):
13286 * progmodes/perl-mode.el (perl-mode): Don't call
13287 `prog-prettify-install'; set `prettify-symbols-alist' instead.
13288
13289 2013-06-18 Juri Linkov <juri@jurta.org>
13290
13291 * files-x.el (modify-file-local-variable-message): New function.
13292 (modify-file-local-variable)
13293 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
13294 and call `modify-file-local-variable-message' when it's non-nil.
13295 (add-file-local-variable, delete-file-local-variable)
13296 (add-file-local-variable-prop-line)
13297 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
13298 and use it. (Bug#9820)
13299
13300 2013-06-18 Juri Linkov <juri@jurta.org>
13301
13302 * emulation/vi.el (vi-shell-op):
13303 * emulation/vip.el (vip-execute-com, ex-command):
13304 * emulation/viper-cmd.el (viper-exec-bang):
13305 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
13306 the call of `shell-command-on-region'. (Bug#14637)
13307
13308 * simple.el (shell-command-on-region): Doc fix.
13309
13310 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13311
13312 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
13313 (bug#14633).
13314
13315 2013-06-18 Glenn Morris <rgm@gnu.org>
13316
13317 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
13318
13319 * newcomment.el (comment-search-forward, comment-search-backward):
13320 Doc fix. (Bug#14376)
13321
13322 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13323
13324 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
13325 (buffer-face-mode-invoke): Doc fix.
13326
13327 2013-06-18 Matthias Meulien <orontee@gmail.com>
13328
13329 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
13330 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
13331
13332 2013-06-18 Glenn Morris <rgm@gnu.org>
13333
13334 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
13335 Replace obsolete function generic-make-keywords with its expansion.
13336
13337 * progmodes/python.el (ffap-alist): Declare.
13338
13339 * textmodes/reftex.el (bibtex-mode-map): Declare.
13340
13341 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13342
13343 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
13344 (package-unpack, package-unpack-single): Return the pkg-dir.
13345 (package-download-transaction): Use it to update package-alist.
13346
13347 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13348
13349 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
13350 possible choice.
13351
13352 2013-06-17 Juri Linkov <juri@jurta.org>
13353
13354 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
13355
13356 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13357
13358 * emacs-lisp/package.el (package-load-descriptor):
13359 Remove `with-syntax-table' call, `read' doesn't need it.
13360 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
13361
13362 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13363
13364 * startup.el (command-line): Expand package name returned by
13365 `package--description-file' (bug#14639).
13366
13367 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13368
13369 * emacs-lisp/package.el (package-load-descriptor): Do not call
13370 `emacs-lisp-mode', just use its syntax table.
13371
13372 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13373
13374 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
13375 `font-lock-extra-managed-props' if any prettifying keyword is added.
13376 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
13377 (prog-mode): Use `setq-local'.
13378
13379 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13380
13381 * international/characters.el (standard-case-table): Set syntax of ?»
13382 and ?« to punctuation.
13383
13384 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
13385
13386 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13387 Save relevant match data before calling `syntax-ppss' (bug#14595).
13388
13389 2013-06-15 Juri Linkov <juri@jurta.org>
13390
13391 * files-x.el (modify-file-local-variable-prop-line): Add local
13392 variables to the end of the existing comment on the first line.
13393 Use `file-auto-mode-skip' to skip interpreter magic line,
13394 and also skip XML declaration.
13395
13396 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13397
13398 * startup.el (package--builtin-versions): New var.
13399 (package-subdirectory-regexp): Remove.
13400 (package--description-file): Hard code its value instead.
13401
13402 * emacs-lisp/package.el: Don't activate packages older than builtin.
13403 (package-obsolete-list): Rename from package-obsolete-alist, and make
13404 it into a simple list of package-desc.
13405 (package-strip-version): Remove.
13406 (package-built-in-p): Use package--builtin-versions.
13407 (package-mark-obsolete): Simplify.
13408 (package-process-define-package): Mark it obsolete if older than the
13409 builtin version.
13410 (package-handle-response): Use line-end-position.
13411 (package-read-archive-contents, package--download-one-archive):
13412 Simplify.
13413 (package--add-to-archive-contents): Skip if older than the builtin or
13414 installed version.
13415 (package-menu-describe-package): Fix last change.
13416 (package-list-unversioned): New var.
13417 (package-menu--generate): Use it.
13418
13419 * emacs-lisp/autoload.el: Manage package--builtin-versions.
13420 (autoload--insert-text, autoload--insert-cookie-text): New functions.
13421 (autoload-builtin-package-versions): New variable.
13422 (autoload-generate-file-autoloads): Use them.
13423 Remove the list of autoloaded functions/macros from the
13424 (autoload...) comments.
13425
13426 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13427
13428 2013-06-15 Eli Zaretskii <eliz@gnu.org>
13429
13430 * simple.el (line-move-partial): Don't jump to the next screen
13431 line as soon as it becomes visible. Instead, continue enlarging
13432 the vscroll until the portion of a tall screen line that's left on
13433 display is about the height of the frame's default font.
13434 (Bug#14567)
13435
13436 2013-06-15 Glenn Morris <rgm@gnu.org>
13437
13438 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13439 compilation-error-regexp-alist void, or local while let-bound.
13440
13441 * progmodes/make-mode.el (makefile-mode-syntax-table):
13442 Treat "=" as punctuation. (Bug#14614)
13443
13444 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
13445
13446 * help-fns.el (describe-variable):
13447 Add extra line for permanent-local variables.
13448
13449 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
13450
13451 * progmodes/scheme.el (scheme-font-lock-keywords-2):
13452 Add export, import, library. (Bug#9164)
13453 (library): Set indent function.
13454
13455 2013-06-14 Glenn Morris <rgm@gnu.org>
13456
13457 * term/xterm.el (xterm--query):
13458 Stop after first matching handler. (Bug#14615)
13459
13460 2013-06-14 Ivan Kanis <ivan@kanis.fr>
13461
13462 Add support for dired in saveplace.
13463 * dired.el (dired-initial-position-hook): New variable.
13464 (dired-initial-position): Call hook to place cursor position.
13465 * saveplace.el (save-place-to-alist): Add dired position.
13466 (save-place-dired-hook): New function.
13467
13468 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
13469
13470 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13471 through a symbol rather than letrec.
13472
13473 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
13474 (package-desc): Add `dir' field.
13475 (package-desc-full-name): New function.
13476 (package-load-descriptor): Combine the two arguments. Don't use `load'.
13477 (package-maybe-load-descriptor): Remove.
13478 (package-load-all-descriptors): Just call package-load-descriptor.
13479 (package--disabled-p): New function.
13480 (package-desc-vers, package-desc-doc): Remove aliases.
13481 (package--dir): Remove function.
13482 (package-activate): Check if a package is disabled.
13483 (package-process-define-package): New function, extracted from
13484 define-package.
13485 (define-package): Turn into a place holder.
13486 (package-unpack-single, package-tar-file-info):
13487 Use package--description-file.
13488 (package-compute-transaction): Use package--disabled-p.
13489 (package-download-transaction): Don't call
13490 package-maybe-load-descriptor since they're all loaded anyway.
13491 (package-install): Change argument to be a pkg-desc.
13492 (package-delete): Use a single pkg-desc argument.
13493 (describe-package-1): Use package-desc-dir instead of package--dir.
13494 Use package-desc property instead of package-symbol.
13495 (package-install-button-action): Adjust accordingly.
13496 (package--push): Rewrite.
13497 (package-menu--print-info): Adjust accordingly. Change the ID format
13498 to be a pkg-desc.
13499 (package-menu-describe-package, package-menu-get-status)
13500 (package-menu--find-upgrades, package-menu-mark-upgrades)
13501 (package-menu-execute, package-menu--name-predicate):
13502 Adjust accordingly.
13503 * startup.el (package--description-file): New function.
13504 (command-line): Use it.
13505 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13506 Use package-desc-version.
13507
13508 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13509 (byte-compile-preprocess): Use it.
13510 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13511 can't quite recognize.
13512 (byte-compile-add-to-list): Remove.
13513 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13514 (cconv-closure-convert): Add assertion.
13515
13516 * emacs-lisp/map-ynp.el: Use lexical-binding.
13517 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13518 Factor out some repeated code.
13519
13520 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13521
13522 * subr.el (with-eval-after-load): New macro.
13523 (eval-after-load): Allow form to be a function.
13524 take advantage of lexical-binding.
13525 (do-after-load-evaluation): Use dolist and adjust to new format.
13526 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13527
13528 2013-06-13 Juri Linkov <juri@jurta.org>
13529
13530 * replace.el (perform-replace): Display "symbol " and other search
13531 modes from `isearch-message-prefix' in the *Help* buffer.
13532
13533 * isearch.el (isearch-query-replace): Add " symbol" and other
13534 possible search modes from `isearch-message-prefix' to the prompt.
13535 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13536 when reading a regexp to collect.
13537
13538 2013-06-13 Juri Linkov <juri@jurta.org>
13539
13540 * isearch.el (word-search-regexp): Match whitespace if the search
13541 string begins or ends in whitespace. The LAX arg is applied to
13542 both ends of the search string. Use `regexp-quote' and explicit
13543 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13544 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13545 boundaries are replaced with symbol boundaries, and characters
13546 between symbols match non-word non-symbol syntax. (Bug#14602)
13547
13548 2013-06-13 Juri Linkov <juri@jurta.org>
13549
13550 * isearch.el (isearch-del-char): Don't exceed the length of
13551 `isearch-string' by the prefix arg. (Bug#14563)
13552
13553 2013-06-13 Juri Linkov <juri@jurta.org>
13554
13555 * isearch.el (isearch-yank-word, isearch-yank-line)
13556 (isearch-char-by-name, isearch-quote-char)
13557 (isearch-printing-char, isearch-process-search-char):
13558 Add optional count prefix arg. (Bug#14563)
13559
13560 * international/isearch-x.el
13561 (isearch-process-search-multibyte-characters):
13562 Add optional count prefix arg.
13563
13564 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13565
13566 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13567 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13568 lexical-binding.
13569
13570 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13571
13572 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13573
13574 2013-06-13 Glenn Morris <rgm@gnu.org>
13575
13576 * startup.el (tty-handle-args):
13577 Don't just discard "--" and anything after. (Bug#14608)
13578
13579 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13580
13581 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13582
13583 Implement changes in Secret Service API. Make it backward compatible.
13584 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13585 (secrets-create-item): Use it. Prefix properties with interface.
13586
13587 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13588
13589 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13590 (term-emulate-terminal): Respect term-suppress-hard-newline.
13591
13592 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13593
13594 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13595 Only remove a `thumb-file' overlay. (Bug#14548)
13596
13597 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13598
13599 * mail/reporter.el (reporter-submit-bug-report):
13600 Handle missing package-name. (Bug#14600)
13601
13602 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13603
13604 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13605 (reftex-citation-prompt, reftex-default-bibliography)
13606 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13607 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13608 (reftex-bib-sort-author, reftex-bib-sort-year)
13609 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13610 (reftex-extract-bib-entries-from-thebibliography)
13611 (reftex-get-bibkey-default, reftex-get-bib-names)
13612 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13613 (reftex-format-bib-entry, reftex-parse-bibitem)
13614 (reftex-format-bibitem, reftex-do-citation)
13615 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13616 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13617 (reftex-insert-bib-matches, reftex-format-citation)
13618 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13619 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13620 existing comments into docstrings.
13621
13622 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13623
13624 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13625
13626 2013-06-12 Andreas Schwab <schwab@suse.de>
13627
13628 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13629 for auto-save files.
13630
13631 2013-06-12 Glenn Morris <rgm@gnu.org>
13632
13633 * ido.el (ido-delete-ignored-files): Remove.
13634 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13635 Go back to calling ido-ignore-item-p directly.
13636
13637 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13638
13639 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13640
13641 * ido.el (ido-delete-ignored-files): New function,
13642 split from ido-make-file-list-1.
13643 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13644 (ido-make-file-list-1): Use ido-delete-ignored-files.
13645
13646 2013-06-12 Leo Liu <sdl.web@gmail.com>
13647
13648 * progmodes/octave.el (inferior-octave-startup)
13649 (inferior-octave-completion-table)
13650 (inferior-octave-track-window-width-change)
13651 (octave-eldoc-function-signatures, octave-help)
13652 (octave-find-definition): Use single quoted strings.
13653 (inferior-octave-startup-args): Change default value.
13654 (inferior-octave-startup): Do not hard code "-i" and
13655 "--no-line-editing".
13656 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13657 (inferior-octave-directory-tracker): Use it.
13658 (octave-goto-function-definition): Robustify.
13659 (octave-help): Support highlighting operators in 'See also'.
13660 (octave-find-definition): Find subfunctions only in Octave mode.
13661
13662 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13663
13664 * help-fns.el (help-fns--compiler-macro): If the handler function is
13665 named, then put a link to it.
13666 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13667 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13668 (cl-typep): Use it.
13669 (cl-eval-when): Simplify debug spec.
13670 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13671 compiler-macro function instead of setting `compiler-macro-file'.
13672
13673 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13674
13675 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13676 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13677
13678 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13679 Daniel Hackney <dan@haxney.org>
13680
13681 First part of Daniel Hackney's patch to package.el.
13682 * emacs-lisp/package.el: Use defstruct.
13683 (package-desc): New, main struct.
13684 (package--bi-desc, package--ac-desc): New structs, used to describe the
13685 format in external files.
13686 (package-desc-vers): Replace with package-desc-version accessor.
13687 (package-desc-doc): Replace with package-desc-summary accessor.
13688 (package-activate-1): Remove `package' arg since the pkg-vec now
13689 includes the name.
13690 (define-package): Use package-desc-from-define.
13691 (package-unpack-single): Change file-name arg to be a symbol.
13692 (package--add-to-archive-contents): Use package-desc-create and new
13693 accessor functions to package--ac-desc.
13694 (package-buffer-info, package-tar-file-info): Return a package-desc.
13695 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13696 arg to be a package-desc.
13697 (package-install-file): Adjust accordingly. Use \' to match EOS.
13698 (package--from-builtin): New function.
13699 (describe-package-1, package-menu--generate): Use it.
13700 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13701 (package-generate-autoloads): Idem and return the name of the file.
13702 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13703 Change pkg-info arg to be a package-desc.
13704 Use package-make-ac-desc.
13705 (package-upload-file): Use \' to match EOS.
13706 * finder.el (finder-compile-keywords): Use package-make-builtin.
13707
13708 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13709
13710 * vc/vc.el (vc-deduce-fileset): Change error message.
13711 (vc-read-backend): New function.
13712 (vc-next-action): Use it.
13713
13714 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13715
13716 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13717 (prolog-font-lock-keywords): Use regexp-opt instead.
13718 Don't manually highlight strings.
13719 (prolog-mode-variables): Simplify comment-start-skip.
13720 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13721
13722 * emacs-lisp/generic.el (generic--normalise-comments)
13723 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13724 (generic-mode-set-comments): Use them.
13725 (generic-bracket-support): Use setq-local.
13726 (generic-make-keywords-list): Declare obsolete.
13727
13728 2013-06-11 Glenn Morris <rgm@gnu.org>
13729
13730 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13731 Prettify after setting font-lock-defaults. (Bug#14574)
13732
13733 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13734
13735 * replace.el (query-replace, occur-read-regexp-defaults-function)
13736 (replace-search):
13737 * subr.el (declare-function, number-sequence, local-set-key)
13738 (substitute-key-definition, locate-user-emacs-file)
13739 (with-silent-modifications, split-string, eval-after-load):
13740 Fix typos, remove unneeded backslashes and reflow some docstrings.
13741
13742 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13743
13744 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13745 default for Elisp files.
13746
13747 2013-06-11 Glenn Morris <rgm@gnu.org>
13748
13749 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13750 although define-derived-mode was doing this anyway. (Bug#14583)
13751
13752 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13753
13754 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13755 Fix make-variable-buffer-local call to refer to the correct variable.
13756
13757 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13758
13759 * eshell/em-term.el (eshell-visual-commands)
13760 (eshell-visual-subcommands, eshell-visual-options):
13761 Add summary line to docstrings. Add cross-references.
13762
13763 2013-06-10 Glenn Morris <rgm@gnu.org>
13764
13765 * epa.el (epa-read-file-name): New function. (Bug#14510)
13766 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13767
13768 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13769
13770 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13771 output redirection to be ignored with visual commands.
13772
13773 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13774
13775 * eshell/em-term.el (eshell-visual-command-p): New function.
13776 (eshell-term-initialize): Move long lambda to separate function
13777 eshell-visual-command-p.
13778 * eshell/em-dirs.el (eshell-dirs-initialize):
13779 * eshell/em-script.el (eshell-script-initialize):
13780 Add missing #' to lambda.
13781
13782 2013-06-08 Leo Liu <sdl.web@gmail.com>
13783
13784 * progmodes/octave.el (octave-add-log-current-defun): New function.
13785 (octave-mode): Set add-log-current-defun-function.
13786 (octave-goto-function-definition): Do not move point if not found.
13787 (octave-find-definition): Enhance to try subfunctions first.
13788
13789 2013-06-08 Glenn Morris <rgm@gnu.org>
13790
13791 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13792 (byte-compile-backward-char, byte-compile-backward-word):
13793 Improve previous change, to handle non-explicit nil.
13794
13795 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13796
13797 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13798 (smie--opener/closer-at-point): New function.
13799 (smie--matching-block-data): Use it. Don't match from right after an
13800 opener or right before a closer. Obey smie-blink-matching-inners.
13801 Don't signal a mismatch for repeated inners like "switch..case..case".
13802
13803 2013-06-07 Leo Liu <sdl.web@gmail.com>
13804
13805 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13806 to t. (Bug#14303)
13807 (octave-function-header-regexp): Fix. (Bug#14570)
13808 (octave-help-mode-finish-hook, octave-help-mode-finish):
13809 Remove. Just use temp-buffer-show-hook.
13810
13811 * newcomment.el (comment-search-backward): Revert last change.
13812 (Bug#14434)
13813
13814 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13815
13816 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13817
13818 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13819 through xargs, to avoid failure due to MS-Windows limitations on
13820 command-line length.
13821
13822 2013-06-06 Glenn Morris <rgm@gnu.org>
13823
13824 * font-lock.el (lisp-font-lock-keywords-2):
13825 Treat user-error like error.
13826
13827 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13828 (byte-compile-backward-char, byte-compile-backward-word):
13829 Handle explicit nil arguments. (Bug#14565)
13830
13831 2013-06-05 Alan Mackenzie <acm@muc.de>
13832
13833 * isearch.el (isearch-allow-prefix): New user option.
13834 (isearch-other-meta-char): Don't exit isearch when a prefix
13835 argument is typed whilst `isearch-allow-prefix' is non-nil.
13836 (Bug#9706)
13837
13838 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13839
13840 * autorevert.el (auto-revert-notify-handler): Use memq.
13841 Hide assertion failure.
13842
13843 * skeleton.el: Use cl-lib.
13844 (skeleton-further-elements): Use defvar-local.
13845 (skeleton-insert): Use cl-progv.
13846
13847 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13848
13849 * progmodes/prog-mode.el (prog-prettify-symbols)
13850 (prog-prettify-install): Update docstrings.
13851
13852 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13853
13854 * simple.el: Move all the prog-mode code to prog-mode.el.
13855 * progmodes/prog-mode.el: New file.
13856 * loadup.el: Add prog-mode.el.
13857
13858 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13859
13860 * simple.el (prog-prettify-symbols): Add version.
13861 (prog-prettify-install): Add convenience function to prettify symbols.
13862
13863 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13864 (perl--augmented-font-lock-keywords-1)
13865 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13866 variables and use it.
13867
13868 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13869 (cfengine3-mode): Remove unneeded variable and use it.
13870
13871 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13872 (lisp--augmented-font-lock-keywords-1)
13873 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13874 Remove unneeded variables and use it.
13875
13876 2013-06-05 João Távora <joaotavora@gmail.com>
13877
13878 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13879 to point when opening the connection. (Bug#14380)
13880
13881 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13882
13883 * subr.el (load-history-regexp, load-history-filename-element)
13884 (eval-after-load, after-load-functions, do-after-load-evaluation)
13885 (eval-next-after-load, display-delayed-warnings)
13886 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13887 definition of save-match-data.
13888 (overriding-local-map): Remove accidental obsolescence declaration.
13889
13890 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13891
13892 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13893
13894 Generalize symbol prettify support to prog-mode and implement it
13895 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13896 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13897 (prog--prettify-font-lock-compose-symbol)
13898 (prog-prettify-font-lock-symbols-keywords): New variables and
13899 functions to support symbol prettification.
13900 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13901 (lisp--augmented-font-lock-keywords-1)
13902 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13903 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13904 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13905 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13906 Implement prettify of -> => :: strings.
13907 * progmodes/perl-mode.el (perl-prettify-symbols)
13908 (perl--font-lock-compose-symbol)
13909 (perl--font-lock-symbols-keywords): Move to prog-mode.
13910 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13911 (perl-font-lock-keywords-1)
13912 (perl-font-lock-keywords-2): Remove explicit prettify support.
13913 (perl--augmented-font-lock-keywords)
13914 (perl--augmented-font-lock-keywords-1)
13915 (perl--augmented-font-lock-keywords-2, perl-mode):
13916 Implement prettify support.
13917
13918 2013-06-05 Leo Liu <sdl.web@gmail.com>
13919
13920 Re-implement SMIE matching block highlight using
13921 show-paren-data-function. (Bug#14395)
13922 * emacs-lisp/smie.el (smie-matching-block-highlight)
13923 (smie--highlight-matching-block-overlay)
13924 (smie--highlight-matching-block-lastpos)
13925 (smie-highlight-matching-block)
13926 (smie-highlight-matching-block-mode): Remove.
13927 (smie--matching-block-data-cache): New variable.
13928 (smie--matching-block-data): New function.
13929 (smie-setup): Use smie--matching-block-data for
13930 show-paren-data-function.
13931
13932 * progmodes/octave.el (octave-mode-menu): Fix.
13933 (octave-find-definition): Skip garbage lines.
13934
13935 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13936
13937 Fix compilation error with simultaneous dynamic+lexical scoping.
13938 Add warning when a defvar appears after the first let-binding.
13939 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13940 (byte-compile-close-variables): Initialize it.
13941 (byte-compile--declare-var): New function.
13942 (byte-compile-file-form-defvar)
13943 (byte-compile-file-form-define-abbrev-table)
13944 (byte-compile-file-form-custom-declare-variable): Use it.
13945 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13946 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13947 (byte-compile-bind): Handle dynamic bindings that shadow
13948 lexical bindings.
13949 (byte-compile-unbind): Make arg non-optional.
13950 (byte-compile-let): Simplify.
13951 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13952 (cconv--analyse-function, cconv-analyse-form): Populate it.
13953 Protect byte-compile-bound-variables to limit the scope of defvars.
13954 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13955 Remove unneeded rule for `declare'.
13956
13957 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13958 so as to avoid depending on cl-adjoin at run-time.
13959 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13960
13961 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13962 (macroexp--warn-and-return): Use it.
13963
13964 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13965
13966 * subr.el: Convert to lexical binding.
13967 (overriding-local-map): Make obsolete.
13968 (add-to-list): Doc fix. Add compiler macro.
13969 (read-key): Swap values of local maps.
13970
13971 2013-06-05 Leo Liu <sdl.web@gmail.com>
13972
13973 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13974
13975 2013-06-04 Leo Liu <sdl.web@gmail.com>
13976
13977 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13978 (compilation-auto-jump): Suppress the "Mark set" message to give
13979 way to exit message.
13980
13981 2013-06-04 Alan Mackenzie <acm@muc.de>
13982
13983 Remove faulty optimisation from indentation calculation.
13984 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13985 search limit based on 2000 characters back from indent-point.
13986
13987 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13988
13989 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13990
13991 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13992
13993 * emacs-lisp/lisp.el: Use lexical-binding.
13994 (lisp--local-variables-1, lisp--local-variables): New functions.
13995 (lisp--local-variables-completion-table): New var.
13996 (lisp-completion-at-point): Use it complete let-bound vars.
13997
13998 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13999 eagerly (bug#14422).
14000
14001 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
14002
14003 * autorevert.el (auto-revert-notify-enabled)
14004 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
14005 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
14006 (auto-revert-notify-handler): Handle also gfilenotify.
14007
14008 * subr.el (file-notify-handle-event): New defun. Replacing ...
14009 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
14010 Remove.
14011
14012 2013-06-03 Juri Linkov <juri@jurta.org>
14013
14014 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
14015 `M-s h .'. (Bug#14427)
14016
14017 * hi-lock.el (highlight-symbol-at-point): New alias for the new
14018 command `hi-lock-face-symbol-at-point'.
14019 (hi-lock-face-symbol-at-point): New command.
14020 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
14021 (hi-lock-menu): Add `highlight-symbol-at-point'.
14022 (hi-lock-mode): Doc fix.
14023
14024 * isearch.el (isearch-forward-symbol-at-point): New command.
14025 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
14026 (isearch-highlight-regexp): Add a regexp which matches
14027 words/symbols for word/symbol mode.
14028
14029 * subr.el (find-tag-default-bounds): New function with the body
14030 mostly moved from `find-tag-default'.
14031 (find-tag-default): Move most code to `find-tag-default-bounds',
14032 call it and apply `buffer-substring-no-properties' afterwards.
14033
14034 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14035
14036 * eshell/em-term.el (eshell-term-initialize):
14037 Use `cl-intersection' rather than `intersection'.
14038
14039 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
14040
14041 * vc/log-view.el: Doc fix.
14042 (log-view-mode-map): Copy keymap from `special-mode-map'.
14043
14044 2013-06-02 Eric Ludlam <zappo@gnu.org>
14045
14046 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
14047 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
14048 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
14049 (eieio-unbound, eieio-default-superclass)
14050 (eieio--define-field-accessors, method-static, method-before)
14051 (method-primary, method-after, method-num-lists)
14052 (method-generic-before, method-generic-primary)
14053 (method-generic-after, method-num-slots)
14054 (eieio-specialized-key-to-generic-key)
14055 (eieio--check-type, class-v, class-p)
14056 (eieio-class-name, define-obsolete-function-alias)
14057 (eieio-class-parents-fast, eieio-class-children-fast)
14058 (same-class-fast-p, class-constructor, generic-p)
14059 (generic-primary-only-p, generic-primary-only-one-p)
14060 (class-option-assoc, class-option, eieio-object-p)
14061 (class-abstract-p, class-method-invocation-order)
14062 (eieio-defclass-autoload-map, eieio-defclass-autoload)
14063 (eieio-class-un-autoload, eieio-defclass)
14064 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
14065 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
14066 (eieio--defgeneric-init-form, eieio-defgeneric-form)
14067 (eieio-defgeneric-reset-generic-form)
14068 (eieio-defgeneric-form-primary-only)
14069 (eieio-defgeneric-reset-generic-form-primary-only)
14070 (eieio-defgeneric-form-primary-only-one)
14071 (eieio-defgeneric-reset-generic-form-primary-only-one)
14072 (eieio-unbind-method-implementations)
14073 (eieio--defmethod, eieio--typep)
14074 (eieio-perform-slot-validation, eieio-validate-slot-value)
14075 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
14076 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
14077 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
14078 (eieio-slot-name-index, eieio-class-slot-name-index)
14079 (eieio-set-defaults, eieio-initarg-to-attribute)
14080 (eieio-attribute-to-initarg, eieio-c3-candidate)
14081 (eieio-c3-merge-lists, eieio-class-precedence-c3)
14082 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
14083 (eieio-class-precedence-list, eieio-generic-call-methodname)
14084 (eieio-generic-call-arglst, eieio-generic-call-key)
14085 (eieio-generic-call-next-method-list)
14086 (eieio-pre-method-execution-functions, eieio-generic-call)
14087 (eieio-generic-call-primary-only, eieiomt-method-list)
14088 (eieiomt-optimizing-obarray, eieiomt-install)
14089 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
14090 (eieio-generic-form, eieio-defmethod, make-obsolete)
14091 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
14092 (defclass): Remove `eval-and-compile' from macro.
14093 (call-next-method, shared-initialize): Instead of using
14094 `scoped-class' variable, use new eieio--scoped-class, and
14095 eieio--with-scoped-class.
14096 (initialize-instance): Rename local variable 'scoped-class' to
14097 'this-class' to remove ambiguitity from old global.
14098
14099 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
14100 eieio.el.
14101 (eieio--scoped-class-stack): New variable.
14102 (eieio--scoped-class): New fcn.
14103 (eieio--with-scoped-class): New scoping macro.
14104 (eieio-defclass): Use pushnew instead of add-to-list.
14105 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
14106 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
14107 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
14108 `scoped-class' variable, use new eieio--scoped-class, and
14109 eieio--with-scoped-class.
14110
14111 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
14112
14113 2013-06-02 Tassilo Horn <tsdh@gnu.org>
14114
14115 * eshell/esh-ext.el (eshell-external-command): Pass args to
14116 `eshell-find-interpreter'.
14117 (eshell-find-interpreter): Add new second parameter ARGS.
14118
14119 * eshell/em-script.el (eshell-script-initialize): Add second arg
14120 to the function added as MATCH to `eshell-interpreter-alist'.
14121
14122 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
14123 the function added as MATCH to `eshell-interpreter-alist'.
14124
14125 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
14126 (eshell-visual-options): New defcustom.
14127 (eshell-escape-control-x): Adapt docstring.
14128 (eshell-term-initialize): Test `eshell-visual-subcommands' and
14129 `eshell-visual-options' in addition to `eshell-visual-commands'.
14130 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
14131
14132 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
14133
14134 * progmodes/python.el (python-indent-block-enders): Add break,
14135 continue and raise keywords.
14136
14137 2013-06-01 Glenn Morris <rgm@gnu.org>
14138
14139 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
14140
14141 Plain (f)boundp silences compilation warnings since Emacs 22.1.
14142 * progmodes/cc-cmds.el (delete-forward-p):
14143 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
14144 * progmodes/cc-engine.el (buffer-syntactic-context):
14145 * progmodes/cc-fonts.el (face-property-instance):
14146 * progmodes/cc-mode.el (set-keymap-parents):
14147 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
14148 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
14149 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
14150 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
14151 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
14152
14153 * progmodes/cc-vars.el (other): Emacs has this widget since
14154 at least 21.1, so don't (re)define it.
14155
14156 * eshell/em-cmpl.el (eshell-cmpl-initialize):
14157 Replace the obsolete alias pcomplete-arg-quote-list.
14158
14159 2013-06-01 Leo Liu <sdl.web@gmail.com>
14160
14161 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
14162 punctuation syntax.
14163 (inferior-octave-minimal-columns)
14164 (inferior-octave-last-column-width): New variables.
14165 (inferior-octave-track-window-width-change): New function.
14166 (inferior-octave-mode): Adjust column width so that Octave output,
14167 for example from 'ls', can fit into the window nicely.
14168
14169 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14170
14171 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14172 Highlight expansions inside regexp literals.
14173
14174 2013-05-31 Glenn Morris <rgm@gnu.org>
14175
14176 * obsolete/sym-comp.el (symbol-complete):
14177 Replace obsolete completion-annotate-function.
14178
14179 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
14180
14181 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14182
14183 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14184 New function, checks if point is inside a literal that allows
14185 expression expansion.
14186 (ruby-syntax-propertize-expansion): Use it.
14187 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
14188 around the body.
14189
14190 2013-05-30 Juri Linkov <juri@jurta.org>
14191
14192 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
14193 to "\M-si".
14194 (isearch-invisible): New variable.
14195 (isearch-forward): Doc fix.
14196 (isearch-mode): Set `isearch-invisible'
14197 to the value of `search-invisible'.
14198 (isearch-toggle-case-fold): Doc fix.
14199 (isearch-toggle-invisible): New command.
14200 (isearch-query-replace): Let-bind `search-invisible'
14201 to the value of `isearch-invisible'.
14202 (isearch-search): Use `isearch-invisible' instead of
14203 `search-invisible'. Let-bind `search-invisible'
14204 to the value of `isearch-invisible'. (Bug#11378)
14205
14206 2013-05-30 Juri Linkov <juri@jurta.org>
14207
14208 * replace.el (perform-replace): Avoid `isearch-range-invisible'
14209 call when `query-flag' is nil and `search-invisible' is non-nil.
14210 (Bug#11746)
14211
14212 2013-05-30 Glenn Morris <rgm@gnu.org>
14213
14214 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
14215
14216 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
14217 (cc-require): Suppress spurious "noruntime" warnings.
14218 (cc-require-when-compile): Use fboundp, for sake of compiler.
14219
14220 * progmodes/cc-mode.el: Move load of cc-vars before that of
14221 cc-langs (which in turn loads cc-vars), to quieten compiler.
14222
14223 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14224
14225 * paren.el: Simplify the code.
14226 (show-paren-mode): Always start the timer.
14227 (show-paren--idle-timer): Rename from show-paren-idle-timer.
14228 (show-paren--overlay, show-paren--overlay-1): Rename from
14229 show-paren-overlay and show-paren-overlay-1, and initialize to an
14230 overlay rather than to nil.
14231 (show-paren-function): Misc cleanup and simplifications.
14232
14233 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14234
14235 * paren.el (show-paren-data-function): New hook.
14236 (show-paren--default): New function, extracted from show-paren-function.
14237 (show-paren-function): Use show-paren-data-function.
14238
14239 2013-05-30 Glenn Morris <rgm@gnu.org>
14240
14241 * ielm.el (ielm-map, ielm-complete-symbol):
14242 Use completion-at-point rather than obsolete functions.
14243 (inferior-emacs-lisp-mode): Doc fix.
14244 Set completion-at-point-functions, rather than
14245 comint-dynamic-complete-functions.
14246
14247 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
14248 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
14249 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
14250
14251 * image.el (image-animated-p): Tweak definition.
14252
14253 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
14254 (rlogin-process-connection-type): Tweak default. Add set-after.
14255 (rlogin-host): Doc fix.
14256 (rlogin): Tweak prompt.
14257 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
14258
14259 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
14260 * progmodes/tcl.el (inferior-tcl-mode-map):
14261 Use completion-at-point rather than obsolete alias.
14262
14263 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
14264
14265 * minibuffer.el (read-file-name-completion-ignore-case):
14266 Move before completion--in-region, for eager macro expansion.
14267
14268 2013-05-29 Juri Linkov <juri@jurta.org>
14269
14270 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
14271 for total count of matching lines. Add `global-matches' for total
14272 count of matches. Rename `matches' to `lines' for count of
14273 matching lines. Add `matches' for count of matches.
14274 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
14275 to `prev-line' for line number of prev match endpt.
14276 Increment `matches' for every match. Print the number of
14277 matching lines in the header.
14278 (occur-context-lines): Rename `lines' to `curr-line'.
14279 Rename `prev-lines' to `prev-line'. (Bug#14017)
14280
14281 2013-05-29 Juri Linkov <juri@jurta.org>
14282
14283 * replace.el (perform-replace): Add `skip-read-only-count',
14284 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
14285 Increment them for corresponding conditions and report the number
14286 of skipped occurrences in the final message. (Bug#11746)
14287 (query-replace, query-replace-regexp, query-replace-regexp-eval)
14288 (replace-string, replace-regexp): Doc fix.
14289
14290 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14291
14292 * emacs-lisp/trace.el (trace--read-args): Provide a default.
14293
14294 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
14295 prog-mode-map (bug#14504).
14296
14297 2013-05-29 Leo Liu <sdl.web@gmail.com>
14298
14299 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
14300 (octave-help): Small simplification.
14301
14302 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
14303 off the highlight first.
14304
14305 2013-05-29 Glenn Morris <rgm@gnu.org>
14306
14307 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
14308 Handle idlwave-last-system-routine-info-cons-cell being nil.
14309
14310 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14311 (idlwave-write-paths): Simplify via with-temp-buffer.
14312
14313 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
14314 * emulation/cua-rect.el: Also load cua-base at run time.
14315
14316 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
14317 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
14318 (cperl-imenu-on-info): Require imenu.
14319
14320 2013-05-28 Alan Mackenzie <acm@muc.de>
14321
14322 Handle "capitalised keywords" correctly.
14323 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
14324
14325 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
14326
14327 * eshell/em-unix.el: Add -r option to cp.
14328
14329 2013-05-28 Glenn Morris <rgm@gnu.org>
14330
14331 * vc/vc-arch.el (vc-exec-after): Declare.
14332 (vc-switches): Autoload.
14333 * vc/vc-bzr.el: No need to require vc when compiling.
14334 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
14335 (vc-resynch-buffer, vc-dir-refresh): Declare.
14336 (vc-setup-buffer, vc-switches): Autoload.
14337 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
14338 (vc-resynch-buffer): Declare.
14339 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
14340 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
14341 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
14342 (grep-read-regexp, grep-read-files, grep-expand-template)
14343 (vc-dir-refresh): Declare.
14344 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
14345 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
14346 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
14347 * vc/vc-mtn.el (vc-exec-after): Declare.
14348 (vc-switches): Autoload.
14349 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
14350 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
14351 (vc-file-tree-walk): Declare.
14352 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
14353 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
14354 (vc-tag-precondition, vc-rename-master): Autoload.
14355 * vc/vc-svn.el (vc-exec-after): Declare.
14356 (vc-switches, vc-setup-buffer): Autoload.
14357 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
14358 Autoload.
14359 (vc-resynch-buffer): Declare.
14360
14361 * obsolete/fast-lock.el (byte-compile-warnings):
14362 Don't warn about obsolete features in this obsolete file.
14363
14364 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
14365 Move definition before use.
14366
14367 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
14368 (dun-unix-verbs): Remove dun-zippy.
14369 (dun-zippy): Remove function.
14370
14371 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
14372
14373 2013-05-27 Juri Linkov <juri@jurta.org>
14374
14375 * replace.el (replace-search): New function with code moved out
14376 from `perform-replace'.
14377 (replace-highlight, replace-dehighlight): Move function definitions
14378 up closer to `replace-search'. (Bug#11746)
14379
14380 2013-05-27 Juri Linkov <juri@jurta.org>
14381
14382 * replace.el (perform-replace): Ignore invisible matches.
14383 In addition to checking `query-replace-skip-read-only', also
14384 filter out matches by calling `run-hook-with-args-until-failure'
14385 on `isearch-filter-predicates', and also check `search-invisible'
14386 for t or call `isearch-range-invisible'.
14387 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
14388
14389 2013-05-27 Juri Linkov <juri@jurta.org>
14390
14391 * isearch.el (isearch-filter-predicates): Rename from
14392 `isearch-filter-predicate'. Doc fix. (Bug#11378)
14393 (isearch-message-prefix): Display text from the property
14394 `isearch-message-prefix' of the currently active filters.
14395 (isearch-search): Don't compare `isearch-filter-predicate' with
14396 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
14397 on `isearch-filter-predicates'. Also check `search-invisible' for t
14398 or call `isearch-range-invisible'.
14399 (isearch-filter-visible): Make obsolete.
14400 (isearch-lazy-highlight-search):
14401 Call `run-hook-with-args-until-failure' on
14402 `isearch-filter-predicates' and use `isearch-range-invisible'.
14403
14404 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14405 `isearch-filter-predicates' instead of `funcall'ing
14406 `isearch-filter-predicate'.
14407 (Info-mode): Set `Info-isearch-filter' to
14408 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14409
14410 * dired-aux.el (dired-isearch-filter-predicate-orig):
14411 Remove variable.
14412 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14413 (dired-isearch-filenames-end): Add and remove
14414 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14415 instead of changing the value of `isearch-filter-predicate'.
14416 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14417 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14418 Put property `isearch-message-prefix' to "filename " on
14419 `dired-isearch-filter-filenames'.
14420
14421 * wdired.el (wdired-change-to-wdired-mode):
14422 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14423 locally instead of changing `isearch-filter-predicate'.
14424 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14425
14426 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
14427
14428 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14429 return the commit hash (Bug#14459). Also set the
14430 `vc-git-detached' property.
14431 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14432 (vc-git-mode-line-string): Use the same help-echo format whether
14433 in detached mode or not, because we know the actual revision now.
14434 When in detached mode, shorten the revision to 7 chars.
14435
14436 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14437
14438 * emacs-lisp/easy-mmode.el (define-minor-mode):
14439 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14440 mode hook and provide a docstring.
14441
14442 2013-05-27 Alan Mackenzie <acm@muc.de>
14443
14444 Remove spurious syntax-table text properties inserted by C-y.
14445 * progmodes/cc-mode.el (c-after-change): Also clear hard
14446 syntax-table property with value nil.
14447
14448 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
14449
14450 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14451 when reading the events; the buffer layout shall not be changed.
14452
14453 2013-05-27 Leo Liu <sdl.web@gmail.com>
14454
14455 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14456 New variable.
14457 (inferior-octave-directory-tracker): Automatically re-sync
14458 default-directory.
14459 (octave-help): Improve handling of 'See also'.
14460
14461 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14462
14463 * doc-view.el: Minor naming convention tweaks.
14464 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14465
14466 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14467 even if there's no `display' property yet (bug#14435).
14468
14469 2013-05-25 Eli Zaretskii <eliz@gnu.org>
14470
14471 * subr.el (unmsys--file-name): Rename from reveal-filename.
14472
14473 * Makefile.in (custom-deps, finder-data, autoloads)
14474 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14475 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14476 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14477
14478 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14479
14480 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14481 error-completion on the first 2 args of condition-case (bug#14446).
14482 Don't burp at EOB.
14483
14484 2013-05-25 Leo Liu <sdl.web@gmail.com>
14485
14486 * comint.el (comint-previous-matching-input): Do not flood the
14487 *Messages* buffer with trivial messages.
14488
14489 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14490
14491 * progmodes/flymake.el (flymake-nop): Don't return a string.
14492 (flymake-set-at): Fix typo.
14493
14494 * simple.el (read--expression): New function, extracted from
14495 eval-expression. Set completion-at-point-functions (bug#14465).
14496 (eval-expression, eval-minibuffer): Use it.
14497
14498 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
14499
14500 * progmodes/flymake.el (flymake-save-buffer-in-file)
14501 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14502 (flymake-selected-frame, flymake-log, flymake-ins-after)
14503 (flymake-set-at, flymake-get-buildfile-from-cache)
14504 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14505 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14506 Refine the doc string.
14507 (flymake-get-file-name-mode-and-masks): Reformat.
14508 (flymake-get-real-file-name-function): Fix a minor bug.
14509
14510 2013-05-24 Juri Linkov <juri@jurta.org>
14511
14512 * progmodes/grep.el (grep-mode-font-lock-keywords):
14513 Support =linenumber= format used by git-grep for lines with
14514 function names. (Bug#13549)
14515
14516 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14517
14518 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14519 0 after a semi-colon; it works better for smie-auto-fill.
14520 (octave--indent-new-comment-line): New function.
14521 (octave-indent-new-comment-line): Use it (indirectly).
14522 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14523 modify comment-line-break-function.
14524
14525 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14526 (smie-setup): Use add-function to set it.
14527
14528 2013-05-24 Sam Steingold <sds@gnu.org>
14529
14530 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14531 argument (before the `interactive' argument).
14532
14533 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14534
14535 * image-mode.el (image-mode-winprops): Add winprops to
14536 image-mode-winprops-alist before running
14537 image-mode-new-window-functions.
14538 * doc-view.el (doc-view-new-window-function): Don't delay
14539 doc-view-goto-page via timers (bug#14435).
14540
14541 2013-05-24 Tassilo Horn <tsdh@gnu.org>
14542
14543 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14544 (doc-view-desktop-save-buffer): New function.
14545 (doc-view-restore-desktop-buffer): New function.
14546 (desktop-buffer-mode-handlers):
14547 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14548 handler.
14549 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14550 `desktop-save-buffer' function.
14551
14552 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
14553
14554 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14555 (tramp-gvfs-file-name-handler): Raise a user error when
14556 `tramp-gvfs-enabled' is nil.
14557 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14558 Do not raise a user error when loading package. (Bug#14447)
14559
14560 * net/xesam.el: Move to obsolete/.
14561
14562 2013-05-24 Glenn Morris <rgm@gnu.org>
14563
14564 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14565
14566 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14567
14568 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14569 (Info-find-node, Man-getpage-in-background): Declare.
14570
14571 * mail/unrmail.el (unrmail):
14572 Replace obsolete detect-coding-with-priority.
14573
14574 * net/socks.el (socks-split-string): Use this rather than split-string.
14575 (socks-nslookup-host): Update for above change.
14576 (dynamic-choice, s5-dynamic-choice-match)
14577 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14578 Comment out unused code.
14579
14580 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14581 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14582 (gud-tooltip-echo-area): Make obsolete.
14583 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14584
14585 * progmodes/js.el (js--optimize-arglist): Declare.
14586
14587 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14588
14589 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14590 (ediff-window-C): Declare.
14591
14592 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14593 Tweak requires to silence compiler.
14594
14595 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14596 (he-search-string, he-tried-table, he-expand-list)
14597 (he-init-string, he-string-member, he-substitute-string)
14598 (he-reset-string): Declare.
14599
14600 * obsolete/options.el (list-options): Use custom-variable-p,
14601 rather than obsolete alias.
14602
14603 2013-05-23 Sam Steingold <sds@gnu.org>
14604
14605 * simple.el (shell-command-on-region): Pass the `replace' argument
14606 down to `call-process-region' to comply with the doc as reported on
14607 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14608
14609 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14610
14611 * emacs-lisp/smie.el (smie-indent-forward-token)
14612 (smie-indent-backward-token): Handle string tokens (bug#14381).
14613
14614 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14615
14616 * ielm.el (ielm-menu): New menu.
14617 (inferior-emacs-lisp-mode): Set comment-start.
14618
14619 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14620
14621 * textmodes/reftex.el (reftex-ref-style-toggle):
14622 Fix deactivate action.
14623
14624 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14625 Add cleveref macros.
14626
14627 * textmodes/reftex-parse.el
14628 (reftex-locate-bibliography-files): Accept options for
14629 bibliography commands.
14630 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14631 Add addbibresource. Basic Biblatex support.
14632
14633 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14634
14635 * net/tramp-gvfs.el (top):
14636 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14637 when loading package. (Bug#14447)
14638
14639 2013-05-23 Glenn Morris <rgm@gnu.org>
14640
14641 * progmodes/js.el: No need to load comint when compiling.
14642 (ring-insert, comint-send-string, comint-send-input)
14643 (comint-last-input-end, ido-chop): Declare.
14644
14645 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14646 * vc/ediff-mult.el: Adjust requires.
14647 (ediff-directories-internal, ediff-directory-revisions-internal)
14648 (ediff-patch-file-internal): Declare.
14649 * vc/ediff-ptch.el: Adjust requires.
14650 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14651 (ediff-find-file): Autoload.
14652 * vc/ediff-util.el: No need to load ediff when compiling.
14653 (ediff-regions-internal): Declare.
14654 * vc/ediff-wind.el: Adjust requires.
14655 (ediff-compute-toolbar-width): Define when compiling.
14656 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14657 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14658 (dired-get-filename, dired-get-marked-files)
14659 (ediff-last-dir-patch, ediff-patch-default-directory)
14660 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14661 (ediff-patch-buffer-internal): Declare.
14662
14663 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14664 (ispell-process, ispell-buffer-local-words, lm-summary)
14665 (lm-section-start, lm-section-end): Declare.
14666 (checkdoc-ispell-init): Simplify.
14667
14668 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14669 (he-string-member, he-reset-string, he-substitute-string): Declare.
14670
14671 * eshell/em-ls.el: Adjust requires.
14672 (eshell-glob-regexp): Declare.
14673 * eshell/em-tramp.el: Adjust requires.
14674 (eshell-parse-command): Autoload.
14675 * eshell/em-xtra.el: Adjust requires.
14676 (eshell-parse-command): Autoload.
14677 * eshell/esh-ext.el: Adjust requires.
14678 (eshell-parse-command, eshell-close-handles): Autoload.
14679 * eshell/esh-io.el: Adjust requires.
14680 (eshell-output-filter): Autoload.
14681 * eshell/esh-util.el: No need to load tramp when compiling.
14682 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14683 Declare.
14684 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14685 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14686 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14687 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14688 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14689 * eshell/esh-opt.el, eshell/esh-proc.el:
14690 * eshell/esh-var.el: Adjust requires.
14691 * eshell/eshell.el: Do not require esh-util twice.
14692 (eshell-add-input-to-history): Declare.
14693 (eshell-command): Check history module is active before using it.
14694
14695 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14696
14697 2013-05-22 Leo Liu <sdl.web@gmail.com>
14698
14699 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14700
14701 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14702
14703 * autorevert.el (auto-revert-notify-add-watch)
14704 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14705 it indicates changes in file modification time.
14706
14707 2013-05-22 Glenn Morris <rgm@gnu.org>
14708
14709 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14710 Always delete the autoloaded function from the noruntime and
14711 unresolved functions lists.
14712
14713 * allout.el: No need to load epa, epg, overlay when compiling.
14714 (epg-context-set-passphrase-callback, epg-list-keys)
14715 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14716 (epg-key-user-id-list): Declare.
14717
14718 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14719 (viper-set-parsing-style-toggling-macro)
14720 (viper-set-emacs-state-searchstyle-macros):
14721 Use called-interactively-p on Emacs.
14722 (viper-looking-back): Make it an obsolete alias. Update callers.
14723 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14724 Use looking-back rather than viper-looking-back.
14725 (viper-tmp-insert-at-eob, viper-enlarge-region)
14726 (viper-read-string-with-history, viper-register-to-point)
14727 (viper-append-to-register, viper-change-state-to-vi)
14728 (viper-backward-char-carefully, viper-forward-char-carefully)
14729 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14730 (viper-change-state-to-emacs): Declare.
14731 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14732 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14733 * emulation/viper-mous.el: Do not load viper-cmd.
14734 (viper-backward-char-carefully, viper-forward-char-carefully)
14735 (viper-forward-word, viper-adjust-window): Declare.
14736
14737 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14738
14739 * progmodes/idlw-help.el (idlwave-help-fontify):
14740 Use called-interactively-p.
14741
14742 * term/w32console.el (w32-get-console-codepage)
14743 (w32-get-console-output-codepage): Declare.
14744
14745 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14746 Remove unnecessary declarations.
14747 (dframe-message): Doc fix.
14748
14749 * info.el (dframe-select-attached-frame, dframe-current-frame):
14750 Declare.
14751
14752 * speedbar.el (speedbar-message): Make it an obsolete alias.
14753 Update all callers.
14754 (speedbar-with-attached-buffer)
14755 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14756 (speedbar-with-writable): Use backquote.
14757 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14758 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14759 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14760 rather than speedbar- aliases.
14761 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14762 (speedbar-make-specialized-keymap, speedbar-insert-button)
14763 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14764 (speedbar-do-function-pointer): Declare.
14765 (rmail-speedbar-button, rmail-speedbar-find-file)
14766 (rmail-speedbar-move-message):
14767 Use dframe-with-attached-buffer rather than speedbar- alias.
14768 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14769 (dframe-message, speedbar-make-specialized-keymap)
14770 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14771 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14772 (speedbar-insert-button, dframe-select-attached-frame)
14773 (dframe-maybee-jump-to-attached-frame)
14774 (speedbar-change-initial-expansion-list)
14775 (speedbar-previously-used-expansion-list-name): Declare.
14776 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14777 Use dframe-message, dframe-with-attached-buffer rather than
14778 speedbar- aliases.
14779 (gud-sentinel): Silence compiler.
14780 * progmodes/vhdl-mode.el (speedbar-refresh)
14781 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14782 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14783 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14784 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14785 (speedbar-file-lists, speedbar-make-tag-line)
14786 (speedbar-line-directory, speedbar-goto-this-file)
14787 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14788 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14789 (speedbar-make-button, speedbar-reset-scanners)
14790 (speedbar-files-item-info, speedbar-line-text)
14791 (speedbar-find-file-in-frame, speedbar-set-timer)
14792 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14793 (speedbar-with-writable): Do not (re)define it.
14794 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14795 rather than speedbar- alias.
14796
14797 2013-05-21 Leo Liu <sdl.web@gmail.com>
14798
14799 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14800 menu items.
14801 (octave-mode): Tweak fill-nobreak-predicate.
14802 (inferior-octave-startup): Check process to avoid infinite loop.
14803 (inferior-octave): Pop to buffer first to show abornmal process
14804 exit information.
14805
14806 2013-05-21 Glenn Morris <rgm@gnu.org>
14807
14808 * printing.el (pr-menu-bar): Define when compiling.
14809
14810 2013-05-21 Leo Liu <sdl.web@gmail.com>
14811
14812 * progmodes/octave.el (octave-auto-fill): Remove.
14813 (octave-indent-new-comment-line): Improve.
14814 (octave-mode): Use auto fill mode through
14815 comment-line-break-function and fill-nobreak-predicate.
14816 (octave-goto-function-definition): Support DEFUN_DLD.
14817 (octave-beginning-of-defun): Small tweak.
14818 (octave-help): Show parent directory.
14819
14820 2013-05-21 Glenn Morris <rgm@gnu.org>
14821
14822 * files.el (dired-unmark):
14823 * progmodes/gud.el (gdb-input): Update declarations.
14824
14825 * calculator.el (electric, ehelp): No need to load when compiling.
14826 (Electric-command-loop, electric-describe-mode): Declare.
14827
14828 * doc-view.el (doc-view-current-converter-processes): Move before use.
14829
14830 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14831 Move MODE-set-explicitly definition before use.
14832
14833 * international/mule-diag.el (mule-diag):
14834 Don't use obsolete window-system-version.
14835
14836 * mail/feedmail.el (smtpmail): No need to load when compiling.
14837 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14838
14839 * mail/mail-utils.el (rfc822): No need to load when compiling.
14840 (rfc822-addresses): Autoload it.
14841 (mail-strip-quoted-names): Trivial simplification.
14842
14843 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14844 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14845
14846 * net/snmp-mode.el (tempo): Don't duplicate requires.
14847
14848 * progmodes/prolog.el (info): No need to load when compiling.
14849 (comint): Require before shell requires it.
14850 (Info-goto-node): Autoload it.
14851 (Info-follow-nearest-node): Declare.
14852 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14853
14854 * textmodes/artist.el (picture-mode-exit): Declare.
14855
14856 * textmodes/reftex-parse.el (reftex-parse-from-file):
14857 Trivial rewrite so the compiler can parse it better.
14858
14859 2013-05-20 Leo Liu <sdl.web@gmail.com>
14860
14861 * progmodes/octave.el (octave-help-mode-map)
14862 (octave-help-mode-finish-hook): New variables.
14863 (octave-help-mode, octave-help-mode-finish): New functions.
14864 (octave-help): Use octave-help-mode.
14865
14866 2013-05-20 Glenn Morris <rgm@gnu.org>
14867
14868 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14869
14870 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14871
14872 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14873 start at point, so that expansion starting right after opening
14874 slash in a regexp is recognized.
14875 (ruby-syntax-before-regexp-re): New defvar, extracted from
14876 ruby-syntax-propertize-function. Since the value of this regexp
14877 is looked up at runtime now, we should be able to turn
14878 `ruby-syntax-methods-before-regexp' into a defcustom later.
14879 (ruby-syntax-propertize-function): Split regexp matching into two
14880 parts, for opening and closing slashes. That allows us to skip
14881 over string interpolations and support multiline regexps.
14882 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14883 for them, which calls `ruby-syntax-propertize-expansion'.
14884 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14885 call to `ruby-syntax-propertize-function'.
14886 (ruby-syntax-propertize-expansion): Extracted from
14887 `ruby-syntax-propertize-expansions'. Handles one expansion.
14888 (ruby-syntax-propertize-percent-literal): Leave point right after
14889 the percent symbol, so that the expression expansion rule can
14890 propertize the contents.
14891 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14892 heredoc openers.
14893 (ruby-syntax-propertize-expansions): Remove.
14894
14895 2013-05-18 Juri Linkov <juri@jurta.org>
14896
14897 * man.el (Man-default-man-entry): Remove `-' from the end
14898 of the default value. (Bug#14400)
14899
14900 2013-05-18 Glenn Morris <rgm@gnu.org>
14901
14902 * comint.el (comint-password-prompt-regexp):
14903 Allow "password for XXX" where XXX contains colons (eg https://...).
14904
14905 2013-05-18 Leo Liu <sdl.web@gmail.com>
14906
14907 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14908 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14909 (octave-source-directories): Don't check process.
14910 (octave-source-directories, octave-find-definition): Doc fix.
14911
14912 2013-05-18 Glenn Morris <rgm@gnu.org>
14913
14914 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14915 Remove backspace/delete bindings. (Bug#14392)
14916
14917 * cus-dep.el (custom-make-dependencies): Sort the output.
14918 (custom-versions-load-alist): Convert comment to doc.
14919
14920 2013-05-17 Leo Liu <sdl.web@gmail.com>
14921
14922 * newcomment.el (comment-search-backward): Stricter in finding
14923 comment start. (Bug#14303)
14924
14925 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14926 (octave-comment-start-skip): Properly anchored.
14927
14928 2013-05-17 Leo Liu <sdl.web@gmail.com>
14929
14930 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14931 Clean up when turned off. (Bug#14395)
14932 (smie--highlight-matching-block-overlay): No longer buffer-local.
14933 (smie-highlight-matching-block): Adjust.
14934
14935 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14936
14937 Doc string fix for "nanoseconds" (Bug#14406).
14938 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14939 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14940
14941 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14942
14943 * calc/calc-units.el (math-extract-units): Preserve powers
14944 of units.
14945
14946 2013-05-17 Leo Liu <sdl.web@gmail.com>
14947
14948 * subr.el (delete-consecutive-dups): New function.
14949 * ido.el (ido-set-matches-1): Use it.
14950 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14951 * ido.el (ido-remove-consecutive-dups): Remove.
14952
14953 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14954
14955 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14956 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14957 regexp-opt's `words'.
14958
14959 2013-05-16 Leo Liu <sdl.web@gmail.com>
14960
14961 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14962 (smie--highlight-matching-block-overlay)
14963 (smie--highlight-matching-block-lastpos)
14964 (smie--highlight-matching-block-timer): New variables.
14965 (smie-highlight-matching-block): New function.
14966 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14967 (smie-setup): Conditionally enable smie-blink-matching-open.
14968
14969 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14970
14971 Sync with upstream verilog-mode r840.
14972 * progmodes/verilog-mode.el (verilog-mode-version)
14973 (verilog-mode-release-date): Update.
14974 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14975 (verilog-sig-tieoff): Fix string error on
14976 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14977 (verilog-read-decls): Fix parameters confusing
14978 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14979
14980 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14981
14982 * subr.el (reveal-filename): New function.
14983
14984 * loadup.el: Compute Emacs executable versions on MS-Windows,
14985 where executables have the .exe extension. Add a hard link
14986 emacs-XX.YY.ZZ.exe on MS-Windows.
14987
14988 * Makefile.in (XARGS_LIMIT): New variable.
14989 (custom-deps, finder-data, autoloads)
14990 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14991 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14992 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14993 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14994
14995 2013-05-16 Leo Liu <sdl.web@gmail.com>
14996
14997 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14998 (octave-mode-menu, octave-mode-map): Remove its uses.
14999
15000 2013-05-16 Reto Zimmermann <reto@gnu.org>
15001
15002 Sync with upstream vhdl mode v3.34.2.
15003 * progmodes/vhdl-mode.el: Use `push' throughout.
15004 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
15005 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
15006 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
15007 (vhdl-actual-generic-name): New option to derive actual generic name.
15008 (vhdl-port-paste-signals): Replace formal by actual generics.
15009 (vhdl-beautify): New name for old group vhdl-align. Update users.
15010 (vhdl-beautify-options): New option.
15011 (vhdl-last-input-event): New compat alias. Use throughout.
15012 (vhdl-goto-line): Replace user level function `goto-line'.
15013 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
15014 vhdl-fix-statement-buffer.
15015 (vhdl-create-mode-menu): Add some entries.
15016 (vhdl-align-region-groups): Respect vhdl-beautify-options.
15017 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
15018 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
15019 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
15020 to force statements on one line.
15021 (vhdl-remove-trailing-spaces-region):
15022 New, split from vhdl-remove-trailing-spaces.
15023 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
15024 Respect vhdl-beautify-options.
15025 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
15026 (vhdl-update-sensitivity-list): Not add with index if exists without.
15027 Not include array index with signal. Ignore keywords in comments.
15028 (vhdl-get-visible-signals): Regexp tweaks.
15029 (vhdl-template-component-inst): Handle empty library.
15030 (vhdl-template-type): Add template for 'enum' type.
15031 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
15032 Use vhdl-replace-string.
15033 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
15034 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
15035 (vhdl-speedbar-initialize): Update for above name change.
15036 (vhdl-compose-wire-components): Fix in handling of constants.
15037 (vhdl-error-regexp-emacs-alist): New variable.
15038 (vhdl-error-regexp-add-emacs): New function;
15039 adds support for new compile.el (Emacs 22+)
15040 (vhdl-generate-makefile-1): Change target order for single lib. units.
15041 Allow use of absolute file names.
15042
15043 2013-05-16 Leo Liu <sdl.web@gmail.com>
15044
15045 * simple.el (prog-indent-sexp): Indent enclosing defun.
15046
15047 2013-05-15 Glenn Morris <rgm@gnu.org>
15048
15049 * cus-start.el (show-trailing-whitespace): Move to editing basics.
15050 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
15051 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
15052 (whitespace-highlight): Move to whitespace group.
15053
15054 * comint.el (comint-source):
15055 * pcmpl-linux.el (pcmpl-linux):
15056 * shell.el (shell-faces):
15057 * eshell/esh-opt.el (eshell-opt):
15058 * international/ccl.el (ccl): Remove empty custom groups.
15059
15060 * completion.el (dynamic-completion-mode):
15061 * jit-lock.el (jit-lock-debug-mode):
15062 * minibuffer.el (completion-in-region-mode):
15063 * type-break.el (type-break-mode-line-message-mode)
15064 (type-break-query-mode):
15065 * emulation/tpu-edt.el (tpu-edt-mode):
15066 * progmodes/subword.el (global-subword-mode, global-superword-mode):
15067 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15068 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
15069
15070 * term/xterm.el (xterm): Change parent group to terminals.
15071
15072 * master.el (master): Remove empty custom group.
15073 (master-mode): Remove unused :group argument.
15074 * textmodes/refill.el (refill): Remove empty custom group.
15075 (refill-mode): Remove unused :group argument.
15076
15077 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
15078
15079 * cus-dep.el: Provide a feature.
15080 (custom-make-dependencies): Ignore dotfiles (dir-locals).
15081 Don't mistakenly ignore files whose basenames match a basename
15082 from preloaded-file-list (eg cedet/ede/simple.el).
15083 Add a fallback method for getting :group.
15084
15085 2013-05-15 Juri Linkov <juri@jurta.org>
15086
15087 * isearch.el (isearch-char-by-name): Rename from
15088 `isearch-insert-char-by-name'. Doc fix.
15089 (isearch-forward): Mention `isearch-char-by-name' in
15090 the docstring. (Bug#13348)
15091
15092 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
15093 `exit-minibuffer' instead of
15094 `isearch-nonincremental-exit-minibuffer'.
15095 (isearch-edit-string): Remove mention of
15096 `isearch-nonincremental-exit-minibuffer' from docstring.
15097 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
15098 (isearch-forward-exit-minibuffer)
15099 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
15100
15101 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15102
15103 * loadup.el: Just use unversioned DOC.
15104
15105 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
15106 literals as extending to EOB.
15107 (nxml-last-fontify-end): Remove unused variable.
15108 (nxml-after-change1): Use with-silent-modifications.
15109 (nxml-extend-after-change-region): Simplify.
15110 (nxml-extend-after-change-region1): Remove function.
15111 (nxml-after-change1): Don't adjust for dependent regions.
15112 (nxml-fontify-matcher): Simplify.
15113 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
15114 (xmltok-add-dependent): Remove function.
15115 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
15116 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
15117 (xmltok-scan-prolog-after-processing-instruction-open): Treat
15118 unclosed <[[, <?, comment, and other literals as extending to EOB.
15119 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
15120 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
15121 Remove functions.
15122 (rng-do-some-validation-1): Don't mark dependent regions.
15123 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
15124 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
15125 (nxml-clear-dependent-regions): Remove functions.
15126 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
15127 (nxml-ensure-scan-up-to-date):
15128 Don't clear&mark dependent regions.
15129
15130 2013-05-15 Leo Liu <sdl.web@gmail.com>
15131
15132 * progmodes/octave.el (octave-goto-function-definition):
15133 Improve and fix callers.
15134
15135 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15136
15137 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
15138 the setter (bug#14387).
15139
15140 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
15141 surrounding group (bug#14402).
15142
15143 2013-05-14 Juri Linkov <juri@jurta.org>
15144
15145 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
15146 (Bug#14390)
15147
15148 2013-05-14 Glenn Morris <rgm@gnu.org>
15149
15150 * progmodes/f90.el (f90-imenu-generic-expression):
15151 Fix typo in 2013-05-08 change. (Bug#14402)
15152
15153 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15154
15155 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
15156 Remove signals for which replies are never received.
15157
15158 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15159
15160 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
15161 (gdb-handler-alist, gdb-handler-number): Remove variables.
15162 (gdb-handler-list): New variable.
15163 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
15164 (gdb-pending-handler-p, gdb-handle-reply)
15165 (gdb-remove-all-pending-triggers): New functions.
15166 (gdb-discard-unordered-replies): New defcustom.
15167 (gdb-handler): New defstruct.
15168 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
15169 instead of gdb-pending-triggers. Update docstring.
15170 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
15171 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
15172 (gdb-var-update-handler, def-gdb-auto-update-trigger)
15173 (def-gdb-auto-update-handler, gdb-get-changed-registers)
15174 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
15175 (gdb-frame-handler): Pending triggers are now automatically managed.
15176 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
15177 Remove argument.
15178 (gdb-input): Automatically handles pending triggers. Update docstring.
15179 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
15180 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
15181 Update comments.
15182 (gdb-done-or-error): Now use gdb-handle-reply.
15183
15184 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15185
15186 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
15187 gdb-debug-log.
15188
15189 2013-05-14 Glenn Morris <rgm@gnu.org>
15190
15191 * subr.el (user-emacs-directory-warning): New option.
15192 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
15193
15194 2013-05-14 Leo Liu <sdl.web@gmail.com>
15195
15196 * progmodes/octave.el (octave-font-lock-keywords): Fix error
15197 during redisplay.
15198 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
15199 (octave-font-lock-texinfo-comment): Fix invalid search bound
15200 error: wrong side of point.
15201
15202 2013-05-14 Glenn Morris <rgm@gnu.org>
15203
15204 * progmodes/flymake.el (flymake-xml-program): New option.
15205 (flymake-xml-init): Use it.
15206
15207 * term/xterm.el: Provide a feature.
15208
15209 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
15210
15211 2013-05-13 Glenn Morris <rgm@gnu.org>
15212
15213 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
15214 Add compat aliases as a hack workaround. (Bug#14384)
15215
15216 2013-05-13 Leo Liu <sdl.web@gmail.com>
15217
15218 * progmodes/octave.el (octave-indent-comment): Fix indentation for
15219 ###, and %!.
15220 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
15221 C-M-q.
15222 (octave-comment-start-skip): Include %!.
15223 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
15224
15225 2013-05-12 Leo Liu <sdl.web@gmail.com>
15226
15227 * progmodes/octave.el (inferior-octave-startup): Store the value
15228 of __octave_srcdir__ for octave-source-directories.
15229 (inferior-octave-check-process): New function refactored out of
15230 inferior-octave-send-list-and-digest.
15231 (octave-source-directories)
15232 (octave-find-definition-filename-function): New variables.
15233 (octave-source-directories)
15234 (octave-find-definition-default-filename): New functions.
15235 (octave-find-definition): Improve to find functions implemented in C++.
15236
15237 2013-05-12 Glenn Morris <rgm@gnu.org>
15238
15239 * calendar/diary-lib.el (diary-outlook-format-1):
15240 Don't include dayname in the output. (Bug#14349)
15241
15242 2013-05-11 Glenn Morris <rgm@gnu.org>
15243
15244 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
15245
15246 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
15247 Treat cc-provide like provide.
15248
15249 2013-05-11 Kevin Ryde <user42@zip.com.au>
15250
15251 * cus-dep.el (custom-make-dependencies):
15252 Use generated-autoload-load-name for the sake of files such
15253 such cedet/semantic/bovine/c.el, where the base file name
15254 is not in load-path. (Bug#5277)
15255
15256 2013-05-11 Glenn Morris <rgm@gnu.org>
15257
15258 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
15259 Provide features.
15260
15261 2013-05-11 Leo Liu <sdl.web@gmail.com>
15262
15263 * progmodes/octave.el (octave-indent-comment): Improve.
15264 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
15265 (octave-eldoc-function-signatures, octave-eldoc-function):
15266 New functions.
15267 (octave-mode, inferior-octave-mode): Add eldoc support.
15268
15269 2013-05-11 Richard Stallman <rms@gnu.org>
15270
15271 * epa.el (epa-decrypt-file): Take output file name as argument
15272 and read it using `interactive'.
15273
15274 2013-05-11 Leo Liu <sdl.web@gmail.com>
15275
15276 * progmodes/octave.el (octave-beginning-of-line)
15277 (octave-end-of-line): Check before using up-list because it jumps
15278 out of more syntactic contructs since moving to smie.
15279 (octave-indent-comment): New function.
15280 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
15281 (octave-begin-keywords, octave-end-keywords)
15282 (octave-reserved-words, octave-smie-bnf-table)
15283 (octave-smie-rules): Add new keywords from Octave 3.6.4.
15284
15285 2013-05-11 Glenn Morris <rgm@gnu.org>
15286
15287 * faces.el (internal-face-x-get-resource):
15288 * frame.el (ns-display-monitor-attributes-list):
15289 * calc/calc-aent.el (math-to-radians-2):
15290 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
15291 Fix declarations.
15292
15293 * calc/calc-menu.el: Make it loadable in isolation.
15294
15295 * net/eudcb-bbdb.el: Make it loadable without bbdb.
15296 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
15297 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
15298 (eudc-bbdb-query-internal): Require 'bbdb.
15299
15300 * lpr.el (lpr-headers-switches):
15301 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
15302
15303 * progmodes/sql.el (sql-login-params): Fix and improve :type.
15304
15305 * emulation/edt-mapper.el: In batch mode, error rather than hang.
15306
15307 * term.el (term-set-escape-char): Make it idempotent.
15308
15309 2013-05-10 Leo Liu <sdl.web@gmail.com>
15310
15311 * progmodes/octave.el (inferior-octave-completion-table):
15312 No longer a function and all uses changed. Use cache to speed up
15313 completion due to bug#11906.
15314 (octave-beginning-of-defun): Re-write to be more general.
15315
15316 2013-05-10 Glenn Morris <rgm@gnu.org>
15317
15318 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
15319
15320 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
15321
15322 * comint.el (comint-redirect-send-command-to-process): Use :around
15323 rather than :override for comint-redirect-filter.
15324 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
15325 Call it instead of comint-redirect-original-filter-function (which
15326 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
15327
15328 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
15329
15330 * frame.el (display-monitor-attributes-list): Add NS case.
15331 (ns-display-monitor-attributes-list): Declare.
15332
15333 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
15334
15335 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
15336
15337 2013-05-09 Glenn Morris <rgm@gnu.org>
15338
15339 * international/fontset.el (vertical-centering-font-regexp):
15340 Set standard-value.
15341
15342 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
15343
15344 * bookmark.el (bookmark-search-delay):
15345 * cus-start.el (vertical-centering-font-regexp):
15346 * ps-mule.el (ps-mule-font-info-database-default):
15347 * ps-print.el (ps-default-fg, ps-default-bg):
15348 * type-break.el (type-break-good-break-interval):
15349 * whitespace.el (whitespace-indentation-regexp)
15350 (whitespace-space-after-tab-regexp):
15351 * emacs-lisp/testcover.el (testcover-1value-functions)
15352 (testcover-noreturn-functions, testcover-progn-functions)
15353 (testcover-prog1-functions):
15354 * emulation/viper-init.el (viper-emacs-state-cursor-color):
15355 * eshell/em-glob.el (eshell-glob-translate-alist):
15356 * play/tetris.el (tetris-tty-colors):
15357 * progmodes/cpp.el (cpp-face-default-list):
15358 * progmodes/flymake.el (flymake-allowed-file-name-masks):
15359 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
15360 (idlwave-help-browser-generic-args):
15361 * progmodes/make-mode.el (makefile-special-targets-list):
15362 * progmodes/python.el (python-shell-virtualenv-path):
15363 * progmodes/verilog-mode.el (verilog-active-low-regexp)
15364 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
15365 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
15366 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
15367 * textmodes/reftex-vars.el (reftex-format-label-function):
15368 * textmodes/remember.el (remember-diary-file): Fix custom types.
15369
15370 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
15371 Add :version.
15372
15373 2013-05-09 Leo Liu <sdl.web@gmail.com>
15374
15375 * progmodes/octave.el (inferior-octave-completion-at-point):
15376 Restore file completion. (Bug#14300)
15377 (inferior-octave-startup): Fix incorrect highlighting for the
15378 first prompt.
15379
15380 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15381
15382 * progmodes/ruby-mode.el: First cut at SMIE support.
15383 (ruby-use-smie): New var.
15384 (ruby-smie-grammar): New constant.
15385 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15386 (ruby-smie--forward-token, ruby-smie--backward-token)
15387 (ruby-smie-rules): New functions.
15388 (ruby-mode-variables): Setup SMIE if applicable.
15389
15390 2013-05-08 Eli Zaretskii <eliz@gnu.org>
15391
15392 * simple.el (line-move-visual): Signal beginning/end of buffer
15393 only if vertical-motion moved less than it was requested. Avoids
15394 silly incorrect error messages when there are display strings with
15395 multiple newlines at EOL.
15396
15397 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15398
15399 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15400 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15401 (prolog-char-quote-workaround):
15402 * progmodes/cperl-mode.el (cperl-under-as-char):
15403 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15404 Mark as obsolete.
15405 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15406 their declaration.
15407 (vhdl-mode-syntax-table-init): Remove.
15408
15409 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15410 last change.
15411
15412 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15413 syntax for "_".
15414 (ld-script-font-lock-keywords):
15415 Change regexps to use things like \_< and \_>.
15416
15417 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15418 Change all regexps to use things like \_< and \_>.
15419
15420 * progmodes/autoconf.el (autoconf-definition-regexp)
15421 (autoconf-font-lock-keywords, autoconf-current-defun-function):
15422 Handle a _ with symbol syntax.
15423 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15424
15425 * progmodes/ada-mode.el (ada-mode-abbrev-table):
15426 Consolidate declaration.
15427 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15428 the declaration.
15429 (ada-create-syntax-table): Remove.
15430 (ada-capitalize-word): Don't mess with the syntax of "_" since it
15431 already has the right syntax nowadays.
15432 (ada-goto-next-word): Don't change the syntax of "_".
15433
15434 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15435 with-wrapper-hook.
15436
15437 2013-05-08 Sam Steingold <sds@gnu.org>
15438
15439 * thingatpt.el (thing-at-point): Accept optional second argument
15440 NO-PROPERTIES to strip the text properties from the return value.
15441 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15442 to `thing-at-point' instead of stripping the properties ourselves.
15443 Also, when `thing-at-point' fails to find a url, prepend "http://"
15444 to the filename at point on the assumption that the user is
15445 pointing at something like gnu.org/gnu.
15446
15447 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
15448
15449 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15450 * faces.el (crm-separator):
15451 Silence byte-compiler.
15452
15453 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15454 (tool-bar-map): Remove unneeded defvars.
15455
15456 2013-05-08 Leo Liu <sdl.web@gmail.com>
15457
15458 Re-work a fix for bug#10994 based on Le Wang's patch.
15459 * ido.el (ido-remove-consecutive-dups): New helper.
15460 (ido-completing-read): Use it.
15461 (ido-chop): Revert fix for bug#10994.
15462
15463 2013-05-08 Adam Spiers <emacs@adamspiers.org>
15464
15465 * cus-edit.el (custom-save-variables):
15466 Pretty-print long values. (Bug#14187)
15467
15468 2013-05-08 Glenn Morris <rgm@gnu.org>
15469
15470 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15471 (m4-mode-syntax-table): Init in the defvar.
15472 (m4-mode-abbrev-table): Let define-derived-mode define it.
15473
15474 2013-05-08 Tom Tromey <tromey@redhat.com>
15475
15476 * progmodes/m4-mode.el (m4-mode-syntax-table):
15477 Do not treat "_" as word constituent. (Bug#14167)
15478
15479 2013-05-07 Glenn Morris <rgm@gnu.org>
15480
15481 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15482 Remove explicit eshell-isearch-cancel-map.
15483
15484 * progmodes/f90.el (f90-smart-end-names): New option.
15485 (f90-smart-end): Doc fix.
15486 (f90-end-block-optional-name): New constant.
15487 (f90-block-match): Respect f90-smart-end-names.
15488
15489 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15490
15491 * progmodes/octave.el (octave-smie-forward-token): Be more careful
15492 about implicit semi-colons (bug#14218).
15493
15494 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15495
15496 * frame.el (display-monitor-attributes-list)
15497 (frame-monitor-attributes): New functions.
15498
15499 2013-05-06 Leo Liu <sdl.web@gmail.com>
15500
15501 * progmodes/octave.el (octave-syntax-propertize-function): Change
15502 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15503 (octave-font-lock-keywords): Use octave-operator-regexp.
15504 (octave-completion-at-point): Rename from
15505 octave-completion-at-point-function.
15506 (inferior-octave-directory-tracker): Robustify.
15507 (octave-text-functions): Remove and fix its uses. No such things
15508 any more.
15509
15510 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15511
15512 * emacs-lisp/trace.el (trace--display-buffer): New function.
15513 (trace-make-advice): Use it.
15514
15515 2013-05-06 Juri Linkov <juri@jurta.org>
15516
15517 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15518 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15519 Doc fix.
15520 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15521 in the help string. (Bug#12985)
15522
15523 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15524
15525 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15526
15527 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15528
15529 * progmodes/perl-mode.el: Add support for here documents.
15530 (perl-syntax-propertize-function): Match here-doc markers.
15531 (perl-syntax-propertize-special-constructs): Find their end.
15532 (perl-imenu-generic-expression): Use [:alnum:].
15533
15534 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15535 (advice--add-function): Refresh the advice if already present
15536 (bug#14317).
15537
15538 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
15539
15540 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15541
15542 2013-05-06 Glenn Morris <rgm@gnu.org>
15543
15544 * w32-fns.el (w32-charset-info-alist): Declare.
15545
15546 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15547 of its defcustom properties.
15548 (eshell-cmpl-initialize): No need to load pcomplete.
15549
15550 * generic-x.el: No need to require comint when compiling.
15551
15552 * net/eudc-export.el: Make it loadable without bbdb.
15553 (top-level): Use require rather than load-library.
15554 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15555 (eudc-batch-export-records-to-bbdb)
15556 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15557 Require bbdb.
15558
15559 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15560
15561 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15562 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15563 some tweaks, instead.
15564
15565 2013-05-05 Leo Liu <sdl.web@gmail.com>
15566
15567 * progmodes/octave.el (octave-font-lock-keywords)
15568 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15569 (inferior-octave-send-list-and-digest): Improve error message.
15570 (octave-mode, inferior-octave-mode): Use setq-local.
15571 (octave-help): Set info-lookup-mode.
15572
15573 2013-05-05 Richard Stallman <rms@gnu.org>
15574
15575 * vc/compare-w.el (compare-windows-whitespace):
15576 Treat no-break space as whitespace.
15577
15578 * mail/rmailsum.el (rmail-summary-rmail-update):
15579 Detect empty summary and don't change selected message.
15580 (rmail-summary-goto-msg): Likewise.
15581
15582 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15583 Doc fixes, rename args.
15584
15585 2013-05-05 Alan Mackenzie <acm@muc.de>
15586
15587 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15588
15589 2013-05-05 Juri Linkov <juri@jurta.org>
15590
15591 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15592 to not add the length of the summary segment to the return value.
15593 (Bug#14125)
15594
15595 2013-05-05 Leo Liu <sdl.web@gmail.com>
15596
15597 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15598 (inferior-octave-output-filter): Remove.
15599 (octave-send-region, inferior-octave-startup): Fix callers.
15600 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15601 (octave-binary-file-extensions): New user variable.
15602 (octave-find-definition): Confirm if opening binary files.
15603 (octave-help-file): Use octave-find-definition to get the binary
15604 confirmation.
15605 (octave-help): Adjust for octave-help-file change.
15606
15607 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15608
15609 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15610 Merge the two entries that handle function definitions.
15611 (pascal--syntax-propertize): New const.
15612 (pascal-mode): Use it. Use setq-local.
15613
15614 2013-05-04 Glenn Morris <rgm@gnu.org>
15615
15616 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15617 (diary-from-outlook): Respect diary-from-outlook-function.
15618
15619 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15620
15621 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15622 Move the declaration from C.
15623 (read-minibuffer, eval-minibuffer): Move from C.
15624 (completion-setup-function): Avoid minibuffer-completion-contents.
15625
15626 2013-05-03 Leo Liu <sdl.web@gmail.com>
15627
15628 * progmodes/octave.el (octave-font-lock-keywords): Do not
15629 dehighlight 'end' in comments or strings.
15630 (octave-completing-read, octave-goto-function-definition):
15631 New helpers.
15632 (octave-help-buffer): New user variable.
15633 (octave-help-file, octave-help-function): New button types.
15634 (octave-help): New command and bind it to C-h ;.
15635 (octave-find-definition): New command and bind it to M-.
15636 (user-error): Alias to error if not defined.
15637
15638 2013-05-02 Leo Liu <sdl.web@gmail.com>
15639
15640 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15641 for \. (bug#14332)
15642 (octave-font-lock-keywords): Include [ and {.
15643
15644 2013-05-02 Leo Liu <sdl.web@gmail.com>
15645
15646 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15647 (inferior-octave): Remove calling comint-mode and return the buffer.
15648 (inferior-octave-startup): Cosmetic changes.
15649
15650 2013-05-02 Leo Liu <sdl.web@gmail.com>
15651
15652 * progmodes/octave.el (octave-syntax-propertize-function):
15653 Include the case when ' is at line beginning. (Bug#14336)
15654
15655 2013-05-02 Glenn Morris <rgm@gnu.org>
15656
15657 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15658 * desktop.el (vc-dir-mode): Just autoload it here.
15659
15660 2013-05-02 Alan Mackenzie <acm@muc.de>
15661
15662 Eliminate variable c-standard-font-lock-fontify-region-function.
15663 * progmodes/cc-mode.el
15664 (c-standard-font-lock-fontify-region-function): Remove.
15665 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15666
15667 2013-05-01 Leo Liu <sdl.web@gmail.com>
15668
15669 * progmodes/octave.el: Compatible with older emacs-24 releases.
15670 (inferior-octave-has-built-in-variables): Remove. Built-in
15671 variables were removed from Octave in 2007.
15672 (inferior-octave-startup): Fix uses.
15673 (comint-line-beginning-position): Remove compatibility code for
15674 emacs 21.
15675
15676 2013-05-01 Juri Linkov <juri@jurta.org>
15677
15678 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15679
15680 2013-05-01 Juri Linkov <juri@jurta.org>
15681
15682 * comint.el (comint-previous-matching-input): Don't print message
15683 "History item: %d" when `isearch-mode' is active.
15684 (comint-history-isearch-message): Print message "History item: %d"
15685 when `comint-input-ring-index' is not empty and this function is
15686 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15687
15688 2013-05-01 Leo Liu <sdl.web@gmail.com>
15689
15690 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15691 definitions. Use completion-at-point to insert keywords.
15692 (octave-abbrev-start): Remove.
15693 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15694
15695 2013-04-30 Leo Liu <sdl.web@gmail.com>
15696
15697 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15698 change.
15699
15700 2013-04-30 Alan Mackenzie <acm@muc.de>
15701
15702 Handle arbitrarily long C++ member initialisation lists.
15703 * progmodes/cc-engine.el (c-back-over-member-initializers):
15704 new function.
15705 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15706 (most) member init lists.
15707
15708 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15709
15710 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15711 variable.
15712
15713 2013-04-30 Leo Liu <sdl.web@gmail.com>
15714
15715 * progmodes/octave.el (octave-variables): Remove. No builtin
15716 variables any more. All converted to functions.
15717 (octave-font-lock-keywords, octave-completion-at-point-function):
15718 Fix uses.
15719 (octave-font-lock-texinfo-comment): New user variable.
15720 (octave-texinfo-font-lock-keywords): New variable for texinfo
15721 comment block.
15722 (octave-function-comment-block): New face.
15723 (octave-font-lock-texinfo-comment): New function.
15724 (octave-mode): Font lock texinfo comment block.
15725
15726 2013-04-29 Leo Liu <sdl.web@gmail.com>
15727
15728 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15729 indexing expression.
15730 (octave-continuation-string): Do not use \.
15731 (inferior-octave-complete-impossible): Remove.
15732 (inferior-octave-completion-table)
15733 (inferior-octave-completion-at-point): Remove its uses.
15734 (inferior-octave-startup): completion_matches was introduced to
15735 Octave in 1996 so safe to assume it.
15736 (octave-function-file-comment): Improve to follow how Octave does it.
15737 (octave-update-function-file-comment): Tweak.
15738
15739 2013-04-29 Leo Liu <sdl.web@gmail.com>
15740
15741 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15742 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15743 (octave-function-file-comment): Fix typo.
15744 (octave-sync-function-file-names): Use read-char-choice.
15745
15746 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15747
15748 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15749 to t for the less important warnings.
15750
15751 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15752
15753 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15754
15755 2013-04-27 Glenn Morris <rgm@gnu.org>
15756
15757 * vc/log-view.el (log-view-current-entry):
15758 Treat "---" separator lines as part of the following rev. (Bug#14169)
15759
15760 2013-04-27 Juri Linkov <juri@jurta.org>
15761
15762 * subr.el (read-number): Doc fix about using it by interactive
15763 code letter `n'. (Bug#14254)
15764
15765 2013-04-27 Juri Linkov <juri@jurta.org>
15766
15767 * desktop.el (desktop-auto-save-timeout): New option.
15768 (desktop-file-checksum): New variable.
15769 (desktop-save): Add optional arg `auto-save' and don't auto-save
15770 if nothing changed.
15771 (desktop-auto-save-timer): New variable.
15772 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15773 (after-init-hook): Call `desktop-auto-save-set-timer'.
15774 Suggested by Reuben Thomas <rrt@sc3d.org> in
15775 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15776
15777 2013-04-27 Leo Liu <sdl.web@gmail.com>
15778
15779 * progmodes/octave.el (octave-function-file-p)
15780 (octave-skip-comment-forward, octave-function-file-comment)
15781 (octave-update-function-file-comment): New functions.
15782 (octave-mode-map): Bind C-c ; to
15783 octave-update-function-file-comment.
15784 (octave-mode-menu): Add octave-update-function-file-comment.
15785 (octave-mode, inferior-octave-mode): Fix doc-string.
15786 (octave-insert-defun): Conform to Octave's coding convention.
15787 (Bug#14285)
15788
15789 * files.el (basic-save-buffer): Don't let errors in
15790 before-save-hook prevent saving buffer.
15791
15792 2013-04-20 Roland Winkler <winkler@gnu.org>
15793
15794 * faces.el (read-face-name): Use completing-read if arg multiple
15795 is nil.
15796
15797 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15798
15799 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15800 displayed, move point to after the totals line.
15801 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15802 for the details.
15803
15804 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15805
15806 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15807 Add current dir to the load-path.
15808 (package-generate-autoloads): Don't rely on
15809 autoload-ensure-default-file.
15810
15811 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15812
15813 * textmodes/remember.el (remember-store-in-files): Document that
15814 the file name format is passed to `format-time-string'.
15815
15816 2013-04-26 Leo Liu <sdl.web@gmail.com>
15817
15818 * progmodes/octave.el (octave-sync-function-file-names): New function.
15819 (octave-mode): Use it in before-save-hook.
15820
15821 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15822
15823 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15824 (bug#14274).
15825
15826 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15827 \n and comment, even if it's not an implicit ; (bug#14218).
15828
15829 2013-04-26 Glenn Morris <rgm@gnu.org>
15830
15831 * subr.el (read-number): Once more use `read' rather than
15832 `string-to-number', to trap non-numeric input. (Bug#14254)
15833
15834 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15835
15836 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15837 Use `syntax-multiline' text property consistently instead of
15838 `font-lock-multiline'. (Bug#14237)
15839
15840 2013-04-26 Glenn Morris <rgm@gnu.org>
15841
15842 * emacs-lisp/shadow.el (list-load-path-shadows):
15843 No longer necessary to check for duplicate simple.el, since
15844 2012-07-07 change to init_lread to not include installation lisp
15845 directories in load-path when running uninstalled. (Bug#14270)
15846
15847 2013-04-26 Leo Liu <sdl.web@gmail.com>
15848
15849 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15850 (octave-mode, inferior-octave-mode): Use setq-local.
15851 (octave-not-in-string-or-comment-p): Rename to
15852 octave-in-string-or-comment-p.
15853 (octave-in-comment-p, octave-in-string-p)
15854 (octave-in-string-or-comment-p): Replace defsubst with defun.
15855
15856 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15857
15858 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15859
15860 2013-04-25 Bastien Guerry <bzg@gnu.org>
15861
15862 * textmodes/remember.el (remember-data-directory)
15863 (remember-directory-file-name-format): Fix custom types.
15864
15865 2013-04-25 Leo Liu <sdl.web@gmail.com>
15866
15867 * progmodes/octave.el (octave-completion-at-point-function):
15868 Make use of inferior octave process.
15869 (octave-initialize-completions): Remove.
15870 (inferior-octave-completion-table): New function.
15871 (inferior-octave-completion-at-point): Use it.
15872 (octave-completion-alist): Remove.
15873
15874 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15875
15876 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15877 (opascal-mode-syntax-table): New var.
15878 (opascal-literal-kind, opascal-is-literal-end)
15879 (opascal-literal-token-at): Rewrite.
15880 (opascal--literal-start-re, opascal-font-lock-keywords)
15881 (opascal--syntax-propertize): New constants.
15882 (opascal-font-lock-defaults): Adjust.
15883 (opascal-mode): Use them. Set comment-<foo> variables as well.
15884 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15885 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15886 (delphi-other-face, opascal-other-face): Remove face variables.
15887 (opascal-save-state): Remove macro.
15888 (opascal-fontifying-progress-step): Remove constant.
15889 (opascal--ignore-changes): Remove var.
15890 (opascal-set-token-property, opascal-parse-next-literal)
15891 (opascal-is-stable-literal, opascal-complete-literal)
15892 (opascal-is-literal-start, opascal-face-of)
15893 (opascal-parse-region, opascal-parse-region-until-stable)
15894 (opascal-fontify-region, opascal-after-change)
15895 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15896 (opascal-debug-parse-region, opascal-debug-parse-window)
15897 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15898 (opascal-debug-fontify-buffer): Remove.
15899 (opascal-debug-mode-map): Adjust accordingly.
15900
15901 2013-04-25 Leo Liu <sdl.web@gmail.com>
15902
15903 Merge octave-mod.el and octave-inf.el into octave.el with some
15904 cleanups.
15905 * progmodes/octave.el: New file renamed from octave-mod.el.
15906 * progmodes/octave-inf.el: Merged into octave.el.
15907 * progmodes/octave-mod.el: Renamed to octave.el.
15908
15909 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15910
15911 * textmodes/reftex-vars.el
15912 (reftex-label-ignored-macros-and-environments): New defcustom.
15913
15914 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15915
15916 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15917
15918 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15919 (smie-indent-keyword): Improve the check to ensure that the next
15920 comment is really on the same line.
15921 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15922
15923 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15924 semi-colons if the line is not otherwise empty (bug#14218).
15925
15926 2013-04-25 Glenn Morris <rgm@gnu.org>
15927
15928 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15929
15930 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15931
15932 * progmodes/opascal.el (opascal-set-token-property): Rename from
15933 opascal-set-text-properties and only set `token' (bug#14134).
15934 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15935 (opascal-literal-text-properties): Remove.
15936 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15937 Adjust callers.
15938
15939 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15940
15941 * textmodes/remember.el (remember-handler-functions): Add an
15942 option for a new handler `remember-store-in-files'.
15943 (remember-data-directory, remember-directory-file-name-format):
15944 New options.
15945 (remember-store-in-files): New function to store remember notes
15946 as separate files within a directory.
15947
15948 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15949
15950 * progmodes/compile.el (compilation-next-error-function):
15951 Pass "formats" to compilation-find-file (bug#11777).
15952
15953 2013-04-24 Glenn Morris <rgm@gnu.org>
15954
15955 * vc/vc-bzr.el (vc-bzr-print-log):
15956 * vc/vc-hg.el (vc-hg-print-log):
15957 * vc/vc-svn.el (vc-svn-print-log):
15958 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15959
15960 * vc/vc-bzr.el (vc-bzr-print-log):
15961 * vc/vc-cvs.el (vc-cvs-print-log):
15962 * vc/vc-git.el (vc-git-print-log):
15963 * vc/vc-hg.el (vc-hg-print-log):
15964 * vc/vc-mtn.el (vc-mtn-print-log):
15965 * vc/vc-rcs.el (vc-rcs-print-log):
15966 * vc/vc-sccs.el (vc-sccs-print-log):
15967 * vc/vc-svn.el (vc-svn-print-log):
15968 * vc/vc.el (vc-print-log-internal): Doc fixes.
15969
15970 2013-04-23 Glenn Morris <rgm@gnu.org>
15971
15972 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15973 Remove venerable code attempting to avoid substitute-command-keys.
15974
15975 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15976
15977 * textmodes/reftex-vars.el (reftex-label-regexps):
15978 Call `reftex-compile-variables' after changes to this variable.
15979
15980 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15981
15982 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15983 Use lexical-binding.
15984 (jit-lock-force-redisplay): Use markers, check buffer's continued
15985 existence and beware narrowed buffers.
15986 (jit-lock-fontify-now): Adjust call accordingly.
15987
15988 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15989
15990 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15991 to avoid misleading the user.
15992
15993 2013-04-22 Leo Liu <sdl.web@gmail.com>
15994
15995 * info-look.el: Prefer latex2e.info. (Bug#14240)
15996
15997 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15998
15999 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
16000
16001 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
16002 * net/tramp.el (tramp-call-process): ... here.
16003 (tramp-set-completion-function, tramp-parse-putty):
16004 * net/tramp-adb.el (tramp-adb-execute-adb-command):
16005 * net/tramp-gvfs.el (tramp-gvfs-send-command):
16006 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
16007 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
16008 (tramp-call-local-coding-command): Use `tramp-call-process'
16009 instead of `tramp-compat-call-process'.
16010
16011 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
16012 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
16013 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
16014 (tramp-find-inline-compress): Improve traces.
16015 (tramp-maybe-send-script): Check for Perl binary.
16016 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
16017
16018 2013-04-22 Daiki Ueno <ueno@gnu.org>
16019
16020 * epg.el (epg-context-pinentry-mode): New function.
16021 (epg-context-set-pinentry-mode): New function.
16022 (epg--start): Pass --pinentry-mode option to gpg command.
16023
16024 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
16025
16026 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
16027 `comint-dynamic-complete' is obsolete since 24.1, replaced by
16028 `completion-at-point'. (Bug#13774)
16029
16030 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
16031 default key binding for `describe-distribution' has been moved to
16032 `C-h C-o'. (Bug#13970)
16033
16034 2013-04-21 Glenn Morris <rgm@gnu.org>
16035
16036 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
16037 Add doc strings.
16038 (vc-print-log): Clarify interactive prompt.
16039
16040 2013-04-20 Glenn Morris <rgm@gnu.org>
16041
16042 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
16043 No longer include timestamp etc information.
16044
16045 2013-04-20 Roland Winkler <winkler@gnu.org>
16046
16047 * faces.el (read-face-name): Bug fix, return just one face if arg
16048 multiple is nil. (Bug#14209)
16049
16050 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16051
16052 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
16053 (remove-function): Autoload.
16054
16055 * comint.el (comint-redirect-original-filter-function): Remove.
16056 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
16057 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
16058 (vc-cvs-annotate-command):
16059 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
16060 * progmodes/prolog.el (prolog-consult-compile):
16061 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
16062 Use add/remove-function instead.
16063 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
16064 (gud-tooltip-process-output, gud-tooltip-tips):
16065 Use add/remove-function instead.
16066 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
16067 (scheme-interaction-mode, exit-scheme-interaction-mode):
16068 Use add/remove-function instead.
16069
16070 * vc/vc-dispatcher.el: Use lexical-binding.
16071 (vc--process-sentinel): Rename from vc-process-sentinel.
16072 Change last arg to be the code to run. Don't use vc-previous-sentinel
16073 and vc-sentinel-commands any more.
16074 (vc-exec-after): Allow code to be a function. Use add/remove-function.
16075 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
16076
16077 2013-04-19 Masatake YAMATO <yamato@redhat.com>
16078
16079 * progmodes/sh-script.el (sh-imenu-generic-expression):
16080 Handle function names with a single character. (Bug#14111)
16081
16082 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
16083
16084 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
16085 for subroutines defined in an eval (bug#14182).
16086
16087 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16088
16089 * bookmark.el (bookmark-completing-read): Improve handling of empty
16090 string (bug#14176).
16091
16092 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16093
16094 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
16095
16096 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
16097
16098 New faster Imenu implementation (bug#14058).
16099 * progmodes/python.el:
16100 (python-imenu-prev-index-position):
16101 (python-imenu-format-item-label-function)
16102 (python-imenu-format-parent-item-label-function)
16103 (python-imenu-format-parent-item-jump-label-function):
16104 New vars.
16105 (python-imenu-format-item-label)
16106 (python-imenu-format-parent-item-label)
16107 (python-imenu-format-parent-item-jump-label)
16108 (python-imenu--put-parent, python-imenu--build-tree)
16109 (python-imenu-create-index, python-imenu-create-flat-index)
16110 (python-util-popn): New functions.
16111 (python-mode): Set imenu-create-index-function to
16112 python-imenu-create-index.
16113
16114 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16115
16116 * winner.el (winner-active-region): Use region-active-p, activate-mark
16117 and deactivate-mark (bug#14225).
16118
16119 * simple.el (deactivate-mark): Don't inline it.
16120
16121 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
16122
16123 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
16124
16125 2013-04-18 Tassilo Horn <tsdh@gnu.org>
16126
16127 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
16128 file extensions from the archive-mode entry in order to prefer
16129 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
16130
16131 2013-04-18 Leo Liu <sdl.web@gmail.com>
16132
16133 * bindings.el (help-event-list): Add ?\?.
16134
16135 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16136
16137 * subr.el (with-wrapper-hook): Declare obsolete.
16138 * simple.el (filter-buffer-substring-function): New hook.
16139 (filter-buffer-substring): Use it.
16140 (filter-buffer-substring-functions): Mark obsolete.
16141 * minibuffer.el (completion-in-region-function): New hook.
16142 (completion-in-region): Use it.
16143 (completion-in-region-functions): Mark obsolete.
16144 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
16145 * abbrev.el (abbrev-expand-function): New hook.
16146 (expand-abbrev): Use it.
16147 (abbrev-expand-functions): Mark obsolete.
16148 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
16149 and :filter-return.
16150
16151 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16152
16153 * progmodes/python.el (python-nav--syntactically): Fix cornercases
16154 and do not care about match data.
16155
16156 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16157
16158 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
16159 completion tables when completing error conditions and
16160 `declare' arguments.
16161 (lisp-complete-symbol, field-complete): Mark as obsolete.
16162 (check-parens): Unmatched parens are user errors.
16163 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
16164
16165 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
16166
16167 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
16168 command changed buffer (ie. `flyspell-pre-buffer' is not current
16169 buffer), which prevents making decisions based on invalid value of
16170 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
16171 cause an error when `flyspell-pre-point' was nil after switching
16172 buffers.
16173 (flyspell-post-command-hook): No longer needs to change buffers when
16174 checking pre-word. While at it remove unnecessary progn.
16175
16176 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
16177
16178 * textmodes/ispell.el (ispell-add-per-file-word-list):
16179 Fix `flyspell-correct-word-before-point' error when accepting
16180 words and `coment-padding' is an integer by using
16181 `comment-normalize-vars' (Bug #14214).
16182
16183 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16184
16185 New defun movement commands.
16186 * progmodes/python.el (python-nav--syntactically)
16187 (python-nav--forward-defun, python-nav-backward-defun)
16188 (python-nav-forward-defun): New functions.
16189
16190 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16191
16192 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
16193 (python-syntax-context): Use named compiler-macro for backwards
16194 compatibility with Emacs 24.x.
16195
16196 2013-04-17 Leo Liu <sdl.web@gmail.com>
16197
16198 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
16199 octave-hide-process-buffer.
16200
16201 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16202
16203 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
16204 (bug#14216).
16205
16206 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
16207
16208 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
16209 Fix adjustment of offset when receiving incomplete responses from GDB
16210 (bug#14129).
16211
16212 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16213
16214 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
16215 python-mode-abbrev-table.
16216 (python-skeleton-define): Adjust accordingly.
16217 (python-mode-abbrev-table): New table that inherits from it so that
16218 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
16219
16220 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
16221 (abbrev-symbol): Use it.
16222 (abbrev--before-point): Use it since we already handle inheritance.
16223
16224 2013-04-16 Leo Liu <sdl.web@gmail.com>
16225
16226 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
16227 binding to info-lookup-symbol.
16228
16229 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
16230
16231 * minibuffer.el (completion--twq-all):
16232 * term/ns-win.el (ns-initialize-window-system):
16233 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
16234
16235 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16236
16237 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
16238 global bindings.
16239
16240 * doc-view.el (doc-view-start-process): Handle url-handler directories.
16241
16242 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
16243
16244 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
16245 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
16246 to nil.
16247 (ruby-end-of-defun): Remove the unused arg, change the docstring
16248 to reflect that this function is only used as the value of
16249 `end-of-defun-function'.
16250 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
16251 to reflect an earlier change that beginning/end-of-defun functions
16252 jump between methods in a class definition, as well as top-level
16253 functions.
16254
16255 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16256
16257 * minibuffer.el (minibuffer-complete): Don't just scroll
16258 a *Completions* that's been iconified.
16259 (minibuffer-force-complete): Make sure repetitions do cycle when going
16260 through completion-in-region -> minibuffer-complete.
16261
16262 2013-04-15 Alan Mackenzie <acm@muc.de>
16263
16264 Correct the placement of c-cpp-delimiters when there're #s not at
16265 col 0.
16266
16267 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
16268 place a submatch around the #.
16269 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
16270 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
16271 on the #, not BOL.
16272
16273 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16274
16275 * emacs-lisp/nadvice.el: Properly test names when adding advice.
16276 (advice--member-p): New arg `name'.
16277 (advice--add-function, advice-member-p): Use it (bug#14202).
16278
16279 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
16280
16281 Reformulate java imenu-generic-expression.
16282 The old expression contained ill formed regexps.
16283
16284 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
16285 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
16286 (cc-imenu-java-method-arg-regexp): New defconsts.
16287 (cc-imenu-java-build-type-args-regex): New defun.
16288 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
16289 handling of spaces in the regexp.
16290
16291 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16292
16293 * textmodes/ispell.el (ispell-command-loop): Remove
16294 flyspell highlight of a word when ispell accepts it (bug #14178).
16295
16296 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
16297
16298 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
16299 uses code from the previous `ange-ftp-run-real-handler'.
16300 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
16301 only in case that function exist. This is needed for proper
16302 unloading of Tramp.
16303
16304 2013-04-15 Tassilo Horn <tsdh@gnu.org>
16305
16306 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
16307
16308 * textmodes/reftex.el (reftex-compile-variables): Use it.
16309
16310 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16311
16312 * files.el (normal-mode): Only use default major-mode if no other mode
16313 was specified.
16314
16315 * emacs-lisp/trace.el (trace-values): New function.
16316
16317 * files.el: Allow : in local variables (bug#14089).
16318 (hack-local-variable-regexp): New var.
16319 (hack-local-variables-prop-line, hack-local-variables): Use it.
16320
16321 2013-04-13 Roland Winkler <winkler@gnu.org>
16322
16323 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
16324 data before it gets modified by bibtex-beginning-of-entry.
16325
16326 2013-04-13 Roland Winkler <winkler@gnu.org>
16327
16328 * textmodes/bibtex.el (bibtex-url): Doc fix.
16329
16330 2013-04-13 Roland Winkler <winkler@gnu.org>
16331
16332 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
16333 does not visit a BibTeX file, exclude it from the list of buffers
16334 returned by bibtex-initialize.
16335
16336 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
16337
16338 * window.el (split-window): Remove interactive form, since as a
16339 command this function is a special case of split-window-below.
16340 Correct doc string.
16341
16342 2013-04-12 Roland Winkler <winkler@gnu.org>
16343
16344 * faces.el (read-face-name): Do not override value of arg default.
16345 Allow single faces and strings as default values. Remove those
16346 elements from return value that are not faces.
16347 (describe-face): Simplify.
16348 (face-at-point): New optional args thing and multiple so that this
16349 function can provide the same functionality previously provided by
16350 read-face-name.
16351 (make-face-bold, make-face-unbold, make-face-italic)
16352 (make-face-unitalic, make-face-bold-italic, invert-face)
16353 (modify-face, read-face-and-attribute): Use face-at-point.
16354
16355 * cus-edit.el (customize-face, customize-face-other-window)
16356 * cus-theme.el (custom-theme-add-face)
16357 * face-remap.el (buffer-face-set)
16358 * facemenu.el (facemenu-set-face): Use face-at-point.
16359
16360 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
16361
16362 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
16363
16364 2013-04-10 Tassilo Horn <tsdh@gnu.org>
16365
16366 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
16367 off leading { and trailing } from field values.
16368
16369 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16370
16371 * emacs-lisp/timer.el (timer--check): New function.
16372 (timer--time, timer-set-function, timer-event-handler): Use it.
16373 (timer-set-idle-time): Simplify.
16374 (timer--activate): CSE.
16375 (timer-event-handler): Give more info in error message.
16376 (internal-timer-start-idle): New function, moved from C.
16377
16378 * mpc.el (mpc-proc): Add `restart' argument.
16379 (mpc-proc-cmd): Use it.
16380 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
16381 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
16382 less often.
16383
16384 2013-04-10 Masatake YAMATO <yamato@redhat.com>
16385
16386 * progmodes/sh-script.el: Implement `sh-mode' own
16387 `add-log-current-defun-function' (bug#14112).
16388 (sh-current-defun-name): New function.
16389 (sh-mode): Use the function.
16390
16391 2013-04-09 Bastien Guerry <bzg@gnu.org>
16392
16393 * simple.el (choose-completion-string): Fix docstring (bug#14163).
16394
16395 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
16396
16397 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16398
16399 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16400 timer (bug#14156).
16401
16402 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
16403
16404 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16405 declaration.
16406
16407 2013-04-07 Leo Liu <sdl.web@gmail.com>
16408
16409 * pcmpl-x.el: New file.
16410
16411 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
16412
16413 Do not set x-display-name until X connection is established.
16414 This is needed to prevent from weird situation described at
16415 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16416 * frame.el (make-frame): Set x-display-name after call to
16417 window system initialization function, not before.
16418 * term/x-win.el (x-initialize-window-system): Add optional
16419 display argument and use it.
16420 * term/w32-win.el (w32-initialize-window-system):
16421 * term/ns-win.el (ns-initialize-window-system):
16422 * term/pc-win.el (msdos-initialize-window-system):
16423 Add compatible optional display argument.
16424
16425 2013-04-06 Eli Zaretskii <eliz@gnu.org>
16426
16427 * files.el (normal-backup-enable-predicate): On MS-Windows and
16428 MS-DOS compare truenames of temporary-file-directory and of the
16429 file, so that 8+3 aliases (usually found in $TEMP on Windows)
16430 don't fail comparison by compare-strings. Also, compare file
16431 names case-insensitively on MS-Windows and MS-DOS.
16432
16433 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16434
16435 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16436 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16437
16438 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
16439
16440 * whitespace.el (whitespace-color-on, whitespace-color-off):
16441 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16442
16443 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
16444
16445 * ispell.el (ispell-set-spellchecker-params):
16446 Really set `ispell-args' for all equivs.
16447
16448 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16449
16450 * ido.el (ido-completions): Use extra elements of ido-decorations
16451 (bug#14143).
16452 (ido-decorations): Update docstring.
16453
16454 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
16455
16456 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16457 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16458 nil during initialization, in order not to miss changes since the
16459 file was opened. (Bug#14140)
16460
16461 2013-04-05 Leo Liu <sdl.web@gmail.com>
16462
16463 * kmacro.el (kmacro-call-macro): Fix bug#14135.
16464
16465 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
16466
16467 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16468
16469 2013-04-04 Glenn Morris <rgm@gnu.org>
16470
16471 * electric.el (electric-pair-inhibit-predicate): Add :version.
16472
16473 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16474
16475 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16476 when a package is required several times (bug#14082).
16477
16478 2013-04-04 Roland Winkler <winkler@gnu.org>
16479
16480 * faces.el (read-face-name): Behave as promised by the docstring.
16481 Assume that arg default is a list of faces.
16482 (describe-face): Call read-face-name with list of default faces.
16483
16484 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16485
16486 * bookmark.el: Fix deletion of bookmarks (bug#13972).
16487 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16488 (bookmark-bmenu-execute-deletions): Only skip first line if it's
16489 the header.
16490 (bookmark-exit-hook-internal): Save even if list is empty.
16491
16492 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
16493
16494 * emacs-lisp/package.el (package-pinned-packages): New var.
16495 (package--add-to-archive-contents): Obey it (bug#14118).
16496
16497 2013-04-03 Alan Mackenzie <acm@muc.de>
16498
16499 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16500 Also adapt to the new values of element 7 of a parse state.
16501
16502 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16503 parameter `not-in-delimiter'. Handle being inside comment opener.
16504 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16505 character in case we're typing a '*' after a '/'.
16506 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16507 instead by passing the parameter to c-state-pp-to-literal.
16508
16509 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16510 for elt. 7 of a parse state.
16511
16512 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16513
16514 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16515 * international/latin1-disp.el, international/mule-util.el:
16516 * language/cyril-util.el, language/european.el, language/ind-util.el:
16517 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16518 * language/tibetan.el, language/viet-util.el:
16519 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16520
16521 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16522
16523 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16524 (electric-pair-post-self-insert-function): Use it.
16525 (electric-pair-default-inhibit): New function, extracted from
16526 electric-pair-post-self-insert-function.
16527
16528 2013-03-31 Roland Winkler <winkler@gnu.org>
16529
16530 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16531
16532 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16533
16534 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16535
16536 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
16537
16538 Un-indent after "pass" and "return" statements (Bug#13888)
16539 * progmodes/python.el (python-indent-block-enders): New var.
16540 (python-indent-calculate-indentation): Use it.
16541
16542 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
16543
16544 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16545 defun. Defining it as defalias could introduce too eager
16546 byte-compiler optimization. (Bug#14030)
16547
16548 2013-03-30 Chong Yidong <cyd@gnu.org>
16549
16550 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16551
16552 2013-03-30 Leo Liu <sdl.web@gmail.com>
16553
16554 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16555 (kmacro-execute-from-register): Pass the keyboard macro to
16556 kmacro-call-macro or repeating won't work correctly.
16557
16558 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16559
16560 * progmodes/subword.el: Back to using `forward-symbol'.
16561
16562 * subr.el (forward-whitespace, forward-symbol)
16563 (forward-same-syntax): Move from thingatpt.el.
16564
16565 2013-03-29 Leo Liu <sdl.web@gmail.com>
16566
16567 * kmacro.el (kmacro-to-register): New command.
16568 (kmacro-execute-from-register): New function.
16569 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16570
16571 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16572
16573 * mpc.el: Use defvar-local and setq-local.
16574 (mpc--proc-connect): Connection failures are not bugs.
16575 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16576 (mpc-volume-map): Bind to the up-events.
16577
16578 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16579
16580 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16581 instead of `forward-symbol'.
16582
16583 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16584
16585 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16586 (edebug--recursive-edit): Use it.
16587 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16588 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16589
16590 2013-03-28 Leo Liu <sdl.web@gmail.com>
16591
16592 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16593
16594 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16595
16596 * facemenu.el (list-colors-callback): New defvar.
16597 (list-colors-redisplay): New function.
16598 (list-colors-display): Install list-colors-redisplay as the
16599 revert-buffer-function. (Bug#14063)
16600
16601 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16602
16603 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16604 and suffixes don't overlap (bug#14061).
16605
16606 * case-table.el: Use lexical-binding.
16607 (case-table-get-table): New function.
16608 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16609
16610 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16611
16612 * progmodes/subword.el: Add `superword-mode' to do word motion
16613 over symbol_words (parallels and leverages `subword-mode' which
16614 does word motion inside MixedCaseWords).
16615
16616 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16617
16618 * eshell/em-unix.el: Move su and sudo to...
16619 * eshell/em-tramp.el: ...Eshell tramp module.
16620
16621 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16622
16623 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16624 Change return value to be a sexp. Delay `get-buffer' to after
16625 restoring the desktop (bug#13951).
16626
16627 2013-03-26 Leo Liu <sdl.web@gmail.com>
16628
16629 * register.el: Move semantic tag handling back to
16630 cedet/semantic/senator.el. (Bug#14052)
16631
16632 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16633
16634 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16635 into the prompt either (bug#13963).
16636
16637 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16638
16639 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16640 part of "(error-foo)".
16641
16642 2013-03-24 Juri Linkov <juri@jurta.org>
16643
16644 * replace.el (list-matching-lines-prefix-face): New defcustom.
16645 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16646 `occur-engine' if `face-differs-from-default-p' returns t.
16647 (occur-engine): Add `,' inside backquote construct to evaluate
16648 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16649 Pass `prefix-face' to the functions `occur-context-lines' and
16650 `occur-engine-add-prefix'.
16651 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16652 `prefix-face' and propertize the prefix with `prefix-face'.
16653 (Bug#14017)
16654
16655 2013-03-24 Leo Liu <sdl.web@gmail.com>
16656
16657 * nxml/rng-valid.el (rng-validate-while-idle)
16658 (rng-validate-quick-while-idle): Guard against deleted buffer.
16659 (Bug#13999)
16660
16661 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16662 is the last entry in kill-buffer-hook.
16663
16664 * files.el (kill-buffer-hook): Doc fix.
16665
16666 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16667
16668 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16669 Make it safe-local.
16670
16671 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16672
16673 2013-03-23 Leo Liu <sdl.web@gmail.com>
16674
16675 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16676 Remove.
16677
16678 * nxml/rng-valid.el (rng-validate-mode)
16679 (rng-after-change-function, rng-do-some-validation):
16680 * nxml/rng-maint.el (rng-validate-buffer):
16681 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16682 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16683 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16684 (nxml-extend-after-change-region): Use with-silent-modifications.
16685
16686 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16687 timer-idle-list.
16688
16689 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16690 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16691 timer-idle-list. (Bug#13999)
16692
16693 2013-03-23 Juri Linkov <juri@jurta.org>
16694
16695 * info.el (info-index-match): New face.
16696 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16697 main pattern and add text properties with the new face to matches
16698 in index entries relative to the beginning of the index entry.
16699 (Bug#14015)
16700
16701 2013-03-21 Eric Ludlam <zappo@gnu.org>
16702
16703 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16704 Inhibit read only while inserting objects.
16705
16706 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16707
16708 * progmodes/cfengine.el: Update docs to mention
16709 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16710 symbol motion. Remove "_" from the word syntax.
16711
16712 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16713
16714 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16715 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16716
16717 2013-03-20 Juri Linkov <juri@jurta.org>
16718
16719 * info.el (Info-next-reference-or-link)
16720 (Info-prev-reference-or-link): New functions.
16721 (Info-next-reference, Info-prev-reference): Use them.
16722 (Info-try-follow-nearest-node): Handle footnote navigation.
16723 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16724
16725 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16726
16727 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16728 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16729
16730 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16731
16732 Suppress unnecessary non-ASCII chatter during build process.
16733 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16734 (batch-skkdic-convert): Suppress most of the chatter.
16735 It's not needed so much now that machines are faster,
16736 and its non-ASCII component was confusing; see Dmitry Gutov in
16737 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16738
16739 2013-03-20 Leo Liu <sdl.web@gmail.com>
16740
16741 * ido.el (ido-chop): Fix bug#10994.
16742
16743 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16744
16745 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16746 Remove vars.
16747 (whitespace-color-on, whitespace-color-off):
16748 Use `font-lock-fontify-buffer' (Bug#13817).
16749
16750 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16751
16752 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16753 remapping in mode-line.
16754 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16755
16756 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16757
16758 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16759 value for `whitespace-line' face (Bug#13875).
16760 (whitespace-font-lock-keywords): Change description.
16761 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16762 the constructed keywords instead.
16763 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16764
16765 2013-03-19 Leo Liu <sdl.web@gmail.com>
16766
16767 * progmodes/compile.el (compilation-display-error): New command.
16768 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16769 C-o. (Bug#13992)
16770
16771 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16772
16773 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16774
16775 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16776
16777 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16778
16779 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16780
16781 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16782
16783 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16784 * net/tramp-gvfs.el (top):
16785 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16786 (tramp-handle-shell-command): Use it.
16787 (tramp-dissect-file-name): Raise an error when hostname is a
16788 method name, and neither method nor user is specified.
16789
16790 * net/trampver.el: Update release number.
16791
16792 2013-03-18 Leo Liu <sdl.web@gmail.com>
16793
16794 Make sure eldoc can be turned off properly.
16795 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16796 eldoc-mode.
16797 (eldoc-display-message-p): Revert last change.
16798 (eldoc-display-message-no-interference-p)
16799 (eldoc-print-current-symbol-info): Tweak.
16800
16801 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16802
16803 * doc-view.el (doc-view-new-window-function): Check the new window
16804 overlay's display property instead the char property of the
16805 buffer's first char. Use `with-selected-window' instead of
16806 `save-window-excursion' with `select-window'.
16807 (doc-view-document->bitmap): Check the current doc-view overlay's
16808 display property instead the char property of the buffer's first char.
16809
16810 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16811
16812 Automate the build of ja-dic.el (Bug#13984).
16813 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16814 from the input, rather than assume that it's been done for us by the
16815 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16816 the current date into a ja-dic.el comment, as that complicates
16817 regression testing.
16818
16819 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16820
16821 * whitespace.el: Fix double evaluation.
16822 (whitespace-space, whitespace-hspace, whitespace-tab)
16823 (whitespace-newline, whitespace-trailing, whitespace-line)
16824 (whitespace-space-before-tab, whitespace-indentation)
16825 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16826 obsolete defvars.
16827 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16828 (whitespace-color-on): Use a single font-lock-add-keywords call.
16829 Fix double-evaluation of face variables.
16830
16831 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16832
16833 * net/tramp-adb.el (tramp-adb-parse-device-names):
16834 Use `start-process' instead of `call-process'. Otherwise, the
16835 function might be blocked under MS Windows. (Bug#13299)
16836
16837 2013-03-17 Leo Liu <sdl.web@gmail.com>
16838
16839 Extend eldoc to display info in the mode-line. (Bug#13978)
16840 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16841 (eldoc-mode-line-string): New variable.
16842 (eldoc-minibuffer-message): New function.
16843 (eldoc-message-function): New variable.
16844 (eldoc-message): Use it.
16845 (eldoc-display-message-p)
16846 (eldoc-display-message-no-interference-p):
16847 Support eldoc-post-insert-mode.
16848
16849 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16850 (eval-expression): Run it.
16851
16852 2013-03-17 Roland Winkler <winkler@gnu.org>
16853
16854 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16855 strings in the list of return values.
16856
16857 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16858
16859 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16860 radix before checking for HMS forms.
16861
16862 2013-03-16 Leo Liu <sdl.web@gmail.com>
16863
16864 * progmodes/scheme.el: Add indentation and font-locking for λ.
16865 (Bug#13975)
16866
16867 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16868
16869 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16870 token before point (bug#13942).
16871
16872 2013-03-16 Leo Liu <sdl.web@gmail.com>
16873
16874 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16875
16876 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16877
16878 * startup.el (command-line-normalize-file-name): Fix handling of
16879 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16880 <xfq.free@gmail.com> in
16881 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16882
16883 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16884
16885 Sync with Tramp 2.2.7.
16886
16887 * net/trampver.el: Update release number.
16888
16889 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16890
16891 * doc-view.el: Fix bug#13887.
16892 (doc-view-insert-image): Don't modify overlay associated to
16893 non-live windows, and implement horizontal centering of image in
16894 case it's smaller than the window.
16895 (doc-view-new-window-function): Force redisplay of new windows on
16896 doc-view buffers.
16897
16898 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16899
16900 * saveplace.el (save-place-alist-to-file): Don't sort
16901 `save-place-alist', just pretty-print it (bug#13882).
16902
16903 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16904
16905 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16906 Check whether `default-file-name-coding-system' is bound.
16907 It isn't in XEmacs.
16908
16909 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16910
16911 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16912 backquotes for `obsolete' (bug#13929).
16913
16914 * international/mule.el (find-auto-coding): Include file name in
16915 obsolescence warning (bug#13922).
16916
16917 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16918
16919 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16920 for CFEngine 3-specific indentation.
16921 (cfengine3-indent-line): Use it. Fix up category regex.
16922 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16923
16924 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16925
16926 * type-break.el (type-break-file-name):
16927 * textmodes/remember.el (remember-data-file):
16928 * strokes.el (strokes-file):
16929 * shadowfile.el (shadow-initialize):
16930 * saveplace.el (save-place-file):
16931 * ps-bdf.el (bdf-cache-file):
16932 * progmodes/idlwave.el (idlwave-config-directory):
16933 * net/quickurl.el (quickurl-url-file):
16934 * international/kkc.el (kkc-init-file-name):
16935 * ido.el (ido-save-directory-list-file):
16936 * emulation/viper.el (viper-custom-file-name):
16937 * emulation/vip.el (vip-startup-file):
16938 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16939 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16940
16941 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16942
16943 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16944 * language/thai-word.el: Switch to UTF-8.
16945
16946 See ChangeLog.16 for earlier changes.
16947
16948 ;; Local Variables:
16949 ;; coding: utf-8
16950 ;; End:
16951
16952 Copyright (C) 2011-2015 Free Software Foundation, Inc.
16953
16954 This file is part of GNU Emacs.
16955
16956 GNU Emacs is free software: you can redistribute it and/or modify
16957 it under the terms of the GNU General Public License as published by
16958 the Free Software Foundation, either version 3 of the License, or
16959 (at your option) any later version.
16960
16961 GNU Emacs is distributed in the hope that it will be useful,
16962 but WITHOUT ANY WARRANTY; without even the implied warranty of
16963 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16964 GNU General Public License for more details.
16965
16966 You should have received a copy of the GNU General Public License
16967 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.