]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Backport: ruby-mode: Detect regexps after `!'
[gnu-emacs] / lisp / ChangeLog
1 2015-03-20 Dmitry Gutov <dgutov@yandex.ru>
2
3 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re): Detect
4 regexps after `!'. (Bug#19285)
5
6 2015-03-20 Dmitry Gutov <dgutov@yandex.ru>
7
8 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use
9 `font-lock-constant-face' for nil, true and false. Highlight
10 `self' as a keyword. (Bug#17733)
11
12 2015-03-20 Nobuyoshi Nakada <nobu@ruby-lang.org>
13
14 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re): Expect
15 beginning of regexp also after open brace or vertical bar.
16 (Bug#20026)
17
18 2015-03-07 Michael Albinus <michael.albinus@gmx.de>
19
20 * net/tramp.el (tramp-ssh-controlmaster-options): Make it a
21 defcustom. (Bug#20015)
22
23 2015-03-07 Eli Zaretskii <eliz@gnu.org>
24
25 * dired.el (dired-delete-file): Doc fix. (Bug#20021)
26
27 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
28
29 * textmodes/ispell.el (ispell-aspell-find-dictionary): Make sure
30 .dat files for aspell dicts are also searched for in location
31 described by `ispell-aspell-dict-dir', matching aspell's dict-dir
32 variable.
33
34 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
35
36 * textmodes/ispell.el (ispell-dicts-name2locale-equivs-alist)
37 (ispell-hunspell-fill-dictionary-entry)
38 (ispell-find-hunspell-dictionaries)
39 (ispell-set-spellchecker-params): New generic name for
40 `ispell-hunspell-dictionary-equivs-alist'.
41 (ispell-aspell-add-aliases): Also use
42 `ispell-dicts-name2locale-equivs-alist' to get aspell aliases for
43 standard dict names.
44
45 2015-02-24 Glenn Morris <rgm@gnu.org>
46
47 * net/browse-url.el (browse-url-firefox-startup-arguments):
48 Make obsolete.
49 (browse-url-firefox): Doc fix. Remove -remote, which no longer
50 exists in Firefox 36. (Bug#19921)
51 (browse-url-firefox-sentinel): Remove function.
52
53 2015-02-23 Eli Zaretskii <eliz@gnu.org>
54
55 * frame.el (blink-cursor-timer-function): Don't increment
56 blink-cursor-blinks-done counter when a menu is active on a w32
57 frame. (Bug#19925)
58
59 2015-02-19 Juri Linkov <juri@linkov.net>
60
61 * comint.el (comint-line-beginning-position): Revert searching for
62 the prompt when comint-use-prompt-regexp is non-nil because it
63 doesn't distinguish input from output. Check the field property
64 `output' for the case when comint-use-prompt-regexp is nil.
65 (Bug#19710)
66
67 2015-02-15 Jérémy Compostella <jeremy.compostella@gmail.com>
68
69 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
70 with PAGER=cat. (Bug#19870)
71
72 2015-02-13 Glenn Morris <rgm@gnu.org>
73
74 * textmodes/flyspell.el (flyspell-duplicate-distance):
75 Bump :version.
76
77 2015-02-13 Eli Zaretskii <eliz@gnu.org>
78
79 * textmodes/text-mode.el (text-mode-syntax-table): Make some
80 punctuation character behave as word-constituent, for more
81 compatibility with Unicode.
82
83 * simple.el (transient-mark-mode): Doc fix. (Bug#19841)
84
85 2015-02-12 Agustín Martín Domingo <agustin6martin@gmail.com>
86
87 Improve string search in `flyspell-word-search-*`. (Bug#16800)
88 * textmodes/flyspell.el (flyspell-duplicate-distance): Limit
89 default search distance for duplicated words to 40000.
90 (flyspell-word-search-backward, flyspell-word-search-forward):
91 Search as full word with defined casechars, not as substring.
92
93 2015-02-10 Juri Linkov <juri@linkov.net>
94
95 Better support for the case of typing RET on the prompt in comint.
96 * comint.el (comint-get-old-input-default): Go to the field end
97 when comint-use-prompt-regexp is nil.
98 (comint-line-beginning-position): Check if point is already
99 on the prompt before searching for the prompt when
100 comint-use-prompt-regexp is non-nil. (Bug#19710)
101
102 2015-02-08 Eli Zaretskii <eliz@gnu.org>
103
104 * frame.el (frame-notice-user-settings): Refresh the value of
105 frame parameters after calling tty-handle-reverse-video. Call
106 face-set-after-frame-default with the actual parameters, to avoid
107 resetting colors back to unspecified.
108 (set-background-color, set-foreground-color): Pass the foreground
109 and background colors to face-set-after-frame-default. (Bug#19802)
110
111 2015-02-06 Wolfgang Jenkner <wjenkner@inode.at>
112
113 * net/network-stream.el (network-stream-open-tls): Respect the
114 :end-of-capability setting.
115
116 2015-02-05 Juri Linkov <juri@linkov.net>
117
118 Revert the previous change of comint-line-beginning-position callers,
119 and modify comint-line-beginning-position instead.
120
121 * comint.el (comint-history-isearch-search)
122 (comint-history-isearch-message, comint-history-isearch-wrap):
123 Use comint-line-beginning-position instead of field-beginning.
124 (comint-send-input): Use either end-of-line or field-end
125 depending on comint-use-prompt-regexp.
126 (comint-line-beginning-position): Search backward
127 for comint-prompt-regexp if comint-use-prompt-regexp is non-nil.
128 Use field-beginning instead of line-beginning-position
129 if comint-use-prompt-regexp is nil. (Bug#19710)
130
131 2015-02-04 Robert Pluim <rpluim@gmail.com> (tiny change)
132
133 * calendar/todo-mode.el (todo-item-done): When done items are
134 hidden, restore point to its location prior to invoking this
135 command. (Bug#19727)
136
137 2015-02-04 Eli Zaretskii <eliz@gnu.org>
138
139 * textmodes/artist.el (artist-ellipse-compute-fill-info): Use
140 mapcar, not mapc, to create the other half of fill-info.
141 (Bug#19763)
142
143 2015-02-04 Nicolas Petton <nicolas@petton.fr>
144
145 * emacs-lisp/authors.el (authors-ignored-files)
146 (authors-renamed-files-alist): Additions.
147
148 2015-02-03 Michael Albinus <michael.albinus@gmx.de>
149
150 * net/tramp.el (tramp-ssh-controlmaster-options): Don't use a
151 tempfile for ControlPath. (Bug#19702)
152
153 2015-02-02 Michael Albinus <michael.albinus@gmx.de>
154
155 * net/tramp.el (tramp-ssh-controlmaster-options): Use "%C" for
156 ControlPath if possible. (Bug#19702)
157
158 2015-02-02 Glenn Morris <rgm@gnu.org>
159
160 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
161 (authors-valid-file-names, authors-renamed-files-alist): Additions.
162
163 2015-02-01 Alan Mackenzie <acm@muc.de>
164
165 CC Mode: Stop Font Lock forcing fontification from BOL. Fixes
166 debbugs#19669.
167
168 * progmodes/cc-mode.el (c-font-lock-init): Setq
169 font-lock-extend-region-functions to nil.
170
171 2015-01-31 Alan Mackenzie <acm@muc.de>
172
173 Handle "#" operator properly inside macro. Fix coding bug.
174
175 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP): On
176 finding a "#" which looks like the start of a macro, check it
177 isn't already inside a macro.
178
179 * progmodes/cc-engine.el (c-state-safe-place): Don't record a new
180 "safe" position into the list of them when this is beyond our
181 current position.
182
183 2015-01-31 Martin Rudalics <rudalics@gmx.at>
184
185 * menu-bar.el (menu-bar-non-minibuffer-window-p): Return nil when
186 the menu frame is dead. (Bug#19728)
187
188 2015-01-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
189
190 python.el: Handle tabs in python-indent-dedent-line.
191
192 * progmodes/python.el (python-indent-dedent-line): Fixes for
193 indentation with tabs. Thanks to <dale@codefu.org> (Bug#19730).
194
195 2015-01-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
196
197 * progmodes/python.el (python-indent-context): Respect user
198 indentation after comment.
199
200 2015-01-29 Tassilo Horn <tsdh@gnu.org>
201
202 * textmodes/reftex-vars.el (featurep): Conditionalize value of
203 reftex-label-regexps in order to stay compatible with XEmacs 21.5
204 which has no explicitly numbered groups in regexps (bug#19714).
205
206 2015-01-28 Tassilo Horn <tsdh@gnu.org>
207
208 * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
209 punctuation syntax since to allow bibtex fields with values such
210 as {Test 1) and 2)} (bug#19205, bug#19707).
211 (reftex--prepare-syntax-tables): New function.
212 (reftex-mode): Use it.
213
214 2015-01-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
215
216 python.el: New non-global state dependent indentation engine.
217 (Bug#18319, Bug#19595)
218
219 * progmodes/python.el (python-syntax-comment-or-string-p): Accept
220 PPSS as argument.
221 (python-syntax-closing-paren-p): New function.
222 (python-indent-current-level)
223 (python-indent-levels): Mark obsolete.
224 (python-indent-context): Return more context cases.
225 (python-indent--calculate-indentation)
226 (python-indent--calculate-levels): New functions.
227 (python-indent-calculate-levels): Use them.
228 (python-indent-calculate-indentation, python-indent-line):
229 (python-indent-line-function): Rewritten to use new API.
230 (python-indent-dedent-line): Simplify logic.
231 (python-indent-dedent-line-backspace): Use `unless`.
232 (python-indent-toggle-levels): Delete function.
233
234 2015-01-22 Wolfgang Jenkner <wjenkner@inode.at>
235
236 * calc/calc-units.el (math-units-in-expr-p)
237 (math-single-units-in-expr-p, math-find-compatible-unit-rec)
238 (math-extract-units): Handle the `neg' operator. (Bug#19582)
239 [Backport]
240
241 2015-01-21 Daniel Koning <dk@danielkoning.com> (tiny change)
242
243 * subr.el (posnp): Correct docstring of `posnp'.
244 (posn-col-row): Make it work with all mouse position objects.
245 * textmodes/artist.el (artist-mouse-draw-continously): Cancel
246 timers if an error occurs during continuous drawing. (Bug#6130)
247
248 2015-01-20 Eli Zaretskii <eliz@gnu.org>
249
250 * button.el (button-activate, push-button): Doc fix. (Bug#19628)
251
252 2015-01-16 Samer Masterson <samer@samertm.com> (tiny change)
253
254 * pcomplete.el (pcomplete-parse-arguments): Parse arguments
255 regardless of pcomplete-cycle-completions's value. (Bug#18950)
256
257 2015-01-13 Michael Albinus <michael.albinus@gmx.de>
258
259 * filenotify.el (file-notify-descriptors, file-notify-handle-event):
260 Adapt docstring.
261 (file-notify--descriptor): New defun.
262 (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
263 Adapt docstring. Handle multiple values for
264 `file-notify-descriptors' entries. (Bug#18880)
265
266 * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
267 `file-notify-descriptors', the implementation has been changed.
268
269 2015-01-13 Juri Linkov <juri@linkov.net>
270
271 * comint.el (comint-history-isearch-search)
272 (comint-history-isearch-wrap): Use field-beginning instead of
273 comint-line-beginning-position.
274 (comint-send-input): Go to the end of the field instead of the end
275 of the line to accept whole multi-line input.
276 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
277 (comint-history-isearch-message): Use field-beginning
278 instead of comint-line-beginning-position - that's more fixes for
279 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
280 (comint-history-isearch-message): Fix args of isearch-message-prefix.
281
282 [Backport]
283
284 2015-01-09 Eli Zaretskii <eliz@gnu.org>
285
286 * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
287 On MS-Windows, bind coding-system-for-read to the console output
288 codepage. (Bug#19458)
289
290 2015-01-08 Eli Zaretskii <eliz@gnu.org>
291
292 * simple.el (line-move-visual): When converting X pixel coordinate
293 to temporary-goal-column, adjust the value for right-to-left
294 screen lines. This fixes vertical-motion, next/prev-line, etc.
295
296 2015-01-06 Glenn Morris <rgm@gnu.org>
297
298 * progmodes/sh-script.el (sh-mode): Doc fix.
299 (sh-basic-indent-line): Handle electric newline. (Bug#18756)
300
301 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
302
303 * emacs-lisp/package.el (package-menu-mode): Use an extra column
304 for the "Version" column, to accomodate date-and-time-based versions.
305
306 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
307
308 Fix dired quoting bug with "Hit`N`Hide". Fixes Bug#19498.
309 * files.el (shell-quote-wildcard-pattern): Also quote "`".
310
311 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
312
313 Unbreak `mouse-action' property in text buttons.
314 * button.el (push-button): Fix regression from 2012-12-06.
315
316 2015-01-01 Eli Zaretskii <eliz@gnu.org>
317
318 * tool-bar.el (tool-bar-local-item)
319 (tool-bar-local-item-from-menu): Call force-mode-line-update to
320 make sure the tool-bar changes show on display.
321
322 2014-12-29 Michael Albinus <michael.albinus@gmx.de>
323
324 Sync with Tramp 2.2.11.
325
326 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
327 Make an alias for `default-toplevel-value' if it doesn't exist.
328
329 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
330 Use `tramp-compat-delete-directory'.
331
332 * net/trampver.el: Update release number.
333
334 2014-12-29 Filipp Gunbin <fgunbin@fastmail.fm>
335
336 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
337 for remote files. (Bug#19449)
338
339 2014-12-28 Eli Zaretskii <eliz@gnu.org>
340
341 * international/mule.el (define-coding-system): Fix typos in the
342 doc string.
343
344 2014-12-28 Kenichi Handa <handa@gnu.org>
345
346 * international/mule.el (define-coding-system): Improve the doc
347 string.
348
349 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
350
351 * progmodes/python.el (python-shell-buffer-substring): Handle
352 cornercase when region sent starts at point-min.
353
354 2014-12-27 Eli Zaretskii <eliz@gnu.org>
355
356 * language/misc-lang.el (composition-function-table): Add Syriac
357 characters and also ZWJ/ZWNJ. See
358 http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
359 for the details.
360
361 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
362
363 python.el: Fix message when sending region.
364
365 * progmodes/python.el (python-shell-send-region): Rename argument
366 send-main from nomain. Fix message.
367 (python-shell-send-buffer): Rename argument send-main from arg.
368
369 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
370
371 python.el: Cleanup temp files even with eval errors.
372
373 * progmodes/python.el (python-shell-send-file): Make file-name
374 mandatory. Fix temp file removal in the majority of cases.
375
376 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
377
378 python.el: Handle file encoding for shell.
379
380 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
381 (python-shell--save-temp-file): Write file with proper encoding.
382 (python-shell-buffer-substring): Add coding cookie for detected
383 encoding to generated content. Fix blank lines when removing
384 if-name-main block.
385 (python-shell-send-file): Handle file encoding.
386 (python-info-encoding-from-cookie)
387 (python-info-encoding): New functions.
388
389 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
390
391 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
392 Use `tramp-rsh-end-of-line', it ought to be more robust.
393
394 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
395
396 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
397 (bug#19397).
398
399 2014-12-23 Michael Albinus <michael.albinus@gmx.de>
400
401 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
402
403 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
404 as end-of-line delimeter for passwords, when running on MS Windows.
405
406 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
407
408 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
409 of indent-line-function (bug#19433).
410
411 2014-12-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
412
413 Fix line numbers on Python shell.
414 * progmodes/python.el (python-shell--save-temp-file): Do not
415 append coding cookie.
416 (python-shell-send-string): Generalize for
417 python-shell-send-region.
418 (python--use-fake-loc): Delete var.
419 (python-shell-buffer-substring): Cleanup fake-loc logic.
420 (python-shell-send-region): Remove fake-loc logic, simplify.
421
422 2014-12-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
423
424 * progmodes/python.el (python-indent-post-self-insert-function):
425 Make colon to re-indent only for dedenters, handling
426 multiline-statements gracefully.
427
428 2014-12-21 Michael Albinus <michael.albinus@gmx.de>
429
430 * net/tramp.el (tramp-handle-insert-file-contents):
431 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
432
433 2014-12-19 Michael Albinus <michael.albinus@gmx.de>
434
435 * net/tramp-sh.el (tramp-send-command-and-read): New optional
436 arg MARKER.
437 (tramp-get-remote-path): Use it.
438
439 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
440
441 * subr.el (redisplay-dont-pause): Mark as obsolete.
442
443 2014-12-17 Michael Albinus <michael.albinus@gmx.de>
444
445 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
446 (tramp-accept-process-output): Use nil as argument for
447 `accept-process-output', when there is a gateway prepended.
448
449 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
450 wrong debug buffer.
451 (tramp-gw-open-connection): Set process coding system 'binary.
452 (tramp-gw-open-network-stream): Handle HTTP error 403.
453
454 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
455 wrong debug buffer.
456 (tramp-maybe-open-connection): Set connection property "gateway".
457
458 2014-12-15 Stefan Monnier <monnier@iro.umontreal.ca>
459
460 * subr.el (sit-for): Tweak docstring (bug#19381).
461
462 2014-12-15 Dmitry Gutov <dgutov@yandex.ru>
463
464 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
465 stage to after `diff-index' (bug#19386).
466
467 2014-12-14 João Távora <joaotavora@gmail.com>
468
469 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
470 `electric-pair-mode' (bug#19356).
471
472 2014-12-12 Michael Albinus <michael.albinus@gmx.de>
473
474 * simple.el (password-word-equivalents): Add "passcode", used for
475 numeric secrets like PINs or RSA tokens.
476
477 2014-12-10 Michael Albinus <michael.albinus@gmx.de>
478
479 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
480 order to determine `tramp-own-remote-path'.
481
482 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
483
484 * progmodes/python.el (python-shell-parse-command):
485 Quote `python-shell-interpreter`. (Bug#19289)
486
487 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
488
489 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
490 of the whole pipe when indenting an opening keyword after a |.
491 Generalize this treatment to opening keywords like "while" (bug#18031).
492
493 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
494
495 * simple.el (newline): Place the hook buffer-locally,
496 to make sure it's first.
497
498 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
499 Fix handling of symbols with different syntax at beginning/end or with
500 symbol rather than word syntax.
501
502 2014-11-30 Eli Zaretskii <eliz@gnu.org>
503
504 * simple.el (line-move): If noninteractive, call line-move-1, not
505 forward-line, since the former is compatible with line-move-visual
506 both in terms of the column to which it moves and the return
507 value. (Bug#19211)
508
509 2014-11-27 Stephen Berman <stephen.berman@gmx.net>
510 Stefan Monnier <monnier@iro.umontreal.ca>
511
512 * outline.el (outline-move-subtree-down): Make sure we can move
513 forward to find the end of the subtree and the insertion point
514 (bug#19102).
515
516 2014-11-27 Leonard Randall <leonard.a.randall@gmail.com>
517
518 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
519 for comment lines non-greedy and stopping at newlines to fix stack
520 overflows with large files. [Backport]
521
522 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
523
524 * progmodes/python.el (python-shell-completion-setup-code):
525 Use __builtin__ module (or builtins in Python 3) and catch all errors
526 when importing readline and rlcompleter.
527
528 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
529
530 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
531 (todo-revert-buffer): New function.
532 (todo-modes-set-1): Use it as the buffer-local value of
533 revert-buffer-function.
534
535 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
536
537 * calendar/todo-mode.el (todo-mode): If called interactively, just
538 display a message saying to call todo-show to enter Todo mode
539 (Bug#19112).
540
541 2014-11-24 Dmitry Gutov <dgutov@yandex.ru>
542
543 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
544 (Bug#18579)
545
546 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
547 files. (Bug#18579)
548
549 2014-11-23 Michael Albinus <michael.albinus@gmx.de>
550
551 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
552 remote `buffer-file-name'.
553
554 2014-11-23 Leo Liu <sdl.web@gmail.com>
555
556 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
557
558 2014-11-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
559
560 Set PYTHONUNBUFFERED on shell startup.
561
562 * progmodes/python.el (python-shell-unbuffered): New var.
563 (python-shell-calculate-process-environment): Use it.
564
565 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
566
567 * net/tramp.el (tramp-action-password): Clean password on subsequent
568 attempts even if there was no wrong password indication. (Bug#19047)
569
570 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
571 fallback.
572 (tramp-open-connection-setup-interactive-shell): No need to check
573 for nil as `tramp-get-remote-locale' return value.
574
575 2014-11-21 Eli Zaretskii <eliz@gnu.org>
576
577 * vc/vc-git.el (vc-git-command, vc-git--call):
578 Bind coding-system-for-read and coding-system-for-write to
579 vc-git-commits-coding-system.
580 (vc-git-previous-revision): Use "~1" instead of "^", since the
581 latter is a special character for MS-Windows system shells.
582
583 2014-11-20 Michael Albinus <michael.albinus@gmx.de>
584
585 Improve XEmacs compatibility.
586
587 * net/tramp.el (tramp-autoload-file-name-handler):
588 Wrap `temporary-file-directory' by `symbol-value', it doesn't
589 exist in XEmacs.
590 (tramp-read-passwd): Don't use `with-timeout-suspend' and
591 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
592 (tramp-time-less-p, tramp-time-subtract): Remove functions.
593 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
594 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
595 * net/tramp-cache.el (tramp-get-file-property):
596 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
597 Use `time-less-p' and `time-subtract, respectively.
598
599 * net/tramp-adb.el (top): Do not require time-date.el.
600
601 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
602
603 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
604 Check, whether `utf-8' is a valid coding system.
605
606 2014-11-19 Eli Zaretskii <eliz@gnu.org>
607
608 * vc/vc.el (vc-retrieve-tag): Doc fix.
609
610 2014-11-17 Eli Zaretskii <eliz@gnu.org>
611
612 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
613 Don't assume --long is the default for "bzr log", always specify
614 it explicitly, in case the user defined an alias for 'log' that
615 uses some other format.
616
617 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
618
619 * progmodes/python.el (python-eldoc--get-doc-at-point):
620 Strip shell output before returning. (bug#18794)
621
622 2014-11-16 Dmitry Gutov <dgutov@yandex.ru>
623
624 Fix indentation before `!=' and after `+='. Originally reported
625 in https://github.com/mooz/js2-mode/issues/174.
626 * progmodes/js.el (js--indent-operator-re): Make assignments and
627 (in)equality operator a separate case.
628 (js--continued-expression-p): Escape the second `+' in the regexp.
629
630 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
631
632 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
633
634 2014-11-15 Andreas Schwab <schwab@linux-m68k.org>
635
636 * version.el (emacs-repository-get-version): Use git rev-parse
637 instead of git log.
638
639 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
640
641 * progmodes/python.el (python-indent-calculate-levels):
642 Fix indentation behavior multiline dedenter statement. (Bug#18432)
643
644 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
645
646 * progmodes/python.el (python-indent-region):
647 Use python-indent-line and skip special cases. (Bug#18843)
648
649 2014-11-15 Michael Albinus <michael.albinus@gmx.de>
650
651 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
652
653 2014-11-15 Peder O. Klingenberg <peder@klingenberg.no>
654
655 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
656 envelope-from when reporting through sendmail (bug#19054).
657
658 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
659
660 * progmodes/python.el (python-ffap-module-path):
661 Use `derived-mode-p' instead of equality test on `major-mode'.
662
663 2014-11-13 Ulrich Müller <ulm@gentoo.org>
664
665 * version.el (emacs-repository-get-version): Call `git log'
666 command with proper format argument (bug#19049).
667
668 2014-11-10 Glenn Morris <rgm@gnu.org>
669
670 * startup.el (command-line): Handle nil elements in load-path.
671
672 2014-11-08 Glenn Morris <rgm@gnu.org>
673
674 * emacs-lisp/bytecomp.el (byte-compile-report-error):
675 Allow the argument to be a string. Due to the vague doc,
676 it was already being used this way.
677
678 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
679
680 * net/tramp.el (tramp-check-cached-permissions): Include hop in
681 the constructed Tramp file name. (Bug#18943)
682
683 2014-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
684
685 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
686 (bug#18952).
687 (cua-set-mark, cua--pre-command-handler-1,cua--post-command-handler-1):
688 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
689
690 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
691
692 * files.el (file-name-non-special): Wrap the call of
693 `insert-file-contents' by `unwind-protect', in order to set the
694 buffer's file name anyway. (Bug#18891)
695
696 2014-11-07 Daiki Ueno <ueno@gnu.org>
697
698 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
699 (bug#18979). Reported by Hideki Saito.
700
701 2014-10-18 Alan Mackenzie <acm@muc.de>
702
703 Check that a "macro" found near point-min isn't a ## operator.
704 Fixes bug #18749. Backported from trunk, 2014-11-05.
705 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
706 (c-beginning-of-macro): Use the above new function.
707
708 2014-11-05 Alan Mackenzie <acm@muc.de>
709
710 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
711 * progmodes/cc-fonts.el (c-font-lock-declarations):
712 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
713 the buffer is sometimes narrowed to less than "limit" (e.g., in
714 the presence of macros).
715
716 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
717
718 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
719 only when message appeared in minibuffer. (Bug#18891)
720
721 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
722 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
723 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
724 case of errors.
725
726 2014-11-04 Eli Zaretskii <eliz@gnu.org>
727
728 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
729 returned by load-average.
730
731 2014-11-04 Michael Albinus <michael.albinus@gmx.de>
732
733 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
734 a local copy; setting `inhibit-file-name-handlers' proper might be
735 more performant. (Bug#18751)
736
737 2014-11-04 Glenn Morris <rgm@gnu.org>
738
739 * mail/emacsbug.el (report-emacs-bug): No longer include
740 recent-keys in the report. (Bug#18900)
741
742 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
743
744 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
745 local copy of FILENAME, when it is remote. (Bug#18751)
746
747 2014-11-02 Michael Albinus <michael.albinus@gmx.de>
748
749 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
750 an error when the command fails; the return code must indicate.
751 (tramp-adb-send-command-and-check): Fix docstring.
752
753 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
754
755 * net/tramp-cache.el (tramp-get-file-property)
756 (tramp-set-file-property): Check, that `tramp-cache-get-count-*'
757 and `tramp-cache-set-count-*' are bound. Otherwise, there might
758 be compiler warnings.
759
760 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
761 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
762
763 2014-11-01 Eli Zaretskii <eliz@gnu.org>
764
765 * progmodes/compile.el (compilation-mode): Turn off deferred
766 fontifications locally. (Bug#18856)
767
768 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
769
770 * net/tramp-sh.el (tramp-send-command): Fix the case where the
771 remote-echo connection property is non-nil (bug#18858).
772
773 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
774
775 Backport Tramp changes from trunk.
776
777 * net/tramp.el (tramp-methods): Tweak docstring.
778 (tramp-file-name-handler): Apply `cons' where appropriate.
779 (tramp-handle-file-accessible-directory-p): Check for
780 `file-readable-p' instead of `file-executable-p'.
781 (tramp-handle-shell-command): Use `display-buffer'. (Bug#18326)
782 (tramp-handle-unhandled-file-name-directory): Return "/".
783 (tramp-check-cached-permissions):
784 Use `tramp-compat-file-attributes'.
785 (tramp-call-process): Add new argument VEC. Adapt callees in all
786 tramp*.el files.
787
788 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
789 (tramp-adb-handle-write-region): Improve messages.
790 (tramp-adb-maybe-open-connection): Don't set
791 `tramp-current-*' variables.
792
793 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
794 Suppress debug messages.
795
796 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
797 (tramp-ftp-file-name-handler):
798
799 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
800 (tramp-gvfs-methods-mounttracker)
801 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
802 during initialization. (Bug#18774)
803 (tramp-gvfs-handle-delete-file): Flush file properties, not
804 directory properties.
805 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
806 reading "unix::mode".
807 (tramp-gvfs-handle-file-name-all-completions):
808 Use "-h" option for "gvfs-ls".
809 (tramp-gvfs-url-file-name): Apply `cons' where appropriate.
810 `user' and `localname' could be nil.
811 (tramp-gvfs-send-command): Simplify traces.
812
813 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
814 (vc-git-program, vc-hg-program): Declare.
815 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
816 (tramp-methods) <nc>: Add new method.
817 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
818 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
819 `tramp-login-args'.
820 (tramp-default-user-alist): Add "nc".
821 (top): Remove completion function for "sftp". Add completion
822 functions for "nc" and "psftp".
823 (tramp-sh-handle-set-visited-file-modtime):
824 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
825 (tramp-do-copy-or-rename-file-out-of-band):
826 Use cached "remote-copy-args" value, if available. (Bug#18199)
827 Tweak docstring. Implement support for "nc" method.
828 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
829 (tramp-remote-coding-commands, tramp-call-local-coding-command):
830 Tweak docstring.
831 (tramp-sh-handle-start-file-process): Expand `default-directory'.
832 (tramp-sh-handle-write-region): Tweak error message.
833 (tramp-sh-handle-vc-registered): Remove backends when the remote
834 binary does not exist.
835 (tramp-open-connection-setup-interactive-shell):
836 Prefer utf-8 coding. (Bug#17859)
837 (tramp-find-inline-encoding): Do not raise an error.
838 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
839 the "nc" case. Quote result also locally.
840 (tramp-get-remote-id): Check also for "gid".
841 (tramp-get-remote-python):
842
843 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
844 (tramp-smb-handle-set-file-acl): Use `start-process'.
845 (tramp-smb-handle-insert-directory): Use progress reporter.
846 (tramp-smb-handle-rename-file): Flush also file properties of
847 FILENAME.
848
849 * net/trampver.el: Update release number.
850
851 2014-11-01 Reuben Thomas <rrt@sc3d.org>
852
853 * net/tramp.el (tramp-handle-file-symlink-p):
854 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
855 about VMS, which we no longer support.
856
857 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
858
859 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
860 the global vc-handled-backends (bug#18535).
861
862 2014-11-01 Jérémy Compostella <jeremy.compostella@intel.com>
863 Michael Albinus <michael.albinus@gmx.de>
864
865 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
866 Reduce the amount of set environment variable commands.
867
868 2014-11-01 Paul Eggert <eggert@cs.ucla.edu>
869
870 * net/tramp-sh.el (tramp-get-remote-touch): Omit unnecessary call to
871 current-time.
872
873 2014-11-01 Emilio C. Lopes <eclig@gmx.net>
874
875 * net/tramp-sh.el (tramp-get-remote-python): Also search for
876 executables named "python2" or "python3".
877 (tramp-get-remote-uid-with-python): Use parentheses around
878 arguments to `print' to make it compatible with Python 3.
879 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
880
881 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
882
883 * simple.el (newline): Add assertions to try and help catch bug#18913.
884
885 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
886 (bug#18886).
887 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
888
889 2014-10-31 Eli Zaretskii <eliz@gnu.org>
890
891 * Makefile.in (repo-update): Fix a typo and slightly reword
892 commentary.
893
894 2014-10-31 Eric S. Raymond <esr@thyrsus.com>
895
896 * Makefile.in: Change some production names so they're neutral
897 about the repository type.
898
899 2014-10-30 Kim F. Storm <storm@cua.dk>
900
901 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
902 * delsel.el (delete-selection-save-to-register)
903 (delsel--replace-text-or-position): New vars.
904 (delete-active-region): Use them.
905 (delete-selection-repeat-replace-region): New command, moved from
906 cua-base.el.
907 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
908 (cua-repeat-replace-region): Move command to delsel.el.
909 (cua--init-keymaps): Update binding accordingly.
910 (cua-mode): Set delete-selection-save-to-register.
911
912 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
913
914 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
915 (c-lang-defconst):
916 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
917
918 2014-10-29 Eli Zaretskii <eliz@gnu.org>
919
920 * progmodes/compile.el (compilation-start):
921 If compilation-scroll-output is non-nil, don't force window-start of
922 the compilation buffer to be at beginning of buffer. (Bug#18874)
923
924 2014-10-23 Tassilo Horn <tsdh@gnu.org>
925
926 * doc-view.el (doc-view-open-text): View the document's plain text
927 in the current buffer instead of a new one.
928 (doc-view-toggle-display): Handle the case where the current
929 buffer contains the plain text contents of the document.
930 (doc-view-initiate-display): Don't switch to fallback mode if the
931 user wants to view the doc's plain text. [Backport]
932
933 2014-10-23 Eli Zaretskii <eliz@gnu.org>
934
935 * startup.el (fancy-about-text): Read the entire tutorial, not
936 just its first 256 bytes. (Bug#18760)
937
938 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
939
940 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
941 * emacs-lisp/cl-extra.el: Add missing provide.
942
943 2014-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
944
945 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
946 all args are copyable (bug#18767).
947 (=, <, >, <=, >=): Re-enable the optimization.
948
949 2014-10-20 Santiago Payà i Miralta <santiagopim@gmail.com>
950
951 * vc/vc-hg.el (vc-hg-log-graph): New var.
952 (vc-hg-print-log): Use it.
953 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
954 graph output (bug#17515).
955
956 2014-10-20 Juri Linkov <juri@jurta.org>
957
958 * vc/diff-mode.el (diff-refine-changed): Rename from
959 `diff-refine-change' for consistency with `diff-changed'.
960 (diff-refine-change): Add obsolete face alias. (Bug#10181)
961
962 * vc/smerge-mode.el (smerge-refined-changed): Rename from
963 `smerge-refined-change'.
964 (smerge-refined-change): Add obsolete face alias.
965
966 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
967
968 * subr.el (call-process-shell-command, process-file-shell-command):
969 Make the `args' obsolete (bug#18409).
970 (start-process-shell-command, start-file-process-shell-command):
971 Use `declare'.
972
973 2014-10-20 Juanma Barranquero <lekktu@gmail.com>
974
975 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
976
977 2014-10-20 Glenn Morris <rgm@gnu.org>
978
979 * dired.el (dired-read-regexp): Make obsolete.
980 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
981 (dired-flag-files-regexp):
982 * dired-aux.el (dired-mark-read-regexp):
983 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
984
985 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
986
987 * progmodes/python.el (inferior-python-mode): Use add-hook.
988
989 * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
990
991 2014-10-20 Glenn Morris <rgm@gnu.org>
992
993 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
994 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
995 * emulation/ws-mode.el: Move to obsolete/. [Backport]
996
997 2014-10-20 Glenn Morris <rgm@gnu.org>
998
999 * cus-start.el (history-length): Bump :version. [Backport]
1000
1001 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
1002
1003 * obsolete/cc-compat.el: Make obsolete (bug#18561).
1004
1005 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
1006
1007 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
1008 case (bug#18767).
1009
1010 2014-10-20 Glenn Morris <rgm@gnu.org>
1011
1012 * Version 24.4 released.
1013
1014 2014-10-15 Alan Mackenzie <acm@muc.de>
1015
1016 * cus-edit.el (custom-command-apply): Specify the return value in
1017 the doc string.
1018 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
1019 custom-command-apply has returned non-nil.
1020
1021 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
1022
1023 * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
1024 Backported (bug#18688).
1025
1026 2014-10-14 Eli Zaretskii <eliz@gnu.org>
1027
1028 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
1029 Force bidi-paragraph-direction to 'left-to-right'. This fixes
1030 buffer-menu display when the first buffer happens to start with
1031 R2L letter.
1032
1033 2014-10-13 Glenn Morris <rgm@gnu.org>
1034
1035 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
1036 (authors-obsolete-files-regexps): Additions.
1037 (authors-no-scan-regexps): New constant.
1038 (authors-no-scan-file-p): New function.
1039 (authors): Respect authors-no-scan-file-p.
1040
1041 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1042
1043 Fix import completion. (Bug#18582)
1044 * progmodes/python.el (python-shell-completion-get-completions):
1045 Fix import case regexp.
1046
1047 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1048
1049 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
1050 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
1051 * progmodes/prolog.el (prolog-electric--underscore): Same.
1052
1053 2014-10-09 Glenn Morris <rgm@gnu.org>
1054
1055 * frame.el (display-monitor-attributes-list): Doc tweaks.
1056
1057 2014-10-08 Eli Zaretskii <eliz@gnu.org>
1058
1059 * faces.el (display-grayscale-p): Mention in the doc string that
1060 the argument can be either a display name or a frame.
1061
1062 * frame.el (display-pixel-height, display-pixel-width)
1063 (display-mm-height, display-mm-width, display-backing-store)
1064 (display-save-under, display-planes, display-color-cells)
1065 (display-visual-class, display-monitor-attributes-list)
1066 (display-screens): Mention in the doc string that the argument can
1067 be either a display name or a frame. Improve the docs of the
1068 monitor attributes. (Bug#18636)
1069
1070 2014-10-06 Martin Rudalics <rudalics@gmx.at>
1071
1072 * term.el (term-window-width): Subtract 1 from the width when
1073 any fringe has zero width, not just the right fringe. (Bug#18601)
1074
1075 2014-10-05 Leo Liu <sdl.web@gmail.com>
1076
1077 * imenu.el (imenu-default-goto-function): Fix typo.
1078
1079 2014-10-04 Glenn Morris <rgm@gnu.org>
1080
1081 * frame.el (frame-monitor-attributes)
1082 (display-monitor-attributes-list): Doc fixes.
1083
1084 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
1085
1086 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
1087 (vc-svn-ignore): Use it. (Bug#18619)
1088
1089 2014-10-03 Martin Rudalics <rudalics@gmx.at>
1090
1091 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1092 In doc-string mention need to set `frame-resize-pixelwise'.
1093
1094 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1095
1096 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
1097 similarly to Rogers's 2010-06-16 change for the remote case
1098 (bug#18605).
1099
1100 2014-10-01 Glenn Morris <rgm@gnu.org>
1101
1102 * emacs-lisp/package.el (package-import-keyring):
1103 Create gnupg directory private. (Bug#17625#155)
1104
1105 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1106
1107 * progmodes/python.el (python-shell-completion-get-completions):
1108 Use python-shell--prompt-calculated-input-regexp from the
1109 process buffer (bug#18582).
1110 Don't assume that `line' comes from the process buffer.
1111
1112 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
1113
1114 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
1115 (bug#18462).
1116
1117 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1118
1119 * emacs-lisp/package.el (package-check-signature): Default to nil if
1120 GPG is not available.
1121 (package-refresh-contents): Don't mess with the keyring if we won't
1122 check the signatures anyway.
1123
1124 2014-09-18 Kan-Ru Chen <kanru@kanru.info>
1125
1126 * window.el (fit-window-to-buffer): When counting buffer width,
1127 count the whole visible buffer. Correctly convert the body-height
1128 to pixel size for window-text-pixel-size (Bug#18498).
1129
1130 2014-09-14 Glenn Morris <rgm@gnu.org>
1131
1132 * image.el (image-multi-frame-p): Fix thinko - do not force
1133 a delay if none was specified. (Bug#18334)
1134
1135 2014-09-12 Kan-Ru Chen <kanru@kanru.info>
1136
1137 * window.el (fit-window-to-buffer): Doc fix.
1138
1139 2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change)
1140
1141 * desktop.el (desktop-create-buffer): Check that buffers are still live
1142 before burying them (bug#18373).
1143
1144 2014-09-09 Glenn Morris <rgm@gnu.org>
1145
1146 * calendar/diary-lib.el (diary-list-entries):
1147 Restore 24.3 display behavior. (Bug#18381)
1148
1149 2014-09-09 Eli Zaretskii <eliz@gnu.org>
1150
1151 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
1152 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
1153 discrepancy between window-pixel-edges and mouse events, and
1154 avoids moving mode line up when the mouse click is on the modeline
1155 and no drag is attempted.
1156
1157 2014-09-08 Glenn Morris <rgm@gnu.org>
1158
1159 * calendar/calendar.el (calendar-basic-setup):
1160 Avoid clobbering calendar with diary. (Bug#18381)
1161
1162 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1163
1164 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
1165
1166 2014-09-04 Lars Ljung <lars@matholka.se> (tiny change)
1167
1168 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
1169 as well (bug#18400).
1170
1171 2014-09-04 Eli Zaretskii <eliz@gnu.org>
1172
1173 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
1174
1175 2014-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
1176
1177 * emacs-lisp/package.el (package-generate-description-file):
1178 Properly quote the arguments (bug#18332). Change second arg.
1179 (package--alist-to-plist-args): Rename from package--alist-to-plist and
1180 quote the elements.
1181 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
1182 the *-pkg.el file. Adjust to new calling convention of
1183 package-generate-description-file.
1184
1185 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
1186 (gud-gdb-completions): Remove obsolete workaround.
1187
1188 2014-09-02 Eli Zaretskii <eliz@gnu.org>
1189
1190 * subr.el (posn-col-row): Revert the change from commit
1191 2010-11-13T21:07:58Z!eliz@gnu.org, which
1192 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
1193 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
1194 introduced an off-by-one error in the reported row when there is a
1195 header line. (Bug#18384)
1196
1197 2014-09-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
1198
1199 * progmodes/python.el (python-indent-post-self-insert-function):
1200 Avoid electric colon at beginning-of-defun. (Bug#18228)
1201
1202 2014-09-01 Glenn Morris <rgm@gnu.org>
1203
1204 * tutorial.el (tutorial--display-changes):
1205 Fix 2014-07-29 change. (Bug#18382)
1206
1207 2014-08-29 Ken Brown <kbrown@cornell.edu>
1208
1209 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
1210 the Cygwin-w32 build. (Bug#18347)
1211
1212 2014-08-28 Glenn Morris <rgm@gnu.org>
1213
1214 * tar-mode.el (tar--extract, tar-extract):
1215 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
1216
1217 2014-08-27 Michael Albinus <michael.albinus@gmx.de>
1218
1219 * emacs-lisp/authors.el (authors-aliases): Addition.
1220
1221 * net/tramp-adb.el: Spell author name correctly.
1222
1223 2014-08-27 João Távora <joaotavora@gmail.com>
1224
1225 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
1226 use url-expand-file-name. (Bug#18310)
1227
1228 2014-08-25 Glenn Morris <rgm@gnu.org>
1229
1230 * emulation/cua-rect.el (cua--highlight-rectangle):
1231 Avoid error at point-min. (Bug#18309)
1232
1233 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
1234
1235 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
1236 executable-find (bug#18244).
1237
1238 * simple.el (self-insert-uses-region-functions): Defvar.
1239
1240 2014-08-13 Leo Liu <sdl.web@gmail.com>
1241
1242 * speedbar.el (speedbar-generic-list-tag-p): Allow special
1243 elements from imenu.
1244
1245 2014-08-11 Glenn Morris <rgm@gnu.org>
1246
1247 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
1248
1249 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
1250 chose coding system for writing before backing up, since it causes
1251 a more serious problem than the one it solves. (Closes Bug#18141,
1252 reopens Bug#13522.)
1253
1254 2014-08-10 Martin Rudalics <rudalics@gmx.at>
1255
1256 * window.el (window-total-size): Make doc-string more
1257 self-contained.
1258
1259 2014-08-09 Martin Rudalics <rudalics@gmx.at>
1260
1261 * window.el (display-buffer-below-selected): Restore original
1262 behavior if buffer is already displayed in the window below the
1263 selected one (Bug#18181).
1264
1265 2014-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1266
1267 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
1268 event (bug#18212).
1269
1270 2014-08-08 Eli Zaretskii <eliz@gnu.org>
1271
1272 * info.el (info): Doc fix.
1273
1274 2014-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1275
1276 * info.el (Info-mode-map): Override a global down-mouse-2 binding
1277 (bug#18212).
1278
1279 2014-08-05 Eli Zaretskii <eliz@gnu.org>
1280
1281 * simple.el (default-line-height): A floating-point value of
1282 line-spacing means a fraction of the default frame font's height,
1283 not of the font currently used by the 'default' face.
1284 Truncate the pixel value, like the display engine does.
1285 (window-screen-lines): Use window-inside-pixel-edges for
1286 determining the window height in pixels. (Bug#18195)
1287
1288 2014-07-29 Eli Zaretskii <eliz@gnu.org>
1289
1290 * tutorial.el (tutorial--display-changes): Accept punctuation
1291 characters before the key binding. (Bug#18146)
1292
1293 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
1294
1295 * doc-view.el (doc-view-open-text): Don't require that the
1296 document is saved in a file (e.g., email attachment).
1297
1298 2014-07-27 Eli Zaretskii <eliz@gnu.org>
1299
1300 * window.el (window--pixel-to-total): Use FRAME's root window, not
1301 that of the selected frame. (Bug#18112, Bug#16674)
1302
1303 2014-07-27 Andreas Schwab <schwab@linux-m68k.org>
1304
1305 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
1306 (Bug#18117)
1307
1308 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1309
1310 * progmodes/python.el (inferior-python-mode): Doc fix.
1311
1312 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
1313
1314 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
1315 not a character, ignore it instead of raising an error.
1316
1317 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
1318
1319 * calendar/todo-mode.el: Fix handling of marked items and make
1320 minor code improvements.
1321 (todo-edit-item): If there are marked items, ensure user can only
1322 invoke editing commands that work with marked items.
1323 (todo-edit-item--text): When there are marked items, make it a
1324 noop if invoked with point not on an item; otherwise, ensure it
1325 applies only to item at point.
1326 (todo-item-undone): If there are marked not-done items, return
1327 point to its original position before signaling user error.
1328 (todo--user-error-if-marked-done-item): New function.
1329 (todo-edit-item--header, todo-edit-item--diary-inclusion)
1330 (todo-item-done): Use it.
1331
1332 2014-07-25 Glenn Morris <rgm@gnu.org>
1333
1334 * files.el (toggle-read-only): Re-add basic doc-string.
1335 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
1336
1337 * progmodes/prolog.el (prolog-mode-keybindings-edit):
1338 Replace missing `switch-to-prolog' with `run-prolog'.
1339 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
1340
1341 2014-07-22 Stephen Berman <stephen.berman@gmx.net>
1342
1343 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
1344 of file-wide setting when changing category-wide setting.
1345
1346 2014-07-21 Glenn Morris <rgm@gnu.org>
1347
1348 * progmodes/hideif.el (hide-ifdef-mode-submap):
1349 Also substitute read-only-mode.
1350 * bindings.el (mode-line-toggle-read-only):
1351 * bs.el (bs-toggle-readonly):
1352 * buff-menu.el (Buffer-menu-toggle-read-only):
1353 * dired.el (dired-toggle-read-only):
1354 * files.el (view-read-only, find-file-read-only)
1355 (find-file-read-only-other-window)
1356 (find-file-read-only-other-frame):
1357 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
1358 Doc fixes re toggle-read-only.
1359
1360 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1361
1362 * progmodes/python.el: Add comment about pipe buffering and
1363 solutions for missing/delayed output in inferior Python shells.
1364 (Bug#17304)
1365
1366 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1367
1368 * progmodes/python.el (python-mode): Don't set
1369 mode-require-final-newline. (Bug#17990)
1370
1371 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1372
1373 Make python.el work with IPython automatically. (Bug#15510)
1374 * progmodes/python.el:
1375 (python-shell-completion-setup-code): New value supporting iPython.
1376 (python-shell-completion-string-code): New value supporting iPython.
1377 (python-shell-completion-get-completions): Use them.
1378 (python-shell-completion-module-string-code): Make obsolete.
1379 (python-shell-prompt-input-regexps)
1380 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
1381 (python-shell-output-filter): Fix comment typo.
1382
1383 2014-07-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
1384
1385 Fix Python shell prompts detection for remote hosts.
1386 * progmodes/python.el (python-shell-prompt-detect):
1387 Replace call-process with process-file and make it more robust.
1388
1389 2014-07-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1390
1391 Autodetect Python shell prompts. (Bug#17370)
1392 * progmodes/python.el:
1393 (python-shell-interpreter-interactive-arg)
1394 (python-shell-prompt-detect-enabled)
1395 (python-shell-prompt-detect-failure-warning)
1396 (python-shell-prompt-input-regexps)
1397 (python-shell-prompt-output-regexps): New vars.
1398 (python-shell-prompt-calculated-input-regexp)
1399 (python-shell-prompt-calculated-output-regexp): New vars.
1400 (python-shell-get-process-name)
1401 (python-shell-internal-get-process-name)
1402 (python-shell-output-filter)
1403 (python-shell-completion-get-completions): Use them.
1404 (python-shell-prompt-detect)
1405 (python-shell-prompt-validate-regexps): New functions.
1406 (python-shell-prompt-set-calculated-regexps): New function.
1407 (inferior-python-mode): Use it. Also honor overridden
1408 python-shell-interpreter and python-shell-interpreter-args.
1409 (python-shell-make-comint): Honor overridden
1410 python-shell-interpreter and python-shell-interpreter-args.
1411 (python-shell-get-or-create-process): Make it testable by allowing
1412 to call run-python non-interactively.
1413 (python-util-valid-regexp-p): New function.
1414 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
1415 (python-shell-prompt-output-regexp)
1416 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
1417
1418 2014-07-16 Glenn Morris <rgm@gnu.org>
1419
1420 * desktop.el (after-init-hook): Disable startup frame restoration
1421 in non-graphical situations. (Bug#17693)
1422
1423 2014-07-14 Glenn Morris <rgm@gnu.org>
1424
1425 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
1426 if it was "empty", or used for a different set of files. (Bug#17884)
1427
1428 2014-07-13 Eli Zaretskii <eliz@gnu.org>
1429
1430 * bindings.el (mode-line-remote): If default-directory is not a
1431 string, don't call file-remote-p on it; instead state in the
1432 help-echo that it is nil. (Bug#17986)
1433
1434 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
1435
1436 Fix bug: C-x v v discarded existing log message (Bug#17884).
1437 * vc/vc-dispatcher.el (vc-log-edit):
1438 Don't clobber an already-existing log message.
1439
1440 2014-07-10 Glenn Morris <rgm@gnu.org>
1441
1442 * vc/log-edit.el (log-edit-changelog-entries):
1443 Check for a visited-but-never-saved ChangeLog.
1444
1445 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1446
1447 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
1448 a non-existing file (bug#17970).
1449
1450 * faces.el (face-name): Undo last change.
1451 (x-resolve-font-name): Don't call face-name (bug#17956).
1452
1453 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
1454
1455 Fix dedenters and electric colon handling. (Bug#15163)
1456
1457 * progmodes/python.el
1458 (python-rx-constituents): Add dedenter and block-ender.
1459 (python-indent-dedenters, python-indent-block-enders): Delete.
1460 (python-indent-context): Return new case for dedenter-statement.
1461 (python-indent-calculate-indentation): Handle new case.
1462 (python-indent-calculate-levels): Fix levels calculation for
1463 dedenter statements.
1464 (python-indent-post-self-insert-function): Fix colon handling.
1465 (python-info-dedenter-opening-block-message): New function.
1466 (python-indent-line): Use it.
1467 (python-info-closing-block)
1468 (python-info-closing-block-message): Remove.
1469 (python-info-dedenter-opening-block-position)
1470 (python-info-dedenter-opening-block-positions)
1471 (python-info-dedenter-statement-p): New functions.
1472
1473 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1474
1475 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
1476 the middle of a line (bug#17896).
1477
1478 2014-07-08 Juri Linkov <juri@jurta.org>
1479
1480 * startup.el (command-line): Append displaying the warning about
1481 the errors in the init file to the end of `after-init-hook'.
1482 (Bug#17927)
1483
1484 2014-07-08 Juri Linkov <juri@jurta.org>
1485
1486 * faces.el (face-name): Return input arg `face' as is
1487 when it's not a symbol.
1488 (x-resolve-font-name): Don't check if the face is a symbol.
1489 (Bug#17956)
1490
1491 2014-07-08 Juri Linkov <juri@jurta.org>
1492
1493 * facemenu.el (list-colors-print): In help-echo format use %.2f
1494 instead of %d because now HSV values are floating-point components
1495 between 0.0 and 1.0.
1496
1497 2014-07-06 Glenn Morris <rgm@gnu.org>
1498
1499 * emulation/cua-rect.el (cua--activate-rectangle):
1500 Avoid setting cua--rectangle to nil. (Bug#17877)
1501
1502 2014-07-06 Stephen Berman <stephen.berman@gmx.net>
1503
1504 * calendar/todo-mode.el: Fix wrong-type-argument error when
1505 marking multiple consecutive items.
1506 (todo-toggle-mark-item): Don't try to mark the empty lines at the
1507 end of the todo and done items sections. Note in doc string that
1508 items marked by passing a numeric prefix argument can include the
1509 last todo and first done items.
1510 (todo-mark-category): Don't try to mark the empty line between the
1511 todo and done items sections.
1512
1513 2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1514
1515 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
1516 proper Lisp quoting (bug#17934).
1517
1518 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
1519 require-final-newline since prog-mode already took care of it (bug#17947).
1520
1521 2014-07-04 Stephen Berman <stephen.berman@gmx.net>
1522
1523 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
1524 refer to the Todo mode Info manual. Update the comment on
1525 requiring cl-lib.
1526 (todo-find-filtered-items-file): Add todo-prefix overlays.
1527 (todo-filter-items): Reorder a let-bound variable to avoid a
1528 wrong-type-argument error on canceling the file choice dialog.
1529
1530 2014-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1531
1532 * progmodes/octave.el (inferior-octave-mode):
1533 Set comint-input-ring-size to a number (bug#17912).
1534
1535 2014-07-03 Juri Linkov <juri@jurta.org>
1536
1537 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
1538 and `isearch-mode' associated with nil. (Bug#17849)
1539
1540 2014-07-02 Juri Linkov <juri@jurta.org>
1541
1542 * desktop.el (desktop-save): Rename arg `auto-save' to
1543 `only-if-changed'. Doc fix. (Bug#17873)
1544
1545 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1546
1547 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
1548 Use insert-for-yank (bug#17271).
1549
1550 2014-07-02 Leo Liu <sdl.web@gmail.com>
1551
1552 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
1553 Support lexical-binding.
1554
1555 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1556
1557 * vc/log-edit.el (log-edit-goto-eoh): New function.
1558 (log-edit--match-first-line): Use it (bug#17861).
1559
1560 2014-07-01 Glenn Morris <rgm@gnu.org>
1561
1562 * vc/log-edit.el (log-edit-hook): Add missing :version.
1563
1564 2014-07-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
1565
1566 * progmodes/python.el (python-indent-post-self-insert-function):
1567 Enhancements to electric indentation behavior inside
1568 parens. (Bug#17658)
1569
1570 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1571
1572 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
1573 buffer-invisibility-spec (bug#17867).
1574
1575 2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
1576
1577 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
1578 pass "-a".
1579
1580 2014-06-29 Glenn Morris <rgm@gnu.org>
1581
1582 * cus-edit.el (help):
1583 * finder.el (finder-known-keywords):
1584 * help.el (help-for-help-internal):
1585 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
1586 (ediff-redraw-registry-buffer):
1587 * vc/ediff-ptch.el (ediff-patch-file-internal):
1588 Doc fixes re "online" help. (Bug#17803)
1589
1590 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
1591 (idlwave-mode): Doc URL update.
1592
1593 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
1594
1595 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
1596 account for file-wide setting of todo-top-priorities-overrides.
1597 Make code a bit cleaner.
1598
1599 2014-06-27 Leo Liu <sdl.web@gmail.com>
1600
1601 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
1602
1603 2014-06-27 Glenn Morris <rgm@gnu.org>
1604
1605 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
1606
1607 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
1608
1609 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
1610 category-wide setting of todo-top-priorities-overrides, check for
1611 a file-wide setting and fontify accordingly.
1612
1613 2014-06-26 Glenn Morris <rgm@gnu.org>
1614
1615 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
1616
1617 2014-06-26 Daiki Ueno <ueno@gnu.org>
1618
1619 * emacs-lisp/package.el (package--check-signature):
1620 If package-check-signature is allow-unsigned, don't signal error when
1621 we can't verify signature because of missing public key
1622 (backport for bug#17625).
1623
1624 2014-06-26 Glenn Morris <rgm@gnu.org>
1625
1626 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
1627 Remove outdated declaration.
1628
1629 * emacs-lisp/authors.el (authors-valid-file-names)
1630 (authors-renamed-files-alist): Additions.
1631
1632 2014-06-25 Leo Liu <sdl.web@gmail.com>
1633
1634 * textmodes/picture.el (picture-set-tab-stops):
1635 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
1636 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
1637
1638 * progmodes/asm-mode.el (asm-calculate-indentation):
1639 Use indent-next-tab-stop.
1640
1641 * indent.el (indent-accumulate-tab-stops): New function.
1642
1643 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1644
1645 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
1646 (package-desc-status): Obey it.
1647
1648 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
1649
1650 * calendar/todo-mode.el: Fix two bugs.
1651 (todo-insert-item--basic): If user cancels item insertion to
1652 another category before setting priority, show original category
1653 whether it is in the same or a different file.
1654 (todo-set-item-priority): After selecting category, instead of
1655 moving point to top, which extends an active region, restore it.
1656
1657 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1658
1659 * help-fns.el (describe-function-1): Check file-name is a string before
1660 calling help-fns--autoloaded-p (bug#17564).
1661
1662 2014-06-24 Juri Linkov <juri@jurta.org>
1663
1664 * desktop.el (desktop-auto-save-enable)
1665 (desktop-auto-save-disable): New functions.
1666 (desktop-save-mode, desktop-auto-save-timeout): Use them.
1667 (desktop-read): Disable the autosave before loading the desktop,
1668 and enable afterwards. (Bug#17351)
1669
1670 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
1671
1672 Fix some indentation problem with \; and pipes (bug#17842).
1673 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1674 (sh-smie--default-forward-token, sh-smie--default-backward-token):
1675 New functions.
1676 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1677 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1678 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1679
1680 2014-06-24 Eli Zaretskii <eliz@gnu.org>
1681
1682 * international/fontset.el (script-representative-chars):
1683 Add representative characters for scripts added in Unicode 7.0.
1684 (otf-script-alist): Synchronize with the latest registry of OTF
1685 script tags.
1686
1687 * international/characters.el (char-script-table): Update for
1688 scripts added and codepoint ranges changed in Unicode 7.0.
1689
1690 2014-06-23 Leo Liu <sdl.web@gmail.com>
1691
1692 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
1693 tab-stop-list to nil. (Bug#16381)
1694
1695 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1696 (indent-rigidly-left-to-tab-stop)
1697 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1698 (move-to-tab-stop): Change callers.
1699
1700 2014-06-22 Eli Zaretskii <eliz@gnu.org>
1701
1702 * skeleton.el (skeleton-insert): Yet another fix of the doc string
1703 wrt behavior of \n as the first/last element of a skeleton.
1704
1705 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
1706
1707 * net/tramp-adb.el (tramp-adb-handle-process-file):
1708 * net/tramp-sh.el (tramp-sh-handle-process-file):
1709 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1710 the output buffer when DISPLAY is non-nil. (Bug#17815)
1711
1712 2014-06-21 Glenn Morris <rgm@gnu.org>
1713
1714 * play/landmark.el (landmark-move-down, landmark-move-up):
1715 Fix 2007-10-20 change - preserve horizontal position.
1716
1717 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1718
1719 Fix completion retrieval parsing (bug#17209).
1720 * progmodes/python.el (python-mode):
1721 (python-util-strip-string): New function.
1722 (python-shell-completion-get-completions): Use it.
1723
1724 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1725
1726 * skeleton.el (skeleton-insert): Fix last change.
1727
1728 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1729
1730 Enhancements for outline integration (bug#17796).
1731 * progmodes/python.el (python-mode): Properly set
1732 outline-heading-end-regexp so that comments after colons for
1733 defuns are supported.
1734
1735 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1736
1737 * skeleton.el (skeleton-insert): Doc fix.
1738
1739 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1740
1741 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1742 (smie-config-guess): Use smie-config-local so the rules are obeyed
1743 (bug#17818).
1744
1745 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1746 since it's already done inside the loop (bug#17819).
1747
1748 2014-06-20 Martin Rudalics <rudalics@gmx.at>
1749
1750 * mouse.el (mouse-drag-line): Re-remove code initially removed
1751 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1752 (Bug#17819).
1753
1754 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1755
1756 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1757 align with the surrounding parent (bug#17721).
1758
1759 2014-06-20 Eli Zaretskii <eliz@gnu.org>
1760
1761 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1762 locally to nil.
1763 (texinfo-insert-block, texinfo-insert-@end)
1764 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1765 local setting of skeleton-end-newline by adding an explicit \n to
1766 the skeletons where appropriate. (Bug#17801)
1767
1768 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1769
1770 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1771 (smie-indent--hanging-p): Use it.
1772 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1773
1774 2014-06-20 Leo Liu <sdl.web@gmail.com>
1775
1776 * simple.el (read-quoted-char): Don't let help chars pop up help
1777 buffer. (Bug#16617)
1778
1779 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
1780
1781 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1782 for | (bug#17621).
1783
1784 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1785
1786 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
1787 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
1788 burping.
1789
1790 2014-06-18 Eli Zaretskii <eliz@gnu.org>
1791
1792 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1793 and later. (Bug#17790)
1794
1795 2014-06-18 Juri Linkov <juri@jurta.org>
1796
1797 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1798 to `soft'. (Bug#17554)
1799
1800 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1801
1802 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1803 (bug#17737).
1804
1805 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
1806
1807 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1808 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
1809
1810 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
1811
1812 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1813 `unread-command-events'.
1814
1815 2014-06-14 Glenn Morris <rgm@gnu.org>
1816
1817 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
1818 Replace delete-duplicates and mapcan by cl- versions throughout.
1819 And cl-macroexpand-all by macroexpand-all.
1820 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1821
1822 2014-06-14 Eli Zaretskii <eliz@gnu.org>
1823
1824 * subr.el (posn-col-row): Doc fix. (Bug#17768)
1825
1826 2014-06-14 Juri Linkov <juri@jurta.org>
1827
1828 * bindings.el: Put `ascii-character' property on keypad keys
1829 mapped to characters. (Bug#17759)
1830
1831 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1832
1833 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1834 bumping forward into a closing paren (bug#17761).
1835
1836 * term/xterm.el (xterm--version-handler): Work around for OSX
1837 Terminal.app (bug#17607).
1838
1839 2014-06-08 Glenn Morris <rgm@gnu.org>
1840
1841 * startup.el (initial-buffer-choice): Doc fix.
1842 Reset :version (adding an option does not merit a :version bump).
1843
1844 * bookmark.el (bookmark-load):
1845 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1846
1847 2014-06-06 Juri Linkov <juri@jurta.org>
1848
1849 * desktop.el: Activate auto-saving on window configuration changes.
1850 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1851 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
1852 (desktop-auto-save-set-timer): Change REPEAT arg of
1853 `run-with-idle-timer' from t to nil.
1854 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1855
1856 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
1857
1858 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1859 vc-hg-command (bug#17570).
1860
1861 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1862
1863 * international/mule-cmds.el (ucs-names): Add special entry for BEL
1864 (bug#17702).
1865
1866 2014-06-06 Glenn Morris <rgm@gnu.org>
1867
1868 * startup.el (window-setup-hook): Doc fix.
1869
1870 2014-06-05 Glenn Morris <rgm@gnu.org>
1871
1872 * emacs-lisp/package.el (package-check-signature)
1873 (package-unsigned-archives): Doc fixes.
1874
1875 2014-06-03 Martin Rudalics <rudalics@gmx.at>
1876
1877 * window.el (display-buffer-use-some-window): Don't make window
1878 used smaller than it was before (Bug#17671).
1879
1880 2014-06-03 Eli Zaretskii <eliz@gnu.org>
1881
1882 * menu-bar.el (menu-bar-open): Fix last change: use the PC
1883 'redisplay' instead of '(sit-for 0)'.
1884
1885 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
1886
1887 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
1888 regexp. (Bug#17653)
1889
1890 2014-06-03 Glenn Morris <rgm@gnu.org>
1891
1892 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1893
1894 2014-06-02 Eli Zaretskii <eliz@gnu.org>
1895
1896 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1897
1898 2014-06-01 Eli Zaretskii <eliz@gnu.org>
1899
1900 * simple.el (keyboard-quit): Force update of mode lines, to remove
1901 the "Def" indicator, if we were defining a macro. (Bug#17615)
1902
1903 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1904
1905 * minibuffer.el (minibuffer-force-complete-and-exit):
1906 Obey minibuffer-default (bug#17545).
1907
1908 * progmodes/js.el (js-indent-line): Don't mix columns and chars
1909 (bug#17619).
1910
1911 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1912
1913 * subr.el (set-transient-map): Don't wait for some "nested"
1914 transient-map to finish if we're only supposed to be active for
1915 the next command (bug#17642).
1916
1917 2014-05-31 Leo Liu <sdl.web@gmail.com>
1918
1919 * emacs-lisp/gv.el (window-buffer, window-display-table)
1920 (window-dedicated-p, window-hscroll, window-point, window-start):
1921 Fix gv-expander. (Bug#17630)
1922
1923 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1924
1925 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1926 clicks (bug#17633).
1927
1928 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1929 for the single comma, since ", " is *very* common in normal French text
1930 (bug#17643).
1931
1932 2014-05-30 Glenn Morris <rgm@gnu.org>
1933
1934 * emacs-lisp/package.el (package-check-signature)
1935 (package-unsigned-archives): Fix :version.
1936
1937 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1938
1939 * subr.el (sit-for): Don't run input-methods (bug#15614).
1940
1941 2014-05-28 Glenn Morris <rgm@gnu.org>
1942
1943 * cus-start.el: Fix some :version numbers.
1944
1945 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1946
1947 * simple.el (deactivate-mark): Set mark-active to nil even if
1948 deactivation is done via setting transient-mark-mode to nil,
1949 since one is buffer-local and the other is global.
1950
1951 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1952 there can't be more than 2 arguments (bug#17584).
1953
1954 2014-05-27 Glenn Morris <rgm@gnu.org>
1955
1956 * simple.el (filter-buffer-substring-functions)
1957 (filter-buffer-substring-function, buffer-substring-filters)
1958 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1959
1960 * minibuffer.el (completion-in-region-functions, completion-in-region)
1961 (completion--in-region): Doc fixes.
1962
1963 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1964 (expand-abbrev, abbrev--default-expand): Doc fixes.
1965
1966 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
1967
1968 Include sources used to create macuvs.h.
1969 * international/README: Refer to the Unicode Terms of Use rather
1970 than copying it bodily here, as that simplifies maintenance.
1971
1972 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1973
1974 * cus-face.el (custom-face-attributes): Add :distant-foreground.
1975
1976 2014-05-25 Martin Rudalics <rudalics@gmx.at>
1977
1978 * window.el (window--dump-frame): Remove interactive
1979 specification.
1980
1981 2014-05-23 Glenn Morris <rgm@gnu.org>
1982
1983 * hippie-exp.el (he-line-search-regexp):
1984 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
1985
1986 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1987
1988 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1989 to avoid errors when trying to create or visit a file foo.todo
1990 located outside to todo-directory, and to allow having such files
1991 without them being tied to Todo mode (bug#17482).
1992 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1993 (todo-archive-done-item, todo-find-filtered-items-file)
1994 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1995 (todo-category-completions, todo-read-category): When visiting a
1996 Todo file, make sure we're in the right mode and the buffer local
1997 variables are set.
1998 (todo-make-categories-list, todo-reset-nondiary-marker)
1999 (todo-reset-done-string, todo-reset-comment-string):
2000 After processing all Todo files, kill the buffers of those files that
2001 weren't being visited before the processing.
2002 (todo-display-as-todo-file, todo-add-to-buffer-list)
2003 (todo-visit-files-commands): Comment out.
2004 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
2005 (auto-mode-alist): Remove add-to-list calls making Todo file
2006 extensions unrestrictedly tied to Todo modes.
2007
2008 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
2009
2010 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
2011 (advice-function-member-p): Tell it to check both names and functions
2012 (bug#17531).
2013 (advice--add-function): Adjust call accordingly.
2014
2015 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
2016
2017 * calendar/todo-mode.el: Miscellaneous bug fixes.
2018 (todo-delete-file): When deleting an archive but not its todo
2019 file, make sure to update the todo file's category sexp.
2020 (todo-move-category): Keep the moved category's name unless the
2021 file moved to already has a category with that name. If the
2022 numerically last category of the source file was moved, make the
2023 first category current to avoid selecting a nonexisting category.
2024 (todo-merge-category): Fix implementation to make merging to a
2025 category in another file work as documented. Eliminate now
2026 insufficient and unnecessary renaming of archive category, correct
2027 document string accordingly, and clarify it. If the numerically
2028 last category of the source file was merged, make the first
2029 category current to avoid selecting a nonexisting category.
2030 (todo-archive-done-item): When there are marked items and point
2031 happens to be on an unmarked item, ignore the latter. Don't leave
2032 point below last item after archiving marked items.
2033 (todo-unarchive-items): Fix logic to ensure unarchiving an item
2034 from an archive with only one category deletes the archive only
2035 when the category is empty after unarchiving. Make sure the todo
2036 file's category sexp is updated.
2037 (todo-read-file-name): Allow an existing file name even when it is
2038 not required (todo-move-category needs this to work as documented).
2039 (todo-add-file): Call todo-validate-name to reject the name of an
2040 existing todo file (needed due to fix in todo-read-file-name).
2041 (todo-reset-nondiary-marker): Also reset in filtered items files.
2042 (todo-reset-done-string, todo-reset-comment-string): Also reset in
2043 regexp filtered items files.
2044 (todo-reset-highlight-item): Also reset in filtered items files.
2045 Fix incorrect variable reference in document string.
2046
2047 2014-05-22 Glenn Morris <rgm@gnu.org>
2048
2049 * window.el (window--dump-frame): Avoid error in --without-x builds.
2050
2051 2014-05-21 Glenn Morris <rgm@gnu.org>
2052
2053 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
2054
2055 2014-05-21 Eli Zaretskii <eliz@gnu.org>
2056
2057 * frame.el (set-frame-font): Doc fix.
2058
2059 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
2060
2061 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
2062
2063 * emacs-lisp/package.el (package--download-one-archive):
2064 Use `write-region' instead of `save-buffer' to avoid running various
2065 hooks. (Bug#17155)
2066 (describe-package-1): Same. Insert newline at the end of the
2067 buffer if appropriate.
2068
2069 2014-05-20 Juri Linkov <juri@jurta.org>
2070
2071 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
2072 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
2073 Add more modifiers: meta, control, shift, hyper, super, alt.
2074 (Bug#17439)
2075
2076 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
2077 to allow changing its value with `set-variable'.
2078
2079 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
2080
2081 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
2082 #; comments.
2083 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
2084 New functions.
2085 (scheme-mode-variables): Set syntax-propertize-function instead of
2086 font-lock-syntactic-face-function.
2087 (scheme-font-lock-syntactic-face-function): Delete.
2088
2089 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
2090
2091 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2092
2093 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
2094 (bug#17392).
2095
2096 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
2097
2098 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
2099 for a temporary file name.
2100
2101 2014-05-17 Eli Zaretskii <eliz@gnu.org>
2102
2103 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
2104
2105 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
2106
2107 * net/dbus.el (dbus-init-bus, dbus-call-method)
2108 (dbus-call-method-asynchronously, dbus-send-signal)
2109 (dbus-method-return-internal, dbus-method-error-internal):
2110 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
2111
2112 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2113
2114 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
2115 methods which do not have a doc string. (Bug#17490)
2116
2117 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
2118 Stefan Monnier <monnier@iro.umontreal.ca>
2119
2120 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
2121 suffix (bug#15419).
2122
2123 2014-05-14 Glenn Morris <rgm@gnu.org>
2124
2125 * vc/emerge.el (emerge-temp-file-prefix):
2126 Make pointless option obsolete.
2127 (emerge-temp-file-mode): Make non-functional option obsolete.
2128
2129 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
2130
2131 * net/browse-url.el (browse-url):
2132 Use `unhandled-file-name-directory' when setting `default-directory',
2133 in order to circumvent stalled remote connections. (Bug#17425)
2134
2135 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
2136
2137 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
2138 into autoloading just because of a silly indirection.
2139
2140 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
2141
2142 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
2143
2144 2014-05-11 Glenn Morris <rgm@gnu.org>
2145
2146 * emacs-lisp/find-gc.el: Move to ../admin.
2147
2148 2014-05-10 Glenn Morris <rgm@gnu.org>
2149
2150 * printing.el (pr-version):
2151 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
2152
2153 * net/browse-url.el (browse-url-mosaic):
2154 Create /tmp/Mosaic.PID as a private file.
2155
2156 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
2157
2158 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
2159 (advice--member-p): If name is given, only compare the name.
2160 (advice--remove-function): Don't stop at the first match.
2161 (advice--normalize-place): New function.
2162 (add-function, remove-function): Use it.
2163 (advice--add-function): Pass the name, if any, to
2164 advice--remove-function.
2165
2166 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
2167
2168 * electric.el (electric-indent-post-self-insert-function): Don't use
2169 `pos' after modifying the buffer (bug#17449).
2170
2171 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2172
2173 * subr.el (function-put): Add function.
2174
2175 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
2176
2177 * calendar/todo-mode.el (todo-insert-item-from-calendar):
2178 Correct argument list to conform to todo-insert-item--basic.
2179
2180 2014-05-09 Glenn Morris <rgm@gnu.org>
2181
2182 * files.el (cd-absolute): Test if directory is accessible
2183 rather than executable. (Bug#17330)
2184
2185 * progmodes/compile.el (recompile):
2186 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
2187
2188 2014-05-08 Juri Linkov <juri@jurta.org>
2189
2190 * dired.el (dired-check-switches, dired-switches-recursive-p):
2191 New functions. (Bug#17218)
2192 (dired-switches-escape-p, dired-move-to-end-of-filename):
2193 Use `dired-check-switches'.
2194 (dired-insert-old-subdirs, dired-build-subdir-alist)
2195 (dired-sort-R-check): Use `dired-switches-recursive-p'.
2196
2197 2014-05-08 Glenn Morris <rgm@gnu.org>
2198
2199 * net/browse-url.el (browse-url-mosaic):
2200 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
2201 This is CVE-2014-3423.
2202
2203 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2204
2205 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
2206 (xterm-mouse--read-event-sequence-1000): Return nil if something
2207 looks fishy.
2208 (xterm-mouse-event): Propagate it.
2209 (xterm-mouse-translate-1): Handle it.
2210
2211 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
2212
2213 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
2214 four slots of the parameter list are filled, make sure to pass it
2215 to the argument list of todo-insert-item--basic.
2216
2217 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2218
2219 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
2220 Add optional `seen' argument to detect and break infinite loops.
2221
2222 2014-05-06 Eli Zaretskii <eliz@gnu.org>
2223
2224 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
2225 (trace-unsafe, trace-use-tree): Make parentheses style be
2226 according to Emacs style.
2227
2228 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
2229
2230 * net/tramp-sh.el (tramp-remote-process-environment):
2231 Remove HISTFILE and HISTSIZE; it's too late to set them here.
2232 Add :version entry.
2233 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
2234 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
2235 extra "PSx=..." commands.
2236 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
2237 (Bug#17295)
2238
2239 (tramp-uudecode): Replace the hard-coded temporary file name by a
2240 format specifier.
2241 (tramp-remote-coding-commands): Enhance docstring.
2242 (tramp-find-inline-encoding): Replace "%t" by a temporary file
2243 name. (Bug#17415)
2244 This is CVE-2014-3424.
2245
2246 2014-05-06 Glenn Morris <rgm@gnu.org>
2247
2248 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
2249 (find-gc-source-files): Update some names.
2250 (trace-call-tree): Simplify and update.
2251 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
2252 This is CVE-2014-3422.
2253
2254 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2255
2256 * minibuffer.el (completion--try-word-completion): Revert fix for
2257 Bug#15980 (bug#17375).
2258
2259 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
2260 Always store button numbers in the same way in xterm-mouse-last;
2261 Don't burp is xterm-mouse-last is not set as expected.
2262 Never return negative indices.
2263
2264 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
2265
2266 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2267 Backtrack one char if the global/char-literal var matcher hits
2268 inside a string. The next char could be the beginning of an
2269 expression expansion.
2270
2271 2014-05-05 Glenn Morris <rgm@gnu.org>
2272
2273 * help-fns.el (describe-function-1): Test for an autoload before a
2274 macro, since `macrop' works on autoloads. (Bug#17410)
2275
2276 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2277
2278 * electric.el (electric-indent-functions-without-reindent): Add yaml.
2279
2280 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
2281 Make sure the new point we return is within the new string (bug#17239).
2282
2283 2014-05-03 Eli Zaretskii <eliz@gnu.org>
2284
2285 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
2286
2287 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2288
2289 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2290 Use nil rather than `default' for the "default" appearance (bug#17388).
2291 * vc/ediff-util.el (ediff-inferior-compare-regions)
2292 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
2293 a misleading `default' value when it's really a boolean.
2294 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
2295 overlay is not visible.
2296
2297 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
2298
2299 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
2300 (todo-menu): Uncomment and update.
2301
2302 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
2303
2304 * calendar/todo-mode.el: Reimplement item editing to have the same
2305 basic user interface as item insertion, and make small UI and
2306 larger internal improvements to the latter.
2307 (todo-insert-item): Add reference to the Todo mode user manual to
2308 the documentation string.
2309 (todo-insert-item--basic): Rename from todo-basic-insert-item and
2310 adjust all callers. Change signature to combine diary and
2311 nonmarking arguments. Incorporate functionality of deleted item
2312 copying command and add error checking. Remove detailed
2313 descriptions of the arguments from the documentation string, since
2314 this is treated in the Todo mode user manual.
2315 (todo-copy-item, todo-edit-multiline-item)
2316 (todo-edit-done-item-comment, todo-edit-item-header)
2317 (todo-edit-item-time, todo-edit-item-date-from-calendar)
2318 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
2319 (todo-edit-item-date-year, todo-edit-item-date-month)
2320 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
2321 Remove.
2322 (todo-edit-item): Reimplement as wrapper command for
2323 todo-edit-item--next-key and make it distinguish done and not done
2324 todo items.
2325 (todo-edit-item--text): New function, replacing old command
2326 todo-edit-item and incorporating deleted commands
2327 todo-edit-multiline-item and todo-edit-done-item-comment.
2328 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
2329 Use only numeric value of prefix argument. Remove detailed
2330 descriptions of the arguments from the documentation string, since
2331 this is treated in the Todo mode user manual.
2332 (todo-edit-item--diary-inclusion): New function, replacing old
2333 command todo-edit-item-diary-inclusion and incorporating and fixing
2334 functionality of deleted command todo-edit-item-diary-nonmarking,
2335 making sure to remove todo-nondiary-marker when adding
2336 diary-nonmarking-symbol.
2337 (todo-edit-category-diary-inclusion): Make sure to delete
2338 diary-nonmarking-symbol when adding todo-nondiary-marker.
2339 (todo-edit-category-diary-nonmarking): Fix indentation.
2340 (todo-insert-item--parameters): Group diary and nonmarking
2341 parameters together.
2342 (todo-insert-item--apply-args): Adjust to signature of
2343 todo-insert-item--basic and incorporate copy parameter.
2344 Make small code improvements.
2345 (todo-insert-item--next-param): Improve prompt and adjust it to
2346 new parameter grouping. Remove obsolete code.
2347 (todo-edit-item--param-key-alist)
2348 (todo-edit-item--date-param-key-alist)
2349 (todo-edit-done-item--param-key-alist): New defconsts.
2350 (todo-edit-item--prompt): New variable.
2351 (todo-edit-item--next-key): New function.
2352 (todo-key-bindings-t): Bind "e" to todo-edit-item.
2353 Remove bindings of deleted commands.
2354
2355 2014-05-02 Leo Liu <sdl.web@gmail.com>
2356
2357 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
2358
2359 2014-05-01 Glenn Morris <rgm@gnu.org>
2360
2361 * allout-widgets.el (allout-widgets-tally)
2362 (allout-decorate-item-guides):
2363 * menu-bar.el (menu-bar-positive-p):
2364 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
2365 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
2366 * progmodes/js.el (js--inside-param-list-p)
2367 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
2368 * progmodes/prolog.el (region-exists-p):
2369 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
2370 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
2371 Doc fixes (replace `iff').
2372
2373 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2374
2375 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
2376
2377 2014-04-30 Eli Zaretskii <eliz@gnu.org>
2378
2379 * dired.el (dired-initial-position-hook, dired-initial-position):
2380 Doc string fixes.
2381
2382 2014-04-29 Glenn Morris <rgm@gnu.org>
2383
2384 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
2385
2386 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
2387
2388 * faces.el (face-spec-recalc): Apply X resources only after the
2389 defface spec has been applied. Thus, X resources are no longer
2390 overridden by the defface spec which also fixes issues on win32 where
2391 the toolbar coloring was wrong because it is set through X resources
2392 and was (wrongfully) overridden. (Bug#16694)
2393
2394 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2395
2396 * textmodes/rst.el (electric-pair-pairs): Declare.
2397 (rst-mode): Set it (bug#17131).
2398
2399 2014-04-27 Juri Linkov <juri@jurta.org>
2400
2401 * desktop.el (desktop-value-to-string): Let-bind `print-length'
2402 and `print-level' to nil. (Bug#17351)
2403
2404 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2405
2406 * battery.el (battery-update): Handle the case where battery
2407 status is "N/A" (bug#17319).
2408
2409 2014-04-24 Eli Zaretskii <eliz@gnu.org>
2410
2411 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
2412 Use equal-including-properties to compare help-echo strings (bug#17331).
2413
2414 2014-04-24 Leo Liu <sdl.web@gmail.com>
2415
2416 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
2417 Fix syntax for @. (Bug#17325)
2418
2419 2014-04-24 Daniel Colascione <dancol@dancol.org>
2420
2421 * emacs-lisp/cl.el (gv): Require gv early to break eager
2422 macro-expansion cycles.
2423
2424 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2425
2426 * simple.el (region-active-p): Check there's a mark (bug#17324).
2427
2428 * simple.el (completion-list-mode-map): Use choose-completion for the
2429 mouse binding as well (bug#17302).
2430 (completion-list-mode, completion-setup-function): Adjust docstring and
2431 echo area message accordingly.
2432 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
2433 calling convention of choose-completion.
2434 * comint.el (comint-dynamic-list-completions):
2435 * term.el (term-dynamic-list-completions): Accept choose-completion.
2436
2437 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
2438 &, |, +, - and * can't be a division (bug#17317).
2439
2440 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2441
2442 * term/xterm.el (xterm--version-handler): Don't use modern xterm
2443 features on gnome-terminal (bug#16988).
2444
2445 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
2446
2447 * dired.el (dired-insert-set-properties): Do not consider
2448 subdirectory headings and empty lines to be information that
2449 `dired-hide-details-mode' should hide. (Bug#17228)
2450
2451 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
2452
2453 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2454 Remove test messages.
2455 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
2456 and `target' twice.
2457
2458 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2459
2460 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
2461 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
2462
2463 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
2464
2465 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
2466
2467 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2468 Set "IFS=" when using read builtin, in order to preserve spaces in
2469 the file name. Add test messages for hunting a bug on hydra.
2470 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
2471
2472 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2473
2474 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
2475 Don't prettify a word within a symbol.
2476
2477 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
2478
2479 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
2480 possible.
2481
2482 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2483
2484 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
2485 assignments such as "case=hello" (bug#17297).
2486
2487 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
2488
2489 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
2490 Do not autoload.
2491 (tramp-file-name-handler, tramp-completion-file-name-handler):
2492 Revert patch from 2014-04-10, it isn't necessary anymore.
2493 (tramp-autoload-file-name-handler)
2494 (tramp-register-autoload-file-name-handlers): New defuns.
2495 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
2496 (tramp-register-file-name-handlers): Remove also
2497 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
2498 Do not autoload its invocation, but eval it after loading of 'tramp.
2499
2500 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
2501
2502 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
2503
2504 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2505
2506 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
2507 was done (bug#17264).
2508 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
2509 comment to EOB.
2510
2511 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
2512 here-documents (bug#17262).
2513
2514 2014-04-16 Eli Zaretskii <eliz@gnu.org>
2515
2516 * term/pc-win.el (x-list-fonts, x-get-selection-value):
2517 Provide doc strings, as required by snarf-documentation.
2518
2519 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2520
2521 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
2522 arg of overlays-at. Use `invisible-p'.
2523
2524 * obsolete/lucid.el (extent-at):
2525 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
2526 overlays-at.
2527 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
2528
2529 2014-04-14 João Távora <joaotavora@gmail.com>
2530
2531 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
2532 links. (Bug#17217).
2533
2534 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2535
2536 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2537 Use mapc to loop over a vector. (Bug#17257).
2538
2539 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
2540
2541 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
2542 patch, there are new problems with file names containing spaces.
2543 Get rid of backticks. (Bug#17238)
2544
2545 2014-04-13 João Távora <joaotavora@gmail.com>
2546
2547 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
2548 possible bug.
2549
2550 2014-04-13 Eli Zaretskii <eliz@gnu.org>
2551
2552 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
2553 (blink-cursor-mode): Mention customization variables and the
2554 effect of 'blink-cursor-blinks'.
2555
2556 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
2557
2558 * simple.el (undo): Prevent insertion of identity mapping into
2559 undo-equiv-table so as undo-only does not inf loop in the presence
2560 of consecutive nils in undo list.
2561
2562 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
2563
2564 * faces.el (make-face): Deprecate optional argument as it is no
2565 longer needed/used since the conditional X resources handling
2566 has been pushed down to make-face-x-resource-internal itself.
2567 (make-empty-face): Don't pass optional argument to make-face.
2568
2569 2014-04-12 Eli Zaretskii <eliz@gnu.org>
2570
2571 * international/characters.el <standard-case-table>: Add entries
2572 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
2573 Set category of Coptic characters be 'g' (Greek).
2574
2575 2014-04-12 Leo Liu <sdl.web@gmail.com>
2576
2577 * progmodes/octave.el (completion-table-with-cache): Define if not
2578 available.
2579 (octave-goto-function-definition)
2580 (octave-sync-function-file-names)
2581 (octave-find-definition-default-filename): Backquote upattern for
2582 compatibility.
2583
2584 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
2585
2586 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
2587 name twice due to backticks. (Bug#17238)
2588
2589 2014-04-11 Glenn Morris <rgm@gnu.org>
2590
2591 * term/w32-win.el (x-win-suspend-error):
2592 * term/x-win.el (x-win-suspend-error): Sync docs.
2593
2594 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2595
2596 Ediff's overlay priorities cause more trouble than they solve.
2597 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
2598 (ediff-highest-priority): Remove function (bug#17234).
2599 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
2600 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
2601 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
2602 overlay priorities.
2603
2604 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
2605
2606 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
2607 entry; use symbol boundaries to avoid mis-matches.
2608
2609 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
2610
2611 * net/tramp.el (tramp-file-name-handler)
2612 (tramp-completion-file-name-handler): Avoid recursive loading.
2613
2614 * net/tramp-sh.el (tramp-make-copy-program-file-name):
2615 Quote result also locally.
2616
2617 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
2618
2619 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2620 Module methods. (Bug#17216)
2621
2622 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2623
2624 * help.el (describe-bindings): Fix buffer handling (bug#17210).
2625 (describe-bindings-internal): Mark obsolete.
2626
2627 2014-04-07 João Távora <joaotavora@gmail.com>
2628
2629 * elec-pair.el:
2630 (electric-pair--syntax-ppss): When inside comments parse from
2631 comment beginning.
2632 (electric-pair--balance-info): Fix typo in comment.
2633 (electric-pair--in-unterminated-string-p): Delete.
2634 (electric-pair--unbalanced-strings-p): New function.
2635 (electric-pair-string-bound-function): New var.
2636 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2637 according to `electric-pair--in-unterminated-string-p'
2638
2639 2014-04-07 João Távora <joaotavora@gmail.com>
2640
2641 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2642 Inhibit quote pairing if point-max is inside an unterminated string.
2643 (electric-pair--looking-at-unterminated-string-p): Delete.
2644 (electric-pair--in-unterminated-string-p): New function.
2645
2646 2014-04-07 Glenn Morris <rgm@gnu.org>
2647
2648 * shell.el (shell-directory-tracker):
2649 Go back to just ignoring failures. (Bug#17159)
2650
2651 2014-04-06 João Távora <joaotavora@gmail.com>
2652
2653 Fix `electric-pair-delete-adjacent-pairs' in modes binding
2654 backspace. (bug#16981)
2655 * elec-pair.el (electric-pair-backward-delete-char): Delete.
2656 (electric-pair-backward-delete-char-untabify): Delete.
2657 (electric-pair-mode-map): Bind backspace to a menu item filtering
2658 a new `electric-pair-delete-pair' command.
2659 (electric-pair-delete-pair): New command.
2660
2661 2014-04-06 João Távora <joaotavora@gmail.com>
2662
2663 * progmodes/python.el (python-electric-pair-string-delimiter):
2664 Fix triple-quoting electricity. (Bug#17192)
2665
2666 2014-04-06 João Távora <joaotavora@gmail.com>
2667
2668 * elec-pair.el (electric-pair-post-self-insert-function):
2669 Don't skip whitespace when `electric-pair-text-pairs' and
2670 `electric-pair-pairs' were used. syntax to
2671 electric-pair--skip-whitespace. (Bug#17183)
2672
2673 2014-04-06 Eli Zaretskii <eliz@gnu.org>
2674
2675 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2676 "<F>". (Bug#17199)
2677
2678 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
2679
2680 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2681 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2682
2683 2014-04-05 Glenn Morris <rgm@gnu.org>
2684
2685 * help.el (view-lossage): Doc tweak.
2686
2687 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
2688
2689 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2690 only when inhibit-x-resources is nil, and do that earlier in the
2691 function. Doc fix. (Bug#16694)
2692 (face-spec-choose): Accept additional optional argument, whose
2693 value is returned if no matching attributes are found.
2694 (face-spec-recalc): Use the new optional argument when calling
2695 face-spec-choose. (Bug#16378)
2696 (make-face-x-resource-internal): Do nothing when
2697 inhibit-x-resources is non-nil. Don't touch the default face if
2698 reversed video is given--as was done in previous versions of Emacs.
2699 (face-set-after-frame-default): Don't call
2700 make-face-x-resource-internal here. (Bug#16434)
2701
2702 2014-04-04 Tassilo Horn <tsdh@gnu.org>
2703
2704 * doc-view.el (doc-view-bookmark-jump):
2705 Use `bookmark-after-jump-hook' to jump to the right page after the
2706 buffer is shown in a window. (bug#16090)
2707
2708 2014-04-04 Eli Zaretskii <eliz@gnu.org>
2709
2710 * international/characters.el (mirroring): Fix last change:
2711 instead of loading uni-mirrored.el explicitly, do that implicitly
2712 by creating the 'mirroring' uniprop table. This avoids announcing
2713 the loading of uni-mirrored.el.
2714
2715 2014-04-04 Glenn Morris <rgm@gnu.org>
2716
2717 * files.el (buffer-stale--default-function)
2718 (buffer-stale-function, revert-buffer--default):
2719 * autorevert.el (auto-revert-buffers): Doc tweaks.
2720
2721 2014-04-03 Eli Zaretskii <eliz@gnu.org>
2722
2723 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
2724
2725 2014-04-03 Glenn Morris <rgm@gnu.org>
2726
2727 * files.el (make-backup-file-name-function)
2728 (make-backup-file-name, make-backup-file-name--default-function)
2729 (make-backup-file-name-1, find-backup-file-name)
2730 (revert-buffer-function, revert-buffer-insert-file-contents-function)
2731 (buffer-stale--default-function, buffer-stale-function)
2732 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2733 (revert-buffer, revert-buffer--default)
2734 (revert-buffer-insert-file-contents--default-function):
2735 Doc fixes related to defaults no longer being nil.
2736 (make-backup-file-name-function): Bump :version.
2737 Restore nil as a valid but deprecated custom type.
2738
2739 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
2740
2741 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
2742 used as a variable (bug#17174).
2743
2744 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
2745
2746 * progmodes/perl-mode.el (perl-indent-new-calculate):
2747 Handle forward-sexp failure (bug#16985).
2748 (perl-syntax-propertize-function): Add "foreach" and "for" statement
2749 modifiers introducing expressions (bug#17116).
2750
2751 2014-04-02 Glenn Morris <rgm@gnu.org>
2752
2753 * menu-bar.el (menu-bar-file-menu):
2754 * vc/ediff.el (ediff-current-file):
2755 Update for revert-buffer-function no longer being nil by default.
2756
2757 * simple.el (command-execute): Respect nil disabled-command-function.
2758
2759 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2760
2761 * simple.el (command-execute): Do not execute the command when it
2762 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2763
2764 2014-03-29 Juri Linkov <juri@jurta.org>
2765
2766 * dired-aux.el (dired-compress-file): Don't use string-match-p
2767 because its match data is used afterwards.
2768
2769 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2770
2771 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2772 0 like nil.
2773
2774 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2775
2776 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2777 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2778
2779 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2780 Don't propertize `?' or `!' as symbol constituent when after
2781 colon. (Bug#17097)
2782
2783 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2784
2785 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2786 which is no longer needed and causes trouble in GTK builds (bug#17046).
2787
2788 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2789 Use url-insert-file-contents; package-handle-response no longer exists.
2790
2791 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2792
2793 * emacs-lisp/package.el: Fix bug#16733 (again).
2794 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2795 (url-http-target-url): Remove unused declarations.
2796 (package-handle-response): Remove.
2797 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2798 (package--download-one-archive): Use current-buffer instead of
2799 dynamic binding of `buffer'.
2800 (describe-package-1): Do not decode readme-string.
2801
2802 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
2803
2804 * simple.el (primitive-undo): Correction to 2014-03-24 change.
2805
2806 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
2807
2808 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2809
2810 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2811 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2812 `remote-file-name-inhibit-cache' to nil in the second pass.
2813 (tramp-find-executable): Do not call "which" on SunOS.
2814 (tramp-send-command-and-check): Fix docstring.
2815 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2816 check whether source directory has set the sticky bit.
2817
2818 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
2819
2820 * simple.el (primitive-undo): Only process marker adjustments
2821 validated against their corresponding (TEXT . POS). Issue warning
2822 for lone marker adjustments in undo history. (Bug#16818)
2823 (undo-make-selective-list): Add marker adjustments to selective
2824 undo list based on whether their corresponding (TEXT . POS) is in
2825 the region. Remove variable adjusted-markers, which was unused
2826 and only non nil during undo-make-selective-list.
2827 (undo-elt-in-region): Return nil when passed a marker adjustment
2828 and explain in function doc.
2829
2830 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2831
2832 * emacs-lisp/package.el (package--add-to-archive-contents):
2833 Include already installed and built-in packages in
2834 `package-archive-contents'.
2835 (package-install): Don't include already installed packages in the
2836 options during interactive invocation. (Bug#16762)
2837
2838 2014-03-24 Daniel Colascione <dancol@dancol.org>
2839
2840 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2841 instead of cl-loop search function.
2842
2843 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
2844
2845 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2846
2847 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2848
2849 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2850
2851 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2852
2853 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2854 Match special global variables without curlies, too.
2855 (ruby-font-lock-keywords): Simplify the matcher for special global
2856 variables. Don't require a non-word character after the variable.
2857 (Bug#17057)
2858
2859 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2860
2861 * simple.el (redisplay-highlight-region-function): Increase priority of
2862 overlay to make sure boundaries are visible (bug#15899).
2863
2864 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2865
2866 * frameset.el (frameset-restore): Compare display strings with equal.
2867
2868 * frame.el (make-frame): Don't quote display name in error message,
2869 it is already a string.
2870
2871 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2872
2873 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2874 the password.
2875
2876 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
2877
2878 * emacs-lisp/package.el (package-show-package-list): If the buffer
2879 is already displayed in another window, switch to that window.
2880
2881 2014-03-21 Daniel Colascione <dancol@dancol.org>
2882
2883 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2884 information in bug reports.
2885
2886 2014-03-23 Daniel Colascione <dancol@dancol.org>
2887
2888 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2889 list to look for keyword arguments instead of `memq', fixing
2890 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2891 Please make bootstrap.
2892
2893 2014-03-23 Richard Stallman <rms@gnu.org>
2894
2895 * battery.el (battery-linux-sysfs): Search for each field
2896 from the beginning of the buffer.
2897
2898 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2899
2900 * emacs-lisp/package.el (package-desc): Use the contents of the
2901 quoted form, not its cdr. (Bug#16873)
2902
2903 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2904
2905 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2906 benefit of doc.c; change parameter profile to match the X function.
2907
2908 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2909
2910 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2911 and `tramp-copy-env'.
2912
2913 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2914 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2915
2916 2014-03-21 Glenn Morris <rgm@gnu.org>
2917
2918 * electric.el (electric-indent-post-self-insert-function): Add doc.
2919
2920 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2921
2922 * emacs-lisp/package.el (package-compute-transaction):
2923 Use `version-list-<=' to compare the requirement version against
2924 the version of package already to be installed. Update the error
2925 message. (Bug#16826)
2926
2927 * progmodes/ruby-mode.el (ruby-smie-rules):
2928 Add indentation rule for ` @ '. (Bug#17050)
2929
2930 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2931
2932 * align.el (align-regexp): Remove superfluous backslash.
2933
2934 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2935 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2936 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2937 Fix docstring typos.
2938 (ffap-next): Use C-u in docstring.
2939 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2940 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2941 Remove superfluous backslashes.
2942 (ffap-string-at-point): Reflow docstring.
2943
2944 * server.el (server-host): Reflow docstring.
2945 (server-unload-function): Fix docstring typo.
2946 (server-eval-at): Remove superfluous backslash.
2947
2948 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2949 (skeleton-insert): Doc fix.
2950 (skeleton-insert): Reflow docstring.
2951
2952 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2953 (tty-color-approximate, tty-color-by-index, tty-color-values)
2954 (tty-color-desc): Remove superfluous backslashes.
2955
2956 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2957
2958 * electric.el (electric-newline-and-maybe-indent): New command.
2959 Bind it globally to C-j.
2960 (electric-indent-mode): Don't mess with the global map any more.
2961 Don't drop the post-self-insert-hook is some buffer is still using it
2962 (bug#16770).
2963
2964 * bindings.el (global-map): Remove C-j binding.
2965
2966 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2967 the docstring of functions advised before dumping (bug#16993).
2968
2969 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2970
2971 * ps-print.el (ps-generate-postscript-with-faces):
2972 Explicitly deactivate the mark (bug#16866).
2973 * simple.el (deactivate-mark): Update region highlight.
2974
2975 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2976
2977 * emacs-lisp/package.el (describe-package-1):
2978 Decode commentary (bug#16733).
2979
2980 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2981
2982 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2983 modification of the value argument of :set (bug#16755).
2984
2985 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2986
2987 * simple.el (newline-and-indent): Do autofill (bug#17031).
2988
2989 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2990
2991 * newcomment.el (comment-normalize-vars): Only add escaping check
2992 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2993 (comment-beginning): Use `narrow-to-region' instead of moving back
2994 one character.
2995 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2996 (comment-start-skip): Update the docstring.
2997
2998 2014-03-18 Richard Stallman <rms@gnu.org>
2999
3000 * dired.el (dired-display-file): Force use of other window.
3001
3002 2014-03-18 Daniel Colascione <dancol@dancol.org>
3003
3004 * startup.el (tty-handle-args): Remove debug message from 2007.
3005
3006 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
3007
3008 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
3009 (advice--make-interactive-form): Use it to avoid (auto)loading function.
3010 (advice--make-1, advice-add, advice-remove):
3011 Remove braindead :advice-pending hack.
3012
3013 2014-03-17 Glenn Morris <rgm@gnu.org>
3014
3015 * calendar/calendar.el (calendar-generate-month): Apply weekend
3016 face to the right days; fixes 2013-08-06 change. (Bug#17028)
3017
3018 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
3019
3020 * net/tramp.el (tramp-action-out-of-band): Read pending output.
3021 (tramp-call-process): Trace also DESTINATION.
3022
3023 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3024 Quote file names when they are local. Remove superfluous trace.
3025
3026 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
3027
3028 * newcomment.el (comment-beginning): If `comment-start-skip'
3029 doesn't match, move back one char and try again. (Bug#16971)
3030
3031 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3032 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
3033 Set `comment-start-skip' to a simpler value that doesn't try to
3034 check if the semicolon is escaped (this is handled by
3035 `syntax-ppss' now). (Bug#16971)
3036
3037 * progmodes/scheme.el (scheme-mode-variables): Same.
3038
3039 2014-03-16 Martin Rudalics <rudalics@gmx.at>
3040
3041 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
3042 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
3043 current (Bug#16816, Bug#17007).
3044 (with-current-buffer-window): New macro doing the same as
3045 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
3046 * help.el (help-print-return-message): Warn in doc-string to not
3047 use this in `with-help-window'.
3048 (describe-bindings-internal): Call `describe-buffer-bindings'
3049 from within help buffer. See Juanma's scenario in (Bug#16816).
3050 (with-help-window): Update doc-string.
3051 * dired.el (dired-mark-pop-up):
3052 * files.el (save-buffers-kill-emacs):
3053 * register.el (register-preview): Use `with-current-buffer-window'
3054 instead of `with-temp-buffer-window'.
3055
3056 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
3057
3058 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
3059 Implement inserting into current buffer, documented in their docstrings.
3060 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
3061 (rst-section-tree-point, rst-forward-section, rst-indent)
3062 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
3063 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
3064 (rst-font-lock-handle-adornment-pre-match-form)
3065 (rst-repeat-last-character): Reflow docstrings.
3066 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
3067 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
3068 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
3069 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
3070 Fix docstring typos.
3071 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
3072 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
3073 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
3074
3075 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
3076
3077 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
3078 for compatibility with other ports.
3079 (ns-initialize-window-system): Use it. It is set in term/common-win.el
3080 from the -xrm command line argument, but in the Nextstep port its value
3081 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
3082
3083 * progmodes/python.el (defconst, python-syntax-count-quotes)
3084 (python-indent-region, python-indent-shift-right)
3085 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
3086 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
3087 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
3088 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
3089 (inferior-python-mode, python-shell-make-comint, run-python-internal)
3090 (python-shell-buffer-substring, python-shell-send-buffer)
3091 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
3092 (python-completion-complete-at-point, python-fill-docstring-style)
3093 (python-eldoc-function, python-imenu-format-item-label)
3094 (python-imenu-format-parent-item-label)
3095 (python-imenu-format-parent-item-jump-label)
3096 (python-imenu--build-tree, python-imenu-create-index)
3097 (python-imenu-create-flat-index): Fix docstring typos.
3098 (python-indent-context, python-shell-prompt-regexp, run-python):
3099 Remove superfluous backslashes.
3100 (python-indent-line, python-nav-beginning-of-defun)
3101 (python-shell-get-buffer, python-shell-get-process)
3102 (python-info-current-defun, python-info-current-line-comment-p)
3103 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
3104 (python-indent-post-self-insert-function, python-shell-send-file)
3105 (python-shell-completion-get-completions)
3106 (python-shell-completion-complete-or-indent)
3107 (python-eldoc--get-doc-at-point): Reflow docstrings.
3108
3109 2014-03-14 Glenn Morris <rgm@gnu.org>
3110
3111 * emacs-lisp/package.el (package-menu-mode-map):
3112 Replace use of obsolete function alias. Tweak menu item text.
3113
3114 * info.el (Info-finder-find-node):
3115 Ignore the `emacs' metapackage. (Bug#10813)
3116
3117 * finder.el (finder-list-matches): Include unversioned packages
3118 in the result of a keyword search.
3119
3120 * finder.el (finder--builtins-descriptions): New constant.
3121 (finder-compile-keywords): Use finder--builtins-descriptions.
3122
3123 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
3124
3125 * simple.el (blink-matching-paren): Describe the new value,
3126 `jump', enabling the old behavior.
3127 (blink-matching-open): Use that value. (Bug#17008)
3128
3129 2014-03-14 Glenn Morris <rgm@gnu.org>
3130
3131 * finder.el (finder-no-scan-regexp): Add leim-list.
3132 (finder-compile-keywords):
3133 Don't skip files with same basename. (Bug#14010)
3134 * Makefile.in (setwins_finder): New, excluding leim.
3135 (finder-data): Use setwins_finder.
3136
3137 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
3138 (help-function-arglist, help-make-usage): Move from here...
3139 * help.el (help-split-fundoc, help-add-fundoc-usage)
3140 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
3141 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
3142
3143 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
3144
3145 * net/socks.el (socks, socks-override-functions)
3146 (socks-find-services-entry):
3147 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
3148 (hif-find-ifdef-block):
3149 * progmodes/modula2.el (m2-indent): Fix docstring typos.
3150
3151 * net/tls.el (tls-program): Reflow docstring.
3152
3153 * progmodes/pascal.el (pascal-mode-abbrev-table)
3154 (pascal-imenu-generic-expression, pascal-auto-endcomments)
3155 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
3156 (pascal-outline-mode): Fix docstring typos.
3157 (pascal-mode): Let define-derived-mode document mode hook.
3158 (pascal-uncomment-area): Reflow.
3159 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
3160
3161 * progmodes/opascal.el (opascal-compound-block-indent)
3162 (opascal-case-label-indent): Fix docstring typos.
3163 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
3164
3165 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
3166
3167 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3168 Fontify multiple adjacent negation chars. (Bug#17004)
3169
3170 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
3171
3172 * emacs-lisp/package.el (package--prepare-dependencies):
3173 Accept requirements without explicit version (bug#14941).
3174
3175 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3176
3177 * register.el (register-separator, copy-to-register): Doc fixes.
3178 (register-preview-default): Remove unnecessary call to concat.
3179
3180 * frameset.el (frameset-restore): When checking for a visible frame,
3181 use the action map instead of calling visible-frame-list.
3182
3183 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
3184
3185 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
3186
3187 2014-03-12 Martin Rudalics <rudalics@gmx.at>
3188
3189 * window.el (fit-frame-to-buffer): Get maximum width from
3190 display's width instead of height.
3191
3192 2014-03-12 Glenn Morris <rgm@gnu.org>
3193
3194 * desktop.el (desktop-restore-frames)
3195 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
3196 (desktop-restore-reuses-frames): Doc tweaks.
3197
3198 * electric.el (electric-indent-mode): Doc fix.
3199
3200 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3201
3202 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
3203 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
3204 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
3205 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
3206 (cvs-dired-use-hook): Fix docstring typos.
3207 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
3208 Doc fixes.
3209
3210 * vc/pcvs-defs.el (cvs-auto-remove-handled)
3211 (cvs-auto-remove-directories, cvs-default-ignore-marks)
3212 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
3213 (cvs-execute-single-dir): Fix docstring typos.
3214
3215 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
3216 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
3217
3218 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
3219
3220 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
3221 Fix docstring typos.
3222
3223 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3224
3225 * frameset.el (frameset--jump-to-register): Add autoload; it could be
3226 called from jump-to-register after unloading the frameset package.
3227
3228 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3229
3230 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
3231 (bug#16975). Deactivate the mark before setting it to nil.
3232 (activate-mark): Do nothing if region is already active.
3233
3234 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3235
3236 * frameset.el (frameset--target-display): Remove definition; declare.
3237 (frameset-save, frameset-restore): Let-bind frameset--target-display.
3238
3239 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3240
3241 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
3242 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
3243 when the advice is pending.
3244 (advice-remove): Remove this marker when not needed any more.
3245
3246 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3247
3248 * frameset.el: Separate options for reusing frames and cleaning up.
3249 (frameset--reuse-list): Remove definition; declare.
3250 (frameset--action-map): Declare.
3251 (frameset--find-frame-if): Doc fix.
3252 (frameset--restore-frame): Cache frame action.
3253 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
3254 how to clean up the frame list after restoring. Remove cleaning
3255 options from REUSE-FRAMES. Change all keyword values to symbols.
3256 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
3257
3258 * desktop.el (desktop-restore-forces-onscreen)
3259 (desktop-restore-reuses-frames): Use non-keyword values.
3260 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
3261
3262 2014-03-10 Glenn Morris <rgm@gnu.org>
3263
3264 * files.el (find-file): Doc fix: update info node name.
3265
3266 * emacs-lisp/advice.el (ad-add-advice, defadvice):
3267 Doc fix: remove references to deleted info nodes.
3268
3269 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
3270
3271 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3272 Do not add `nil' to the environment, when there's no remote `locale'.
3273 (tramp-find-inline-encoding): Check, that the remote host has
3274 installed perl, before sending scripts.
3275
3276 2014-03-10 Leo Liu <sdl.web@gmail.com>
3277
3278 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3279 Clear eldoc-last-message. (Bug#16920)
3280
3281 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3282
3283 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
3284 (bug#14430).
3285
3286 2014-03-09 Juri Linkov <juri@jurta.org>
3287
3288 * ansi-color.el (ansi-color-names-vector): Copy default colors
3289 from `xterm-standard-colors' that look well on the default white
3290 background (and also on the black background) to avoid illegible
3291 color combinations like yellow-on-white and white-on-white.
3292 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
3293
3294 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
3295
3296 * frameset.el (frameset-restore): When no frame is visible, do not
3297 generate a list of frames, just make visible the selected one.
3298
3299 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
3300
3301 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
3302 it only contains the repository root. (Bug#16897)
3303
3304 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
3305
3306 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
3307 only when `remote-file-name-inhibit-cache' is nil.
3308 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
3309
3310 2014-03-06 Martin Rudalics <rudalics@gmx.at>
3311
3312 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
3313 Fix doc-strings.
3314 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
3315 fit-frame-to-buffer variable. Fix doc-string.
3316 (fit-window-to-buffer): Set ONLY argument in call of
3317 fit-frame-to-buffer. Fix doc-string.
3318
3319 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
3320
3321 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
3322 (tramp-action-password): Clear password cache if needed.
3323 (tramp-read-passwd): Do not clear password cache.
3324
3325 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
3326 cache unless it is the first password request.
3327
3328 2014-03-06 Glenn Morris <rgm@gnu.org>
3329
3330 * simple.el (newline): Doc tweak.
3331
3332 * emacs-lisp/shadow.el (load-path-shadows-find):
3333 Ignore dir-locals. (Bug#12357)
3334
3335 2014-03-05 Glenn Morris <rgm@gnu.org>
3336
3337 * files.el (interpreter-mode-alist):
3338 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
3339
3340 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3341
3342 * frameset.el (frameset--initial-params): Filter out null entries.
3343
3344 2014-03-05 Martin Rudalics <rudalics@gmx.at>
3345
3346 * window.el (window-min-height, window-min-width):
3347 Rewrite doc-strings.
3348 (window-body-size): Add PIXELWISE argument to make it consistent
3349 with its callees.
3350
3351 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3352
3353 * finder.el (finder-mode-map, finder-mode-syntax-table):
3354 Revert part of 2014-02-28 change.
3355
3356 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
3357
3358 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
3359 (eww-setup-buffer): Clear next/prev/etc more reliably.
3360 (eww-textarea-map): [tab] doesn't work on tty.
3361 Reported by Mario Lang.
3362
3363 * net/shr.el (shr-map): Ditto.
3364
3365 2014-03-04 Glenn Morris <rgm@gnu.org>
3366
3367 * minibuffer.el (completion-hilit-commonality):
3368 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
3369
3370 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3371
3372 * hilit-chg.el (hilit-chg-unload-function): New function.
3373 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
3374 (hilit-chg-map-changes): Prefer cardinal number to digit.
3375 (hilit-chg-display-changes): Reflow docstring.
3376 (highlight-changes-rotate-faces): Remove superfluous backslash.
3377
3378 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
3379
3380 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
3381 `tramp-send-command-and-check'.
3382
3383 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3384
3385 * hexl.el (hexl-address-region, hexl-ascii-region)
3386 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
3387 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
3388 (hexl-forward-word, hexl-previous-line, hexl-next-line):
3389 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
3390 (hexl-mode): Doc fix.
3391 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
3392 (hexl-mode-ruler): Fix typos in docstrings.
3393
3394 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
3395 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
3396 Remove superfluous backslashes.
3397 (strokes-last-stroke, strokes-global-map, strokes-mode):
3398 Reflow docstrings.
3399 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
3400 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
3401 (strokes-distance-squared, strokes-global-set-stroke)
3402 (strokes-global-set-stroke-string): Doc fixes.
3403 (strokes-help): Fix typos; reflow docstring.
3404
3405 2014-03-04 Martin Rudalics <rudalics@gmx.at>
3406
3407 * window.el (window-in-direction): Fix doc-string.
3408
3409 2014-03-04 Glenn Morris <rgm@gnu.org>
3410
3411 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
3412 Explicit error if no grammar.
3413 (smie-config-save): Doc fix. Fix quote typo.
3414
3415 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
3416
3417 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
3418 electric-indent-mode-hook if we obey electric-indent-mode.
3419 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
3420 decide whether we obey electric-indent-mode.
3421 (c-change-set-fl-decl-start, c-extend-after-change-region):
3422 Silence warnings.
3423 (c-electric-indent-mode-hook): Assume we do want to obey
3424 electric-indent-mode.
3425
3426 * electric.el (electric-indent-mode-has-been-called): Remove.
3427 (electric-indent-mode): Fix accordingly.
3428
3429 * files.el (hack-local-variables): Mention file name in warning.
3430
3431 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
3432
3433 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
3434
3435 * bindings.el: Add comment describing why C-d binds to `delete-char'.
3436 * simple.el (delete-forward-char): Mark as interactive-only.
3437
3438 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
3439
3440 * icomplete.el (icomplete-completions):
3441 Follow-up to 2014-03-01 change.
3442
3443 * icomplete.el: Miscellaneous doc fixes.
3444 Use Icomplete everywhere instead of icomplete for consistency.
3445 (icomplete-max-delay-chars): Fix typo.
3446 (icomplete-mode): Use \[].
3447 (icomplete-tidy, icomplete-exhibit): Reflow.
3448 (icomplete-minibuffer-setup-hook, icomplete-completions):
3449 Remove superfluous backlashes.
3450
3451 * ido.el: Miscellaneous doc fixes.
3452 Use Ido everywhere instead of ido or `ido' for consistency.
3453 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
3454 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
3455 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
3456 (ido-separator): Extract obsolescence info from docstring and declare
3457 with make-obsolete-variable.
3458 (ido-minibuffer-setup-hook): Simplify example.
3459 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
3460 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
3461 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
3462 (ido-everywhere): Reflow docstring.
3463 (ido-toggle-vc): Doc fix.
3464 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
3465 of long list of keybindings.
3466
3467 2014-03-03 Glenn Morris <rgm@gnu.org>
3468
3469 * frame.el (display-pixel-height, display-pixel-width)
3470 (display-mm-dimensions-alist, display-mm-height)
3471 (display-mm-width): Doc tweaks.
3472
3473 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
3474
3475 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
3476 case of undo in region.
3477
3478 2014-03-02 Martin Rudalics <rudalics@gmx.at>
3479
3480 * window.el (fit-window-to-buffer): Fix argument in window-size
3481 call when window is horizontally combined.
3482
3483 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
3484
3485 * icomplete.el (icomplete-completions): Use string-width.
3486 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
3487
3488 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
3489
3490 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3491 Highlight regexp options. (Bug#16914)
3492
3493 2014-03-01 Martin Rudalics <rudalics@gmx.at>
3494
3495 * window.el (window--max-delta-1): Round down when calculating
3496 how many lines/columns we can get from a window.
3497
3498 2014-03-01 Glenn Morris <rgm@gnu.org>
3499
3500 * isearch.el (search-invisible): Doc fix.
3501
3502 * minibuffer.el (completion-hilit-commonality):
3503 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
3504 * comint.el (comint-dynamic-list-completions): Doc fix.
3505 * comint.el (comint-dynamic-list-completions):
3506 * filecache.el (file-cache-minibuffer-complete):
3507 * tempo.el (tempo-display-completions):
3508 * eshell/em-hist.el (eshell-list-history):
3509 Replace use of obsolete argument of display-completion-list.
3510
3511 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
3512
3513 * icomplete.el (icomplete-completions):
3514 Revert back to using "..." when ?… cannot be displayed.
3515
3516 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3517
3518 * finder.el (finder-unload-function): New function.
3519
3520 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3521
3522 * dframe.el (dframe-detach):
3523 * find-dired.el (find-dired, find-name-dired):
3524 * finder.el (finder-mode-map, finder-mode-syntax-table)
3525 (finder-headmark, finder-select, finder-mouse-select):
3526 Fix docstring typos.
3527
3528 2014-02-28 Martin Rudalics <rudalics@gmx.at>
3529
3530 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
3531 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
3532 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3533 Fix doc-string based on a suggestion by Nicolas Richard
3534 <theonewiththeevillook@yahoo.fr>.
3535 * help.el (with-help-window): Fix doc-string.
3536
3537 2014-02-28 Ivan Kanis <ivan@kanis.fr>
3538
3539 * net/shr.el (shr-image-animate): New option.
3540 (shr-put-image): Respect shr-image-animate.
3541
3542 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
3543
3544 * net/tramp-adb.el (tramp-adb-parse-device-names):
3545 Use `accept-process-output'.
3546 (tramp-adb-handle-file-truename): Cache the localname only.
3547 (tramp-adb-handle-make-directory)
3548 (tramp-adb-handle-delete-directory): Flush file properties correctly.
3549 (tramp-adb-handle-set-file-modes): Do not raise an error when file
3550 modes cannot be changed.
3551
3552 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3553 file properties of symlinks.
3554
3555 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
3556
3557 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3558 required/optional fields to match development biblatex. (Bug#16781)
3559
3560 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
3561
3562 * saveplace.el (toggle-save-place):
3563 Fix argument handling. (Bug#16673)
3564
3565 2014-02-28 Glenn Morris <rgm@gnu.org>
3566
3567 * minibuffer.el (completions-first-difference)
3568 (completions-common-part, completion-hilit-commonality): Doc fixes.
3569
3570 2014-02-28 Karl Berry <karl@gnu.org>
3571
3572 * info.el (Info-mode-map): Add H for describe-mode,
3573 to synchronize with standalone Info.
3574
3575 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
3576
3577 * progmodes/sql.el (sql-interactive-mode):
3578 Avoid setting global comint-input-ring-separator. (Bug#16814)
3579
3580 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3581
3582 * net/dbus.el (dbus--init-bus): Declare function.
3583 (dbus-path-local, dbus-interface-local): New defconst.
3584 (dbus-init-bus): Use them.
3585 (dbus-return-values-table): Extend doc.
3586 (dbus-handle-bus-disconnect): Extend error message.
3587
3588 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
3589
3590 * subr.el (y-or-n-p): Fix double space issue in message.
3591
3592 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3593
3594 * net/tramp.el (tramp-call-process): Improve trace message.
3595 (tramp-handle-insert-file-contents): Trace error case.
3596
3597 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3598 <insert-directory>: Use `tramp-handle-insert-directory'.
3599 (tramp-adb-handle-insert-directory): Remove function.
3600 (tramp-adb-send-command-and-check): New defun, replacing
3601 `tramp-adb-command-exit-status'. Change all callees.
3602 (tramp-adb-handle-file-attributes)
3603 (tramp-adb-handle-directory-files-and-attributes): Use it.
3604 (tramp-adb-ls-output-name-less-p):
3605 Use `directory-listing-before-filename-regexp'.
3606 (tramp-adb-handle-delete-directory): Flush also file properties of
3607 the truename of directory.
3608 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3609 (tramp-adb-handle-file-local-copy): Make the local copy readable.
3610 (tramp-adb-handle-write-region): Implement APPEND.
3611 (tramp-adb-handle-rename-file): Make it more robust. Flush file
3612 properties correctly.
3613 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3614 variables. Check for connected devices only when needed.
3615
3616 2014-02-27 Glenn Morris <rgm@gnu.org>
3617
3618 * minibuffer.el (completion-table-dynamic)
3619 (completion-table-with-cache): Doc fixes.
3620
3621 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3622 (completing-read-multiple): Doc fixes.
3623
3624 2014-02-27 Daniel Colascione <dancol@dancol.org>
3625
3626 * minibuffer.el (completion--nth-completion): Fix indentation.
3627
3628 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3629 explicit tramp path is empty.
3630
3631 2014-02-27 Glenn Morris <rgm@gnu.org>
3632
3633 * emacs-lisp/crm.el (completing-read-multiple):
3634 Empower help-enable-auto-load.
3635
3636 2014-02-26 Glenn Morris <rgm@gnu.org>
3637
3638 * startup.el (command-line): Don't init the tty in daemon mode.
3639
3640 Avoid calling tty-setup-hook twice, eg if a term file
3641 explicitly calls tty-run-terminal-initialization. (Bug#16859)
3642 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3643 (tty-create-frame-with-faces): Use it.
3644 * startup.el (command-line): Pass run-hook argument
3645 to tty-run-terminal-initialization.
3646
3647 * dired.el (dired-restore-desktop-buffer): Demote errors;
3648 eg in case a glob match fails. (Bug#16884)
3649
3650 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
3651
3652 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3653 error from `read-from-string'. (Bug#16850)
3654
3655 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3656 result of `completing-read' in the interactive form. (Bug#16854)
3657
3658 2014-02-25 Glenn Morris <rgm@gnu.org>
3659
3660 * image.el (image-animate, image-animate-timeout):
3661 Stop animating images in dead buffers. (Bug#16878)
3662
3663 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
3664
3665 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3666 Doc fixes.
3667 * startup.el (term-setup-hook): Doc fix. Make obsolete.
3668 * term/sun.el (sun-raw-prefix-hooks):
3669 Use tty-setup-hook instead of term-setup-hook.
3670 (terminal-init-sun): Construct message from bytecomp plist.
3671 * term/wyse50.el (enable-arrow-keys): Doc fix.
3672
3673 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3674
3675 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3676 Fix docstring typos.
3677
3678 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
3679
3680 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3681
3682 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3683
3684 * minibuffer.el (completion--try-word-completion):
3685 Fix error when completing M-x commands (bug#16808).
3686
3687 2014-02-24 Leo Liu <sdl.web@gmail.com>
3688
3689 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3690
3691 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3692
3693 * apropos.el (apropos-print): Avoid formatting error when
3694 apropos-do-all and apropos-compact-layout are both t.
3695
3696 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3697
3698 * apropos.el (apropos-property, apropos-all-words-regexp)
3699 (apropos-true-hit, apropos-variable, apropos-print):
3700 Fix docstring typos, and remove obsolete comment.
3701
3702 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3703
3704 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3705 Preserve trailing "/". (Bug#16851)
3706
3707 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3708
3709 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3710 after `=>' (bug#16811).
3711 (ruby-smie-rules): Handle the inconsistent second element of the
3712 list returned by `smie-indent--parent'.
3713 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3714 method call.
3715
3716 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3717
3718 * elec-pair.el (electric-pair-text-syntax-table)
3719 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3720 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3721 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3722 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3723
3724 2014-02-22 Glenn Morris <rgm@gnu.org>
3725
3726 * imenu.el (imenu--generic-function): Doc fix.
3727
3728 * register.el (frame-configuration-to-register): Make obsolete.
3729
3730 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
3731
3732 * desktop.el (desktop-save-buffer-p): Do not fail when
3733 desktop-files-not-to-save is nil. Return t for true result
3734 as the doc says.
3735
3736 2014-02-22 Daniel Colascione <dancol@dancol.org>
3737
3738 * net/secrets.el (secrets-create-item, secrets-search-items):
3739 Check that attribute values are strings, avoiding the construction
3740 of invalid dbus messages.
3741
3742 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3743
3744 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3745 defun-declarations-alist.
3746
3747 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3748
3749 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3750 (bug#16829).
3751
3752 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3753
3754 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3755 (whitespace-newline, whitespace-trailing, whitespace-line)
3756 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3757 (whitespace-space-after-tab): Fix typo in docstrings.
3758
3759 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3760
3761 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3762
3763 * electric.el (electric-indent-functions-without-reindent):
3764 Add `yaml-indent-line'.
3765
3766 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3767
3768 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3769 It has done nothing for years; should be removed after the release.
3770
3771 * simple.el (choose-completion): Fix docstring typo.
3772 (read-quoted-char-radix): Remove unneeded * in docstring.
3773 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3774 Don't escape parentheses unnecessarily in docstrings.
3775
3776 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3777
3778 Fix handling of window-min-height/-width (Bug#16738).
3779 * window.el (window--dump-window, window--dump-frame):
3780 New functions.
3781 (window--min-size-1): Account for window dividers.
3782 When window-resize-pixelwise is nil, delay rounding till after the
3783 sum of the window components has been calculated.
3784 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3785 nil make sure at least one text line and two text columns remain
3786 fully visible.
3787 (window-resize): Signal an error when window-resize-apply fails.
3788 (window--resize-child-windows): Fix calculation of by how many
3789 pixels a window can still be shrunk via window-new-normal.
3790 (adjust-window-trailing-edge): Call window--resizable with
3791 correct TRAIL argument.
3792
3793 (with-temp-buffer-window): Don't evaluate BODY within
3794 with-current-buffer (Bug#16816).
3795
3796 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3797
3798 * net/tramp.el (tramp-check-cached-permissions):
3799 Call `file-attributes' with `suffix' being a symbol but a string.
3800
3801 2014-02-21 Daniel Colascione <dancol@dancol.org>
3802
3803 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3804 (dbus-init-bus): New function: call into dbus-init-bus-1
3805 and installs a handler for the disconnect signal.
3806 (dbus-call-method): Rewrite to look for result in cons.
3807 (dbus-call-method-handler): Store result in cons.
3808 (dbus-check-event): Recognize events with nil sender as valid.
3809 (dbus-handle-bus-disconnect): New function. React to bus
3810 disconnection signal by synthesizing dbus error for each
3811 pending synchronous or asynchronous call.
3812 (dbus-notice-synchronous-call-errors): New function.
3813 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3814 is true, not all the time.
3815
3816 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3817
3818 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3819 Remove obsolescence declarations, these variables do not exist anymore.
3820
3821 * savehist.el (savehist-save-minibuffer-history)
3822 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3823 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3824 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3825 mostly, refer to "Savehist mode" when talking about the mode,
3826 and not the function.
3827
3828 * saveplace.el (save-place): Remove redundant info in docstring.
3829 (save-place-forget-unreadable-files, toggle-save-place)
3830 (save-place-forget-unreadable-files, save-place-dired-hook):
3831 Fix typos and remove unneeded backslashes.
3832
3833 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3834
3835 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3836 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3837
3838 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3839 <insert-directory>: Use `tramp-handle-insert-directory'.
3840 (tramp-gvfs-handle-insert-directory): Remove function.
3841
3842 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3843 Call `tramp-handle-insert-directory'.
3844
3845 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3846
3847 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3848 before the start of buffer/region (bug#16799).
3849
3850 2014-02-20 Glenn Morris <rgm@gnu.org>
3851
3852 * isearch.el (search-invisible): Doc fix.
3853
3854 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3855
3856 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3857 (bug#16657).
3858
3859 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3860
3861 * frameset.el (frameset-restore): Delay removing an old frame's
3862 duplicate id until the new frame has been correctly created.
3863
3864 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3865
3866 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3867 (tramp-check-cached-permissions): Call `file-attributes' if the
3868 cache is empty.
3869
3870 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3871 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3872
3873 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3874 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3875 (tramp-gvfs-maybe-open-connection): Set always connection
3876 properties, even if target is mounted already.
3877
3878 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3879 Set tramp-autoload cookie.
3880 (tramp-get-remote-touch): New defun.
3881 (tramp-sh-handle-set-file-times): Use it.
3882 (tramp-sh-handle-directory-files-and-attributes):
3883 Use `tramp-handle-directory-files-and-attributes' if neither stat
3884 nor perl are available on the remote host.
3885
3886 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3887 "/". Write long listing only when "l" belongs to the switches.
3888
3889 * net/trampver.el: Update release number.
3890
3891 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3892
3893 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3894
3895 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3896
3897 * window.el (window-state-put): Allow WINDOW to refer to an
3898 internal window (Bug#16793).
3899
3900 2014-02-19 Glenn Morris <rgm@gnu.org>
3901
3902 * textmodes/remember.el: Move provide statement to end.
3903 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3904 (remember-notes): Doc fixes.
3905
3906 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3907
3908 * delsel.el (delete-char): Restore incorrectly erased property
3909 (bug#16795).
3910
3911 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3912
3913 * frameset.el (frameset--restore-frame): When a frame is being reused
3914 and its root window is not alive, delete all the frame's windows before
3915 restoring the window state. This works around the issue in bug#16793.
3916
3917 2014-02-18 Glenn Morris <rgm@gnu.org>
3918
3919 * textmodes/remember.el (remember-data-directory)
3920 (remember-directory-file-name-format, remember-store-in-files)
3921 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3922 (remember-notes-save-and-bury-buffer)
3923 (remember-notes--kill-buffer-query): Doc fixes.
3924
3925 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3926
3927 2014-02-17 Alan Mackenzie <acm@muc.de>
3928
3929 Connect electric-indent-mode up with CC Mode. Bug #15478.
3930 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3931 to electric-indent-{,local-}-mode.
3932 (c-basic-common-init): Set electric-indent-inhibit.
3933 Initialise c-electric-flag from electric-indent-mode.
3934 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3935 New hook functions which propagate electric-indent-mode to CC mode.
3936
3937 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3938 hit, toggle electric-indent-local-mode.
3939
3940 * electric.el (electric-indent-mode-has-been-called):
3941 New variable.
3942
3943 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3944
3945 * frameset.el (frameset-cfg-id): New function.
3946 (frameset--reuse-frame, frameset-restore): Use it.
3947 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3948
3949 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3950
3951 * ido.el (ido-file-internal): Remove unused var `d'.
3952 Use \` for to match BoS. Fit within 80n columns.
3953
3954 2014-02-17 Daniel Colascione <dancol@dancol.org>
3955
3956 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3957 dbus-call-method check for completion using a busy-wait loop with
3958 gradual backoff.
3959
3960 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3961
3962 Sync with Tramp 2.2.9.
3963
3964 * net/trampver.el: Update release number.
3965
3966 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3967
3968 * ido.el (ido-file-internal): Don't add the name of an existing
3969 directory twice. (Bug#16747)
3970
3971 2014-02-16 Glenn Morris <rgm@gnu.org>
3972
3973 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3974 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3975
3976 2014-02-15 Michael R. Mauger <michael@mauger.com>
3977
3978 * progmodes/sql.el: Version 3.4
3979 (sql-oracle-options): New default value ("-L").
3980 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3981 (sql-placeholders-filter): Correct placeholder pattern.
3982 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3983 (sql-login-delay): New variable.
3984 (sql-product-interactive): Use it.
3985
3986 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3987
3988 * frameset.el (frameset--jump-to-register): Check that buffer is live
3989 (bug#16749).
3990
3991 2014-02-15 Glenn Morris <rgm@gnu.org>
3992
3993 * info.el (info-initialize): Revert 2014-01-10 change.
3994
3995 2014-02-14 Glenn Morris <rgm@gnu.org>
3996
3997 * replace.el (map-query-replace-regexp)
3998 (read-regexp-defaults-function, read-regexp): Doc fixes.
3999
4000 * dired.el (dired-read-regexp):
4001 * faces.el (list-faces-display):
4002 * misearch.el (multi-isearch-read-matching-buffers)
4003 (multi-isearch-read-matching-files):
4004 * play/cookie1.el (cookie-apropos):
4005 * progmodes/grep.el (grep-read-regexp): Doc fixes.
4006
4007 * textmodes/remember.el (remember): Use frameset-to-register
4008 rather than frame-configuration-to-register.
4009
4010 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
4011
4012 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
4013 incorrect keybinding.
4014
4015 2014-02-13 Daniel Colascione <dancol@dancol.org>
4016
4017 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
4018 when adding overlays so that line numbers from compiler match line
4019 numbers we use.
4020
4021 2014-02-13 Glenn Morris <rgm@gnu.org>
4022
4023 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
4024
4025 * jit-lock.el (jit-lock-mode): Doc fix.
4026
4027 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
4028
4029 * apropos.el (apropos-read-pattern): When the user passes an empty
4030 string, give a more helpful error message than "Wrong type
4031 argument: stringp, nil".
4032
4033 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
4034
4035 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
4036
4037 2014-02-13 Glenn Morris <rgm@gnu.org>
4038
4039 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
4040
4041 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
4042
4043 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
4044 shift-select commands.
4045
4046 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
4047
4048 * progmodes/js.el (js-indent-line): Don't widen.
4049 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
4050
4051 2014-02-12 Glenn Morris <rgm@gnu.org>
4052
4053 * icomplete.el (icomplete): Add info-link to defgroup.
4054 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
4055 (icomplete-minibuffer-map, icomplete-mode)
4056 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
4057
4058 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
4059 (package-menu-filter): Rename from package-menu-filter-interactive.
4060 Doc fix.
4061
4062 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
4063
4064 * frameset.el (frameset--jump-to-register): Select the required
4065 window and buffer before restoring position (bug#16696).
4066
4067 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
4068
4069 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
4070
4071 2014-02-10 Glenn Morris <rgm@gnu.org>
4072
4073 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
4074
4075 2014-02-10 Eli Zaretskii <eliz@gnu.org>
4076
4077 * w32-common-fns.el (x-get-selection): Doc fix.
4078 * select.el (x-get-selection): Doc fix. (Bug#15109)
4079
4080 * face-remap.el (face-remap-add-relative)
4081 (face-remap-remove-relative, face-remap-reset-base)
4082 (face-remap-set-base): Call force-mode-line-update to redisplay
4083 the current buffer due to potential change in faces. (Bug#16709)
4084
4085 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
4086
4087 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
4088 script more robustly.
4089
4090 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4091
4092 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
4093
4094 * simple.el (choose-completion): Doc fix (bug#14160).
4095
4096 * subr.el (event-start): Say what a nil EVENT value means.
4097
4098 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
4099 (bug#14197).
4100
4101 * progmodes/grep.el (find-program): Doc fix (bug#14289).
4102
4103 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
4104
4105 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
4106
4107 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
4108 predicate function (bug#15455).
4109
4110 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
4111
4112 * ielm.el (inferior-emacs-lisp-mode): Instead of
4113 `comment-use-global-state', set `comment-use-syntax'.
4114
4115 2014-02-10 Glenn Morris <rgm@gnu.org>
4116
4117 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
4118
4119 2014-02-09 Alan Mackenzie <acm@muc.de>
4120
4121 Fix c-invalidate-state-cache on narrowed buffers.
4122 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
4123 Widen when setting and clearing the CPP delimiter properties.
4124
4125 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
4126
4127 * help.el (describe-bindings): Doc fix (bug#9888).
4128
4129 * files.el (save-buffer): Use ARG as the parameter name for
4130 consistency (bug#10346).
4131 (save-buffer): Clarify the 0 argument (bug#10346).
4132
4133 * cus-edit.el (customize-apropos): Fix error string.
4134 (custom-buffer-create): Doc fix (bug#11122).
4135 (custom-sort-items): Doc fix (bug#11121).
4136
4137 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
4138
4139 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
4140 (icomplete-simple-completing-p): Mention the previous variable.
4141
4142 * font-lock.el (font-lock-value-in-major-mode): Clarify the
4143 meaning of the parameter (bug#12282).
4144
4145 * files.el (find-file-noselect): Clarify prompt when changing
4146 readedness (bug#13261).
4147 (locate-file): Suffixes aren't returned, so don't say that they
4148 are (bug#12674).
4149 (backup-inhibited): Doc clarification (bug#12525).
4150
4151 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
4152 before we actually start to delete things (bug#16331).
4153
4154 * subr.el (event-start): Doc fix (bug#14228).
4155 (event-end): Ditto.
4156
4157 2014-02-09 Glenn Morris <rgm@gnu.org>
4158
4159 * emacs-lisp/warnings.el (lwarn):
4160 Empower help-enable-auto-load. (Bug#15940)
4161
4162 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4163
4164 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
4165 (Bug#16690)
4166
4167 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
4168
4169 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4170 Insert output at end of buffer. (Bug#16120)
4171
4172 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4173
4174 * simple.el (choose-completion-string-functions): Document new
4175 calling convention (bug#14153).
4176 (execute-extended-command): Clarify doc string (bug#13373).
4177
4178 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
4179
4180 * find-dired.el (find-name-dired): Doc fix (bug#14290).
4181 (find-grep-dired): Doc fix (bug#14288).
4182
4183 2014-02-08 Juri Linkov <juri@jurta.org>
4184
4185 * isearch.el (isearch-quote-char): Check character validity
4186 like in `quoted-insert' (bug#16677).
4187
4188 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4189
4190 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
4191
4192 * isearch.el (isearch-hide-immediately): Doc clarification
4193 (bug#14723).
4194
4195 * simple.el (line-move): Document utility function used many
4196 places in the Emacs sources (bug#14843).
4197
4198 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
4199 (dired-prev-marked-file): Doc fix (bug#14855).
4200 (dired-up-directory): Doc fix (bug#14848).
4201
4202 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
4203
4204 * files.el (file-relative-name): Doc fix (bug#15159).
4205
4206 * fringe.el (fringe-styles): Doc fix (bug#15239).
4207
4208 * isearch.el (isearch-filter-predicate): Documentation typo fix
4209 (bug#15474).
4210
4211 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
4212
4213 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
4214
4215 * replace.el (replace-match-maybe-edit): Doc clarification
4216 (bug#15632).
4217
4218 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
4219
4220 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
4221
4222 2014-02-08 Glenn Morris <rgm@gnu.org>
4223
4224 * help-fns.el (describe-variable):
4225 Check {file,dir}-local-variables-alist, and buffer-file-name,
4226 in the correct buffer.
4227
4228 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
4229
4230 * help-fns.el (describe-variable): Fix the case where
4231 a value is directory-local with no dir-locals file. (Bug#16635)
4232
4233 2014-02-08 Glenn Morris <rgm@gnu.org>
4234
4235 * abbrev.el (edit-abbrevs-mode):
4236 Derive from fundamental-mode. (Bug#16682)
4237
4238 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
4239
4240 * simple.el (quoted-insert): Check character validity (bug#16677).
4241
4242 2014-02-07 Juri Linkov <juri@jurta.org>
4243
4244 * desktop.el (desktop-read): Claim the lock when the owner is not
4245 the current process. (Bug#16157)
4246
4247 2014-02-07 Juri Linkov <juri@jurta.org>
4248
4249 * desktop.el (desktop-buffers-not-to-save): Change default from nil
4250 to "\\` ". (Bug#16651)
4251
4252 2014-02-07 Juri Linkov <juri@jurta.org>
4253
4254 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
4255 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
4256 (desktop-auto-save-cancel-timer): New function with some code from
4257 `desktop-auto-save-set-timer'.
4258 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
4259 Instead of setting `desktop-save-mode' to nil, call
4260 `desktop-save-mode' with arg 0. (Bug#16630)
4261
4262 2014-02-07 Glenn Morris <rgm@gnu.org>
4263
4264 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
4265 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
4266 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
4267
4268 * obsolete/iswitchb.el: Move to obsolete/.
4269 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
4270 since obsolete/ is not scanned for autoloads.
4271 * emacs-lisp/authors.el (authors-valid-file-names):
4272 Add iswitchb.el.
4273
4274 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
4275 Disable now non-functional find-file-hook.
4276
4277 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
4278
4279 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
4280 instead of ";" in order to avoid additional prompts. Let heredoc
4281 scripts read from tty. (Bug#16582)
4282 (tramp-send-command): No special handling of heredocs, it isn't
4283 necessary anymore.
4284
4285 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
4286
4287 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
4288 with a space (bug#16664). Limit the symbols considered to the ones
4289 that are bound or fbound (bug#16646).
4290
4291 2014-02-06 Glenn Morris <rgm@gnu.org>
4292
4293 * epa.el (epa-mail-aliases): Doc fix.
4294
4295 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
4296
4297 * emacs-lisp/lisp.el (lisp-completion-at-point):
4298 Use `completion-table-merge' instead of `completion-table-in-turn'
4299 (bug#16604).
4300
4301 * minibuffer.el (completion-table-merge): New function.
4302
4303 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
4304
4305 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
4306 (tramp-sh-handle-set-file-acl)
4307 (tramp-sh-handle-start-file-process)
4308 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
4309 (tramp-find-executable, tramp-send-command): Use it.
4310
4311 2014-02-05 Glenn Morris <rgm@gnu.org>
4312
4313 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
4314
4315 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
4316
4317 * progmodes/python.el (python-shell-send-string)
4318 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
4319
4320 2014-02-04 Anders Lindgren <andlind@gmail.com>
4321
4322 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
4323 the names (bug#16620).
4324
4325 2014-02-03 Martin Rudalics <rudalics@gmx.at>
4326
4327 * faces.el (window-divider): New default value. Rewrite doc-string.
4328 (window-divider-first-pixel, window-divider-last-pixel): New faces.
4329
4330 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
4331
4332 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
4333 `protected' and `public' can also be called without arguments.
4334
4335 2014-02-03 Glenn Morris <rgm@gnu.org>
4336
4337 * register.el (window-configuration-to-register)
4338 (frame-configuration-to-register): Unadvertise unused argument.
4339 * frameset.el (frameset-to-register): Remove unused argument.
4340
4341 * frameset.el (frameset-to-register):
4342 * kmacro.el (kmacro-to-register):
4343 * register.el (increment-register):
4344 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
4345 (calc-append-to-register, calc-prepend-to-register):
4346 * play/gametree.el (gametree-layout-to-register)
4347 (gametree-apply-register-layout):
4348 * textmodes/picture.el (picture-clear-rectangle-to-register)
4349 (picture-yank-rectangle-from-register):
4350 * vc/emerge.el (emerge-combine-versions-register):
4351 Use register-read-with-preview to read registers.
4352
4353 2014-02-03 João Távora <joaotavora@gmail.com>
4354
4355 * elec-pair.el (electric-pair-backward-delete-char): Don't error
4356 when at beginning of (possibly narrowed) buffer.
4357
4358 2014-02-02 Daniel Colascione <dancol@dancol.org>
4359
4360 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
4361 Also try to display local help from just before point.
4362
4363 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
4364
4365 c-parse-state. Don't "append-lower-brace-pair" in certain
4366 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
4367 recognised as a comment.
4368
4369 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
4370 as well as normal comment starter.
4371 (c-parse-state-get-strategy): Extra return possibility
4372 'back-and-forward.
4373 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
4374 return value list to indicate replacement of a brace-pair cons
4375 with its car.
4376 (c-parse-state-1): With 'back-and-forward, only call
4377 c-append-lower-brace-pair-to state-cache when cons-separated.
4378
4379 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
4380
4381 * term/ns-win.el (ns-suspend-error): New function.
4382 (ns-initialize-window-system): Add ns-suspend-error to
4383 suspend-hook (Bug#16612).
4384
4385 2014-02-02 Daniel Colascione <dancol@dancol.org>
4386
4387 * progmodes/cc-defs.el (c-find-assignment-for-mode):
4388 Make loading cc-mode silent.
4389
4390 2014-02-02 Daniel Colascione <dancol@dancol.org>
4391
4392 * comint.el (comint-prompt-read-only): Change doc to suggest
4393 remap keybinding.
4394
4395 2014-02-02 Glenn Morris <rgm@gnu.org>
4396
4397 * register.el (register-read-with-preview, point-to-register)
4398 (window-configuration-to-register, frame-configuration-to-register)
4399 (jump-to-register, number-to-register, view-register, insert-register)
4400 (copy-to-register, append-to-register, prepend-to-register)
4401 (copy-rectangle-to-register): Doc fixes.
4402
4403 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4404
4405 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
4406 * emacs-lisp/find-func.el (find-function-C-source): Idem.
4407 * emacs-lisp/nadvice.el (advice--cd*r): New function.
4408 * help-fns.el (describe-function-1): Use it.
4409
4410 2014-02-02 Glenn Morris <rgm@gnu.org>
4411
4412 * register.el (register-preview-default): New function,
4413 split from register-preview.
4414 (register-preview-function): Rename from register-preview-functions,
4415 make it not a hook.
4416 (register-preview): Use register-preview-function.
4417 (register-read-with-preview): Error on non-character event. (Bug#16595)
4418
4419 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
4420
4421 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
4422 `:' before binary operators (bug#16609). Don't check for `:'
4423 before `[' and `(', or their syntax status. A percent literal
4424 can't end with either.
4425 (ruby-font-lock-keywords): For built-ins that require arguments,
4426 check that they're followed by something that looks like argument
4427 (bug#16610).
4428
4429 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
4430
4431 * subr.el (butlast): Document what an omitted N means (bug#13437).
4432 (nbutlast): Ditto.
4433
4434 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
4435
4436 * net/shr.el (shr-generic): Make into a defsubst to make the stack
4437 depth shallower (bug#16587).
4438 (shr-tag-svg): Respect `shr-inhibit-images'.
4439 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
4440
4441 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
4442
4443 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
4444 (ruby-smie-grammar): Make "." right-associative. Make its priority
4445 lower than the ternary and all binary operators.
4446 (ruby-smie-rules): Indent "(" relative to the first non-"."
4447 parent, or the first "." parent at indentation.
4448 Use `ruby-align-chained-calls' for indentation of "." tokens.
4449 (Bug#16593)
4450
4451 2014-01-31 Juri Linkov <juri@jurta.org>
4452
4453 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
4454 from `make-hash-table'.
4455
4456 * textmodes/ispell.el (ispell-init-process): Change message format
4457 to be consistent with other messages.
4458
4459 2014-01-31 Glenn Morris <rgm@gnu.org>
4460
4461 * delsel.el (delete-selection-mode): Doc fix.
4462
4463 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
4464 (trace-function-background): Doc fixes.
4465
4466 * ido.el (ido-use-virtual-buffers): Doc fix.
4467 Reset :version, since the default value has not changed.
4468
4469 * register.el (register-preview-delay, register-read-with-preview):
4470 Doc fixes.
4471
4472 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
4473 do not mess with mail-buffer position (fixes 2009-11-03 change).
4474 * progmodes/cc-mode.el (c-submit-bug-report):
4475 Check auto-fill-mode is bound. (Bug#16592)
4476
4477 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
4478
4479 * startup.el (fancy-splash-image-file): New function,
4480 split from fancy-splash-head.
4481 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
4482 so that we are both using the same image. (Bug#16574)
4483
4484 2014-01-30 Glenn Morris <rgm@gnu.org>
4485
4486 * simple.el (eval-expression): Doc fix.
4487
4488 * hexl.el (hexl-mode-hook):
4489 * ielm.el (ielm-mode-hook):
4490 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
4491 (lisp-interaction-mode-hook):
4492 * progmodes/cfengine.el (cfengine3-documentation-function):
4493 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
4494
4495 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4496
4497 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
4498 is a symbol (bug#16584).
4499
4500 2014-01-30 Glenn Morris <rgm@gnu.org>
4501
4502 * help.el (help-for-help-internal): Add "P" to text.
4503
4504 2014-01-29 Glenn Morris <rgm@gnu.org>
4505
4506 * simple.el (just-one-space, cycle-spacing): Doc fixes.
4507
4508 2014-01-28 Martin Rudalics <rudalics@gmx.at>
4509
4510 * window.el (fit-frame-to-buffer): Fix calculations for margins and
4511 height constraints.
4512
4513 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
4514
4515 * progmodes/hideif.el: Extend to full CPP expression syntax.
4516 (hif-token-alist): Add missing tokens.
4517 (hif-token-regexp): Add support for float/octal/hex immediates.
4518 (hif-string-literal-regexp): New const.
4519 (hif-tokenize): Recognize strings and float/octal/hex immediates.
4520 (hif-exprlist): New function.
4521 (hif-parse-if-exp): Use it.
4522 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
4523 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
4524 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
4525 (hif-logxor, hif-comma): New functions.
4526
4527 2014-01-28 Glenn Morris <rgm@gnu.org>
4528
4529 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
4530
4531 * indent.el (tab-stop-list): Doc fix. Add :version.
4532
4533 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
4534 (cvs-append-to-ignore): Add compatibility alias.
4535
4536 2014-01-27 Glenn Morris <rgm@gnu.org>
4537
4538 * dired.el (dired-hide-details-mode): Don't autoload it,
4539 since it cannot be used outside Dired buffers anyway.
4540
4541 * emulation/cua-base.el (cua-mode): Doc fix.
4542
4543 * dired.el (dired-hide-details-hide-symlink-targets)
4544 (dired-hide-details-hide-information-lines)
4545 (dired-hide-details-mode): Doc fixes.
4546
4547 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
4548 * strokes.el (strokes-file): Doc fix. Bump :version.
4549 (strokes-help): Doc fix.
4550 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
4551 * emulation/viper.el (viper): Doc fix for custom group.
4552 (top-level): Remove oh-so-no-longer-relevant text about vip.
4553 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4554
4555 * ido.el (ido-save-directory-list-file):
4556 * saveplace.el (save-place-file):
4557 * calendar/timeclock.el (timeclock-file):
4558 * net/quickurl.el (quickurl-url-file):
4559 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4560 * progmodes/idlwave.el (idlwave-config-directory):
4561 * textmodes/remember.el (remember-data-file):
4562 Bump :version.
4563
4564 2014-01-26 Glenn Morris <rgm@gnu.org>
4565
4566 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4567 Doc fix. Make obsolete.
4568 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4569
4570 * sort.el (delete-duplicate-lines): Doc fix.
4571
4572 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4573
4574 * progmodes/ada-mode.el (ada):
4575 * woman.el (woman): Link to info manual and Commentary section.
4576
4577 * progmodes/flymake.el (flymake):
4578 * nxml/nxml-mode.el (nxml):
4579 * net/eww.el (eww):
4580 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4581 * htmlfontify.el (htmlfontify):
4582 * ses.el (ses):
4583 * epa.el (epa):
4584 * ido.el (ido): Link to info manual.
4585
4586 2014-01-25 Leo Liu <sdl.web@gmail.com>
4587
4588 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4589
4590 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
4591
4592 * net/shr.el (shr-tag-img): Prefer the title over the alt text
4593 (bug#16537).
4594
4595 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
4596
4597 * net/eww.el (eww-download-callback):
4598 Fix reference to eww-download-directory.
4599
4600 * emacs-lisp/bytecomp.el (byte-compile-file):
4601 Remove unused local variable `file-name'.
4602
4603 2014-01-24 Glenn Morris <rgm@gnu.org>
4604
4605 * woman.el (woman-default-faces, woman-monochrome-faces):
4606 Fix obsolescence specification.
4607
4608 * subr.el (with-demoted-errors): Doc fix.
4609
4610 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
4611
4612 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4613 (cl--macroexp-fboundp): New function.
4614 (cl--make-type-test): Use it.
4615
4616 2014-01-23 Glenn Morris <rgm@gnu.org>
4617
4618 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4619 * simple.el (eval-expression): Doc fixes.
4620
4621 2014-01-22 Glenn Morris <rgm@gnu.org>
4622
4623 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4624
4625 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
4626
4627 * emacs-lisp/package.el: Write files silently.
4628 (package-autoload-ensure-default-file, package--write-file-no-coding)
4629 (package-generate-description-file, package--download-one-archive)
4630 (package-install-from-archive): Tell `write-region' to stay quiet.
4631 (package-menu-mode, package-menu--print-info): Omit the Archive column
4632 if there's only one archive.
4633 (package-all-keywords, package--has-keyword-p): Remove dead code.
4634
4635 2014-01-22 Glenn Morris <rgm@gnu.org>
4636
4637 * version.el (emacs-bzr-version-bzr): Fix typo.
4638
4639 * version.el (emacs-repository-get-version):
4640 Check either .bzr or .git, but not both.
4641 Make the git case actually use the DIR argument, and return nil
4642 rather than the empty string.
4643 Avoid error if .git exists but the git executable is not found.
4644
4645 2014-01-22 Martin Rudalics <rudalics@gmx.at>
4646
4647 Fixes in window size functions around Bug#16430 and Bug#16470.
4648 * window.el (window-total-size, window-size): New argument ROUND.
4649 (window--min-delta-1, window-min-delta, window--max-delta-1):
4650 Be more conservative when calculating the numbers of lines or
4651 columns a window can shrink (Bug#16430).
4652 (fit-window-to-buffer): Simplify code.
4653 * term.el (term-window-width): Call window-body-width again.
4654
4655 2014-01-22 Glenn Morris <rgm@gnu.org>
4656
4657 * image.el (image-format-suffixes): Doc fix.
4658
4659 * international/quail.el (quail-define-package): Doc fix.
4660
4661 * emacs-lisp/authors.el (authors-valid-file-names)
4662 (authors-renamed-files-alist): Additions.
4663
4664 * vc/vc-git.el (vc-git-print-log): Remove --follow;
4665 reverts 2014-01-09 change. (Bug#16422)
4666
4667 * calc/calc-embed.el (thing-at-point-looking-at):
4668 * emacs-lisp/map-ynp.el (x-popup-dialog):
4669 * obsolete/lmenu.el (x-popup-dialog):
4670 * emacs-lisp/package.el (url-recreate-url):
4671 * mail/mailclient.el (clipboard-kill-ring-save):
4672 * subr.el (x-popup-dialog): Update declaration.
4673 * mail/rmail.el (rmail-mime-message-p):
4674 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4675
4676 2014-01-21 Daniel Colascione <dancol@dancol.org>
4677
4678 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4679 Correctly detect when we're inside an arithmetic expansion form
4680 containing nested parenthesis.
4681 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4682 to detect cases where we shouldn't expand "<<" to a heredoc
4683 skeleton.
4684
4685 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4686
4687 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4688 (eldoc--message-command-p): New function.
4689 (eldoc-display-message-p): Use it.
4690 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4691 message is not automatically erased for us.
4692 (eldoc-print-current-symbol-info): Erase previous message, if any.
4693
4694 2014-01-21 Tassilo Horn <tsdh@gnu.org>
4695
4696 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4697 specify it's an interactive function.
4698
4699 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4700 Fix regex used for scanning for citation keys which failed for
4701 citations with optional arguments.
4702
4703 2014-01-21 Leo Liu <sdl.web@gmail.com>
4704
4705 * simple.el (read--expression): Don't enable eldoc-mode.
4706
4707 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4708
4709 * simple.el (move-beginning-of-line): Make sure we don't move forward
4710 (bug#16497).
4711
4712 2014-01-20 Juri Linkov <juri@jurta.org>
4713
4714 * saveplace.el (toggle-save-place, save-place-to-alist)
4715 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4716 'dired-mode) before checking for dired-directory. (Bug#16477)
4717
4718 2014-01-20 Juri Linkov <juri@jurta.org>
4719
4720 * indent.el (indent-line-to): Use backward-to-indentation
4721 instead of back-to-indentation. (Bug#16461)
4722
4723 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4724
4725 Revert some of the CANNOT_DUMP fix (Bug#16494).
4726 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4727 but fixing this can wait until after the next release.
4728 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4729
4730 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
4731
4732 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4733 Use `password-word-equivalents'.
4734 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4735 to t. (Bug#5664, Bug#13124)
4736
4737 2014-01-19 Alan Mackenzie <acm@muc.de>
4738
4739 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4740 points.
4741 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4742 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4743 * progmodes/cc-mode.el (c-before-change, c-after-change)
4744 (c-font-lock-fontify-region): Bind it here.
4745
4746 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4747
4748 * term.el (term-window-width): Call window-text-width instead of
4749 window-width (Bug#16470).
4750
4751 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4752
4753 * simple.el (password-word-equivalents): Remove duplicates.
4754 Sort, to make this easier next time.
4755 Downcase. Omit ": " after "jelszó".
4756
4757 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4758
4759 * term/common-win.el (saved-region-selection): Defvar it.
4760 (x-select-text): Set saved-region-selection (Bug#16382).
4761
4762 2014-01-18 Glenn Morris <rgm@gnu.org>
4763
4764 * emacs-lisp/authors.el (authors-aliases)
4765 (authors-renamed-files-alist): Add some entries.
4766
4767 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4768
4769 * net/tramp.el (tramp-password-prompt-regexp):
4770 Use `password-word-equivalents' if available.
4771 (tramp-action-password, tramp-process-one-action)
4772 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4773
4774 2014-01-17 Chong Yidong <cyd@gnu.org>
4775
4776 * simple.el (password-word-equivalents): New defcustom.
4777 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4778 to 24.4.
4779 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4780 to t. (Bug#13124)
4781
4782 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4783
4784 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4785 (ruby-align-to-stmt-keywords): Change the default value.
4786 Use `ruby-alignable-keywords' to generate the possible customization
4787 choices.
4788 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4789 keywords, check against the value of `ruby-alignable-keywords'
4790 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4791
4792 2014-01-17 Glenn Morris <rgm@gnu.org>
4793
4794 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4795
4796 Make M-x authors return zero *Authors Errors* from current logs.
4797 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4798 (authors-ignored-files): Add some entries, remove others.
4799 (authors-ambiguous-files, authors-valid-file-names):
4800 Add some entries.
4801 (authors-renamed-files-alist): Add, remove, and adjust entries.
4802 (authors-renamed-files-regexps): Add some entries.
4803 Remove some very broad ones. Make some entries `lax'.
4804 (authors-lax-changelogs): New constant.
4805 (authors-disambiguate-file-name): Treat top-level specially.
4806 (authors-lax-changelog-p): New function.
4807 (authors-canonical-file-name): Check file as written against
4808 authors-valid-file-names. Do not special-case etc/.
4809 Handle `lax' logs and authors-renamed-files-regexps elements.
4810
4811 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4812
4813 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4814 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4815 callers.
4816
4817 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4818
4819 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4820 Assume we're already in the proper buffer.
4821 Inspired by Anders Lindgren <andlind@gmail.com>.
4822 (follow-post-command-hook): Call it from the right buffer.
4823 (follow-comint-scroll-to-bottom): Adjust call.
4824 (follow-all-followers): Use get-buffer-window-list.
4825
4826 2014-01-15 Daniel Colascione <dancol@dancol.org>
4827
4828 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4829 `buffer-file-name' in interactive-form so that we don't leave
4830 pathless file names in `file-name-history'.
4831
4832 2014-01-15 Juri Linkov <juri@jurta.org>
4833
4834 * indent.el (indent-rigidly): Set deactivate-mark to nil
4835 in transient indentation mode. (Bug#16438)
4836
4837 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4838
4839 * emacs-lisp/package.el (package-desc-keywords): New function
4840 (Bug#16222).
4841 (describe-package-1, package-all-keywords)
4842 (package--has-keyword-p): Use it.
4843
4844 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4845
4846 * simple.el (define-alternatives): When creating the
4847 COMMAND-alternatives variable, assign COMMAND as its definition
4848 name so that `describe-variable' can relocate it.
4849
4850 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4851
4852 * font-lock.el (font-lock-keywords): Fix typo in docstring
4853 (bug#16307).
4854
4855 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4856
4857 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
4858 line instead of wrongly reset `add-coment' (bug#13577).
4859
4860 2014-01-14 Daiki Ueno <ueno@gnu.org>
4861
4862 * epa-file.el (epa-file-write-region): Encode the region according
4863 to `buffer-file-format'. Problem reported at:
4864 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4865
4866 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4867
4868 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4869 so it applies in the right buffer (bug#16410).
4870
4871 2014-01-13 Daniel Colascione <dancol@dancol.org>
4872
4873 * textmodes/rst.el (rst-define-key): Provide deprecated
4874 keybindings through named functions instead of anonymous ones so
4875 that "??" doesn't appear in describe-mode output.
4876
4877 2014-01-13 Bastien Guerry <bzg@gnu.org>
4878
4879 * simple.el (define-alternatives): Call the selected command
4880 interactively. When setting `COMMAND--implementation' for the
4881 first time, tell the user how to chose another implementation.
4882 Enhance the docstring.
4883
4884 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4885
4886 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4887 (log-edit--match-first-line): New function.
4888 (log-edit-font-lock-keywords): Use it.
4889 (log-edit-mode): Make jit-lock-defer-multiline work.
4890
4891 2014-01-13 Bastien Guerry <bzg@gnu.org>
4892
4893 * rect.el (rectangle-mark-mode): When the region is not active,
4894 display a message saying that the mark as been set and that
4895 rectangle mode is in use.
4896 (rectangle--highlight-for-redisplay): Only put an overlay with a
4897 visible vertical bar when (display-graphic-p) is non-nil.
4898 This partially fixes Bug#16403.
4899
4900 2014-01-13 Juri Linkov <juri@jurta.org>
4901
4902 * info.el (Info-find-file): Go to DIR before displaying the error
4903 about a nonexistent file if no previous Info file is visited.
4904 Use `user-error' instead of `error' for "Info file %s does not exist".
4905 (Info-find-node-2): In case of a nonexistent node in unwind forms
4906 go to the Top node if there is no previous node to revert to.
4907 (Bug#16405)
4908
4909 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4910
4911 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4912 * window.el (fit-frame-to-buffer): Fix doc-string.
4913 Respect window-min-height/-width. Fit pixelwise when
4914 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4915 when avoiding that frame goes partially off-screen.
4916 (fit-window-to-buffer): Respect window-min-height/-width
4917 (Bug#14096).
4918
4919 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4920
4921 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4922 after an empty line.
4923
4924 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4925
4926 * net/shr.el (shr-render-region): Autoload.
4927
4928 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4929
4930 * net/eww.el (eww-download-directory): Rename from
4931 `eww-download-path' (Bug#16419).
4932
4933 2014-01-12 Leo Liu <sdl.web@gmail.com>
4934
4935 * dired-x.el (dired-mode-map): Fix last change.
4936
4937 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4938
4939 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4940
4941 Spelling fixes.
4942 * emacs-lisp/generic.el (generic--normalize-comments):
4943 Rename from generic--normalise-comments. All uses changed.
4944 * play/bubbles.el (bubbles--neighborhood-score)
4945 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4946 (bubbles--neighborhood-available)
4947 (bubbles--update-neighborhood-score):
4948 Rename from names with 'neighbourhood'. All uses changed.
4949
4950 2014-01-12 Leo Liu <sdl.web@gmail.com>
4951
4952 Re-implement the feature of showing eldoc info after editing.
4953 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4954 (eldoc-edit-message-commands): New function.
4955 (eldoc-print-after-edit): New variable.
4956 (eldoc-pre-command-refresh-echo-area): Emit message only by
4957 eldoc-message-commands.
4958 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4959 if eldoc-print-after-edit is set. (Bug#16346)
4960 * simple.el (read--expression): Enable eldoc-mode.
4961 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4962
4963 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4964 Eric S. Raymond <esr@thyrsus.com>
4965
4966 * version.el (emacs-repository-get-version): Enhance so the
4967 function works correctly in either a Bazaar or Git repo.
4968
4969 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4970
4971 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4972 Goes with removal of the joke manpages from /etc.
4973
4974 2014-01-10 Kenichi Handa <handa@gnu.org>
4975
4976 * mail/rmail.el (rmail-get-coding-system):
4977 Check rmail-get-coding-function before "funcall"ing it.
4978
4979 2014-01-10 Glenn Morris <rgm@gnu.org>
4980
4981 * emacs-lisp/authors.el (authors-fixed-entries):
4982 Update for files that no longer exist.
4983
4984 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4985
4986 * version.el (emacs-bzr-get-version): Restore compatibilty with
4987 24.3 (Tested).
4988
4989 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4990
4991 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4992 and Podfile.
4993
4994 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4995
4996 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4997
4998 2014-01-10 Chong Yidong <cyd@gnu.org>
4999
5000 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
5001
5002 2014-01-10 Anders Lindgren <andlind@gmail.com>
5003
5004 * follow.el (follow-cache-command-list): Include right-char and
5005 left-char.
5006
5007 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
5008
5009 Spelling fixes.
5010 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
5011 * woman.el (woman-mark-horizontal-position):
5012 Rename from woman-mark-horizonal-position. Use changed.
5013
5014 2014-01-10 Glenn Morris <rgm@gnu.org>
5015
5016 * info.el (info-initialize): If running uninstalled, ensure our
5017 own info files are always found first, even if INFOPATH is set.
5018
5019 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
5020
5021 2014-01-09 David Engster <deng@randomsample.de>
5022
5023 * emacs-lisp/eieio-custom.el:
5024 * emacs-lisp/eieio-opt.el: Set generated autoload file to
5025 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
5026 * emacs-lisp/eieio.el: Regenerate autoloads.
5027
5028 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
5029
5030 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
5031 following renames. (Bug#8756)
5032
5033 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
5034
5035 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
5036 (bug#16382).
5037 (activate-mark): Add `no-tmm' argument.
5038 (set-mark, push-mark-command): Use it instead of running
5039 activate-mark-hook by hand.
5040
5041 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
5042
5043 In preparation for the move to git, sanitize out some
5044 Bazaar-specific names.
5045
5046 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
5047
5048 * version.el (emacs-bzr-version): Name changed to
5049 emacs-repository-version. Obsolete-variable alias made.
5050 * loadup.el: Follow through on this name change.
5051 * mail/emacsbug.el (report-emacs-bug): Factor out any
5052 assumption about the version control system in use.
5053
5054 2014-01-08 David Engster <deng@randomsample.de>
5055
5056 * help-fns.el (help-fns-describe-function-functions):
5057 New variable to call functions for augmenting help buffers.
5058 (describe-function-1): Remove explicit calls to
5059 `help-fns--compiler-macro', `help-fns--parent-mode' and
5060 `help-fns--obsolete'. Put them in above new variable instead, and
5061 call them through `run-hook-with-args'.
5062 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
5063 `eieio-describe-class'. Not meant for interactive use anymore,
5064 but to augment existing help buffers. Remove optional second
5065 argument. Create proper button for file location.
5066 Rewrite function to use `insert' instead of `princ' and `prin1' where
5067 possible.
5068 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
5069 (eieio-method-def, eieio-class-def): Move further up.
5070 (describe-method, describe-generic, eieio-describe-method):
5071 Remove aliases.
5072 (eieio-help-constructor, eieio-help-generic): Rename from
5073 `eieio-describe-constructor' and `eieio-describe-generic', resp.
5074 Rewrite to use `insert' in the current buffer and use proper help
5075 buttons.
5076 (eieio-help-find-method-definition)
5077 (eieio-help-find-class-definition): Also accept symbols as
5078 arguments.
5079 (eieio-help-mode-augmentation-maybee): Remove.
5080 (eieio-describe-class-sb): Use `describe-function'.
5081 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
5082 Add `eieio-help-generic' and `eieio-help-constructor'.
5083
5084 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
5085
5086 Spelling fixes.
5087 * language/china-util.el (hz-ascii-designation):
5088 Rename from hz-ascii-designnation.
5089 (hz-ascii-designation): Rename from hz-ascii-designnation.
5090 All uses changed.
5091
5092 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
5093
5094 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
5095 package-alist.
5096
5097 2014-01-08 Bastien Guerry <bzg@gnu.org>
5098
5099 * emacs-lisp/package.el (package-delete):
5100 Correctly delete the package from package-alist.
5101
5102 2014-01-08 Daiki Ueno <ueno@gnu.org>
5103
5104 * emacs-lisp/package.el (url-recreate-url): Declare.
5105 (url-http-target-url): Declare.
5106 (package-handle-response): Include requested URL in the error message.
5107 (package--check-signature): Don't re-signal errors from
5108 package--with-work-buffer. Suggested by Stefan Monnier.
5109
5110 2014-01-07 Bastien Guerry <bzg@gnu.org>
5111
5112 * minibuffer.el (completion--try-word-completion): When both a
5113 hyphen and a space are possible candidates for the character
5114 following a word, display both candidates. (Bug#15980)
5115
5116 2014-01-07 Martin Rudalics <rudalics@gmx.at>
5117
5118 * window.el (balance-windows-2): While rounding don't give a
5119 window more than the remainder. Bug#16351, bug#16383.
5120
5121 2014-01-07 Glenn Morris <rgm@gnu.org>
5122
5123 * menu-bar.el (menu-bar-help-extra-packages): Remove.
5124 (menu-bar-help-menu): Use view-external-packages instead.
5125
5126 2014-01-07 Bastien Guerry <bzg@gnu.org>
5127
5128 * emacs-lisp/package.el (package-delete): Also delete the package
5129 name from `package-alist', not its description only.
5130
5131 2014-01-07 Glenn Morris <rgm@gnu.org>
5132
5133 * help.el (view-external-packages):
5134 * menu-bar.el (menu-bar-help-extra-packages):
5135 Visit efaq.info rather than etc/MORE.STUFF.
5136
5137 2014-01-07 Juri Linkov <juri@jurta.org>
5138
5139 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
5140 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
5141
5142 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
5143 that shadows RET. (Bug#16342)
5144
5145 2014-01-07 Chong Yidong <cyd@gnu.org>
5146
5147 * isearch.el (isearch-yank-char, isearch-yank-word)
5148 (isearch-yank-line): Doc fix.
5149
5150 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
5151
5152 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
5153 * emacs-lisp/elint.el (elint-find-builtins):
5154 * emacs-lisp/eldoc.el (eldoc-symbol-function):
5155 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
5156 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
5157 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5158 * apropos.el (apropos-safe-documentation):
5159 * subr.el (symbol-file): Remove redundant fboundp.
5160 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
5161
5162 2014-01-06 Bastien Guerry <bzg@gnu.org>
5163
5164 * hl-line.el (global-hl-line-overlay): Make a local variable.
5165 (global-hl-line-overlays): New variable to store all overlays.
5166 (global-hl-line-mode): Don't delete overlays from the current
5167 buffer when `global-hl-line-sticky-flag' is non-nil.
5168 (global-hl-line-highlight): Add new overlays to
5169 `global-hl-line-overlays'.
5170 (global-hl-line-unhighlight-all): New function to delete all
5171 overlays when turning off `global-hl-line-mode'.
5172 This fixes Bug#16183.
5173
5174 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
5175
5176 * subr.el (set-transient-map): Fix nested case and docstring.
5177
5178 2014-01-06 Tassilo Horn <tsdh@gnu.org>
5179
5180 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
5181 `Texinfo' entry.
5182
5183 2014-01-06 Daniel Colascione <dancol@dancol.org>
5184
5185 Fix defun navigation in vc log view.
5186
5187 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
5188 like `beginning-of-defun'.
5189 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
5190 log-view-end-of-defun to log-view-end-of-defun-1. Replace
5191 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
5192 (log-view-extract-comment): Call `log-view-current-entry' directly
5193 instead of relying on broken `log-view-beginning-of-defun' behavior.
5194
5195 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
5196
5197 Spelling fixes.
5198 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
5199 * emacs-lisp/debug.el (cancel-debug-on-entry):
5200 * epg.el (epg-error-to-string):
5201 * files.el (recover-file):
5202 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
5203 * mail/emacsbug.el (report-emacs-bug-hook):
5204 * mail/sendmail.el (mail-recover):
5205 * ses.el (ses-yank-resize):
5206 * term/ns-win.el (ns-print-buffer):
5207 Spelling fixes in diagnostics, mostly for "canceled" with one L.
5208 * epg.el (epg-key-capability-alist): Rename from misspelled version.
5209 All uses changed.
5210 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
5211
5212 2014-01-06 Leo Liu <sdl.web@gmail.com>
5213
5214 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
5215 to avoid shadowing global key. (Bug#16354)
5216
5217 2014-01-06 Daniel Colascione <dancol@dancol.org>
5218
5219 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
5220 rst-mode.
5221
5222 2014-01-05 Martin Rudalics <rudalics@gmx.at>
5223
5224 * window.el (balance-windows): Add mising t to fix Bug#16351.
5225
5226 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5227
5228 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
5229 (bug#16285).
5230 (shr-insert): If we have a word that's longer than `shr-width',
5231 break after it anyway. Otherwise we'll do no breaking once we get
5232 such a long word.
5233
5234 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5235
5236 * net/eww.el (eww): Support single/double quote for search.
5237 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
5238 (eww-history-quit): Delete and use quit-window.
5239 (eww-history-kill): Delete, because it doesn't work well and
5240 not necessary.
5241 (eww-history-mode-map): Delete some keys and add easy-menu.
5242
5243 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
5244
5245 Fix misspelling of 'chinese' in rx (Bug#16237).
5246 * emacs-lisp/rx.el (rx-categories): Correct spelling of
5247 chinese-two-byte.
5248
5249 Change subword regexps back to vars (Bug#16296).
5250 * progmodes/subword.el (subword-forward-regexp)
5251 (subword-backward-regexp): Change these back to variables.
5252
5253 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5254
5255 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
5256 syntax-begin-function (bug#16247).
5257
5258 2014-01-03 Chong Yidong <cyd@gnu.org>
5259
5260 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
5261 (advice--docstring): Delete variable.
5262 (advice--make-1): Leave the docstring empty.
5263 (advice-add): Use function-documentation for advised docstring.
5264
5265 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
5266 Ignore function-documentation property when getting documentation.
5267 (ad-activate-advised-definition): Use function-documentation
5268 generate the docstring.
5269 (ad-make-advised-definition): Don't call
5270 ad-make-advised-definition-docstring.
5271 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5272 Delete functions.
5273
5274 * progmodes/sql.el (sql-help): Use function-documentation instead
5275 of dynamic-docstring-function property. No need to autoload now.
5276 (sql--help-docstring): New variable.
5277 (sql--make-help-docstring): Use it.
5278
5279 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5280
5281 * ielm.el (ielm-tab): Retarget.
5282 (ielm-map): Use ielm-tab for tab.
5283 (ielm-complete-filename): Use comint-filename-completion.
5284 (ielm-complete-symbol): Remove.
5285 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
5286 remove ielm-tab from completion-at-point-functions (bug#16224).
5287
5288 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
5289 Beware signals raised by predicates (bug#16201).
5290
5291 2014-01-02 Richard Stallman <rms@gnu.org>
5292
5293 * dired-aux.el (dired-do-print): Handle printer-name.
5294
5295 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
5296 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
5297 (rmail-epa-decrypt): Turn off mime processing.
5298
5299 * mail/rmail.el (rmail-make-in-reply-to-field):
5300 Add parens in message-id.
5301
5302 * mail/rmail.el (rmail-get-coding-function): Variable.
5303 (rmail-get-coding-system): Use it.
5304
5305 2013-12-31 Eli Zaretskii <eliz@gnu.org>
5306
5307 * international/mule-conf.el: Unify the charset indian-is13194.
5308 (indian-is13194): Specify unify-map.
5309
5310 2013-12-31 Leo Liu <sdl.web@gmail.com>
5311
5312 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
5313
5314 2013-12-30 Daniel Colascione <dancol@dancol.org>
5315
5316 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
5317 of printing a useless when we resume from sleep.
5318
5319 * progmodes/sh-script.el
5320 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
5321 in indentation code. (Bug#16233)
5322
5323 2013-12-28 João Távora <joaotavora@gmail.com>
5324
5325 * elec-pair.el (electric-pair-post-self-insert-function):
5326 Don't open extra newlines at beginning of buffer. (Bug#16272)
5327
5328 2013-12-28 Eli Zaretskii <eliz@gnu.org>
5329
5330 * frame.el (window-system-for-display): Don't allow to create a
5331 GUI frame from a -nw session on MS-Windows. (Bug#14739)
5332
5333 2013-12-28 Glenn Morris <rgm@gnu.org>
5334
5335 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
5336 Update callers.
5337
5338 * apropos.el (apropos-match-face):
5339 * calculator.el (calculator-displayer):
5340 * dabbrev.el (dabbrev-search-these-buffers-only):
5341 * face-remap.el (buffer-face-mode-face):
5342 * simple.el (yank-handled-properties):
5343 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
5344 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
5345 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
5346 (hashcash-double-spend-database):
5347 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
5348 (ruby-deep-indent-paren-style):
5349 * textmodes/flyspell.el (flyspell-auto-correct-binding):
5350 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
5351 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
5352 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
5353 Specify custom types.
5354
5355 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
5356 * bookmark.el (bookmark-bmenu-use-header-line):
5357 * doc-view.el (doc-view-scale-internally):
5358 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
5359 * register.el (register-preview-delay):
5360 * net/shr.el (shr-bullet):
5361 * progmodes/cfengine.el (cfengine-cf-promises)
5362 (cfengine-parameters-indent):
5363 * progmodes/octave.el (inferior-octave-error-regexp-alist):
5364 * textmodes/reftex-vars.el (reftex-label-regexps):
5365 * vc/log-edit.el (log-edit-setup-add-author): Add version.
5366
5367 * net/tls.el (tls-certtool-program): Fix default value.
5368
5369 * desktop.el (desktop-restore-in-current-display):
5370 * newcomment.el (comment-empty-lines):
5371 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
5372 (idlwave-pad-keyword):
5373 * progmodes/tcl.el (tcl-tab-always-indent):
5374 * textmodes/reftex-vars.el (reftex-index-default-tag):
5375 * elec-pair.el (electric-pair-skip-whitespace):
5376 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
5377
5378 * emacs-lisp/authors.el (authors-ignored-files)
5379 (authors-valid-file-names, authors-renamed-files-alist): Additions.
5380
5381 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
5382
5383 * shell.el (shell-dynamic-complete-command): Doc fix.
5384 (shell--command-completion-data): Shell completion now matches
5385 executable filenames from the current buffer's directory, on
5386 systems in which this behavior is the default (windows-nt, ms-dos).
5387
5388 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5389
5390 * net/shr.el (shr-insert): Don't infloop if the width is zero.
5391
5392 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
5393
5394 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
5395 (bug#16251).
5396
5397 * electric.el: Move all electric-pair-* to elec-pair.el.
5398 * elec-pair.el: New file, split from electric.el.
5399
5400 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5401
5402 * net/shr.el (shr-find-fill-point): Don't try to fill if the
5403 indentation level is larger than the width, because that will
5404 infloop.
5405 (shr-insert): Fill repeatedly long texts, so that Japanese is
5406 formatted correctly (bug#16263).
5407 (shr-find-fill-point): Off by one error in comparison with the
5408 indentation.
5409
5410 2013-12-26 João Távora <joaotavora@gmail.com>
5411
5412 * electric.el (electric-pair-mode): More flexible engine for skip-
5413 and inhibit predicates, new options for pairing-related functionality.
5414 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
5415 if that keeps or improves their balance in buffers.
5416 (electric-pair-delete-adjacent-pairs): Delete the pair when
5417 backspacing over adjacent matched delimiters.
5418 (electric-pair-open-extra-newline): Open extra newline when
5419 inserting newlines between adjacent matched delimiters.
5420 (electric--sort-post-self-insertion-hook):
5421 Sort post-self-insert-hook according to priority values when
5422 minor-modes are activated.
5423 * simple.el (newline-and-indent): Call newline with interactive
5424 set to t.
5425 (blink-paren-post-self-insert-function): Set priority to 100.
5426 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5427 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
5428 comments. Locally set electric-pair-skip-whitespace to 'chomp and
5429 electric-pair-open-newline-between-pairs to nil.
5430
5431 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
5432
5433 * progmodes/python.el: Use lexical-binding.
5434 (python-nav-beginning-of-defun): Stop searching ASAP.
5435
5436 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
5437
5438 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
5439 Fix interactive spec. Doc fix. (Bug#15754)
5440
5441 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
5442
5443 * emacs-lisp/byte-run.el (eval-when-compile):
5444 * progmodes/cc-defs.el (cc-eval-when-compile):
5445 Fix edebug spec (bug#16184).
5446
5447 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5448
5449 * net/shr.el (shr-visit-file): Remove debugging function.
5450 (shr-insert): Don't infloop if we can't find a good place to break
5451 the line (bug#16256).
5452
5453 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
5454
5455 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
5456 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
5457 python-nav-lisp-forward-sexp-safe.
5458 (python-nav--forward-sexp): New argument SAFE allows switching
5459 forward sexp movement behavior for parens.
5460 (python-nav-forward-sexp): Throw errors on unterminated parens
5461 (Bug#16191).
5462 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
5463 (python-nav-backward-sexp-safe): New functions.
5464 (python-shell-buffer-substring):
5465 Use `python-nav-forward-sexp-safe'.
5466
5467 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5468
5469 * net/shr.el (shr-find-fill-point): Don't break lines before a
5470 quotation mark.
5471 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
5472 (shr-find-fill-point): Remove the special checks for the quotation
5473 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
5474
5475 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5476
5477 * net/eww.el (eww-form-textarea): Use a different face for
5478 textareas than text input since they have different keymaps
5479 (bug#16142).
5480
5481 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
5482
5483 * progmodes/python.el (python-nav-beginning-of-statement):
5484 Speed up (Bug#15295).
5485
5486 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5487
5488 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
5489 the window configuration.
5490
5491 2013-12-24 Eli Zaretskii <eliz@gnu.org>
5492
5493 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
5494 we run on MS-Windows or MS-DOS.
5495
5496 2013-12-24 Martin Rudalics <rudalics@gmx.at>
5497
5498 * window.el (balance-windows-area): Call window-size instead of
5499 window-height and window-width. Bug#16241.
5500
5501 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5502
5503 * net/eww.el (eww-bookmark-quit): Remove.
5504 (eww-bookmark-browse): Restore the window configuration when you
5505 choose a bookmark (bug#16144).
5506
5507 2013-12-24 Daniel Colascione <dancol@dancol.org>
5508
5509 * icomplete.el: Remove redundant :group arguments to `defcustom'
5510 throughout.
5511 (icomplete-show-matches-on-no-input): New customizable variable.
5512 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
5513 we have something to show.
5514 (icomplete-exhibit): Compute completions even if we have no user input.
5515
5516 2013-12-23 Daniel Colascione <dancol@dancol.org>
5517
5518 * icomplete.el: Move `provide' to end of file.
5519
5520 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
5521
5522 * net/gnutls.el (gnutls-verify-error): Add version tag.
5523
5524 2013-12-23 Chong Yidong <cyd@gnu.org>
5525
5526 * subr.el (set-transient-map): Rename from
5527 set-temporary-overlay-map. Doc fix.
5528
5529 * face-remap.el (text-scale-adjust):
5530 * indent.el (indent-rigidly):
5531 * kmacro.el (kmacro-call-macro):
5532 * minibuffer.el (minibuffer-force-complete):
5533 * repeat.el (repeat):
5534 * simple.el (universal-argument--mode):
5535 * calendar/todo-mode.el (todo-insert-item--next-param):
5536 * progmodes/f90.el (f90-abbrev-start): Callers changed.
5537
5538 * indent.el (indent-rigidly): Use substitute-command-keys.
5539
5540 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5541
5542 * net/eww.el (eww-tag-select): Add text-property to jump to next
5543 select field.
5544 (eww): Add non-supported ftp error.
5545
5546 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5547
5548 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
5549 comments. Handle electric indent after typing `?' and `!'.
5550
5551 2013-12-22 Chong Yidong <cyd@gnu.org>
5552
5553 * faces.el (face-spec-recalc): If the theme specs are not
5554 applicable to a frame, fall back on the defface spec.
5555 This prevents themes from obliterating faces on low-color terminals.
5556
5557 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5558
5559 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5560 after `{'. We need it after block openers, and it doesn't seem
5561 to hurt after hash openers.
5562
5563 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5564
5565 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5566 extracted from `ruby-smie-rules'.
5567 (ruby--electric-indent-chars): New variable.
5568 (ruby--electric-indent-p): New function.
5569 (ruby-mode): Use `electric-indent-functions' instead of
5570 `electric-indent-chars'.
5571
5572 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5573
5574 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5575 docstring.
5576 (ruby-smie-rules): Indent plus one level after `=>'.
5577
5578 2013-12-21 Richard Stallman <rms@gnu.org>
5579
5580 * simple.el (newline): Doc fix.
5581
5582 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5583
5584 * net/eww.el (eww-list-histories, eww-list-histories)
5585 (eww-history-browse, eww-history-quit, eww-history-kill)
5586 (eww-history-mode-map, eww-history-mode): New command and
5587 functions to list browser histories.
5588 (eww-form-text): Support text form with disabled
5589 and readonly attributes.
5590 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5591
5592 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5593
5594 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5595 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5596 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5597 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5598 Use `user-error'.
5599 (eww-bookmark-mode-map): Add menu.
5600 (eww-render, eww-mode): Use `setq-local'.
5601 (eww-tool-bar-map): New variable.
5602 (eww-mode): Set `tool-bar-map'.
5603 (eww-view-source): Check for `html-mode' with `fboundp'.
5604
5605 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5606
5607 * net/shr.el (shr--extract-best-source): Don't bug out on audio
5608 elements with text inside. Also remove debugging.
5609
5610 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
5611
5612 * cus-start.el (all): Add ns-use-srgb-colorspace.
5613
5614 2013-12-21 Chong Yidong <cyd@gnu.org>
5615
5616 * custom.el (custom-theme-recalc-face): Do nothing if the face is
5617 undefined. Thus, theme settings for undefined faces do not take
5618 effect until the faces are defined with defface, the same as with
5619 theme variables.
5620
5621 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5622 (face-spec-reset-face): Don't assign extra properties in temacs.
5623 (face-spec-recalc): Apply X resources too.
5624
5625 2013-12-21 Chong Yidong <cyd@gnu.org>
5626
5627 * faces.el (face-spec-set):
5628 * cus-face.el (custom-theme-set-faces, custom-set-faces):
5629 * custom.el (defface): Doc fixes (Bug#16203).
5630
5631 * indent.el (indent-rigidly-map): Add docstring, and move commands
5632 into named functions.
5633 (indent-rigidly-left, indent-rigidly-right)
5634 (indent-rigidly-left-to-tab-stop)
5635 (indent-rigidly-right-to-tab-stop): New functions. Decide on
5636 indentation direction based on bidi direction, and accumulate
5637 sequential commands in a single undo boundary.
5638 (indent-rigidly--pop-undo): New utility function.
5639
5640 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
5641
5642 * faces.el (read-face-name): Require crm.el when using crm-separator.
5643
5644 2013-12-20 Daniel Colascione <dancol@dancol.org>
5645
5646 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5647 so that we don't reflow comments into the shebang line.
5648
5649 2013-12-20 Juri Linkov <juri@jurta.org>
5650
5651 * saveplace.el (save-place-to-alist): Add `dired-filename' as
5652 a position when `dired-directory' is non-nil. Check integer
5653 positions with `integerp'.
5654 (toggle-save-place, save-places-to-alist): Add check for
5655 `dired-directory'.
5656 (save-place-find-file-hook): Check integer positions with
5657 `integerp'.
5658 (save-place-dired-hook): Use `dired-goto-file' when
5659 `dired-filename' is found in the assoc list. Check integer
5660 positions with `integerp'.
5661 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5662
5663 * dired.el (dired-initial-position-hook): Rename back from
5664 `dired-initial-point-hook'.
5665 (dired-initial-position): Rename `dired-initial-point-hook' to
5666 `dired-initial-position-hook'.
5667 (dired-file-name-at-point): Doc fix. (Bug#15329)
5668
5669 2013-12-20 Juri Linkov <juri@jurta.org>
5670
5671 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5672 (read-regexp-suggestions): New function.
5673 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5674 Use `read-regexp-suggestions'. Add non-empty default to history
5675 for empty input.
5676 (occur-read-regexp-defaults-function): Remove function.
5677 (occur-read-primary-args): Use `regexp-history-last' instead of
5678 `occur-read-regexp-defaults-function'.
5679
5680 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5681 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5682 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5683 `hi-lock-read-regexp-defaults-function'. Doc fix.
5684 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5685 with `find-tag-default-as-symbol-regexp'. Doc fix.
5686 (hi-lock-read-regexp-defaults): Remove function.
5687 (hi-lock-regexp-okay): Add check for null.
5688
5689 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5690 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5691
5692 * subr.el (find-tag-default-as-symbol-regexp): New function.
5693 (find-tag-default-as-regexp): Move symbol regexp formatting to
5694 `find-tag-default-as-symbol-regexp'.
5695
5696 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5697
5698 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5699 (Bug#14179)
5700
5701 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5702
5703 * calendar/todo-mode.el: New implementation of item insertion
5704 commands and key bindings.
5705 (todo-key-prompt): New face.
5706 (todo-insert-item): New command.
5707 (todo-insert-item--parameters): New defconst, replacing defvar
5708 todo-insertion-commands-args-genlist.
5709 (todo-insert-item--param-key-alist): New defconst, replacing
5710 defvar todo-insertion-commands-arg-key-list.
5711 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5712 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5713 (todo-insert-item--next-param): New functions.
5714 (todo-insert-item--args, todo-insert-item--argleft)
5715 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5716 New variables.
5717 (todo-key-bindings-t): Change binding of "i" from
5718 todo-insertion-map to todo-insert-item.
5719 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5720 (todo-insertion-command-name, todo-insertion-commands-names)
5721 (todo-define-insertion-command, todo-insertion-commands)
5722 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5723
5724 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5725
5726 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5727 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5728 eval-when-compile.
5729 (todo-move-category): Allow choosing a non-existing todo file to
5730 move the category to, and create that file.
5731 (todo-default-priority): New user option.
5732 (todo-set-item-priority): Use it.
5733 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5734 (desktop-restore-file-buffer): Declare.
5735 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5736 (todo-modes-set-2): Locally set desktop-save-buffer to
5737 todo-desktop-save-buffer.
5738 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5739 (auto-mode-alist): Add autoload cookie.
5740
5741 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5742
5743 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5744 helpers.el was a poor choice of name.
5745 (string-remove-prefix): New function.
5746 (string-remove-suffix): New function.
5747
5748 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5749
5750 Fix assignment for new window total sizes.
5751 * window.el (window--pixel-to-size): Remove function.
5752 (window--pixel-to-total-1, window--pixel-to-total):
5753 Fix calculation of new total sizes.
5754
5755 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5756
5757 * comint.el (comint-output-filter): Fix rear-nonsticky property
5758 placement (Bug#16010).
5759
5760 2013-12-20 Chong Yidong <cyd@gnu.org>
5761
5762 * faces.el (read-color): Minor fix for completion function.
5763
5764 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5765
5766 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5767 New option. (Bug#16182)
5768 (ruby-smie--indent-to-stmt-p): Use it.
5769 (ruby-smie-rules): Revert the logic in the handling of `when'.
5770 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5771 (ruby-deep-arglist, ruby-deep-indent-paren)
5772 (ruby-deep-indent-paren-style): Update docstrings to note that the
5773 vars don't have any effect with SMIE.
5774
5775 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5776
5777 * calc/calc.el (calc-enter, calc-pop): Use the variable
5778 `calc-context-sensitive-enter'.
5779
5780 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5781
5782 * net/shr.el (shr-insert): Protect against infloops in degenerate
5783 tables.
5784
5785 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5786
5787 * progmodes/octave.el (octave): Add link to manual and octave
5788 homepage.
5789 (octave-mode-menu): Link to octave-mode manual.
5790
5791 2013-12-20 Leo Liu <sdl.web@gmail.com>
5792
5793 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5794 insertion using skeleton-end-newline. (Bug#16138)
5795
5796 2013-12-20 Juri Linkov <juri@jurta.org>
5797
5798 * replace.el (occur-engine): Use `add-face-text-property'
5799 to add the face property to matches and titles. (Bug#14645)
5800
5801 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5802 the palette of other hi-lock colors.
5803 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5804
5805 2013-12-19 Juri Linkov <juri@jurta.org>
5806
5807 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5808 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5809 (minibuffer-history-symbol): Move variable declaration closer to
5810 its usage.
5811
5812 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5813 (Bug#14785)
5814
5815 2013-12-19 Juri Linkov <juri@jurta.org>
5816
5817 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5818 New function.
5819 (log-edit-hook): Add it to :options. (Bug#16170)
5820
5821 2013-12-19 Juri Linkov <juri@jurta.org>
5822
5823 * simple.el (eval-expression-print-format): Don't check for
5824 command names and the last command. Always display additional
5825 formats of the integer result in the echo area, and insert them
5826 to the current buffer only with a zero prefix arg.
5827 Display character when char-displayable-p is non-nil.
5828 (eval-expression): With a zero prefix arg, set `print-length' and
5829 `print-level' to nil, and insert the integer values from
5830 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5831
5832 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5833 `eval-last-sexp-arg-internal'. Doc fix.
5834 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5835 `eval-last-sexp-print-value'. Doc fix.
5836 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5837 Set `print-length' and `print-level' to nil when arg is zero.
5838 (eval-last-sexp): Doc fix.
5839 (eval-defun-2): Print the integer values from
5840 `eval-expression-print-format' at the end.
5841
5842 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5843 values from `eval-expression-print-format' at the end.
5844
5845 * ielm.el (ielm-eval-input): Print the integer
5846 values from `eval-expression-print-format' at the end.
5847
5848 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5849
5850 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5851 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5852
5853 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5854
5855 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5856 (hl-line-highlight, global-hl-line-highlight): Use it.
5857 (hl-line-overlay): Use defvar-local.
5858
5859 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5860
5861 * term/ns-win.el: Require dnd.
5862 (global-map): Remove drag items.
5863 (ns-insert-text, ns-set-foreground-at-mouse)
5864 (ns-set-background-at-mouse):
5865 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5866 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5867 New functions.
5868
5869 2013-12-19 Glenn Morris <rgm@gnu.org>
5870
5871 * emacs-lisp/ert.el (ert-select-tests):
5872 Fix string/symbol mixup. (Bug#16121)
5873
5874 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5875
5876 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5877 keywords to their parent.
5878
5879 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5880
5881 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5882 first arg to be a string (fixed dead code), or an operator symbol.
5883 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5884 operator symbols.
5885 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5886 did nothing. Don't respond to `(:after ".")', it will be called
5887 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5888 change anything. Only return indentation for binary operators
5889 when they are hanging. De-dent opening paren when its parent is
5890 `.', otherwise it looks bad when the dot is not at bol or eol
5891 (bug#16182).
5892
5893 2013-12-19 Juri Linkov <juri@jurta.org>
5894
5895 * replace.el (query-replace-read-args): Split a non-negative arg
5896 and a negative arg into separate elements.
5897 (query-replace, query-replace-regexp, replace-string)
5898 (replace-regexp): Add arg `backward'. Doc fix.
5899 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5900 move point to the beginning of the match.
5901 (replace-search, replace-highlight): Use new arg `backward'
5902 to set the value of `isearch-forward'.
5903 (perform-replace): Add arg `backward' and use it to perform
5904 replacement backward. (Bug#14979)
5905
5906 * isearch.el (isearch-query-replace): Use a negative prefix arg
5907 to call `perform-replace' with a non-nil arg `backward'.
5908
5909 2013-12-18 Juri Linkov <juri@jurta.org>
5910
5911 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5912 to the default list. Move `log-edit-show-files' to the end.
5913 Add more available functions to options.
5914 (log-edit): Move default specific settings to
5915 `log-edit-insert-message-template'. Don't move point.
5916 (log-edit-insert-message-template): New function.
5917 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5918 (Bug#16170)
5919
5920 2013-12-18 Juri Linkov <juri@jurta.org>
5921
5922 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5923 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5924
5925 2013-12-18 Leo Liu <sdl.web@gmail.com>
5926
5927 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5928 (Bug#16186)
5929
5930 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5931
5932 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5933 formats for displaying file sizes when the -s switch is given.
5934 Instead, compute a separate format for displaying the size in
5935 blocks, which is displayed in addition to the "regular" size.
5936 When -h is given in addition to -s, produce size in blocks in
5937 human-readable form as well. (Bug#16179)
5938
5939 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5940
5941 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5942 Reference tables with ~\ref{...} instead of only \ref{...}.
5943
5944 2013-12-18 Chong Yidong <cyd@gnu.org>
5945
5946 * cus-edit.el (custom-magic-alist): Fix "themed" description
5947 (Bug#14348).
5948
5949 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5950 is non-nil, do not create a new entry in the symbol's theme-value
5951 or theme-face property; update theme-settings only (Bug#14664).
5952 (custom-available-themes): Doc fix.
5953
5954 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5955 (Bug#15674).
5956
5957 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5958
5959 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5960
5961 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5962 (Bug#13914).
5963
5964 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5965
5966 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5967
5968 2013-12-18 Glenn Morris <rgm@gnu.org>
5969
5970 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5971 * cus-start.el (load-prefer-newer): New option.
5972
5973 2013-12-18 Le Wang <l26wang@gmail.com>
5974
5975 * comint.el (comint-previous-matching-input-from-input):
5976 Retain point (Bug#13404).
5977
5978 2013-12-18 Chong Yidong <cyd@gnu.org>
5979
5980 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5981
5982 2013-12-18 Glenn Morris <rgm@gnu.org>
5983
5984 * mail/emacsbug.el (report-emacs-bug):
5985 Only mention enable-multibyte-characters if non-standard.
5986
5987 2013-12-17 Juri Linkov <juri@jurta.org>
5988
5989 * arc-mode.el (archive-extract-by-file): Check if directory exists
5990 before deletion to not show irrelevant errors if it doesn't exist.
5991
5992 2013-12-17 Juri Linkov <juri@jurta.org>
5993
5994 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5995 (Bug#14751)
5996
5997 * net/eww.el (browse-web): Add alias to `eww'.
5998 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5999 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
6000
6001 * net/browse-url.el (browse-url-browser-function): Move `eww'
6002 closer to similar functions.
6003
6004 * startup.el (fancy-startup-screen, fancy-about-screen):
6005 Set browse-url-browser-function to eww-browse-url locally.
6006 (Bug#14751)
6007
6008 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
6009
6010 * window.el (window--pixel-to-total): Remove unused `mini' var.
6011 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
6012 (split-window): Remove unused `new' var.
6013 (window--display-buffer): Remove unused `frame' and `delta' vars.
6014 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
6015 and display-width'.
6016
6017 2013-12-17 Martin Rudalics <rudalics@gmx.at>
6018
6019 * dired.el (dired-mark-pop-up):
6020 * register.el (register-preview): Don't bind
6021 split-height-threshold here since it's now done in
6022 display-buffer-below-selected.
6023
6024 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
6025
6026 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
6027 xterm-rgb-convert-to-16bit.
6028 (rxvt-register-default-colors): Standardize with
6029 xterm-register-default-colors (Bug#14078).
6030
6031 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
6032
6033 * simple.el (kill-region): Pass mark first, then point, so that
6034 kill-append works right (Bug#12819).
6035 (copy-region-as-kill, kill-ring-save): Likewise.
6036
6037 2013-12-17 Leo Liu <sdl.web@gmail.com>
6038
6039 * net/rcirc.el (rcirc-add-face):
6040 * eshell/em-prompt.el (eshell-emit-prompt):
6041 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
6042 (Bug#16167)
6043
6044 2013-12-17 Chong Yidong <cyd@gnu.org>
6045
6046 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
6047 Suggested by Xue Fuqiao.
6048
6049 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
6050
6051 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
6052
6053 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
6054
6055 * net/shr.el (shr-insert-document): Remove unused var
6056 `shr-preliminary-table-render'.
6057 (shr-rescale-image): Remove unused arg `force'.
6058 (shr-put-image): Update calls accordingly.
6059 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
6060
6061 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
6062
6063 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
6064 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
6065 :close-all, to see which indentation method to use (Bug#16116).
6066 (smie-rules-function): Document the method :close-all.
6067
6068 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6069
6070 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
6071
6072 * net/eww.el (eww-display-html): If we can't find the anchor we're
6073 looking for, then go to point-min.
6074
6075 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
6076
6077 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
6078 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
6079 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
6080 Expand dir too, in case it's relative.
6081
6082 2013-12-16 Juri Linkov <juri@jurta.org>
6083
6084 * desktop.el (desktop-auto-save-timeout): Change default to
6085 `auto-save-timeout'. Doc fix.
6086 (desktop-save): Skip the timestamp in desktop-saved-frameset
6087 when checking for auto-save changes.
6088 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
6089 `desktop-auto-save' is called repeatedly by the idle timer.
6090 (desktop-auto-save-set-timer): Replace `run-with-timer' with
6091 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
6092 (Bug#15331)
6093
6094 2013-12-16 Juri Linkov <juri@jurta.org>
6095
6096 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
6097 (Bug#16035)
6098 (isearch-pre-command-hook): Check `this-command' for symbolp.
6099
6100 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
6101
6102 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
6103
6104 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
6105
6106 * progmodes/cfengine.el (cfengine3--current-word): Remove.
6107 (cfengine3--current-function): Bring in the current-function
6108 functionality from `cfengine3--current-word'.
6109 (cfengine3-completion-function): Bring in the
6110 bounds-of-current-word functionality from
6111 `cfengine3--current-word'.
6112
6113 2013-12-16 Martin Rudalics <rudalics@gmx.at>
6114
6115 * window.el (display-buffer-below-selected):
6116 Bind split-height-threshold to 0 as suggested by Juri Linkov.
6117
6118 2013-12-16 Leo Liu <sdl.web@gmail.com>
6119
6120 * progmodes/compile.el (compile-goto-error): Do not push-mark.
6121 Remove NOMSG arg and all uses changed.
6122
6123 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
6124
6125 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
6126 (cua--deactivate-rectangle): Don't deactivate the mark.
6127 (cua-set-rectangle-mark): Don't set mark-active since
6128 cua--activate-rectangle already does it for us.
6129 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
6130 non-rectangular region.
6131
6132 * emulation/cua-base.el (cua-repeat-replace-region):
6133 Use with-current-buffer.
6134
6135 * net/gnutls.el: Use cl-lib.
6136 (gnutls-negotiate): `mapcan' -> cl-mapcan.
6137
6138 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
6139
6140 * emacs-lisp/package.el (package-built-in-p): Support both
6141 built-in and the package.el converted package descriptions.
6142 (package-show-package-list): Allow keywords.
6143 (package-keyword-button-action): Use it instead of
6144 `finder-list-matches'.
6145 (package-menu-filter-interactive): Interactive filtering (by
6146 keyword) function.
6147 (package-menu--generate): Support keywords and change keymappings
6148 and headers when they are given.
6149 (package--has-keyword-p): Helper function.
6150 (package-menu--refresh): Use it.
6151 (package--mapc): Helper function.
6152 (package-all-keywords): Use it.
6153 (package-menu-mode-map): Set up menu items and keybindings to
6154 provide a filtering UI.
6155
6156 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
6157
6158 * net/gnutls.el (gnutls-verify-error): New defcustom to control
6159 the behavior when a certificate fails validation. Defaults to
6160 old behavior: never abort, just warn.
6161 (gnutls-negotiate): Use it.
6162
6163 2013-12-14 Martin Rudalics <rudalics@gmx.at>
6164
6165 * window.el (display-buffer-below-selected): Never split window
6166 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
6167
6168 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
6169
6170 * emacs-lisp/package.el (package--prepare-dependencies): New function.
6171 (package-buffer-info): Use it (bug#15108).
6172
6173 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
6174
6175 * icomplete.el (icomplete-completions): Make sure the prefix is already
6176 displayed elsewhere before hiding it (bug#16219).
6177
6178 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
6179
6180 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
6181 open-paren tokens when preceded by a open-paren, too.
6182 (ruby-smie-rules): Handle virtual indentation after open-paren
6183 tokens specially. If there is code between it and eol, return the
6184 column where is starts (Bug#16118).
6185
6186 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6187
6188 * progmodes/cfengine.el: Fix `add-hook' doc.
6189 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
6190 (cfengine3--current-word): Fix parameters.
6191 (cfengine3-make-syntax-cache): Simplify further.
6192 (cfengine3-completion-function, cfengine3--current-function):
6193 Use `assq' for symbols.
6194 (cfengine3--current-function): Fix `cfengine3--current-word' call.
6195
6196 2013-12-13 Glenn Morris <rgm@gnu.org>
6197
6198 * loadup.el (load-path): Warn if site-load or site-init changes it.
6199 No more need to reset it when bootstrapping.
6200
6201 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6202
6203 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
6204 locations for cf-promises.
6205 (cfengine-mode-syntax-functions-regex): New caching variable.
6206 (cfengine3-fallback-syntax): Fallback syntax for cases where
6207 cf-promises doesn't run.
6208 (cfengine3--current-word): Reimplement using
6209 `cfengine-mode-syntax-functions-regex'.
6210 (cfengine3-completion-function, cfengine3--current-function):
6211 Use `cfengine3-make-syntax-cache' directly.
6212 (cfengine3-clear-syntax-cache): New function.
6213 (cfengine3-make-syntax-cache): Simplify and create
6214 `cfengine-mode-syntax-functions-regex' on demand.
6215 (cfengine3-format-function-docstring): Don't call
6216 `cfengine3-make-syntax-cache' explicitly.
6217
6218 2013-12-13 Martin Rudalics <rudalics@gmx.at>
6219
6220 Fix windmove-find-other-window broken after pixelwise resizing
6221 (Bug#16017).
6222 * windmove.el (windmove-other-window-loc): Revert change from
6223 2013-12-04.
6224 (windmove-find-other-window): Call window-in-direction.
6225 * window.el (window-in-direction): New arguments SIGN, WRAP and
6226 MINI to emulate original windmove-find-other-window behavior.
6227
6228 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
6229
6230 * simple.el (blink-matching--overlay): New variable.
6231 (blink-matching-open): Instead of moving point, highlight the
6232 matching paren with an overlay
6233 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
6234
6235 * faces.el (paren-showing-faces, show-paren-match)
6236 (show-paren-mismatch): Move from paren.el.
6237
6238 2013-12-13 Leo Liu <sdl.web@gmail.com>
6239
6240 * indent.el (indent-region): Disable progress reporter in
6241 minibuffer. (Bug#16108)
6242
6243 * bindings.el (visual-order-cursor-movement): Fix version.
6244
6245 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6246
6247 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
6248 Also match after beginning of line.
6249 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
6250 files. Thanks to Russell Sim. (Bug#15378)
6251
6252 2013-12-13 Juri Linkov <juri@jurta.org>
6253
6254 * simple.el <Keypad support>: Remove key bindings duplicated
6255 with bindings.el. (Bug#14397)
6256
6257 2013-12-13 Juri Linkov <juri@jurta.org>
6258
6259 * comint.el (comint-mode-map): Replace `delete-char' with
6260 `delete-forward-char'. (Bug#16109)
6261
6262 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6263
6264 * progmodes/python.el (python-indent-calculate-indentation):
6265 Fix de-denters cornercase. (Bug#15731)
6266
6267 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
6268
6269 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
6270 (advice--make): Pay attention to `depth'.
6271 (advice--make-1): Don't autoload commands eagerly.
6272 * emacs-lisp/elp.el (elp-instrument-function):
6273 * emacs-lisp/trace.el (trace-function-internal):
6274 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
6275
6276 * iswitchb.el (iswitchb-mode): Don't belittle ido.
6277
6278 2013-12-12 Eli Zaretskii <eliz@gnu.org>
6279
6280 * term/w32-win.el (w32-handle-dropped-file):
6281 * startup.el (normal-top-level):
6282 * net/browse-url.el (browse-url-file-url):
6283 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
6284 decode file names using 'utf-8' rather than
6285 file-name-coding-system.
6286
6287 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6288
6289 * progmodes/python.el (python-indent-context)
6290 (python-indent-calculate-indentation): Fix auto-identation
6291 behavior for comment blocks. (Bug#15916)
6292
6293 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6294
6295 * progmodes/python.el (python-indent-calculate-indentation):
6296 When determining indentation, don't treat "return", "pass", etc., as
6297 operators when they are just string constituents. (Bug#15812)
6298
6299 2013-12-12 Juri Linkov <juri@jurta.org>
6300
6301 * uniquify.el (uniquify-buffer-name-style): Change default to
6302 `post-forward-angle-brackets'.
6303
6304 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
6305 `uniquify'. Change default to `post-forward-angle-brackets'.
6306
6307 2013-12-11 Glenn Morris <rgm@gnu.org>
6308
6309 * emacs-lisp/package.el (finder-list-matches):
6310 Autoload rather than falsely declaring.
6311
6312 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
6313
6314 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
6315 (eww-mode-map): Use them.
6316
6317 2013-12-11 Martin Rudalics <rudalics@gmx.at>
6318
6319 * window.el (display-buffer-in-side-window): Fix doc-string
6320 (Bug#16115).
6321
6322 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
6323
6324 * vc/vc-git.el: Silence byte-compiler warnings.
6325 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
6326 (log-edit-set-header): Declare.
6327
6328 2013-12-11 Eli Zaretskii <eliz@gnu.org>
6329
6330 * Makefile.in (custom-deps, finder-data): Run output file names
6331 through unmsys--file-name. (Bug#16099)
6332
6333 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
6334
6335 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
6336 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
6337
6338 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
6339 instead of deleting the selection "by hand" (bug#16098).
6340 Rely on insert-for-yank to yank rectangles.
6341 (cua-highlight-region-shift-only): Mark obsolete.
6342 (cua-mode): Don't enable/disable transient-mark-mode,
6343 shift-select-mode (cua-mode works both with and without them), and
6344 pc-selection-mode (obsolete).
6345 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
6346 (cua--deactivate-rectangle): Deactivate it.
6347
6348 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
6349 (delete-selection-helper): Make sure yank starts at the top of the
6350 deleted region.
6351 (minibuffer-keyboard-quit): Use region-active-p.
6352
6353 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
6354
6355 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
6356 to `delete' (bug#16109).
6357
6358 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6359
6360 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
6361 info manual and show keybindings and set `:group' keyword.
6362
6363 2013-12-11 Juri Linkov <juri@jurta.org>
6364
6365 * delsel.el (delete-active-region): Let-bind `this-command'
6366 to prevent `kill-region' from changing its original value.
6367 (delete-selection-helper): Handle `overwrite-mode' for the type
6368 `kill' exactly the same way as for the type `t'.
6369 (insert-char, quoted-insert, reindent-then-newline-and-indent):
6370 Support more commands. (Bug#13312)
6371
6372 2013-12-11 Juri Linkov <juri@jurta.org>
6373
6374 * bindings.el: Map kp keys to non-kp keys systematically
6375 with basic modifiers control, meta and shift. (Bug#14397)
6376
6377 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6378
6379 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
6380 "Close browser" menu items. Fix wrong function of "List
6381 bookmarks".
6382
6383 2013-12-11 Juri Linkov <juri@jurta.org>
6384
6385 * misearch.el (multi-isearch-buffers): Set the value of
6386 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6387 arg of isearch-forward to t.
6388 (multi-isearch-buffers-regexp): Set the value of
6389 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6390 arg of isearch-forward-regexp to t.
6391 (multi-isearch-files): Set the value of
6392 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6393 arg of isearch-forward to t.
6394 (multi-isearch-files-regexp): Set the value of
6395 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6396 arg of isearch-forward-regexp to t. (Bug#16035)
6397
6398 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
6399 arg of isearch-forward to t.
6400 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
6401 arg of isearch-forward-regexp to t.
6402 (dired-isearch-filter-filenames): Remove unnecessary check for
6403 `dired-isearch-filenames'.
6404
6405 * comint.el (comint-history-isearch-backward):
6406 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
6407 (comint-history-isearch-backward-regexp):
6408 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
6409
6410 2013-12-10 Eli Zaretskii <eliz@gnu.org>
6411
6412 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
6413 unmsys--file-name. (Bug#16099)
6414
6415 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
6416
6417 * emacs-lisp/package.el (package-keyword-button-action):
6418 Remove finder.el require dependency.
6419
6420 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
6421
6422 * emacs-lisp/package.el: Require finder.el.
6423 (describe-package-1): Add keyword buttons.
6424 (package-make-button): New convenience function.
6425 (package-keyword-button-action): Keyword button action using
6426 `finder-list-matches'.
6427
6428 2013-12-09 Eli Zaretskii <eliz@gnu.org>
6429
6430 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
6431 last commit.
6432
6433 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
6434
6435 * autorevert.el (auto-revert-notify-add-watch): Do not handle
6436 symlinked files.
6437
6438 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6439
6440 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6441 after the end of a percent literal.
6442
6443 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
6444
6445 * progmodes/ruby-mode.el (ruby-forward-string): Document.
6446 Handle caret-delimited strings (Bug#16079).
6447
6448 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6449
6450 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
6451 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
6452 `ruby-parse-partial' (Bug#16078).
6453
6454 2013-12-09 Leo Liu <sdl.web@gmail.com>
6455
6456 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
6457
6458 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
6459
6460 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
6461 (js-switch-indent-offset): New option.
6462 (js--proper-indentation): Use it. And handle the case when
6463 "default" is actually a key in an object literal.
6464 (js--same-line): New function.
6465 (js--multi-line-declaration-indentation): Use it.
6466 (js--indent-in-array-comp, js--array-comp-indentation):
6467 New functions.
6468 (js--proper-indentation): Use them, to handle array comprehension
6469 continuations.
6470
6471 2013-12-08 Leo Liu <sdl.web@gmail.com>
6472
6473 * progmodes/flymake.el (flymake-highlight-line): Re-write.
6474 (flymake-make-overlay): Remove arg MOUSE-FACE.
6475 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
6476
6477 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6478
6479 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
6480 New function.
6481 (redisplay-highlight-region-function): Use it.
6482
6483 * emulation/cua-base.el (cua--explicit-region-start)
6484 (cua--last-region-shifted): Remove.
6485 (cua--deactivate): Use deactivate-mark.
6486 (cua--pre-command-handler-1): Don't handle shift-selection.
6487 (cua--post-command-handler-1): Don't change transient-mark-mode.
6488 (cua--select-keymaps): Use region-active-p rather than
6489 cua--explicit-region-start or cua--last-region-shifted.
6490 (cua-mode): Enable shift-select-mode.
6491
6492 2013-12-08 Leo Liu <sdl.web@gmail.com>
6493
6494 * progmodes/flymake.el (flymake-popup-current-error-menu):
6495 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6496 (flymake-posn-at-point-as-event, flymake-popup-menu)
6497 (flymake-make-emacs-menu): Remove. (Bug#16077)
6498
6499 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6500
6501 * rect.el (rectangle-mark-mode): Activate mark even if
6502 transient-mark-mode is off (bug#16066).
6503 (rectangle--highlight-for-redisplay): Fix boundary condition when point
6504 is > mark and at bolp.
6505
6506 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
6507 (region-extract-function): Use it.
6508 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
6509 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
6510 Delete functions.
6511 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
6512 kill-ring-save, kill-region, delete-char, delete-forward-char.
6513 Ignore self-insert-iso.
6514
6515 * emulation/cua-gmrk.el (cua--init-global-mark):
6516 Ignore `self-insert-iso'.
6517
6518 * emulation/cua-base.el (cua--prefix-copy-handler)
6519 (cua--prefix-cut-handler): Rely on region-extract-function rather than
6520 checking cua--rectangle.
6521 (cua-delete-region): Use region-extract-function.
6522 (cua-replace-region): Delete function.
6523 (cua-copy-region, cua-cut-region): Obey region-extract-function.
6524 (cua--pre-command-handler-1): Don't do the delete-selection thing.
6525 (cua--self-insert-char-p): Ignore `self-insert-iso'.
6526 (cua--init-keymaps): Don't remap delete-selection commands.
6527 (cua-mode): Use delete-selection-mode instead of rolling our own
6528 (bug#16085).
6529
6530 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
6531 Obey region-extract-function.
6532
6533 Make registers and delete-selection-mode work on rectangles.
6534 * register.el (describe-register-1): Don't modify the register's value.
6535 (copy-to-register): Obey region-extract-function.
6536 * delsel.el (delete-active-region): Obey region-extract-function.
6537
6538 2013-12-08 Leo Liu <sdl.web@gmail.com>
6539
6540 * progmodes/flymake.el (flymake, flymake-error-bitmap)
6541 (flymake-warning-bitmap, flymake-fringe-indicator-position)
6542 (flymake-compilation-prevents-syntax-check)
6543 (flymake-start-syntax-check-on-newline)
6544 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
6545 (flymake-start-syntax-check-on-find-file, flymake-log-level)
6546 (flymake-xml-program, flymake-master-file-dirs)
6547 (flymake-master-file-count-limit)
6548 (flymake-allowed-file-name-masks): Relocate.
6549 (flymake-makehash, flymake-float-time)
6550 (flymake-replace-regexp-in-string, flymake-split-string)
6551 (flymake-get-temp-dir): Remove.
6552 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6553 (flymake-current-row, flymake-selected-frame)
6554 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6555 related functions. (Bug#16077)
6556
6557 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
6558
6559 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6560
6561 2013-12-07 Tassilo Horn <tsdh@gnu.org>
6562
6563 * help-fns.el (describe-function-1): Use new advice-* functions
6564 rather than old ad-* functions. Fix function type description and
6565 source links for advised functions and subrs.
6566
6567 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6568
6569 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
6570
6571 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
6572
6573 * progmodes/compile.el (compilation-start):
6574 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6575
6576 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6577 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
6578
6579 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6580
6581 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6582 Touch up the last change.
6583
6584 2013-12-06 Leo Liu <sdl.web@gmail.com>
6585
6586 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6587 (inferior-octave-startup): Always use "octave> " for prompt.
6588 (octave-goto-function-definition)
6589 (octave-sync-function-file-names)
6590 (octave-find-definition-default-filename): Remove redundant backquotes.
6591
6592 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6593
6594 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6595 syntax for `?'.
6596 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6597 where appropriate already.
6598 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6599 end of method names (Bug#15874).
6600
6601 2013-12-06 Juri Linkov <juri@jurta.org>
6602
6603 * isearch.el (isearch--saved-overriding-local-map):
6604 New internal variable.
6605 (isearch-mode): Set it to the initial value of
6606 `overriding-terminal-local-map'.
6607 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6608 with `isearch--saved-overriding-local-map'. (Bug#16035)
6609
6610 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6611
6612 * progmodes/octave.el (inferior-octave-completion-table):
6613 Turn back into function, use `completion-table-with-cache'
6614 (Bug#11906). Update all references.
6615
6616 * minibuffer.el (completion-table-with-cache): New function.
6617
6618 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
6619
6620 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6621
6622 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
6623
6624 * net/eww.el (eww-current-source): New variable to store page
6625 source.
6626 (eww-display-html, eww-mode, eww-save-history)
6627 (eww-restore-history): Use it.
6628 (eww-view-source): New command to view page source.
6629 Opportunistically uses `html-mode' to highlight the buffer.
6630 (eww-mode-map): Install it.
6631
6632 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
6633
6634 * net/dbus.el (dbus-unregister-service)
6635 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6636 Fix docstring.
6637 (dbus-unregister-service): Skip :serial entries in
6638 `dbus-registered-objects-table'.
6639 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6640
6641 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
6642
6643 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6644 around keywords with extra `split-string' argument.
6645
6646 2013-12-04 Martin Rudalics <rudalics@gmx.at>
6647
6648 * windmove.el (windmove-other-window-loc): Handle navigation
6649 between windows (excluding the minibuffer window - Bug#16017).
6650
6651 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
6652
6653 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6654 in D-Bus type syntax.
6655 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6656 preserve unibyte strings. (Bug#16048)
6657
6658 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6659
6660 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6661 Call force-mode-line-update is the proper buffer (bug#16042).
6662
6663 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
6664
6665 * vc/log-edit.el (log-edit-add-new-comment): Rename to
6666 `log-edit-remember-comment', make argument optional. Adjust all
6667 callers.
6668 (log-edit-mode): Add `log-edit-remember-comment' to
6669 `kill-buffer-hook' locally.
6670 (log-edit-kill-buffer): Don't remember comment explicitly since
6671 the buffer is killed anyway.
6672
6673 2013-12-04 Juri Linkov <juri@jurta.org>
6674
6675 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6676 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6677
6678 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
6679
6680 * notifications.el (notifications-close-notification): Call the
6681 D-Bus method with ID being a `:uint32'. (Bug#16030)
6682
6683 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6684
6685 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6686
6687 2013-12-03 Juri Linkov <juri@jurta.org>
6688
6689 * progmodes/compile.el (compilation-start): Rename window alist
6690 entry `no-display-ok' to `allow-no-window'.
6691
6692 * simple.el (shell-command): Add window alist entry
6693 `allow-no-window' to `display-buffer'.
6694 (async-shell-command): Doc fix.
6695
6696 * window.el (display-buffer-no-window): New action function.
6697 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6698
6699 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6700
6701 * vc/log-edit.el (log-edit-set-header): Extract from
6702 `log-edit-toggle-header'.
6703 (log-edit-extract-headers): Separate the summary, when extracted
6704 from header, from the rest of the message with an empty line.
6705
6706 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6707 line, if present, to the Summary header.
6708
6709 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6710
6711 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6712 in current-buffer (bug#16029).
6713
6714 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
6715
6716 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6717 (debugger-mode-map): Bind it.
6718 (debugger--backtrace-base): New function.
6719 (debugger-eval-expression): Use it.
6720 (debugger-frame-number): Skip local vars when present.
6721 (debugger--locals-visible-p, debugger--insert-locals)
6722 (debugger--show-locals, debugger--hide-locals): New functions.
6723
6724 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
6725
6726 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6727 "LC_ALL".
6728 (tramp-get-remote-locale): New defun.
6729 (tramp-open-connection-setup-interactive-shell): Use it.
6730
6731 2013-12-02 Leo Liu <sdl.web@gmail.com>
6732
6733 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6734
6735 * progmodes/sh-script.el (sh-shell-process):
6736 * progmodes/octave.el (inferior-octave-process-live-p):
6737 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6738 (gdb-inferior-io-sentinel):
6739 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6740
6741 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6742
6743 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6744 `save-selected-window' to `log-edit-hide-buf'. This makes
6745 `log-edit-show-files' idempotent.
6746 (log-edit-show-files): Mark the new window as dedicated.
6747
6748 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6749
6750 * vc/log-edit.el (log-edit-mode-map): Add binding for
6751 `log-edit-kill-biffer'.
6752 (log-edit-hide-buf): Add a FIXME comment.
6753 (log-edit-add-new-comment): New function, extracted from
6754 `log-edit-done'.
6755 (log-edit-done, log-edit-add-to-changelog): Use it.
6756 (log-edit-kill-buffer): New command.
6757
6758 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6759
6760 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6761 instead of killing the buffer.
6762
6763 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6764
6765 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6766
6767 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6768
6769 * net/eww.el (eww-form-checkbox-selected-symbol)
6770 (eww-form-checkbox-symbol): New customizable variable.
6771 (eww-form-checkbox, eww-toggle-checkbox):
6772 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6773
6774 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6775 (shr--get-media-pref, shr--extract-best-source): New function.
6776 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6777 no :src tag was specified.
6778
6779 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6780 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6781 Use \\` to match beginning of string instead of ^.
6782 (eww-browse-with-external-browser): Provide optional URL parameter.
6783 (eww-render): Set `eww-current-title' back to "".
6784
6785 * net/shr.el (shr-tag-video): Display content for video if no
6786 poster is available.
6787 (shr-tag-audio): Add support for <audio> tag.
6788
6789 * net/eww.el (eww-text-input-types): New const.
6790 (eww-process-text-input): Treat input types in
6791 `eww-text-input-types' as text.
6792
6793 * net/shr.el (shr-tag-table): Fix comment typo.
6794
6795 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6796
6797 * net/eww.el (eww-follow-link): New command to avoid reloading
6798 pages when we follow #target links (bug#15243).
6799 (eww-quit): Special mode buffers shouldn't query before exiting.
6800
6801 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6802
6803 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6804 forms.
6805
6806 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6807
6808 * net/eww.el (eww-restore-history): Update the window title after
6809 moving in the history.
6810 (eww-current-dom): New variable used to save the current DOM.
6811
6812 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6813
6814 * vc/log-edit.el (log-edit-mode-map): Add binding for
6815 `log-edit-beginning-of-line'.
6816 (log-edit-setup-add-author): New user option.
6817 (log-edit-beginning-of-line): New command.
6818 (log-edit): Move major mode call above the contents setup so that
6819 the local variable values are already applied.
6820 (log-edit): Only insert "Author: " when
6821 `log-edit-setup-add-author' is non-nil.
6822 (log-edit): When SETUP is non-nil, position point after ": "
6823 instead of point-min.
6824
6825 2013-12-01 Glenn Morris <rgm@gnu.org>
6826
6827 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6828
6829 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6830
6831 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6832 redisplay to make sure the initial frame gets a chance to become
6833 visible. (Bug#16014)
6834
6835 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6836
6837 Support resizing frames and windows pixelwise.
6838 * cus-start.el (frame-resize-pixelwise)
6839 (window-resize-pixelwise): New entries.
6840 * emacs-lisp/debug.el (debug): Use window-total-height instead
6841 of window-total-size.
6842 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6843 * help.el (describe-bindings-internal): Use help-buffer as
6844 argument for with-help-window.
6845 (temp-buffer-max-width): New option.
6846 (resize-temp-buffer-window, help-window-setup)
6847 (with-help-window): Rewrite.
6848 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6849 dragging dividers.
6850 * window.el (frame-char-size, window-min-pixel-height)
6851 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6852 (window-min-pixel-width, window-safe-min-pixel-size)
6853 (window-combination-p, window-safe-min-size)
6854 (window-resizable-p, window--size-to-pixel)
6855 (window--pixel-to-size, window--resize-apply-p): New functions.
6856 (window-safe-min-height): Fix doc-string.
6857 (window-size, window-min-size, window--min-size-1)
6858 (window-sizable, window-sizable-p, window--min-delta-1)
6859 (window-min-delta, window--max-delta-1, window-max-delta)
6860 (window--resizable, window--resizable-p, window-resizable)
6861 (window-full-height-p, window-full-width-p, window-at-side-p)
6862 (window--in-direction-2, window-in-direction)
6863 (window--resize-reset-1, window--resize-mini-window)
6864 (window-resize, window-resize-no-error)
6865 (window--resize-child-windows-normal)
6866 (window--resize-child-windows, window--resize-siblings)
6867 (window--resize-this-window, window--resize-root-window)
6868 (window--resize-root-window-vertically)
6869 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6870 (maximize-window, minimize-window, delete-window)
6871 (quit-restore-window, window-split-min-size, split-window)
6872 (balance-windows-2, balance-windows)
6873 (balance-windows-area-adjust, balance-windows-area)
6874 (window--state-get-1, window-state-get, window--state-put-1)
6875 (window--state-put-2, window-state-put)
6876 (display-buffer-record-window, window--display-buffer):
6877 Make functions handle pixelwise sizing of windows.
6878 (display-buffer--action-function-custom-type)
6879 (display-buffer-fallback-action):
6880 Add display-buffer-in-previous-window.
6881 (display-buffer-use-some-window): Resize window to height it had
6882 before.
6883 (fit-window-to-buffer-horizontally): New option.
6884 (fit-frame-to-buffer): Describe new values.
6885 (fit-frame-to-buffer-bottom-margin): Replace with
6886 fit-frame-to-buffer-margins.
6887 (window--sanitize-margin): New function.
6888 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6889 using window-text-pixel-size.
6890
6891 2013-11-30 Glenn Morris <rgm@gnu.org>
6892
6893 * emacs-lisp/bytecomp.el (byte-compile-form):
6894 Make the `interactive-only' warning like the `obsolete' one.
6895 * comint.el (comint-run):
6896 * files.el (insert-file-literally, insert-file):
6897 * replace.el (replace-string, replace-regexp):
6898 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6899 (goto-line, insert-buffer, next-line, previous-line):
6900 Tweak `interactive-only' spec.
6901
6902 Stop keeping (most) generated cedet grammar files in the repository.
6903 * Makefile.in (semantic): New.
6904 (compile-main): Depend on semantic.
6905
6906 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6907
6908 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6909 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6910
6911 * uniquify.el (uniquify-buffer-name-style): Change default.
6912
6913 * loadup.el: Preload "uniquify".
6914
6915 * time.el (display-time-update): Update all mode lines (bug#15999).
6916
6917 * electric.el (electric-indent-mode): Enable by default.
6918 * loadup.el: Preload "electric".
6919
6920 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6921
6922 * emacs-lisp/helpers.el (string-empty-p): New function.
6923 (string-blank-p): New function.
6924
6925 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6926
6927 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6928 (Bug#14029).
6929
6930 2013-11-29 Andreas Politz <politza@fh-trier.de>
6931 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6932 allow non-lambda lists as functions.
6933 (imenu--in-alist): Don't recurse into non-subalists.
6934 (imenu): Don't pass function itself as an argument (Bug#14029).
6935
6936 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6937
6938 * progmodes/python.el (python-mode-map): Remove binding for ":".
6939 (python-indent-electric-colon): Remove command.
6940 (python-indent-post-self-insert-function): Integrate the previous code
6941 of python-indent-electric-colon. Make it conditional on
6942 electric-indent-mode.
6943 (python-mode): Add ?: to electric-indent-chars.
6944 Move python-indent-post-self-insert-function to the end of
6945 post-self-insert-hook.
6946
6947 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6948
6949 * doc-view.el (doc-view-goto-page): Update mode-line.
6950
6951 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6952
6953 2013-11-27 Glenn Morris <rgm@gnu.org>
6954
6955 * international/charprop.el, international/uni-bidi.el:
6956 * international/uni-category.el, international/uni-combining.el:
6957 * international/uni-comment.el, international/uni-decimal.el:
6958 * international/uni-decomposition.el, international/uni-digit.el:
6959 * international/uni-lowercase.el, international/uni-mirrored.el:
6960 * international/uni-name.el, international/uni-numeric.el:
6961 * international/uni-old-name.el, international/uni-titlecase.el:
6962 * international/uni-uppercase.el:
6963 Remove generated files from VCS repository.
6964
6965 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6966
6967 * filenotify.el (file-notify-add-watch): Don't special-case
6968 w32notify when computing the directory to watch.
6969
6970 2013-11-27 Glenn Morris <rgm@gnu.org>
6971
6972 Make bootstrap without generated uni-*.el files possible again.
6973 * loadup.el: Update command-line-args checking for unidata-gen.
6974 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6975 * composite.el, international/characters.el:
6976 Handle unicode tables being undefined.
6977
6978 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6979 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6980 (compile-main): Depend on leim rule.
6981 (leim): New rule.
6982 * loadup.el: Move leim-list.el to leim/ subdirectory.
6983 * startup.el (normal-top-level): No more leim directory.
6984 * international/ja-dic-cnv.el (skkdic-convert):
6985 Disable version-control and autoloads in output files.
6986 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6987 Disable version-control and autoloads in output files.
6988 * leim/quail: Move here from ../leim.
6989 * leim/quail/hangul.el (hangul-input-method-activate):
6990 Add autoload cookie.
6991 (generated-autoload-load-name): Set file-local value.
6992 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6993 (generated-autoload-load-name): Set file-local value.
6994
6995 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6996
6997 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6998 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6999 (eww-quit): Ask confirmation before quitting eww.
7000
7001 2013-11-26 Eli Zaretskii <eliz@gnu.org>
7002
7003 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
7004 reading output from Diff on MS-Windows and MS-DOS.
7005
7006 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
7007
7008 * emacs-lisp/helpers.el (string-reverse): New function.
7009
7010 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
7011
7012 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
7013 names on MS Windows, like "/[::1]:".
7014
7015 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
7016 SWITCHES.
7017
7018 2013-11-26 Glenn Morris <rgm@gnu.org>
7019
7020 * progmodes/python.el (python-indent-guess-indent-offset):
7021 Avoid corner-case error. (Bug#15975)
7022
7023 Preload leim-list.el. (Bug#4789)
7024 * loadup.el: Load leim-list.el when found.
7025 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
7026
7027 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
7028
7029 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
7030
7031 * emacs-lisp/helpers.el (string-join): New function.
7032
7033 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
7034
7035 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7036 Mark as obsolete and replace it with a symbol property.
7037 (byte-compile-form): Use new 'interactive-only property.
7038 * comint.el, files.el, replace.el, simple.el:
7039 Apply new 'interactive-only properly.
7040
7041 2013-11-25 Martin Rudalics <rudalics@gmx.at>
7042
7043 * window.el (display-buffer-at-bottom): Make sure that
7044 split-window-sensibly creates the new window on bottom
7045 (Bug#15961).
7046
7047 2013-11-23 David Kastrup <dak@gnu.org>
7048
7049 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
7050 on the conflict markers when available.
7051 (smerge--get-marker): New function.
7052 (smerge-end-re, smerge-base-re): Add subgroup.
7053
7054 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
7055
7056 * frame.el (handle-focus-in, handle-focus-out): Add missing
7057 interactive spec.
7058
7059 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
7060
7061 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7062 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
7063
7064 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
7065
7066 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
7067 (gomoku--last-pos): New var.
7068 (gomoku--intangible-chars): New const.
7069 (gomoku--intangible): New function.
7070 (gomoku-mode): Use it. Derive from special-mode.
7071 (gomoku-move-up): Adjust line count.
7072 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
7073 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
7074 Simplify accordingly.
7075
7076 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
7077 Remove blink-cursor code.
7078 (blink-cursor-timer-function, blink-cursor-suspend):
7079 Don't special-case GUIs.
7080 (blink-cursor-mode): Use focus-in/out-hook.
7081
7082 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
7083
7084 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
7085 work when annotation is invisible (Bug#13886).
7086
7087 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7088
7089 * json.el (json-alist-p): Only return non-nil if the alist has
7090 simple keys (Bug#13518).
7091
7092 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
7093
7094 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
7095 when control-statement is the first statement in a buffer (Bug#15956).
7096
7097 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
7098
7099 * imenu.el (imenu-generic-skip-comments-and-strings):
7100 New option (Bug#15560).
7101 (imenu--generic-function): Use it.
7102
7103 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
7104
7105 * minibuffer.el (completion--in-region-1): Scroll the correct window.
7106 (Bug#13898)
7107
7108 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
7109
7110 * emacs-lisp/helpers.el: Add some string helpers.
7111 (string-trim-left): Removes leading whitespace.
7112 (string-trim-right): Removes trailing whitespace.
7113 (string-trim): Removes leading and trailing whitespace.
7114
7115 * subr.el (string-suffix-p): New function.
7116
7117 2013-11-23 Glenn Morris <rgm@gnu.org>
7118
7119 * progmodes/python.el (python-shell-send-file):
7120 Add option to delete file when done. (Bug#15647)
7121 (python-shell-send-string, python-shell-send-region): Use it.
7122
7123 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
7124
7125 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
7126 to set buffer-read-only to t, never to nil. (Bug#15938)
7127
7128 * textmodes/tex-mode.el (latex-noindent-environments):
7129 Add safe-local-variable property. (Bug#15936)
7130
7131 2013-11-23 Glenn Morris <rgm@gnu.org>
7132
7133 * textmodes/enriched.el (enriched-mode): Doc fix.
7134 * emacs-lisp/authors.el (authors-renamed-files-alist):
7135 Add enriched.doc -> enriched.txt.
7136
7137 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
7138
7139 2013-11-22 Leo Liu <sdl.web@gmail.com>
7140
7141 * progmodes/octave.el (inferior-octave-startup): Spit out error
7142 message.
7143
7144 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
7145
7146 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7147 Improve docstring.
7148 Add :version.
7149 (ruby-encoding-magic-comment-style): Add :version.
7150
7151 2013-11-22 Leo Liu <sdl.web@gmail.com>
7152
7153 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
7154 (Bug#15076)
7155 (octave-help-mode): Adapt to change to help-mode-finish to use
7156 derived-mode-p on 2013-09-17.
7157 (inferior-octave-prompt): Also match octave-gui.
7158 (octave-kill-process): Don't ask twice. (Bug#10564)
7159
7160 2013-11-22 Leo Liu <sdl.web@gmail.com>
7161
7162 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
7163 (inferior-octave-startup, inferior-octave-check-process)
7164 (inferior-octave-track-window-width-change)
7165 (octave-completion-at-point, octave-eldoc-function): Use it.
7166 (octave-kill-process): Provide confirmation. (Bug#10564)
7167
7168 2013-11-21 Leo Liu <sdl.web@gmail.com>
7169
7170 * progmodes/octave.el (octave-mode, inferior-octave-mode):
7171 Fix obsolete variable comment-use-global-state.
7172
7173 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7174
7175 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
7176 Add `octave-source-file'.
7177 (octave-source-file): New function. (Bug#15935)
7178
7179 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
7180
7181 * net/eww.el (eww-local-regex): New variable.
7182 (eww): Use it to detect localhost and similar.
7183
7184 2013-11-21 Leo Liu <sdl.web@gmail.com>
7185
7186 Add completion for command `ag'.
7187 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
7188 (pcomplete/ag): New function.
7189 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
7190
7191 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7192
7193 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
7194 (bug#14646).
7195 (make-obsolete): Remove interactive spec.
7196
7197 2013-11-21 Glenn Morris <rgm@gnu.org>
7198
7199 * startup.el (command-line-1): Use path-separator with -L.
7200
7201 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
7202
7203 * emacs-lisp/package.el (describe-package-1): Add package archive
7204 to shown fields.
7205
7206 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7207
7208 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7209 Change default to "# encoding: %s" to differentiate it from the
7210 default Ruby encoding comment template.
7211
7212 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
7213
7214 * ses.el (ses-mode): Doc fix. (Bug#14748)
7215
7216 2013-11-20 Leo Liu <sdl.web@gmail.com>
7217
7218 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
7219
7220 2013-11-19 Dan Nicolaescu <dann@gnu.org>
7221
7222 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
7223 when rebase or bisect are in progress.
7224
7225 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
7226
7227 * filenotify.el (file-notify-add-watch): Doc fix.
7228
7229 2013-11-19 Leo Liu <sdl.web@gmail.com>
7230
7231 * obsolete/rcompile.el: Mark obsolete.
7232
7233 * progmodes/compile.el (compilation-start)
7234 (compilation-goto-locus, compilation-find-file):
7235 Pass no-display-ok and handle nil value from display-buffer.
7236 (Bug#13594)
7237
7238 * window.el (display-buffer-alist, display-buffer): Document the
7239 new parameter no-display-ok. Return either a window or nil
7240 but never a non-window value.
7241
7242 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7243
7244 * electric.el (electric-indent-mode-map): Remove.
7245 (electric-indent-mode): Change the global-map instead (bug#15915).
7246
7247 * textmodes/text-mode.el (paragraph-indent-minor-mode):
7248 Use add-function.
7249
7250 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
7251
7252 * emacs-lisp/nadvice.el (remove-function): Align with
7253 add-function's behavior.
7254
7255 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
7256 (gdb--string-regexp): New constant.
7257 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
7258 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
7259 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
7260 submatch 1.
7261 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
7262 Adjust use accordingly.
7263 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
7264
7265 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
7266
7267 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
7268 interpolation curlies (Bug#15914).
7269
7270 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
7271
7272 * calc/calc.el (calc-context-sensitive-enter): New variable.
7273 (calc-enter): Use `calc-context-sensitive-enter'.
7274
7275 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
7276
7277 * progmodes/cfengine.el: Version bump.
7278 (cfengine-cf-promises): New defcustom to locate cf-promises.
7279 (cfengine3-vartypes): Add new "data" type.
7280 (cfengine3--current-word): New function to get current name-like
7281 word or its bounds.
7282 (cfengine3--current-function): New function to look up a CFEngine
7283 function's definition.
7284 (cfengine3-format-function-docstring): New function.
7285 (cfengine3-make-syntax-cache): New function.
7286 (cfengine3-documentation-function): New function: ElDoc glue.
7287 (cfengine3-completion-function): New function: completion glue.
7288 (cfengine3-mode): Set `compile-command',
7289 `eldoc-documentation-function', and add to
7290 `completion-at-point-functions'.
7291
7292 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
7293
7294 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7295 `tramp-current-connection'.
7296
7297 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
7298
7299 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
7300 nil/self/true/false with "end of symbol".
7301
7302 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
7303
7304 * subr.el (version-regexp-alist): Fix a typo.
7305
7306 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
7307
7308 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
7309 "en_US.utf8" and "LC_CTYPE" to "".
7310 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
7311 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
7312
7313 2013-11-15 Leo Liu <sdl.web@gmail.com>
7314
7315 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
7316
7317 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7318
7319 * progmodes/gud.el (ctl-x-map):
7320 Remove C-x SPC binding. (Bug#12342)
7321 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
7322
7323 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
7324
7325 * subr.el (version-regexp-alist):
7326 Recognize hg, svn and darcs versions as snapshot versions.
7327
7328 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
7329 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
7330 (ruby--encoding-comment-required-p): Extract from
7331 `ruby-mode-set-encoding'.
7332 (ruby-mode-set-encoding): Add the ability to always insert an
7333 utf-8 encoding comment. Fix and simplify coding comment update
7334 logic.
7335
7336 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
7337
7338 * net/tramp-gvfs.el (top): Run init code only when
7339 `tramp-gvfs-enabled' is not nil.
7340 (tramp-gvfs-enabled): Check also :system bus.
7341
7342 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7343
7344 Sync with upstream verilog-mode revision 78e66ba.
7345 * progmodes/verilog-mode.el (verilog-end-of-defun)
7346 (verilog-type-completion, verilog-get-list): Remove unused funcs.
7347 (verilog-get-end-of-defun): Remove unused argument.
7348 (verilog-comment-depth): Remove unused local `e'.
7349 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
7350 Don't pass arg to verilog-get-end-of-defun.
7351
7352 2013-11-14 Glenn Morris <rgm@gnu.org>
7353
7354 * obsolete/assoc.el (aget): Prefix dynamic variable.
7355
7356 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
7357
7358 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7359
7360 * widget.el, hfy-cmap.el: Remove bogus package version number.
7361
7362 2013-11-13 Glenn Morris <rgm@gnu.org>
7363
7364 * replace.el (replace-eval-replacement):
7365 Try to give more helpful error message. (Bug#15836)
7366
7367 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7368 (archive-7z-update): Avoid custom type mismatches.
7369
7370 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
7371
7372 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
7373
7374 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
7375 address can be empty.
7376
7377 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
7378 Accept nil SWITCHES.
7379 (tramp-gvfs-handle-write-region): Implement APPEND.
7380
7381 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
7382
7383 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
7384 binary "|" operator and closing block args delimiter.
7385 Remove FIXME comment referring to Ruby 1.8-only syntax.
7386 (ruby-smie--implicit-semi-p): Not after "|" operator.
7387 (ruby-smie--closing-pipe-p): New function.
7388 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
7389 (ruby-smie-rules): Indent after "|".
7390
7391 2013-11-12 Glenn Morris <rgm@gnu.org>
7392
7393 * ps-print.el (ps-face-attribute-list):
7394 Handle anonymous faces. (Bug#15827)
7395
7396 2013-11-12 Martin Rudalics <rudalics@gmx.at>
7397
7398 * window.el (display-buffer-other-frame): Fix doc-string.
7399 (Bug#15868)
7400
7401 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7402
7403 * subr.el (force-mode-line-update): Delete, move to buffer.c.
7404
7405 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
7406
7407 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
7408 (tramp-sh-handle-file-local-copy): Don't write a message when
7409 saving temporary files.
7410
7411 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
7412 both directories are remote.
7413 (tramp-smb-handle-directory-files): Do not return double entries.
7414 Do not expand full file names.
7415 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
7416 (tramp-smb-handle-write-region): Implement APPEND.
7417 (tramp-smb-get-stat-capability): Fix a stupid bug.
7418
7419 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7420
7421 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
7422
7423 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7424
7425 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
7426 throwing error over malformed let/let* (bug#15814).
7427
7428 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7429
7430 * iswitchb.el (iswitchb-mode): Mark obsolete.
7431
7432 2013-11-11 Glenn Morris <rgm@gnu.org>
7433
7434 * international/uni-bidi.el, international/uni-category.el:
7435 * international/uni-name.el, international/uni-numeric.el:
7436 Regenerate for Unicode 6.3.0.
7437
7438 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
7439
7440 * net/tramp.el (tramp-methods):
7441 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
7442 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
7443
7444 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
7445
7446 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7447 Force highlighting text after Summary keyword in doc face for rpm.
7448
7449 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
7450
7451 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
7452 available and the word has no wildcards, append one to the grep pattern.
7453 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
7454 (ispell-complete-word): Call `ispell-lookup-words' with the value
7455 independent of `ispell-look-p'.
7456
7457 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7458
7459 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
7460 Not after "||".
7461 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
7462 their parent.
7463
7464 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7465
7466 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
7467 (ruby-font-lock-keywords): Use backquote.
7468
7469 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7470
7471 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7472 (ruby-smie--backward-token): Only consider full-string matches.
7473
7474 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
7475
7476 * faces.el (describe-face): Add distant-foreground.
7477
7478 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
7479
7480 * progmodes/ruby-mode.el: Improve encoding comment handling.
7481 (ruby-encoding-magic-comment-style): New option.
7482 (ruby-custom-encoding-magic-comment-template): New option.
7483 (ruby--insert-coding-comment, ruby--detect-encoding):
7484 New functions extracted from `ruby-mode-set-encoding'.
7485 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
7486 to control the style of the auto-inserted encoding comment.
7487
7488 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7489
7490 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
7491 Use `smie-backward-sexp' with token argument.
7492
7493 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
7494
7495 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7496 Remove instrumentation code.
7497
7498 2013-11-08 Glenn Morris <rgm@gnu.org>
7499
7500 * progmodes/autoconf.el (autoconf-mode):
7501 Tweak comment-start-skip. (Bug#15822)
7502
7503 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7504
7505 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
7506 at bobp (bug#15826).
7507 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
7508
7509 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
7510
7511 * man.el (Man-start-calling): New macro, extracted from
7512 Man-getpage-in-background.
7513 (Man-getpage-in-background): Use it.
7514 (Man-update-manpage): New command.
7515 (Man-mode-map): Bind it.
7516
7517 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7518
7519 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
7520 of "and", "or", "&&" and "||".
7521 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
7522 argument. Prohibit opening curly brace because it could only be a
7523 block opener in that position.
7524 (ruby-smie--forward-token, ruby-smie--backward-token):
7525 Separate "|" from "&" or "*" going after it. That can happen in block
7526 arguments.
7527 (ruby-smie--indent-to-stmt): New function, seeks the end of
7528 previous statement or beginning of buffer.
7529 (ruby-smie-rules): Use it.
7530 (ruby-smie-rules): Check if there's a ":" before a curly block
7531 opener candidate; if there is, it's a hash.
7532
7533 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7534
7535 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
7536 (cl--block-wrapper): Fix last accidental change.
7537
7538 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
7539
7540 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7541 Instrument, in order to hunt failure on hydra.
7542
7543 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7544
7545 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
7546 malformed bindings form (bug#15814).
7547
7548 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
7549
7550 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
7551 "." compared to " @ ". This incidentally fixes some indentation
7552 examples with "do".
7553 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
7554 (ruby-smie-grammar): New tokens: "and" and "or".
7555 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7556 Exclude "and" and "or". Remove "do" in order to work around token
7557 priorities.
7558 (ruby-smie-rules): Add all infix tokens. Handle the case of
7559 beginning-of-buffer.
7560
7561 2013-11-06 Glenn Morris <rgm@gnu.org>
7562
7563 * Makefile.in (setwins_almost, setwins_for_subdirs):
7564 Avoid accidental matches.
7565
7566 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7567
7568 * menu-bar.el (popup-menu): Use key-binding.
7569
7570 2013-11-06 Eli Zaretskii <eliz@gnu.org>
7571
7572 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7573 menus, support also the menus produced by minor modes.
7574 (Bug#15817)
7575
7576 2013-11-06 Leo Liu <sdl.web@gmail.com>
7577
7578 * thingatpt.el (thing-at-point-looking-at): Add optional arg
7579 DISTANCE to bound the search. All uses changed. (Bug#15808)
7580
7581 2013-11-06 Glenn Morris <rgm@gnu.org>
7582
7583 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7584 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7585 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7586
7587 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7588
7589 * electric.el (electric-indent-just-newline): New command.
7590 (electric-indent-mode-map): New keymap.
7591 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7592 Re-add :group which weren't redundant.
7593
7594 * electric.el (electric-indent-local-mode): New minor mode.
7595 (electric-indent-functions-without-reindent): New var.
7596 (electric-indent-post-self-insert-function): Use it.
7597 * emacs-lisp/gv.el (buffer-local-value): Add setter.
7598
7599 2013-11-05 Eli Zaretskii <eliz@gnu.org>
7600
7601 * international/quail.el (quail-help): Be more explicit about the
7602 meaning of the labels shown on the keys. (Bug#15800)
7603
7604 * startup.el (normal-top-level): Load the subdirs.el files before
7605 setting the locale environment. (Bug#15805)
7606
7607 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
7608
7609 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7610 via arguments so as to get the right ones (bug#15418).
7611
7612 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7613
7614 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
7615
7616 Fix problems found while writing a test suite.
7617
7618 * net/tramp-compat.el (tramp-compat-load): New defun.
7619 * net/tramp.el (tramp-handle-load): Use it.
7620
7621 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7622 "(numberp ok-if-already-exists)" correctly.
7623
7624 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
7625
7626 * international/characters.el (glyphless-char-display-control):
7627 Add usage note.
7628
7629 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
7630
7631 * progmodes/python.el (python-mode):
7632 * progmodes/scheme.el (scheme-mode):
7633 * progmodes/prolog.el (prolog-mode):
7634 * progmodes/ruby-mode.el (ruby-mode):
7635 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7636 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7637
7638 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7639
7640 * rect.el (rectangle--highlight-for-redisplay):
7641 * emacs-lisp/smie.el (smie--next-indent-change):
7642 Use buffer-chars-modified-tick.
7643
7644 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7645
7646 * electric.el (electric-indent-post-self-insert-function):
7647 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7648
7649 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
7650
7651 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7652
7653 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7654
7655 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7656 (bug#15786).
7657
7658 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7659
7660 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
7661
7662 * progmodes/python.el: Fix up last change.
7663 (python-shell--save-temp-file): New function.
7664 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
7665 `string' comes from the current buffer.
7666 (python-shell-send-string-no-output): Remove `msg' arg.
7667 (python--use-fake-loc): New var.
7668 (python-shell-buffer-substring): Obey it. Try to compensate for the
7669 extra coding line added by python-shell--save-temp-file.
7670 (python-shell-send-region): Use python-shell--save-temp-file and
7671 python-shell-send-file directly. Add `nomain' argument.
7672 (python-shell-send-buffer): Use python-shell-send-region.
7673 (python-electric-pair-string-delimiter): New function.
7674 (python-mode): Use it.
7675
7676 2013-11-04 Eli Zaretskii <eliz@gnu.org>
7677
7678 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7679 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7680 environment and decoding all of the default-directory's to here
7681 from command-line.
7682 (command-line): Decode also argv[0].
7683
7684 * loadup.el: Error out if default-directory is a multibyte string
7685 when we are dumping.
7686
7687 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7688
7689 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7690
7691 * emacs-lisp/package.el (package-menu-mode)
7692 (package-menu--print-info, package-menu--archive-predicate):
7693 Add Archive column to package list.
7694
7695 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
7696
7697 Fix problems found while writing a test suite.
7698
7699 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7700 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7701 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7702 to nil when running original file name handler. Otherwise,
7703 there are problems with constructs like "$$FOO".
7704
7705 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7706 for `localname'.
7707
7708 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7709
7710 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7711
7712 * subr.el (version<, version<=, version=):
7713 Update docstrings with information for snapshot versions.
7714
7715 * helpers.el: New library for misc helper functions.
7716 (hash-table-keys): New function returning a list of hash keys.
7717 (hash-table-values): New function returning a list of hash values.
7718
7719 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7720
7721 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7722 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7723
7724 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
7725
7726 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7727 checking whether point is after a 1-letter word.
7728
7729 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7730
7731 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7732 Don't infloop when expanding region over `multiline' syntax-type that
7733 begins a line (bug#15778).
7734
7735 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7736
7737 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7738 Make it into a proper minor mode.
7739 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
7740 (rectangle-mark-mode-map): New keymap.
7741 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7742
7743 2013-11-04 Glenn Morris <rgm@gnu.org>
7744
7745 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7746
7747 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7748
7749 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7750 (ruby-smie-rules): Use smie-rule-parent instead.
7751
7752 * emacs-lisp/smie.el (smie-rule-parent): Always call
7753 smie-indent-virtual rather than only for hanging tokens.
7754 (smie--next-indent-change): New helper command.
7755
7756 2013-11-03 Glenn Morris <rgm@gnu.org>
7757
7758 * Makefile.in (abs_srcdir): Remove.
7759 (emacs): Unset EMACSLOADPATH.
7760
7761 2013-11-02 Glenn Morris <rgm@gnu.org>
7762
7763 * Makefile.in (EMACS): Use a relative filename.
7764 (abs_top_builddir): Remove.
7765 (custom-deps, finder-data, autoloads): Use --chdir.
7766
7767 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7768
7769 Use relative filenames in TAGS files.
7770 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7771 (lisptagsfiles4, TAGS): Use relative file names.
7772 (TAGS-LISP): Remove.
7773 (maintainer-clean): No more TAGS-LISP file.
7774
7775 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7776 (lisptagsfiles4): Use absolute filenames again.
7777 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7778 Remove all *loaddefs files, not just the first. Remove esh-groups.
7779 (maintainer-clean): Delete TAGS, TAGS-LISP.
7780
7781 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7782
7783 * emacs-lisp/package.el (package-version-join):
7784 Recognize snapshot versions.
7785
7786 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7787
7788 * subr.el (version-regexp-alist): Add support for snapshot versions.
7789
7790 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7791
7792 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7793 New function, replacement for `smie-rule-parent' for when we want to
7794 skip over our direct parent if it's an assignment token..
7795 (ruby-smie-rules): Use it.
7796
7797 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7798
7799 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7800 unconditionally. Remove now unnecessary forward declarations.
7801 Remove XEmacs-specific setup.
7802 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7803 (ruby-font-lock-syntactic-keywords)
7804 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7805 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7806 (ruby-here-doc-end-syntax): Remove.
7807 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7808 defined as function.
7809
7810 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7811
7812 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7813
7814 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7815
7816 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7817 table and abbrev table, `define-derived-mode' does that for us
7818 anyway.
7819
7820 2013-11-01 Glenn Morris <rgm@gnu.org>
7821
7822 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7823 files is atomic for some time, so no parallel compilation issues).
7824
7825 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7826
7827 * faces.el (face-x-resources): Add :distant-foreground.
7828 (region): Use :distant-foreground for gtk and ns.
7829
7830 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7831
7832 Allow multiple bibliographies when BibLaTeX is used rather than
7833 BibTeX.
7834 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7835 (reftex-locate-bibliography-files): Us it.
7836
7837 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7838
7839 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7840 allow comments in pbm files.
7841
7842 * term/w32-win.el (dynamic-library-alist): Support newer versions
7843 of libjpeg starting with v7: look only for the DLL from the
7844 version against which Emacs was built.
7845 Support versions of libpng beyond 1.4.x.
7846 Support libtiff v4.x.
7847
7848 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7849
7850 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7851 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7852 Add property :safe.
7853 (ruby-deep-arglist): Add property :type.
7854
7855 2013-10-31 Glenn Morris <rgm@gnu.org>
7856
7857 * Makefile.in (custom-deps, finder-data): No need to setq the target
7858 variables, we are in the right directory and the defaults work fine.
7859
7860 2013-10-30 Glenn Morris <rgm@gnu.org>
7861
7862 * Makefile.in (autoloads): Do not use abs_lisp.
7863
7864 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7865 `newline' does not respect `standard-output', so use `princ'.
7866
7867 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7868
7869 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7870 * buff-menu.el (Buffer-menu--unmark): New function.
7871 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7872
7873 2013-10-30 Glenn Morris <rgm@gnu.org>
7874
7875 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7876
7877 * emacs-lisp/package.el (lm-homepage): Declare.
7878
7879 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7880 Fix doc typos.
7881
7882 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7883
7884 * Makefile.in (finder-data, autoloads, update-subdirs)
7885 (compile-main, compile-clean, compile-always, bootstrap-clean):
7886 Check return value of cd.
7887 (compile-calc): Remove.
7888
7889 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7890
7891 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7892
7893 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7894 (byte-compile-and-folded): New function.
7895 (=, <, >, <=, >=): Use it.
7896
7897 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7898 (path-separator, null-device, buffer-file-coding-system)
7899 (lpr-headers-switches): Check system-type before modifying them.
7900 (find-buffer-file-type-coding-system): Mark obsolete.
7901 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7902 find-file-not-found-set-buffer-file-coding-system.
7903 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7904 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7905 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7906 (w32-direct-print-region-helper, w32-direct-print-region-function)
7907 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7908 * startup.el (normal-top-level-add-subdirs-to-load-path):
7909 * ps-print.el (ps-print-region-function):
7910 * lpr.el (print-region-function): Use new name.
7911
7912 * subr.el (custom-declare-variable-early): Remove function.
7913 (custom-declare-variable-list): Remove var.
7914 (error, user-error): Remove `while' loop.
7915 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7916 (user-emacs-directory-warning, locate-user-emacs-file):
7917 Move to files.el.
7918 * simple.el (read-quoted-char-radix, read-quoted-char):
7919 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7920 Move from subr.el.
7921 * custom.el (custom-declare-variable-list): Don't process
7922 custom-declare-variable-list.
7923
7924 * progmodes/python.el (python-shell-get-buffer): New function.
7925 (python-shell-get-process): Use it.
7926 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7927 Python which encoding was used. Don't split-string since we only care
7928 about the first line. Return the temp-file, if applicable.
7929 (python-shell-send-region): Tell compile.el how to turn locations in
7930 the temp-file into locations in the source buffer.
7931
7932 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7933
7934 * subr.el (undefined): Add missing behavior from the C code for
7935 unbound keys.
7936
7937 * rect.el: Use lexical-binding. Add new rectangular region support.
7938 (rectangle-mark): New command.
7939 (rectangle--region): New var.
7940 (deactivate-mark-hook): Reset rectangle--region.
7941 (rectangle--extract-region, rectangle--insert-for-yank)
7942 (rectangle--highlight-for-redisplay)
7943 (rectangle--unhighlight-for-redisplay): New functions.
7944 (region-extract-function, redisplay-unhighlight-region-function)
7945 (redisplay-highlight-region-function): Use them to handle
7946 rectangular region.
7947 * simple.el (region-extract-function): New var.
7948 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7949 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7950 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7951 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7952 (redisplay-unhighlight-region-function)
7953 (redisplay-highlight-region-function): New vars.
7954 (redisplay--update-region-highlight): New function.
7955 (pre-redisplay-function): Use it.
7956 (exchange-point-and-mark): Don't deactivate the mark before
7957 reactivate-it anyway.
7958 * comint.el (comint-kill-region): Remove yank-handler argument.
7959 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7960 (delete-char): Remove property, since it's now part of their
7961 default behavior.
7962 (self-insert-iso): Remove property since this command doesn't exist.
7963
7964 * emacs-lisp/package.el (package--download-one-archive)
7965 (describe-package-1): Don't query the user about final newline.
7966
7967 2013-10-29 Daniel Colascione <dancol@dancol.org>
7968
7969 * net/tramp.el (tramp-methods): Document new functionality.
7970 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7971 tramp-hostname-checker if method provides one instead of scanning
7972 argument list for "%h" to decide hostname acceptability.
7973
7974 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7975
7976 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7977 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7978 Handle COPY-CONTENTS. (Bug#15737)
7979
7980 2013-10-28 Daiki Ueno <ueno@gnu.org>
7981
7982 * epa-file.el
7983 (epa-file-cache-passphrase-for-symmetric-encryption):
7984 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7985
7986 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7987
7988 * image.el (defimage, image-load-path): Doc fixes.
7989
7990 2013-10-27 Alan Mackenzie <acm@muc.de>
7991
7992 Indent statements in macros following "##" correctly.
7993 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7994 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7995
7996 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7997
7998 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7999
8000 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
8001
8002 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
8003 after `=' is probably a new expression.
8004
8005 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8006
8007 * man.el (man-imenu-title): New option.
8008 (Man-mode-map): Add menu. (Bug#15722)
8009 (Man-mode): Add imenu to menu.
8010
8011 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
8012
8013 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
8014 specific in what the first arg can be: a non-keyword word,
8015 string/regexp/percent literal opener, opening paren, or unary
8016 operator followed directly by word.
8017
8018 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8019
8020 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
8021 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
8022 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
8023 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
8024 Remove vars, they do not apply any more.
8025 (prolog-mode-abbrev-table): Remove redundant declaration.
8026 (prolog-upper-case-string, prolog-lower-case-string): Remove.
8027 (prolog-use-smie): Remove.
8028 (prolog-smie-rules): Add indentation rule for the if-then-else layout
8029 supported by prolog-electric-if-then-else-flag.
8030 (prolog-mode-variables, prolog-menu): Use setq-local.
8031 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
8032 Remove binding to `Backspace' since this key doesn't exist anyway.
8033 Remove bindings for electric self-inserting keys.
8034 (prog-mode): Assume it's defined.
8035 (prolog-post-self-insert): New function.
8036 (prolog-mode): Use it.
8037 (prolog-indent-line, prolog-indent-level)
8038 (prolog-find-indent-of-matching-paren)
8039 (prolog-indentation-level-of-line, prolog-goto-comment-column)
8040 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
8041 (prolog-goto-next-paren, prolog-in-string-or-comment)
8042 (prolog-tokenize, prolog-inside-mline-comment)
8043 (prolog-find-start-of-mline-comment): Remove functions.
8044 (prolog-find-unmatched-paren, prolog-clause-end)
8045 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
8046 (prolog-electric--if-then-else): Rename from
8047 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
8048 (prolog-tokenize-searchkey): Remove const.
8049 (prolog-clause-info): Use forward-sexp.
8050 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
8051 (prolog-electric-if-then-else): Remove commands.
8052 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
8053 for use in post-self-insert-hook.
8054 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
8055 for use in post-self-insert-hook.
8056 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
8057 for use in post-self-insert-hook.
8058 (prolog-electric--underscore): Rename from prolog-electric--underscore;
8059 adapt it for use in post-self-insert-hook.
8060
8061 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
8062
8063 * emacs-lisp/ert.el (ert-run-tests-interactively):
8064 Use `completing-read'. (Bug#9756)
8065
8066 2013-10-25 Eli Zaretskii <eliz@gnu.org>
8067
8068 * simple.el (line-move): Call line-move-1 instead of
8069 line-move-visual when the current window hscroll is zero, but
8070 temporary-goal-column indicates we will need to hscroll as result
8071 of the movement. (Bug#15712)
8072
8073 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
8074
8075 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
8076 capitalization. Use :visible instead of :active.
8077 Fix `ruby-indent-exp' reference. Add menu items for the generic
8078 commands that are used with SMIE.
8079 (ruby-do-end-to-brace): Insert space after `{'.
8080
8081 2013-10-25 John Anthony <john@jo.hnanthony.com>
8082
8083 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
8084
8085 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
8086
8087 2013-10-25 Glenn Morris <rgm@gnu.org>
8088
8089 * vc/vc.el (vc-print-log): Don't use a working revision unless
8090 one was explicitly specified. (Bug#15322)
8091
8092 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8093
8094 * subr.el (add-to-list): Preserve return value in compiler-macro
8095 (bug#15692).
8096
8097 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8098
8099 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
8100 result. Ask user to retry using '-all' flag. (Bug#15701)
8101
8102 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8103
8104 * emacs-lisp/smie.el: New smie-config system.
8105 (smie-config): New defcustom.
8106 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
8107 (smie-config-guess, smie-config-save): New commands.
8108 (smie-config--mode-local, smie-config--buffer-local)
8109 (smie-config--trace, smie-config--modefuns): New vars.
8110 (smie-config--advice, smie-config--mode-hook)
8111 (smie-config--setter, smie-config-local, smie-config--get-trace)
8112 (smie-config--guess-value, smie-config--guess): New functions.
8113 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
8114 text properties. Treat "string fence" syntax like string syntax.
8115
8116 * progmodes/sh-script.el (sh-use-smie): Change default.
8117 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
8118 (sh-var-value): Simplify by CSE.
8119 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
8120 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
8121 is used.
8122 (sh-guess-basic-offset): Use cl-incf.
8123 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
8124
8125 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
8126
8127 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
8128 (bug#15699).
8129
8130 2013-10-24 Glenn Morris <rgm@gnu.org>
8131
8132 * Makefile.in (abs_top_srcdir): Remove.
8133 (update-subdirs): Use relative path to update-subdirs.
8134
8135 2013-10-24 Eli Zaretskii <eliz@gnu.org>
8136
8137 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
8138 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
8139 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
8140 Call unmsys--file-name before expand-file-name, not after it.
8141
8142 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
8143
8144 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
8145 (ert-test-skipped): New error.
8146 (ert-skip, ert-stats-skipped): New defuns.
8147 (ert--skip-unless): New macro.
8148 (ert-test-skipped): New struct.
8149 (ert--run-test-debugger, ert-test-result-type-p)
8150 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
8151 (ert--stats-set-test-and-result, ert-char-for-test-result)
8152 (ert-string-for-test-result, ert-run-tests-batch)
8153 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
8154 Handle skipped tests. (Bug#9803)
8155
8156 2013-10-24 Glenn Morris <rgm@gnu.org>
8157
8158 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
8159
8160 * Makefile.in (abs_top_srcdir): New, set by configure.
8161 (update-subdirs): Correct build-aux location.
8162
8163 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
8164
8165 * vc/vc.el (vc-print-root-log): Always set `default-directory'
8166 value, whether we could auto-deduce `backend', or not.
8167
8168 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
8169 with parameters" example. Simplify the "is it block or is it
8170 hash" check, but also make it more thorough.
8171
8172 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
8173
8174 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
8175
8176 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
8177
8178 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
8179 { if it is hanging.
8180
8181 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
8182 :before ";".
8183
8184 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
8185
8186 * progmodes/compile.el (compilation-directory-matcher)
8187 (compilation-page-delimiter):
8188 Support GNU Make-4.0 directory quoting. (Bug#15678)
8189
8190 2013-10-23 Leo Liu <sdl.web@gmail.com>
8191
8192 * ido.el (ido-tidy): Handle read-only text.
8193
8194 2013-10-23 Glenn Morris <rgm@gnu.org>
8195
8196 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
8197 (emacs, compile, compile-always):
8198 Quote entities that might contain whitespace.
8199 (custom-deps, finder-data, autoloads): Use abs_lisp.
8200 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8201 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8202 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
8203
8204 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
8205
8206 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
8207 Use `following-char'.
8208
8209 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
8210
8211 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
8212 * progmodes/ruby-mode.el (ruby-smie-rules):
8213 Remove corresponding workaround. Fix indentation rule of ";" so it
8214 also applies when ";" is the parent.
8215
8216 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
8217
8218 * frame.el (display-screens, display-pixel-height)
8219 (display-pixel-width, display-mm-width, display-backing-store)
8220 (display-save-under, display-planes, display-color-cells)
8221 (display-visual-class, display-monitor-attributes-list):
8222 Mention the optional ‘display’ argument in doc strings.
8223
8224 2013-10-22 Michael Gauland <mikelygee@amuri.net>
8225
8226 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
8227 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
8228
8229 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8230
8231 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
8232 TODO. Add "." after " @ ".
8233 (ruby-smie--at-dot-call): New function. Checks if point at method
8234 call with explicit target.
8235 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
8236 to the method name tokens when it precedes them.
8237 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
8238 (ruby-smie-rules): Add rule for indentation before and after "."
8239 token.
8240
8241 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
8242
8243 * textmodes/remember.el (remember-diary-extract-entries):
8244 Avoid add-to-list.
8245
8246 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
8247 an instruction.
8248
8249 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8250
8251 * progmodes/ruby-mode.el (ruby-smie-grammar):
8252 Add (almost) all infix operators.
8253 (ruby-smie--implicit-semi-p): Add new operator chars.
8254
8255 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8256 `smie-down-list'.
8257 (ruby-smie--args-separator-p): Check that there's no newline
8258 between method call and its arguments.
8259
8260 2013-10-20 Alan Mackenzie <acm@muc.de>
8261
8262 Allow comma separated lists after Java "implements".
8263
8264 * progmodes/cc-engine.el (c-backward-over-enum-header):
8265 Parse commas.
8266 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
8267 from a "disallowed" list in enum fontification.
8268
8269 2013-10-20 Johan Bockgård <bojohan@gnu.org>
8270
8271 * startup.el (default-frame-background-mode): Remove unused defvar.
8272
8273 * progmodes/verilog-mode.el (verilog-mode): Don't set
8274 comment-indent-function globally.
8275
8276 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
8277
8278 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
8279 Move Info menu item creation to ns-win.el.
8280
8281 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
8282 in menu bar.
8283
8284 * menu-bar.el: Move GNUstep specific menus...
8285
8286 * term/ns-win.el (ns-initialize-window-system): ... to here.
8287
8288 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8289
8290 * simple.el (newline): Only run post-self-insert-hook when
8291 called interactively.
8292
8293 2013-10-19 Johan Bockgård <bojohan@gnu.org>
8294
8295 * icomplete.el (icomplete-with-completion-tables): Add :version.
8296
8297 2013-10-19 Alan Mackenzie <acm@muc.de>
8298
8299 Fix fontification bugs with constructors and const.
8300
8301 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
8302 CASE 2) Remove the check for the absence of a suffix construct
8303 after a function declaration with only types (no identifiers) in
8304 the parentheses. Also, accept a function declaration with just a
8305 type inside the parentheses, if this type can be positively
8306 recognised as such, or if a prefix keyword like "explicit" nails
8307 down the construct as a declaration.
8308
8309 2013-10-19 Eli Zaretskii <eliz@gnu.org>
8310
8311 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
8312 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
8313 the problem whereby selecting a menu item that leads to a
8314 minibuffer prompt moves the cursor out of the minibuffer window,
8315 making it hard to type at the prompt. Suggested by Stefan Monnier
8316 <monnier@iro.umontreal.ca>.
8317
8318 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
8319
8320 * menu-bar.el: Don't make Services menu.
8321
8322 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8323
8324 * ffap.el: Handle "/usr/include/c++/<version>" directories.
8325 (ffap-alist): Use ffap-c++-mode for c++-mode.
8326 (ffap-c++-path): New variable.
8327 (ffap-c++-mode): New function.
8328
8329 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
8330
8331 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
8332
8333 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
8334
8335 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
8336 introduced on 2013-09-08, which results in an infinite loop
8337 requesting a password.
8338
8339 2013-10-18 Glenn Morris <rgm@gnu.org>
8340
8341 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
8342
8343 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
8344
8345 Sync with upstream verilog-mode revision 1a6ecec7.
8346 * progmodes/verilog-mode.el (verilog-mode-version): Update.
8347 (verilog-mode-release-date): Remove.
8348 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
8349 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
8350 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
8351 (verilog-auto-tieoff-ignore-regexp)
8352 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
8353 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
8354 (verilog-signals-with, verilog-dir-cache-preserving)
8355 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
8356 Doc fixes.
8357 (verilog-case-fold): New option, to control case folding in
8358 regexp searches, bug597.
8359 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
8360 (verilog-string-match-fold, verilog-in-paren-count)
8361 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
8362 (verilog-at-close-struct-p): New functions.
8363 (verilog-beg-block-re-ordered, verilog-extended-case-re)
8364 (verilog-forward-sexp, verilog-set-auto-endcomments)
8365 (verilog-leap-to-case-head): Handle "unique0" case.
8366 (verilog-in-constraint-re): New constant.
8367 (verilog-keywords, verilog-type-font-keywords):
8368 Add some SystemVerilog 1800-2012 keywords.
8369 (verilog-label-be): Remove unimplemented argument, bug669.
8370 (verilog-batch-execute-func): When batch expanding clear
8371 create-lockfiles to prevent spurious user locks when a file ends
8372 up not changing.
8373 (verilog-calculate-indent, verilog-calc-1)
8374 (verilog-at-close-constraint-p, verilog-at-constraint-p)
8375 (verilog-do-indent): Fix indentation of nested constraints
8376 and structures.
8377 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
8378 (verilog-auto-inst-param): Use verilog-string-match-fold.
8379 (verilog-read-inst-module-matcher):
8380 Fix AUTOINST on gate primitives with #1.
8381 (verilog-read-decls): Fix double-declaring user-defined typed signals.
8382 Reads all user-defined typed variables.
8383 (verilog-read-defines): Fix reading definitions inside comments, bug647.
8384 (verilog-signals-matching-regexp)
8385 (verilog-signals-not-matching-regexp, verilog-auto):
8386 Respect verilog-case-fold.
8387 (verilog-diff-report): Fix line count.
8388 (verilog-auto-assign-modport): Remove unused local `modi'.
8389 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
8390 better handle multidimensional arrays.
8391 Fix packed array ports misadding bit index in AUTOINST, bug637.
8392 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
8393 to not double-declare existing outputs and inputs, respectively.
8394 (verilog-template-map): Bind U to verilog-sk-uvm-component.
8395 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
8396 (verilog-sk-uvm-component): New skeleton.
8397 (verilog-submit-bug-report): Add verilog-case-fold,
8398 remove verilog-mode-release-date.
8399
8400 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
8401
8402 * subr.el (sit-for): Call (input-pending-p t) so as to behave
8403 as before.
8404
8405 2013-10-18 Reuben Thomas <rrt@sc3d.org>
8406
8407 * textmodes/remember.el (remember): Set buffer-offer-save in
8408 remember buffers (bug#13566).
8409
8410 2013-10-18 Daniel Colascione <dancol@dancol.org>
8411
8412 When evaluating forms in ielm, direct standard output to ielm
8413 buffer. Add new ielm-return-for-effect command. Remove trailing
8414 whitespace throughout.
8415
8416 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
8417 (ielm-return-for-effect): New command.
8418 (ielm-send-input): Accept optional `for-effect' parameter.
8419 (ielm-eval-input): Accept optional `for-effect' parameter.
8420 Bind `standard-output' to stream we create using
8421 `ielm-standard-output-impl'. Suppress printing result when
8422 `for-effect'.
8423 (ielm-standard-output-impl): New function.
8424 (inferior-emacs-lisp-mode): Explain new features in documentation.
8425
8426 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
8427
8428 Code cleanup.
8429
8430 * net/tramp.el (tramp-debug-message): Do not check for connection
8431 buffer.
8432 (tramp-message): Use "vector" connection property.
8433
8434 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
8435 (tramp-equal-remote, tramp-eshell-directory-change)
8436 * net/tramp-adb.el (tramp-adb-handle-copy-file)
8437 (tramp-adb-handle-rename-file)
8438 * net/tramp-cmds.el (tramp-list-remote-buffers)
8439 (tramp-cleanup-connection, tramp-cleanup-this-connection)
8440 * net/tramp-compat.el (tramp-compat-process-running-p)
8441 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
8442 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
8443 (tramp-gvfs-handle-rename-file)
8444 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8445 (tramp-set-file-uid-gid)
8446 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8447 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
8448 of `file-remote-p'.
8449
8450 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
8451 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8452 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
8453 (tramp-gw-open-network-stream): Suppress unrelated traces.
8454
8455 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
8456 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8457 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8458 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
8459 connection property.
8460
8461 * net/tramp-cache.el (top): Suppress traces when reading
8462 persistency file.
8463
8464 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8465 Refactor common code. Improve debug message.
8466 (tramp-maybe-open-connection)
8467 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
8468 connection buffer too early.
8469
8470 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
8471 from `tramp-smb-actions-with-acl'.
8472 (tramp-smb-actions-set-acl): New defconst.
8473 (tramp-smb-handle-copy-directory)
8474 (tramp-smb-action-get-acl): New defun, renamed from
8475 `tramp-smb-action-with-acl'.
8476 (tramp-smb-action-set-acl): New defun.
8477 (tramp-smb-handle-set-file-acl): Rewrite.
8478
8479 2013-10-17 Glenn Morris <rgm@gnu.org>
8480
8481 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
8482
8483 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8484
8485 * skeleton.el (skeleton-newline): Remove.
8486 (skeleton-internal-1): Use (insert "\n") instead.
8487
8488 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
8489 let-bindings.
8490
8491 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
8492 forward-sexp-function while we redo its job (bug#15613).
8493
8494 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
8495
8496 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
8497 represented by lists.
8498
8499 2013-10-16 Glenn Morris <rgm@gnu.org>
8500
8501 * tmm.el (tmm--history): New dynamic variable.
8502 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
8503
8504 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
8505
8506 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
8507 (tramp-smb-errors): Add error messages.
8508 (tramp-smb-actions-with-acl): New defconst.
8509 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
8510 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
8511 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
8512 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
8513 (tramp-smb-get-stat-capability): Fix tests.
8514
8515 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
8516
8517 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
8518 (bug#15580).
8519
8520 2013-10-16 Glenn Morris <rgm@gnu.org>
8521
8522 * ansi-color.el (ansi-color-drop-regexp):
8523 Add 1J, 1K, 2K. (Bug#15617)
8524
8525 * files.el (hack-local-variables--warned-lexical): New.
8526 (hack-local-variables):
8527 Warn about misplaced lexical-binding. (Bug#15616)
8528
8529 * net/eww.el (eww-render): Always set eww-current-url,
8530 and update header line. (Bug#15622)
8531 (eww-display-html): ... Rather than just doing it here.
8532
8533 2013-10-15 Eli Zaretskii <eliz@gnu.org>
8534
8535 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
8536 menu navigations commands.
8537
8538 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
8539
8540 * progmodes/subword.el (subword-capitalize): Be careful when
8541 the search for [[:alpha:]] fails (bug#15580).
8542
8543 2013-10-14 Eli Zaretskii <eliz@gnu.org>
8544
8545 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
8546 to commands that scroll the menu.
8547
8548 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
8549
8550 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
8551 Handle methods ending with `?' and `!'.
8552
8553 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
8554
8555 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8556 `japanese-cp932' to `cp932' to fix the problem where saving a
8557 source file written in Shift_JIS twice would end up having
8558 `coding: japanese-cp932' which Ruby could not recognize.
8559 (ruby-mode-set-encoding): Add support for encodings mapped to nil
8560 in `ruby-encoding-map'.
8561 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8562 doesn't need to be explicitly declared in magic comment.
8563 (ruby-encoding-map): Add type declaration for better customize UI.
8564
8565 2013-10-13 Glenn Morris <rgm@gnu.org>
8566
8567 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8568 Occur buffers are read-only. http://bugs.debian.org/720775
8569
8570 * emacs-lisp/authors.el (authors-fixed-entries):
8571 Comment out old alpha stuff.
8572
8573 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
8574
8575 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8576 to `after-save-hook' instead of `before-save-hook'.
8577 (ruby-mode-set-encoding): Use the value of coding system used to
8578 write the file. Call `basic-save-buffer-1' after modifying the
8579 buffer.
8580
8581 2013-10-13 Alan Mackenzie <acm@muc.de>
8582
8583 Fix indentation/fontification of Java enum with
8584 "implements"/generic.
8585
8586 * progmodes/cc-engine.el (c-backward-over-enum-header):
8587 Extracted from the three other places and enhanced to handle generics.
8588 (c-inside-bracelist-p): Uses new function above.
8589 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8590 function above.
8591 (c-font-lock-enum-tail): Uses new function above.
8592
8593 2013-10-13 Kenichi Handa <handa@gnu.org>
8594
8595 * international/mule-cmds.el (select-safe-coding-system): Remove a
8596 superfluous condition in chekcing whether a coding system is safe
8597 or not.
8598
8599 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
8600
8601 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
8602
8603 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
8604
8605 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
8606
8607 2013-10-13 Glenn Morris <rgm@gnu.org>
8608
8609 * menu-bar.el (menu-bar-update-buffers):
8610 Unify Buffers menu prompt string. (Bug#15576)
8611
8612 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
8613
8614 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8615 Add some entries.
8616 (authors-fixed-entries): Use accented form of name.
8617
8618 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8619
8620 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8621 method calls (bug#15594).
8622 (ruby-smie--args-separator-p): New function.
8623 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8624 recognize paren-free method calls.
8625
8626 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8627 internals of universal-argument.
8628
8629 2013-10-11 Eli Zaretskii <eliz@gnu.org>
8630
8631 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8632 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8633 dropped menu on second mouse click on the menu bar.
8634
8635 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8636
8637 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8638 (explicit-shell-file-name): Declare.
8639 (sh--vars-before-point, sh--cmd-completion-table): New functions.
8640 (sh-completion-at-point-function): New function.
8641 (sh-mode): Use it.
8642 (sh-smie--keyword-p): Remove unused argument.
8643 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8644 vars.
8645 (sh-set-shell): Always setup SMIE, even if we use the
8646 old indentation code.
8647
8648 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
8649
8650 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8651 cases of ? and =.
8652 (ruby-smie-rules): Simplify the "do" rule. The cases when the
8653 predicate would return nil are almost non-existent.
8654 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8655
8656 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8657 cache also after commands that modify the buffer but don't move
8658 point.
8659
8660 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8661
8662 * env.el (substitute-env-in-file-name): New function.
8663 (substitute-env-vars): Extend the meaning of the optional arg.
8664
8665 2013-10-10 Eli Zaretskii <eliz@gnu.org>
8666
8667 * term/w32-win.el (dynamic-library-alist): Define separate lists
8668 of GIF DLLs for versions before and after 5.0.0 of giflib.
8669 (Bug#15531)
8670
8671 2013-10-10 João Távora <joaotavora@gmail.com>
8672
8673 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8674 not locked, use last revision and current source as
8675 defaults. (Bug#15569)
8676
8677 2013-10-10 Masatake YAMATO <yamato@redhat.com>
8678
8679 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8680 menu-bar is hidden.
8681
8682 2013-10-10 Martin Rudalics <rudalics@gmx.at>
8683
8684 * window.el (pop-to-buffer-same-window): Fix doc-string.
8685 (Bug#15492)
8686
8687 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8688
8689 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8690
8691 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8692
8693 * calendar/icalendar.el (icalendar-import-file):
8694 Fix interactive spec. (Bug#15482)
8695
8696 2013-10-10 Glenn Morris <rgm@gnu.org>
8697
8698 * desktop.el (desktop-save): Default to saving in .emacs.d,
8699 since PWD is no longer in desktop-path by default. (Bug#15319)
8700
8701 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8702 now that text mode has a menu with the same entry.
8703 (menu-bar-text-mode-auto-fill): Remove now unused func.
8704 * textmodes/text-mode.el (text-mode-map):
8705 Use auto-fill help text from menu-bar.el.
8706
8707 2013-10-10 John Anthony <john@jo.hnanthony.com>
8708
8709 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8710
8711 2013-10-09 Juri Linkov <juri@jurta.org>
8712
8713 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8714 instead of this-command-keys. Add universal-argument-more and
8715 universal-argument-minus to the list of prefix commands. (Bug#15568)
8716
8717 2013-10-09 Glenn Morris <rgm@gnu.org>
8718
8719 * vc/vc-svn.el (vc-svn-create-repo):
8720 Expand paths in file://... url. (Bug#15446)
8721
8722 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8723 Add some entries.
8724 (authors): Remove unused local variables.
8725
8726 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8727
8728 * profiler.el: Create a more coherent calltree from partial backtraces.
8729 (profiler-format): Hide the tail with `invisible' so that C-s can still
8730 find the hidden elements.
8731 (profiler-calltree-depth): Don't recurse so enthusiastically.
8732 (profiler-function-equal): New hash-table-test.
8733 (profiler-calltree-build-unified): New function.
8734 (profiler-calltree-build): Use it.
8735 (profiler-report-make-name-part): Indent the calltree less.
8736 (profiler-report-mode): Add visibility specs for profiler-format.
8737 (profiler-report-expand-entry, profiler-report-toggle-entry):
8738 Expand the whole subtree when provided with a prefix arg.
8739
8740 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8741
8742 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8743 iuwu-mod token.
8744 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8745 hanging iuwu-mod token.
8746 (ruby-smie--forward-token): Do not include a dot after a token in
8747 that token.
8748 (ruby-smie--backward-token): Likewise.
8749
8750 2013-10-08 Juri Linkov <juri@jurta.org>
8751
8752 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8753 to isearch-other-control-char.
8754 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8755 and isearch-post-command-hook to post-command-hook.
8756 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8757 and isearch-post-command-hook from post-command-hook.
8758 (isearch-unread-key-sequence)
8759 (isearch-reread-key-sequence-naturally)
8760 (isearch-lookup-scroll-key, isearch-other-control-char)
8761 (isearch-other-meta-char): Remove functions.
8762 (isearch-pre-command-hook, isearch-post-command-hook):
8763 New functions based on isearch-other-meta-char rewritten
8764 relying on the new behavior of overriding-terminal-local-map
8765 that does not replace the local keymaps any more. (Bug#15200)
8766
8767 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8768
8769 Support menus on text-mode terminals.
8770 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8771 functionality.
8772
8773 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8774
8775 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8776 Move here from mouse.el.
8777 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8778 and arrow keys.
8779 (tty-menu-navigation-map): New map for TTY menu navigation.
8780
8781 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8782
8783 * frame.el (display-mouse-p): Report text-mode mouse as available
8784 on w32.
8785 (display-popup-menus-p): Report availability if mouse is
8786 available; don't condition on window-system.
8787
8788 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8789 (tty-menu-selected-face): New faces.
8790
8791 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8792
8793 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8794 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8795 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8796 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8797 New constants.
8798 (lisp-mode-variables): New `elisp' argument.
8799 (emacs-lisp-mode): Use it.
8800 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8801 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8802
8803 * indent.el: Use lexical-binding.
8804 (indent-region): Add progress reporter.
8805 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8806 last step.
8807 (indent--next-tab-stop): New function to implement this behavior.
8808 (tab-to-tab-stop, move-to-tab-stop): Use it.
8809
8810 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8811
8812 * indent.el (indent-rigidly--current-indentation): New function.
8813 (indent-rigidly-map): New var.
8814 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8815
8816 2013-10-08 Bastien Guerry <bzg@gnu.org>
8817
8818 * register.el (insert-register): Fix 2013-10-07 change.
8819
8820 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8821
8822 * progmodes/perl-mode.el: Use lexical-binding.
8823 Remove redundant :group args.
8824 (perl-nochange): Change default to be closer to other major modes's
8825 standard behavior.
8826 (perl-indent-line): Don't consider text on current line as a
8827 valid beginning of function from which to indent.
8828
8829 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8830 with more than one argument (bug#15538).
8831
8832 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8833
8834 * vc/pcvs.el: Use lexical-binding.
8835 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8836 environment of `eval'.
8837 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8838 than a list of expressions. Adjust callers.
8839 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8840
8841 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8842
8843 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8844 case of the dot in a chained method call being on the following line.
8845
8846 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8847
8848 * electric.el (electric-indent-inhibit): New var.
8849 (electric-indent-post-self-insert-function): Use it.
8850 * progmodes/python.el (python-mode): Set it.
8851
8852 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8853 open braces.
8854
8855 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8856
8857 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8858 (css-mode): Use electric-indent-chars.
8859
8860 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8861 (font-lock-beg, font-lock-end): Move before first use.
8862 (nxml-mode): Use syntax-propertize-function.
8863 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8864 (nxml-extend-after-change-region): Remove.
8865 * nxml/xmltok.el: Use lexical-binding.
8866 (xmltok-save): Use `declare'.
8867 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8868 * nxml/nxml-util.el: Use lexical-binding.
8869 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8870 Use `declare'.
8871 * nxml/nxml-ns.el: Use lexical-binding.
8872 (nxml-ns-save): Use `declare'.
8873 (nxml-ns-prefixes-for): Avoid add-to-list.
8874 * nxml/rng-match.el: Use lexical-binding.
8875 (rng--ipattern): Use cl-defstruct.
8876 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8877 (rng-cons-group-after, rng-subst-group-after)
8878 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8879 Use closures instead of `(lambda...).
8880
8881 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8882
8883 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8884 of BEG and END.
8885
8886 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8887 Use `tramp-handle-insert-file-contents'.
8888 (tramp-gvfs-handle-insert-file-contents): Remove function.
8889
8890 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8891 Use `save-restriction' in order to keep markers.
8892
8893 * net/trampver.el: Update release number.
8894
8895 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8896
8897 * progmodes/compile.el (compilation-parse-errors):
8898 Use compilation--put-prop.
8899 (compilation--ensure-parse): Check compilation-multiline.
8900
8901 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8902
8903 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8904 lexical-binding.
8905
8906 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8907
8908 * progmodes/ruby-mode.el: Fix recently added tests.
8909 (ruby-smie-grammar): Add - and +.
8910 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8911 (ruby-smie--backward-id): New functions.
8912 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8913 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8914 any more.
8915
8916 2013-10-07 Leo Liu <sdl.web@gmail.com>
8917
8918 * register.el (register-preview-delay)
8919 (register-preview-functions): New variables.
8920 (register-read-with-preview, register-preview)
8921 (register-describe-oneline): New functions.
8922 (point-to-register, window-configuration-to-register)
8923 (frame-configuration-to-register, jump-to-register)
8924 (number-to-register, view-register, insert-register)
8925 (copy-to-register, append-to-register, prepend-to-register)
8926 (copy-rectangle-to-register): Use register-read-with-preview to
8927 read register. (Bug#15525)
8928
8929 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8930
8931 * net/network-stream.el (network-stream-open-starttls): Don't add
8932 --insecure if it's already present, because that gnutls-cli
8933 rejects getting that parameter twice.
8934
8935 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8936
8937 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8938 keyword, too.
8939
8940 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8941
8942 * newcomment.el (comment-use-global-state): Change default value
8943 to t, mark obsolete (Bug#15251).
8944 (comment-beginning): In addition to `comment-to-syntax', check the
8945 value of `comment-use-global-state'.
8946
8947 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8948
8949 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8950 (ruby-comment-column): Follow the global default, by default.
8951 (ruby-smie-grammar): Add assignment syntax.
8952 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8953 open-paren, a comma, or a \.
8954 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8955 and line continuations.
8956 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8957 followed by implicit semi-colons. Add rule for string concatenation
8958 and for indentation at BOB.
8959 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8960
8961 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8962 calling next-sexp, since next-token may have skipped chars which
8963 next-sexp doesn't know should be skipped!
8964
8965 2013-10-05 Leo Liu <sdl.web@gmail.com>
8966
8967 * progmodes/octave.el (octave-send-region):
8968 Call compilation-forget-errors.
8969
8970 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8971
8972 * vc/vc-svn.el (vc-svn-find-admin-dir):
8973 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8974 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8975 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8976 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8977
8978 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8979
8980 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8981
8982 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8983
8984 * subr.el (read-passwd): Hide chars even when called within a context
8985 where after-change-functions is disabled (bug#15501).
8986 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8987 until we removed ourself from overriding-terminal-local-map.
8988
8989 2013-10-04 Leo Liu <sdl.web@gmail.com>
8990
8991 * progmodes/octave.el (inferior-octave-mode):
8992 Call compilation-forget-errors.
8993
8994 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8995
8996 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8997
8998 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8999
9000 * net/secrets.el (secrets-create-collection): Add optional
9001 argument ALIAS. Use proper Label keyword. Append ALIAS as
9002 dbus-call-method argument. (Bug#15516)
9003
9004 2013-10-04 Leo Liu <sdl.web@gmail.com>
9005
9006 * progmodes/octave.el (inferior-octave-error-regexp-alist)
9007 (inferior-octave-compilation-font-lock-keywords): New variables.
9008 (compilation-error-regexp-alist)
9009 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
9010 (inferior-octave-mode): Use compilation-shell-minor-mode.
9011
9012 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
9013
9014 * minibuffer.el (completion--replace): Be careful that `end' might be
9015 a marker.
9016
9017 2013-10-03 Daiki Ueno <ueno@gnu.org>
9018
9019 Add support for package signature checking.
9020 * emacs-lisp/package.el (url-http-file-exists-p)
9021 (epg-make-context, epg-context-set-home-directory)
9022 (epg-verify-string, epg-context-result-for)
9023 (epg-signature-status, epg-signature-to-string)
9024 (epg-check-configuration, epg-configuration)
9025 (epg-import-keys-from-file): Declare.
9026 (package-check-signature): New user option.
9027 (package-unsigned-archives): New user option.
9028 (package-desc): Add `signed' field.
9029 (package-load-descriptor): Set `signed' field if .signed file exists.
9030 (package--archive-file-exists-p): New function.
9031 (package--check-signature): New function.
9032 (package-install-from-archive): Check package signature.
9033 (package--download-one-archive): Check archive signature.
9034 (package-delete): Remove .signed file.
9035 (package-import-keyring): New command.
9036 (package-refresh-contents): Import default keyring.
9037 (package-desc-status): Add "unsigned" status.
9038 (describe-package-1, package-menu--print-info)
9039 (package-menu-mark-delete, package-menu--find-upgrades)
9040 (package-menu--status-predicate): Support "unsigned" status.
9041
9042 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9043
9044 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
9045 the new compilation scheme using the new byte-codes.
9046
9047 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
9048 (byte-pophandler): New byte codes.
9049 (byte-goto-ops): Adjust accordingly.
9050 (byte-compile--use-old-handlers): New var.
9051 (byte-compile-catch): Use new byte codes depending on
9052 byte-compile--use-old-handlers.
9053 (byte-compile-condition-case--old): Rename from
9054 byte-compile-condition-case.
9055 (byte-compile-condition-case--new): New function.
9056 (byte-compile-condition-case): New function that dispatches depending
9057 on byte-compile--use-old-handlers.
9058 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
9059 when we can.
9060
9061 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
9062 Optimize under `condition-case' and `catch' if
9063 byte-compile--use-old-handlers is nil.
9064 (disassemble-offset): Handle new bytecodes.
9065
9066 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9067
9068 * subr.el (error): Use `declare'.
9069 (decode-char, encode-char): Use advertised-calling-convention instead
9070 of the docstring to discourage use of the `restriction' arg.
9071
9072 2013-10-03 Daiki Ueno <ueno@gnu.org>
9073
9074 * epg.el (epg-verify-file): Add a comment saying that it does not
9075 notify verification error as a return value nor a signal.
9076 (epg-verify-string): Ditto.
9077
9078 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
9079
9080 * progmodes/compile.el (compilation-start): Try globbing the arg to
9081 `cd' (bug#15417).
9082
9083 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
9084
9085 Sync with Tramp 2.2.8.
9086
9087 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
9088 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
9089 * net/trampver.el: Update release number.
9090
9091 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
9092
9093 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
9094 and default-process-coding-system for darwin only.
9095
9096 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
9097
9098 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
9099
9100 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
9101
9102 * vc/vc-git.el (vc-git-grep): Disable pager.
9103
9104 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
9105
9106 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
9107 Use :url instead of :homepage, as per
9108 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
9109
9110 * newcomment.el (comment-beginning): When `comment-use-syntax' is
9111 non-nil, use `syntax-ppss' (Bug#15251).
9112
9113 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9114
9115 * progmodes/octave.el (inferior-octave-startup-file):
9116 Prefer ~/.emacs.d/init_octave.m.
9117
9118 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
9119
9120 * emacs-lisp/package.el (package-desc-from-define):
9121 Accept additional arguments as plist, convert them to an alist and store
9122 them in the `extras' slot.
9123 (package-generate-description-file): Convert extras alist back to
9124 plist and append to the `define-package' form arguments.
9125 (package--alist-to-plist): New function.
9126 (package--ac-desc): Add `extras' slot.
9127 (package--add-to-archive-contents): Check if the archive-contents
9128 vector is long enough, and if it is, pass its `extras' slot value
9129 to `package-desc-create'.
9130 (package-buffer-info): Call `lm-homepage', pass the returned value
9131 to `package-desc-from-define'.
9132 (describe-package-1): Render the homepage button (Bug#13291).
9133
9134 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9135 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
9136
9137 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
9138
9139 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
9140 and default-process-coding-system to utf-8-unix (Bug#15402).
9141
9142 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
9143
9144 * subr.el (looking-back): Do not recommend using looking-back.
9145
9146 2013-09-28 Alan Mackenzie <acm@muc.de>
9147
9148 Fix indentation/fontification of Java enum with "implements".
9149
9150 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
9151 regexp which matches "implements", etc., in Java.
9152 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
9153 specifier clauses coming after "enum".
9154 * progmodes/cc-fonts.el (c-font-lock-declarations)
9155 (c-font-lock-enum-tail): Check for extra specifier clauses coming
9156 after "enum".
9157
9158 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
9159
9160 * faces.el (region): Change ns_selection_color to
9161 ns_selection_fg_color, add ns_selection_bg_color.
9162
9163 2013-09-28 Leo Liu <sdl.web@gmail.com>
9164
9165 * progmodes/octave.el (inferior-octave-completion-table)
9166 (inferior-octave-completion-at-point): Minor tweaks.
9167
9168 * textmodes/ispell.el (ispell-lookup-words): Rename from
9169 lookup-words. (Bug#15460)
9170 (lookup-words): Obsolete.
9171 (ispell-complete-word, ispell-command-loop): All uses changed.
9172
9173 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9174
9175 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
9176 (octave-mode-menu): Add octave-send-buffer.
9177 (octave-send-buffer): New function.
9178
9179 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9180
9181 * progmodes/octave.el (octave-mode-map): Add key binding for
9182 octave-lookfor.
9183 (octave-mode-menu): Add octave-lookfor.
9184 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
9185 octave-lookfor.
9186 (octave-lookfor): New function.
9187
9188 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9189
9190 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
9191 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
9192 its convention.
9193 (cl--loop-set-iterator-function): New function.
9194 (cl-loop): Adjust accordingly, so as not to use cl-subst.
9195 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
9196 Bind `it' with `let' instead of substituting it with `cl-subst'.
9197 (cl--unused-var-p): New function.
9198 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
9199 Eliminate some unused variable warnings (bug#15326).
9200
9201 2013-09-27 Tassilo Horn <tsdh@gnu.org>
9202
9203 * doc-view.el (doc-view-scale-reset): Rename from
9204 `doc-view-reset-zoom-level'.
9205 (doc-view-scale-adjust): New command.
9206 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
9207 `doc-view-scale-adjust'.
9208
9209 2013-09-26 Tassilo Horn <tsdh@gnu.org>
9210
9211 * doc-view.el (doc-view-reset-zoom-level): New command.
9212 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
9213 zoom commands (bug#15466).
9214
9215 2013-09-26 Kenichi Handa <handa@gnu.org>
9216
9217 * international/quail.el (quail-help): Make it not a command.
9218
9219 2013-09-26 Leo Liu <sdl.web@gmail.com>
9220
9221 * minibuffer.el (completion-all-sorted-completions): Make args
9222 optional as they are.
9223
9224 2013-09-25 Daniel Colascione <dancol@dancol.org>
9225
9226 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
9227 specs are and that they're not evaluated.
9228
9229 2013-09-24 Sam Steingold <sds@gnu.org>
9230
9231 * midnight.el (clean-buffer-list-kill-regexps)
9232 (clean-buffer-list-kill-buffer-names): Update for the new Man
9233 buffer naming which includes the object name.
9234
9235 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9236
9237 * eshell/esh-cmd.el (eshell--sep-terms): New var.
9238 (eshell-parse-command, eshell-parse-pipeline): Use it since
9239 eshell-separate-commands requires a dynamic scoped var.
9240 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
9241
9242 2013-09-23 Leo Liu <sdl.web@gmail.com>
9243
9244 * autoinsert.el (auto-insert-alist): Make the value of
9245 lexical-binding match its file setting.
9246
9247 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
9248
9249 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
9250
9251 * autoarg.el (autoarg-kp-digit-argument):
9252 * electric.el (Electric-command-loop):
9253 * kmacro.el (kmacro-step-edit-insert):
9254 Do not set universal-argument-num-events.
9255
9256 2013-09-22 Leo Liu <sdl.web@gmail.com>
9257
9258 * files.el (interpreter-mode-alist): Add octave.
9259
9260 2013-09-21 Alan Mackenzie <acm@muc.de>
9261
9262 C++: fontify identifier in declaration following "public:" correctly.
9263 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
9264 to match "public", etc.
9265 (c-decl-prefix-re): Add ":" into the C++ value.
9266 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
9267 bit. Add a check for a ":" preceded by "public", etc.
9268
9269 2013-09-21 Eli Zaretskii <eliz@gnu.org>
9270
9271 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
9272 recognized by GDB 7.5 and later.
9273
9274 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
9275
9276 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
9277
9278 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9279
9280 * subr.el (internal--call-interactively): New const.
9281 (called-interactively-p): Use it (bug#3984).
9282
9283 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
9284
9285 * vc/pcvs.el (cvs-mode-ignore):
9286 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
9287 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
9288
9289 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9290
9291 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
9292 (eshell-ls-orig-insert-directory): Remove.
9293 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
9294 (eshell-ls-use-in-dired): Use advice-add/remove.
9295 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
9296 Add `orig-fun' arg for use in :around advice.
9297 Make it check (redundantly) eshell-ls-use-in-dired.
9298
9299 2013-09-19 Glenn Morris <rgm@gnu.org>
9300
9301 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
9302
9303 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
9304
9305 * emacs-lisp/eieio.el (class-parent): Undo previous change.
9306
9307 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
9308
9309 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
9310 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
9311 (tramp-get-remote-python): New defuns.
9312 (tramp-get-remote-uid-with-perl)
9313 (tramp-get-remote-gid-with-perl): New defuns. Perl code
9314 contributed by yary <not.com@gmail.com> (tiny change).
9315 (tramp-get-remote-uid-with-python)
9316 (tramp-get-remote-gid-with-python): New defuns. Python code
9317 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
9318 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
9319
9320 2013-09-19 Glenn Morris <rgm@gnu.org>
9321
9322 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
9323
9324 * eshell/em-unix.el (eshell-remove-entries):
9325 Rename argument to avoid name-clash with global `top-level'.
9326
9327 * eshell/esh-proc.el (eshell-kill-process-function):
9328 Remove eshell-reset-after-proc from eshell-kill-hook if present.
9329 (eshell-reset-after-proc): Remove unused arg `proc'.
9330
9331 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
9332 (directory-files-and-attributes): Mark unused arg.
9333
9334 * eshell/em-unix.el (eshell-remove-entries):
9335 Remove unused arg `path'. Update callers.
9336
9337 * eshell/em-hist.el (eshell-hist-parse-arguments):
9338 Remove unused arg `silent'. Update callers.
9339
9340 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
9341 Fix (f)boundp mix-up.
9342
9343 * eshell/em-smart.el (eshell-smart-scroll-window)
9344 (eshell-disable-after-change):
9345 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
9346
9347 2013-09-18 Alan Mackenzie <acm@muc.de>
9348
9349 Fix fontification of type when followed by "const".
9350 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
9351 "known" types from fontification.
9352
9353 2013-09-18 Glenn Morris <rgm@gnu.org>
9354
9355 * emacs-lisp/chart.el (x-display-color-cells): Declare.
9356 (chart-face-list): Drop Emacsen without display-color-p.
9357
9358 * net/eww.el (libxml-parse-html-region): Declare.
9359 (eww-display-html): Explicit error if no libxml2 support.
9360
9361 * doc-view.el (doc-view-mode): Silence --without-x compilation.
9362
9363 * image.el (image-type-from-buffer, image-multi-frame-p):
9364 Remove --without-x warning/error.
9365
9366 * mouse.el (mouse-yank-primary):
9367 * term.el (term-mouse-paste):
9368 Reorder to silence --without-x compilation.
9369
9370 * mpc.el (doc-view-mode): Silence --without-x compilation.
9371
9372 * mail/rmailmm.el (rmail-mime-set-bulk-data):
9373 Silence --without-x compilation.
9374
9375 * progmodes/gud.el (gud-find-file, gud-mode):
9376 Silence --without-x compilation.
9377 (tooltip-mode): Declare.
9378
9379 * wdired.el (dired-backup-overwrite): Remove declaration.
9380 (wdired-mode-map): Add doc string.
9381
9382 * custom.el (x-get-resource): Declare.
9383
9384 * eshell/em-glob.el (ange-cache):
9385 * eshell/em-unix.el (ange-cache): Declare.
9386
9387 * faces.el (x-display-list, x-open-connection, x-get-resource):
9388 Declare.
9389
9390 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
9391 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
9392 Declare.
9393
9394 * frame.el (x-display-grayscale-p, x-display-name): Declare.
9395
9396 * net/gnutls.el (gnutls-log-level): Declare.
9397
9398 * net/shr.el (image-size, image-animate): Declare.
9399
9400 * simple.el (font-info): Declare.
9401
9402 * subr.el (x-popup-dialog): Declare.
9403
9404 * term/common-win.el (x-select-enable-primary)
9405 (x-last-selected-text-primary, x-last-selected-text-clipboard):
9406 Declare.
9407
9408 * term/ns-win.el (x-handle-args): Declare.
9409
9410 * term/x-win.el (x-select-enable-clipboard): Declare.
9411
9412 * term/w32-win.el (create-default-fontset): Declare.
9413
9414 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
9415 Declare.
9416
9417 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
9418 (fit-frame-to-buffer): Explicit error if --without-x.
9419 (mouse-autoselect-window-select): Silence compiler.
9420
9421 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9422
9423 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
9424 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
9425 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
9426 * eshell/esh-util.el (eshell-sublist):
9427 Remove unused local variables.
9428
9429 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
9430
9431 * textmodes/two-column.el: Make 2C-split work for --without-x.
9432 (scroll-bar-columns): Autoload.
9433 (top-level): Require fringe when compiling.
9434
9435 2013-09-18 Leo Liu <sdl.web@gmail.com>
9436
9437 * subr.el (add-hook): Robustify to handle closure as well.
9438
9439 2013-09-17 Glenn Morris <rgm@gnu.org>
9440
9441 * simple.el (messages-buffer-mode-map): Unbind "g".
9442
9443 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9444
9445 * help-mode.el (help-mode-finish): Use derived-mode-p.
9446 Remove obsolete highlighting.
9447
9448 * play/life.el (life-mode): Use define-derived-mode. Derive from
9449 special-mode.
9450 (life): Let-bind inhibit-read-only.
9451 (life-setup): Avoid `setq'. Use `life-mode'.
9452
9453 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
9454 which should not be needed any more.
9455 (package-menu-refresh, package-menu-describe-package): Use user-error.
9456
9457 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
9458 (eshell-post-rewrite-command-hook): Make obsolete.
9459 (eshell-parse-command): Simplify.
9460 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
9461 (eshell--cmd): Declare.
9462 (eshell-parse-pipeline): Remove unused var `final-p'.
9463 Pass a dynvar to eshell-post-rewrite-command-hook.
9464 Implement the new eshell-post-rewrite-command-function.
9465 (eshell-invoke-directly): Remove unused arg `input'.
9466 * eshell/esh-io.el (eshell-io-initialize):
9467 Use eshell-post-rewrite-command-function (bug#15399).
9468 (eshell--apply-redirections): Rename from eshell-apply-redirections;
9469 adjust to new calling convention.
9470 (eshell-create-handles): Rename args to avoid clashing with dynvar
9471 `standard-output'.
9472
9473 2013-09-17 Glenn Morris <rgm@gnu.org>
9474
9475 * simple.el (messages-buffer-mode): New major mode.
9476 (messages-buffer): New function.
9477 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
9478 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
9479 (ert-run-test): Use `messages-buffer' function.
9480 (ert--force-message-log-buffer-truncation): Ignore read-only.
9481 * help.el (view-echo-area-messages): Use `messages-buffer' function.
9482 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
9483
9484 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9485
9486 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
9487
9488 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
9489
9490 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9491
9492 * icomplete.el (icomplete-in-buffer): New var.
9493 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
9494 vars and replace them with functions.
9495 (icomplete-minibuffer-setup): Adjust accordingly.
9496 (icomplete--completion-table, icomplete--completion-predicate)
9497 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
9498 New functions.
9499 (icomplete-forward-completions, icomplete-backward-completions)
9500 (icomplete-simple-completing-p, icomplete-exhibit)
9501 (icomplete-completions): Use them.
9502 (icomplete--in-region-buffer): New var.
9503 (icomplete--in-region-setup): New function.
9504 (icomplete-mode): Use it.
9505
9506 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
9507 (bug#15379).
9508 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
9509 return args and options.
9510 (eshell-eval-using-options): Use the new return value of
9511 eshell--do-opts to set the options's vars in their scope.
9512 (eshell--set-option): Rename from eshell-set-option.
9513 Add arg `opt-vals'.
9514 (eshell--process-option): Rename from eshell-process-option.
9515 Add arg `opt-vals'.
9516 (eshell--process-args): Use an `opt-vals' alist to store the options's
9517 values during their processing and return them additionally to the
9518 remaining args.
9519
9520 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
9521
9522 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
9523 continuation character an operator, as far as indentation is
9524 concerned (Bug#15369).
9525
9526 2013-09-15 Martin Rudalics <rudalics@gmx.at>
9527
9528 * window.el (window--state-put-2): Don't process buffer state
9529 when buffer doesn't exist any more (Bug#15382).
9530
9531 2013-09-15 Glenn Morris <rgm@gnu.org>
9532
9533 * eshell/em-unix.el (eshell/rm):
9534 Make -f ignore missing files. (Bug#15373)
9535
9536 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
9537 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
9538 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
9539
9540 2013-09-14 Glenn Morris <rgm@gnu.org>
9541
9542 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
9543
9544 2013-09-13 Glenn Morris <rgm@gnu.org>
9545
9546 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
9547 (dired-guess-default): Make `file' available in the env. (Bug#15363)
9548
9549 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
9550
9551 * frame.el (x-focus-frame): Mark as declared in frame.c.
9552
9553 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9554
9555 * ls-lisp.el: Use advice-add.
9556 (original-insert-directory): Remove.
9557 (ls-lisp--insert-directory): Rename from insert-directory; add
9558 `orig-fun' argument.
9559 (insert-directory): Advise.
9560
9561 2013-09-13 Eli Zaretskii <eliz@gnu.org>
9562
9563 * term.el (term-emulate-terminal): Decode the command string
9564 before passing it to term-command-hook. (Bug#15337)
9565
9566 2013-09-13 Glenn Morris <rgm@gnu.org>
9567
9568 * eshell/esh-util.el (ange-cache): Move declaration earlier.
9569
9570 * eshell/esh-ext.el (eshell-search-path): Declare.
9571
9572 * eshell/em-prompt.el (eshell/pwd): Autoload it.
9573 Otherwise an error occurs if eshell-dirs module not loaded.
9574
9575 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9576
9577 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
9578
9579 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9580 `tramp-check-proper-host'. Check for a valid method name.
9581
9582 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9583 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9584 * net/tramp-sh.el (tramp-maybe-open-connection):
9585 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9586
9587 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9588 also for hash values.
9589
9590 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9591
9592 * term/ns-win.el (parameters): Don't declare as dynamic.
9593 (before-make-frame-hook): Don't add ineffective function.
9594
9595 * eshell/*.el: Use lexical-binding (bug#15231).
9596
9597 2013-09-12 Kenichi Handa <handa@gnu.org>
9598
9599 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9600
9601 2013-09-12 Glenn Morris <rgm@gnu.org>
9602
9603 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9604 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9605
9606 * subr.el (do-after-load-evaluation): Also give compiler warnings
9607 when obsolete files are used (except by obsolete files).
9608
9609 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9610 in the status output, assume `filename' is the first. (Bug#15322)
9611
9612 * vc/vc.el (vc-deduce-fileset): Doc fix.
9613
9614 * calc/calc-help.el (Info-goto-node):
9615 * progmodes/cperl-mode.el (Info-find-node):
9616 * vc/ediff.el (Info-goto-node): Update declarations.
9617
9618 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9619
9620 * vc/vc-bzr.el (vc-compilation-mode): Declare.
9621 (vc-bzr-pull): Require vc-dispatcher.
9622 * vc/vc-git.el (vc-compilation-mode): Declare.
9623 (vc-git-pull): Require vc-dispatcher.
9624
9625 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9626
9627 * progmodes/octave.el (help-button-action): Declare.
9628
9629 * shell.el (shell-directory-tracker): Output error as a message
9630 rather than just returning it as a string.
9631 (shell-process-pushd): Remove useless use of message.
9632
9633 * dframe.el (dframe-timer-fn):
9634 * files.el (dir-locals-read-from-file):
9635 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9636 (mpc-format):
9637 * reveal.el (reveal-post-command):
9638 * saveplace.el (load-save-place-alist-from-file):
9639 * shell.el (shell-resync-dirs):
9640 * w32-common-fns.el (x-get-selection-value):
9641 * emacs-lisp/copyright.el (copyright-find-copyright):
9642 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9643 * emulation/tpu-edt.el (tpu-copy-keyfile):
9644 * play/bubbles.el (bubbles--mark-neighbourhood):
9645 * progmodes/executable.el
9646 (executable-make-buffer-file-executable-if-script-p):
9647 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9648
9649 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9650
9651 Cleanup Eshell to rely less on dynamic scoping.
9652 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9653 last-value, and ext-command here. Bind `args' closer to `body'.
9654 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9655 (eshell--args): Declare new dynamic var.
9656 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
9657 last-value, and ext-command. Pass `args' to `body'.
9658 (eshell-process-args): Bind eshell--args.
9659 (eshell-set-option): Use eshell--args.
9660 * eshell/eshell.el (eshell): Use derived-mode-p.
9661 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9662 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9663 (eshell-glob-function): Declare.
9664 * eshell/esh-util.el: Require cl-lib.
9665 (eshell-read-hosts-file): Avoid add-to-list.
9666 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9667 `err'.
9668 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9669 Declare.
9670 (eshell/diff): Remove unused var `err'.
9671 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9672 `killflag'.
9673 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9674 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9675 first use.
9676 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9677 Move declaration before first use.
9678 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9679 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9680 rely on cl-return.
9681
9682 2013-09-12 Glenn Morris <rgm@gnu.org>
9683
9684 * term/ns-win.el (global-map): Remove binding for ispell-next,
9685 deleted 1999-05-29. (Bug#15357)
9686
9687 2013-09-11 Glenn Morris <rgm@gnu.org>
9688
9689 * echistory.el (electric-command-history): Remove call to deleted func.
9690
9691 * play/landmark.el (landmark-mode): Fix typos.
9692
9693 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9694 Check cvs-sort-ignore-file is bound.
9695
9696 * savehist.el: No need for cl when compiling on Emacs.
9697
9698 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9699
9700 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9701 (bug#15338).
9702 (eshell-self-insert-command, eshell-send-invisible):
9703 Remove unused argument.
9704 (eshell-handle-control-codes): Remove unused var `orig'.
9705 Avoid delete-backward-char.
9706
9707 * files.el (set-auto-mode): Simplify a bit further.
9708
9709 2013-09-11 Glenn Morris <rgm@gnu.org>
9710
9711 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9712 (set-auto-mode): Don't regexp-quote elements.
9713 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9714 * progmodes/cc-mode.el (interpreter-mode-alist):
9715 * progmodes/ruby-mode.el (interpreter-mode-alist):
9716 Revert previous change.
9717
9718 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9719
9720 * play/snake.el (snake-mode):
9721 * play/mpuz.el (mpuz-mode):
9722 * play/landmark.el (lm-mode):
9723 * play/blackbox.el (blackbox-mode):
9724 * play/5x5.el (5x5-mode):
9725 * obsolete/options.el (Edit-options-mode):
9726 * net/quickurl.el (quickurl-list-mode):
9727 * net/newst-treeview.el (newsticker-treeview-mode):
9728 * mail/rmailsum.el (rmail-summary-mode):
9729 * mail/mspools.el (mspools-mode):
9730 * locate.el (locate-mode):
9731 * ibuffer.el (ibuffer-mode):
9732 * emulation/ws-mode.el (wordstar-mode):
9733 * emacs-lisp/debug.el (debugger-mode):
9734 * array.el (array-mode):
9735 * net/eudc.el (eudc-mode): Use define-derived-mode.
9736 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9737 Move initialization into declaration.
9738 (mairix-searches-mode): Use define-derived-mode.
9739 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9740 (eudc-edit-hotlist): Use dolist.
9741 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9742 (Man-mode): Use define-derived-mode.
9743 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9744 (Info-edit-mode): Use define-derived-mode.
9745 (Info-cease-edit): Use Info-mode.
9746 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9747 into declaration.
9748 (eshell-mode): Use define-derived-mode.
9749 * chistory.el (command-history-mode-map): Rename from
9750 command-history-map.
9751 (command-history-mode): Use define-derived-mode.
9752 (Command-history-setup): Remove function.
9753 * calc/calc.el (calc-trail-mode-map): New var.
9754 (calc-trail-mode): Use define-derived-mode.
9755 (calc-trail-buffer): Set calc-main-buffer manually.
9756 * bookmark.el (bookmark-insert-annotation): New function.
9757 (bookmark-edit-annotation): Use it.
9758 (bookmark-edit-annotation-mode): Make it a proper major mode.
9759 (bookmark-send-edited-annotation): Use derived-mode-p.
9760 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9761 closer to its ideal place. Use \' to match EOS.
9762
9763 * profiler.el (profiler-calltree-find): Use function-equal.
9764
9765 2013-09-10 Glenn Morris <rgm@gnu.org>
9766
9767 * files.el (interpreter-mode-alist): Convert to regexps.
9768 (set-auto-mode): Adapt for this. (Bug#15306)
9769 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9770 Comment out unused variable.
9771 * progmodes/cc-mode.el (interpreter-mode-alist):
9772 * progmodes/python.el (interpreter-mode-alist):
9773 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9774 * progmodes/sh-script.el (sh-set-shell):
9775 No longer use interpreter-mode-alist to get list of shells.
9776
9777 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9778
9779 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9780
9781 * simple.el: Use set-temporary-overlay-map for universal-argument.
9782 (universal-argument-map): Don't use default-bindings (bug#15317).
9783 Bind switch-frame explicitly. Replace universal-argument-minus with
9784 a conditional binding.
9785 (universal-argument-num-events, saved-overriding-map): Remove.
9786 (restore-overriding-map): Remove.
9787 (universal-argument--mode): Rename from save&set-overriding-map,
9788 and rewrite.
9789 (universal-argument, universal-argument-more, negative-argument)
9790 (digit-argument): Adjust accordingly.
9791 (universal-argument-minus): Remove.
9792 (universal-argument-other-key): Remove.
9793
9794 * subr.el (with-demoted-errors): Add `format' argument.
9795
9796 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9797
9798 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9799 `tramp-cleanup-connection'.
9800
9801 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9802 parameters KEEP-DEBUG and KEEP-PASSWORD.
9803
9804 * net/tramp.el (tramp-file-name-handler):
9805 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9806 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9807 (tramp-maybe-open-connection):
9808 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9809 Use `tramp-cleanup-connection'.
9810
9811 * net/tramp-sh.el (tramp-maybe-open-connection):
9812 Catch 'uname-changed inside the progress reporter.
9813
9814 2013-09-10 Glenn Morris <rgm@gnu.org>
9815
9816 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9817
9818 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9819 returns "alternate access method" in mode (eg "-rw-r--r--.").
9820
9821 2013-09-08 Glenn Morris <rgm@gnu.org>
9822
9823 * saveplace.el (load-save-place-alist-from-file):
9824 Demote errors. (Bug#15305)
9825
9826 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9827
9828 Improve compatibility with older Emacsen, and XEmacs.
9829
9830 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9831 only if it is bound. It isn't for XEmacs.
9832 (with-tramp-progress-reporter): Do not let-bind `result'.
9833 This yields to scoping errors in XEmacs.
9834 (tramp-handle-make-auto-save-file-name): New function, moved from
9835 tramp-sh.el.
9836
9837 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9838 for `make-auto-save-file-name'.
9839 (tramp-adb--gnu-switches-to-ash):
9840 Use `tramp-compat-replace-regexp-in-string'.
9841
9842 * net/tramp-cache.el (tramp-cache-print): Call
9843 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9844
9845 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9846 bound. It isn't for XEmacs.
9847
9848 * net/tramp-compat.el (tramp-compat-copy-file):
9849 Catch `wrong-number-of-arguments' error.
9850 (tramp-compat-replace-regexp-in-string): New defun.
9851
9852 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9853 for `make-auto-save-file-name'.
9854 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9855 `copy-file'.
9856 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9857 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9858 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9859
9860 * net/tramp-gw.el (tramp-gw-open-network-stream):
9861 Use `tramp-compat-replace-regexp-in-string'.
9862
9863 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9864 Call `tramp-handle-make-auto-save-file-name'.
9865 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9866 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9867 (tramp-sh-file-inotifywait-process-filter):
9868 Use `tramp-compat-replace-regexp-in-string'.
9869 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9870
9871 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9872 for `make-auto-save-file-name'.
9873 (tramp-smb-handle-copy-directory):
9874 Call `tramp-compat-replace-regexp-in-string'.
9875 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9876 (tramp-smb-handle-copy-file): Improve error message.
9877 (tramp-smb-handle-rename-file): Rename directly only in case
9878 `newname' does not exist yet. This is a restriction of smbclient.
9879 (tramp-smb-maybe-open-connection): Rerun the function only when
9880 `auth-sources' is non-nil.
9881
9882 2013-09-08 Kenichi Handa <handa@gnu.org>
9883
9884 * international/characters.el: Set category "^" (Combining) for
9885 more characters.
9886
9887 2013-09-07 Alan Mackenzie <acm@muc.de>
9888
9889 Correctly fontify Java class constructors.
9890 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9891 in Java Mode.
9892 (c-recognize-typeless-decls): Set the Java value to t.
9893 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9894 While handling a "(", add a check for, effectively, Java, and handle a
9895 "typeless" declaration there.
9896
9897 2013-09-07 Roland Winkler <winkler@gnu.org>
9898
9899 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9900 field subtitle for entry type book.
9901
9902 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9903
9904 * minibuffer.el: Make minibuffer-complete call completion-in-region
9905 rather than other way around.
9906 (completion--some, completion-pcm--find-all-completions):
9907 Don't delay signals when debugging.
9908 (minibuffer-completion-contents): Beware fields within the
9909 minibuffer contents.
9910 (completion-all-sorted-completions): Use defvar-local.
9911 (completion--do-completion, completion--cache-all-sorted-completions)
9912 (completion-all-sorted-completions, minibuffer-force-complete):
9913 Add args `beg' and `end'.
9914 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9915 (minibuffer-complete): Use completion-in-region.
9916 (completion-complete-and-exit): New fun, extracted from
9917 minibuffer-complete-and-exit.
9918 (minibuffer-complete-and-exit): Use it.
9919 (completion--complete-and-exit): Rename from
9920 minibuffer--complete-and-exit.
9921 (completion-in-region--single-word): New function, extracted from
9922 minibuffer-complete-word.
9923 (minibuffer-complete-word): Use it.
9924 (display-completion-list): Make `common-substring' argument obsolete.
9925 (completion--in-region): Call completion--in-region-1 instead of
9926 minibuffer-complete.
9927 (completion-help-at-point): Pass boundaries to
9928 minibuffer-completion-help as args rather than via an overlay.
9929 (completion-pcm--string->pattern): Use `any-delim'.
9930 (completion-pcm--optimize-pattern): New function.
9931 (completion-pcm--pattern->regex): Handle `any-delim'.
9932 * icomplete.el (icomplete-forward-completions)
9933 (icomplete-backward-completions, icomplete-completions):
9934 Adjust calls to completion-all-sorted-completions and
9935 completion--cache-all-sorted-completions.
9936 (icomplete-with-completion-tables): Default to t.
9937 * emacs-lisp/crm.el (crm--current-element): Rename from
9938 crm--select-current-element. Don't put an overlay but return the
9939 boundaries instead.
9940 (crm--completion-command): Take two new args to bind to the boundaries.
9941 (crm-completion-help): Adjust accordingly.
9942 (crm-complete): Use completion-in-region.
9943 (crm-complete-word): Use completion-in-region--single-word.
9944 (crm-complete-and-exit): Use completion-complete-and-exit.
9945
9946 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9947
9948 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9949 than dynamically.
9950
9951 2013-09-06 Juri Linkov <juri@jurta.org>
9952
9953 * info.el (Info-display-images-node): When image file doesn't exist
9954 display text version of the image if it's provided in the Info file.
9955 Otherwise, display the location of missing image from SRC attribute.
9956 Add help-echo text property from ALT attribute. (Bug#15279)
9957
9958 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9959
9960 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9961 (edit-abbrevs-mode): Use define-derived-mode.
9962
9963 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9964 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9965 that it's defined.
9966 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9967 Use define-derived-mode.
9968
9969 * epg.el (epg-start-encrypt): Minor CSE simplification.
9970
9971 2013-09-06 William Xu <william.xwl@gmail.com>
9972
9973 * arc-mode.el: Add support for 7za (bug#15264).
9974 (archive-7z-program): New var.
9975 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9976 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9977 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9978
9979 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9980
9981 Remove URL syntax.
9982
9983 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9984 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9985 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9986 (tramp-postfix-host-format, tramp-file-name-regexp)
9987 (tramp-completion-file-name-regexp)
9988 (tramp-completion-dissect-file-name)
9989 (tramp-handle-substitute-in-file-name): Remove 'url case.
9990 (tramp-file-name-regexp-url)
9991 (tramp-completion-file-name-regexp-url): Remove constants.
9992
9993 2013-09-06 Glenn Morris <rgm@gnu.org>
9994
9995 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9996
9997 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9998
9999 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
10000 keywords" below "here-doc beginnings" (Bug#15270).
10001
10002 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
10003
10004 * subr.el (pop): Use `car-safe'.
10005 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
10006 to detect unused `pop' return value.
10007
10008 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
10009 var `block-regexp'.
10010 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
10011 (python-fill-string): Remove unused var `marker'.
10012 (python-skeleton-add-menu-items): Remove unused var `items'.
10013
10014 * international/mule-cmds.el: Require CL.
10015 (find-coding-systems-for-charsets): Avoid add-to-list.
10016 (sanitize-coding-system-list): New function, extracted from
10017 select-safe-coding-system-interactively.
10018 (select-safe-coding-system-interactively): Use it.
10019 (read-input-method-name): Accept symbols for `default'.
10020
10021 * emacs-lisp/advice.el (defadvice): Add indent rule.
10022
10023 2013-09-05 Daniel Hackney <dan@haxney.org>
10024
10025 * dired-x.el:
10026 * net/ange-ftp.el:
10027 * net/browse-url.el:
10028 * net/dbus.el:
10029 * net/eudc.el:
10030 * net/eudcb-ldap.el:
10031 * net/eww.el:
10032 * net/imap.el:
10033 * printing.el:
10034 * vc/ediff-diff.el:
10035 * vc/ediff-init.el:
10036 * vc/ediff-merg.el:
10037 * vc/ediff-mult.el:
10038 * vc/ediff-util.el:
10039 * vc/ediff-wind.el:
10040 * vc/ediff.el:
10041 * vc/emerge.el:
10042 * vc/pcvs.el:
10043 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
10044 byte compiler. Remove some unused let-bound variables.
10045
10046 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
10047
10048 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
10049 a "ref-cell", since it gets better optimized (bug#14883).
10050
10051 2013-09-05 Glenn Morris <rgm@gnu.org>
10052
10053 * progmodes/cc-awk.el (c-forward-sws): Declare.
10054
10055 2013-09-04 Glenn Morris <rgm@gnu.org>
10056
10057 * generic-x.el [rul-generic-mode]: Require cc-mode.
10058 (c++-mode-syntax-table): Declare.
10059 (rul-generic-mode-syntax-table): Init in the defvar.
10060
10061 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
10062
10063 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
10064 (vc-do-command, vc-set-async-update):
10065 * vc/vc-mtn.el (vc-mtn-dir-status):
10066 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
10067 (vc-hg-pull, vc-hg-merge-branch):
10068 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
10069 (vc-git-merge-branch):
10070 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
10071 (vc-cvs-dir-status-files):
10072 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
10073 (vc-bzr-dir-status-files):
10074 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
10075 * vc/vc-annotate.el: Use lexical-binding.
10076 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
10077 (vc-sentinel-movepoint): Declare.
10078 (vc-annotate): Don't use `goto-line'.
10079 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
10080 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
10081 (vc-sentinel-movepoint): Declare.
10082 * vc/vc-svn.el: Use lexical-binding.
10083 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
10084 * vc/vc-sccs.el:
10085 * vc/vc-rcs.el: Use lexical-binding.
10086
10087 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
10088 `deleted'. Don't drop errors silently.
10089
10090 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
10091
10092 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
10093
10094 * vc/vc.el (vc-ignore): Rewrite.
10095 (vc-default-ignore): New function.
10096 (vc-default-ignore-completion-table): Use find-ignore-file.
10097
10098 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
10099 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
10100 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
10101 Remove. Most code moved to vc.el.
10102
10103 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
10104
10105 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
10106 * net/tramp-smb.el (tramp-smb-get-file-entries):
10107 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
10108 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
10109
10110 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
10111 Update call to it.
10112 (eww-change-select): Remove unused var `properties'.
10113 (eww-make-unique-file-name): Remove unused var `base'.
10114
10115 * finder.el (finder-compile-keywords): Don't mess with windows.
10116
10117 * calculator.el (calculator-funcall): Fix typo in last change.
10118
10119 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
10120
10121 * emacs-lisp/package.el (package-activate-1): Don't let a missing
10122 <pkg>-autoloads.el file stop us.
10123
10124 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
10125 warnings, and factor out common code.
10126
10127 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
10128
10129 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
10130 two-character operators and whether the character preceding them
10131 changes their meaning (Bug#15208).
10132
10133 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
10134
10135 Format code sent to Python shell for robustness.
10136 * progmodes/python.el (python-shell-buffer-substring):
10137 New function.
10138 (python-shell-send-region, python-shell-send-buffer): Use it.
10139
10140 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
10141
10142 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
10143 * net/tramp.el (tramp-user-error): ... here.
10144 (tramp-find-method, tramp-check-proper-host)
10145 (tramp-dissect-file-name, tramp-debug-message)
10146 (tramp-handle-shell-command):
10147 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10148 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
10149
10150 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
10151
10152 2013-09-02 Martin Rudalics <rudalics@gmx.at>
10153
10154 * avoid.el (mouse-avoidance-point-position)
10155 (mouse-avoidance-too-close-p): Handle case where posn-at-point
10156 returns nil.
10157
10158 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
10159
10160 * progmodes/python.el (python-shell-completion-get-completions):
10161 Drop use of deleted `comint-last-prompt-overlay'.
10162 (python-nav-if-name-main): New command.
10163
10164 2013-09-01 Glenn Morris <rgm@gnu.org>
10165
10166 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10167 Avoid leading space in $wins. Otherwise the sed command used by
10168 eg compile-main ends up containing "/*.el". (Bug#15170)
10169
10170 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
10171
10172 2013-08-30 Glenn Morris <rgm@gnu.org>
10173
10174 * emacs-lisp/bytecomp.el (byte-recompile-directory):
10175 Fix is-this-a-directory logic. (Bug#15220)
10176
10177 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10178
10179 * textmodes/css-mode.el: Use SMIE.
10180 (css-smie-grammar): New var.
10181 (css-smie--forward-token, css-smie--backward-token)
10182 (css-smie-rules): New functions.
10183 (css-mode): Use them.
10184 (css-navigation-syntax-table): Remove var.
10185 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
10186 (css-indent-calculate, css-indent-line): Remove functions.
10187
10188 Misc changes to reduce use of `(lambda...); and other cleanups.
10189 * cus-edit.el: Use lexical-binding.
10190 (customize-push-and-save, customize-apropos)
10191 (custom-buffer-create-internal): Use closures.
10192 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
10193 * progmodes/ada-xref.el: Use setq.
10194 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
10195 * dframe.el: Use lexical-binding.
10196 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
10197 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
10198 * descr-text.el: Use lexical-binding.
10199 (describe-text-widget, describe-text-sexp, describe-property-list):
10200 Use closures.
10201 * comint.el (comint-history-isearch-push-state): Use a closure.
10202 * calculator.el: Use lexical-binding.
10203 (calculator-number-to-string): Make it work with lexical-binding.
10204 (calculator-funcall): Same and use cl-letf.
10205
10206 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
10207 (lisp--company-doc-string, lisp--company-location): New functions.
10208 (lisp-completion-at-point): Use them to improve Company support.
10209
10210 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
10211 params of lambda expressions.
10212 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
10213 (ruby-smie--opening-pipe-p): New function.
10214 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
10215 symbols and matched |...| for formal params.
10216 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
10217 from being treated as hanging. Handle "rescue".
10218
10219 2013-08-29 Glenn Morris <rgm@gnu.org>
10220
10221 * progmodes/cc-engine.el (c-pull-open-brace):
10222 Move definition before use.
10223
10224 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10225
10226 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
10227 are immutable. Don't use `unsafe' any more.
10228 (cl--defsubst-expand): Don't substitute at the same time as keeping
10229 a residual unused let-binding. Don't use `unsafe' any more.
10230
10231 2013-08-29 Glenn Morris <rgm@gnu.org>
10232
10233 * calendar/cal-china.el (calendar-chinese-year-cache):
10234 Recenter on 2015.
10235
10236 * nxml/nxml-util.el (nxml-debug-clear-inside):
10237 Use cl-loop rather than loop.
10238
10239 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
10240
10241 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
10242
10243 2013-08-28 Glenn Morris <rgm@gnu.org>
10244
10245 * progmodes/antlr-mode.el: No need to require cc-mode twice.
10246
10247 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
10248
10249 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
10250
10251 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10252
10253 * simple.el (repeat-complex-command--called-interactively-skip):
10254 New function.
10255 (repeat-complex-command): Use it (bug#14136).
10256
10257 * progmodes/cc-mode.el: Minor cleanup of var declarations.
10258 (c-define-abbrev-table): Add `doc' argument.
10259 (c-mode-abbrev-table, c++-mode-abbrev-table)
10260 (objc-mode-abbrev-table, java-mode-abbrev-table)
10261 (idl-mode-abbrev-table, pike-mode-abbrev-table)
10262 (awk-mode-abbrev-table): Use it.
10263 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
10264 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
10265 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
10266 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
10267 Move initialization into the declaration; and remove any
10268 autoload cookie.
10269
10270 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
10271 and dynamic let binding.
10272
10273 * vc/smerge-mode.el: Remove redundant :group args.
10274
10275 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
10276 to load-path.
10277
10278 2013-08-28 Juri Linkov <juri@jurta.org>
10279
10280 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
10281 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
10282 (isearch-other-meta-char): Handle an undefined shifted printing
10283 character by downshifting it. (Bug#15200)
10284
10285 2013-08-28 Juri Linkov <juri@jurta.org>
10286
10287 * isearch.el (isearch-search): Change regexp error message for
10288 non-regexp searches. (Bug#15166)
10289
10290 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
10291
10292 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
10293 for portability to hosts where /bin/sh has problems.
10294
10295 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10296
10297 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
10298
10299 2013-08-27 Juri Linkov <juri@jurta.org>
10300
10301 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
10302 in the keyboard macro. (Bug#15126)
10303
10304 2013-08-27 Juri Linkov <juri@jurta.org>
10305
10306 * isearch.el (isearch-quote-char): Comment out converting unibyte
10307 to multibyte, thus syncing with its `quoted-insert' counterpart.
10308 (Bug#15166)
10309
10310 2013-08-27 Martin Rudalics <rudalics@gmx.at>
10311
10312 * window.el (display-buffer-use-some-window): Add missing
10313 argument in call of get-largest-window (Bug#15185).
10314 Reported by Stephen Leake.
10315
10316 2013-08-27 Glenn Morris <rgm@gnu.org>
10317
10318 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
10319
10320 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
10321
10322 * progmodes/python.el (python-font-lock-keywords): Don't return nil
10323 from a matcher-function unless there's no more matches (bug#15161).
10324
10325 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10326
10327 * minibuffer.el: Revert change from 2013-08-20.
10328
10329 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
10330 with text property `tramp-default', if appropriate.
10331 (tramp-check-proper-host): New defun.
10332 (tramp-dissect-file-name): Do not check hostname. Revert change
10333 of 2013-03-18.
10334 (tramp-backtrace): Make VEC-OR-PROC optional.
10335
10336 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10337 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10338 * net/tramp-sh.el (tramp-maybe-open-connection):
10339 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10340 Apply `tramp-check-proper-host'.
10341
10342 2013-08-26 Tassilo Horn <tsdh@gnu.org>
10343
10344 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
10345 lambda expression in order to have `describe-variable' display it.
10346
10347 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10348
10349 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
10350 BUF can be optional. (Bug#15186)
10351
10352 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
10353
10354 * progmodes/flymake.el (flymake-get-real-file-name-function):
10355 Fix broken customization. (Bug#15184)
10356
10357 2013-08-25 Alan Mackenzie <acm@muc.de>
10358
10359 Improve indentation of bracelists defined by macros (without "=").
10360
10361 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
10362 expansion begins with "{", regard it as bracelist when it doesn't
10363 contain a ";".
10364
10365 Parse C++ inher-intro when there's a template split over 2 lines.
10366
10367 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
10368 rigorously the search for "class" etc. followed by ":".
10369
10370 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
10371 random languages a regexp which never matches rather than nil.
10372
10373 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
10374
10375 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
10376 (c-awk-regexp-one-line-possibly-open-char-list-re)
10377 (c-awk-one-line-possibly-open-regexp-re)
10378 (c-awk-one-line-non-syn-ws*-re): Remove.
10379 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
10380 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
10381 (c-awk-space*-unclosed-regexp-/-re): New constants.
10382 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
10383 aren't regexp delimiters.
10384
10385 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
10386 handling for a rare situation in AWK Mode involving unterminated
10387 strings/regexps.
10388
10389 2013-08-23 Glenn Morris <rgm@gnu.org>
10390
10391 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
10392
10393 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
10394
10395 * files.el (create-file-buffer): If the result would begin with
10396 spaces, prepend a "|" instead of removing them. (Bug#15162)
10397
10398 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10399
10400 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
10401 text-properties (bug#15155).
10402
10403 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
10404 exist any more.
10405 (calc-keypad-redraw): Remove unused var `pad'.
10406 (calc-keypad-press): Remove unused var `menu'.
10407
10408 2013-08-23 Martin Rudalics <rudalics@gmx.at>
10409
10410 * window.el (display-buffer-pop-up-frame):
10411 Call pop-up-frame-function with BUFFER current so `make-frame' will
10412 use it as the new frame's buffer (Bug#15133).
10413
10414 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10415
10416 * calendar/timeclock.el: Minor cleanups.
10417 (timeclock-ask-before-exiting, timeclock-use-display-time):
10418 Use `symbol'.
10419 (timeclock-modeline-display): Define as alias before the
10420 actual definition.
10421 (timeclock-mode-line-display): Use define-minor-mode.
10422 (timeclock-day-list-template): Make it a function, add an argument.
10423 (timeclock-day-list-required, timeclock-day-list-length)
10424 (timeclock-day-list-debt, timeclock-day-list-span)
10425 (timeclock-day-list-break): Adjust calls accordingly.
10426
10427 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
10428
10429 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
10430 Use read--expression so that completion works again.
10431
10432 2013-08-21 Sam Steingold <sds@gnu.org>
10433
10434 Add rudimentary inferior shell interaction
10435 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
10436 (sh-set-shell): Reset it.
10437 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
10438 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
10439
10440 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
10441
10442 * align.el: Use lexical-binding.
10443 (align-region): Simplify accordingly.
10444
10445 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
10446
10447 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
10448
10449 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
10450 `non-essential' up.
10451
10452 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
10453
10454 * net/tramp.el:
10455 * net/tramp-adb.el:
10456 * net/tramp-cmds.el:
10457 * net/tramp-ftp.el:
10458 * net/tramp-gvfs.el:
10459 * net/tramp-gw.el:
10460 * net/tramp-sh.el: Don't wrap external variable declarations by
10461 `eval-when-compile'.
10462
10463 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10464
10465 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
10466 now that Emacs supports ImageMagick animations.
10467
10468 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
10469
10470 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
10471 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
10472
10473 2013-08-16 Martin Rudalics <rudalics@gmx.at>
10474
10475 * window.el (mouse-autoselect-window-select): Do autoselect when
10476 mouse pointer is on margin.
10477
10478 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
10479
10480 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
10481
10482 2013-08-16 Glenn Morris <rgm@gnu.org>
10483
10484 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
10485 Handle "Remote Directory" response of some clients. (Bug#15058)
10486
10487 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
10488 Tweak warning. (Bug#14926)
10489
10490 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
10491 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
10492
10493 * image-mode.el (image-mode-map): Add menu items to reverse,
10494 increase, decrease, reset animation speed.
10495 (image--set-speed, image-increase-speed, image-decrease-speed)
10496 (image-reverse-speed, image-reset-speed): New functions.
10497 (image-mode-map): Add bindings for speed commands.
10498
10499 * image.el (image-animate-get-speed, image-animate-set-speed):
10500 New functions.
10501 (image-animate-timeout): Respect image :speed property.
10502
10503 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10504
10505 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
10506 previous line (bug#15101).
10507 (debugger-eval-expression, debugger-record-expression):
10508 Use read--expression (bug#15102).
10509
10510 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
10511
10512 Remove byte compiler warnings, visible when compiling with
10513 `byte-compile-force-lexical-warnings' set to t.
10514
10515 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
10516 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
10517 (tramp-handle-unhandled-file-name-directory)
10518 (tramp-handle-file-notify-add-watch, tramp-action-login)
10519 (tramp-action-succeed, tramp-action-permission-denied)
10520 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
10521 arguments with "_".
10522
10523 * net/tramp-adb.el (tramp-adb-parse-device-names)
10524 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
10525 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
10526 (tramp-adb-handle-file-truename): Remove unused arguments.
10527
10528 * net/tramp-cache.el (tramp-flush-directory-property)
10529 (tramp-flush-connection-property, tramp-list-connections)
10530 (tramp-parse-connection-properties): Prefix unused arguments with "_".
10531
10532 * net/tramp-compat.el (tramp-compat-make-temp-file):
10533 Rename FILENAME to F.
10534
10535 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10536 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
10537 (tramp-zeroconf-parse-workstation-device-names)
10538 (tramp-zeroconf-parse-webdav-device-names)
10539 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
10540
10541 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10542 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
10543
10544 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
10545 arguments.
10546 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
10547 (tramp-sh-handle-insert-file-contents-literally)
10548 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
10549 with "_".
10550 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
10551 Remove unused variables.
10552
10553 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10554 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10555 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10556
10557 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10558 Make them a defconst.
10559 (tramp-uuencode-region): Remove unused variable.
10560
10561 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
10562
10563 * frameset.el (frameset--prop-setter): New function.
10564 (frameset-prop): Add gv-setter declaration.
10565 (frameset-filter-minibuffer): Deal with the case that the minibuffer
10566 parameter was already set in FILTERED. Doc fix.
10567 (frameset--record-minibuffer-relationships): Allow saving a
10568 minibufferless frame without its corresponding minibuffer frame.
10569 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10570 frame, if the frame id matches.
10571 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10572 frames before orphaned ones.
10573 (frameset-restore): Warn about orphaned windows, instead of error out.
10574
10575 2013-08-14 Martin Rudalics <rudalics@gmx.at>
10576
10577 * window.el (window-make-atom): Don't overwrite parameter
10578 already present.
10579 (display-buffer-in-atom-window): Handle special case where we
10580 split an already atomic window.
10581 (window--major-non-side-window, display-buffer-in-side-window)
10582 (window--side-check): Ignore minibuffer window when walking
10583 window tree.
10584 (window-deletable-p): Return 'frame only if no other frame uses
10585 our minibuffer window.
10586 (record-window-buffer): Run buffer-list-update-hook.
10587 (split-window): Make sure window--check-frame won't destroy an
10588 existing atomic window in case the new window gets nested
10589 inside.
10590 (display-buffer-at-bottom): Ignore minibuffer window when
10591 walking window tree. Don't split a side window.
10592 (pop-to-buffer): Don't set-buffer here, the select-window call
10593 should do that.
10594 (mouse-autoselect-window-select): Autoselect only if we are in the
10595 text portion of the window.
10596
10597 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10598
10599 * net/shr.el (shr-parse-image-data): New function to grab both the
10600 data itself and the Content-Type.
10601 (shr-put-image): Use it.
10602
10603 * net/eww.el (eww-display-image): Ditto.
10604
10605 * image.el (image-content-type-suffixes): New variable.
10606
10607 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10608
10609 * progmodes/python.el (python-imenu--build-tree)
10610 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10611
10612 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
10613
10614 * simple.el (backward-word): Mention the optional argument.
10615
10616 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10617
10618 * frameset.el (frameset--make): Rename constructor from make-frameset.
10619 (frameset-p, frameset-valid-p): Don't autoload.
10620 (frameset-valid-p): Use normal accessors.
10621
10622 2013-08-13 Glenn Morris <rgm@gnu.org>
10623
10624 * progmodes/compile.el (compile-command): Tweak example in doc.
10625 * obsolete/scribe.el (scribe-mode):
10626 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
10627
10628 * mail/feedmail.el (feedmail-confirm-outgoing)
10629 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10630
10631 * cus-start.el (truncate-partial-width-windows): Fix type.
10632
10633 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10634
10635 * net/shr.el (shr-table-horizontal-line): Fix custom type.
10636
10637 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10638
10639 * emacs-lisp/timer.el (timer--time-setter): New function.
10640 (timer--time): Use it as gv-setter.
10641
10642 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10643 setter is not a symbol.
10644
10645 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
10646
10647 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10648 if sending fails. This makes debugging easier.
10649
10650 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
10651
10652 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10653 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10654 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10655
10656 2013-08-12 Eli Zaretskii <eliz@gnu.org>
10657
10658 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10659
10660 2013-08-12 Glenn Morris <rgm@gnu.org>
10661
10662 * format.el (format-annotate-function):
10663 Handle read-only text properties in the source. (Bug#14887)
10664
10665 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10666
10667 * net/eww.el (eww-display-html): Ignore coding system errors.
10668 One web site uses "utf-8lias" as the coding system.
10669
10670 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
10671
10672 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10673
10674 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
10675
10676 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10677 (tutorial--detailed-help): Remove unused local variables.
10678 (tutorial--save-tutorial-to): Use ignore-errors.
10679 (help-with-tutorial): Use looking-at-p.
10680
10681 * view.el (view-buffer-other-window, view-buffer-other-frame):
10682 Mark unused arguments.
10683
10684 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10685 (woman-select-symbol-fonts, woman, woman-find-file)
10686 (woman-insert-file-contents, woman-non-underline-faces):
10687 Use string-match-p.
10688 (woman1-unquote): Move declaration.
10689
10690 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10691 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10692 argument. Remove unused local variable.
10693 (xml-parse-elem-type): Use string-match-p.
10694 (xml-substitute-numeric-entities): Use ignore-errors.
10695
10696 * calculator.el (calculator): Mark unused argument.
10697 (calculator-paste, calculator-quit, calculator-integer-p):
10698 Use ignore-errors.
10699 (calculator-string-to-number, calculator-decimal, calculator-exp)
10700 (calculator-op-or-exp): Use string-match-p.
10701
10702 * dired.el (dired-buffer-more-recently-used-p): Declare.
10703 (dired-insert-set-properties, dired-insert-old-subdirs):
10704 Use ignore-errors.
10705
10706 * dired-aux.el (dired-compress): Use ignore-errors.
10707 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10708 (dired-do-async-shell-command, dired-do-shell-command)
10709 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10710 (dired-insert-subdir-validate): Use string-match-p.
10711 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10712 (dired-add-entry): Use string-match-p, looking-at-p.
10713 (dired-insert-subdir-newpos): Remove unused local variable.
10714
10715 * filenotify.el (file-notify-callback): Remove unused local variable.
10716
10717 * filesets.el (filesets-error): Mark unused argument.
10718 (filesets-which-command-p, filesets-filter-dir-names)
10719 (filesets-directory-files, filesets-get-external-viewer)
10720 (filesets-ingroup-get-data): Use string-match-p.
10721
10722 * find-file.el (ff-other-file-name, ff-other-file-name)
10723 (ff-find-the-other-file, ff-cc-hh-converter):
10724 Remove unused local variables.
10725 (ff-get-file-name): Use string-match-p.
10726 (ff-all-dirs-under): Use ignore-errors.
10727
10728 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10729 (follow-select-if-visible): Remove unused local variable.
10730
10731 * forms.el (read-file-filter): Move declaration.
10732 (forms--make-format, forms--make-parser, forms-insert-record):
10733 Quote function with #'.
10734 (forms--update): Use string-match-p. Quote function with #'.
10735
10736 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10737 (help-make-xrefs): Use looking-at-p.
10738 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10739
10740 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10741 (ibuffer-confirm-operation-on): Use string-match-p.
10742
10743 * msb.el (msb-item-handler, msb-dired-item-handler):
10744 Mark unused arguments.
10745
10746 * ses.el (ses-decode-cell-symbol)
10747 (ses-kill-override): Remove unused local variable.
10748 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10749 (ses-load): Use ignore-errors, looking-at-p.
10750 (ses-jump-safe): Use ignore-errors.
10751 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10752
10753 * tabify.el (untabify, tabify): Mark unused arguments.
10754
10755 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10756 Mark unused argument.
10757 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10758 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10759
10760 * emacs-lisp/timer.el (timer--time): Define setter with
10761 gv-define-setter to avoid deprecation warning.
10762
10763 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10764 (*record-cmpl-statistics-p*): Remove (was commented out).
10765 (cmpl-statistics-block): Remove (body was commented out).
10766 All callers changed.
10767 (add-completions-from-buffer, load-completions-from-file):
10768 Remove unused variables.
10769
10770 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10771
10772 * filecache.el (file-cache-delete-file-list):
10773 Print message only when told so.
10774 (file-cache-files-matching): Use #' in mapconcat argument.
10775
10776 * ffap.el (ffap-url-at-point): Fix reference to variable
10777 thing-at-point-default-mail-uri-scheme.
10778
10779 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10780
10781 * subr.el (define-error): New function.
10782 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10783 error-file-not-found and define with define-error.
10784 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10785 and define with define-error.
10786 * userlock.el (file-locked, file-supersession):
10787 * simple.el (mark-inactive):
10788 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10789 * progmodes/ada-mode.el (ada-mode-errors):
10790 * play/life.el (life-extinct):
10791 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10792 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10793 * nxml/rng-util.el (rng-error):
10794 * nxml/rng-uri.el (rng-uri-error):
10795 * nxml/rng-match.el (rng-compile-error):
10796 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10797 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10798 * nxml/nxml-rap.el (nxml-scan-error):
10799 * nxml/nxml-outln.el (nxml-outline-error):
10800 * net/soap-client.el (soap-error):
10801 * net/gnutls.el (gnutls-error):
10802 * net/ange-ftp.el (ftp-error):
10803 * mpc.el (mpc-proc-error):
10804 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10805 (json-number-format, json-string-escape, json-string-format)
10806 (json-key-format, json-object-format):
10807 * jka-compr.el (compression-error):
10808 * international/quail.el (quail-error):
10809 * international/kkc.el (kkc-error):
10810 * emacs-lisp/ert.el (ert-test-failed):
10811 * calc/calc.el (calc-error, inexact-result, math-overflow)
10812 (math-underflow):
10813 * bookmark.el (bookmark-error-no-filename):
10814 * epg.el (epg-error): Define with define-error.
10815
10816 * time.el (display-time-event-handler)
10817 (display-time-next-load-average): Don't call sit-for since it seems
10818 unnecessary (bug#15045).
10819
10820 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10821 Use #' instead of ' to quote functions.
10822 (checkdoc-output-mode): Use setq-local.
10823 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10824 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10825 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10826 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10827 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10828 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10829 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10830 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10831
10832 * ido.el (ido-completion-help): Fix up compiler warning.
10833
10834 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10835
10836 * frameset.el (frameset-p): Add autoload cookie.
10837 (frameset--jump-to-register): New function, based on code moved from
10838 register.el.
10839 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10840
10841 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10842 (frameset-restore, frameset-save, frameset-session-filter-alist):
10843 Remove declarations.
10844 (register-alist): Doc fix.
10845 (frameset-to-register): Move to frameset.el.
10846 (jump-to-register, describe-register-1): Remove frameset-specific code.
10847
10848 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10849
10850 * allout-widgets.el (allout-widgets-pre-command-business)
10851 (allout-widgets-post-command-business)
10852 (allout-widgets-after-change-handler)
10853 (allout-decorate-item-and-context, allout-set-boundary-marker)
10854 (allout-body-modification-handler)
10855 (allout-graphics-modification-handler): Mark ignored arguments.
10856 (allout-widgets-post-command-business)
10857 (allout-widgets-exposure-change-processor)
10858 (allout-widgets-exposure-undo-processor)
10859 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10860 (allout-parse-item-at-point, allout-decorate-item-guides)
10861 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10862 * allout.el (epa-passphrase-callback-function): Declare.
10863 (allout-overlay-insert-in-front-handler)
10864 (allout-overlay-interior-modification-handler)
10865 (allout-isearch-end-handler, allout-chart-siblings)
10866 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10867 (allout-yank-processing, allout-process-exposed)
10868 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10869 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10870 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10871 (lisp-indent-defform): Mark ignored arguments.
10872 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10873 (calculate-lisp-indent): Remove unused variables.
10874 * international/characters.el (indian-2-column, arabic-2-column)
10875 (tibetan): Mark ignored arguments.
10876 (use-cjk-char-width-table): Mark ignored arguments.
10877 Remove unused variables.
10878 * international/fontset.el (build-default-fontset-data)
10879 (x-compose-font-name, create-fontset-from-fontset-spec):
10880 Mark ignored arguments.
10881 (fontset-plain-name): Remove unused variables.
10882 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10883 (keyboard-coding-system): Mark ignored arguments.
10884 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10885 * help.el (resize-temp-buffer-window):
10886 * window.el (display-buffer-in-major-side-window)
10887 (display-buffer-in-side-window, display-buffer-in-previous-window):
10888 Remove unused variables.
10889 * isearch.el (isearch-forward-symbol):
10890 * version.el (emacs-bzr-version-bzr):
10891 * international/mule-cmds.el (current-language-environment):
10892 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10893 (x-handle-display):
10894 * term/pc-win.el (x-list-fonts, x-display-planes)
10895 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10896 (x-server-version, x-display-screens, x-display-mm-height)
10897 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10898 (x-selection-owner-p, x-own-selection-internal)
10899 (x-disown-selection-internal, x-get-selection-internal)
10900 (msdos-initialize-window-system):
10901 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10902 * term/x-win.el (x-handle-no-bitmap-icon):
10903 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10904 (vc-default-find-file-hook, vc-default-extra-menu):
10905 Mark ignored arguments.
10906
10907 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10908
10909 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10910 break-condition in the context of the debugged code (bug#12685).
10911
10912 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10913
10914 * comint.el:
10915 Do not use an overlay to highlight the last prompt. (Bug#14744)
10916 (comint-mode): Make comint-last-prompt buffer local.
10917 (comint-last-prompt): New variable.
10918 (comint-last-prompt-overlay): Remove. Superseded by
10919 comint-last-prompt.
10920 (comint-snapshot-last-prompt, comint-output-filter):
10921 Use comint-last-prompt.
10922
10923 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10924
10925 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10926 (frameset-save): Check validity of the resulting frameset.
10927
10928 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10929
10930 * ido.el (ido-record-command): Add doc string.
10931
10932 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10933
10934 * frameset.el (frameset): Do not disable creation of the default
10935 frameset-p predicate. Doc fix.
10936 (frameset-valid-p): New function, copied from the old predicate-p.
10937 Add additional checks.
10938 (frameset-restore): Check with frameset-valid-p.
10939 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10940 (frameset-name, frameset-description, frameset-properties)
10941 (frameset-states): Add docstring.
10942 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10943 (frameset-filter-alist): Doc fixes.
10944
10945 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10946
10947 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10948
10949 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10950
10951 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10952 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10953 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10954 (byte-compile-normal-call): Remove obsolescence check.
10955
10956 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10957
10958 * frameset.el (frameset-restore): Doc fix.
10959
10960 * register.el (frameset-frame-id, frameset-frame-with-id)
10961 (frameset-p, frameset-restore, frameset-save): Declare.
10962 (register-alist): Document framesets.
10963 (frameset-session-filter-alist): Declare.
10964 (frameset-to-register): New function.
10965 (jump-to-register): Implement jumping to framesets. Doc fix.
10966 (describe-register-1): Describe framesets.
10967
10968 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10969
10970 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10971
10972 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10973 Use lexical-binding.
10974
10975 * frameset.el (frameset): Use type vector, not list (incompatible
10976 change). Do not declare a new constructor, use the default one.
10977 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10978 `name' and `description', respectively, and add read-only slot
10979 `timestamp'. Doc fixes.
10980 (frameset-copy, frameset-persistent-filter-alist)
10981 (frameset-filter-alist, frameset-switch-to-gui-p)
10982 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10983 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10984 (frameset-filter-iconified, frameset-keep-original-display-p):
10985 Doc fixes.
10986 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10987 Rename from frameset-filter-(save|restore)-param. All callers changed.
10988 Doc fix.
10989 (frameset-p): Adapt to change to vector and be more thorough.
10990 Change arg name to OBJECT. Doc fix.
10991 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10992 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10993 All callers changed.
10994 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10995 All callers changed.
10996 (frameset--record-minibuffer-relationships): Rename from
10997 frameset--process-minibuffer-frames. All callers changed.
10998 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10999 Use new default constructor (again). Doc fix.
11000 (frameset--find-frame-if): Rename from `frameset--find-frame'.
11001 All callers changed.
11002 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
11003 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
11004 Doc fix.
11005 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
11006 PARAMETERS and WINDOW-STATE, respectively.
11007 (frameset-restore): Add new keyword argument PREDICATE.
11008 Reset frameset--target-display to nil. Doc fix.
11009
11010 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
11011
11012 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
11013 (bat-mode): Use it.
11014 (bat-mode-syntax-table): Mark \n as end-of-comment.
11015 (bat-font-lock-keywords): Remove comment rule.
11016
11017 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
11018 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
11019
11020 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
11021 (byte-compile-callargs-warn): Use `push'.
11022 (byte-compile-arglist-warn): Ignore higher-order "calls".
11023 (byte-compile-file-form-autoload): Use `pcase'.
11024 (byte-compile-function-form): If quoting a symbol, check that it exists.
11025
11026 2013-08-07 Eli Zaretskii <eliz@gnu.org>
11027
11028 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
11029 and add a few popular commands found in batch files.
11030 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
11031 (dos-mode): Doc fixes.
11032
11033 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
11034
11035 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
11036 (dos-mode): Use setq-local. Add space after "rem".
11037 (dos-mode-syntax-table): Don't use "w" for symbol chars.
11038 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
11039
11040 2013-08-07 Arni Magnusson <arnima@hafro.is>
11041
11042 * progmodes/dos.el: New file.
11043 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
11044 dos-mode.
11045
11046 2013-08-06 Glenn Morris <rgm@gnu.org>
11047
11048 * calendar/calendar.el: Add new faces, and day-header-array.
11049 (calendar-weekday-header, calendar-weekend-header)
11050 (calendar-month-header): New faces.
11051 (calendar-day-header-construct): New function.
11052 (calendar-day-header-width): Also :set calendar-day-header-array.
11053 (calendar-american-month-header, calendar-european-month-header)
11054 (calendar-iso-month-header): Use calendar- faces.
11055 (calendar-generate-month):
11056 Use calendar-day-header-array for day headers; apply faces to them.
11057 (calendar-mode): Check calendar-font-lock-keywords non-nil.
11058 (calendar-abbrev-construct): Add optional maxlen argument.
11059 (calendar-day-name-array): Doc fix.
11060 (calendar-day-name-array, calendar-abbrev-length)
11061 (calendar-day-abbrev-array):
11062 Also :set calendar-day-header-array, and maybe redraw.
11063 (calendar-day-header-array): New option. (Bug#15007)
11064 (calendar-font-lock-keywords): Set to nil and make obsolete.
11065 (calendar-day-name): Add option to use header array.
11066
11067 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11068
11069 * net/shr.el (shr-render-td): Remove debugging.
11070 (shr-render-td): Make width computation consistent by defaulting
11071 all zero-width columns to 10 characters. This may not be optimal,
11072 but it's at least consistent.
11073 (shr-make-table-1): Redo last change to fix the real problem in
11074 colspan handling.
11075
11076 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
11077
11078 * files.el (cache-long-line-scans):
11079 Make obsolete alias to `cache-long-scans'.
11080
11081 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
11082
11083 * frameset.el (frameset, frameset-filter-alist)
11084 (frameset-filter-params, frameset-save, frameset--reuse-frame)
11085 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
11086 (frameset-compute-pos): Rename from frameset--compute-pos,
11087 and add docstring.
11088 (frameset-move-onscreen): Use frameset-compute-pos.
11089 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11090
11091 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
11092 Fix typos in docstrings.
11093
11094 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
11095
11096 * frame.el (get-other-frame): Tiny cleanup.
11097
11098 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
11099
11100 * vc/vc.el (vc-default-ignore-completion-table):
11101 Silence byte-compiler warning.
11102
11103 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
11104 slot, which can indeed be nil.
11105 (frameset-live-filter-alist, frameset-persistent-filter-alist):
11106 Move entry for `left' from persistent to live filter alist.
11107 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
11108 Doc fixes.
11109 (frameset-filter-params): When restoring a frame, copy items added to
11110 `filtered', to avoid unwittingly modifying the original parameters.
11111 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
11112 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
11113
11114 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
11115 to use looking-at-p instead of looking-at. (Bug#15028)
11116
11117 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11118
11119 Revert introduction of isearch-filter-predicates (bug#14714).
11120 Rely on add-function instead.
11121 * isearch.el (isearch-filter-predicates): Rename it back to
11122 isearch-filter-predicate.
11123 (isearch-message-prefix): Use advice-function-mapc and advice
11124 properties to get the isearch-message-prefix.
11125 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
11126 instead of run-hook-with-args-until-failure.
11127 (isearch-filter-visible): Not obsolete any more.
11128 * loadup.el: Preload nadvice.
11129 * replace.el (perform-replace): Revert to funcall
11130 instead of run-hook-with-args-until-failure.
11131 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
11132 * dired-aux.el (dired-isearch-filenames-mode): Rename from
11133 dired-isearch-filenames-toggle; make it into a proper minor mode.
11134 Use add/remove-function.
11135 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
11136 Call the minor-mode rather than add/remove-hook.
11137 (dired-isearch-filter-filenames):
11138 Remove isearch-message-prefix property.
11139 * info.el (Info--search-loop): New function, extracted from Info-search.
11140 Funcall isearch-filter-predicate instead of
11141 run-hook-with-args-until-failure isearch-filter-predicates.
11142 (Info-search): Use it.
11143 (Info-mode): Use isearch-filter-predicate instead of
11144 isearch-filter-predicates.
11145
11146 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11147
11148 Do not call to `selected-window' where it is assumed by default.
11149 Affected functions are `window-minibuffer-p', `window-dedicated-p',
11150 `window-hscroll', `window-width', `window-height', `window-buffer',
11151 `window-frame', `window-start', `window-point', `next-window'
11152 and `window-display-table'.
11153 * abbrev.el (abbrev--default-expand):
11154 * bs.el (bs--show-with-configuration):
11155 * buff-menu.el (Buffer-menu-mouse-select):
11156 * calc/calc.el (calc):
11157 * calendar/calendar.el (calendar-generate-window):
11158 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
11159 (diary-make-entry):
11160 * comint.el (send-invisible, comint-dynamic-complete-filename)
11161 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
11162 * completion.el (complete):
11163 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
11164 * disp-table.el (describe-current-display-table):
11165 * doc-view.el (doc-view-insert-image):
11166 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
11167 * ehelp.el (with-electric-help):
11168 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11169 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
11170 * emacs-lisp/helper.el (Helper-help-scroller):
11171 * emulation/cua-base.el (cua--post-command-handler-1):
11172 * eshell/esh-mode.el (eshell-output-filter):
11173 * ffap.el (ffap-gnus-wrapper):
11174 * help-macro.el (make-help-screen):
11175 * hilit-chg.el (highlight-compare-buffers):
11176 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
11177 * hl-line.el (global-hl-line-highlight):
11178 * icomplete.el (icomplete-simple-completing-p):
11179 * isearch.el (isearch-done):
11180 * jit-lock.el (jit-lock-stealth-fontify):
11181 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
11182 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
11183 * mpc.el (mpc-tagbrowser, mpc):
11184 * net/rcirc.el (rcirc-any-buffer):
11185 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
11186 * play/landmark.el (landmark-max-width, landmark-max-height):
11187 * play/zone.el (zone):
11188 * progmodes/compile.el (compilation-goto-locus):
11189 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
11190 * progmodes/etags.el (find-tag-other-window):
11191 * progmodes/fortran.el (fortran-column-ruler):
11192 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
11193 * progmodes/verilog-mode.el (verilog-point-text):
11194 * reposition.el (reposition-window):
11195 * rot13.el (toggle-rot13-mode):
11196 * server.el (server-switch-buffer):
11197 * shell.el (shell-dynamic-complete-command)
11198 (shell-dynamic-complete-environment-variable):
11199 * simple.el (insert-buffer, set-selective-display)
11200 (delete-completion-window):
11201 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
11202 (speedbar-recenter):
11203 * startup.el (fancy-splash-head):
11204 * textmodes/ispell.el (ispell-command-loop):
11205 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
11206 * tutorial.el (help-with-tutorial):
11207 * vc/add-log.el (add-change-log-entry):
11208 * vc/compare-w.el (compare-windows):
11209 * vc/ediff-help.el (ediff-indent-help-message):
11210 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
11211 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
11212 (ediff-setup-control-frame):
11213 * vc/emerge.el (emerge-position-region):
11214 * vc/pcvs-util.el (cvs-bury-buffer):
11215 * window.el (walk-windows, mouse-autoselect-window-select):
11216 * winner.el (winner-set-conf, winner-undo): Related users changed.
11217
11218 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11219
11220 * frameset.el (frameset--set-id): Doc fix.
11221 (frameset-frame-id, frameset-frame-id-equal-p)
11222 (frameset-locate-frame-id): New functions.
11223 (frameset--process-minibuffer-frames, frameset--reuse-frame)
11224 (frameset-restore): Use them.
11225
11226 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11227
11228 Do not call to `selected-frame' where it is assumed by default.
11229 Affected functions are `raise-frame', `redraw-frame',
11230 `frame-first-window', `frame-terminal' and `delete-frame'.
11231 * calendar/appt.el (appt-disp-window):
11232 * epg.el (epg-wait-for-completion):
11233 * follow.el (follow-delete-other-windows-and-split)
11234 (follow-avoid-tail-recenter):
11235 * international/mule.el (set-terminal-coding-system):
11236 * mail/rmail.el (rmail-mail-return):
11237 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
11238 * progmodes/f90.el (f90-add-imenu-menu):
11239 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
11240 * server.el (server-switch-buffer):
11241 * simple.el (delete-completion-window):
11242 * talk.el (talk):
11243 * term/xterm.el (terminal-init-xterm-modify-other-keys)
11244 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
11245 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
11246 * vc/ediff.el (ediff-documentation): Related users changed.
11247 * frame.el (selected-terminal): Remove the leftover.
11248
11249 2013-08-05 Glenn Morris <rgm@gnu.org>
11250
11251 * calendar/calendar.el (calendar-generate-month):
11252 Fix for calendar-column-width != 1 + calendar-day-digit-width.
11253 (calendar-generate-month, calendar-font-lock-keywords):
11254 Fix for calendar-day-header-width > length of any day name.
11255
11256 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11257
11258 * desktop.el (desktop-clear): Use new name of sort predicate.
11259
11260 * frameset.el (frameset): Add docstring. Move :version property to its
11261 own `version' slot.
11262 (frameset-copy): Rename from copy-frameset.
11263 (frameset-p): Check more thoroughly.
11264 (frameset-prop): Do not check for :version, which is no longer a prop.
11265 (frameset-live-filter-alist, frameset-persistent-filter-alist):
11266 Use new :never value instead of t.
11267 (frameset-filter-alist): Expand and clarify docstring.
11268 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
11269 (frameset-filter-minibuffer, frameset-filter-save-param)
11270 (frameset-filter-restore-param, frameset-filter-iconified):
11271 Add pointer to docstring of frameset-filter-alist.
11272 (frameset-filter-params): Rename filter values to be more meaningful:
11273 :never instead of t, and reverse the meanings of :save and :restore.
11274 (frameset--process-minibuffer-frames): Clarify error message.
11275 (frameset-save): Avoid unnecessary and confusing call to framep.
11276 Use new BOA constructor for framesets.
11277 (frameset--reuse-list): Doc fix.
11278 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
11279 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
11280 (frameset-minibufferless-first-p): Doc fix.
11281 Rename from frameset-sort-frames-for-deletion.
11282 (frameset-restore): Doc fixes. Use new function names.
11283 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11284
11285 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11286
11287 * desktop.el (desktop-restore-forces-onscreen)
11288 (desktop-restore-reuses-frames): Document :keyword constant values.
11289 (desktop-filter-parameters-alist): Remove, now identical to
11290 frameset-filter-alist.
11291 (desktop--filter-tty*): Remove, moved to frameset.el.
11292 (desktop-save-frameset, desktop-restore-frameset):
11293 Do not pass :filters argument.
11294
11295 * frameset.el (frameset-live-filter-alist)
11296 (frameset-persistent-filter-alist): New variables.
11297 (frameset-filter-alist): Use them. Add autoload cookie.
11298 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
11299 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
11300 `frameset--id' (it's supposed to be internal to frameset.el).
11301 (frameset--process-minibuffer-frames): Ditto. Doc fix.
11302 (frameset--initial-params): New function.
11303 (frameset--get-frame): Use it. Doc fix.
11304 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
11305 Accept :all, not 'all.
11306 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
11307 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
11308 with fbound symbols. Fix frame id matching, and remove matching ids if
11309 the frame being restored is deleted. Obey :delete.
11310
11311 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11312
11313 * subr.el (macrop): New function.
11314 (text-clone--maintaining): New var.
11315 (text-clone--maintain): Rename from text-clone-maintain. Use it
11316 instead of inhibit-modification-hooks.
11317
11318 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
11319 a proxy, so as handle autoloads and redefinitions of the target.
11320 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
11321
11322 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
11323 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
11324 (pcase--mutually-exclusive-p): New function.
11325 (pcase--split-consp): Use it.
11326 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
11327 mutually exclusive with the current predicate.
11328
11329 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
11330 (edebug-macrop): Remove. Use `macrop' instead.
11331 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
11332 (ad-macro-p):
11333 * eshell/esh-cmd.el (eshell-macrop):
11334 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
11335
11336 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11337
11338 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
11339 (advice-mapc): New function, using it.
11340 (advice-function-member-p): New function.
11341 (advice--normalize): Store the cdr in advice--saved-rewrite since
11342 that's the part that will be changed.
11343 (advice--symbol-function): New function.
11344 (advice-remove): Handle removal before the function is defined.
11345 Adjust to new advice--saved-rewrite.
11346 (advice-member-p): Use advice-function-member-p and
11347 advice--symbol-function.
11348
11349 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11350
11351 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
11352 (frameset-filter-minibuffer): Doc fix.
11353 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
11354 (frameset--set-id, frameset--process-minibuffer-frames)
11355 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
11356 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
11357
11358 * desktop.el (desktop-clear): Only delete frames when called
11359 interactively and desktop-restore-frames is non-nil. Doc fix.
11360 (desktop-read): Set desktop-saved-frameset to nil.
11361
11362 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
11363
11364 * vc/vc.el (vc-ignore): Rewrite.
11365 (vc-default-ignore-completion-table, vc--read-lines)
11366 (vc--add-line, vc--remove-regexp): New functions.
11367
11368 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
11369 (vc-svn-ignore-completion-table): New function.
11370
11371 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
11372 (vc-hg-ignore-completion-table)
11373 (vc-hg-find-ignore-file): New functions.
11374
11375 * vc/vc-git.el (vc-git-ignore): Rewrite.
11376 (vc-git-ignore-completion-table)
11377 (vc-git-find-ignore-file): New functions.
11378
11379 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
11380
11381 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
11382 (vc-bzr-ignore-completion-table)
11383 (vc-bzr-find-ignore-file): New functions.
11384
11385 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
11386
11387 * frameset.el (frameset-prop): New function and setter.
11388 (frameset-save): Do not modify frame list passed by the caller.
11389
11390 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11391
11392 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
11393
11394 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
11395
11396 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
11397 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
11398
11399 * custom.el (custom-initialize-default, custom-initialize-set)
11400 (custom-initialize-reset, custom-initialize-changed): Affect the
11401 toplevel-default-value (bug#6275, bug#14586).
11402 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
11403 for bug#6275.
11404
11405 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11406
11407 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11408 Add cl-def* expressions.
11409
11410 * frameset.el (frameset-filter-params): Fix order of arguments.
11411
11412 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11413
11414 Move code related to saving frames to frameset.el.
11415 * desktop.el: Require frameset.
11416 (desktop-restore-frames): Doc fix.
11417 (desktop-restore-reuses-frames): Rename from
11418 desktop-restoring-reuses-frames.
11419 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
11420 (desktop-clear): Clear frames too.
11421 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
11422 (desktop--filter-tty*, desktop-save, desktop-read):
11423 Use frameset functions.
11424 (desktop-before-saving-frames-functions, desktop--filter-*-color)
11425 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11426 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
11427 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
11428 (desktop--process-minibuffer-frames, desktop-save-frames)
11429 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
11430 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
11431 (desktop--sort-states, desktop-restoring-frames-p)
11432 (desktop-restore-frames): Remove. Most code moved to frameset.el.
11433 (desktop-restoring-frameset-p, desktop-restore-frameset)
11434 (desktop--check-dont-save, desktop-save-frameset): New functions.
11435 (desktop--app-id): New constant.
11436 (desktop-first-buffer, desktop-buffer-ok-count)
11437 (desktop-buffer-fail-count): Move before first use.
11438 * frameset.el: New file.
11439
11440 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11441
11442 * files.el: Use lexical-binding.
11443 (dir-locals-read-from-file): Remove unused `err' variable.
11444 (hack-dir-local-variables--warned-coding): New var.
11445 (hack-dir-local-variables): Use it to avoid repeated warnings.
11446 (make-backup-file-name--default-function): New function.
11447 (make-backup-file-name-function): Use it as default.
11448 (buffer-stale--default-function): New function.
11449 (buffer-stale-function): Use it as default.
11450 (revert-buffer-insert-file-contents--default-function): New function.
11451 (revert-buffer-insert-file-contents-function): Use it as default.
11452 (insert-directory): Avoid add-to-list.
11453
11454 * autorevert.el (auto-revert-handler): Simplify.
11455 Use buffer-stale--default-function.
11456
11457 2013-08-01 Tassilo Horn <tsdh@gnu.org>
11458
11459 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
11460
11461 * whitespace.el (whitespace-ensure-local-variables): New function.
11462 (whitespace-cleanup-region): Call it.
11463 (whitespace-turn-on): Call it.
11464
11465 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
11466
11467 Complete file name handlers.
11468
11469 * net/tramp.el (tramp-handle-set-visited-file-modtime)
11470 (tramp-handle-verify-visited-file-modtime)
11471 (tramp-handle-file-notify-rm-watch): New functions.
11472 (tramp-call-process): Do not bind `default-directory'.
11473
11474 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11475 Order alphabetically.
11476 <access-file, add-name-to-file, dired-call-process>:
11477 <dired-compress-file, file-acl, file-notify-rm-watch>:
11478 <file-ownership-preserved-p, file-selinux-context>:
11479 <make-directory-internal, make-symbolic-link, set-file-acl>:
11480 <set-file-selinux-context, set-visited-file-modtime>:
11481 <verify-visited-file-modtime>: Add handler.
11482 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
11483
11484 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11485 <file-notify-add-watch, file-notify-rm-watch>:
11486 <set-file-times, set-visited-file-modtime>:
11487 <verify-visited-file-modtime>: Add handler.
11488 (with-tramp-gvfs-error-message)
11489 (tramp-gvfs-handle-set-visited-file-modtime)
11490 (tramp-gvfs-fuse-file-name): Remove.
11491 (tramp-gvfs-handle-file-notify-add-watch)
11492 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
11493 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
11494
11495 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11496 Order alphabetically.
11497 <file-notify-rm-watch>: Use default Tramp handler.
11498 <executable-find>: Remove private handler.
11499 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
11500 `default-directory'.
11501 (tramp-sh-handle-executable-find)
11502 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
11503 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11504 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
11505 Do not use `format' in `tramp-message'.
11506
11507 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
11508 <file-notify-rm-watch, set-visited-file-modtime>:
11509 <verify-visited-file-modtime>: Add handler.
11510 (tramp-smb-call-winexe): Do not bind `default-directory'.
11511
11512 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
11513
11514 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
11515
11516 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
11517
11518 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
11519 use it.
11520 (log-view-diff-changeset): Same.
11521 (log-view-diff-common): Call backend command `previous-revision'
11522 to find out the previous revision, in both cases. Swap the
11523 variables `to' and `fr', so that `fr' usually refers to the
11524 earlier revision (Bug#14989).
11525
11526 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
11527
11528 * ibuf-ext.el (ibuffer-filter-by-filename):
11529 Make it work with dired buffers too.
11530
11531 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
11532
11533 * emacs-lisp/re-builder.el (reb-color-display-p):
11534 * files.el (save-buffers-kill-terminal):
11535 * net/browse-url.el (browse-url):
11536 * server.el (server-save-buffers-kill-terminal):
11537 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
11538 Prefer nil to selected-frame for the first arg of frame-parameter.
11539
11540 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
11541
11542 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
11543
11544 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
11545
11546 * minibuffer.el (completion--twq-all): Try and preserve each
11547 completion's case choice (bug#14907).
11548
11549 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11550
11551 * net/network-stream.el (open-network-stream): Mention the new
11552 :nogreeting parameter.
11553 (network-stream-open-starttls): Use the :nogreeting parameter
11554 (bug#14938).
11555
11556 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11557
11558 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11559 more natural than popping.
11560
11561 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
11562 (shr-urlify): Highlight under mouse.
11563
11564 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11565
11566 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11567
11568 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11569
11570 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
11571 buffer for output.
11572
11573 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
11574 point-min==1. Fix search string. Fix parentheses missing.
11575
11576 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
11577 assume point-min==1. Fix search string. Fix parentheses missing.
11578
11579 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11580
11581 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
11582 buffer for output.
11583
11584 2013-07-29 Eli Zaretskii <eliz@gnu.org>
11585
11586 * frame.el (frame-notice-user-settings): Avoid inflooping when the
11587 initial frame is minibuffer-less. (Bug#14841)
11588
11589 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
11590
11591 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11592 option.
11593
11594 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11595 (tramp-maybe-open-connection): Use it.
11596
11597 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11598
11599 * desktop.el (desktop--make-frame): Include `minibuffer' in the
11600 minimal set of parameters passed when creating a frame, because
11601 the minibuffer status of a frame cannot be changed later.
11602
11603 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
11604
11605 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11606 replace-regexp-in-string and inadvertent omissions in previous change.
11607 (todo-filter-items): Ensure only file names are comma-separated in
11608 name of filtered items buffer.
11609
11610 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11611
11612 * desktop.el: Optionally force offscreen frames back onscreen.
11613 (desktop-restoring-reuses-frames): New option.
11614 (desktop--compute-pos, desktop--move-onscreen): New functions.
11615 (desktop--make-frame): Use desktop--move-onscreen.
11616
11617 2013-07-27 Alan Mackenzie <acm@muc.de>
11618
11619 Fontify a Java generic method as a function.
11620 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11621 value to t.
11622
11623 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
11624
11625 * calendar/todo-mode.el: Add command to rename todo files.
11626 (todo-rename-file): New command.
11627 (todo-key-bindings-t): Add key binding for it. Change the
11628 bindings of todo-filter-regexp-items(-multifile) to use `x'
11629 instead of `r', since the latter is better suited to the new
11630 renaming command.
11631
11632 2013-07-27 Alan Mackenzie <acm@muc.de>
11633
11634 Make Java try-with-resources statement parse properly.
11635 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11636 (c-block-stmt-1-2-key): New language constants/variables.
11637 * progmodes/cc-engine.el (c-beginning-of-statement-1)
11638 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11639 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11640 with c-block-stmt-1-2-key.
11641
11642 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
11643
11644 * desktop.el (desktop--make-frame): Apply most frame parameters after
11645 creating the frame to force (partially or totally) offscreen frames to
11646 be restored as such.
11647
11648 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
11649
11650 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11651 (Bug#14948)
11652
11653 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11654
11655 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11656 `base' arg of backtrace-frame.
11657
11658 2013-07-26 Eli Zaretskii <eliz@gnu.org>
11659
11660 * simple.el (list-processes): Doc fix.
11661
11662 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11663
11664 * desktop.el (desktop--select-frame):
11665 Try harder to reuse existing frames.
11666
11667 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11668
11669 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11670 (edebug-eval): Use backtrace-eval.
11671 (edebug--display, edebug--recursive-edit): Don't let-bind the
11672 edebug-outer-* vars that keep track of variables we locally let-bind.
11673 (edebug-outside-excursion): Don't restore outside values of locally
11674 let-bound vars.
11675 (edebug--display): Use user-error.
11676 (cl-lexical-debug, cl-debug-env): Remove.
11677
11678 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11679
11680 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11681 are restored to be sure that they are visible before deleting any
11682 remaining ones.
11683
11684 2013-07-26 Matthias Meulien <orontee@gmail.com>
11685
11686 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11687 vc-print-root-log. (Bug#14948)
11688
11689 2013-07-26 Richard Stallman <rms@gnu.org>
11690
11691 Add aliases for encrypting mail.
11692 * epa.el (epa-mail-aliases): New option.
11693 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11694 Bind inhibit-read-only so read-only text doesn't ruin everything.
11695 (epa-mail-default-recipients): New subroutine broken out.
11696 Handle epa-mail-aliases.
11697
11698 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11699
11700 Add support for lexical variables to the debugger's `e' command.
11701 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11702 vars, except for debugger-outer-match-data.
11703 (debugger-frame-number): Move check for "on a function call" from
11704 callers into it. Add `skip-base' argument.
11705 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11706 (debugger-env-macro): Only reset the state stored in non-variables,
11707 i.e. current-buffer and match-data.
11708 (debugger-eval-expression): Rewrite using backtrace-eval.
11709 * subr.el (internal--called-interactively-p--get-frame): Remove.
11710 (called-interactively-p):
11711 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11712 `base' arg of backtrace-frame instead.
11713
11714 2013-07-26 Glenn Morris <rgm@gnu.org>
11715
11716 * align.el (align-regexp): Doc fix. (Bug#14857)
11717 (align-region): Explicit error if subexpression missing/does not match.
11718
11719 * simple.el (global-visual-line-mode):
11720 Do not duplicate the mode lighter. (Bug#14858)
11721
11722 2013-07-25 Martin Rudalics <rudalics@gmx.at>
11723
11724 * window.el (display-buffer): In display-buffer bind
11725 split-window-keep-point to t, bug#14829.
11726
11727 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11728
11729 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11730 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11731 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11732 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11733 Change accordingly.
11734 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11735 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11736
11737 2013-07-25 Glenn Morris <rgm@gnu.org>
11738
11739 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11740
11741 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11742
11743 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11744 parameter to modify-frame-parameters if the value has not changed;
11745 this is a workaround for bug#14949.
11746 (desktop--make-frame): On cl-delete-if call, check parameter name,
11747 not full parameter.
11748
11749 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11750
11751 * vc/vc.el (vc-ignore): New function.
11752
11753 * vc/vc-svn.el (vc-svn-ignore): New function.
11754
11755 * vc/vc-hg.el (vc-hg-ignore): New function.
11756
11757 * vc/vc-git.el (vc-git-ignore): New function.
11758
11759 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11760 (vc-dir-ignore): New function.
11761
11762 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11763 (cvs-append-to-ignore): Move here from pcvs.el.
11764
11765 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11766
11767 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11768
11769 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11770
11771 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11772 (desktop-restore-frames): Warn when deleting an existing frame failed.
11773
11774 2013-07-24 Glenn Morris <rgm@gnu.org>
11775
11776 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11777
11778 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11779
11780 * filenotify.el (file-notify-supported-p):
11781 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11782 Remove functions.
11783
11784 * autorevert.el (auto-revert-use-notify)
11785 (auto-revert-notify-add-watch):
11786 * net/tramp.el (tramp-file-name-for-operation):
11787 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11788 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11789 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11790 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11791 Remove `file-notify-supported-p' entry.
11792
11793 2013-07-24 Glenn Morris <rgm@gnu.org>
11794
11795 * printing.el: Replace all uses of deleted ps-windows-system,
11796 ps-lp-system, ps-flatten-list with lpr- versions.
11797
11798 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11799
11800 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11801 checked with memq (bug#14935).
11802
11803 * files.el (revert-buffer-function): Use a non-nil default.
11804 (revert-buffer-preserve-modes): Declare var to
11805 provide access to the `preserve-modes' argument.
11806 (revert-buffer): Let-bind it.
11807 (revert-buffer--default): New function, extracted from revert-buffer.
11808
11809 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11810
11811 * lpr.el: Signal print errors more prominently.
11812 (print-region-function): Don't default to nil.
11813 (lpr-print-region): New function, extracted from print-region-1.
11814 Check lpr's return value and signal an error in case of problem.
11815 (print-region-1): Use it.
11816 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11817 versions instead.
11818 (ps-printer-name): Default to nil.
11819 (ps-printer-name-option): Default to lpr-printer-switch.
11820 (ps-print-region-function): Don't default to nil.
11821 (ps-postscript-code-directory): Simplify default.
11822 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11823 (ps-string-list, ps-eval-switch, ps-flatten-list)
11824 (ps-flatten-list-1): Remove.
11825 (ps-multibyte-buffer): Avoid setq.
11826 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11827 (print-region-function, ps-print-region-function): Don't set them here.
11828
11829 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11830
11831 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11832 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11833 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11834 (ido-decorations): Doc fix.
11835
11836 * ansi-color.el: Fix old URL.
11837
11838 2013-07-23 Michael R. Mauger <michael@mauger.com>
11839
11840 * progmodes/sql.el: Version 3.3
11841 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11842 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11843 (sql-interactive-remove-continuation-prompt): Rewrite, use
11844 functions above. Fix continuation prompt and complete output line
11845 handling.
11846 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11847 redirected output buffer.
11848 (sql-mode): Restore deleted code (Bug#13591).
11849
11850 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11851
11852 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11853
11854 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11855
11856 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11857
11858 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11859 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11860 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11861
11862 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11863
11864 * desktop.el (desktop-clear): Simplify; remove useless checks
11865 against invalid buffer names.
11866 (desktop-list*): Use cl-list*.
11867 (desktop-buffer-info, desktop-create-buffer): Simplify.
11868
11869 2013-07-23 Leo Liu <sdl.web@gmail.com>
11870
11871 * bookmark.el (bookmark-make-record): Restore NAME as a default
11872 value. (Bug#14933)
11873
11874 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11875
11876 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11877 extracted from autoload--insert-text.
11878 (autoload--insert-text): Remove.
11879 (autoload--print-cookie-text): New function, extracted from
11880 autoload--insert-cookie-text.
11881 (autoload--insert-cookie-text): Remove.
11882 (autoload-generate-file-autoloads): Adjust calls accordingly.
11883
11884 * winner.el (winner-hook-installed-p): Remove.
11885 (winner-mode): Simplify accordingly.
11886
11887 * subr.el (add-to-list): Fix compiler-macro when `append' is
11888 not constant. Don't use `cl-member' for the base case.
11889
11890 * progmodes/subword.el: Fix boundary case (bug#13758).
11891 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11892 own group.
11893 (subword-backward-regexp): Make it a constant.
11894 (subword-forward-internal): Don't treat a trailing capital as the
11895 beginning of a word.
11896
11897 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11898
11899 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11900 global value of tabulated-list-revert-hook (bug#14930).
11901
11902 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11903
11904 * desktop.el: Require 'cl-lib.
11905 (desktop-before-saving-frames-functions): New hook.
11906 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11907 for frames being saved. Rename from desktop--save-minibuffer-frames.
11908 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11909 Do not save frames with non-nil `desktop-dont-save' parameter.
11910 Filter out deleted frames.
11911 (desktop--find-frame): Use cl-find-if.
11912 (desktop--select-frame): Use cl-(first|second|third) to access values
11913 of desktop-mini.
11914 (desktop--make-frame): Use cl-delete-if.
11915 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11916 (desktop-restore-frames): Use cl-(first|second|third) to access values
11917 of desktop-mini. Look for visible frame at the end, not while
11918 restoring frames.
11919
11920 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11921 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11922 Use string-match-p, looking-at-p (bug#14927).
11923
11924 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11925
11926 * desktop.el (desktop-saved-frame-states):
11927 Rename from desktop--saved-states; all users changed.
11928 (desktop-save-frames): Rename from desktop--save-frames.
11929 Do not save state to desktop file.
11930 (desktop-save): Save desktop-saved-frame-states to desktop file
11931 and reset to nil.
11932 (desktop-restoring-frames-p): New function.
11933 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11934 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11935 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11936
11937 * desktop.el: Correctly restore iconified frames.
11938 (desktop--filter-iconified-position): New function.
11939 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11940
11941 2013-07-20 Glenn Morris <rgm@gnu.org>
11942
11943 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11944 Let `message' do the formatting.
11945 (def-gdb-preempt-display-buffer): Add explicit format.
11946
11947 * image-dired.el (image-dired-track-original-file):
11948 Use with-current-buffer.
11949 (image-dired-track-thumbnail): Use with-current-buffer.
11950 Avoid changing point of wrong window.
11951
11952 * image-dired.el (image-dired-track-original-file):
11953 Avoid changing point of wrong window. (Bug#14909)
11954
11955 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11956
11957 * progmodes/gdb-mi.el (gdb-done-or-error):
11958 Guard against "%" in gdb output. (Bug#14127)
11959
11960 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11961
11962 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11963 (Bug#14826)
11964
11965 * international/mule.el (coding-system-iso-2022-flags): Fix last
11966 change.
11967
11968 2013-07-20 Kenichi Handa <handa@gnu.org>
11969
11970 * international/mule.el (coding-system-iso-2022-flags):
11971 Add `8-bit-level-4'. (Bug#8522)
11972
11973 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11974
11975 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11976 (bug#14815).
11977
11978 * net/eww.el (eww-process-text-input): Allow inputting when the
11979 point is at the start of the line, as the properties aren't
11980 front-sticky.
11981
11982 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11983 degenerate widths.
11984
11985 2013-07-19 Richard Stallman <rms@gnu.org>
11986
11987 * epa.el (epa-popup-info-window): Doc fix.
11988
11989 * subr.el (split-string): New arg TRIM.
11990
11991 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11992
11993 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11994 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11995
11996 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11997
11998 * filenotify.el (file-notify--library): Rename from
11999 `file-notify-support'. Do not autoload. Adapt all uses.
12000 (file-notify-supported-p): New defun.
12001
12002 * autorevert.el (auto-revert-use-notify):
12003 Use `file-notify-supported-p' instead of `file-notify-support'.
12004 Adapt docstring.
12005 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
12006
12007 * net/tramp.el (tramp-file-name-for-operation):
12008 Add `file-notify-supported-p'.
12009
12010 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
12011 New defun.
12012 (tramp-sh-file-name-handler-alist): Add it as handler for
12013 `file-notify-supported-p '.
12014
12015 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
12016 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12017 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
12018 Add `ignore' as handler for `file-notify-*' functions.
12019
12020 2013-07-17 Eli Zaretskii <eliz@gnu.org>
12021
12022 * simple.el (line-move-partial, line-move): Don't start vscroll or
12023 scroll-up if the current line is not taller than the window.
12024 (Bug#14881)
12025
12026 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
12027
12028 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
12029 highlight question marks in the method names as strings.
12030 (ruby-block-beg-keywords): Inline.
12031 (ruby-font-lock-keyword-beg-re): Extract from
12032 `ruby-font-lock-keywords'.
12033
12034 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
12035
12036 * frame.el (blink-cursor-blinks): New defcustom.
12037 (blink-cursor-blinks-done): New defvar.
12038 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
12039 (blink-cursor-timer-function): Check if number of blinks has been
12040 done on X and NS.
12041 (blink-cursor-suspend, blink-cursor-check): New defuns.
12042
12043 2013-07-15 Glenn Morris <rgm@gnu.org>
12044
12045 * edmacro.el (edmacro-format-keys): Fix previous change.
12046
12047 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
12048
12049 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
12050 The hack didn't work outside English locales anyway.
12051
12052 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
12053
12054 * simple.el (define-alternatives): Rename from alternatives-define,
12055 per RMS' suggestion.
12056
12057 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
12058
12059 * desktop.el (desktop-restore-frames): Change default to t.
12060 (desktop-restore-in-current-display): Now offer more options.
12061 (desktop-restoring-reuses-frames): New customization option.
12062 (desktop--saved-states): Doc fix.
12063 (desktop-filter-parameters-alist): New variable, renamed and expanded
12064 from desktop--excluded-frame-parameters.
12065 (desktop--target-display): New variable.
12066 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
12067 (desktop--filter-tty*, desktop--filter-*-color)
12068 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
12069 (desktop--filter-save-desktop-parm)
12070 (desktop-restore-in-original-display-p): New functions.
12071 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
12072 (desktop--save-minibuffer-frames): New function, inspired by a similar
12073 function from Martin Rudalics.
12074 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
12075 (desktop--restore-in-this-display-p): Remove.
12076 (desktop--find-frame): Rename from desktop--find-frame-in-display
12077 and add predicate argument.
12078 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
12079 (desktop--reuse-list): New variable.
12080 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
12081 New functions.
12082 (desktop--restore-frames): Add support for "minibuffer-special" frames.
12083
12084 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
12085
12086 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
12087
12088 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
12089
12090 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12091 Highlight conversion methods on Kernel.
12092
12093 2013-07-13 Alan Mackenzie <acm@muc.de>
12094
12095 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
12096 and comment it out. This out-commenting enables certain C++
12097 declarations to be parsed correctly.
12098
12099 2013-07-13 Eli Zaretskii <eliz@gnu.org>
12100
12101 * international/mule.el (define-coding-system): Doc fix.
12102
12103 * simple.el (default-font-height): Don't call font-info if the
12104 frame's default font didn't change since the frame was created.
12105 (Bug#14838)
12106
12107 2013-07-13 Leo Liu <sdl.web@gmail.com>
12108
12109 * ido.el (ido-read-file-name): Guard against non-symbol value.
12110
12111 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
12112
12113 * progmodes/python.el (python-imenu--build-tree): Fix corner case
12114 in nested defuns.
12115
12116 2013-07-13 Leo Liu <sdl.web@gmail.com>
12117
12118 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
12119 ido-set-matches call. (Bug#6852)
12120
12121 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
12122
12123 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
12124 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
12125 Ruby 2.0.
12126 (ruby-font-lock-keywords): Distinguish calls to functions with
12127 module-like names from module references. Highlight character
12128 literals.
12129
12130 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
12131
12132 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
12133 (gdb-send): Handle continued commands. (Bug#14847)
12134
12135 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
12136
12137 * desktop.el (desktop--v2s): Remove unused local variable.
12138 (desktop-save-buffer): Make defvar-local; adjust docstring.
12139 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
12140 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
12141
12142 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
12143
12144 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
12145
12146 2013-07-12 Eli Zaretskii <eliz@gnu.org>
12147
12148 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
12149 (Bug#14842)
12150
12151 2013-07-12 Glenn Morris <rgm@gnu.org>
12152
12153 * doc-view.el: Require cl-lib at runtime too.
12154 (doc-view-remove-if): Remove.
12155 (doc-view-search-next-match, doc-view-search-previous-match):
12156 Use cl-remove-if.
12157
12158 * edmacro.el: Require cl-lib at runtime too.
12159 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
12160 (edmacro-mismatch, edmacro-subseq): Remove.
12161
12162 * shadowfile.el: Require cl-lib.
12163 (shadow-remove-if): Remove.
12164 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
12165 Use cl-remove-if.
12166
12167 * wid-edit.el: Require cl-lib.
12168 (widget-choose): Use cl-remove-if.
12169 (widget-remove-if): Remove.
12170
12171 * progmodes/ebrowse.el: Require cl-lib at runtime too.
12172 (ebrowse-delete-if-not): Remove.
12173 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
12174 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
12175 Use cl-delete-if-not.
12176
12177 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
12178
12179 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
12180 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
12181
12182 2013-07-12 Leo Liu <sdl.web@gmail.com>
12183
12184 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
12185
12186 2013-07-11 Glenn Morris <rgm@gnu.org>
12187
12188 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
12189 (edebug-gensym-index, edebug-gensym):
12190 Remove reimplementation of cl-gensym.
12191 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
12192
12193 * thumbs.el: Require cl-lib at run-time too.
12194 (thumbs-gensym-counter, thumbs-gensym):
12195 Remove reimplementation of cl-gensym.
12196 (thumbs-temp-file): Use cl-gensym.
12197
12198 * emacs-lisp/ert.el: Require cl-lib at runtime too.
12199 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
12200 (ert--intersection, ert--set-difference, ert--set-difference-eq)
12201 (ert--union, ert--gensym-counter, ert--gensym-counter)
12202 (ert--coerce-to-vector, ert--remove*, ert--string-position)
12203 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
12204 (ert-make-test-unbound, ert--expand-should-1)
12205 (ert--expand-should, ert--should-error-handle-error)
12206 (should-error, ert--explain-equal-rec)
12207 (ert--plist-difference-explanation, ert-select-tests)
12208 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
12209 Use cl-lib functions rather than reimplementations.
12210
12211 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
12212
12213 * net/tramp.el (tramp-methods): Extend docstring.
12214 (tramp-connection-timeout): New defcustom.
12215 (tramp-error-with-buffer): Reset timestamp only when appropriate.
12216 (with-tramp-progress-reporter): Simplify.
12217 (tramp-process-actions): Improve messages.
12218
12219 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
12220 * net/tramp-sh.el (tramp-maybe-open-connection):
12221 Use `tramp-connection-timeout'.
12222 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
12223 (Bug#14808)
12224
12225 2013-07-11 Leo Liu <sdl.web@gmail.com>
12226
12227 * ido.el (ido-read-file-name): Conform to the requirements of
12228 read-file-name. (Bug#11861)
12229 (ido-read-directory-name): Conform to the requirements of
12230 read-directory-name.
12231
12232 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
12233
12234 * subr.el (delay-warning): New function.
12235
12236 2013-07-10 Eli Zaretskii <eliz@gnu.org>
12237
12238 * simple.el (default-line-height): New function.
12239 (line-move-partial, line-move): Use it instead of computing the
12240 line height inline.
12241 (line-move-partial): Always compute ROWH. If the last line is
12242 partially-visible, but its text is completely visible, allow
12243 cursor to enter such a partially-visible line.
12244
12245 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
12246
12247 Improve error messages. (Bug#14808)
12248
12249 * net/tramp.el (tramp-current-connection): New defvar, moved from
12250 tramp-sh.el.
12251 (tramp-message-show-progress-reporter-message): Remove, not
12252 needed anymore.
12253 (tramp-error-with-buffer): Show message in minibuffer.
12254 Discard input before waiting. Reset connection timestamp.
12255 (with-tramp-progress-reporter): Improve messages.
12256 (tramp-process-actions): Use progress reporter. Delete process in
12257 case of error. Improve messages.
12258
12259 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
12260 Call `tramp-error-with-buffer' with vector and buffer.
12261 (tramp-current-connection): Remove.
12262 (tramp-maybe-open-connection): The car of
12263 `tramp-current-connection' are the first 3 slots of the vector.
12264
12265 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
12266
12267 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
12268 inside continued strings.
12269
12270 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
12271
12272 Timestamp fixes for undo (Bug#14824).
12273 * files.el (clear-visited-file-modtime): Move here from fileio.c.
12274
12275 2013-07-10 Leo Liu <sdl.web@gmail.com>
12276
12277 * files.el (require-final-newline): Allow safe local value.
12278 (Bug#14834)
12279
12280 2013-07-09 Leo Liu <sdl.web@gmail.com>
12281
12282 * ido.el (ido-read-directory-name): Handle fallback.
12283 (ido-read-file-name): Update DIR to ido-current-directory.
12284 (Bug#1516)
12285 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
12286
12287 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
12288
12289 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
12290 "autoload". Remove "warn lower camel case" section, previously
12291 commented out. Highlight negation char. Do not highlight the
12292 target in singleton method definitions.
12293
12294 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12295
12296 * faces.el (tty-setup-hook): Declare the hook.
12297
12298 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
12299 and detect when a guard/pred depends on local vars (bug#14773).
12300 (pcase--u1): Adjust caller.
12301
12302 2013-07-08 Eli Zaretskii <eliz@gnu.org>
12303
12304 * simple.el (line-move-partial, line-move): Account for
12305 line-spacing.
12306 (line-move-partial): Avoid setting vscroll when the last
12307 partially-visible line in window is of default height.
12308
12309 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12310
12311 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
12312 been used a while.
12313
12314 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
12315
12316 * subr.el (read-quoted-char): Remove unused local variable `char'.
12317
12318 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
12319
12320 * vc/ediff.el (ediff-version): Version update.
12321 (ediff-files-command, ediff3-files-command, ediff-merge-command)
12322 (ediff-merge-with-ancestor-command, ediff-directories-command)
12323 (ediff-directories3-command, ediff-merge-directories-command)
12324 (ediff-merge-directories-with-ancestor-command): New functions.
12325 All are command-line interfaces to ediff: to facilitate calling
12326 Emacs with the appropriate ediff functions invoked.
12327
12328 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
12329 New function.
12330 (viper-save-kill-buffer): Check if buffer is modified.
12331
12332 * emulation/viper.el (viper-version): Version update.
12333 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
12334
12335 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
12336
12337 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
12338 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
12339 (viper-intercept-ESC-key): Simplify.
12340 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
12341 don't use kbd.
12342 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
12343 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
12344 (viper-setup-ESC-to-escape): New functions.
12345 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
12346 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
12347
12348 2013-07-07 Eli Zaretskii <eliz@gnu.org>
12349
12350 * simple.el (default-font-height, window-screen-lines):
12351 New functions.
12352 (line-move, line-move-partial): Use them instead of
12353 frame-char-height and window-text-height. This makes scrolling
12354 text smoother when the buffer's default face uses a font that is
12355 different from the frame's default font.
12356
12357 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
12358
12359 * files.el (write-file): Do not display confirm dialog for NS,
12360 it does its own dialog, which can't be canceled (Bug#14578).
12361
12362 2013-07-06 Eli Zaretskii <eliz@gnu.org>
12363
12364 * simple.el (line-move-partial): Adjust the row returned by
12365 posn-at-point for the current window-vscroll. (Bug#14567)
12366
12367 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
12368
12369 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
12370 (tramp-sh-file-inotifywait-process-filter): Handle file names with
12371 spaces.
12372
12373 2013-07-06 Martin Rudalics <rudalics@gmx.at>
12374
12375 * window.el (window-state-put-stale-windows): New variable.
12376 (window--state-put-2): Save list of windows without matching buffer.
12377 (window-state-put): Remove "bufferless" windows if possible.
12378
12379 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12380
12381 * simple.el (alternatives-define): Remove leftover :group keyword.
12382 Tweak docstring.
12383
12384 2013-07-06 Leo Liu <sdl.web@gmail.com>
12385
12386 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
12387 (ido-enable-virtual-buffers): New variable.
12388 (ido-buffer-internal, ido-toggle-virtual-buffers)
12389 (ido-make-buffer-list): Use it.
12390 (ido-exhibit): Support turning on and off virtual buffers
12391 automatically.
12392
12393 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12394
12395 * simple.el (alternatives-define): New macro.
12396
12397 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
12398
12399 * subr.el (read-quoted-char): Use read-key.
12400 (sit-for): Let read-event decode tty input (bug#14782).
12401
12402 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
12403
12404 * calendar/todo-mode.el: Add handling of file deletion, both by
12405 mode command and externally. Fix various related bugs.
12406 Clarify Commentary and improve some documentation strings and code.
12407 (todo-delete-file): New command.
12408 (todo-check-file): New function.
12409 (todo-show): Handle external deletion of the file we're trying to
12410 show (bug#14688). Replace called-interactively-p by an optional
12411 prefix argument to avoid problematic interaction with catch form
12412 when byte compiled (bug#14702).
12413 (todo-quit): Handle external deletion of the archive's todo file.
12414 Make sure the buffer that was visiting the archive file is still
12415 live before trying to bury it.
12416 (todo-category-completions): Handle external deletion of any
12417 category completion files.
12418 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
12419 of todo files, in case of external deletion.
12420 (todo-add-file): Replace unnecessary setq by let-binding.
12421 (todo-find-archive): Check whether there are any archives.
12422 Replace unnecessary setq by let-binding.
12423 (todo-archive-done-item): Use find-file-noselect to get the
12424 archive buffer whether or not the archive already exists.
12425 Remove superfluous code. Use file size instead of buffer-file-name to
12426 check if the archive is new; if it is, update list of archives.
12427 (todo-default-todo-file): Allow nil to be a valid value for when
12428 there are no todo files.
12429 (todo-reevaluate-default-file-defcustom): Use corrected definition
12430 of todo-default-todo-file.
12431 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
12432 (todo-delete-category, todo-show-categories-table)
12433 (todo-category-number): Clarify comment.
12434 (todo-filter-items): Clarify documentation string.
12435 (todo-show-current-file, todo-display-as-todo-file)
12436 (todo-reset-and-enable-done-separator): Tweak documentation string.
12437 (todo-done-separator): Make separator length window-width, since
12438 bug#2749 is now fixed.
12439
12440 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
12441
12442 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12443 Support both "gvfs-monitor-dir" and "inotifywait".
12444 (tramp-sh-file-inotifywait-process-filter): Rename from
12445 `tramp-sh-file-notify-process-filter'.
12446 (tramp-sh-file-gvfs-monitor-dir-process-filter)
12447 (tramp-get-remote-gvfs-monitor-dir): New defuns.
12448
12449 2013-07-05 Leo Liu <sdl.web@gmail.com>
12450
12451 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
12452
12453 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12454
12455 * frame.el (display-pixel-height, display-pixel-width)
12456 (display-mm-height, display-mm-width): Mention behavior on
12457 multi-monitor setups in docstrings.
12458 (w32-display-monitor-attributes-list): Declare function.
12459 (display-monitor-attributes-list): Use it.
12460
12461 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
12462
12463 * filenotify.el: New package.
12464
12465 * autorevert.el (top): Require filenotify.el.
12466 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
12467 instead.
12468 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12469 (auto-revert-notify-handler): Use `file-notify-*' functions.
12470
12471 * subr.el (file-notify-handle-event): Move function to filenotify.el.
12472
12473 * net/tramp.el (tramp-file-name-for-operation):
12474 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
12475
12476 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
12477 for `file-notify-add-watch' and `file-notify-rm-watch'.
12478 (tramp-process-sentinel): Improve trace.
12479 (tramp-sh-handle-file-notify-add-watch)
12480 (tramp-sh-file-notify-process-filter)
12481 (tramp-sh-handle-file-notify-rm-watch)
12482 (tramp-get-remote-inotifywait): New defuns.
12483
12484 2013-07-03 Juri Linkov <juri@jurta.org>
12485
12486 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
12487 call of `occur-read-primary-args' to interactive spec.
12488
12489 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
12490 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
12491
12492 2013-07-03 Matthias Meulien <orontee@gmail.com>
12493
12494 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
12495 `Buffer-menu-multi-occur'. Add it to the menu.
12496 (Buffer-menu-mode): Document it in docstring.
12497 (Buffer-menu-multi-occur): New command. (Bug#14673)
12498
12499 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12500
12501 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
12502 keywords and built-ins.
12503
12504 2013-07-03 Glenn Morris <rgm@gnu.org>
12505
12506 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
12507
12508 Make info-xref checks case-sensitive by default
12509 * info.el (Info-find-node, Info-find-in-tag-table)
12510 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
12511 Add option for exact case matching of nodes.
12512 * info-xref.el (info-xref): New custom group.
12513 (info-xref-case-fold): New option.
12514 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
12515
12516 2013-07-03 Leo Liu <sdl.web@gmail.com>
12517
12518 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
12519
12520 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12521
12522 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
12523 middle of block statement initially, lower the depth. Remove
12524 FIXME comment, not longer valid. Remove middle of block statement
12525 detection, no need to do that anymore since we've been using
12526 `ruby-parse-region' here.
12527
12528 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
12529
12530 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
12531
12532 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
12533
12534 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
12535
12536 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
12537
12538 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
12539 (desktop-restore-in-current-display): New customization option.
12540 (desktop--excluded-frame-parameters): Add `font'.
12541 (desktop--save-frames): Rename from desktop--save-windows.
12542 (desktop--restore-in-this-display-p): New function.
12543 (desktop--make-full-frame): Remove unwanted width/height from
12544 full(width|height) frames.
12545 (desktop--restore-frames): Rename from desktop--restore-windows.
12546 Obey desktop-restore-current-display. Do not delete old frames or
12547 select a new frame unless we were able to restore at least one frame.
12548
12549 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
12550
12551 * files.el (find-file-noselect): Simplify conditional expression.
12552
12553 * textmodes/remember.el (remember-append-to-file):
12554 Don't mix `find-buffer-visiting' and `get-file-buffer'.
12555
12556 Add `remember-notes' function to store random notes across Emacs
12557 restarts.
12558 * textmodes/remember.el (remember-data-file): Add :set callback to
12559 affect notes buffer (if any).
12560 (remember-notes): New command.
12561 (remember-notes-buffer-name, bury-remember-notes-on-kill):
12562 New defcustoms for the `remember-notes' function.
12563 (remember-notes-save-and-bury-buffer): New command.
12564 (remember-notes-mode-map): New variable.
12565 (remember-mode): New minor mode.
12566 (remember-notes--kill-buffer-query): New function.
12567 * startup.el (initial-buffer-choice): Add notes to custom type.
12568
12569 2013-06-30 Eli Zaretskii <eliz@gnu.org>
12570
12571 * bindings.el (right-char, left-char): Don't call sit-for, this is
12572 no longer needed. Use arithmetic comparison only for numerical
12573 arguments.
12574
12575 * international/mule-cmds.el (select-safe-coding-system):
12576 Handle the case of FROM being a string correctly. (Bug#14755)
12577
12578 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12579
12580 * net/shr.el (shr-make-table-1): Add a sanity check that allows
12581 progression on degenerate tables.
12582 (shr-rescale-image): ImageMagick animated images currently don't work.
12583
12584 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
12585
12586 Some fixes and improvements for desktop frame restoration.
12587 It is still experimental and disabled by default.
12588 * desktop.el (desktop--save-windows): Put the selected frame at
12589 the head of the list.
12590 (desktop--make-full-frame): New function.
12591 (desktop--restore-windows): Try to re-select the frame that was
12592 selected upon saving. Do not abort if some frames fail to restore,
12593 just show an error message and continue. Set up maximized frames
12594 so they have default non-maximized dimensions.
12595
12596 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
12597
12598 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12599 Don't start heredoc inside a string or comment.
12600
12601 2013-06-29 Eli Zaretskii <eliz@gnu.org>
12602
12603 * bindings.el (visual-order-cursor-movement): New defcustom.
12604 (right-char, left-char): Provide visual-order cursor motion by
12605 calling move-point-visually. Update the doc strings.
12606
12607 2013-06-28 Kenichi Handa <handa@gnu.org>
12608
12609 * international/mule.el (define-coding-system): New coding system
12610 properties :inhibit-null-byte-detection,
12611 :inhibit-iso-escape-detection, and :prefer-utf-8.
12612 (set-buffer-file-coding-system): If :charset-list property of
12613 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12614 appropriate for setting.
12615
12616 * international/mule-cmds.el (select-safe-coding-system):
12617 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12618 multibyte characters, return utf-8 (or one of its siblings).
12619
12620 * international/mule-conf.el (prefer-utf-8): New coding system.
12621 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12622 files.
12623
12624 2013-06-28 Ivan Kanis <ivan@kanis.fr>
12625
12626 * net/shr.el (shr-render-region): New function.
12627
12628 * net/eww.el: Autoload `eww-browse-url'.
12629
12630 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
12631
12632 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12633 Adapt to `package-desc-version' being a list.
12634 Use `package--ac-desc-version' to retrieve version from a package
12635 archive element.
12636
12637 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
12638
12639 New experimental feature to save&restore window and frame setup.
12640 * desktop.el (desktop-save-windows): New defcustom.
12641 (desktop--saved-states): New var.
12642 (desktop--excluded-frame-parameters): New defconst.
12643 (desktop--filter-frame-parms, desktop--find-frame-in-display)
12644 (desktop--restore-windows, desktop--save-windows): New functions.
12645 (desktop-save): Call `desktop--save-windows'.
12646 (desktop-read): Call `desktop--restore-windows'.
12647
12648 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12649
12650 * net/shr.el (add-face-text-property): Remove compat definition.
12651
12652 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12653
12654 * info.el (Info-try-follow-nearest-node): Move search for footnote
12655 above search for node name to prevent missing a footnote (bug#14717).
12656
12657 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12658
12659 * obsolete/otodo-mode.el: Add obsolescence info to file header.
12660
12661 2013-06-27 Leo Liu <sdl.web@gmail.com>
12662
12663 * net/eww.el (eww-read-bookmarks): Check file size.
12664
12665 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12666
12667 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12668 advice--pending if newdef is nil or an autoload (bug#13820).
12669 (advice-mapc): New function.
12670
12671 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12672
12673 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12674 probably.
12675 (eww-mode-map): Add a menu bar.
12676 (eww-add-bookmark): New command.
12677 (eww-bookmark-mode): New mode and commands.
12678 (eww-add-bookmark): Remove newlines from the title.
12679 (eww-bookmark-browse): Don't bug out if it's the only window.
12680
12681 2013-06-26 Glenn Morris <rgm@gnu.org>
12682
12683 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12684 (hfy-size): Handle ttys. (Bug#14668)
12685
12686 * info-xref.el: Update for Texinfo 5 change in *note format.
12687 (info-xref-node-re, info-xref-note-re): New constants.
12688 (info-xref-check-buffer): Use info-xref-note-re.
12689
12690 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12691
12692 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12693
12694 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12695 nil terminate the loop (bug#14718).
12696
12697 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12698
12699 * net/eww.el: Rework history traversal. When going forward/back,
12700 put these actions into the history, too, so that they can be
12701 replayed.
12702 (eww-render): Move the history reset to the correct buffer.
12703
12704 2013-06-25 Juri Linkov <juri@jurta.org>
12705
12706 * files-x.el (modify-dir-local-variable): Change the header comment
12707 in the file with directory local variables. (Bug#14692)
12708
12709 * files-x.el (read-file-local-variable-value): Add `default'.
12710 (Bug#14710)
12711
12712 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12713
12714 * net/eww.el (eww-make-unique-file-name): Create a unique file
12715 name before saving to entering `y' accidentally asynchronously.
12716
12717 2013-06-25 Ivan Kanis <ivan@kanis.fr>
12718
12719 * net/eww.el (eww-download): New command and keystroke.
12720
12721 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12722
12723 * net/eww.el (eww-copy-page-url): Change name of command.
12724
12725 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12726 be more consistent with Info and dired.
12727
12728 * net/eww.el (eww-mode-map): Ditto.
12729
12730 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12731
12732 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12733 packages from archives.
12734 (package-archive-contents): Change format; include obsolete packages.
12735 (package-desc): Use `dir' to mark builtin packages.
12736 (package--from-builtin): Set the `dir' field to `builtin'.
12737 (generated-autoload-file, version-control): Declare.
12738 (package-compute-transaction): Change first arg and return value to be
12739 lists of package-descs. Adjust to new package-archive-contents format.
12740 (package--add-to-archive-contents): Adjust to new
12741 package-archive-contents format.
12742 (package-download-transaction): Arg is now a list of package-descs.
12743 (package-install): If `pkg' is a package name, pass it as
12744 a requirement, so it is subject to the usual (e.g. disabled) checks.
12745 (describe-package): Accept package-desc as well.
12746 (describe-package-1): Describe a specific package-desc. Add links to
12747 other package-descs for the same package name.
12748 (package-menu-describe-package): Pass the actual package-desc.
12749 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12750 works correctly.
12751 (package-desc-status): New function.
12752 (package-menu--refresh): New function, extracted
12753 from package-menu--generate.
12754 (package-menu--generate): Use it.
12755 (package-delete): Update package-alist.
12756 (package-menu-execute): Don't call package-initialize.
12757
12758 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12759 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12760 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12761 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12762 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12763 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12764
12765 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12766
12767 * window.el (window--state-get-1): Workaround for bug#14527.
12768 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12769
12770 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12771
12772 * net/eww.el (eww-back-url): Implement the history by stashing all
12773 the data into a list.
12774 (eww-forward-url): Allow going forward in the history, too.
12775
12776 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12777
12778 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12779 for values and use read--expression for expressions (bug#14710).
12780 (read-file-local-variable): Avoid setq.
12781 (read-file-local-variable-mode): Use minor-mode-list.
12782
12783 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12784
12785 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12786 for DOI URLs.
12787
12788 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12789
12790 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12791 Update imenu-support when dialect changes.
12792
12793 2013-06-25 Leo Liu <sdl.web@gmail.com>
12794
12795 * ido.el (ido-read-internal): Allow forward slash on windows.
12796
12797 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12798
12799 * net/eww.el (eww): Start of strings is \\`, not ^.
12800
12801 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12802
12803 * net/shr.el (shr-browse-url): Fix interactive spec.
12804
12805 * net/eww.el (eww): Add a trailing slash to domain names.
12806
12807 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12808
12809 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12810
12811 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12812
12813 * net/shr.el (shr-browse-url): Use an external browser if given a
12814 prefix.
12815
12816 * net/eww.el (eww-external-browser): Move to shr.
12817
12818 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12819
12820 * net/eww.el (eww): Work more correctly for file: URLs.
12821 (eww-detect-charset): Allow quoted charsets.
12822 (eww-yank-page-url): New command and keystroke.
12823
12824 2013-06-24 Daiki Ueno <ueno@gnu.org>
12825
12826 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12827 file name of gpg executable.
12828 (epg-context-program): New function.
12829 (epg-context-home-directory): New function.
12830 (epg-context-set-program): New function.
12831 (epg-context-set-home-directory): New function.
12832 (epg--start): Use `epg-context-program' instead of
12833 'epg-gpg-program'.
12834 (epg--list-keys-1): Likewise.
12835
12836 2013-06-24 Leo Liu <sdl.web@gmail.com>
12837
12838 * ido.el (ido-read-internal): Fix bug#14620.
12839
12840 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12841
12842 * faces.el (face-documentation): Simplify.
12843 (read-face-attribute, tty-find-type, x-resolve-font-name):
12844 Use `string-match-p'.
12845 (list-faces-display): Use `string-match-p'. Simplify.
12846 (face-spec-recalc): Check face to avoid face alias loops.
12847 (read-color): Use `string-match-p' and non-capturing parenthesis.
12848
12849 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12850
12851 * net/shr.el (shr-rescale-image): Use the new
12852 :max-width/:max-height functionality.
12853
12854 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12855
12856 * net/eww.el (eww-search-prefix): New variable.
12857 (eww): Use it.
12858 (eww-external-browser): New variable.
12859 (eww-mode-map): New keystroke.
12860 (eww-browse-with-external-browser): New command.
12861
12862 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12863
12864 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12865
12866 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12867 Don't skip aligning the next header field when padding is 0;
12868 otherwise, field width is not respected unless the title is as
12869 wide as the field.
12870
12871 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12872
12873 * emacs-lisp/package.el (package-el-version): Remove.
12874 (package-process-define-package): Fix inf-loop.
12875 (package-install): Allow symbols as arguments again.
12876
12877 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12878
12879 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12880 add some more keyword-like methods.
12881 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12882
12883 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12884
12885 * bs.el (bs-buffer-show-mark): Make defvar-local.
12886 (bs-mode): Use setq-local.
12887
12888 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12889 (emacs-lock--try-unlocking): Make defvar-local.
12890
12891 2013-06-22 Glenn Morris <rgm@gnu.org>
12892
12893 * play/cookie1.el (cookie-apropos): Minor simplification.
12894
12895 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12896
12897 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12898
12899 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12900 `regexp-opt', it breaks the build during dumping.
12901
12902 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12903
12904 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12905 Highlight keyword-like methods on Kernel and Module with
12906 font-lock-builtin-face.
12907 (auto-mode-alist): Consolidate different entries into one regexp
12908 and add more *file-s.
12909
12910 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12911
12912 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12913
12914 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12915 (diary-entry): Use it in the action of this button type instead of
12916 diary-goto-entry.
12917
12918 * calendar/todo-mode.el: New version.
12919 (todo-add-category): Append new category to end of file and give
12920 it the highest number, instead of putting it at the beginning and
12921 giving it 0. Incorporate noninteractive functionality.
12922 (todo-forward-category): Adapt to 1-based category numbering.
12923 Allow skipping over archived categories.
12924 (todo-backward-category): Derive from todo-forward-category.
12925 (todo-backward-item, todo-forward-item): Make noninteractive and
12926 delegate interactive part to new commands. Make sensitive to done items.
12927 (todo-categories): Make value an alist of category names and
12928 vectors of item counts.
12929 (todo-category-beg): Make a defconst.
12930 (todo-category-number): Use 1 instead of 0 as initial value.
12931 (todo-category-select): Make sensitive to overlays, optional item
12932 highlighting and done items.
12933 (todo-delete-item): Make sensitive to overlays and marked and done items.
12934 (todo-edit-item): Make sensitive to overlays and editing of
12935 date/time header optional. Add format checks.
12936 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12937 no-op if point is not on an item. Advertise using todo-edit-quit.
12938 (todo-edit-mode): Make sensitive to new format, font-locking, and
12939 multiple todo files.
12940 (todo-insert-item, todo-insert-item-here): Derive from
12941 todo-basic-insert-item and extend functionality.
12942 (todo-item-end, todo-item-start): Make sensitive to done items.
12943 (todo-item-string): Don't return text properties. Restore point.
12944 (todo-jump-to-category): Make sensitive to multiple todo files and
12945 todo archives. Use extended category completion.
12946 (todo-lower-item, todo-raise-item): Rename to *-priority and
12947 derive from todo-set-item-priority.
12948 (todo-mode): Derive from special-mode. Make sensitive to new
12949 format, font-locking and multiple todo files. Make read-only.
12950 (todo-mode-map): Don't suppress digit keys, so they can supply
12951 prefix arguments. Add many new key bindings.
12952 (todo-prefix): Insert as an overlay instead of file text.
12953 Change semantics from diary date expression to purely visual mark.
12954 (todo-print): Rename to todo-print-buffer. Make buffer display
12955 features printable. Remove option to restrict number of items
12956 printed. Add option to print to file.
12957 (todo-print-function): Rename to todo-print-buffer-function.
12958 (todo-quit): Extend to handle exiting new todo modes.
12959 (todo-remove-item): Make sensitive to overlays.
12960 (todo-save): Extend to buffers of filtered items.
12961 (todo-show): Make sensitive to done items, multiple todo files and
12962 new todo modes. Offer to convert legacy todo file before creating
12963 first new todo file.
12964 (todo-show-priorities): Rename to todo-top-priorities.
12965 Change semantics of value 0.
12966 (todo-top-priorities): Rename to todo-filter-top-priorities,
12967 derive from todo-filter-items and extend functionality.
12968 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12969 and extend functionality to other types of filtered items.
12970 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12971 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12972 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12973 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12974 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12975 (todo-edit-mode-hook, todo-entry-prefix-function)
12976 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12977 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12978 (todo-initials, todo-insert-threshold, todo-item-string-start)
12979 (todo-line-string, todo-menu, todo-mode-hook)
12980 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12981 (todo-print-priorities, todo-remove-separator)
12982 (todo-save-top-priorities-too, todo-string-count-lines)
12983 (todo-string-multiline-p, todo-time-string-format)
12984 (todo-tmp-buffer-name): Remove.
12985 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12986 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12987 (todo-edit-category-diary-inclusion)
12988 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12989 (todo-edit-file, todo-edit-item-date-day)
12990 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12991 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12992 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12993 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12994 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12995 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12996 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12997 (todo-filter-top-priorities-multifile, todo-find-archive)
12998 (todo-find-filtered-items-file, todo-go-to-source-item)
12999 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
13000 (todo-jump-to-archive-category, todo-lower-category)
13001 (todo-mark-category, todo-marked-item-p, todo-merge-category)
13002 (todo-move-category, todo-move-item, todo-next-button)
13003 (todo-next-item, todo-padded-string, todo-powerset)
13004 (todo-previous-button, todo-previous-item)
13005 (todo-print-buffer-to-file, todo-raise-category)
13006 (todo-rename-category, todo-repair-categories-sexp, todo-search)
13007 (todo-set-category-number, todo-set-item-priority)
13008 (todo-set-top-priorities-in-category)
13009 (todo-set-top-priorities-in-file, todo-show-categories-table)
13010 (todo-sort-categories-alphabetically-or-numerically)
13011 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
13012 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
13013 (todo-toggle-item-header, todo-toggle-item-highlighting)
13014 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
13015 (todo-toggle-view-done-items, todo-toggle-view-done-only)
13016 (todo-unarchive-items, todo-unmark-category): New commands.
13017 (todo-absolute-file-name, todo-add-to-buffer-list)
13018 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
13019 (todo-basic-insert-item, todo-category-completions)
13020 (todo-category-number, todo-category-string-matcher-1)
13021 (todo-category-string-matcher-2, todo-check-filtered-items-file)
13022 (todo-check-format, todo-clear-matches)
13023 (todo-comment-string-matcher, todo-convert-legacy-date-time)
13024 (todo-current-category, todo-date-string-matcher)
13025 (todo-define-insertion-command, todo-diary-expired-matcher)
13026 (todo-diary-goto-entry, todo-diary-item-p)
13027 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
13028 (todo-display-categories, todo-display-sorted, todo-done-item-p)
13029 (todo-done-item-section-p, todo-done-separator)
13030 (todo-done-string-matcher, todo-files, todo-filter-items)
13031 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
13032 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
13033 (todo-insert-category-line, todo-insert-item-from-calendar)
13034 (todo-insert-sort-button, todo-insert-with-overlays)
13035 (todo-insertion-command-name, todo-insertion-key-bindings)
13036 (todo-label-to-key, todo-longest-category-name-length)
13037 (todo-make-categories-list, todo-mode-external-set)
13038 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
13039 (todo-modes-set-3, todo-multiple-filter-files)
13040 (todo-nondiary-marker-matcher, todo-prefix-overlays)
13041 (todo-read-category, todo-read-date, todo-read-dayname)
13042 (todo-read-file-name, todo-read-time)
13043 (todo-reevaluate-category-completions-files-defcustom)
13044 (todo-reevaluate-default-file-defcustom)
13045 (todo-reevaluate-filelist-defcustoms)
13046 (todo-reevaluate-filter-files-defcustom)
13047 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
13048 (todo-reset-done-separator, todo-reset-done-separator-string)
13049 (todo-reset-done-string, todo-reset-global-current-todo-file)
13050 (todo-reset-highlight-item, todo-reset-nondiary-marker)
13051 (todo-reset-prefix, todo-set-categories)
13052 (todo-set-date-from-calendar, todo-set-show-current-file)
13053 (todo-set-top-priorities, todo-short-file-name)
13054 (todo-show-current-file, todo-sort, todo-time-string-matcher)
13055 (todo-total-item-counts, todo-update-buffer-list)
13056 (todo-update-categories-display, todo-update-categories-sexp)
13057 (todo-update-count, todo-validate-name, todo-y-or-n-p):
13058 New functions.
13059 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
13060 New major modes.
13061 (todo-categories, todo-display, todo-edit, todo-faces)
13062 (todo-filtered): New defgroups.
13063 (todo-archived-only, todo-button, todo-category-string, todo-date)
13064 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
13065 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
13066 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
13067 (todo-add-item-if-new-category, todo-always-add-time-string)
13068 (todo-categories-align, todo-categories-archived-label)
13069 (todo-categories-category-label, todo-categories-diary-label)
13070 (todo-categories-done-label, todo-categories-number-separator)
13071 (todo-categories-todo-label, todo-categories-totals-label)
13072 (todo-category-completions-files, todo-completion-ignore-case)
13073 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
13074 (todo-done-separator-string, todo-done-string)
13075 (todo-files-function, todo-filter-done-items, todo-filter-files)
13076 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
13077 (todo-initial-category, todo-initial-file, todo-item-mark)
13078 (todo-legacy-date-time-regexp, todo-mode-line-function)
13079 (todo-nondiary-marker, todo-number-prefix)
13080 (todo-print-buffer-function, todo-show-current-file)
13081 (todo-show-done-only, todo-show-first, todo-show-with-done)
13082 (todo-skip-archived-categories, todo-top-priorities-overrides)
13083 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
13084 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
13085 New defcustoms.
13086 (todo-category-done, todo-date-pattern, todo-date-string-start)
13087 (todo-diary-items-buffer, todo-done-string-start)
13088 (todo-filtered-items-buffer, todo-item-start)
13089 (todo-month-abbrev-array, todo-month-name-array)
13090 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
13091 (todo-top-priorities-buffer): New defconsts.
13092 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
13093 (todo-categories-with-marks, todo-category-string-face)
13094 (todo-comment-face, todo-comment-string, todo-current-todo-file)
13095 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
13096 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
13097 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
13098 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
13099 (todo-font-lock-keywords, todo-global-current-todo-file)
13100 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
13101 (todo-insertion-commands-args)
13102 (todo-insertion-commands-args-genlist)
13103 (todo-insertion-commands-names, todo-insertion-map)
13104 (todo-key-bindings-t, todo-key-bindings-t+a)
13105 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
13106 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
13107 (todo-nondiary-face, todo-print-buffer, todo-time-face)
13108 (todo-visited): New variables.
13109
13110 2013-06-21 Glenn Morris <rgm@gnu.org>
13111
13112 * play/cookie1.el (cookie-apropos): Add optional display argument.
13113 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
13114 (psychoanalyze-pinhead): Use cookie-doctor.
13115
13116 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13117
13118 * emacs-lisp/package.el (tar-get-file-descriptor)
13119 (tar--extract): Declare.
13120
13121 2013-06-21 Eduard Wiebe <usenet@pusto.de>
13122
13123 Extend flymake's warning predicate to be a function (bug#14217).
13124 * progmodes/flymake.el (flymake-warning-predicate): New.
13125 (flymake-parse-line): Use it.
13126 (flymake-warning-re): Make obsolete alias to
13127 `flymake-warning-predicate'.
13128
13129 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13130
13131 * emacs-lisp/package.el (package-alist): Include obsolete packages.
13132 (package-obsolete-list): Remove.
13133 (package-activate): Remove min-version argument. Add `force' argument.
13134 Adjust to new package-alist format.
13135 (package-mark-obsolete): Remove.
13136 (package-unpack): Force reload of the package's autoloads.
13137 (package-installed-p): Check builtins if the installed package is not
13138 recent enough.
13139 (package-initialize): Don't reset package-obsolete-list.
13140 Don't specify which package version to activate.
13141 (package-process-define-package, describe-package-1)
13142 (package-menu--generate): Adjust to new package-alist format.
13143
13144 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13145
13146 * allout-widgets.el (allout-widgets-mode-off)
13147 (allout-widgets-mode-on, allout-widgets-pre-command-business)
13148 (allout-widgets-post-command-business)
13149 (allout-widgets-after-copy-or-kill-function)
13150 (allout-widgets-after-undo-function, allout-test-range-overlaps)
13151 (allout-decorate-item-and-context)
13152 (allout-graphics-modification-handler): Fix typos in docstrings.
13153 (allout-get-or-create-parent-widget): Use `looking-at-p'.
13154
13155 * cmuscheme.el (scheme-start-file): Doc fix.
13156 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
13157 (scheme-input-filter): Use `string-match-p'.
13158
13159 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
13160
13161 * dired-x.el: Use Dired consistently in docstrings.
13162
13163 * dired.el: Use Dired consistently in docstrings.
13164 (dired-readin, dired-mode): Use `setq-local'.
13165 (dired-switches-alist): Make defvar-local.
13166 (dired-buffers-for-dir): Use `zerop'.
13167 (dired-safe-switches-p, dired-switches-escape-p)
13168 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
13169 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
13170 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
13171 (dired-goto-next-nontrivial-file): Use `string-match-p'.
13172 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
13173 (dired-toggle-marks, dired-mark-files-containing-regexp)
13174 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
13175 (dired-flag-auto-save-files, dired-flag-backup-files):
13176 Use `looking-at-p'.
13177 (dired-mark-files-regexp, dired-build-subdir-alist):
13178 Use `string-match-p', `looking-at-p'.
13179
13180 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
13181 (direct-print-region-helper): Use `string-match-p'.
13182
13183 2013-06-21 Leo Liu <sdl.web@gmail.com>
13184
13185 * comint.el (comint-redirect-results-list-from-process):
13186 Fix infinite loop.
13187
13188 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13189
13190 * net/eww.el (eww-update-header-line-format): Quote % characters.
13191
13192 2013-06-21 Glenn Morris <rgm@gnu.org>
13193
13194 * play/cookie1.el (cookie): New custom group.
13195 (cookie-file): New option.
13196 (cookie-check-file): New function.
13197 (cookie): Make it interactive. Make start and end messages optional.
13198 Interactively, display the result. Default to cookie-file.
13199 (cookie-insert): Default to cookie-file.
13200 (cookie-snarf): Make start and end messages optional.
13201 Default to cookie-file. Use with-temp-buffer.
13202 (cookie-read): Rename from read-cookie.
13203 Make start and end messages optional. Default to cookie-file.
13204 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
13205 Do not autoload it.
13206 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
13207 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
13208
13209 2013-06-21 Leo Liu <sdl.web@gmail.com>
13210
13211 * progmodes/octave.el (octave-mode): Backward compatibility fix.
13212
13213 2013-06-21 Glenn Morris <rgm@gnu.org>
13214
13215 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
13216
13217 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13218 Daniel Hackney <dan@haxney.org>
13219
13220 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
13221 Consolidate the single-file vs tarball code.
13222 (package-desc-suffix): New function.
13223 (package-desc-full-name): Don't bother inlining it.
13224 (package-load-descriptor): Return the new package-desc.
13225 (package-mark-obsolete): Remove unused arg `package'.
13226 (package-unpack): Make it work for single files as well.
13227 Make it update package-alist.
13228 (package--make-autoloads-and-stuff): Rename from
13229 package--make-autoloads-and-compile. Don't compile any more.
13230 (package--compile): New function.
13231 (package-generate-description-file): New function, extracted from
13232 package-unpack-single.
13233 (package-unpack-single): Remove.
13234 (package--with-work-buffer): Add indentation and debugging info.
13235 (package-download-single): Remove.
13236 (package-install-from-archive): Rename from package-download-tar, make
13237 it take a pkg-desc, and make it work for single files as well.
13238 (package-download-transaction): Simplify.
13239 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
13240 external tar program.
13241 (package-install-from-buffer): Remove `pkg-desc' argument.
13242 Use package-tar-file-info for tar-mode buffers.
13243 (package-install-file): Simplify accordingly.
13244 (package-archive-base): Change to take a pkg-desc.
13245 * tar-mode.el (tar--check-descriptor): New function, extracted from
13246 tar-get-descriptor.
13247 (tar-get-descriptor): Use it.
13248 (tar-get-file-descriptor): New function.
13249 (tar--extract): New function, extracted from tar-extract.
13250 (tar--extract): Use it.
13251 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
13252 case the summary uses non-ascii. Adjust to new calling convention of
13253 package-tar-file-info.
13254
13255 2013-06-21 Leo Liu <sdl.web@gmail.com>
13256
13257 * comint.el (comint-redirect-results-list-from-process):
13258 Fix random delay. (Bug#14681)
13259
13260 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13261
13262 * profiler.el (profiler-format-number): Use log, not log10.
13263
13264 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13265
13266 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
13267
13268 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13269
13270 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
13271 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
13272 yet available.
13273 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
13274 (AUTOGENEL): ... here.
13275 * emacs-lisp/cl-macs.el (cl--sublis): New function.
13276 (cl--defsubst-expand): Use it.
13277
13278 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
13279
13280 * subr.el (log10): Move here from C code, and declare as obsolete.
13281 All uses of (log10 X) replaced with (log X 10).
13282
13283 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13284
13285 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
13286 Declare with `defvar-local'.
13287 (tabulated-list-use-header-line, tabulated-list-entries)
13288 (tabulated-list-padding, tabulated-list-printer)
13289 (tabulated-list-sort-key): Declare with `defvar-local'.
13290 (tabulated-list-init-header, tabulated-list-print-fake-header):
13291 Use `setq-local'.
13292
13293 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
13294
13295 * arc-mode.el (archive-mode): Add `archive-write-file' to
13296 `write-contents-functions' also for remote files. (Bug#14652)
13297
13298 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13299
13300 * cus-edit.el (custom-commands): Fix typos.
13301 (custom-display): Fix tooltip text.
13302 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
13303 Fix typos in docstrings.
13304 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
13305 (custom-unlispify-menu-entry, custom-magic-value-create)
13306 (custom-add-see-also, custom-group-value-create): Use ?\s.
13307 (custom-guess-type, customize-apropos, editable-field)
13308 (custom-face-value-create): Use `string-match-p'.
13309 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
13310
13311 * custom.el (custom-load-symbol): Use `string-match-p'.
13312
13313 * ansi-color.el: Convert to lexical binding.
13314 (ansi-colors): Fix URL.
13315 (ansi-color-context, ansi-color-context-region): Use defvar-local.
13316 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
13317 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
13318
13319 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13320
13321 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
13322
13323 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
13324
13325 2013-06-19 Tom Tromey <tromey@redhat.com>
13326
13327 * net/eww.el (eww-top-url): Remove.
13328 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
13329 (eww-render): Set new variables. Don't set eww-top-url.
13330 (eww-handle-link): Handle "prev", "home", and "contents".
13331 Downcase the rel text.
13332 (eww-top-url): Choose best top URL.
13333
13334 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13335
13336 * net/eww.el: Rewrite to implement form elements "by hand" instead of
13337 relying in widget.el. Using widget.el leads to too many
13338 user interface inconsistencies.
13339 (eww-self-insert): Implement entering commands in text fields.
13340 (eww-process-text-input): New function to make text input field editing
13341 work.
13342 (eww-submit): Rewrite to use the new-style form methods.
13343 (eww-select-display): Display the correct selected item.
13344 (eww-change-select): Implement changing the select value.
13345 (eww-toggle-checkbox): Implement radio/checkboxes.
13346 (eww-update-field): Fix compilation error.
13347 (eww-tag-textarea): Implement <textarea>.
13348
13349 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
13350 we don't shadow mode-specific bindings.
13351
13352 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
13353 nothing to push.
13354
13355 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
13356
13357 2013-06-19 Glenn Morris <rgm@gnu.org>
13358
13359 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
13360
13361 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13362
13363 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
13364 not needed.
13365
13366 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
13367
13368 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13369
13370 * net/browse-url.el (browse-url-browser-function):
13371 `eww-browse-url' has the right calling signature, `eww' does not.
13372
13373 2013-06-19 Glenn Morris <rgm@gnu.org>
13374
13375 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13376 Only eval autoloaded macros.
13377 (byte-compile-autoload): Only give the macro warning for macros.
13378
13379 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
13380 (ps-underlined-faces): Declare.
13381
13382 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
13383 (speedbar-add-supported-extension): Declare.
13384
13385 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
13386 Don't include a date stamp in the header of the generated file;
13387 it leads to needless differences between output files.
13388
13389 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13390
13391 * net/secrets.el (secrets-struct-secret-content-type):
13392 Replace check of introspection data by a test call of "CreateItem".
13393 Some servers do not offer introspection.
13394
13395 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
13396
13397 * electric.el (electric-pair-mode): Improve interaction with
13398 electric-layout-mode.
13399 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
13400 (electric-pair-syntax): Use text-mode-syntax-table in comments
13401 and strings.
13402 (electric-pair--insert): New function.
13403 (electric-pair-post-self-insert-function): Use it and
13404 electric--after-char-pos.
13405
13406 2013-06-19 Leo Liu <sdl.web@gmail.com>
13407
13408 * progmodes/octave.el (octave-help): Fix regexp.
13409
13410 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13411
13412 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
13413 (shr-table-horizontal-line): Allow nil as a value, and change the
13414 default.
13415 (shr-insert-table-ruler): Respect the nil value.
13416
13417 2013-06-18 Tom Tromey <tromey@barimba>
13418
13419 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13420 New defvars.
13421 (eww-open-file): New defun.
13422 (eww-render): Initialize new variables.
13423 (eww-display-html): Handle "link" and "a".
13424 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
13425 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
13426 (eww-back-url): Rename from eww-previous-url.
13427 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13428 New defuns.
13429
13430 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
13431
13432 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
13433 Distinguish ternary operator tokens from slash symbol and slash
13434 char literal.
13435
13436 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13437
13438 Convert symbol prettification into minor mode and global minor mode.
13439
13440 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
13441 `prog-prettify-symbols', and make a local defvar instead of defcustom.
13442 (prettify-symbols--keywords): Rename from
13443 `prog-prettify-symbols-alist' and make a local defvar.
13444 (prettify-symbols--compose-symbol): Rename from
13445 `prog--prettify-font-lock-compose-symbol'.
13446 (prettify-symbols--make-keywords): Rename from
13447 `prog-prettify-font-lock-symbols-keywords' and simplify.
13448 (prog-prettify-install): Remove.
13449 (prettify-symbols-mode): New minor mode, based on
13450 `prog-prettify-install'.
13451 (turn-on-prettify-symbols-mode): New function.
13452 (global-prettify-symbols-mode): New globalized minor mode.
13453
13454 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13455 * progmodes/cfengine.el (cfengine3-mode):
13456 * progmodes/perl-mode.el (perl-mode): Don't call
13457 `prog-prettify-install'; set `prettify-symbols-alist' instead.
13458
13459 2013-06-18 Juri Linkov <juri@jurta.org>
13460
13461 * files-x.el (modify-file-local-variable-message): New function.
13462 (modify-file-local-variable)
13463 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
13464 and call `modify-file-local-variable-message' when it's non-nil.
13465 (add-file-local-variable, delete-file-local-variable)
13466 (add-file-local-variable-prop-line)
13467 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
13468 and use it. (Bug#9820)
13469
13470 2013-06-18 Juri Linkov <juri@jurta.org>
13471
13472 * emulation/vi.el (vi-shell-op):
13473 * emulation/vip.el (vip-execute-com, ex-command):
13474 * emulation/viper-cmd.el (viper-exec-bang):
13475 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
13476 the call of `shell-command-on-region'. (Bug#14637)
13477
13478 * simple.el (shell-command-on-region): Doc fix.
13479
13480 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13481
13482 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
13483 (bug#14633).
13484
13485 2013-06-18 Glenn Morris <rgm@gnu.org>
13486
13487 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
13488
13489 * newcomment.el (comment-search-forward, comment-search-backward):
13490 Doc fix. (Bug#14376)
13491
13492 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13493
13494 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
13495 (buffer-face-mode-invoke): Doc fix.
13496
13497 2013-06-18 Matthias Meulien <orontee@gmail.com>
13498
13499 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
13500 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
13501
13502 2013-06-18 Glenn Morris <rgm@gnu.org>
13503
13504 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
13505 Replace obsolete function generic-make-keywords with its expansion.
13506
13507 * progmodes/python.el (ffap-alist): Declare.
13508
13509 * textmodes/reftex.el (bibtex-mode-map): Declare.
13510
13511 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13512
13513 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
13514 (package-unpack, package-unpack-single): Return the pkg-dir.
13515 (package-download-transaction): Use it to update package-alist.
13516
13517 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13518
13519 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
13520 possible choice.
13521
13522 2013-06-17 Juri Linkov <juri@jurta.org>
13523
13524 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
13525
13526 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13527
13528 * emacs-lisp/package.el (package-load-descriptor):
13529 Remove `with-syntax-table' call, `read' doesn't need it.
13530 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
13531
13532 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13533
13534 * startup.el (command-line): Expand package name returned by
13535 `package--description-file' (bug#14639).
13536
13537 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13538
13539 * emacs-lisp/package.el (package-load-descriptor): Do not call
13540 `emacs-lisp-mode', just use its syntax table.
13541
13542 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13543
13544 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
13545 `font-lock-extra-managed-props' if any prettifying keyword is added.
13546 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
13547 (prog-mode): Use `setq-local'.
13548
13549 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13550
13551 * international/characters.el (standard-case-table): Set syntax of ?»
13552 and ?« to punctuation.
13553
13554 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
13555
13556 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13557 Save relevant match data before calling `syntax-ppss' (bug#14595).
13558
13559 2013-06-15 Juri Linkov <juri@jurta.org>
13560
13561 * files-x.el (modify-file-local-variable-prop-line): Add local
13562 variables to the end of the existing comment on the first line.
13563 Use `file-auto-mode-skip' to skip interpreter magic line,
13564 and also skip XML declaration.
13565
13566 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13567
13568 * startup.el (package--builtin-versions): New var.
13569 (package-subdirectory-regexp): Remove.
13570 (package--description-file): Hard code its value instead.
13571
13572 * emacs-lisp/package.el: Don't activate packages older than builtin.
13573 (package-obsolete-list): Rename from package-obsolete-alist, and make
13574 it into a simple list of package-desc.
13575 (package-strip-version): Remove.
13576 (package-built-in-p): Use package--builtin-versions.
13577 (package-mark-obsolete): Simplify.
13578 (package-process-define-package): Mark it obsolete if older than the
13579 builtin version.
13580 (package-handle-response): Use line-end-position.
13581 (package-read-archive-contents, package--download-one-archive):
13582 Simplify.
13583 (package--add-to-archive-contents): Skip if older than the builtin or
13584 installed version.
13585 (package-menu-describe-package): Fix last change.
13586 (package-list-unversioned): New var.
13587 (package-menu--generate): Use it.
13588
13589 * emacs-lisp/autoload.el: Manage package--builtin-versions.
13590 (autoload--insert-text, autoload--insert-cookie-text): New functions.
13591 (autoload-builtin-package-versions): New variable.
13592 (autoload-generate-file-autoloads): Use them.
13593 Remove the list of autoloaded functions/macros from the
13594 (autoload...) comments.
13595
13596 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13597
13598 2013-06-15 Eli Zaretskii <eliz@gnu.org>
13599
13600 * simple.el (line-move-partial): Don't jump to the next screen
13601 line as soon as it becomes visible. Instead, continue enlarging
13602 the vscroll until the portion of a tall screen line that's left on
13603 display is about the height of the frame's default font.
13604 (Bug#14567)
13605
13606 2013-06-15 Glenn Morris <rgm@gnu.org>
13607
13608 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13609 compilation-error-regexp-alist void, or local while let-bound.
13610
13611 * progmodes/make-mode.el (makefile-mode-syntax-table):
13612 Treat "=" as punctuation. (Bug#14614)
13613
13614 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
13615
13616 * help-fns.el (describe-variable):
13617 Add extra line for permanent-local variables.
13618
13619 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
13620
13621 * progmodes/scheme.el (scheme-font-lock-keywords-2):
13622 Add export, import, library. (Bug#9164)
13623 (library): Set indent function.
13624
13625 2013-06-14 Glenn Morris <rgm@gnu.org>
13626
13627 * term/xterm.el (xterm--query):
13628 Stop after first matching handler. (Bug#14615)
13629
13630 2013-06-14 Ivan Kanis <ivan@kanis.fr>
13631
13632 Add support for dired in saveplace.
13633 * dired.el (dired-initial-position-hook): New variable.
13634 (dired-initial-position): Call hook to place cursor position.
13635 * saveplace.el (save-place-to-alist): Add dired position.
13636 (save-place-dired-hook): New function.
13637
13638 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
13639
13640 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13641 through a symbol rather than letrec.
13642
13643 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
13644 (package-desc): Add `dir' field.
13645 (package-desc-full-name): New function.
13646 (package-load-descriptor): Combine the two arguments. Don't use `load'.
13647 (package-maybe-load-descriptor): Remove.
13648 (package-load-all-descriptors): Just call package-load-descriptor.
13649 (package--disabled-p): New function.
13650 (package-desc-vers, package-desc-doc): Remove aliases.
13651 (package--dir): Remove function.
13652 (package-activate): Check if a package is disabled.
13653 (package-process-define-package): New function, extracted from
13654 define-package.
13655 (define-package): Turn into a place holder.
13656 (package-unpack-single, package-tar-file-info):
13657 Use package--description-file.
13658 (package-compute-transaction): Use package--disabled-p.
13659 (package-download-transaction): Don't call
13660 package-maybe-load-descriptor since they're all loaded anyway.
13661 (package-install): Change argument to be a pkg-desc.
13662 (package-delete): Use a single pkg-desc argument.
13663 (describe-package-1): Use package-desc-dir instead of package--dir.
13664 Use package-desc property instead of package-symbol.
13665 (package-install-button-action): Adjust accordingly.
13666 (package--push): Rewrite.
13667 (package-menu--print-info): Adjust accordingly. Change the ID format
13668 to be a pkg-desc.
13669 (package-menu-describe-package, package-menu-get-status)
13670 (package-menu--find-upgrades, package-menu-mark-upgrades)
13671 (package-menu-execute, package-menu--name-predicate):
13672 Adjust accordingly.
13673 * startup.el (package--description-file): New function.
13674 (command-line): Use it.
13675 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13676 Use package-desc-version.
13677
13678 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13679 (byte-compile-preprocess): Use it.
13680 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13681 can't quite recognize.
13682 (byte-compile-add-to-list): Remove.
13683 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13684 (cconv-closure-convert): Add assertion.
13685
13686 * emacs-lisp/map-ynp.el: Use lexical-binding.
13687 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13688 Factor out some repeated code.
13689
13690 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13691
13692 * subr.el (with-eval-after-load): New macro.
13693 (eval-after-load): Allow form to be a function.
13694 take advantage of lexical-binding.
13695 (do-after-load-evaluation): Use dolist and adjust to new format.
13696 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13697
13698 2013-06-13 Juri Linkov <juri@jurta.org>
13699
13700 * replace.el (perform-replace): Display "symbol " and other search
13701 modes from `isearch-message-prefix' in the *Help* buffer.
13702
13703 * isearch.el (isearch-query-replace): Add " symbol" and other
13704 possible search modes from `isearch-message-prefix' to the prompt.
13705 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13706 when reading a regexp to collect.
13707
13708 2013-06-13 Juri Linkov <juri@jurta.org>
13709
13710 * isearch.el (word-search-regexp): Match whitespace if the search
13711 string begins or ends in whitespace. The LAX arg is applied to
13712 both ends of the search string. Use `regexp-quote' and explicit
13713 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13714 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13715 boundaries are replaced with symbol boundaries, and characters
13716 between symbols match non-word non-symbol syntax. (Bug#14602)
13717
13718 2013-06-13 Juri Linkov <juri@jurta.org>
13719
13720 * isearch.el (isearch-del-char): Don't exceed the length of
13721 `isearch-string' by the prefix arg. (Bug#14563)
13722
13723 2013-06-13 Juri Linkov <juri@jurta.org>
13724
13725 * isearch.el (isearch-yank-word, isearch-yank-line)
13726 (isearch-char-by-name, isearch-quote-char)
13727 (isearch-printing-char, isearch-process-search-char):
13728 Add optional count prefix arg. (Bug#14563)
13729
13730 * international/isearch-x.el
13731 (isearch-process-search-multibyte-characters):
13732 Add optional count prefix arg.
13733
13734 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13735
13736 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13737 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13738 lexical-binding.
13739
13740 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13741
13742 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13743
13744 2013-06-13 Glenn Morris <rgm@gnu.org>
13745
13746 * startup.el (tty-handle-args):
13747 Don't just discard "--" and anything after. (Bug#14608)
13748
13749 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13750
13751 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13752
13753 Implement changes in Secret Service API. Make it backward compatible.
13754 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13755 (secrets-create-item): Use it. Prefix properties with interface.
13756
13757 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13758
13759 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13760 (term-emulate-terminal): Respect term-suppress-hard-newline.
13761
13762 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13763
13764 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13765 Only remove a `thumb-file' overlay. (Bug#14548)
13766
13767 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13768
13769 * mail/reporter.el (reporter-submit-bug-report):
13770 Handle missing package-name. (Bug#14600)
13771
13772 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13773
13774 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13775 (reftex-citation-prompt, reftex-default-bibliography)
13776 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13777 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13778 (reftex-bib-sort-author, reftex-bib-sort-year)
13779 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13780 (reftex-extract-bib-entries-from-thebibliography)
13781 (reftex-get-bibkey-default, reftex-get-bib-names)
13782 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13783 (reftex-format-bib-entry, reftex-parse-bibitem)
13784 (reftex-format-bibitem, reftex-do-citation)
13785 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13786 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13787 (reftex-insert-bib-matches, reftex-format-citation)
13788 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13789 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13790 existing comments into docstrings.
13791
13792 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13793
13794 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13795
13796 2013-06-12 Andreas Schwab <schwab@suse.de>
13797
13798 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13799 for auto-save files.
13800
13801 2013-06-12 Glenn Morris <rgm@gnu.org>
13802
13803 * ido.el (ido-delete-ignored-files): Remove.
13804 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13805 Go back to calling ido-ignore-item-p directly.
13806
13807 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13808
13809 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13810
13811 * ido.el (ido-delete-ignored-files): New function,
13812 split from ido-make-file-list-1.
13813 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13814 (ido-make-file-list-1): Use ido-delete-ignored-files.
13815
13816 2013-06-12 Leo Liu <sdl.web@gmail.com>
13817
13818 * progmodes/octave.el (inferior-octave-startup)
13819 (inferior-octave-completion-table)
13820 (inferior-octave-track-window-width-change)
13821 (octave-eldoc-function-signatures, octave-help)
13822 (octave-find-definition): Use single quoted strings.
13823 (inferior-octave-startup-args): Change default value.
13824 (inferior-octave-startup): Do not hard code "-i" and
13825 "--no-line-editing".
13826 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13827 (inferior-octave-directory-tracker): Use it.
13828 (octave-goto-function-definition): Robustify.
13829 (octave-help): Support highlighting operators in 'See also'.
13830 (octave-find-definition): Find subfunctions only in Octave mode.
13831
13832 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13833
13834 * help-fns.el (help-fns--compiler-macro): If the handler function is
13835 named, then put a link to it.
13836 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13837 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13838 (cl-typep): Use it.
13839 (cl-eval-when): Simplify debug spec.
13840 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13841 compiler-macro function instead of setting `compiler-macro-file'.
13842
13843 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13844
13845 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13846 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13847
13848 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13849 Daniel Hackney <dan@haxney.org>
13850
13851 First part of Daniel Hackney's patch to package.el.
13852 * emacs-lisp/package.el: Use defstruct.
13853 (package-desc): New, main struct.
13854 (package--bi-desc, package--ac-desc): New structs, used to describe the
13855 format in external files.
13856 (package-desc-vers): Replace with package-desc-version accessor.
13857 (package-desc-doc): Replace with package-desc-summary accessor.
13858 (package-activate-1): Remove `package' arg since the pkg-vec now
13859 includes the name.
13860 (define-package): Use package-desc-from-define.
13861 (package-unpack-single): Change file-name arg to be a symbol.
13862 (package--add-to-archive-contents): Use package-desc-create and new
13863 accessor functions to package--ac-desc.
13864 (package-buffer-info, package-tar-file-info): Return a package-desc.
13865 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13866 arg to be a package-desc.
13867 (package-install-file): Adjust accordingly. Use \' to match EOS.
13868 (package--from-builtin): New function.
13869 (describe-package-1, package-menu--generate): Use it.
13870 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13871 (package-generate-autoloads): Idem and return the name of the file.
13872 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13873 Change pkg-info arg to be a package-desc.
13874 Use package-make-ac-desc.
13875 (package-upload-file): Use \' to match EOS.
13876 * finder.el (finder-compile-keywords): Use package-make-builtin.
13877
13878 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13879
13880 * vc/vc.el (vc-deduce-fileset): Change error message.
13881 (vc-read-backend): New function.
13882 (vc-next-action): Use it.
13883
13884 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13885
13886 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13887 (prolog-font-lock-keywords): Use regexp-opt instead.
13888 Don't manually highlight strings.
13889 (prolog-mode-variables): Simplify comment-start-skip.
13890 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13891
13892 * emacs-lisp/generic.el (generic--normalise-comments)
13893 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13894 (generic-mode-set-comments): Use them.
13895 (generic-bracket-support): Use setq-local.
13896 (generic-make-keywords-list): Declare obsolete.
13897
13898 2013-06-11 Glenn Morris <rgm@gnu.org>
13899
13900 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13901 Prettify after setting font-lock-defaults. (Bug#14574)
13902
13903 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13904
13905 * replace.el (query-replace, occur-read-regexp-defaults-function)
13906 (replace-search):
13907 * subr.el (declare-function, number-sequence, local-set-key)
13908 (substitute-key-definition, locate-user-emacs-file)
13909 (with-silent-modifications, split-string, eval-after-load):
13910 Fix typos, remove unneeded backslashes and reflow some docstrings.
13911
13912 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13913
13914 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13915 default for Elisp files.
13916
13917 2013-06-11 Glenn Morris <rgm@gnu.org>
13918
13919 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13920 although define-derived-mode was doing this anyway. (Bug#14583)
13921
13922 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13923
13924 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13925 Fix make-variable-buffer-local call to refer to the correct variable.
13926
13927 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13928
13929 * eshell/em-term.el (eshell-visual-commands)
13930 (eshell-visual-subcommands, eshell-visual-options):
13931 Add summary line to docstrings. Add cross-references.
13932
13933 2013-06-10 Glenn Morris <rgm@gnu.org>
13934
13935 * epa.el (epa-read-file-name): New function. (Bug#14510)
13936 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13937
13938 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13939
13940 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13941 output redirection to be ignored with visual commands.
13942
13943 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13944
13945 * eshell/em-term.el (eshell-visual-command-p): New function.
13946 (eshell-term-initialize): Move long lambda to separate function
13947 eshell-visual-command-p.
13948 * eshell/em-dirs.el (eshell-dirs-initialize):
13949 * eshell/em-script.el (eshell-script-initialize):
13950 Add missing #' to lambda.
13951
13952 2013-06-08 Leo Liu <sdl.web@gmail.com>
13953
13954 * progmodes/octave.el (octave-add-log-current-defun): New function.
13955 (octave-mode): Set add-log-current-defun-function.
13956 (octave-goto-function-definition): Do not move point if not found.
13957 (octave-find-definition): Enhance to try subfunctions first.
13958
13959 2013-06-08 Glenn Morris <rgm@gnu.org>
13960
13961 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13962 (byte-compile-backward-char, byte-compile-backward-word):
13963 Improve previous change, to handle non-explicit nil.
13964
13965 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13966
13967 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13968 (smie--opener/closer-at-point): New function.
13969 (smie--matching-block-data): Use it. Don't match from right after an
13970 opener or right before a closer. Obey smie-blink-matching-inners.
13971 Don't signal a mismatch for repeated inners like "switch..case..case".
13972
13973 2013-06-07 Leo Liu <sdl.web@gmail.com>
13974
13975 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13976 to t. (Bug#14303)
13977 (octave-function-header-regexp): Fix. (Bug#14570)
13978 (octave-help-mode-finish-hook, octave-help-mode-finish):
13979 Remove. Just use temp-buffer-show-hook.
13980
13981 * newcomment.el (comment-search-backward): Revert last change.
13982 (Bug#14434)
13983
13984 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13985
13986 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13987
13988 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13989 through xargs, to avoid failure due to MS-Windows limitations on
13990 command-line length.
13991
13992 2013-06-06 Glenn Morris <rgm@gnu.org>
13993
13994 * font-lock.el (lisp-font-lock-keywords-2):
13995 Treat user-error like error.
13996
13997 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13998 (byte-compile-backward-char, byte-compile-backward-word):
13999 Handle explicit nil arguments. (Bug#14565)
14000
14001 2013-06-05 Alan Mackenzie <acm@muc.de>
14002
14003 * isearch.el (isearch-allow-prefix): New user option.
14004 (isearch-other-meta-char): Don't exit isearch when a prefix
14005 argument is typed whilst `isearch-allow-prefix' is non-nil.
14006 (Bug#9706)
14007
14008 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14009
14010 * autorevert.el (auto-revert-notify-handler): Use memq.
14011 Hide assertion failure.
14012
14013 * skeleton.el: Use cl-lib.
14014 (skeleton-further-elements): Use defvar-local.
14015 (skeleton-insert): Use cl-progv.
14016
14017 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
14018
14019 * progmodes/prog-mode.el (prog-prettify-symbols)
14020 (prog-prettify-install): Update docstrings.
14021
14022 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14023
14024 * simple.el: Move all the prog-mode code to prog-mode.el.
14025 * progmodes/prog-mode.el: New file.
14026 * loadup.el: Add prog-mode.el.
14027
14028 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
14029
14030 * simple.el (prog-prettify-symbols): Add version.
14031 (prog-prettify-install): Add convenience function to prettify symbols.
14032
14033 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
14034 (perl--augmented-font-lock-keywords-1)
14035 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
14036 variables and use it.
14037
14038 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
14039 (cfengine3-mode): Remove unneeded variable and use it.
14040
14041 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
14042 (lisp--augmented-font-lock-keywords-1)
14043 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
14044 Remove unneeded variables and use it.
14045
14046 2013-06-05 João Távora <joaotavora@gmail.com>
14047
14048 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
14049 to point when opening the connection. (Bug#14380)
14050
14051 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14052
14053 * subr.el (load-history-regexp, load-history-filename-element)
14054 (eval-after-load, after-load-functions, do-after-load-evaluation)
14055 (eval-next-after-load, display-delayed-warnings)
14056 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
14057 definition of save-match-data.
14058 (overriding-local-map): Remove accidental obsolescence declaration.
14059
14060 * emacs-lisp/edebug.el (edebug-result): Move before first use.
14061
14062 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
14063
14064 Generalize symbol prettify support to prog-mode and implement it
14065 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
14066 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
14067 (prog--prettify-font-lock-compose-symbol)
14068 (prog-prettify-font-lock-symbols-keywords): New variables and
14069 functions to support symbol prettification.
14070 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
14071 (lisp--augmented-font-lock-keywords-1)
14072 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
14073 (lisp--prettify-symbols-alist): Implement prettify of lambda.
14074 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
14075 (cfengine3--prettify-symbols-alist, cfengine3-mode):
14076 Implement prettify of -> => :: strings.
14077 * progmodes/perl-mode.el (perl-prettify-symbols)
14078 (perl--font-lock-compose-symbol)
14079 (perl--font-lock-symbols-keywords): Move to prog-mode.
14080 (perl--prettify-symbols-alist): Prettify -> => :: strings.
14081 (perl-font-lock-keywords-1)
14082 (perl-font-lock-keywords-2): Remove explicit prettify support.
14083 (perl--augmented-font-lock-keywords)
14084 (perl--augmented-font-lock-keywords-1)
14085 (perl--augmented-font-lock-keywords-2, perl-mode):
14086 Implement prettify support.
14087
14088 2013-06-05 Leo Liu <sdl.web@gmail.com>
14089
14090 Re-implement SMIE matching block highlight using
14091 show-paren-data-function. (Bug#14395)
14092 * emacs-lisp/smie.el (smie-matching-block-highlight)
14093 (smie--highlight-matching-block-overlay)
14094 (smie--highlight-matching-block-lastpos)
14095 (smie-highlight-matching-block)
14096 (smie-highlight-matching-block-mode): Remove.
14097 (smie--matching-block-data-cache): New variable.
14098 (smie--matching-block-data): New function.
14099 (smie-setup): Use smie--matching-block-data for
14100 show-paren-data-function.
14101
14102 * progmodes/octave.el (octave-mode-menu): Fix.
14103 (octave-find-definition): Skip garbage lines.
14104
14105 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14106
14107 Fix compilation error with simultaneous dynamic+lexical scoping.
14108 Add warning when a defvar appears after the first let-binding.
14109 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
14110 (byte-compile-close-variables): Initialize it.
14111 (byte-compile--declare-var): New function.
14112 (byte-compile-file-form-defvar)
14113 (byte-compile-file-form-define-abbrev-table)
14114 (byte-compile-file-form-custom-declare-variable): Use it.
14115 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
14116 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
14117 (byte-compile-bind): Handle dynamic bindings that shadow
14118 lexical bindings.
14119 (byte-compile-unbind): Make arg non-optional.
14120 (byte-compile-let): Simplify.
14121 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
14122 (cconv--analyse-function, cconv-analyse-form): Populate it.
14123 Protect byte-compile-bound-variables to limit the scope of defvars.
14124 (cconv-analyse-form): Add missing rule for (defvar <foo>).
14125 Remove unneeded rule for `declare'.
14126
14127 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
14128 so as to avoid depending on cl-adjoin at run-time.
14129 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
14130
14131 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
14132 (macroexp--warn-and-return): Use it.
14133
14134 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14135
14136 * subr.el: Convert to lexical binding.
14137 (overriding-local-map): Make obsolete.
14138 (add-to-list): Doc fix. Add compiler macro.
14139 (read-key): Swap values of local maps.
14140
14141 2013-06-05 Leo Liu <sdl.web@gmail.com>
14142
14143 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
14144
14145 2013-06-04 Leo Liu <sdl.web@gmail.com>
14146
14147 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
14148 (compilation-auto-jump): Suppress the "Mark set" message to give
14149 way to exit message.
14150
14151 2013-06-04 Alan Mackenzie <acm@muc.de>
14152
14153 Remove faulty optimisation from indentation calculation.
14154 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
14155 search limit based on 2000 characters back from indent-point.
14156
14157 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14158
14159 * eshell/em-term.el (cl-lib): Require `cl-lib'.
14160
14161 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
14162
14163 * emacs-lisp/lisp.el: Use lexical-binding.
14164 (lisp--local-variables-1, lisp--local-variables): New functions.
14165 (lisp--local-variables-completion-table): New var.
14166 (lisp-completion-at-point): Use it complete let-bound vars.
14167
14168 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
14169 eagerly (bug#14422).
14170
14171 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
14172
14173 * autorevert.el (auto-revert-notify-enabled)
14174 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
14175 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
14176 (auto-revert-notify-handler): Handle also gfilenotify.
14177
14178 * subr.el (file-notify-handle-event): New defun. Replacing ...
14179 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
14180 Remove.
14181
14182 2013-06-03 Juri Linkov <juri@jurta.org>
14183
14184 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
14185 `M-s h .'. (Bug#14427)
14186
14187 * hi-lock.el (highlight-symbol-at-point): New alias for the new
14188 command `hi-lock-face-symbol-at-point'.
14189 (hi-lock-face-symbol-at-point): New command.
14190 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
14191 (hi-lock-menu): Add `highlight-symbol-at-point'.
14192 (hi-lock-mode): Doc fix.
14193
14194 * isearch.el (isearch-forward-symbol-at-point): New command.
14195 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
14196 (isearch-highlight-regexp): Add a regexp which matches
14197 words/symbols for word/symbol mode.
14198
14199 * subr.el (find-tag-default-bounds): New function with the body
14200 mostly moved from `find-tag-default'.
14201 (find-tag-default): Move most code to `find-tag-default-bounds',
14202 call it and apply `buffer-substring-no-properties' afterwards.
14203
14204 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14205
14206 * eshell/em-term.el (eshell-term-initialize):
14207 Use `cl-intersection' rather than `intersection'.
14208
14209 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
14210
14211 * vc/log-view.el: Doc fix.
14212 (log-view-mode-map): Copy keymap from `special-mode-map'.
14213
14214 2013-06-02 Eric Ludlam <zappo@gnu.org>
14215
14216 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
14217 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
14218 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
14219 (eieio-unbound, eieio-default-superclass)
14220 (eieio--define-field-accessors, method-static, method-before)
14221 (method-primary, method-after, method-num-lists)
14222 (method-generic-before, method-generic-primary)
14223 (method-generic-after, method-num-slots)
14224 (eieio-specialized-key-to-generic-key)
14225 (eieio--check-type, class-v, class-p)
14226 (eieio-class-name, define-obsolete-function-alias)
14227 (eieio-class-parents-fast, eieio-class-children-fast)
14228 (same-class-fast-p, class-constructor, generic-p)
14229 (generic-primary-only-p, generic-primary-only-one-p)
14230 (class-option-assoc, class-option, eieio-object-p)
14231 (class-abstract-p, class-method-invocation-order)
14232 (eieio-defclass-autoload-map, eieio-defclass-autoload)
14233 (eieio-class-un-autoload, eieio-defclass)
14234 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
14235 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
14236 (eieio--defgeneric-init-form, eieio-defgeneric-form)
14237 (eieio-defgeneric-reset-generic-form)
14238 (eieio-defgeneric-form-primary-only)
14239 (eieio-defgeneric-reset-generic-form-primary-only)
14240 (eieio-defgeneric-form-primary-only-one)
14241 (eieio-defgeneric-reset-generic-form-primary-only-one)
14242 (eieio-unbind-method-implementations)
14243 (eieio--defmethod, eieio--typep)
14244 (eieio-perform-slot-validation, eieio-validate-slot-value)
14245 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
14246 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
14247 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
14248 (eieio-slot-name-index, eieio-class-slot-name-index)
14249 (eieio-set-defaults, eieio-initarg-to-attribute)
14250 (eieio-attribute-to-initarg, eieio-c3-candidate)
14251 (eieio-c3-merge-lists, eieio-class-precedence-c3)
14252 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
14253 (eieio-class-precedence-list, eieio-generic-call-methodname)
14254 (eieio-generic-call-arglst, eieio-generic-call-key)
14255 (eieio-generic-call-next-method-list)
14256 (eieio-pre-method-execution-functions, eieio-generic-call)
14257 (eieio-generic-call-primary-only, eieiomt-method-list)
14258 (eieiomt-optimizing-obarray, eieiomt-install)
14259 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
14260 (eieio-generic-form, eieio-defmethod, make-obsolete)
14261 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
14262 (defclass): Remove `eval-and-compile' from macro.
14263 (call-next-method, shared-initialize): Instead of using
14264 `scoped-class' variable, use new eieio--scoped-class, and
14265 eieio--with-scoped-class.
14266 (initialize-instance): Rename local variable 'scoped-class' to
14267 'this-class' to remove ambiguitity from old global.
14268
14269 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
14270 eieio.el.
14271 (eieio--scoped-class-stack): New variable.
14272 (eieio--scoped-class): New fcn.
14273 (eieio--with-scoped-class): New scoping macro.
14274 (eieio-defclass): Use pushnew instead of add-to-list.
14275 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
14276 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
14277 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
14278 `scoped-class' variable, use new eieio--scoped-class, and
14279 eieio--with-scoped-class.
14280
14281 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
14282
14283 2013-06-02 Tassilo Horn <tsdh@gnu.org>
14284
14285 * eshell/esh-ext.el (eshell-external-command): Pass args to
14286 `eshell-find-interpreter'.
14287 (eshell-find-interpreter): Add new second parameter ARGS.
14288
14289 * eshell/em-script.el (eshell-script-initialize): Add second arg
14290 to the function added as MATCH to `eshell-interpreter-alist'.
14291
14292 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
14293 the function added as MATCH to `eshell-interpreter-alist'.
14294
14295 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
14296 (eshell-visual-options): New defcustom.
14297 (eshell-escape-control-x): Adapt docstring.
14298 (eshell-term-initialize): Test `eshell-visual-subcommands' and
14299 `eshell-visual-options' in addition to `eshell-visual-commands'.
14300 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
14301
14302 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
14303
14304 * progmodes/python.el (python-indent-block-enders): Add break,
14305 continue and raise keywords.
14306
14307 2013-06-01 Glenn Morris <rgm@gnu.org>
14308
14309 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
14310
14311 Plain (f)boundp silences compilation warnings since Emacs 22.1.
14312 * progmodes/cc-cmds.el (delete-forward-p):
14313 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
14314 * progmodes/cc-engine.el (buffer-syntactic-context):
14315 * progmodes/cc-fonts.el (face-property-instance):
14316 * progmodes/cc-mode.el (set-keymap-parents):
14317 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
14318 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
14319 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
14320 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
14321 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
14322
14323 * progmodes/cc-vars.el (other): Emacs has this widget since
14324 at least 21.1, so don't (re)define it.
14325
14326 * eshell/em-cmpl.el (eshell-cmpl-initialize):
14327 Replace the obsolete alias pcomplete-arg-quote-list.
14328
14329 2013-06-01 Leo Liu <sdl.web@gmail.com>
14330
14331 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
14332 punctuation syntax.
14333 (inferior-octave-minimal-columns)
14334 (inferior-octave-last-column-width): New variables.
14335 (inferior-octave-track-window-width-change): New function.
14336 (inferior-octave-mode): Adjust column width so that Octave output,
14337 for example from 'ls', can fit into the window nicely.
14338
14339 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14340
14341 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14342 Highlight expansions inside regexp literals.
14343
14344 2013-05-31 Glenn Morris <rgm@gnu.org>
14345
14346 * obsolete/sym-comp.el (symbol-complete):
14347 Replace obsolete completion-annotate-function.
14348
14349 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
14350
14351 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14352
14353 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14354 New function, checks if point is inside a literal that allows
14355 expression expansion.
14356 (ruby-syntax-propertize-expansion): Use it.
14357 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
14358 around the body.
14359
14360 2013-05-30 Juri Linkov <juri@jurta.org>
14361
14362 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
14363 to "\M-si".
14364 (isearch-invisible): New variable.
14365 (isearch-forward): Doc fix.
14366 (isearch-mode): Set `isearch-invisible'
14367 to the value of `search-invisible'.
14368 (isearch-toggle-case-fold): Doc fix.
14369 (isearch-toggle-invisible): New command.
14370 (isearch-query-replace): Let-bind `search-invisible'
14371 to the value of `isearch-invisible'.
14372 (isearch-search): Use `isearch-invisible' instead of
14373 `search-invisible'. Let-bind `search-invisible'
14374 to the value of `isearch-invisible'. (Bug#11378)
14375
14376 2013-05-30 Juri Linkov <juri@jurta.org>
14377
14378 * replace.el (perform-replace): Avoid `isearch-range-invisible'
14379 call when `query-flag' is nil and `search-invisible' is non-nil.
14380 (Bug#11746)
14381
14382 2013-05-30 Glenn Morris <rgm@gnu.org>
14383
14384 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
14385
14386 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
14387 (cc-require): Suppress spurious "noruntime" warnings.
14388 (cc-require-when-compile): Use fboundp, for sake of compiler.
14389
14390 * progmodes/cc-mode.el: Move load of cc-vars before that of
14391 cc-langs (which in turn loads cc-vars), to quieten compiler.
14392
14393 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14394
14395 * paren.el: Simplify the code.
14396 (show-paren-mode): Always start the timer.
14397 (show-paren--idle-timer): Rename from show-paren-idle-timer.
14398 (show-paren--overlay, show-paren--overlay-1): Rename from
14399 show-paren-overlay and show-paren-overlay-1, and initialize to an
14400 overlay rather than to nil.
14401 (show-paren-function): Misc cleanup and simplifications.
14402
14403 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14404
14405 * paren.el (show-paren-data-function): New hook.
14406 (show-paren--default): New function, extracted from show-paren-function.
14407 (show-paren-function): Use show-paren-data-function.
14408
14409 2013-05-30 Glenn Morris <rgm@gnu.org>
14410
14411 * ielm.el (ielm-map, ielm-complete-symbol):
14412 Use completion-at-point rather than obsolete functions.
14413 (inferior-emacs-lisp-mode): Doc fix.
14414 Set completion-at-point-functions, rather than
14415 comint-dynamic-complete-functions.
14416
14417 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
14418 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
14419 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
14420
14421 * image.el (image-animated-p): Tweak definition.
14422
14423 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
14424 (rlogin-process-connection-type): Tweak default. Add set-after.
14425 (rlogin-host): Doc fix.
14426 (rlogin): Tweak prompt.
14427 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
14428
14429 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
14430 * progmodes/tcl.el (inferior-tcl-mode-map):
14431 Use completion-at-point rather than obsolete alias.
14432
14433 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
14434
14435 * minibuffer.el (read-file-name-completion-ignore-case):
14436 Move before completion--in-region, for eager macro expansion.
14437
14438 2013-05-29 Juri Linkov <juri@jurta.org>
14439
14440 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
14441 for total count of matching lines. Add `global-matches' for total
14442 count of matches. Rename `matches' to `lines' for count of
14443 matching lines. Add `matches' for count of matches.
14444 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
14445 to `prev-line' for line number of prev match endpt.
14446 Increment `matches' for every match. Print the number of
14447 matching lines in the header.
14448 (occur-context-lines): Rename `lines' to `curr-line'.
14449 Rename `prev-lines' to `prev-line'. (Bug#14017)
14450
14451 2013-05-29 Juri Linkov <juri@jurta.org>
14452
14453 * replace.el (perform-replace): Add `skip-read-only-count',
14454 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
14455 Increment them for corresponding conditions and report the number
14456 of skipped occurrences in the final message. (Bug#11746)
14457 (query-replace, query-replace-regexp, query-replace-regexp-eval)
14458 (replace-string, replace-regexp): Doc fix.
14459
14460 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14461
14462 * emacs-lisp/trace.el (trace--read-args): Provide a default.
14463
14464 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
14465 prog-mode-map (bug#14504).
14466
14467 2013-05-29 Leo Liu <sdl.web@gmail.com>
14468
14469 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
14470 (octave-help): Small simplification.
14471
14472 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
14473 off the highlight first.
14474
14475 2013-05-29 Glenn Morris <rgm@gnu.org>
14476
14477 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
14478 Handle idlwave-last-system-routine-info-cons-cell being nil.
14479
14480 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14481 (idlwave-write-paths): Simplify via with-temp-buffer.
14482
14483 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
14484 * emulation/cua-rect.el: Also load cua-base at run time.
14485
14486 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
14487 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
14488 (cperl-imenu-on-info): Require imenu.
14489
14490 2013-05-28 Alan Mackenzie <acm@muc.de>
14491
14492 Handle "capitalised keywords" correctly.
14493 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
14494
14495 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
14496
14497 * eshell/em-unix.el: Add -r option to cp.
14498
14499 2013-05-28 Glenn Morris <rgm@gnu.org>
14500
14501 * vc/vc-arch.el (vc-exec-after): Declare.
14502 (vc-switches): Autoload.
14503 * vc/vc-bzr.el: No need to require vc when compiling.
14504 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
14505 (vc-resynch-buffer, vc-dir-refresh): Declare.
14506 (vc-setup-buffer, vc-switches): Autoload.
14507 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
14508 (vc-resynch-buffer): Declare.
14509 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
14510 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
14511 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
14512 (grep-read-regexp, grep-read-files, grep-expand-template)
14513 (vc-dir-refresh): Declare.
14514 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
14515 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
14516 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
14517 * vc/vc-mtn.el (vc-exec-after): Declare.
14518 (vc-switches): Autoload.
14519 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
14520 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
14521 (vc-file-tree-walk): Declare.
14522 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
14523 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
14524 (vc-tag-precondition, vc-rename-master): Autoload.
14525 * vc/vc-svn.el (vc-exec-after): Declare.
14526 (vc-switches, vc-setup-buffer): Autoload.
14527 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
14528 Autoload.
14529 (vc-resynch-buffer): Declare.
14530
14531 * obsolete/fast-lock.el (byte-compile-warnings):
14532 Don't warn about obsolete features in this obsolete file.
14533
14534 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
14535 Move definition before use.
14536
14537 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
14538 (dun-unix-verbs): Remove dun-zippy.
14539 (dun-zippy): Remove function.
14540
14541 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
14542
14543 2013-05-27 Juri Linkov <juri@jurta.org>
14544
14545 * replace.el (replace-search): New function with code moved out
14546 from `perform-replace'.
14547 (replace-highlight, replace-dehighlight): Move function definitions
14548 up closer to `replace-search'. (Bug#11746)
14549
14550 2013-05-27 Juri Linkov <juri@jurta.org>
14551
14552 * replace.el (perform-replace): Ignore invisible matches.
14553 In addition to checking `query-replace-skip-read-only', also
14554 filter out matches by calling `run-hook-with-args-until-failure'
14555 on `isearch-filter-predicates', and also check `search-invisible'
14556 for t or call `isearch-range-invisible'.
14557 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
14558
14559 2013-05-27 Juri Linkov <juri@jurta.org>
14560
14561 * isearch.el (isearch-filter-predicates): Rename from
14562 `isearch-filter-predicate'. Doc fix. (Bug#11378)
14563 (isearch-message-prefix): Display text from the property
14564 `isearch-message-prefix' of the currently active filters.
14565 (isearch-search): Don't compare `isearch-filter-predicate' with
14566 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
14567 on `isearch-filter-predicates'. Also check `search-invisible' for t
14568 or call `isearch-range-invisible'.
14569 (isearch-filter-visible): Make obsolete.
14570 (isearch-lazy-highlight-search):
14571 Call `run-hook-with-args-until-failure' on
14572 `isearch-filter-predicates' and use `isearch-range-invisible'.
14573
14574 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14575 `isearch-filter-predicates' instead of `funcall'ing
14576 `isearch-filter-predicate'.
14577 (Info-mode): Set `Info-isearch-filter' to
14578 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14579
14580 * dired-aux.el (dired-isearch-filter-predicate-orig):
14581 Remove variable.
14582 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14583 (dired-isearch-filenames-end): Add and remove
14584 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14585 instead of changing the value of `isearch-filter-predicate'.
14586 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14587 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14588 Put property `isearch-message-prefix' to "filename " on
14589 `dired-isearch-filter-filenames'.
14590
14591 * wdired.el (wdired-change-to-wdired-mode):
14592 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14593 locally instead of changing `isearch-filter-predicate'.
14594 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14595
14596 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
14597
14598 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14599 return the commit hash (Bug#14459). Also set the
14600 `vc-git-detached' property.
14601 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14602 (vc-git-mode-line-string): Use the same help-echo format whether
14603 in detached mode or not, because we know the actual revision now.
14604 When in detached mode, shorten the revision to 7 chars.
14605
14606 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14607
14608 * emacs-lisp/easy-mmode.el (define-minor-mode):
14609 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14610 mode hook and provide a docstring.
14611
14612 2013-05-27 Alan Mackenzie <acm@muc.de>
14613
14614 Remove spurious syntax-table text properties inserted by C-y.
14615 * progmodes/cc-mode.el (c-after-change): Also clear hard
14616 syntax-table property with value nil.
14617
14618 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
14619
14620 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14621 when reading the events; the buffer layout shall not be changed.
14622
14623 2013-05-27 Leo Liu <sdl.web@gmail.com>
14624
14625 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14626 New variable.
14627 (inferior-octave-directory-tracker): Automatically re-sync
14628 default-directory.
14629 (octave-help): Improve handling of 'See also'.
14630
14631 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14632
14633 * doc-view.el: Minor naming convention tweaks.
14634 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14635
14636 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14637 even if there's no `display' property yet (bug#14435).
14638
14639 2013-05-25 Eli Zaretskii <eliz@gnu.org>
14640
14641 * subr.el (unmsys--file-name): Rename from reveal-filename.
14642
14643 * Makefile.in (custom-deps, finder-data, autoloads)
14644 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14645 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14646 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14647
14648 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14649
14650 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14651 error-completion on the first 2 args of condition-case (bug#14446).
14652 Don't burp at EOB.
14653
14654 2013-05-25 Leo Liu <sdl.web@gmail.com>
14655
14656 * comint.el (comint-previous-matching-input): Do not flood the
14657 *Messages* buffer with trivial messages.
14658
14659 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14660
14661 * progmodes/flymake.el (flymake-nop): Don't return a string.
14662 (flymake-set-at): Fix typo.
14663
14664 * simple.el (read--expression): New function, extracted from
14665 eval-expression. Set completion-at-point-functions (bug#14465).
14666 (eval-expression, eval-minibuffer): Use it.
14667
14668 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
14669
14670 * progmodes/flymake.el (flymake-save-buffer-in-file)
14671 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14672 (flymake-selected-frame, flymake-log, flymake-ins-after)
14673 (flymake-set-at, flymake-get-buildfile-from-cache)
14674 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14675 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14676 Refine the doc string.
14677 (flymake-get-file-name-mode-and-masks): Reformat.
14678 (flymake-get-real-file-name-function): Fix a minor bug.
14679
14680 2013-05-24 Juri Linkov <juri@jurta.org>
14681
14682 * progmodes/grep.el (grep-mode-font-lock-keywords):
14683 Support =linenumber= format used by git-grep for lines with
14684 function names. (Bug#13549)
14685
14686 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14687
14688 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14689 0 after a semi-colon; it works better for smie-auto-fill.
14690 (octave--indent-new-comment-line): New function.
14691 (octave-indent-new-comment-line): Use it (indirectly).
14692 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14693 modify comment-line-break-function.
14694
14695 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14696 (smie-setup): Use add-function to set it.
14697
14698 2013-05-24 Sam Steingold <sds@gnu.org>
14699
14700 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14701 argument (before the `interactive' argument).
14702
14703 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14704
14705 * image-mode.el (image-mode-winprops): Add winprops to
14706 image-mode-winprops-alist before running
14707 image-mode-new-window-functions.
14708 * doc-view.el (doc-view-new-window-function): Don't delay
14709 doc-view-goto-page via timers (bug#14435).
14710
14711 2013-05-24 Tassilo Horn <tsdh@gnu.org>
14712
14713 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14714 (doc-view-desktop-save-buffer): New function.
14715 (doc-view-restore-desktop-buffer): New function.
14716 (desktop-buffer-mode-handlers):
14717 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14718 handler.
14719 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14720 `desktop-save-buffer' function.
14721
14722 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
14723
14724 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14725 (tramp-gvfs-file-name-handler): Raise a user error when
14726 `tramp-gvfs-enabled' is nil.
14727 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14728 Do not raise a user error when loading package. (Bug#14447)
14729
14730 * net/xesam.el: Move to obsolete/.
14731
14732 2013-05-24 Glenn Morris <rgm@gnu.org>
14733
14734 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14735
14736 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14737
14738 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14739 (Info-find-node, Man-getpage-in-background): Declare.
14740
14741 * mail/unrmail.el (unrmail):
14742 Replace obsolete detect-coding-with-priority.
14743
14744 * net/socks.el (socks-split-string): Use this rather than split-string.
14745 (socks-nslookup-host): Update for above change.
14746 (dynamic-choice, s5-dynamic-choice-match)
14747 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14748 Comment out unused code.
14749
14750 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14751 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14752 (gud-tooltip-echo-area): Make obsolete.
14753 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14754
14755 * progmodes/js.el (js--optimize-arglist): Declare.
14756
14757 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14758
14759 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14760 (ediff-window-C): Declare.
14761
14762 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14763 Tweak requires to silence compiler.
14764
14765 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14766 (he-search-string, he-tried-table, he-expand-list)
14767 (he-init-string, he-string-member, he-substitute-string)
14768 (he-reset-string): Declare.
14769
14770 * obsolete/options.el (list-options): Use custom-variable-p,
14771 rather than obsolete alias.
14772
14773 2013-05-23 Sam Steingold <sds@gnu.org>
14774
14775 * simple.el (shell-command-on-region): Pass the `replace' argument
14776 down to `call-process-region' to comply with the doc as reported on
14777 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14778
14779 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14780
14781 * emacs-lisp/smie.el (smie-indent-forward-token)
14782 (smie-indent-backward-token): Handle string tokens (bug#14381).
14783
14784 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14785
14786 * ielm.el (ielm-menu): New menu.
14787 (inferior-emacs-lisp-mode): Set comment-start.
14788
14789 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14790
14791 * textmodes/reftex.el (reftex-ref-style-toggle):
14792 Fix deactivate action.
14793
14794 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14795 Add cleveref macros.
14796
14797 * textmodes/reftex-parse.el
14798 (reftex-locate-bibliography-files): Accept options for
14799 bibliography commands.
14800 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14801 Add addbibresource. Basic Biblatex support.
14802
14803 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14804
14805 * net/tramp-gvfs.el (top):
14806 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14807 when loading package. (Bug#14447)
14808
14809 2013-05-23 Glenn Morris <rgm@gnu.org>
14810
14811 * progmodes/js.el: No need to load comint when compiling.
14812 (ring-insert, comint-send-string, comint-send-input)
14813 (comint-last-input-end, ido-chop): Declare.
14814
14815 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14816 * vc/ediff-mult.el: Adjust requires.
14817 (ediff-directories-internal, ediff-directory-revisions-internal)
14818 (ediff-patch-file-internal): Declare.
14819 * vc/ediff-ptch.el: Adjust requires.
14820 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14821 (ediff-find-file): Autoload.
14822 * vc/ediff-util.el: No need to load ediff when compiling.
14823 (ediff-regions-internal): Declare.
14824 * vc/ediff-wind.el: Adjust requires.
14825 (ediff-compute-toolbar-width): Define when compiling.
14826 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14827 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14828 (dired-get-filename, dired-get-marked-files)
14829 (ediff-last-dir-patch, ediff-patch-default-directory)
14830 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14831 (ediff-patch-buffer-internal): Declare.
14832
14833 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14834 (ispell-process, ispell-buffer-local-words, lm-summary)
14835 (lm-section-start, lm-section-end): Declare.
14836 (checkdoc-ispell-init): Simplify.
14837
14838 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14839 (he-string-member, he-reset-string, he-substitute-string): Declare.
14840
14841 * eshell/em-ls.el: Adjust requires.
14842 (eshell-glob-regexp): Declare.
14843 * eshell/em-tramp.el: Adjust requires.
14844 (eshell-parse-command): Autoload.
14845 * eshell/em-xtra.el: Adjust requires.
14846 (eshell-parse-command): Autoload.
14847 * eshell/esh-ext.el: Adjust requires.
14848 (eshell-parse-command, eshell-close-handles): Autoload.
14849 * eshell/esh-io.el: Adjust requires.
14850 (eshell-output-filter): Autoload.
14851 * eshell/esh-util.el: No need to load tramp when compiling.
14852 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14853 Declare.
14854 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14855 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14856 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14857 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14858 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14859 * eshell/esh-opt.el, eshell/esh-proc.el:
14860 * eshell/esh-var.el: Adjust requires.
14861 * eshell/eshell.el: Do not require esh-util twice.
14862 (eshell-add-input-to-history): Declare.
14863 (eshell-command): Check history module is active before using it.
14864
14865 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14866
14867 2013-05-22 Leo Liu <sdl.web@gmail.com>
14868
14869 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14870
14871 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14872
14873 * autorevert.el (auto-revert-notify-add-watch)
14874 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14875 it indicates changes in file modification time.
14876
14877 2013-05-22 Glenn Morris <rgm@gnu.org>
14878
14879 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14880 Always delete the autoloaded function from the noruntime and
14881 unresolved functions lists.
14882
14883 * allout.el: No need to load epa, epg, overlay when compiling.
14884 (epg-context-set-passphrase-callback, epg-list-keys)
14885 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14886 (epg-key-user-id-list): Declare.
14887
14888 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14889 (viper-set-parsing-style-toggling-macro)
14890 (viper-set-emacs-state-searchstyle-macros):
14891 Use called-interactively-p on Emacs.
14892 (viper-looking-back): Make it an obsolete alias. Update callers.
14893 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14894 Use looking-back rather than viper-looking-back.
14895 (viper-tmp-insert-at-eob, viper-enlarge-region)
14896 (viper-read-string-with-history, viper-register-to-point)
14897 (viper-append-to-register, viper-change-state-to-vi)
14898 (viper-backward-char-carefully, viper-forward-char-carefully)
14899 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14900 (viper-change-state-to-emacs): Declare.
14901 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14902 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14903 * emulation/viper-mous.el: Do not load viper-cmd.
14904 (viper-backward-char-carefully, viper-forward-char-carefully)
14905 (viper-forward-word, viper-adjust-window): Declare.
14906
14907 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14908
14909 * progmodes/idlw-help.el (idlwave-help-fontify):
14910 Use called-interactively-p.
14911
14912 * term/w32console.el (w32-get-console-codepage)
14913 (w32-get-console-output-codepage): Declare.
14914
14915 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14916 Remove unnecessary declarations.
14917 (dframe-message): Doc fix.
14918
14919 * info.el (dframe-select-attached-frame, dframe-current-frame):
14920 Declare.
14921
14922 * speedbar.el (speedbar-message): Make it an obsolete alias.
14923 Update all callers.
14924 (speedbar-with-attached-buffer)
14925 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14926 (speedbar-with-writable): Use backquote.
14927 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14928 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14929 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14930 rather than speedbar- aliases.
14931 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14932 (speedbar-make-specialized-keymap, speedbar-insert-button)
14933 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14934 (speedbar-do-function-pointer): Declare.
14935 (rmail-speedbar-button, rmail-speedbar-find-file)
14936 (rmail-speedbar-move-message):
14937 Use dframe-with-attached-buffer rather than speedbar- alias.
14938 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14939 (dframe-message, speedbar-make-specialized-keymap)
14940 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14941 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14942 (speedbar-insert-button, dframe-select-attached-frame)
14943 (dframe-maybee-jump-to-attached-frame)
14944 (speedbar-change-initial-expansion-list)
14945 (speedbar-previously-used-expansion-list-name): Declare.
14946 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14947 Use dframe-message, dframe-with-attached-buffer rather than
14948 speedbar- aliases.
14949 (gud-sentinel): Silence compiler.
14950 * progmodes/vhdl-mode.el (speedbar-refresh)
14951 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14952 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14953 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14954 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14955 (speedbar-file-lists, speedbar-make-tag-line)
14956 (speedbar-line-directory, speedbar-goto-this-file)
14957 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14958 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14959 (speedbar-make-button, speedbar-reset-scanners)
14960 (speedbar-files-item-info, speedbar-line-text)
14961 (speedbar-find-file-in-frame, speedbar-set-timer)
14962 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14963 (speedbar-with-writable): Do not (re)define it.
14964 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14965 rather than speedbar- alias.
14966
14967 2013-05-21 Leo Liu <sdl.web@gmail.com>
14968
14969 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14970 menu items.
14971 (octave-mode): Tweak fill-nobreak-predicate.
14972 (inferior-octave-startup): Check process to avoid infinite loop.
14973 (inferior-octave): Pop to buffer first to show abornmal process
14974 exit information.
14975
14976 2013-05-21 Glenn Morris <rgm@gnu.org>
14977
14978 * printing.el (pr-menu-bar): Define when compiling.
14979
14980 2013-05-21 Leo Liu <sdl.web@gmail.com>
14981
14982 * progmodes/octave.el (octave-auto-fill): Remove.
14983 (octave-indent-new-comment-line): Improve.
14984 (octave-mode): Use auto fill mode through
14985 comment-line-break-function and fill-nobreak-predicate.
14986 (octave-goto-function-definition): Support DEFUN_DLD.
14987 (octave-beginning-of-defun): Small tweak.
14988 (octave-help): Show parent directory.
14989
14990 2013-05-21 Glenn Morris <rgm@gnu.org>
14991
14992 * files.el (dired-unmark):
14993 * progmodes/gud.el (gdb-input): Update declarations.
14994
14995 * calculator.el (electric, ehelp): No need to load when compiling.
14996 (Electric-command-loop, electric-describe-mode): Declare.
14997
14998 * doc-view.el (doc-view-current-converter-processes): Move before use.
14999
15000 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15001 Move MODE-set-explicitly definition before use.
15002
15003 * international/mule-diag.el (mule-diag):
15004 Don't use obsolete window-system-version.
15005
15006 * mail/feedmail.el (smtpmail): No need to load when compiling.
15007 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
15008
15009 * mail/mail-utils.el (rfc822): No need to load when compiling.
15010 (rfc822-addresses): Autoload it.
15011 (mail-strip-quoted-names): Trivial simplification.
15012
15013 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
15014 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
15015
15016 * net/snmp-mode.el (tempo): Don't duplicate requires.
15017
15018 * progmodes/prolog.el (info): No need to load when compiling.
15019 (comint): Require before shell requires it.
15020 (Info-goto-node): Autoload it.
15021 (Info-follow-nearest-node): Declare.
15022 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
15023
15024 * textmodes/artist.el (picture-mode-exit): Declare.
15025
15026 * textmodes/reftex-parse.el (reftex-parse-from-file):
15027 Trivial rewrite so the compiler can parse it better.
15028
15029 2013-05-20 Leo Liu <sdl.web@gmail.com>
15030
15031 * progmodes/octave.el (octave-help-mode-map)
15032 (octave-help-mode-finish-hook): New variables.
15033 (octave-help-mode, octave-help-mode-finish): New functions.
15034 (octave-help): Use octave-help-mode.
15035
15036 2013-05-20 Glenn Morris <rgm@gnu.org>
15037
15038 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
15039
15040 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
15041
15042 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
15043 start at point, so that expansion starting right after opening
15044 slash in a regexp is recognized.
15045 (ruby-syntax-before-regexp-re): New defvar, extracted from
15046 ruby-syntax-propertize-function. Since the value of this regexp
15047 is looked up at runtime now, we should be able to turn
15048 `ruby-syntax-methods-before-regexp' into a defcustom later.
15049 (ruby-syntax-propertize-function): Split regexp matching into two
15050 parts, for opening and closing slashes. That allows us to skip
15051 over string interpolations and support multiline regexps.
15052 Don't call `ruby-syntax-propertize-expansions', instead use another rule
15053 for them, which calls `ruby-syntax-propertize-expansion'.
15054 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
15055 call to `ruby-syntax-propertize-function'.
15056 (ruby-syntax-propertize-expansion): Extracted from
15057 `ruby-syntax-propertize-expansions'. Handles one expansion.
15058 (ruby-syntax-propertize-percent-literal): Leave point right after
15059 the percent symbol, so that the expression expansion rule can
15060 propertize the contents.
15061 (ruby-syntax-propertize-heredoc): Leave point at bol following the
15062 heredoc openers.
15063 (ruby-syntax-propertize-expansions): Remove.
15064
15065 2013-05-18 Juri Linkov <juri@jurta.org>
15066
15067 * man.el (Man-default-man-entry): Remove `-' from the end
15068 of the default value. (Bug#14400)
15069
15070 2013-05-18 Glenn Morris <rgm@gnu.org>
15071
15072 * comint.el (comint-password-prompt-regexp):
15073 Allow "password for XXX" where XXX contains colons (eg https://...).
15074
15075 2013-05-18 Leo Liu <sdl.web@gmail.com>
15076
15077 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
15078 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
15079 (octave-source-directories): Don't check process.
15080 (octave-source-directories, octave-find-definition): Doc fix.
15081
15082 2013-05-18 Glenn Morris <rgm@gnu.org>
15083
15084 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
15085 Remove backspace/delete bindings. (Bug#14392)
15086
15087 * cus-dep.el (custom-make-dependencies): Sort the output.
15088 (custom-versions-load-alist): Convert comment to doc.
15089
15090 2013-05-17 Leo Liu <sdl.web@gmail.com>
15091
15092 * newcomment.el (comment-search-backward): Stricter in finding
15093 comment start. (Bug#14303)
15094
15095 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
15096 (octave-comment-start-skip): Properly anchored.
15097
15098 2013-05-17 Leo Liu <sdl.web@gmail.com>
15099
15100 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
15101 Clean up when turned off. (Bug#14395)
15102 (smie--highlight-matching-block-overlay): No longer buffer-local.
15103 (smie-highlight-matching-block): Adjust.
15104
15105 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
15106
15107 Doc string fix for "nanoseconds" (Bug#14406).
15108 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
15109 Fix doc string typo that had "nanoseconds" instead of "microseconds".
15110
15111 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
15112
15113 * calc/calc-units.el (math-extract-units): Preserve powers
15114 of units.
15115
15116 2013-05-17 Leo Liu <sdl.web@gmail.com>
15117
15118 * subr.el (delete-consecutive-dups): New function.
15119 * ido.el (ido-set-matches-1): Use it.
15120 * progmodes/octave.el (inferior-octave-completion-table): Use it.
15121 * ido.el (ido-remove-consecutive-dups): Remove.
15122
15123 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
15124
15125 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15126 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
15127 regexp-opt's `words'.
15128
15129 2013-05-16 Leo Liu <sdl.web@gmail.com>
15130
15131 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
15132 (smie--highlight-matching-block-overlay)
15133 (smie--highlight-matching-block-lastpos)
15134 (smie--highlight-matching-block-timer): New variables.
15135 (smie-highlight-matching-block): New function.
15136 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
15137 (smie-setup): Conditionally enable smie-blink-matching-open.
15138
15139 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
15140
15141 Sync with upstream verilog-mode r840.
15142 * progmodes/verilog-mode.el (verilog-mode-version)
15143 (verilog-mode-release-date): Update.
15144 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
15145 (verilog-sig-tieoff): Fix string error on
15146 AUTORESET with colon define, bug594. Reported by Andrew Hou.
15147 (verilog-read-decls): Fix parameters confusing
15148 AUTOINST interfaces, bug565. Reported by Leith Johnson.
15149
15150 2013-05-16 Eli Zaretskii <eliz@gnu.org>
15151
15152 * subr.el (reveal-filename): New function.
15153
15154 * loadup.el: Compute Emacs executable versions on MS-Windows,
15155 where executables have the .exe extension. Add a hard link
15156 emacs-XX.YY.ZZ.exe on MS-Windows.
15157
15158 * Makefile.in (XARGS_LIMIT): New variable.
15159 (custom-deps, finder-data, autoloads)
15160 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
15161 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
15162 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
15163 (compile-main): Limit xargs according to $(XARGS_LIMIT).
15164
15165 2013-05-16 Leo Liu <sdl.web@gmail.com>
15166
15167 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
15168 (octave-mode-menu, octave-mode-map): Remove its uses.
15169
15170 2013-05-16 Reto Zimmermann <reto@gnu.org>
15171
15172 Sync with upstream vhdl mode v3.34.2.
15173 * progmodes/vhdl-mode.el: Use `push' throughout.
15174 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
15175 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
15176 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
15177 (vhdl-actual-generic-name): New option to derive actual generic name.
15178 (vhdl-port-paste-signals): Replace formal by actual generics.
15179 (vhdl-beautify): New name for old group vhdl-align. Update users.
15180 (vhdl-beautify-options): New option.
15181 (vhdl-last-input-event): New compat alias. Use throughout.
15182 (vhdl-goto-line): Replace user level function `goto-line'.
15183 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
15184 vhdl-fix-statement-buffer.
15185 (vhdl-create-mode-menu): Add some entries.
15186 (vhdl-align-region-groups): Respect vhdl-beautify-options.
15187 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
15188 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
15189 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
15190 to force statements on one line.
15191 (vhdl-remove-trailing-spaces-region):
15192 New, split from vhdl-remove-trailing-spaces.
15193 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
15194 Respect vhdl-beautify-options.
15195 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
15196 (vhdl-update-sensitivity-list): Not add with index if exists without.
15197 Not include array index with signal. Ignore keywords in comments.
15198 (vhdl-get-visible-signals): Regexp tweaks.
15199 (vhdl-template-component-inst): Handle empty library.
15200 (vhdl-template-type): Add template for 'enum' type.
15201 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
15202 Use vhdl-replace-string.
15203 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
15204 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
15205 (vhdl-speedbar-initialize): Update for above name change.
15206 (vhdl-compose-wire-components): Fix in handling of constants.
15207 (vhdl-error-regexp-emacs-alist): New variable.
15208 (vhdl-error-regexp-add-emacs): New function;
15209 adds support for new compile.el (Emacs 22+)
15210 (vhdl-generate-makefile-1): Change target order for single lib. units.
15211 Allow use of absolute file names.
15212
15213 2013-05-16 Leo Liu <sdl.web@gmail.com>
15214
15215 * simple.el (prog-indent-sexp): Indent enclosing defun.
15216
15217 2013-05-15 Glenn Morris <rgm@gnu.org>
15218
15219 * cus-start.el (show-trailing-whitespace): Move to editing basics.
15220 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
15221 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
15222 (whitespace-highlight): Move to whitespace group.
15223
15224 * comint.el (comint-source):
15225 * pcmpl-linux.el (pcmpl-linux):
15226 * shell.el (shell-faces):
15227 * eshell/esh-opt.el (eshell-opt):
15228 * international/ccl.el (ccl): Remove empty custom groups.
15229
15230 * completion.el (dynamic-completion-mode):
15231 * jit-lock.el (jit-lock-debug-mode):
15232 * minibuffer.el (completion-in-region-mode):
15233 * type-break.el (type-break-mode-line-message-mode)
15234 (type-break-query-mode):
15235 * emulation/tpu-edt.el (tpu-edt-mode):
15236 * progmodes/subword.el (global-subword-mode, global-superword-mode):
15237 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15238 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
15239
15240 * term/xterm.el (xterm): Change parent group to terminals.
15241
15242 * master.el (master): Remove empty custom group.
15243 (master-mode): Remove unused :group argument.
15244 * textmodes/refill.el (refill): Remove empty custom group.
15245 (refill-mode): Remove unused :group argument.
15246
15247 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
15248
15249 * cus-dep.el: Provide a feature.
15250 (custom-make-dependencies): Ignore dotfiles (dir-locals).
15251 Don't mistakenly ignore files whose basenames match a basename
15252 from preloaded-file-list (eg cedet/ede/simple.el).
15253 Add a fallback method for getting :group.
15254
15255 2013-05-15 Juri Linkov <juri@jurta.org>
15256
15257 * isearch.el (isearch-char-by-name): Rename from
15258 `isearch-insert-char-by-name'. Doc fix.
15259 (isearch-forward): Mention `isearch-char-by-name' in
15260 the docstring. (Bug#13348)
15261
15262 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
15263 `exit-minibuffer' instead of
15264 `isearch-nonincremental-exit-minibuffer'.
15265 (isearch-edit-string): Remove mention of
15266 `isearch-nonincremental-exit-minibuffer' from docstring.
15267 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
15268 (isearch-forward-exit-minibuffer)
15269 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
15270
15271 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15272
15273 * loadup.el: Just use unversioned DOC.
15274
15275 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
15276 literals as extending to EOB.
15277 (nxml-last-fontify-end): Remove unused variable.
15278 (nxml-after-change1): Use with-silent-modifications.
15279 (nxml-extend-after-change-region): Simplify.
15280 (nxml-extend-after-change-region1): Remove function.
15281 (nxml-after-change1): Don't adjust for dependent regions.
15282 (nxml-fontify-matcher): Simplify.
15283 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
15284 (xmltok-add-dependent): Remove function.
15285 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
15286 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
15287 (xmltok-scan-prolog-after-processing-instruction-open): Treat
15288 unclosed <[[, <?, comment, and other literals as extending to EOB.
15289 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
15290 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
15291 Remove functions.
15292 (rng-do-some-validation-1): Don't mark dependent regions.
15293 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
15294 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
15295 (nxml-clear-dependent-regions): Remove functions.
15296 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
15297 (nxml-ensure-scan-up-to-date):
15298 Don't clear&mark dependent regions.
15299
15300 2013-05-15 Leo Liu <sdl.web@gmail.com>
15301
15302 * progmodes/octave.el (octave-goto-function-definition):
15303 Improve and fix callers.
15304
15305 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15306
15307 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
15308 the setter (bug#14387).
15309
15310 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
15311 surrounding group (bug#14402).
15312
15313 2013-05-14 Juri Linkov <juri@jurta.org>
15314
15315 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
15316 (Bug#14390)
15317
15318 2013-05-14 Glenn Morris <rgm@gnu.org>
15319
15320 * progmodes/f90.el (f90-imenu-generic-expression):
15321 Fix typo in 2013-05-08 change. (Bug#14402)
15322
15323 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15324
15325 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
15326 Remove signals for which replies are never received.
15327
15328 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15329
15330 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
15331 (gdb-handler-alist, gdb-handler-number): Remove variables.
15332 (gdb-handler-list): New variable.
15333 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
15334 (gdb-pending-handler-p, gdb-handle-reply)
15335 (gdb-remove-all-pending-triggers): New functions.
15336 (gdb-discard-unordered-replies): New defcustom.
15337 (gdb-handler): New defstruct.
15338 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
15339 instead of gdb-pending-triggers. Update docstring.
15340 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
15341 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
15342 (gdb-var-update-handler, def-gdb-auto-update-trigger)
15343 (def-gdb-auto-update-handler, gdb-get-changed-registers)
15344 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
15345 (gdb-frame-handler): Pending triggers are now automatically managed.
15346 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
15347 Remove argument.
15348 (gdb-input): Automatically handles pending triggers. Update docstring.
15349 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
15350 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
15351 Update comments.
15352 (gdb-done-or-error): Now use gdb-handle-reply.
15353
15354 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15355
15356 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
15357 gdb-debug-log.
15358
15359 2013-05-14 Glenn Morris <rgm@gnu.org>
15360
15361 * subr.el (user-emacs-directory-warning): New option.
15362 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
15363
15364 2013-05-14 Leo Liu <sdl.web@gmail.com>
15365
15366 * progmodes/octave.el (octave-font-lock-keywords): Fix error
15367 during redisplay.
15368 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
15369 (octave-font-lock-texinfo-comment): Fix invalid search bound
15370 error: wrong side of point.
15371
15372 2013-05-14 Glenn Morris <rgm@gnu.org>
15373
15374 * progmodes/flymake.el (flymake-xml-program): New option.
15375 (flymake-xml-init): Use it.
15376
15377 * term/xterm.el: Provide a feature.
15378
15379 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
15380
15381 2013-05-13 Glenn Morris <rgm@gnu.org>
15382
15383 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
15384 Add compat aliases as a hack workaround. (Bug#14384)
15385
15386 2013-05-13 Leo Liu <sdl.web@gmail.com>
15387
15388 * progmodes/octave.el (octave-indent-comment): Fix indentation for
15389 ###, and %!.
15390 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
15391 C-M-q.
15392 (octave-comment-start-skip): Include %!.
15393 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
15394
15395 2013-05-12 Leo Liu <sdl.web@gmail.com>
15396
15397 * progmodes/octave.el (inferior-octave-startup): Store the value
15398 of __octave_srcdir__ for octave-source-directories.
15399 (inferior-octave-check-process): New function refactored out of
15400 inferior-octave-send-list-and-digest.
15401 (octave-source-directories)
15402 (octave-find-definition-filename-function): New variables.
15403 (octave-source-directories)
15404 (octave-find-definition-default-filename): New functions.
15405 (octave-find-definition): Improve to find functions implemented in C++.
15406
15407 2013-05-12 Glenn Morris <rgm@gnu.org>
15408
15409 * calendar/diary-lib.el (diary-outlook-format-1):
15410 Don't include dayname in the output. (Bug#14349)
15411
15412 2013-05-11 Glenn Morris <rgm@gnu.org>
15413
15414 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
15415
15416 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
15417 Treat cc-provide like provide.
15418
15419 2013-05-11 Kevin Ryde <user42@zip.com.au>
15420
15421 * cus-dep.el (custom-make-dependencies):
15422 Use generated-autoload-load-name for the sake of files such
15423 such cedet/semantic/bovine/c.el, where the base file name
15424 is not in load-path. (Bug#5277)
15425
15426 2013-05-11 Glenn Morris <rgm@gnu.org>
15427
15428 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
15429 Provide features.
15430
15431 2013-05-11 Leo Liu <sdl.web@gmail.com>
15432
15433 * progmodes/octave.el (octave-indent-comment): Improve.
15434 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
15435 (octave-eldoc-function-signatures, octave-eldoc-function):
15436 New functions.
15437 (octave-mode, inferior-octave-mode): Add eldoc support.
15438
15439 2013-05-11 Richard Stallman <rms@gnu.org>
15440
15441 * epa.el (epa-decrypt-file): Take output file name as argument
15442 and read it using `interactive'.
15443
15444 2013-05-11 Leo Liu <sdl.web@gmail.com>
15445
15446 * progmodes/octave.el (octave-beginning-of-line)
15447 (octave-end-of-line): Check before using up-list because it jumps
15448 out of more syntactic contructs since moving to smie.
15449 (octave-indent-comment): New function.
15450 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
15451 (octave-begin-keywords, octave-end-keywords)
15452 (octave-reserved-words, octave-smie-bnf-table)
15453 (octave-smie-rules): Add new keywords from Octave 3.6.4.
15454
15455 2013-05-11 Glenn Morris <rgm@gnu.org>
15456
15457 * faces.el (internal-face-x-get-resource):
15458 * frame.el (ns-display-monitor-attributes-list):
15459 * calc/calc-aent.el (math-to-radians-2):
15460 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
15461 Fix declarations.
15462
15463 * calc/calc-menu.el: Make it loadable in isolation.
15464
15465 * net/eudcb-bbdb.el: Make it loadable without bbdb.
15466 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
15467 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
15468 (eudc-bbdb-query-internal): Require 'bbdb.
15469
15470 * lpr.el (lpr-headers-switches):
15471 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
15472
15473 * progmodes/sql.el (sql-login-params): Fix and improve :type.
15474
15475 * emulation/edt-mapper.el: In batch mode, error rather than hang.
15476
15477 * term.el (term-set-escape-char): Make it idempotent.
15478
15479 2013-05-10 Leo Liu <sdl.web@gmail.com>
15480
15481 * progmodes/octave.el (inferior-octave-completion-table):
15482 No longer a function and all uses changed. Use cache to speed up
15483 completion due to bug#11906.
15484 (octave-beginning-of-defun): Re-write to be more general.
15485
15486 2013-05-10 Glenn Morris <rgm@gnu.org>
15487
15488 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
15489
15490 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
15491
15492 * comint.el (comint-redirect-send-command-to-process): Use :around
15493 rather than :override for comint-redirect-filter.
15494 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
15495 Call it instead of comint-redirect-original-filter-function (which
15496 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
15497
15498 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
15499
15500 * frame.el (display-monitor-attributes-list): Add NS case.
15501 (ns-display-monitor-attributes-list): Declare.
15502
15503 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
15504
15505 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
15506
15507 2013-05-09 Glenn Morris <rgm@gnu.org>
15508
15509 * international/fontset.el (vertical-centering-font-regexp):
15510 Set standard-value.
15511
15512 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
15513
15514 * bookmark.el (bookmark-search-delay):
15515 * cus-start.el (vertical-centering-font-regexp):
15516 * ps-mule.el (ps-mule-font-info-database-default):
15517 * ps-print.el (ps-default-fg, ps-default-bg):
15518 * type-break.el (type-break-good-break-interval):
15519 * whitespace.el (whitespace-indentation-regexp)
15520 (whitespace-space-after-tab-regexp):
15521 * emacs-lisp/testcover.el (testcover-1value-functions)
15522 (testcover-noreturn-functions, testcover-progn-functions)
15523 (testcover-prog1-functions):
15524 * emulation/viper-init.el (viper-emacs-state-cursor-color):
15525 * eshell/em-glob.el (eshell-glob-translate-alist):
15526 * play/tetris.el (tetris-tty-colors):
15527 * progmodes/cpp.el (cpp-face-default-list):
15528 * progmodes/flymake.el (flymake-allowed-file-name-masks):
15529 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
15530 (idlwave-help-browser-generic-args):
15531 * progmodes/make-mode.el (makefile-special-targets-list):
15532 * progmodes/python.el (python-shell-virtualenv-path):
15533 * progmodes/verilog-mode.el (verilog-active-low-regexp)
15534 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
15535 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
15536 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
15537 * textmodes/reftex-vars.el (reftex-format-label-function):
15538 * textmodes/remember.el (remember-diary-file): Fix custom types.
15539
15540 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
15541 Add :version.
15542
15543 2013-05-09 Leo Liu <sdl.web@gmail.com>
15544
15545 * progmodes/octave.el (inferior-octave-completion-at-point):
15546 Restore file completion. (Bug#14300)
15547 (inferior-octave-startup): Fix incorrect highlighting for the
15548 first prompt.
15549
15550 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15551
15552 * progmodes/ruby-mode.el: First cut at SMIE support.
15553 (ruby-use-smie): New var.
15554 (ruby-smie-grammar): New constant.
15555 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15556 (ruby-smie--forward-token, ruby-smie--backward-token)
15557 (ruby-smie-rules): New functions.
15558 (ruby-mode-variables): Setup SMIE if applicable.
15559
15560 2013-05-08 Eli Zaretskii <eliz@gnu.org>
15561
15562 * simple.el (line-move-visual): Signal beginning/end of buffer
15563 only if vertical-motion moved less than it was requested. Avoids
15564 silly incorrect error messages when there are display strings with
15565 multiple newlines at EOL.
15566
15567 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15568
15569 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15570 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15571 (prolog-char-quote-workaround):
15572 * progmodes/cperl-mode.el (cperl-under-as-char):
15573 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15574 Mark as obsolete.
15575 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15576 their declaration.
15577 (vhdl-mode-syntax-table-init): Remove.
15578
15579 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15580 last change.
15581
15582 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15583 syntax for "_".
15584 (ld-script-font-lock-keywords):
15585 Change regexps to use things like \_< and \_>.
15586
15587 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15588 Change all regexps to use things like \_< and \_>.
15589
15590 * progmodes/autoconf.el (autoconf-definition-regexp)
15591 (autoconf-font-lock-keywords, autoconf-current-defun-function):
15592 Handle a _ with symbol syntax.
15593 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15594
15595 * progmodes/ada-mode.el (ada-mode-abbrev-table):
15596 Consolidate declaration.
15597 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15598 the declaration.
15599 (ada-create-syntax-table): Remove.
15600 (ada-capitalize-word): Don't mess with the syntax of "_" since it
15601 already has the right syntax nowadays.
15602 (ada-goto-next-word): Don't change the syntax of "_".
15603
15604 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15605 with-wrapper-hook.
15606
15607 2013-05-08 Sam Steingold <sds@gnu.org>
15608
15609 * thingatpt.el (thing-at-point): Accept optional second argument
15610 NO-PROPERTIES to strip the text properties from the return value.
15611 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15612 to `thing-at-point' instead of stripping the properties ourselves.
15613 Also, when `thing-at-point' fails to find a url, prepend "http://"
15614 to the filename at point on the assumption that the user is
15615 pointing at something like gnu.org/gnu.
15616
15617 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
15618
15619 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15620 * faces.el (crm-separator):
15621 Silence byte-compiler.
15622
15623 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15624 (tool-bar-map): Remove unneeded defvars.
15625
15626 2013-05-08 Leo Liu <sdl.web@gmail.com>
15627
15628 Re-work a fix for bug#10994 based on Le Wang's patch.
15629 * ido.el (ido-remove-consecutive-dups): New helper.
15630 (ido-completing-read): Use it.
15631 (ido-chop): Revert fix for bug#10994.
15632
15633 2013-05-08 Adam Spiers <emacs@adamspiers.org>
15634
15635 * cus-edit.el (custom-save-variables):
15636 Pretty-print long values. (Bug#14187)
15637
15638 2013-05-08 Glenn Morris <rgm@gnu.org>
15639
15640 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15641 (m4-mode-syntax-table): Init in the defvar.
15642 (m4-mode-abbrev-table): Let define-derived-mode define it.
15643
15644 2013-05-08 Tom Tromey <tromey@redhat.com>
15645
15646 * progmodes/m4-mode.el (m4-mode-syntax-table):
15647 Do not treat "_" as word constituent. (Bug#14167)
15648
15649 2013-05-07 Glenn Morris <rgm@gnu.org>
15650
15651 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15652 Remove explicit eshell-isearch-cancel-map.
15653
15654 * progmodes/f90.el (f90-smart-end-names): New option.
15655 (f90-smart-end): Doc fix.
15656 (f90-end-block-optional-name): New constant.
15657 (f90-block-match): Respect f90-smart-end-names.
15658
15659 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15660
15661 * progmodes/octave.el (octave-smie-forward-token): Be more careful
15662 about implicit semi-colons (bug#14218).
15663
15664 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15665
15666 * frame.el (display-monitor-attributes-list)
15667 (frame-monitor-attributes): New functions.
15668
15669 2013-05-06 Leo Liu <sdl.web@gmail.com>
15670
15671 * progmodes/octave.el (octave-syntax-propertize-function): Change
15672 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15673 (octave-font-lock-keywords): Use octave-operator-regexp.
15674 (octave-completion-at-point): Rename from
15675 octave-completion-at-point-function.
15676 (inferior-octave-directory-tracker): Robustify.
15677 (octave-text-functions): Remove and fix its uses. No such things
15678 any more.
15679
15680 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15681
15682 * emacs-lisp/trace.el (trace--display-buffer): New function.
15683 (trace-make-advice): Use it.
15684
15685 2013-05-06 Juri Linkov <juri@jurta.org>
15686
15687 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15688 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15689 Doc fix.
15690 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15691 in the help string. (Bug#12985)
15692
15693 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15694
15695 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15696
15697 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15698
15699 * progmodes/perl-mode.el: Add support for here documents.
15700 (perl-syntax-propertize-function): Match here-doc markers.
15701 (perl-syntax-propertize-special-constructs): Find their end.
15702 (perl-imenu-generic-expression): Use [:alnum:].
15703
15704 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15705 (advice--add-function): Refresh the advice if already present
15706 (bug#14317).
15707
15708 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
15709
15710 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15711
15712 2013-05-06 Glenn Morris <rgm@gnu.org>
15713
15714 * w32-fns.el (w32-charset-info-alist): Declare.
15715
15716 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15717 of its defcustom properties.
15718 (eshell-cmpl-initialize): No need to load pcomplete.
15719
15720 * generic-x.el: No need to require comint when compiling.
15721
15722 * net/eudc-export.el: Make it loadable without bbdb.
15723 (top-level): Use require rather than load-library.
15724 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15725 (eudc-batch-export-records-to-bbdb)
15726 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15727 Require bbdb.
15728
15729 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15730
15731 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15732 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15733 some tweaks, instead.
15734
15735 2013-05-05 Leo Liu <sdl.web@gmail.com>
15736
15737 * progmodes/octave.el (octave-font-lock-keywords)
15738 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15739 (inferior-octave-send-list-and-digest): Improve error message.
15740 (octave-mode, inferior-octave-mode): Use setq-local.
15741 (octave-help): Set info-lookup-mode.
15742
15743 2013-05-05 Richard Stallman <rms@gnu.org>
15744
15745 * vc/compare-w.el (compare-windows-whitespace):
15746 Treat no-break space as whitespace.
15747
15748 * mail/rmailsum.el (rmail-summary-rmail-update):
15749 Detect empty summary and don't change selected message.
15750 (rmail-summary-goto-msg): Likewise.
15751
15752 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15753 Doc fixes, rename args.
15754
15755 2013-05-05 Alan Mackenzie <acm@muc.de>
15756
15757 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15758
15759 2013-05-05 Juri Linkov <juri@jurta.org>
15760
15761 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15762 to not add the length of the summary segment to the return value.
15763 (Bug#14125)
15764
15765 2013-05-05 Leo Liu <sdl.web@gmail.com>
15766
15767 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15768 (inferior-octave-output-filter): Remove.
15769 (octave-send-region, inferior-octave-startup): Fix callers.
15770 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15771 (octave-binary-file-extensions): New user variable.
15772 (octave-find-definition): Confirm if opening binary files.
15773 (octave-help-file): Use octave-find-definition to get the binary
15774 confirmation.
15775 (octave-help): Adjust for octave-help-file change.
15776
15777 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15778
15779 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15780 Merge the two entries that handle function definitions.
15781 (pascal--syntax-propertize): New const.
15782 (pascal-mode): Use it. Use setq-local.
15783
15784 2013-05-04 Glenn Morris <rgm@gnu.org>
15785
15786 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15787 (diary-from-outlook): Respect diary-from-outlook-function.
15788
15789 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15790
15791 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15792 Move the declaration from C.
15793 (read-minibuffer, eval-minibuffer): Move from C.
15794 (completion-setup-function): Avoid minibuffer-completion-contents.
15795
15796 2013-05-03 Leo Liu <sdl.web@gmail.com>
15797
15798 * progmodes/octave.el (octave-font-lock-keywords): Do not
15799 dehighlight 'end' in comments or strings.
15800 (octave-completing-read, octave-goto-function-definition):
15801 New helpers.
15802 (octave-help-buffer): New user variable.
15803 (octave-help-file, octave-help-function): New button types.
15804 (octave-help): New command and bind it to C-h ;.
15805 (octave-find-definition): New command and bind it to M-.
15806 (user-error): Alias to error if not defined.
15807
15808 2013-05-02 Leo Liu <sdl.web@gmail.com>
15809
15810 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15811 for \. (bug#14332)
15812 (octave-font-lock-keywords): Include [ and {.
15813
15814 2013-05-02 Leo Liu <sdl.web@gmail.com>
15815
15816 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15817 (inferior-octave): Remove calling comint-mode and return the buffer.
15818 (inferior-octave-startup): Cosmetic changes.
15819
15820 2013-05-02 Leo Liu <sdl.web@gmail.com>
15821
15822 * progmodes/octave.el (octave-syntax-propertize-function):
15823 Include the case when ' is at line beginning. (Bug#14336)
15824
15825 2013-05-02 Glenn Morris <rgm@gnu.org>
15826
15827 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15828 * desktop.el (vc-dir-mode): Just autoload it here.
15829
15830 2013-05-02 Alan Mackenzie <acm@muc.de>
15831
15832 Eliminate variable c-standard-font-lock-fontify-region-function.
15833 * progmodes/cc-mode.el
15834 (c-standard-font-lock-fontify-region-function): Remove.
15835 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15836
15837 2013-05-01 Leo Liu <sdl.web@gmail.com>
15838
15839 * progmodes/octave.el: Compatible with older emacs-24 releases.
15840 (inferior-octave-has-built-in-variables): Remove. Built-in
15841 variables were removed from Octave in 2007.
15842 (inferior-octave-startup): Fix uses.
15843 (comint-line-beginning-position): Remove compatibility code for
15844 emacs 21.
15845
15846 2013-05-01 Juri Linkov <juri@jurta.org>
15847
15848 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15849
15850 2013-05-01 Juri Linkov <juri@jurta.org>
15851
15852 * comint.el (comint-previous-matching-input): Don't print message
15853 "History item: %d" when `isearch-mode' is active.
15854 (comint-history-isearch-message): Print message "History item: %d"
15855 when `comint-input-ring-index' is not empty and this function is
15856 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15857
15858 2013-05-01 Leo Liu <sdl.web@gmail.com>
15859
15860 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15861 definitions. Use completion-at-point to insert keywords.
15862 (octave-abbrev-start): Remove.
15863 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15864
15865 2013-04-30 Leo Liu <sdl.web@gmail.com>
15866
15867 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15868 change.
15869
15870 2013-04-30 Alan Mackenzie <acm@muc.de>
15871
15872 Handle arbitrarily long C++ member initialisation lists.
15873 * progmodes/cc-engine.el (c-back-over-member-initializers):
15874 new function.
15875 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15876 (most) member init lists.
15877
15878 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15879
15880 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15881 variable.
15882
15883 2013-04-30 Leo Liu <sdl.web@gmail.com>
15884
15885 * progmodes/octave.el (octave-variables): Remove. No builtin
15886 variables any more. All converted to functions.
15887 (octave-font-lock-keywords, octave-completion-at-point-function):
15888 Fix uses.
15889 (octave-font-lock-texinfo-comment): New user variable.
15890 (octave-texinfo-font-lock-keywords): New variable for texinfo
15891 comment block.
15892 (octave-function-comment-block): New face.
15893 (octave-font-lock-texinfo-comment): New function.
15894 (octave-mode): Font lock texinfo comment block.
15895
15896 2013-04-29 Leo Liu <sdl.web@gmail.com>
15897
15898 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15899 indexing expression.
15900 (octave-continuation-string): Do not use \.
15901 (inferior-octave-complete-impossible): Remove.
15902 (inferior-octave-completion-table)
15903 (inferior-octave-completion-at-point): Remove its uses.
15904 (inferior-octave-startup): completion_matches was introduced to
15905 Octave in 1996 so safe to assume it.
15906 (octave-function-file-comment): Improve to follow how Octave does it.
15907 (octave-update-function-file-comment): Tweak.
15908
15909 2013-04-29 Leo Liu <sdl.web@gmail.com>
15910
15911 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15912 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15913 (octave-function-file-comment): Fix typo.
15914 (octave-sync-function-file-names): Use read-char-choice.
15915
15916 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15917
15918 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15919 to t for the less important warnings.
15920
15921 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15922
15923 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15924
15925 2013-04-27 Glenn Morris <rgm@gnu.org>
15926
15927 * vc/log-view.el (log-view-current-entry):
15928 Treat "---" separator lines as part of the following rev. (Bug#14169)
15929
15930 2013-04-27 Juri Linkov <juri@jurta.org>
15931
15932 * subr.el (read-number): Doc fix about using it by interactive
15933 code letter `n'. (Bug#14254)
15934
15935 2013-04-27 Juri Linkov <juri@jurta.org>
15936
15937 * desktop.el (desktop-auto-save-timeout): New option.
15938 (desktop-file-checksum): New variable.
15939 (desktop-save): Add optional arg `auto-save' and don't auto-save
15940 if nothing changed.
15941 (desktop-auto-save-timer): New variable.
15942 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15943 (after-init-hook): Call `desktop-auto-save-set-timer'.
15944 Suggested by Reuben Thomas <rrt@sc3d.org> in
15945 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15946
15947 2013-04-27 Leo Liu <sdl.web@gmail.com>
15948
15949 * progmodes/octave.el (octave-function-file-p)
15950 (octave-skip-comment-forward, octave-function-file-comment)
15951 (octave-update-function-file-comment): New functions.
15952 (octave-mode-map): Bind C-c ; to
15953 octave-update-function-file-comment.
15954 (octave-mode-menu): Add octave-update-function-file-comment.
15955 (octave-mode, inferior-octave-mode): Fix doc-string.
15956 (octave-insert-defun): Conform to Octave's coding convention.
15957 (Bug#14285)
15958
15959 * files.el (basic-save-buffer): Don't let errors in
15960 before-save-hook prevent saving buffer.
15961
15962 2013-04-20 Roland Winkler <winkler@gnu.org>
15963
15964 * faces.el (read-face-name): Use completing-read if arg multiple
15965 is nil.
15966
15967 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15968
15969 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15970 displayed, move point to after the totals line.
15971 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15972 for the details.
15973
15974 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15975
15976 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15977 Add current dir to the load-path.
15978 (package-generate-autoloads): Don't rely on
15979 autoload-ensure-default-file.
15980
15981 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15982
15983 * textmodes/remember.el (remember-store-in-files): Document that
15984 the file name format is passed to `format-time-string'.
15985
15986 2013-04-26 Leo Liu <sdl.web@gmail.com>
15987
15988 * progmodes/octave.el (octave-sync-function-file-names): New function.
15989 (octave-mode): Use it in before-save-hook.
15990
15991 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15992
15993 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15994 (bug#14274).
15995
15996 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15997 \n and comment, even if it's not an implicit ; (bug#14218).
15998
15999 2013-04-26 Glenn Morris <rgm@gnu.org>
16000
16001 * subr.el (read-number): Once more use `read' rather than
16002 `string-to-number', to trap non-numeric input. (Bug#14254)
16003
16004 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
16005
16006 * emacs-lisp/syntax.el (syntax-propertize-multiline):
16007 Use `syntax-multiline' text property consistently instead of
16008 `font-lock-multiline'. (Bug#14237)
16009
16010 2013-04-26 Glenn Morris <rgm@gnu.org>
16011
16012 * emacs-lisp/shadow.el (list-load-path-shadows):
16013 No longer necessary to check for duplicate simple.el, since
16014 2012-07-07 change to init_lread to not include installation lisp
16015 directories in load-path when running uninstalled. (Bug#14270)
16016
16017 2013-04-26 Leo Liu <sdl.web@gmail.com>
16018
16019 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
16020 (octave-mode, inferior-octave-mode): Use setq-local.
16021 (octave-not-in-string-or-comment-p): Rename to
16022 octave-in-string-or-comment-p.
16023 (octave-in-comment-p, octave-in-string-p)
16024 (octave-in-string-or-comment-p): Replace defsubst with defun.
16025
16026 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
16027
16028 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
16029
16030 2013-04-25 Bastien Guerry <bzg@gnu.org>
16031
16032 * textmodes/remember.el (remember-data-directory)
16033 (remember-directory-file-name-format): Fix custom types.
16034
16035 2013-04-25 Leo Liu <sdl.web@gmail.com>
16036
16037 * progmodes/octave.el (octave-completion-at-point-function):
16038 Make use of inferior octave process.
16039 (octave-initialize-completions): Remove.
16040 (inferior-octave-completion-table): New function.
16041 (inferior-octave-completion-at-point): Use it.
16042 (octave-completion-alist): Remove.
16043
16044 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16045
16046 * progmodes/opascal.el: Use font-lock and syntax-propertize.
16047 (opascal-mode-syntax-table): New var.
16048 (opascal-literal-kind, opascal-is-literal-end)
16049 (opascal-literal-token-at): Rewrite.
16050 (opascal--literal-start-re, opascal-font-lock-keywords)
16051 (opascal--syntax-propertize): New constants.
16052 (opascal-font-lock-defaults): Adjust.
16053 (opascal-mode): Use them. Set comment-<foo> variables as well.
16054 (delphi-comment-face, opascal-comment-face, delphi-string-face)
16055 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
16056 (delphi-other-face, opascal-other-face): Remove face variables.
16057 (opascal-save-state): Remove macro.
16058 (opascal-fontifying-progress-step): Remove constant.
16059 (opascal--ignore-changes): Remove var.
16060 (opascal-set-token-property, opascal-parse-next-literal)
16061 (opascal-is-stable-literal, opascal-complete-literal)
16062 (opascal-is-literal-start, opascal-face-of)
16063 (opascal-parse-region, opascal-parse-region-until-stable)
16064 (opascal-fontify-region, opascal-after-change)
16065 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
16066 (opascal-debug-parse-region, opascal-debug-parse-window)
16067 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
16068 (opascal-debug-fontify-buffer): Remove.
16069 (opascal-debug-mode-map): Adjust accordingly.
16070
16071 2013-04-25 Leo Liu <sdl.web@gmail.com>
16072
16073 Merge octave-mod.el and octave-inf.el into octave.el with some
16074 cleanups.
16075 * progmodes/octave.el: New file renamed from octave-mod.el.
16076 * progmodes/octave-inf.el: Merged into octave.el.
16077 * progmodes/octave-mod.el: Renamed to octave.el.
16078
16079 2013-04-25 Tassilo Horn <tsdh@gnu.org>
16080
16081 * textmodes/reftex-vars.el
16082 (reftex-label-ignored-macros-and-environments): New defcustom.
16083
16084 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
16085
16086 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16087
16088 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
16089 (smie-indent-keyword): Improve the check to ensure that the next
16090 comment is really on the same line.
16091 (smie-indent-comment): Don't align with a subsequent closer (or eob).
16092
16093 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
16094 semi-colons if the line is not otherwise empty (bug#14218).
16095
16096 2013-04-25 Glenn Morris <rgm@gnu.org>
16097
16098 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
16099
16100 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
16101
16102 * progmodes/opascal.el (opascal-set-token-property): Rename from
16103 opascal-set-text-properties and only set `token' (bug#14134).
16104 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
16105 (opascal-literal-text-properties): Remove.
16106 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
16107 Adjust callers.
16108
16109 2013-04-24 Reuben Thomas <rrt@sc3d.org>
16110
16111 * textmodes/remember.el (remember-handler-functions): Add an
16112 option for a new handler `remember-store-in-files'.
16113 (remember-data-directory, remember-directory-file-name-format):
16114 New options.
16115 (remember-store-in-files): New function to store remember notes
16116 as separate files within a directory.
16117
16118 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
16119
16120 * progmodes/compile.el (compilation-next-error-function):
16121 Pass "formats" to compilation-find-file (bug#11777).
16122
16123 2013-04-24 Glenn Morris <rgm@gnu.org>
16124
16125 * vc/vc-bzr.el (vc-bzr-print-log):
16126 * vc/vc-hg.el (vc-hg-print-log):
16127 * vc/vc-svn.el (vc-svn-print-log):
16128 Fix START-REVISION with LIMIT != 1. (Bug#14168)
16129
16130 * vc/vc-bzr.el (vc-bzr-print-log):
16131 * vc/vc-cvs.el (vc-cvs-print-log):
16132 * vc/vc-git.el (vc-git-print-log):
16133 * vc/vc-hg.el (vc-hg-print-log):
16134 * vc/vc-mtn.el (vc-mtn-print-log):
16135 * vc/vc-rcs.el (vc-rcs-print-log):
16136 * vc/vc-sccs.el (vc-sccs-print-log):
16137 * vc/vc-svn.el (vc-svn-print-log):
16138 * vc/vc.el (vc-print-log-internal): Doc fixes.
16139
16140 2013-04-23 Glenn Morris <rgm@gnu.org>
16141
16142 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
16143 Remove venerable code attempting to avoid substitute-command-keys.
16144
16145 2013-04-23 Tassilo Horn <tsdh@gnu.org>
16146
16147 * textmodes/reftex-vars.el (reftex-label-regexps):
16148 Call `reftex-compile-variables' after changes to this variable.
16149
16150 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
16151
16152 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
16153 Use lexical-binding.
16154 (jit-lock-force-redisplay): Use markers, check buffer's continued
16155 existence and beware narrowed buffers.
16156 (jit-lock-fontify-now): Adjust call accordingly.
16157
16158 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
16159
16160 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
16161 to avoid misleading the user.
16162
16163 2013-04-22 Leo Liu <sdl.web@gmail.com>
16164
16165 * info-look.el: Prefer latex2e.info. (Bug#14240)
16166
16167 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
16168
16169 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
16170
16171 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
16172 * net/tramp.el (tramp-call-process): ... here.
16173 (tramp-set-completion-function, tramp-parse-putty):
16174 * net/tramp-adb.el (tramp-adb-execute-adb-command):
16175 * net/tramp-gvfs.el (tramp-gvfs-send-command):
16176 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
16177 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
16178 (tramp-call-local-coding-command): Use `tramp-call-process'
16179 instead of `tramp-compat-call-process'.
16180
16181 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
16182 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
16183 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
16184 (tramp-find-inline-compress): Improve traces.
16185 (tramp-maybe-send-script): Check for Perl binary.
16186 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
16187
16188 2013-04-22 Daiki Ueno <ueno@gnu.org>
16189
16190 * epg.el (epg-context-pinentry-mode): New function.
16191 (epg-context-set-pinentry-mode): New function.
16192 (epg--start): Pass --pinentry-mode option to gpg command.
16193
16194 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
16195
16196 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
16197 `comint-dynamic-complete' is obsolete since 24.1, replaced by
16198 `completion-at-point'. (Bug#13774)
16199
16200 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
16201 default key binding for `describe-distribution' has been moved to
16202 `C-h C-o'. (Bug#13970)
16203
16204 2013-04-21 Glenn Morris <rgm@gnu.org>
16205
16206 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
16207 Add doc strings.
16208 (vc-print-log): Clarify interactive prompt.
16209
16210 2013-04-20 Glenn Morris <rgm@gnu.org>
16211
16212 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
16213 No longer include timestamp etc information.
16214
16215 2013-04-20 Roland Winkler <winkler@gnu.org>
16216
16217 * faces.el (read-face-name): Bug fix, return just one face if arg
16218 multiple is nil. (Bug#14209)
16219
16220 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16221
16222 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
16223 (remove-function): Autoload.
16224
16225 * comint.el (comint-redirect-original-filter-function): Remove.
16226 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
16227 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
16228 (vc-cvs-annotate-command):
16229 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
16230 * progmodes/prolog.el (prolog-consult-compile):
16231 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
16232 Use add/remove-function instead.
16233 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
16234 (gud-tooltip-process-output, gud-tooltip-tips):
16235 Use add/remove-function instead.
16236 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
16237 (scheme-interaction-mode, exit-scheme-interaction-mode):
16238 Use add/remove-function instead.
16239
16240 * vc/vc-dispatcher.el: Use lexical-binding.
16241 (vc--process-sentinel): Rename from vc-process-sentinel.
16242 Change last arg to be the code to run. Don't use vc-previous-sentinel
16243 and vc-sentinel-commands any more.
16244 (vc-exec-after): Allow code to be a function. Use add/remove-function.
16245 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
16246
16247 2013-04-19 Masatake YAMATO <yamato@redhat.com>
16248
16249 * progmodes/sh-script.el (sh-imenu-generic-expression):
16250 Handle function names with a single character. (Bug#14111)
16251
16252 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
16253
16254 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
16255 for subroutines defined in an eval (bug#14182).
16256
16257 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16258
16259 * bookmark.el (bookmark-completing-read): Improve handling of empty
16260 string (bug#14176).
16261
16262 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16263
16264 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
16265
16266 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
16267
16268 New faster Imenu implementation (bug#14058).
16269 * progmodes/python.el:
16270 (python-imenu-prev-index-position):
16271 (python-imenu-format-item-label-function)
16272 (python-imenu-format-parent-item-label-function)
16273 (python-imenu-format-parent-item-jump-label-function):
16274 New vars.
16275 (python-imenu-format-item-label)
16276 (python-imenu-format-parent-item-label)
16277 (python-imenu-format-parent-item-jump-label)
16278 (python-imenu--put-parent, python-imenu--build-tree)
16279 (python-imenu-create-index, python-imenu-create-flat-index)
16280 (python-util-popn): New functions.
16281 (python-mode): Set imenu-create-index-function to
16282 python-imenu-create-index.
16283
16284 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16285
16286 * winner.el (winner-active-region): Use region-active-p, activate-mark
16287 and deactivate-mark (bug#14225).
16288
16289 * simple.el (deactivate-mark): Don't inline it.
16290
16291 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
16292
16293 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
16294
16295 2013-04-18 Tassilo Horn <tsdh@gnu.org>
16296
16297 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
16298 file extensions from the archive-mode entry in order to prefer
16299 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
16300
16301 2013-04-18 Leo Liu <sdl.web@gmail.com>
16302
16303 * bindings.el (help-event-list): Add ?\?.
16304
16305 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16306
16307 * subr.el (with-wrapper-hook): Declare obsolete.
16308 * simple.el (filter-buffer-substring-function): New hook.
16309 (filter-buffer-substring): Use it.
16310 (filter-buffer-substring-functions): Mark obsolete.
16311 * minibuffer.el (completion-in-region-function): New hook.
16312 (completion-in-region): Use it.
16313 (completion-in-region-functions): Mark obsolete.
16314 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
16315 * abbrev.el (abbrev-expand-function): New hook.
16316 (expand-abbrev): Use it.
16317 (abbrev-expand-functions): Mark obsolete.
16318 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
16319 and :filter-return.
16320
16321 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16322
16323 * progmodes/python.el (python-nav--syntactically): Fix cornercases
16324 and do not care about match data.
16325
16326 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16327
16328 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
16329 completion tables when completing error conditions and
16330 `declare' arguments.
16331 (lisp-complete-symbol, field-complete): Mark as obsolete.
16332 (check-parens): Unmatched parens are user errors.
16333 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
16334
16335 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
16336
16337 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
16338 command changed buffer (ie. `flyspell-pre-buffer' is not current
16339 buffer), which prevents making decisions based on invalid value of
16340 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
16341 cause an error when `flyspell-pre-point' was nil after switching
16342 buffers.
16343 (flyspell-post-command-hook): No longer needs to change buffers when
16344 checking pre-word. While at it remove unnecessary progn.
16345
16346 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
16347
16348 * textmodes/ispell.el (ispell-add-per-file-word-list):
16349 Fix `flyspell-correct-word-before-point' error when accepting
16350 words and `coment-padding' is an integer by using
16351 `comment-normalize-vars' (Bug #14214).
16352
16353 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16354
16355 New defun movement commands.
16356 * progmodes/python.el (python-nav--syntactically)
16357 (python-nav--forward-defun, python-nav-backward-defun)
16358 (python-nav-forward-defun): New functions.
16359
16360 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16361
16362 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
16363 (python-syntax-context): Use named compiler-macro for backwards
16364 compatibility with Emacs 24.x.
16365
16366 2013-04-17 Leo Liu <sdl.web@gmail.com>
16367
16368 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
16369 octave-hide-process-buffer.
16370
16371 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16372
16373 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
16374 (bug#14216).
16375
16376 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
16377
16378 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
16379 Fix adjustment of offset when receiving incomplete responses from GDB
16380 (bug#14129).
16381
16382 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16383
16384 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
16385 python-mode-abbrev-table.
16386 (python-skeleton-define): Adjust accordingly.
16387 (python-mode-abbrev-table): New table that inherits from it so that
16388 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
16389
16390 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
16391 (abbrev-symbol): Use it.
16392 (abbrev--before-point): Use it since we already handle inheritance.
16393
16394 2013-04-16 Leo Liu <sdl.web@gmail.com>
16395
16396 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
16397 binding to info-lookup-symbol.
16398
16399 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
16400
16401 * minibuffer.el (completion--twq-all):
16402 * term/ns-win.el (ns-initialize-window-system):
16403 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
16404
16405 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16406
16407 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
16408 global bindings.
16409
16410 * doc-view.el (doc-view-start-process): Handle url-handler directories.
16411
16412 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
16413
16414 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
16415 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
16416 to nil.
16417 (ruby-end-of-defun): Remove the unused arg, change the docstring
16418 to reflect that this function is only used as the value of
16419 `end-of-defun-function'.
16420 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
16421 to reflect an earlier change that beginning/end-of-defun functions
16422 jump between methods in a class definition, as well as top-level
16423 functions.
16424
16425 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16426
16427 * minibuffer.el (minibuffer-complete): Don't just scroll
16428 a *Completions* that's been iconified.
16429 (minibuffer-force-complete): Make sure repetitions do cycle when going
16430 through completion-in-region -> minibuffer-complete.
16431
16432 2013-04-15 Alan Mackenzie <acm@muc.de>
16433
16434 Correct the placement of c-cpp-delimiters when there're #s not at
16435 col 0.
16436
16437 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
16438 place a submatch around the #.
16439 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
16440 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
16441 on the #, not BOL.
16442
16443 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16444
16445 * emacs-lisp/nadvice.el: Properly test names when adding advice.
16446 (advice--member-p): New arg `name'.
16447 (advice--add-function, advice-member-p): Use it (bug#14202).
16448
16449 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
16450
16451 Reformulate java imenu-generic-expression.
16452 The old expression contained ill formed regexps.
16453
16454 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
16455 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
16456 (cc-imenu-java-method-arg-regexp): New defconsts.
16457 (cc-imenu-java-build-type-args-regex): New defun.
16458 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
16459 handling of spaces in the regexp.
16460
16461 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16462
16463 * textmodes/ispell.el (ispell-command-loop): Remove
16464 flyspell highlight of a word when ispell accepts it (bug #14178).
16465
16466 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
16467
16468 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
16469 uses code from the previous `ange-ftp-run-real-handler'.
16470 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
16471 only in case that function exist. This is needed for proper
16472 unloading of Tramp.
16473
16474 2013-04-15 Tassilo Horn <tsdh@gnu.org>
16475
16476 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
16477
16478 * textmodes/reftex.el (reftex-compile-variables): Use it.
16479
16480 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16481
16482 * files.el (normal-mode): Only use default major-mode if no other mode
16483 was specified.
16484
16485 * emacs-lisp/trace.el (trace-values): New function.
16486
16487 * files.el: Allow : in local variables (bug#14089).
16488 (hack-local-variable-regexp): New var.
16489 (hack-local-variables-prop-line, hack-local-variables): Use it.
16490
16491 2013-04-13 Roland Winkler <winkler@gnu.org>
16492
16493 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
16494 data before it gets modified by bibtex-beginning-of-entry.
16495
16496 2013-04-13 Roland Winkler <winkler@gnu.org>
16497
16498 * textmodes/bibtex.el (bibtex-url): Doc fix.
16499
16500 2013-04-13 Roland Winkler <winkler@gnu.org>
16501
16502 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
16503 does not visit a BibTeX file, exclude it from the list of buffers
16504 returned by bibtex-initialize.
16505
16506 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
16507
16508 * window.el (split-window): Remove interactive form, since as a
16509 command this function is a special case of split-window-below.
16510 Correct doc string.
16511
16512 2013-04-12 Roland Winkler <winkler@gnu.org>
16513
16514 * faces.el (read-face-name): Do not override value of arg default.
16515 Allow single faces and strings as default values. Remove those
16516 elements from return value that are not faces.
16517 (describe-face): Simplify.
16518 (face-at-point): New optional args thing and multiple so that this
16519 function can provide the same functionality previously provided by
16520 read-face-name.
16521 (make-face-bold, make-face-unbold, make-face-italic)
16522 (make-face-unitalic, make-face-bold-italic, invert-face)
16523 (modify-face, read-face-and-attribute): Use face-at-point.
16524
16525 * cus-edit.el (customize-face, customize-face-other-window)
16526 * cus-theme.el (custom-theme-add-face)
16527 * face-remap.el (buffer-face-set)
16528 * facemenu.el (facemenu-set-face): Use face-at-point.
16529
16530 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
16531
16532 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
16533
16534 2013-04-10 Tassilo Horn <tsdh@gnu.org>
16535
16536 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
16537 off leading { and trailing } from field values.
16538
16539 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16540
16541 * emacs-lisp/timer.el (timer--check): New function.
16542 (timer--time, timer-set-function, timer-event-handler): Use it.
16543 (timer-set-idle-time): Simplify.
16544 (timer--activate): CSE.
16545 (timer-event-handler): Give more info in error message.
16546 (internal-timer-start-idle): New function, moved from C.
16547
16548 * mpc.el (mpc-proc): Add `restart' argument.
16549 (mpc-proc-cmd): Use it.
16550 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
16551 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
16552 less often.
16553
16554 2013-04-10 Masatake YAMATO <yamato@redhat.com>
16555
16556 * progmodes/sh-script.el: Implement `sh-mode' own
16557 `add-log-current-defun-function' (bug#14112).
16558 (sh-current-defun-name): New function.
16559 (sh-mode): Use the function.
16560
16561 2013-04-09 Bastien Guerry <bzg@gnu.org>
16562
16563 * simple.el (choose-completion-string): Fix docstring (bug#14163).
16564
16565 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
16566
16567 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16568
16569 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16570 timer (bug#14156).
16571
16572 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
16573
16574 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16575 declaration.
16576
16577 2013-04-07 Leo Liu <sdl.web@gmail.com>
16578
16579 * pcmpl-x.el: New file.
16580
16581 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
16582
16583 Do not set x-display-name until X connection is established.
16584 This is needed to prevent from weird situation described at
16585 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16586 * frame.el (make-frame): Set x-display-name after call to
16587 window system initialization function, not before.
16588 * term/x-win.el (x-initialize-window-system): Add optional
16589 display argument and use it.
16590 * term/w32-win.el (w32-initialize-window-system):
16591 * term/ns-win.el (ns-initialize-window-system):
16592 * term/pc-win.el (msdos-initialize-window-system):
16593 Add compatible optional display argument.
16594
16595 2013-04-06 Eli Zaretskii <eliz@gnu.org>
16596
16597 * files.el (normal-backup-enable-predicate): On MS-Windows and
16598 MS-DOS compare truenames of temporary-file-directory and of the
16599 file, so that 8+3 aliases (usually found in $TEMP on Windows)
16600 don't fail comparison by compare-strings. Also, compare file
16601 names case-insensitively on MS-Windows and MS-DOS.
16602
16603 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16604
16605 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16606 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16607
16608 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
16609
16610 * whitespace.el (whitespace-color-on, whitespace-color-off):
16611 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16612
16613 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
16614
16615 * ispell.el (ispell-set-spellchecker-params):
16616 Really set `ispell-args' for all equivs.
16617
16618 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16619
16620 * ido.el (ido-completions): Use extra elements of ido-decorations
16621 (bug#14143).
16622 (ido-decorations): Update docstring.
16623
16624 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
16625
16626 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16627 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16628 nil during initialization, in order not to miss changes since the
16629 file was opened. (Bug#14140)
16630
16631 2013-04-05 Leo Liu <sdl.web@gmail.com>
16632
16633 * kmacro.el (kmacro-call-macro): Fix bug#14135.
16634
16635 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
16636
16637 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16638
16639 2013-04-04 Glenn Morris <rgm@gnu.org>
16640
16641 * electric.el (electric-pair-inhibit-predicate): Add :version.
16642
16643 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16644
16645 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16646 when a package is required several times (bug#14082).
16647
16648 2013-04-04 Roland Winkler <winkler@gnu.org>
16649
16650 * faces.el (read-face-name): Behave as promised by the docstring.
16651 Assume that arg default is a list of faces.
16652 (describe-face): Call read-face-name with list of default faces.
16653
16654 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16655
16656 * bookmark.el: Fix deletion of bookmarks (bug#13972).
16657 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16658 (bookmark-bmenu-execute-deletions): Only skip first line if it's
16659 the header.
16660 (bookmark-exit-hook-internal): Save even if list is empty.
16661
16662 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
16663
16664 * emacs-lisp/package.el (package-pinned-packages): New var.
16665 (package--add-to-archive-contents): Obey it (bug#14118).
16666
16667 2013-04-03 Alan Mackenzie <acm@muc.de>
16668
16669 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16670 Also adapt to the new values of element 7 of a parse state.
16671
16672 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16673 parameter `not-in-delimiter'. Handle being inside comment opener.
16674 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16675 character in case we're typing a '*' after a '/'.
16676 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16677 instead by passing the parameter to c-state-pp-to-literal.
16678
16679 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16680 for elt. 7 of a parse state.
16681
16682 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16683
16684 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16685 * international/latin1-disp.el, international/mule-util.el:
16686 * language/cyril-util.el, language/european.el, language/ind-util.el:
16687 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16688 * language/tibetan.el, language/viet-util.el:
16689 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16690
16691 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16692
16693 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16694 (electric-pair-post-self-insert-function): Use it.
16695 (electric-pair-default-inhibit): New function, extracted from
16696 electric-pair-post-self-insert-function.
16697
16698 2013-03-31 Roland Winkler <winkler@gnu.org>
16699
16700 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16701
16702 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16703
16704 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16705
16706 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
16707
16708 Un-indent after "pass" and "return" statements (Bug#13888)
16709 * progmodes/python.el (python-indent-block-enders): New var.
16710 (python-indent-calculate-indentation): Use it.
16711
16712 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
16713
16714 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16715 defun. Defining it as defalias could introduce too eager
16716 byte-compiler optimization. (Bug#14030)
16717
16718 2013-03-30 Chong Yidong <cyd@gnu.org>
16719
16720 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16721
16722 2013-03-30 Leo Liu <sdl.web@gmail.com>
16723
16724 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16725 (kmacro-execute-from-register): Pass the keyboard macro to
16726 kmacro-call-macro or repeating won't work correctly.
16727
16728 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16729
16730 * progmodes/subword.el: Back to using `forward-symbol'.
16731
16732 * subr.el (forward-whitespace, forward-symbol)
16733 (forward-same-syntax): Move from thingatpt.el.
16734
16735 2013-03-29 Leo Liu <sdl.web@gmail.com>
16736
16737 * kmacro.el (kmacro-to-register): New command.
16738 (kmacro-execute-from-register): New function.
16739 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16740
16741 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16742
16743 * mpc.el: Use defvar-local and setq-local.
16744 (mpc--proc-connect): Connection failures are not bugs.
16745 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16746 (mpc-volume-map): Bind to the up-events.
16747
16748 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16749
16750 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16751 instead of `forward-symbol'.
16752
16753 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16754
16755 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16756 (edebug--recursive-edit): Use it.
16757 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16758 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16759
16760 2013-03-28 Leo Liu <sdl.web@gmail.com>
16761
16762 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16763
16764 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16765
16766 * facemenu.el (list-colors-callback): New defvar.
16767 (list-colors-redisplay): New function.
16768 (list-colors-display): Install list-colors-redisplay as the
16769 revert-buffer-function. (Bug#14063)
16770
16771 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16772
16773 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16774 and suffixes don't overlap (bug#14061).
16775
16776 * case-table.el: Use lexical-binding.
16777 (case-table-get-table): New function.
16778 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16779
16780 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16781
16782 * progmodes/subword.el: Add `superword-mode' to do word motion
16783 over symbol_words (parallels and leverages `subword-mode' which
16784 does word motion inside MixedCaseWords).
16785
16786 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16787
16788 * eshell/em-unix.el: Move su and sudo to...
16789 * eshell/em-tramp.el: ...Eshell tramp module.
16790
16791 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16792
16793 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16794 Change return value to be a sexp. Delay `get-buffer' to after
16795 restoring the desktop (bug#13951).
16796
16797 2013-03-26 Leo Liu <sdl.web@gmail.com>
16798
16799 * register.el: Move semantic tag handling back to
16800 cedet/semantic/senator.el. (Bug#14052)
16801
16802 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16803
16804 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16805 into the prompt either (bug#13963).
16806
16807 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16808
16809 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16810 part of "(error-foo)".
16811
16812 2013-03-24 Juri Linkov <juri@jurta.org>
16813
16814 * replace.el (list-matching-lines-prefix-face): New defcustom.
16815 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16816 `occur-engine' if `face-differs-from-default-p' returns t.
16817 (occur-engine): Add `,' inside backquote construct to evaluate
16818 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16819 Pass `prefix-face' to the functions `occur-context-lines' and
16820 `occur-engine-add-prefix'.
16821 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16822 `prefix-face' and propertize the prefix with `prefix-face'.
16823 (Bug#14017)
16824
16825 2013-03-24 Leo Liu <sdl.web@gmail.com>
16826
16827 * nxml/rng-valid.el (rng-validate-while-idle)
16828 (rng-validate-quick-while-idle): Guard against deleted buffer.
16829 (Bug#13999)
16830
16831 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16832 is the last entry in kill-buffer-hook.
16833
16834 * files.el (kill-buffer-hook): Doc fix.
16835
16836 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16837
16838 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16839 Make it safe-local.
16840
16841 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16842
16843 2013-03-23 Leo Liu <sdl.web@gmail.com>
16844
16845 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16846 Remove.
16847
16848 * nxml/rng-valid.el (rng-validate-mode)
16849 (rng-after-change-function, rng-do-some-validation):
16850 * nxml/rng-maint.el (rng-validate-buffer):
16851 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16852 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16853 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16854 (nxml-extend-after-change-region): Use with-silent-modifications.
16855
16856 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16857 timer-idle-list.
16858
16859 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16860 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16861 timer-idle-list. (Bug#13999)
16862
16863 2013-03-23 Juri Linkov <juri@jurta.org>
16864
16865 * info.el (info-index-match): New face.
16866 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16867 main pattern and add text properties with the new face to matches
16868 in index entries relative to the beginning of the index entry.
16869 (Bug#14015)
16870
16871 2013-03-21 Eric Ludlam <zappo@gnu.org>
16872
16873 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16874 Inhibit read only while inserting objects.
16875
16876 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16877
16878 * progmodes/cfengine.el: Update docs to mention
16879 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16880 symbol motion. Remove "_" from the word syntax.
16881
16882 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16883
16884 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16885 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16886
16887 2013-03-20 Juri Linkov <juri@jurta.org>
16888
16889 * info.el (Info-next-reference-or-link)
16890 (Info-prev-reference-or-link): New functions.
16891 (Info-next-reference, Info-prev-reference): Use them.
16892 (Info-try-follow-nearest-node): Handle footnote navigation.
16893 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16894
16895 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16896
16897 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16898 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16899
16900 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16901
16902 Suppress unnecessary non-ASCII chatter during build process.
16903 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16904 (batch-skkdic-convert): Suppress most of the chatter.
16905 It's not needed so much now that machines are faster,
16906 and its non-ASCII component was confusing; see Dmitry Gutov in
16907 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16908
16909 2013-03-20 Leo Liu <sdl.web@gmail.com>
16910
16911 * ido.el (ido-chop): Fix bug#10994.
16912
16913 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16914
16915 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16916 Remove vars.
16917 (whitespace-color-on, whitespace-color-off):
16918 Use `font-lock-fontify-buffer' (Bug#13817).
16919
16920 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16921
16922 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16923 remapping in mode-line.
16924 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16925
16926 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16927
16928 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16929 value for `whitespace-line' face (Bug#13875).
16930 (whitespace-font-lock-keywords): Change description.
16931 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16932 the constructed keywords instead.
16933 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16934
16935 2013-03-19 Leo Liu <sdl.web@gmail.com>
16936
16937 * progmodes/compile.el (compilation-display-error): New command.
16938 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16939 C-o. (Bug#13992)
16940
16941 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16942
16943 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16944
16945 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16946
16947 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16948
16949 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16950
16951 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16952
16953 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16954 * net/tramp-gvfs.el (top):
16955 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16956 (tramp-handle-shell-command): Use it.
16957 (tramp-dissect-file-name): Raise an error when hostname is a
16958 method name, and neither method nor user is specified.
16959
16960 * net/trampver.el: Update release number.
16961
16962 2013-03-18 Leo Liu <sdl.web@gmail.com>
16963
16964 Make sure eldoc can be turned off properly.
16965 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16966 eldoc-mode.
16967 (eldoc-display-message-p): Revert last change.
16968 (eldoc-display-message-no-interference-p)
16969 (eldoc-print-current-symbol-info): Tweak.
16970
16971 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16972
16973 * doc-view.el (doc-view-new-window-function): Check the new window
16974 overlay's display property instead the char property of the
16975 buffer's first char. Use `with-selected-window' instead of
16976 `save-window-excursion' with `select-window'.
16977 (doc-view-document->bitmap): Check the current doc-view overlay's
16978 display property instead the char property of the buffer's first char.
16979
16980 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16981
16982 Automate the build of ja-dic.el (Bug#13984).
16983 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16984 from the input, rather than assume that it's been done for us by the
16985 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16986 the current date into a ja-dic.el comment, as that complicates
16987 regression testing.
16988
16989 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16990
16991 * whitespace.el: Fix double evaluation.
16992 (whitespace-space, whitespace-hspace, whitespace-tab)
16993 (whitespace-newline, whitespace-trailing, whitespace-line)
16994 (whitespace-space-before-tab, whitespace-indentation)
16995 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16996 obsolete defvars.
16997 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16998 (whitespace-color-on): Use a single font-lock-add-keywords call.
16999 Fix double-evaluation of face variables.
17000
17001 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
17002
17003 * net/tramp-adb.el (tramp-adb-parse-device-names):
17004 Use `start-process' instead of `call-process'. Otherwise, the
17005 function might be blocked under MS Windows. (Bug#13299)
17006
17007 2013-03-17 Leo Liu <sdl.web@gmail.com>
17008
17009 Extend eldoc to display info in the mode-line. (Bug#13978)
17010 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
17011 (eldoc-mode-line-string): New variable.
17012 (eldoc-minibuffer-message): New function.
17013 (eldoc-message-function): New variable.
17014 (eldoc-message): Use it.
17015 (eldoc-display-message-p)
17016 (eldoc-display-message-no-interference-p):
17017 Support eldoc-post-insert-mode.
17018
17019 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
17020 (eval-expression): Run it.
17021
17022 2013-03-17 Roland Winkler <winkler@gnu.org>
17023
17024 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
17025 strings in the list of return values.
17026
17027 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
17028
17029 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
17030 radix before checking for HMS forms.
17031
17032 2013-03-16 Leo Liu <sdl.web@gmail.com>
17033
17034 * progmodes/scheme.el: Add indentation and font-locking for λ.
17035 (Bug#13975)
17036
17037 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
17038
17039 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
17040 token before point (bug#13942).
17041
17042 2013-03-16 Leo Liu <sdl.web@gmail.com>
17043
17044 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
17045
17046 2013-03-16 Eli Zaretskii <eliz@gnu.org>
17047
17048 * startup.el (command-line-normalize-file-name): Fix handling of
17049 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
17050 <xfq.free@gmail.com> in
17051 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
17052
17053 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
17054
17055 Sync with Tramp 2.2.7.
17056
17057 * net/trampver.el: Update release number.
17058
17059 2013-03-14 Tassilo Horn <tsdh@gnu.org>
17060
17061 * doc-view.el: Fix bug#13887.
17062 (doc-view-insert-image): Don't modify overlay associated to
17063 non-live windows, and implement horizontal centering of image in
17064 case it's smaller than the window.
17065 (doc-view-new-window-function): Force redisplay of new windows on
17066 doc-view buffers.
17067
17068 2013-03-13 Karl Fogel <kfogel@red-bean.com>
17069
17070 * saveplace.el (save-place-alist-to-file): Don't sort
17071 `save-place-alist', just pretty-print it (bug#13882).
17072
17073 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
17074
17075 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
17076 Check whether `default-file-name-coding-system' is bound.
17077 It isn't in XEmacs.
17078
17079 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
17080
17081 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
17082 backquotes for `obsolete' (bug#13929).
17083
17084 * international/mule.el (find-auto-coding): Include file name in
17085 obsolescence warning (bug#13922).
17086
17087 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
17088
17089 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
17090 for CFEngine 3-specific indentation.
17091 (cfengine3-indent-line): Use it. Fix up category regex.
17092 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
17093
17094 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17095
17096 * type-break.el (type-break-file-name):
17097 * textmodes/remember.el (remember-data-file):
17098 * strokes.el (strokes-file):
17099 * shadowfile.el (shadow-initialize):
17100 * saveplace.el (save-place-file):
17101 * ps-bdf.el (bdf-cache-file):
17102 * progmodes/idlwave.el (idlwave-config-directory):
17103 * net/quickurl.el (quickurl-url-file):
17104 * international/kkc.el (kkc-init-file-name):
17105 * ido.el (ido-save-directory-list-file):
17106 * emulation/viper.el (viper-custom-file-name):
17107 * emulation/vip.el (vip-startup-file):
17108 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
17109 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
17110
17111 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
17112
17113 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
17114 * language/thai-word.el: Switch to UTF-8.
17115
17116 See ChangeLog.16 for earlier changes.
17117
17118 ;; Local Variables:
17119 ;; coding: utf-8
17120 ;; End:
17121
17122 Copyright (C) 2011-2015 Free Software Foundation, Inc.
17123
17124 This file is part of GNU Emacs.
17125
17126 GNU Emacs is free software: you can redistribute it and/or modify
17127 it under the terms of the GNU General Public License as published by
17128 the Free Software Foundation, either version 3 of the License, or
17129 (at your option) any later version.
17130
17131 GNU Emacs is distributed in the hope that it will be useful,
17132 but WITHOUT ANY WARRANTY; without even the implied warranty of
17133 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17134 GNU General Public License for more details.
17135
17136 You should have received a copy of the GNU General Public License
17137 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.