]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
In `debug' don't try using window on inaccessible frame (Bug#17170).
[gnu-emacs] / lisp / ChangeLog
1 2015-03-22 Martin Rudalics <rudalics@gmx.at>
2
3 * emacs-lisp/debug.el (debug): Don't try using "previous" window
4 when its not live or on an invisible frame (Bug#17170).
5
6 2015-03-21 Mario Lang <mlang@delysid.org>
7
8 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
9 `recenter' if `current-buffer' is equal to `window-buffer'.
10
11 2015-03-20 Dmitry Gutov <dgutov@yandex.ru>
12
13 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re): Detect
14 regexps after `!'. (Bug#19285)
15
16 2015-03-20 Dmitry Gutov <dgutov@yandex.ru>
17
18 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use
19 `font-lock-constant-face' for nil, true and false. Highlight
20 `self' as a keyword. (Bug#17733)
21
22 2015-03-20 Nobuyoshi Nakada <nobu@ruby-lang.org>
23
24 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re): Expect
25 beginning of regexp also after open brace or vertical bar.
26 (Bug#20026)
27
28 2015-03-07 Michael Albinus <michael.albinus@gmx.de>
29
30 * net/tramp.el (tramp-ssh-controlmaster-options): Make it a
31 defcustom. (Bug#20015)
32
33 2015-03-07 Eli Zaretskii <eliz@gnu.org>
34
35 * dired.el (dired-delete-file): Doc fix. (Bug#20021)
36
37 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
38
39 * textmodes/ispell.el (ispell-aspell-find-dictionary): Make sure
40 .dat files for aspell dicts are also searched for in location
41 described by `ispell-aspell-dict-dir', matching aspell's dict-dir
42 variable.
43
44 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
45
46 * textmodes/ispell.el (ispell-dicts-name2locale-equivs-alist)
47 (ispell-hunspell-fill-dictionary-entry)
48 (ispell-find-hunspell-dictionaries)
49 (ispell-set-spellchecker-params): New generic name for
50 `ispell-hunspell-dictionary-equivs-alist'.
51 (ispell-aspell-add-aliases): Also use
52 `ispell-dicts-name2locale-equivs-alist' to get aspell aliases for
53 standard dict names.
54
55 2015-02-24 Glenn Morris <rgm@gnu.org>
56
57 * net/browse-url.el (browse-url-firefox-startup-arguments):
58 Make obsolete.
59 (browse-url-firefox): Doc fix. Remove -remote, which no longer
60 exists in Firefox 36. (Bug#19921)
61 (browse-url-firefox-sentinel): Remove function.
62
63 2015-02-23 Eli Zaretskii <eliz@gnu.org>
64
65 * frame.el (blink-cursor-timer-function): Don't increment
66 blink-cursor-blinks-done counter when a menu is active on a w32
67 frame. (Bug#19925)
68
69 2015-02-19 Juri Linkov <juri@linkov.net>
70
71 * comint.el (comint-line-beginning-position): Revert searching for
72 the prompt when comint-use-prompt-regexp is non-nil because it
73 doesn't distinguish input from output. Check the field property
74 `output' for the case when comint-use-prompt-regexp is nil.
75 (Bug#19710)
76
77 2015-02-15 Jérémy Compostella <jeremy.compostella@gmail.com>
78
79 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
80 with PAGER=cat. (Bug#19870)
81
82 2015-02-13 Glenn Morris <rgm@gnu.org>
83
84 * textmodes/flyspell.el (flyspell-duplicate-distance):
85 Bump :version.
86
87 2015-02-13 Eli Zaretskii <eliz@gnu.org>
88
89 * textmodes/text-mode.el (text-mode-syntax-table): Make some
90 punctuation character behave as word-constituent, for more
91 compatibility with Unicode.
92
93 * simple.el (transient-mark-mode): Doc fix. (Bug#19841)
94
95 2015-02-12 Agustín Martín Domingo <agustin6martin@gmail.com>
96
97 Improve string search in `flyspell-word-search-*`. (Bug#16800)
98 * textmodes/flyspell.el (flyspell-duplicate-distance): Limit
99 default search distance for duplicated words to 40000.
100 (flyspell-word-search-backward, flyspell-word-search-forward):
101 Search as full word with defined casechars, not as substring.
102
103 2015-02-10 Juri Linkov <juri@linkov.net>
104
105 Better support for the case of typing RET on the prompt in comint.
106 * comint.el (comint-get-old-input-default): Go to the field end
107 when comint-use-prompt-regexp is nil.
108 (comint-line-beginning-position): Check if point is already
109 on the prompt before searching for the prompt when
110 comint-use-prompt-regexp is non-nil. (Bug#19710)
111
112 2015-02-08 Eli Zaretskii <eliz@gnu.org>
113
114 * frame.el (frame-notice-user-settings): Refresh the value of
115 frame parameters after calling tty-handle-reverse-video. Call
116 face-set-after-frame-default with the actual parameters, to avoid
117 resetting colors back to unspecified.
118 (set-background-color, set-foreground-color): Pass the foreground
119 and background colors to face-set-after-frame-default. (Bug#19802)
120
121 2015-02-06 Wolfgang Jenkner <wjenkner@inode.at>
122
123 * net/network-stream.el (network-stream-open-tls): Respect the
124 :end-of-capability setting.
125
126 2015-02-05 Juri Linkov <juri@linkov.net>
127
128 Revert the previous change of comint-line-beginning-position callers,
129 and modify comint-line-beginning-position instead.
130
131 * comint.el (comint-history-isearch-search)
132 (comint-history-isearch-message, comint-history-isearch-wrap):
133 Use comint-line-beginning-position instead of field-beginning.
134 (comint-send-input): Use either end-of-line or field-end
135 depending on comint-use-prompt-regexp.
136 (comint-line-beginning-position): Search backward
137 for comint-prompt-regexp if comint-use-prompt-regexp is non-nil.
138 Use field-beginning instead of line-beginning-position
139 if comint-use-prompt-regexp is nil. (Bug#19710)
140
141 2015-02-04 Robert Pluim <rpluim@gmail.com> (tiny change)
142
143 * calendar/todo-mode.el (todo-item-done): When done items are
144 hidden, restore point to its location prior to invoking this
145 command. (Bug#19727)
146
147 2015-02-04 Eli Zaretskii <eliz@gnu.org>
148
149 * textmodes/artist.el (artist-ellipse-compute-fill-info): Use
150 mapcar, not mapc, to create the other half of fill-info.
151 (Bug#19763)
152
153 2015-02-04 Nicolas Petton <nicolas@petton.fr>
154
155 * emacs-lisp/authors.el (authors-ignored-files)
156 (authors-renamed-files-alist): Additions.
157
158 2015-02-03 Michael Albinus <michael.albinus@gmx.de>
159
160 * net/tramp.el (tramp-ssh-controlmaster-options): Don't use a
161 tempfile for ControlPath. (Bug#19702)
162
163 2015-02-02 Michael Albinus <michael.albinus@gmx.de>
164
165 * net/tramp.el (tramp-ssh-controlmaster-options): Use "%C" for
166 ControlPath if possible. (Bug#19702)
167
168 2015-02-02 Glenn Morris <rgm@gnu.org>
169
170 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
171 (authors-valid-file-names, authors-renamed-files-alist): Additions.
172
173 2015-02-01 Alan Mackenzie <acm@muc.de>
174
175 CC Mode: Stop Font Lock forcing fontification from BOL. Fixes
176 debbugs#19669.
177
178 * progmodes/cc-mode.el (c-font-lock-init): Setq
179 font-lock-extend-region-functions to nil.
180
181 2015-01-31 Alan Mackenzie <acm@muc.de>
182
183 Handle "#" operator properly inside macro. Fix coding bug.
184
185 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP): On
186 finding a "#" which looks like the start of a macro, check it
187 isn't already inside a macro.
188
189 * progmodes/cc-engine.el (c-state-safe-place): Don't record a new
190 "safe" position into the list of them when this is beyond our
191 current position.
192
193 2015-01-31 Martin Rudalics <rudalics@gmx.at>
194
195 * menu-bar.el (menu-bar-non-minibuffer-window-p): Return nil when
196 the menu frame is dead. (Bug#19728)
197
198 2015-01-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
199
200 python.el: Handle tabs in python-indent-dedent-line.
201
202 * progmodes/python.el (python-indent-dedent-line): Fixes for
203 indentation with tabs. Thanks to <dale@codefu.org> (Bug#19730).
204
205 2015-01-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
206
207 * progmodes/python.el (python-indent-context): Respect user
208 indentation after comment.
209
210 2015-01-29 Tassilo Horn <tsdh@gnu.org>
211
212 * textmodes/reftex-vars.el (featurep): Conditionalize value of
213 reftex-label-regexps in order to stay compatible with XEmacs 21.5
214 which has no explicitly numbered groups in regexps (bug#19714).
215
216 2015-01-28 Tassilo Horn <tsdh@gnu.org>
217
218 * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
219 punctuation syntax since to allow bibtex fields with values such
220 as {Test 1) and 2)} (bug#19205, bug#19707).
221 (reftex--prepare-syntax-tables): New function.
222 (reftex-mode): Use it.
223
224 2015-01-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
225
226 python.el: New non-global state dependent indentation engine.
227 (Bug#18319, Bug#19595)
228
229 * progmodes/python.el (python-syntax-comment-or-string-p): Accept
230 PPSS as argument.
231 (python-syntax-closing-paren-p): New function.
232 (python-indent-current-level)
233 (python-indent-levels): Mark obsolete.
234 (python-indent-context): Return more context cases.
235 (python-indent--calculate-indentation)
236 (python-indent--calculate-levels): New functions.
237 (python-indent-calculate-levels): Use them.
238 (python-indent-calculate-indentation, python-indent-line):
239 (python-indent-line-function): Rewritten to use new API.
240 (python-indent-dedent-line): Simplify logic.
241 (python-indent-dedent-line-backspace): Use `unless`.
242 (python-indent-toggle-levels): Delete function.
243
244 2015-01-22 Wolfgang Jenkner <wjenkner@inode.at>
245
246 * calc/calc-units.el (math-units-in-expr-p)
247 (math-single-units-in-expr-p, math-find-compatible-unit-rec)
248 (math-extract-units): Handle the `neg' operator. (Bug#19582)
249 [Backport]
250
251 2015-01-21 Daniel Koning <dk@danielkoning.com> (tiny change)
252
253 * subr.el (posnp): Correct docstring of `posnp'.
254 (posn-col-row): Make it work with all mouse position objects.
255 * textmodes/artist.el (artist-mouse-draw-continously): Cancel
256 timers if an error occurs during continuous drawing. (Bug#6130)
257
258 2015-01-20 Eli Zaretskii <eliz@gnu.org>
259
260 * button.el (button-activate, push-button): Doc fix. (Bug#19628)
261
262 2015-01-16 Samer Masterson <samer@samertm.com> (tiny change)
263
264 * pcomplete.el (pcomplete-parse-arguments): Parse arguments
265 regardless of pcomplete-cycle-completions's value. (Bug#18950)
266
267 2015-01-13 Michael Albinus <michael.albinus@gmx.de>
268
269 * filenotify.el (file-notify-descriptors, file-notify-handle-event):
270 Adapt docstring.
271 (file-notify--descriptor): New defun.
272 (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
273 Adapt docstring. Handle multiple values for
274 `file-notify-descriptors' entries. (Bug#18880)
275
276 * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
277 `file-notify-descriptors', the implementation has been changed.
278
279 2015-01-13 Juri Linkov <juri@linkov.net>
280
281 * comint.el (comint-history-isearch-search)
282 (comint-history-isearch-wrap): Use field-beginning instead of
283 comint-line-beginning-position.
284 (comint-send-input): Go to the end of the field instead of the end
285 of the line to accept whole multi-line input.
286 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
287 (comint-history-isearch-message): Use field-beginning
288 instead of comint-line-beginning-position - that's more fixes for
289 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
290 (comint-history-isearch-message): Fix args of isearch-message-prefix.
291
292 [Backport]
293
294 2015-01-09 Eli Zaretskii <eliz@gnu.org>
295
296 * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
297 On MS-Windows, bind coding-system-for-read to the console output
298 codepage. (Bug#19458)
299
300 2015-01-08 Eli Zaretskii <eliz@gnu.org>
301
302 * simple.el (line-move-visual): When converting X pixel coordinate
303 to temporary-goal-column, adjust the value for right-to-left
304 screen lines. This fixes vertical-motion, next/prev-line, etc.
305
306 2015-01-06 Glenn Morris <rgm@gnu.org>
307
308 * progmodes/sh-script.el (sh-mode): Doc fix.
309 (sh-basic-indent-line): Handle electric newline. (Bug#18756)
310
311 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
312
313 * emacs-lisp/package.el (package-menu-mode): Use an extra column
314 for the "Version" column, to accomodate date-and-time-based versions.
315
316 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
317
318 Fix dired quoting bug with "Hit`N`Hide". Fixes Bug#19498.
319 * files.el (shell-quote-wildcard-pattern): Also quote "`".
320
321 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
322
323 Unbreak `mouse-action' property in text buttons.
324 * button.el (push-button): Fix regression from 2012-12-06.
325
326 2015-01-01 Eli Zaretskii <eliz@gnu.org>
327
328 * tool-bar.el (tool-bar-local-item)
329 (tool-bar-local-item-from-menu): Call force-mode-line-update to
330 make sure the tool-bar changes show on display.
331
332 2014-12-29 Michael Albinus <michael.albinus@gmx.de>
333
334 Sync with Tramp 2.2.11.
335
336 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
337 Make an alias for `default-toplevel-value' if it doesn't exist.
338
339 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
340 Use `tramp-compat-delete-directory'.
341
342 * net/trampver.el: Update release number.
343
344 2014-12-29 Filipp Gunbin <fgunbin@fastmail.fm>
345
346 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
347 for remote files. (Bug#19449)
348
349 2014-12-28 Eli Zaretskii <eliz@gnu.org>
350
351 * international/mule.el (define-coding-system): Fix typos in the
352 doc string.
353
354 2014-12-28 Kenichi Handa <handa@gnu.org>
355
356 * international/mule.el (define-coding-system): Improve the doc
357 string.
358
359 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
360
361 * progmodes/python.el (python-shell-buffer-substring): Handle
362 cornercase when region sent starts at point-min.
363
364 2014-12-27 Eli Zaretskii <eliz@gnu.org>
365
366 * language/misc-lang.el (composition-function-table): Add Syriac
367 characters and also ZWJ/ZWNJ. See
368 http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
369 for the details.
370
371 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
372
373 python.el: Fix message when sending region.
374
375 * progmodes/python.el (python-shell-send-region): Rename argument
376 send-main from nomain. Fix message.
377 (python-shell-send-buffer): Rename argument send-main from arg.
378
379 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
380
381 python.el: Cleanup temp files even with eval errors.
382
383 * progmodes/python.el (python-shell-send-file): Make file-name
384 mandatory. Fix temp file removal in the majority of cases.
385
386 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
387
388 python.el: Handle file encoding for shell.
389
390 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
391 (python-shell--save-temp-file): Write file with proper encoding.
392 (python-shell-buffer-substring): Add coding cookie for detected
393 encoding to generated content. Fix blank lines when removing
394 if-name-main block.
395 (python-shell-send-file): Handle file encoding.
396 (python-info-encoding-from-cookie)
397 (python-info-encoding): New functions.
398
399 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
400
401 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
402 Use `tramp-rsh-end-of-line', it ought to be more robust.
403
404 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
405
406 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
407 (bug#19397).
408
409 2014-12-23 Michael Albinus <michael.albinus@gmx.de>
410
411 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
412
413 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
414 as end-of-line delimeter for passwords, when running on MS Windows.
415
416 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
417
418 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
419 of indent-line-function (bug#19433).
420
421 2014-12-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
422
423 Fix line numbers on Python shell.
424 * progmodes/python.el (python-shell--save-temp-file): Do not
425 append coding cookie.
426 (python-shell-send-string): Generalize for
427 python-shell-send-region.
428 (python--use-fake-loc): Delete var.
429 (python-shell-buffer-substring): Cleanup fake-loc logic.
430 (python-shell-send-region): Remove fake-loc logic, simplify.
431
432 2014-12-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
433
434 * progmodes/python.el (python-indent-post-self-insert-function):
435 Make colon to re-indent only for dedenters, handling
436 multiline-statements gracefully.
437
438 2014-12-21 Michael Albinus <michael.albinus@gmx.de>
439
440 * net/tramp.el (tramp-handle-insert-file-contents):
441 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
442
443 2014-12-19 Michael Albinus <michael.albinus@gmx.de>
444
445 * net/tramp-sh.el (tramp-send-command-and-read): New optional
446 arg MARKER.
447 (tramp-get-remote-path): Use it.
448
449 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
450
451 * subr.el (redisplay-dont-pause): Mark as obsolete.
452
453 2014-12-17 Michael Albinus <michael.albinus@gmx.de>
454
455 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
456 (tramp-accept-process-output): Use nil as argument for
457 `accept-process-output', when there is a gateway prepended.
458
459 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
460 wrong debug buffer.
461 (tramp-gw-open-connection): Set process coding system 'binary.
462 (tramp-gw-open-network-stream): Handle HTTP error 403.
463
464 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
465 wrong debug buffer.
466 (tramp-maybe-open-connection): Set connection property "gateway".
467
468 2014-12-15 Stefan Monnier <monnier@iro.umontreal.ca>
469
470 * subr.el (sit-for): Tweak docstring (bug#19381).
471
472 2014-12-15 Dmitry Gutov <dgutov@yandex.ru>
473
474 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
475 stage to after `diff-index' (bug#19386).
476
477 2014-12-14 João Távora <joaotavora@gmail.com>
478
479 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
480 `electric-pair-mode' (bug#19356).
481
482 2014-12-12 Michael Albinus <michael.albinus@gmx.de>
483
484 * simple.el (password-word-equivalents): Add "passcode", used for
485 numeric secrets like PINs or RSA tokens.
486
487 2014-12-10 Michael Albinus <michael.albinus@gmx.de>
488
489 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
490 order to determine `tramp-own-remote-path'.
491
492 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
493
494 * progmodes/python.el (python-shell-parse-command):
495 Quote `python-shell-interpreter`. (Bug#19289)
496
497 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
498
499 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
500 of the whole pipe when indenting an opening keyword after a |.
501 Generalize this treatment to opening keywords like "while" (bug#18031).
502
503 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
504
505 * simple.el (newline): Place the hook buffer-locally,
506 to make sure it's first.
507
508 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
509 Fix handling of symbols with different syntax at beginning/end or with
510 symbol rather than word syntax.
511
512 2014-11-30 Eli Zaretskii <eliz@gnu.org>
513
514 * simple.el (line-move): If noninteractive, call line-move-1, not
515 forward-line, since the former is compatible with line-move-visual
516 both in terms of the column to which it moves and the return
517 value. (Bug#19211)
518
519 2014-11-27 Stephen Berman <stephen.berman@gmx.net>
520 Stefan Monnier <monnier@iro.umontreal.ca>
521
522 * outline.el (outline-move-subtree-down): Make sure we can move
523 forward to find the end of the subtree and the insertion point
524 (bug#19102).
525
526 2014-11-27 Leonard Randall <leonard.a.randall@gmail.com>
527
528 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
529 for comment lines non-greedy and stopping at newlines to fix stack
530 overflows with large files. [Backport]
531
532 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
533
534 * progmodes/python.el (python-shell-completion-setup-code):
535 Use __builtin__ module (or builtins in Python 3) and catch all errors
536 when importing readline and rlcompleter.
537
538 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
539
540 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
541 (todo-revert-buffer): New function.
542 (todo-modes-set-1): Use it as the buffer-local value of
543 revert-buffer-function.
544
545 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
546
547 * calendar/todo-mode.el (todo-mode): If called interactively, just
548 display a message saying to call todo-show to enter Todo mode
549 (Bug#19112).
550
551 2014-11-24 Dmitry Gutov <dgutov@yandex.ru>
552
553 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
554 (Bug#18579)
555
556 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
557 files. (Bug#18579)
558
559 2014-11-23 Michael Albinus <michael.albinus@gmx.de>
560
561 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
562 remote `buffer-file-name'.
563
564 2014-11-23 Leo Liu <sdl.web@gmail.com>
565
566 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
567
568 2014-11-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
569
570 Set PYTHONUNBUFFERED on shell startup.
571
572 * progmodes/python.el (python-shell-unbuffered): New var.
573 (python-shell-calculate-process-environment): Use it.
574
575 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
576
577 * net/tramp.el (tramp-action-password): Clean password on subsequent
578 attempts even if there was no wrong password indication. (Bug#19047)
579
580 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
581 fallback.
582 (tramp-open-connection-setup-interactive-shell): No need to check
583 for nil as `tramp-get-remote-locale' return value.
584
585 2014-11-21 Eli Zaretskii <eliz@gnu.org>
586
587 * vc/vc-git.el (vc-git-command, vc-git--call):
588 Bind coding-system-for-read and coding-system-for-write to
589 vc-git-commits-coding-system.
590 (vc-git-previous-revision): Use "~1" instead of "^", since the
591 latter is a special character for MS-Windows system shells.
592
593 2014-11-20 Michael Albinus <michael.albinus@gmx.de>
594
595 Improve XEmacs compatibility.
596
597 * net/tramp.el (tramp-autoload-file-name-handler):
598 Wrap `temporary-file-directory' by `symbol-value', it doesn't
599 exist in XEmacs.
600 (tramp-read-passwd): Don't use `with-timeout-suspend' and
601 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
602 (tramp-time-less-p, tramp-time-subtract): Remove functions.
603 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
604 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
605 * net/tramp-cache.el (tramp-get-file-property):
606 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
607 Use `time-less-p' and `time-subtract, respectively.
608
609 * net/tramp-adb.el (top): Do not require time-date.el.
610
611 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
612
613 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
614 Check, whether `utf-8' is a valid coding system.
615
616 2014-11-19 Eli Zaretskii <eliz@gnu.org>
617
618 * vc/vc.el (vc-retrieve-tag): Doc fix.
619
620 2014-11-17 Eli Zaretskii <eliz@gnu.org>
621
622 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
623 Don't assume --long is the default for "bzr log", always specify
624 it explicitly, in case the user defined an alias for 'log' that
625 uses some other format.
626
627 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
628
629 * progmodes/python.el (python-eldoc--get-doc-at-point):
630 Strip shell output before returning. (bug#18794)
631
632 2014-11-16 Dmitry Gutov <dgutov@yandex.ru>
633
634 Fix indentation before `!=' and after `+='. Originally reported
635 in https://github.com/mooz/js2-mode/issues/174.
636 * progmodes/js.el (js--indent-operator-re): Make assignments and
637 (in)equality operator a separate case.
638 (js--continued-expression-p): Escape the second `+' in the regexp.
639
640 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
641
642 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
643
644 2014-11-15 Andreas Schwab <schwab@linux-m68k.org>
645
646 * version.el (emacs-repository-get-version): Use git rev-parse
647 instead of git log.
648
649 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
650
651 * progmodes/python.el (python-indent-calculate-levels):
652 Fix indentation behavior multiline dedenter statement. (Bug#18432)
653
654 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
655
656 * progmodes/python.el (python-indent-region):
657 Use python-indent-line and skip special cases. (Bug#18843)
658
659 2014-11-15 Michael Albinus <michael.albinus@gmx.de>
660
661 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
662
663 2014-11-15 Peder O. Klingenberg <peder@klingenberg.no>
664
665 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
666 envelope-from when reporting through sendmail (bug#19054).
667
668 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
669
670 * progmodes/python.el (python-ffap-module-path):
671 Use `derived-mode-p' instead of equality test on `major-mode'.
672
673 2014-11-13 Ulrich Müller <ulm@gentoo.org>
674
675 * version.el (emacs-repository-get-version): Call `git log'
676 command with proper format argument (bug#19049).
677
678 2014-11-10 Glenn Morris <rgm@gnu.org>
679
680 * startup.el (command-line): Handle nil elements in load-path.
681
682 2014-11-08 Glenn Morris <rgm@gnu.org>
683
684 * emacs-lisp/bytecomp.el (byte-compile-report-error):
685 Allow the argument to be a string. Due to the vague doc,
686 it was already being used this way.
687
688 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
689
690 * net/tramp.el (tramp-check-cached-permissions): Include hop in
691 the constructed Tramp file name. (Bug#18943)
692
693 2014-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
694
695 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
696 (bug#18952).
697 (cua-set-mark, cua--pre-command-handler-1,cua--post-command-handler-1):
698 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
699
700 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
701
702 * files.el (file-name-non-special): Wrap the call of
703 `insert-file-contents' by `unwind-protect', in order to set the
704 buffer's file name anyway. (Bug#18891)
705
706 2014-11-07 Daiki Ueno <ueno@gnu.org>
707
708 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
709 (bug#18979). Reported by Hideki Saito.
710
711 2014-10-18 Alan Mackenzie <acm@muc.de>
712
713 Check that a "macro" found near point-min isn't a ## operator.
714 Fixes bug #18749. Backported from trunk, 2014-11-05.
715 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
716 (c-beginning-of-macro): Use the above new function.
717
718 2014-11-05 Alan Mackenzie <acm@muc.de>
719
720 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
721 * progmodes/cc-fonts.el (c-font-lock-declarations):
722 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
723 the buffer is sometimes narrowed to less than "limit" (e.g., in
724 the presence of macros).
725
726 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
727
728 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
729 only when message appeared in minibuffer. (Bug#18891)
730
731 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
732 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
733 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
734 case of errors.
735
736 2014-11-04 Eli Zaretskii <eliz@gnu.org>
737
738 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
739 returned by load-average.
740
741 2014-11-04 Michael Albinus <michael.albinus@gmx.de>
742
743 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
744 a local copy; setting `inhibit-file-name-handlers' proper might be
745 more performant. (Bug#18751)
746
747 2014-11-04 Glenn Morris <rgm@gnu.org>
748
749 * mail/emacsbug.el (report-emacs-bug): No longer include
750 recent-keys in the report. (Bug#18900)
751
752 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
753
754 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
755 local copy of FILENAME, when it is remote. (Bug#18751)
756
757 2014-11-02 Michael Albinus <michael.albinus@gmx.de>
758
759 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
760 an error when the command fails; the return code must indicate.
761 (tramp-adb-send-command-and-check): Fix docstring.
762
763 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
764
765 * net/tramp-cache.el (tramp-get-file-property)
766 (tramp-set-file-property): Check, that `tramp-cache-get-count-*'
767 and `tramp-cache-set-count-*' are bound. Otherwise, there might
768 be compiler warnings.
769
770 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
771 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
772
773 2014-11-01 Eli Zaretskii <eliz@gnu.org>
774
775 * progmodes/compile.el (compilation-mode): Turn off deferred
776 fontifications locally. (Bug#18856)
777
778 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
779
780 * net/tramp-sh.el (tramp-send-command): Fix the case where the
781 remote-echo connection property is non-nil (bug#18858).
782
783 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
784
785 Backport Tramp changes from trunk.
786
787 * net/tramp.el (tramp-methods): Tweak docstring.
788 (tramp-file-name-handler): Apply `cons' where appropriate.
789 (tramp-handle-file-accessible-directory-p): Check for
790 `file-readable-p' instead of `file-executable-p'.
791 (tramp-handle-shell-command): Use `display-buffer'. (Bug#18326)
792 (tramp-handle-unhandled-file-name-directory): Return "/".
793 (tramp-check-cached-permissions):
794 Use `tramp-compat-file-attributes'.
795 (tramp-call-process): Add new argument VEC. Adapt callees in all
796 tramp*.el files.
797
798 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
799 (tramp-adb-handle-write-region): Improve messages.
800 (tramp-adb-maybe-open-connection): Don't set
801 `tramp-current-*' variables.
802
803 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
804 Suppress debug messages.
805
806 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
807 (tramp-ftp-file-name-handler):
808
809 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
810 (tramp-gvfs-methods-mounttracker)
811 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
812 during initialization. (Bug#18774)
813 (tramp-gvfs-handle-delete-file): Flush file properties, not
814 directory properties.
815 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
816 reading "unix::mode".
817 (tramp-gvfs-handle-file-name-all-completions):
818 Use "-h" option for "gvfs-ls".
819 (tramp-gvfs-url-file-name): Apply `cons' where appropriate.
820 `user' and `localname' could be nil.
821 (tramp-gvfs-send-command): Simplify traces.
822
823 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
824 (vc-git-program, vc-hg-program): Declare.
825 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
826 (tramp-methods) <nc>: Add new method.
827 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
828 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
829 `tramp-login-args'.
830 (tramp-default-user-alist): Add "nc".
831 (top): Remove completion function for "sftp". Add completion
832 functions for "nc" and "psftp".
833 (tramp-sh-handle-set-visited-file-modtime):
834 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
835 (tramp-do-copy-or-rename-file-out-of-band):
836 Use cached "remote-copy-args" value, if available. (Bug#18199)
837 Tweak docstring. Implement support for "nc" method.
838 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
839 (tramp-remote-coding-commands, tramp-call-local-coding-command):
840 Tweak docstring.
841 (tramp-sh-handle-start-file-process): Expand `default-directory'.
842 (tramp-sh-handle-write-region): Tweak error message.
843 (tramp-sh-handle-vc-registered): Remove backends when the remote
844 binary does not exist.
845 (tramp-open-connection-setup-interactive-shell):
846 Prefer utf-8 coding. (Bug#17859)
847 (tramp-find-inline-encoding): Do not raise an error.
848 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
849 the "nc" case. Quote result also locally.
850 (tramp-get-remote-id): Check also for "gid".
851 (tramp-get-remote-python):
852
853 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
854 (tramp-smb-handle-set-file-acl): Use `start-process'.
855 (tramp-smb-handle-insert-directory): Use progress reporter.
856 (tramp-smb-handle-rename-file): Flush also file properties of
857 FILENAME.
858
859 * net/trampver.el: Update release number.
860
861 2014-11-01 Reuben Thomas <rrt@sc3d.org>
862
863 * net/tramp.el (tramp-handle-file-symlink-p):
864 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
865 about VMS, which we no longer support.
866
867 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
868
869 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
870 the global vc-handled-backends (bug#18535).
871
872 2014-11-01 Jérémy Compostella <jeremy.compostella@intel.com>
873 Michael Albinus <michael.albinus@gmx.de>
874
875 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
876 Reduce the amount of set environment variable commands.
877
878 2014-11-01 Paul Eggert <eggert@cs.ucla.edu>
879
880 * net/tramp-sh.el (tramp-get-remote-touch): Omit unnecessary call to
881 current-time.
882
883 2014-11-01 Emilio C. Lopes <eclig@gmx.net>
884
885 * net/tramp-sh.el (tramp-get-remote-python): Also search for
886 executables named "python2" or "python3".
887 (tramp-get-remote-uid-with-python): Use parentheses around
888 arguments to `print' to make it compatible with Python 3.
889 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
890
891 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
892
893 * simple.el (newline): Add assertions to try and help catch bug#18913.
894
895 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
896 (bug#18886).
897 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
898
899 2014-10-31 Eli Zaretskii <eliz@gnu.org>
900
901 * Makefile.in (repo-update): Fix a typo and slightly reword
902 commentary.
903
904 2014-10-31 Eric S. Raymond <esr@thyrsus.com>
905
906 * Makefile.in: Change some production names so they're neutral
907 about the repository type.
908
909 2014-10-30 Kim F. Storm <storm@cua.dk>
910
911 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
912 * delsel.el (delete-selection-save-to-register)
913 (delsel--replace-text-or-position): New vars.
914 (delete-active-region): Use them.
915 (delete-selection-repeat-replace-region): New command, moved from
916 cua-base.el.
917 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
918 (cua-repeat-replace-region): Move command to delsel.el.
919 (cua--init-keymaps): Update binding accordingly.
920 (cua-mode): Set delete-selection-save-to-register.
921
922 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
923
924 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
925 (c-lang-defconst):
926 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
927
928 2014-10-29 Eli Zaretskii <eliz@gnu.org>
929
930 * progmodes/compile.el (compilation-start):
931 If compilation-scroll-output is non-nil, don't force window-start of
932 the compilation buffer to be at beginning of buffer. (Bug#18874)
933
934 2014-10-23 Tassilo Horn <tsdh@gnu.org>
935
936 * doc-view.el (doc-view-open-text): View the document's plain text
937 in the current buffer instead of a new one.
938 (doc-view-toggle-display): Handle the case where the current
939 buffer contains the plain text contents of the document.
940 (doc-view-initiate-display): Don't switch to fallback mode if the
941 user wants to view the doc's plain text. [Backport]
942
943 2014-10-23 Eli Zaretskii <eliz@gnu.org>
944
945 * startup.el (fancy-about-text): Read the entire tutorial, not
946 just its first 256 bytes. (Bug#18760)
947
948 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
949
950 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
951 * emacs-lisp/cl-extra.el: Add missing provide.
952
953 2014-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
954
955 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
956 all args are copyable (bug#18767).
957 (=, <, >, <=, >=): Re-enable the optimization.
958
959 2014-10-20 Santiago Payà i Miralta <santiagopim@gmail.com>
960
961 * vc/vc-hg.el (vc-hg-log-graph): New var.
962 (vc-hg-print-log): Use it.
963 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
964 graph output (bug#17515).
965
966 2014-10-20 Juri Linkov <juri@jurta.org>
967
968 * vc/diff-mode.el (diff-refine-changed): Rename from
969 `diff-refine-change' for consistency with `diff-changed'.
970 (diff-refine-change): Add obsolete face alias. (Bug#10181)
971
972 * vc/smerge-mode.el (smerge-refined-changed): Rename from
973 `smerge-refined-change'.
974 (smerge-refined-change): Add obsolete face alias.
975
976 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
977
978 * subr.el (call-process-shell-command, process-file-shell-command):
979 Make the `args' obsolete (bug#18409).
980 (start-process-shell-command, start-file-process-shell-command):
981 Use `declare'.
982
983 2014-10-20 Juanma Barranquero <lekktu@gmail.com>
984
985 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
986
987 2014-10-20 Glenn Morris <rgm@gnu.org>
988
989 * dired.el (dired-read-regexp): Make obsolete.
990 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
991 (dired-flag-files-regexp):
992 * dired-aux.el (dired-mark-read-regexp):
993 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
994
995 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
996
997 * progmodes/python.el (inferior-python-mode): Use add-hook.
998
999 * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
1000
1001 2014-10-20 Glenn Morris <rgm@gnu.org>
1002
1003 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
1004 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
1005 * emulation/ws-mode.el: Move to obsolete/. [Backport]
1006
1007 2014-10-20 Glenn Morris <rgm@gnu.org>
1008
1009 * cus-start.el (history-length): Bump :version. [Backport]
1010
1011 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
1012
1013 * obsolete/cc-compat.el: Make obsolete (bug#18561).
1014
1015 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
1016
1017 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
1018 case (bug#18767).
1019
1020 2014-10-20 Glenn Morris <rgm@gnu.org>
1021
1022 * Version 24.4 released.
1023
1024 2014-10-15 Alan Mackenzie <acm@muc.de>
1025
1026 * cus-edit.el (custom-command-apply): Specify the return value in
1027 the doc string.
1028 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
1029 custom-command-apply has returned non-nil.
1030
1031 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
1032
1033 * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
1034 Backported (bug#18688).
1035
1036 2014-10-14 Eli Zaretskii <eliz@gnu.org>
1037
1038 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
1039 Force bidi-paragraph-direction to 'left-to-right'. This fixes
1040 buffer-menu display when the first buffer happens to start with
1041 R2L letter.
1042
1043 2014-10-13 Glenn Morris <rgm@gnu.org>
1044
1045 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
1046 (authors-obsolete-files-regexps): Additions.
1047 (authors-no-scan-regexps): New constant.
1048 (authors-no-scan-file-p): New function.
1049 (authors): Respect authors-no-scan-file-p.
1050
1051 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1052
1053 Fix import completion. (Bug#18582)
1054 * progmodes/python.el (python-shell-completion-get-completions):
1055 Fix import case regexp.
1056
1057 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1058
1059 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
1060 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
1061 * progmodes/prolog.el (prolog-electric--underscore): Same.
1062
1063 2014-10-09 Glenn Morris <rgm@gnu.org>
1064
1065 * frame.el (display-monitor-attributes-list): Doc tweaks.
1066
1067 2014-10-08 Eli Zaretskii <eliz@gnu.org>
1068
1069 * faces.el (display-grayscale-p): Mention in the doc string that
1070 the argument can be either a display name or a frame.
1071
1072 * frame.el (display-pixel-height, display-pixel-width)
1073 (display-mm-height, display-mm-width, display-backing-store)
1074 (display-save-under, display-planes, display-color-cells)
1075 (display-visual-class, display-monitor-attributes-list)
1076 (display-screens): Mention in the doc string that the argument can
1077 be either a display name or a frame. Improve the docs of the
1078 monitor attributes. (Bug#18636)
1079
1080 2014-10-06 Martin Rudalics <rudalics@gmx.at>
1081
1082 * term.el (term-window-width): Subtract 1 from the width when
1083 any fringe has zero width, not just the right fringe. (Bug#18601)
1084
1085 2014-10-05 Leo Liu <sdl.web@gmail.com>
1086
1087 * imenu.el (imenu-default-goto-function): Fix typo.
1088
1089 2014-10-04 Glenn Morris <rgm@gnu.org>
1090
1091 * frame.el (frame-monitor-attributes)
1092 (display-monitor-attributes-list): Doc fixes.
1093
1094 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
1095
1096 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
1097 (vc-svn-ignore): Use it. (Bug#18619)
1098
1099 2014-10-03 Martin Rudalics <rudalics@gmx.at>
1100
1101 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1102 In doc-string mention need to set `frame-resize-pixelwise'.
1103
1104 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1105
1106 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
1107 similarly to Rogers's 2010-06-16 change for the remote case
1108 (bug#18605).
1109
1110 2014-10-01 Glenn Morris <rgm@gnu.org>
1111
1112 * emacs-lisp/package.el (package-import-keyring):
1113 Create gnupg directory private. (Bug#17625#155)
1114
1115 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1116
1117 * progmodes/python.el (python-shell-completion-get-completions):
1118 Use python-shell--prompt-calculated-input-regexp from the
1119 process buffer (bug#18582).
1120 Don't assume that `line' comes from the process buffer.
1121
1122 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
1123
1124 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
1125 (bug#18462).
1126
1127 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1128
1129 * emacs-lisp/package.el (package-check-signature): Default to nil if
1130 GPG is not available.
1131 (package-refresh-contents): Don't mess with the keyring if we won't
1132 check the signatures anyway.
1133
1134 2014-09-18 Kan-Ru Chen <kanru@kanru.info>
1135
1136 * window.el (fit-window-to-buffer): When counting buffer width,
1137 count the whole visible buffer. Correctly convert the body-height
1138 to pixel size for window-text-pixel-size (Bug#18498).
1139
1140 2014-09-14 Glenn Morris <rgm@gnu.org>
1141
1142 * image.el (image-multi-frame-p): Fix thinko - do not force
1143 a delay if none was specified. (Bug#18334)
1144
1145 2014-09-12 Kan-Ru Chen <kanru@kanru.info>
1146
1147 * window.el (fit-window-to-buffer): Doc fix.
1148
1149 2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change)
1150
1151 * desktop.el (desktop-create-buffer): Check that buffers are still live
1152 before burying them (bug#18373).
1153
1154 2014-09-09 Glenn Morris <rgm@gnu.org>
1155
1156 * calendar/diary-lib.el (diary-list-entries):
1157 Restore 24.3 display behavior. (Bug#18381)
1158
1159 2014-09-09 Eli Zaretskii <eliz@gnu.org>
1160
1161 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
1162 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
1163 discrepancy between window-pixel-edges and mouse events, and
1164 avoids moving mode line up when the mouse click is on the modeline
1165 and no drag is attempted.
1166
1167 2014-09-08 Glenn Morris <rgm@gnu.org>
1168
1169 * calendar/calendar.el (calendar-basic-setup):
1170 Avoid clobbering calendar with diary. (Bug#18381)
1171
1172 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1173
1174 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
1175
1176 2014-09-04 Lars Ljung <lars@matholka.se> (tiny change)
1177
1178 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
1179 as well (bug#18400).
1180
1181 2014-09-04 Eli Zaretskii <eliz@gnu.org>
1182
1183 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
1184
1185 2014-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
1186
1187 * emacs-lisp/package.el (package-generate-description-file):
1188 Properly quote the arguments (bug#18332). Change second arg.
1189 (package--alist-to-plist-args): Rename from package--alist-to-plist and
1190 quote the elements.
1191 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
1192 the *-pkg.el file. Adjust to new calling convention of
1193 package-generate-description-file.
1194
1195 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
1196 (gud-gdb-completions): Remove obsolete workaround.
1197
1198 2014-09-02 Eli Zaretskii <eliz@gnu.org>
1199
1200 * subr.el (posn-col-row): Revert the change from commit
1201 2010-11-13T21:07:58Z!eliz@gnu.org, which
1202 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
1203 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
1204 introduced an off-by-one error in the reported row when there is a
1205 header line. (Bug#18384)
1206
1207 2014-09-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
1208
1209 * progmodes/python.el (python-indent-post-self-insert-function):
1210 Avoid electric colon at beginning-of-defun. (Bug#18228)
1211
1212 2014-09-01 Glenn Morris <rgm@gnu.org>
1213
1214 * tutorial.el (tutorial--display-changes):
1215 Fix 2014-07-29 change. (Bug#18382)
1216
1217 2014-08-29 Ken Brown <kbrown@cornell.edu>
1218
1219 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
1220 the Cygwin-w32 build. (Bug#18347)
1221
1222 2014-08-28 Glenn Morris <rgm@gnu.org>
1223
1224 * tar-mode.el (tar--extract, tar-extract):
1225 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
1226
1227 2014-08-27 Michael Albinus <michael.albinus@gmx.de>
1228
1229 * emacs-lisp/authors.el (authors-aliases): Addition.
1230
1231 * net/tramp-adb.el: Spell author name correctly.
1232
1233 2014-08-27 João Távora <joaotavora@gmail.com>
1234
1235 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
1236 use url-expand-file-name. (Bug#18310)
1237
1238 2014-08-25 Glenn Morris <rgm@gnu.org>
1239
1240 * emulation/cua-rect.el (cua--highlight-rectangle):
1241 Avoid error at point-min. (Bug#18309)
1242
1243 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
1244
1245 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
1246 executable-find (bug#18244).
1247
1248 * simple.el (self-insert-uses-region-functions): Defvar.
1249
1250 2014-08-13 Leo Liu <sdl.web@gmail.com>
1251
1252 * speedbar.el (speedbar-generic-list-tag-p): Allow special
1253 elements from imenu.
1254
1255 2014-08-11 Glenn Morris <rgm@gnu.org>
1256
1257 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
1258
1259 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
1260 chose coding system for writing before backing up, since it causes
1261 a more serious problem than the one it solves. (Closes Bug#18141,
1262 reopens Bug#13522.)
1263
1264 2014-08-10 Martin Rudalics <rudalics@gmx.at>
1265
1266 * window.el (window-total-size): Make doc-string more
1267 self-contained.
1268
1269 2014-08-09 Martin Rudalics <rudalics@gmx.at>
1270
1271 * window.el (display-buffer-below-selected): Restore original
1272 behavior if buffer is already displayed in the window below the
1273 selected one (Bug#18181).
1274
1275 2014-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1276
1277 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
1278 event (bug#18212).
1279
1280 2014-08-08 Eli Zaretskii <eliz@gnu.org>
1281
1282 * info.el (info): Doc fix.
1283
1284 2014-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1285
1286 * info.el (Info-mode-map): Override a global down-mouse-2 binding
1287 (bug#18212).
1288
1289 2014-08-05 Eli Zaretskii <eliz@gnu.org>
1290
1291 * simple.el (default-line-height): A floating-point value of
1292 line-spacing means a fraction of the default frame font's height,
1293 not of the font currently used by the 'default' face.
1294 Truncate the pixel value, like the display engine does.
1295 (window-screen-lines): Use window-inside-pixel-edges for
1296 determining the window height in pixels. (Bug#18195)
1297
1298 2014-07-29 Eli Zaretskii <eliz@gnu.org>
1299
1300 * tutorial.el (tutorial--display-changes): Accept punctuation
1301 characters before the key binding. (Bug#18146)
1302
1303 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
1304
1305 * doc-view.el (doc-view-open-text): Don't require that the
1306 document is saved in a file (e.g., email attachment).
1307
1308 2014-07-27 Eli Zaretskii <eliz@gnu.org>
1309
1310 * window.el (window--pixel-to-total): Use FRAME's root window, not
1311 that of the selected frame. (Bug#18112, Bug#16674)
1312
1313 2014-07-27 Andreas Schwab <schwab@linux-m68k.org>
1314
1315 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
1316 (Bug#18117)
1317
1318 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1319
1320 * progmodes/python.el (inferior-python-mode): Doc fix.
1321
1322 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
1323
1324 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
1325 not a character, ignore it instead of raising an error.
1326
1327 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
1328
1329 * calendar/todo-mode.el: Fix handling of marked items and make
1330 minor code improvements.
1331 (todo-edit-item): If there are marked items, ensure user can only
1332 invoke editing commands that work with marked items.
1333 (todo-edit-item--text): When there are marked items, make it a
1334 noop if invoked with point not on an item; otherwise, ensure it
1335 applies only to item at point.
1336 (todo-item-undone): If there are marked not-done items, return
1337 point to its original position before signaling user error.
1338 (todo--user-error-if-marked-done-item): New function.
1339 (todo-edit-item--header, todo-edit-item--diary-inclusion)
1340 (todo-item-done): Use it.
1341
1342 2014-07-25 Glenn Morris <rgm@gnu.org>
1343
1344 * files.el (toggle-read-only): Re-add basic doc-string.
1345 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
1346
1347 * progmodes/prolog.el (prolog-mode-keybindings-edit):
1348 Replace missing `switch-to-prolog' with `run-prolog'.
1349 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
1350
1351 2014-07-22 Stephen Berman <stephen.berman@gmx.net>
1352
1353 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
1354 of file-wide setting when changing category-wide setting.
1355
1356 2014-07-21 Glenn Morris <rgm@gnu.org>
1357
1358 * progmodes/hideif.el (hide-ifdef-mode-submap):
1359 Also substitute read-only-mode.
1360 * bindings.el (mode-line-toggle-read-only):
1361 * bs.el (bs-toggle-readonly):
1362 * buff-menu.el (Buffer-menu-toggle-read-only):
1363 * dired.el (dired-toggle-read-only):
1364 * files.el (view-read-only, find-file-read-only)
1365 (find-file-read-only-other-window)
1366 (find-file-read-only-other-frame):
1367 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
1368 Doc fixes re toggle-read-only.
1369
1370 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1371
1372 * progmodes/python.el: Add comment about pipe buffering and
1373 solutions for missing/delayed output in inferior Python shells.
1374 (Bug#17304)
1375
1376 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1377
1378 * progmodes/python.el (python-mode): Don't set
1379 mode-require-final-newline. (Bug#17990)
1380
1381 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1382
1383 Make python.el work with IPython automatically. (Bug#15510)
1384 * progmodes/python.el:
1385 (python-shell-completion-setup-code): New value supporting iPython.
1386 (python-shell-completion-string-code): New value supporting iPython.
1387 (python-shell-completion-get-completions): Use them.
1388 (python-shell-completion-module-string-code): Make obsolete.
1389 (python-shell-prompt-input-regexps)
1390 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
1391 (python-shell-output-filter): Fix comment typo.
1392
1393 2014-07-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
1394
1395 Fix Python shell prompts detection for remote hosts.
1396 * progmodes/python.el (python-shell-prompt-detect):
1397 Replace call-process with process-file and make it more robust.
1398
1399 2014-07-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1400
1401 Autodetect Python shell prompts. (Bug#17370)
1402 * progmodes/python.el:
1403 (python-shell-interpreter-interactive-arg)
1404 (python-shell-prompt-detect-enabled)
1405 (python-shell-prompt-detect-failure-warning)
1406 (python-shell-prompt-input-regexps)
1407 (python-shell-prompt-output-regexps): New vars.
1408 (python-shell-prompt-calculated-input-regexp)
1409 (python-shell-prompt-calculated-output-regexp): New vars.
1410 (python-shell-get-process-name)
1411 (python-shell-internal-get-process-name)
1412 (python-shell-output-filter)
1413 (python-shell-completion-get-completions): Use them.
1414 (python-shell-prompt-detect)
1415 (python-shell-prompt-validate-regexps): New functions.
1416 (python-shell-prompt-set-calculated-regexps): New function.
1417 (inferior-python-mode): Use it. Also honor overridden
1418 python-shell-interpreter and python-shell-interpreter-args.
1419 (python-shell-make-comint): Honor overridden
1420 python-shell-interpreter and python-shell-interpreter-args.
1421 (python-shell-get-or-create-process): Make it testable by allowing
1422 to call run-python non-interactively.
1423 (python-util-valid-regexp-p): New function.
1424 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
1425 (python-shell-prompt-output-regexp)
1426 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
1427
1428 2014-07-16 Glenn Morris <rgm@gnu.org>
1429
1430 * desktop.el (after-init-hook): Disable startup frame restoration
1431 in non-graphical situations. (Bug#17693)
1432
1433 2014-07-14 Glenn Morris <rgm@gnu.org>
1434
1435 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
1436 if it was "empty", or used for a different set of files. (Bug#17884)
1437
1438 2014-07-13 Eli Zaretskii <eliz@gnu.org>
1439
1440 * bindings.el (mode-line-remote): If default-directory is not a
1441 string, don't call file-remote-p on it; instead state in the
1442 help-echo that it is nil. (Bug#17986)
1443
1444 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
1445
1446 Fix bug: C-x v v discarded existing log message (Bug#17884).
1447 * vc/vc-dispatcher.el (vc-log-edit):
1448 Don't clobber an already-existing log message.
1449
1450 2014-07-10 Glenn Morris <rgm@gnu.org>
1451
1452 * vc/log-edit.el (log-edit-changelog-entries):
1453 Check for a visited-but-never-saved ChangeLog.
1454
1455 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1456
1457 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
1458 a non-existing file (bug#17970).
1459
1460 * faces.el (face-name): Undo last change.
1461 (x-resolve-font-name): Don't call face-name (bug#17956).
1462
1463 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
1464
1465 Fix dedenters and electric colon handling. (Bug#15163)
1466
1467 * progmodes/python.el
1468 (python-rx-constituents): Add dedenter and block-ender.
1469 (python-indent-dedenters, python-indent-block-enders): Delete.
1470 (python-indent-context): Return new case for dedenter-statement.
1471 (python-indent-calculate-indentation): Handle new case.
1472 (python-indent-calculate-levels): Fix levels calculation for
1473 dedenter statements.
1474 (python-indent-post-self-insert-function): Fix colon handling.
1475 (python-info-dedenter-opening-block-message): New function.
1476 (python-indent-line): Use it.
1477 (python-info-closing-block)
1478 (python-info-closing-block-message): Remove.
1479 (python-info-dedenter-opening-block-position)
1480 (python-info-dedenter-opening-block-positions)
1481 (python-info-dedenter-statement-p): New functions.
1482
1483 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1484
1485 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
1486 the middle of a line (bug#17896).
1487
1488 2014-07-08 Juri Linkov <juri@jurta.org>
1489
1490 * startup.el (command-line): Append displaying the warning about
1491 the errors in the init file to the end of `after-init-hook'.
1492 (Bug#17927)
1493
1494 2014-07-08 Juri Linkov <juri@jurta.org>
1495
1496 * faces.el (face-name): Return input arg `face' as is
1497 when it's not a symbol.
1498 (x-resolve-font-name): Don't check if the face is a symbol.
1499 (Bug#17956)
1500
1501 2014-07-08 Juri Linkov <juri@jurta.org>
1502
1503 * facemenu.el (list-colors-print): In help-echo format use %.2f
1504 instead of %d because now HSV values are floating-point components
1505 between 0.0 and 1.0.
1506
1507 2014-07-06 Glenn Morris <rgm@gnu.org>
1508
1509 * emulation/cua-rect.el (cua--activate-rectangle):
1510 Avoid setting cua--rectangle to nil. (Bug#17877)
1511
1512 2014-07-06 Stephen Berman <stephen.berman@gmx.net>
1513
1514 * calendar/todo-mode.el: Fix wrong-type-argument error when
1515 marking multiple consecutive items.
1516 (todo-toggle-mark-item): Don't try to mark the empty lines at the
1517 end of the todo and done items sections. Note in doc string that
1518 items marked by passing a numeric prefix argument can include the
1519 last todo and first done items.
1520 (todo-mark-category): Don't try to mark the empty line between the
1521 todo and done items sections.
1522
1523 2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1524
1525 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
1526 proper Lisp quoting (bug#17934).
1527
1528 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
1529 require-final-newline since prog-mode already took care of it (bug#17947).
1530
1531 2014-07-04 Stephen Berman <stephen.berman@gmx.net>
1532
1533 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
1534 refer to the Todo mode Info manual. Update the comment on
1535 requiring cl-lib.
1536 (todo-find-filtered-items-file): Add todo-prefix overlays.
1537 (todo-filter-items): Reorder a let-bound variable to avoid a
1538 wrong-type-argument error on canceling the file choice dialog.
1539
1540 2014-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1541
1542 * progmodes/octave.el (inferior-octave-mode):
1543 Set comint-input-ring-size to a number (bug#17912).
1544
1545 2014-07-03 Juri Linkov <juri@jurta.org>
1546
1547 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
1548 and `isearch-mode' associated with nil. (Bug#17849)
1549
1550 2014-07-02 Juri Linkov <juri@jurta.org>
1551
1552 * desktop.el (desktop-save): Rename arg `auto-save' to
1553 `only-if-changed'. Doc fix. (Bug#17873)
1554
1555 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1556
1557 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
1558 Use insert-for-yank (bug#17271).
1559
1560 2014-07-02 Leo Liu <sdl.web@gmail.com>
1561
1562 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
1563 Support lexical-binding.
1564
1565 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1566
1567 * vc/log-edit.el (log-edit-goto-eoh): New function.
1568 (log-edit--match-first-line): Use it (bug#17861).
1569
1570 2014-07-01 Glenn Morris <rgm@gnu.org>
1571
1572 * vc/log-edit.el (log-edit-hook): Add missing :version.
1573
1574 2014-07-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
1575
1576 * progmodes/python.el (python-indent-post-self-insert-function):
1577 Enhancements to electric indentation behavior inside
1578 parens. (Bug#17658)
1579
1580 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1581
1582 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
1583 buffer-invisibility-spec (bug#17867).
1584
1585 2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
1586
1587 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
1588 pass "-a".
1589
1590 2014-06-29 Glenn Morris <rgm@gnu.org>
1591
1592 * cus-edit.el (help):
1593 * finder.el (finder-known-keywords):
1594 * help.el (help-for-help-internal):
1595 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
1596 (ediff-redraw-registry-buffer):
1597 * vc/ediff-ptch.el (ediff-patch-file-internal):
1598 Doc fixes re "online" help. (Bug#17803)
1599
1600 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
1601 (idlwave-mode): Doc URL update.
1602
1603 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
1604
1605 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
1606 account for file-wide setting of todo-top-priorities-overrides.
1607 Make code a bit cleaner.
1608
1609 2014-06-27 Leo Liu <sdl.web@gmail.com>
1610
1611 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
1612
1613 2014-06-27 Glenn Morris <rgm@gnu.org>
1614
1615 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
1616
1617 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
1618
1619 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
1620 category-wide setting of todo-top-priorities-overrides, check for
1621 a file-wide setting and fontify accordingly.
1622
1623 2014-06-26 Glenn Morris <rgm@gnu.org>
1624
1625 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
1626
1627 2014-06-26 Daiki Ueno <ueno@gnu.org>
1628
1629 * emacs-lisp/package.el (package--check-signature):
1630 If package-check-signature is allow-unsigned, don't signal error when
1631 we can't verify signature because of missing public key
1632 (backport for bug#17625).
1633
1634 2014-06-26 Glenn Morris <rgm@gnu.org>
1635
1636 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
1637 Remove outdated declaration.
1638
1639 * emacs-lisp/authors.el (authors-valid-file-names)
1640 (authors-renamed-files-alist): Additions.
1641
1642 2014-06-25 Leo Liu <sdl.web@gmail.com>
1643
1644 * textmodes/picture.el (picture-set-tab-stops):
1645 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
1646 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
1647
1648 * progmodes/asm-mode.el (asm-calculate-indentation):
1649 Use indent-next-tab-stop.
1650
1651 * indent.el (indent-accumulate-tab-stops): New function.
1652
1653 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1654
1655 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
1656 (package-desc-status): Obey it.
1657
1658 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
1659
1660 * calendar/todo-mode.el: Fix two bugs.
1661 (todo-insert-item--basic): If user cancels item insertion to
1662 another category before setting priority, show original category
1663 whether it is in the same or a different file.
1664 (todo-set-item-priority): After selecting category, instead of
1665 moving point to top, which extends an active region, restore it.
1666
1667 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1668
1669 * help-fns.el (describe-function-1): Check file-name is a string before
1670 calling help-fns--autoloaded-p (bug#17564).
1671
1672 2014-06-24 Juri Linkov <juri@jurta.org>
1673
1674 * desktop.el (desktop-auto-save-enable)
1675 (desktop-auto-save-disable): New functions.
1676 (desktop-save-mode, desktop-auto-save-timeout): Use them.
1677 (desktop-read): Disable the autosave before loading the desktop,
1678 and enable afterwards. (Bug#17351)
1679
1680 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
1681
1682 Fix some indentation problem with \; and pipes (bug#17842).
1683 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1684 (sh-smie--default-forward-token, sh-smie--default-backward-token):
1685 New functions.
1686 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1687 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1688 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1689
1690 2014-06-24 Eli Zaretskii <eliz@gnu.org>
1691
1692 * international/fontset.el (script-representative-chars):
1693 Add representative characters for scripts added in Unicode 7.0.
1694 (otf-script-alist): Synchronize with the latest registry of OTF
1695 script tags.
1696
1697 * international/characters.el (char-script-table): Update for
1698 scripts added and codepoint ranges changed in Unicode 7.0.
1699
1700 2014-06-23 Leo Liu <sdl.web@gmail.com>
1701
1702 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
1703 tab-stop-list to nil. (Bug#16381)
1704
1705 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1706 (indent-rigidly-left-to-tab-stop)
1707 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1708 (move-to-tab-stop): Change callers.
1709
1710 2014-06-22 Eli Zaretskii <eliz@gnu.org>
1711
1712 * skeleton.el (skeleton-insert): Yet another fix of the doc string
1713 wrt behavior of \n as the first/last element of a skeleton.
1714
1715 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
1716
1717 * net/tramp-adb.el (tramp-adb-handle-process-file):
1718 * net/tramp-sh.el (tramp-sh-handle-process-file):
1719 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1720 the output buffer when DISPLAY is non-nil. (Bug#17815)
1721
1722 2014-06-21 Glenn Morris <rgm@gnu.org>
1723
1724 * play/landmark.el (landmark-move-down, landmark-move-up):
1725 Fix 2007-10-20 change - preserve horizontal position.
1726
1727 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1728
1729 Fix completion retrieval parsing (bug#17209).
1730 * progmodes/python.el (python-mode):
1731 (python-util-strip-string): New function.
1732 (python-shell-completion-get-completions): Use it.
1733
1734 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1735
1736 * skeleton.el (skeleton-insert): Fix last change.
1737
1738 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1739
1740 Enhancements for outline integration (bug#17796).
1741 * progmodes/python.el (python-mode): Properly set
1742 outline-heading-end-regexp so that comments after colons for
1743 defuns are supported.
1744
1745 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1746
1747 * skeleton.el (skeleton-insert): Doc fix.
1748
1749 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1750
1751 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1752 (smie-config-guess): Use smie-config-local so the rules are obeyed
1753 (bug#17818).
1754
1755 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1756 since it's already done inside the loop (bug#17819).
1757
1758 2014-06-20 Martin Rudalics <rudalics@gmx.at>
1759
1760 * mouse.el (mouse-drag-line): Re-remove code initially removed
1761 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1762 (Bug#17819).
1763
1764 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1765
1766 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1767 align with the surrounding parent (bug#17721).
1768
1769 2014-06-20 Eli Zaretskii <eliz@gnu.org>
1770
1771 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1772 locally to nil.
1773 (texinfo-insert-block, texinfo-insert-@end)
1774 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1775 local setting of skeleton-end-newline by adding an explicit \n to
1776 the skeletons where appropriate. (Bug#17801)
1777
1778 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1779
1780 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1781 (smie-indent--hanging-p): Use it.
1782 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1783
1784 2014-06-20 Leo Liu <sdl.web@gmail.com>
1785
1786 * simple.el (read-quoted-char): Don't let help chars pop up help
1787 buffer. (Bug#16617)
1788
1789 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
1790
1791 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1792 for | (bug#17621).
1793
1794 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1795
1796 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
1797 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
1798 burping.
1799
1800 2014-06-18 Eli Zaretskii <eliz@gnu.org>
1801
1802 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1803 and later. (Bug#17790)
1804
1805 2014-06-18 Juri Linkov <juri@jurta.org>
1806
1807 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1808 to `soft'. (Bug#17554)
1809
1810 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1811
1812 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1813 (bug#17737).
1814
1815 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
1816
1817 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1818 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
1819
1820 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
1821
1822 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1823 `unread-command-events'.
1824
1825 2014-06-14 Glenn Morris <rgm@gnu.org>
1826
1827 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
1828 Replace delete-duplicates and mapcan by cl- versions throughout.
1829 And cl-macroexpand-all by macroexpand-all.
1830 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1831
1832 2014-06-14 Eli Zaretskii <eliz@gnu.org>
1833
1834 * subr.el (posn-col-row): Doc fix. (Bug#17768)
1835
1836 2014-06-14 Juri Linkov <juri@jurta.org>
1837
1838 * bindings.el: Put `ascii-character' property on keypad keys
1839 mapped to characters. (Bug#17759)
1840
1841 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1842
1843 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1844 bumping forward into a closing paren (bug#17761).
1845
1846 * term/xterm.el (xterm--version-handler): Work around for OSX
1847 Terminal.app (bug#17607).
1848
1849 2014-06-08 Glenn Morris <rgm@gnu.org>
1850
1851 * startup.el (initial-buffer-choice): Doc fix.
1852 Reset :version (adding an option does not merit a :version bump).
1853
1854 * bookmark.el (bookmark-load):
1855 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1856
1857 2014-06-06 Juri Linkov <juri@jurta.org>
1858
1859 * desktop.el: Activate auto-saving on window configuration changes.
1860 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1861 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
1862 (desktop-auto-save-set-timer): Change REPEAT arg of
1863 `run-with-idle-timer' from t to nil.
1864 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1865
1866 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
1867
1868 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1869 vc-hg-command (bug#17570).
1870
1871 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1872
1873 * international/mule-cmds.el (ucs-names): Add special entry for BEL
1874 (bug#17702).
1875
1876 2014-06-06 Glenn Morris <rgm@gnu.org>
1877
1878 * startup.el (window-setup-hook): Doc fix.
1879
1880 2014-06-05 Glenn Morris <rgm@gnu.org>
1881
1882 * emacs-lisp/package.el (package-check-signature)
1883 (package-unsigned-archives): Doc fixes.
1884
1885 2014-06-03 Martin Rudalics <rudalics@gmx.at>
1886
1887 * window.el (display-buffer-use-some-window): Don't make window
1888 used smaller than it was before (Bug#17671).
1889
1890 2014-06-03 Eli Zaretskii <eliz@gnu.org>
1891
1892 * menu-bar.el (menu-bar-open): Fix last change: use the PC
1893 'redisplay' instead of '(sit-for 0)'.
1894
1895 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
1896
1897 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
1898 regexp. (Bug#17653)
1899
1900 2014-06-03 Glenn Morris <rgm@gnu.org>
1901
1902 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1903
1904 2014-06-02 Eli Zaretskii <eliz@gnu.org>
1905
1906 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1907
1908 2014-06-01 Eli Zaretskii <eliz@gnu.org>
1909
1910 * simple.el (keyboard-quit): Force update of mode lines, to remove
1911 the "Def" indicator, if we were defining a macro. (Bug#17615)
1912
1913 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1914
1915 * minibuffer.el (minibuffer-force-complete-and-exit):
1916 Obey minibuffer-default (bug#17545).
1917
1918 * progmodes/js.el (js-indent-line): Don't mix columns and chars
1919 (bug#17619).
1920
1921 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1922
1923 * subr.el (set-transient-map): Don't wait for some "nested"
1924 transient-map to finish if we're only supposed to be active for
1925 the next command (bug#17642).
1926
1927 2014-05-31 Leo Liu <sdl.web@gmail.com>
1928
1929 * emacs-lisp/gv.el (window-buffer, window-display-table)
1930 (window-dedicated-p, window-hscroll, window-point, window-start):
1931 Fix gv-expander. (Bug#17630)
1932
1933 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1934
1935 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1936 clicks (bug#17633).
1937
1938 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1939 for the single comma, since ", " is *very* common in normal French text
1940 (bug#17643).
1941
1942 2014-05-30 Glenn Morris <rgm@gnu.org>
1943
1944 * emacs-lisp/package.el (package-check-signature)
1945 (package-unsigned-archives): Fix :version.
1946
1947 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1948
1949 * subr.el (sit-for): Don't run input-methods (bug#15614).
1950
1951 2014-05-28 Glenn Morris <rgm@gnu.org>
1952
1953 * cus-start.el: Fix some :version numbers.
1954
1955 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1956
1957 * simple.el (deactivate-mark): Set mark-active to nil even if
1958 deactivation is done via setting transient-mark-mode to nil,
1959 since one is buffer-local and the other is global.
1960
1961 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1962 there can't be more than 2 arguments (bug#17584).
1963
1964 2014-05-27 Glenn Morris <rgm@gnu.org>
1965
1966 * simple.el (filter-buffer-substring-functions)
1967 (filter-buffer-substring-function, buffer-substring-filters)
1968 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1969
1970 * minibuffer.el (completion-in-region-functions, completion-in-region)
1971 (completion--in-region): Doc fixes.
1972
1973 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1974 (expand-abbrev, abbrev--default-expand): Doc fixes.
1975
1976 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
1977
1978 Include sources used to create macuvs.h.
1979 * international/README: Refer to the Unicode Terms of Use rather
1980 than copying it bodily here, as that simplifies maintenance.
1981
1982 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1983
1984 * cus-face.el (custom-face-attributes): Add :distant-foreground.
1985
1986 2014-05-25 Martin Rudalics <rudalics@gmx.at>
1987
1988 * window.el (window--dump-frame): Remove interactive
1989 specification.
1990
1991 2014-05-23 Glenn Morris <rgm@gnu.org>
1992
1993 * hippie-exp.el (he-line-search-regexp):
1994 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
1995
1996 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1997
1998 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1999 to avoid errors when trying to create or visit a file foo.todo
2000 located outside to todo-directory, and to allow having such files
2001 without them being tied to Todo mode (bug#17482).
2002 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
2003 (todo-archive-done-item, todo-find-filtered-items-file)
2004 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
2005 (todo-category-completions, todo-read-category): When visiting a
2006 Todo file, make sure we're in the right mode and the buffer local
2007 variables are set.
2008 (todo-make-categories-list, todo-reset-nondiary-marker)
2009 (todo-reset-done-string, todo-reset-comment-string):
2010 After processing all Todo files, kill the buffers of those files that
2011 weren't being visited before the processing.
2012 (todo-display-as-todo-file, todo-add-to-buffer-list)
2013 (todo-visit-files-commands): Comment out.
2014 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
2015 (auto-mode-alist): Remove add-to-list calls making Todo file
2016 extensions unrestrictedly tied to Todo modes.
2017
2018 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
2019
2020 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
2021 (advice-function-member-p): Tell it to check both names and functions
2022 (bug#17531).
2023 (advice--add-function): Adjust call accordingly.
2024
2025 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
2026
2027 * calendar/todo-mode.el: Miscellaneous bug fixes.
2028 (todo-delete-file): When deleting an archive but not its todo
2029 file, make sure to update the todo file's category sexp.
2030 (todo-move-category): Keep the moved category's name unless the
2031 file moved to already has a category with that name. If the
2032 numerically last category of the source file was moved, make the
2033 first category current to avoid selecting a nonexisting category.
2034 (todo-merge-category): Fix implementation to make merging to a
2035 category in another file work as documented. Eliminate now
2036 insufficient and unnecessary renaming of archive category, correct
2037 document string accordingly, and clarify it. If the numerically
2038 last category of the source file was merged, make the first
2039 category current to avoid selecting a nonexisting category.
2040 (todo-archive-done-item): When there are marked items and point
2041 happens to be on an unmarked item, ignore the latter. Don't leave
2042 point below last item after archiving marked items.
2043 (todo-unarchive-items): Fix logic to ensure unarchiving an item
2044 from an archive with only one category deletes the archive only
2045 when the category is empty after unarchiving. Make sure the todo
2046 file's category sexp is updated.
2047 (todo-read-file-name): Allow an existing file name even when it is
2048 not required (todo-move-category needs this to work as documented).
2049 (todo-add-file): Call todo-validate-name to reject the name of an
2050 existing todo file (needed due to fix in todo-read-file-name).
2051 (todo-reset-nondiary-marker): Also reset in filtered items files.
2052 (todo-reset-done-string, todo-reset-comment-string): Also reset in
2053 regexp filtered items files.
2054 (todo-reset-highlight-item): Also reset in filtered items files.
2055 Fix incorrect variable reference in document string.
2056
2057 2014-05-22 Glenn Morris <rgm@gnu.org>
2058
2059 * window.el (window--dump-frame): Avoid error in --without-x builds.
2060
2061 2014-05-21 Glenn Morris <rgm@gnu.org>
2062
2063 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
2064
2065 2014-05-21 Eli Zaretskii <eliz@gnu.org>
2066
2067 * frame.el (set-frame-font): Doc fix.
2068
2069 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
2070
2071 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
2072
2073 * emacs-lisp/package.el (package--download-one-archive):
2074 Use `write-region' instead of `save-buffer' to avoid running various
2075 hooks. (Bug#17155)
2076 (describe-package-1): Same. Insert newline at the end of the
2077 buffer if appropriate.
2078
2079 2014-05-20 Juri Linkov <juri@jurta.org>
2080
2081 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
2082 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
2083 Add more modifiers: meta, control, shift, hyper, super, alt.
2084 (Bug#17439)
2085
2086 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
2087 to allow changing its value with `set-variable'.
2088
2089 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
2090
2091 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
2092 #; comments.
2093 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
2094 New functions.
2095 (scheme-mode-variables): Set syntax-propertize-function instead of
2096 font-lock-syntactic-face-function.
2097 (scheme-font-lock-syntactic-face-function): Delete.
2098
2099 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
2100
2101 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2102
2103 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
2104 (bug#17392).
2105
2106 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
2107
2108 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
2109 for a temporary file name.
2110
2111 2014-05-17 Eli Zaretskii <eliz@gnu.org>
2112
2113 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
2114
2115 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
2116
2117 * net/dbus.el (dbus-init-bus, dbus-call-method)
2118 (dbus-call-method-asynchronously, dbus-send-signal)
2119 (dbus-method-return-internal, dbus-method-error-internal):
2120 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
2121
2122 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2123
2124 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
2125 methods which do not have a doc string. (Bug#17490)
2126
2127 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
2128 Stefan Monnier <monnier@iro.umontreal.ca>
2129
2130 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
2131 suffix (bug#15419).
2132
2133 2014-05-14 Glenn Morris <rgm@gnu.org>
2134
2135 * vc/emerge.el (emerge-temp-file-prefix):
2136 Make pointless option obsolete.
2137 (emerge-temp-file-mode): Make non-functional option obsolete.
2138
2139 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
2140
2141 * net/browse-url.el (browse-url):
2142 Use `unhandled-file-name-directory' when setting `default-directory',
2143 in order to circumvent stalled remote connections. (Bug#17425)
2144
2145 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
2146
2147 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
2148 into autoloading just because of a silly indirection.
2149
2150 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
2151
2152 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
2153
2154 2014-05-11 Glenn Morris <rgm@gnu.org>
2155
2156 * emacs-lisp/find-gc.el: Move to ../admin.
2157
2158 2014-05-10 Glenn Morris <rgm@gnu.org>
2159
2160 * printing.el (pr-version):
2161 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
2162
2163 * net/browse-url.el (browse-url-mosaic):
2164 Create /tmp/Mosaic.PID as a private file.
2165
2166 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
2167
2168 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
2169 (advice--member-p): If name is given, only compare the name.
2170 (advice--remove-function): Don't stop at the first match.
2171 (advice--normalize-place): New function.
2172 (add-function, remove-function): Use it.
2173 (advice--add-function): Pass the name, if any, to
2174 advice--remove-function.
2175
2176 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
2177
2178 * electric.el (electric-indent-post-self-insert-function): Don't use
2179 `pos' after modifying the buffer (bug#17449).
2180
2181 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2182
2183 * subr.el (function-put): Add function.
2184
2185 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
2186
2187 * calendar/todo-mode.el (todo-insert-item-from-calendar):
2188 Correct argument list to conform to todo-insert-item--basic.
2189
2190 2014-05-09 Glenn Morris <rgm@gnu.org>
2191
2192 * files.el (cd-absolute): Test if directory is accessible
2193 rather than executable. (Bug#17330)
2194
2195 * progmodes/compile.el (recompile):
2196 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
2197
2198 2014-05-08 Juri Linkov <juri@jurta.org>
2199
2200 * dired.el (dired-check-switches, dired-switches-recursive-p):
2201 New functions. (Bug#17218)
2202 (dired-switches-escape-p, dired-move-to-end-of-filename):
2203 Use `dired-check-switches'.
2204 (dired-insert-old-subdirs, dired-build-subdir-alist)
2205 (dired-sort-R-check): Use `dired-switches-recursive-p'.
2206
2207 2014-05-08 Glenn Morris <rgm@gnu.org>
2208
2209 * net/browse-url.el (browse-url-mosaic):
2210 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
2211 This is CVE-2014-3423.
2212
2213 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2214
2215 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
2216 (xterm-mouse--read-event-sequence-1000): Return nil if something
2217 looks fishy.
2218 (xterm-mouse-event): Propagate it.
2219 (xterm-mouse-translate-1): Handle it.
2220
2221 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
2222
2223 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
2224 four slots of the parameter list are filled, make sure to pass it
2225 to the argument list of todo-insert-item--basic.
2226
2227 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2228
2229 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
2230 Add optional `seen' argument to detect and break infinite loops.
2231
2232 2014-05-06 Eli Zaretskii <eliz@gnu.org>
2233
2234 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
2235 (trace-unsafe, trace-use-tree): Make parentheses style be
2236 according to Emacs style.
2237
2238 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
2239
2240 * net/tramp-sh.el (tramp-remote-process-environment):
2241 Remove HISTFILE and HISTSIZE; it's too late to set them here.
2242 Add :version entry.
2243 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
2244 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
2245 extra "PSx=..." commands.
2246 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
2247 (Bug#17295)
2248
2249 (tramp-uudecode): Replace the hard-coded temporary file name by a
2250 format specifier.
2251 (tramp-remote-coding-commands): Enhance docstring.
2252 (tramp-find-inline-encoding): Replace "%t" by a temporary file
2253 name. (Bug#17415)
2254 This is CVE-2014-3424.
2255
2256 2014-05-06 Glenn Morris <rgm@gnu.org>
2257
2258 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
2259 (find-gc-source-files): Update some names.
2260 (trace-call-tree): Simplify and update.
2261 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
2262 This is CVE-2014-3422.
2263
2264 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2265
2266 * minibuffer.el (completion--try-word-completion): Revert fix for
2267 Bug#15980 (bug#17375).
2268
2269 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
2270 Always store button numbers in the same way in xterm-mouse-last;
2271 Don't burp is xterm-mouse-last is not set as expected.
2272 Never return negative indices.
2273
2274 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
2275
2276 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2277 Backtrack one char if the global/char-literal var matcher hits
2278 inside a string. The next char could be the beginning of an
2279 expression expansion.
2280
2281 2014-05-05 Glenn Morris <rgm@gnu.org>
2282
2283 * help-fns.el (describe-function-1): Test for an autoload before a
2284 macro, since `macrop' works on autoloads. (Bug#17410)
2285
2286 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2287
2288 * electric.el (electric-indent-functions-without-reindent): Add yaml.
2289
2290 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
2291 Make sure the new point we return is within the new string (bug#17239).
2292
2293 2014-05-03 Eli Zaretskii <eliz@gnu.org>
2294
2295 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
2296
2297 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2298
2299 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2300 Use nil rather than `default' for the "default" appearance (bug#17388).
2301 * vc/ediff-util.el (ediff-inferior-compare-regions)
2302 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
2303 a misleading `default' value when it's really a boolean.
2304 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
2305 overlay is not visible.
2306
2307 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
2308
2309 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
2310 (todo-menu): Uncomment and update.
2311
2312 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
2313
2314 * calendar/todo-mode.el: Reimplement item editing to have the same
2315 basic user interface as item insertion, and make small UI and
2316 larger internal improvements to the latter.
2317 (todo-insert-item): Add reference to the Todo mode user manual to
2318 the documentation string.
2319 (todo-insert-item--basic): Rename from todo-basic-insert-item and
2320 adjust all callers. Change signature to combine diary and
2321 nonmarking arguments. Incorporate functionality of deleted item
2322 copying command and add error checking. Remove detailed
2323 descriptions of the arguments from the documentation string, since
2324 this is treated in the Todo mode user manual.
2325 (todo-copy-item, todo-edit-multiline-item)
2326 (todo-edit-done-item-comment, todo-edit-item-header)
2327 (todo-edit-item-time, todo-edit-item-date-from-calendar)
2328 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
2329 (todo-edit-item-date-year, todo-edit-item-date-month)
2330 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
2331 Remove.
2332 (todo-edit-item): Reimplement as wrapper command for
2333 todo-edit-item--next-key and make it distinguish done and not done
2334 todo items.
2335 (todo-edit-item--text): New function, replacing old command
2336 todo-edit-item and incorporating deleted commands
2337 todo-edit-multiline-item and todo-edit-done-item-comment.
2338 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
2339 Use only numeric value of prefix argument. Remove detailed
2340 descriptions of the arguments from the documentation string, since
2341 this is treated in the Todo mode user manual.
2342 (todo-edit-item--diary-inclusion): New function, replacing old
2343 command todo-edit-item-diary-inclusion and incorporating and fixing
2344 functionality of deleted command todo-edit-item-diary-nonmarking,
2345 making sure to remove todo-nondiary-marker when adding
2346 diary-nonmarking-symbol.
2347 (todo-edit-category-diary-inclusion): Make sure to delete
2348 diary-nonmarking-symbol when adding todo-nondiary-marker.
2349 (todo-edit-category-diary-nonmarking): Fix indentation.
2350 (todo-insert-item--parameters): Group diary and nonmarking
2351 parameters together.
2352 (todo-insert-item--apply-args): Adjust to signature of
2353 todo-insert-item--basic and incorporate copy parameter.
2354 Make small code improvements.
2355 (todo-insert-item--next-param): Improve prompt and adjust it to
2356 new parameter grouping. Remove obsolete code.
2357 (todo-edit-item--param-key-alist)
2358 (todo-edit-item--date-param-key-alist)
2359 (todo-edit-done-item--param-key-alist): New defconsts.
2360 (todo-edit-item--prompt): New variable.
2361 (todo-edit-item--next-key): New function.
2362 (todo-key-bindings-t): Bind "e" to todo-edit-item.
2363 Remove bindings of deleted commands.
2364
2365 2014-05-02 Leo Liu <sdl.web@gmail.com>
2366
2367 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
2368
2369 2014-05-01 Glenn Morris <rgm@gnu.org>
2370
2371 * allout-widgets.el (allout-widgets-tally)
2372 (allout-decorate-item-guides):
2373 * menu-bar.el (menu-bar-positive-p):
2374 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
2375 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
2376 * progmodes/js.el (js--inside-param-list-p)
2377 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
2378 * progmodes/prolog.el (region-exists-p):
2379 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
2380 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
2381 Doc fixes (replace `iff').
2382
2383 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2384
2385 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
2386
2387 2014-04-30 Eli Zaretskii <eliz@gnu.org>
2388
2389 * dired.el (dired-initial-position-hook, dired-initial-position):
2390 Doc string fixes.
2391
2392 2014-04-29 Glenn Morris <rgm@gnu.org>
2393
2394 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
2395
2396 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
2397
2398 * faces.el (face-spec-recalc): Apply X resources only after the
2399 defface spec has been applied. Thus, X resources are no longer
2400 overridden by the defface spec which also fixes issues on win32 where
2401 the toolbar coloring was wrong because it is set through X resources
2402 and was (wrongfully) overridden. (Bug#16694)
2403
2404 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2405
2406 * textmodes/rst.el (electric-pair-pairs): Declare.
2407 (rst-mode): Set it (bug#17131).
2408
2409 2014-04-27 Juri Linkov <juri@jurta.org>
2410
2411 * desktop.el (desktop-value-to-string): Let-bind `print-length'
2412 and `print-level' to nil. (Bug#17351)
2413
2414 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2415
2416 * battery.el (battery-update): Handle the case where battery
2417 status is "N/A" (bug#17319).
2418
2419 2014-04-24 Eli Zaretskii <eliz@gnu.org>
2420
2421 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
2422 Use equal-including-properties to compare help-echo strings (bug#17331).
2423
2424 2014-04-24 Leo Liu <sdl.web@gmail.com>
2425
2426 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
2427 Fix syntax for @. (Bug#17325)
2428
2429 2014-04-24 Daniel Colascione <dancol@dancol.org>
2430
2431 * emacs-lisp/cl.el (gv): Require gv early to break eager
2432 macro-expansion cycles.
2433
2434 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2435
2436 * simple.el (region-active-p): Check there's a mark (bug#17324).
2437
2438 * simple.el (completion-list-mode-map): Use choose-completion for the
2439 mouse binding as well (bug#17302).
2440 (completion-list-mode, completion-setup-function): Adjust docstring and
2441 echo area message accordingly.
2442 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
2443 calling convention of choose-completion.
2444 * comint.el (comint-dynamic-list-completions):
2445 * term.el (term-dynamic-list-completions): Accept choose-completion.
2446
2447 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
2448 &, |, +, - and * can't be a division (bug#17317).
2449
2450 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2451
2452 * term/xterm.el (xterm--version-handler): Don't use modern xterm
2453 features on gnome-terminal (bug#16988).
2454
2455 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
2456
2457 * dired.el (dired-insert-set-properties): Do not consider
2458 subdirectory headings and empty lines to be information that
2459 `dired-hide-details-mode' should hide. (Bug#17228)
2460
2461 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
2462
2463 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2464 Remove test messages.
2465 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
2466 and `target' twice.
2467
2468 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2469
2470 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
2471 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
2472
2473 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
2474
2475 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
2476
2477 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2478 Set "IFS=" when using read builtin, in order to preserve spaces in
2479 the file name. Add test messages for hunting a bug on hydra.
2480 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
2481
2482 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2483
2484 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
2485 Don't prettify a word within a symbol.
2486
2487 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
2488
2489 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
2490 possible.
2491
2492 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2493
2494 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
2495 assignments such as "case=hello" (bug#17297).
2496
2497 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
2498
2499 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
2500 Do not autoload.
2501 (tramp-file-name-handler, tramp-completion-file-name-handler):
2502 Revert patch from 2014-04-10, it isn't necessary anymore.
2503 (tramp-autoload-file-name-handler)
2504 (tramp-register-autoload-file-name-handlers): New defuns.
2505 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
2506 (tramp-register-file-name-handlers): Remove also
2507 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
2508 Do not autoload its invocation, but eval it after loading of 'tramp.
2509
2510 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
2511
2512 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
2513
2514 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2515
2516 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
2517 was done (bug#17264).
2518 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
2519 comment to EOB.
2520
2521 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
2522 here-documents (bug#17262).
2523
2524 2014-04-16 Eli Zaretskii <eliz@gnu.org>
2525
2526 * term/pc-win.el (x-list-fonts, x-get-selection-value):
2527 Provide doc strings, as required by snarf-documentation.
2528
2529 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2530
2531 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
2532 arg of overlays-at. Use `invisible-p'.
2533
2534 * obsolete/lucid.el (extent-at):
2535 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
2536 overlays-at.
2537 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
2538
2539 2014-04-14 João Távora <joaotavora@gmail.com>
2540
2541 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
2542 links. (Bug#17217).
2543
2544 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2545
2546 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2547 Use mapc to loop over a vector. (Bug#17257).
2548
2549 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
2550
2551 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
2552 patch, there are new problems with file names containing spaces.
2553 Get rid of backticks. (Bug#17238)
2554
2555 2014-04-13 João Távora <joaotavora@gmail.com>
2556
2557 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
2558 possible bug.
2559
2560 2014-04-13 Eli Zaretskii <eliz@gnu.org>
2561
2562 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
2563 (blink-cursor-mode): Mention customization variables and the
2564 effect of 'blink-cursor-blinks'.
2565
2566 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
2567
2568 * simple.el (undo): Prevent insertion of identity mapping into
2569 undo-equiv-table so as undo-only does not inf loop in the presence
2570 of consecutive nils in undo list.
2571
2572 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
2573
2574 * faces.el (make-face): Deprecate optional argument as it is no
2575 longer needed/used since the conditional X resources handling
2576 has been pushed down to make-face-x-resource-internal itself.
2577 (make-empty-face): Don't pass optional argument to make-face.
2578
2579 2014-04-12 Eli Zaretskii <eliz@gnu.org>
2580
2581 * international/characters.el <standard-case-table>: Add entries
2582 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
2583 Set category of Coptic characters be 'g' (Greek).
2584
2585 2014-04-12 Leo Liu <sdl.web@gmail.com>
2586
2587 * progmodes/octave.el (completion-table-with-cache): Define if not
2588 available.
2589 (octave-goto-function-definition)
2590 (octave-sync-function-file-names)
2591 (octave-find-definition-default-filename): Backquote upattern for
2592 compatibility.
2593
2594 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
2595
2596 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
2597 name twice due to backticks. (Bug#17238)
2598
2599 2014-04-11 Glenn Morris <rgm@gnu.org>
2600
2601 * term/w32-win.el (x-win-suspend-error):
2602 * term/x-win.el (x-win-suspend-error): Sync docs.
2603
2604 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2605
2606 Ediff's overlay priorities cause more trouble than they solve.
2607 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
2608 (ediff-highest-priority): Remove function (bug#17234).
2609 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
2610 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
2611 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
2612 overlay priorities.
2613
2614 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
2615
2616 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
2617 entry; use symbol boundaries to avoid mis-matches.
2618
2619 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
2620
2621 * net/tramp.el (tramp-file-name-handler)
2622 (tramp-completion-file-name-handler): Avoid recursive loading.
2623
2624 * net/tramp-sh.el (tramp-make-copy-program-file-name):
2625 Quote result also locally.
2626
2627 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
2628
2629 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2630 Module methods. (Bug#17216)
2631
2632 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2633
2634 * help.el (describe-bindings): Fix buffer handling (bug#17210).
2635 (describe-bindings-internal): Mark obsolete.
2636
2637 2014-04-07 João Távora <joaotavora@gmail.com>
2638
2639 * elec-pair.el:
2640 (electric-pair--syntax-ppss): When inside comments parse from
2641 comment beginning.
2642 (electric-pair--balance-info): Fix typo in comment.
2643 (electric-pair--in-unterminated-string-p): Delete.
2644 (electric-pair--unbalanced-strings-p): New function.
2645 (electric-pair-string-bound-function): New var.
2646 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2647 according to `electric-pair--in-unterminated-string-p'
2648
2649 2014-04-07 João Távora <joaotavora@gmail.com>
2650
2651 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2652 Inhibit quote pairing if point-max is inside an unterminated string.
2653 (electric-pair--looking-at-unterminated-string-p): Delete.
2654 (electric-pair--in-unterminated-string-p): New function.
2655
2656 2014-04-07 Glenn Morris <rgm@gnu.org>
2657
2658 * shell.el (shell-directory-tracker):
2659 Go back to just ignoring failures. (Bug#17159)
2660
2661 2014-04-06 João Távora <joaotavora@gmail.com>
2662
2663 Fix `electric-pair-delete-adjacent-pairs' in modes binding
2664 backspace. (bug#16981)
2665 * elec-pair.el (electric-pair-backward-delete-char): Delete.
2666 (electric-pair-backward-delete-char-untabify): Delete.
2667 (electric-pair-mode-map): Bind backspace to a menu item filtering
2668 a new `electric-pair-delete-pair' command.
2669 (electric-pair-delete-pair): New command.
2670
2671 2014-04-06 João Távora <joaotavora@gmail.com>
2672
2673 * progmodes/python.el (python-electric-pair-string-delimiter):
2674 Fix triple-quoting electricity. (Bug#17192)
2675
2676 2014-04-06 João Távora <joaotavora@gmail.com>
2677
2678 * elec-pair.el (electric-pair-post-self-insert-function):
2679 Don't skip whitespace when `electric-pair-text-pairs' and
2680 `electric-pair-pairs' were used. syntax to
2681 electric-pair--skip-whitespace. (Bug#17183)
2682
2683 2014-04-06 Eli Zaretskii <eliz@gnu.org>
2684
2685 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2686 "<F>". (Bug#17199)
2687
2688 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
2689
2690 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2691 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2692
2693 2014-04-05 Glenn Morris <rgm@gnu.org>
2694
2695 * help.el (view-lossage): Doc tweak.
2696
2697 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
2698
2699 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2700 only when inhibit-x-resources is nil, and do that earlier in the
2701 function. Doc fix. (Bug#16694)
2702 (face-spec-choose): Accept additional optional argument, whose
2703 value is returned if no matching attributes are found.
2704 (face-spec-recalc): Use the new optional argument when calling
2705 face-spec-choose. (Bug#16378)
2706 (make-face-x-resource-internal): Do nothing when
2707 inhibit-x-resources is non-nil. Don't touch the default face if
2708 reversed video is given--as was done in previous versions of Emacs.
2709 (face-set-after-frame-default): Don't call
2710 make-face-x-resource-internal here. (Bug#16434)
2711
2712 2014-04-04 Tassilo Horn <tsdh@gnu.org>
2713
2714 * doc-view.el (doc-view-bookmark-jump):
2715 Use `bookmark-after-jump-hook' to jump to the right page after the
2716 buffer is shown in a window. (bug#16090)
2717
2718 2014-04-04 Eli Zaretskii <eliz@gnu.org>
2719
2720 * international/characters.el (mirroring): Fix last change:
2721 instead of loading uni-mirrored.el explicitly, do that implicitly
2722 by creating the 'mirroring' uniprop table. This avoids announcing
2723 the loading of uni-mirrored.el.
2724
2725 2014-04-04 Glenn Morris <rgm@gnu.org>
2726
2727 * files.el (buffer-stale--default-function)
2728 (buffer-stale-function, revert-buffer--default):
2729 * autorevert.el (auto-revert-buffers): Doc tweaks.
2730
2731 2014-04-03 Eli Zaretskii <eliz@gnu.org>
2732
2733 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
2734
2735 2014-04-03 Glenn Morris <rgm@gnu.org>
2736
2737 * files.el (make-backup-file-name-function)
2738 (make-backup-file-name, make-backup-file-name--default-function)
2739 (make-backup-file-name-1, find-backup-file-name)
2740 (revert-buffer-function, revert-buffer-insert-file-contents-function)
2741 (buffer-stale--default-function, buffer-stale-function)
2742 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2743 (revert-buffer, revert-buffer--default)
2744 (revert-buffer-insert-file-contents--default-function):
2745 Doc fixes related to defaults no longer being nil.
2746 (make-backup-file-name-function): Bump :version.
2747 Restore nil as a valid but deprecated custom type.
2748
2749 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
2750
2751 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
2752 used as a variable (bug#17174).
2753
2754 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
2755
2756 * progmodes/perl-mode.el (perl-indent-new-calculate):
2757 Handle forward-sexp failure (bug#16985).
2758 (perl-syntax-propertize-function): Add "foreach" and "for" statement
2759 modifiers introducing expressions (bug#17116).
2760
2761 2014-04-02 Glenn Morris <rgm@gnu.org>
2762
2763 * menu-bar.el (menu-bar-file-menu):
2764 * vc/ediff.el (ediff-current-file):
2765 Update for revert-buffer-function no longer being nil by default.
2766
2767 * simple.el (command-execute): Respect nil disabled-command-function.
2768
2769 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2770
2771 * simple.el (command-execute): Do not execute the command when it
2772 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2773
2774 2014-03-29 Juri Linkov <juri@jurta.org>
2775
2776 * dired-aux.el (dired-compress-file): Don't use string-match-p
2777 because its match data is used afterwards.
2778
2779 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2780
2781 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2782 0 like nil.
2783
2784 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2785
2786 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2787 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2788
2789 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2790 Don't propertize `?' or `!' as symbol constituent when after
2791 colon. (Bug#17097)
2792
2793 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2794
2795 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2796 which is no longer needed and causes trouble in GTK builds (bug#17046).
2797
2798 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2799 Use url-insert-file-contents; package-handle-response no longer exists.
2800
2801 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2802
2803 * emacs-lisp/package.el: Fix bug#16733 (again).
2804 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2805 (url-http-target-url): Remove unused declarations.
2806 (package-handle-response): Remove.
2807 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2808 (package--download-one-archive): Use current-buffer instead of
2809 dynamic binding of `buffer'.
2810 (describe-package-1): Do not decode readme-string.
2811
2812 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
2813
2814 * simple.el (primitive-undo): Correction to 2014-03-24 change.
2815
2816 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
2817
2818 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2819
2820 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2821 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2822 `remote-file-name-inhibit-cache' to nil in the second pass.
2823 (tramp-find-executable): Do not call "which" on SunOS.
2824 (tramp-send-command-and-check): Fix docstring.
2825 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2826 check whether source directory has set the sticky bit.
2827
2828 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
2829
2830 * simple.el (primitive-undo): Only process marker adjustments
2831 validated against their corresponding (TEXT . POS). Issue warning
2832 for lone marker adjustments in undo history. (Bug#16818)
2833 (undo-make-selective-list): Add marker adjustments to selective
2834 undo list based on whether their corresponding (TEXT . POS) is in
2835 the region. Remove variable adjusted-markers, which was unused
2836 and only non nil during undo-make-selective-list.
2837 (undo-elt-in-region): Return nil when passed a marker adjustment
2838 and explain in function doc.
2839
2840 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2841
2842 * emacs-lisp/package.el (package--add-to-archive-contents):
2843 Include already installed and built-in packages in
2844 `package-archive-contents'.
2845 (package-install): Don't include already installed packages in the
2846 options during interactive invocation. (Bug#16762)
2847
2848 2014-03-24 Daniel Colascione <dancol@dancol.org>
2849
2850 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2851 instead of cl-loop search function.
2852
2853 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
2854
2855 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2856
2857 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2858
2859 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2860
2861 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2862
2863 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2864 Match special global variables without curlies, too.
2865 (ruby-font-lock-keywords): Simplify the matcher for special global
2866 variables. Don't require a non-word character after the variable.
2867 (Bug#17057)
2868
2869 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2870
2871 * simple.el (redisplay-highlight-region-function): Increase priority of
2872 overlay to make sure boundaries are visible (bug#15899).
2873
2874 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2875
2876 * frameset.el (frameset-restore): Compare display strings with equal.
2877
2878 * frame.el (make-frame): Don't quote display name in error message,
2879 it is already a string.
2880
2881 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2882
2883 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2884 the password.
2885
2886 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
2887
2888 * emacs-lisp/package.el (package-show-package-list): If the buffer
2889 is already displayed in another window, switch to that window.
2890
2891 2014-03-21 Daniel Colascione <dancol@dancol.org>
2892
2893 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2894 information in bug reports.
2895
2896 2014-03-23 Daniel Colascione <dancol@dancol.org>
2897
2898 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2899 list to look for keyword arguments instead of `memq', fixing
2900 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2901 Please make bootstrap.
2902
2903 2014-03-23 Richard Stallman <rms@gnu.org>
2904
2905 * battery.el (battery-linux-sysfs): Search for each field
2906 from the beginning of the buffer.
2907
2908 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2909
2910 * emacs-lisp/package.el (package-desc): Use the contents of the
2911 quoted form, not its cdr. (Bug#16873)
2912
2913 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2914
2915 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2916 benefit of doc.c; change parameter profile to match the X function.
2917
2918 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2919
2920 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2921 and `tramp-copy-env'.
2922
2923 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2924 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2925
2926 2014-03-21 Glenn Morris <rgm@gnu.org>
2927
2928 * electric.el (electric-indent-post-self-insert-function): Add doc.
2929
2930 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2931
2932 * emacs-lisp/package.el (package-compute-transaction):
2933 Use `version-list-<=' to compare the requirement version against
2934 the version of package already to be installed. Update the error
2935 message. (Bug#16826)
2936
2937 * progmodes/ruby-mode.el (ruby-smie-rules):
2938 Add indentation rule for ` @ '. (Bug#17050)
2939
2940 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2941
2942 * align.el (align-regexp): Remove superfluous backslash.
2943
2944 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2945 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2946 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2947 Fix docstring typos.
2948 (ffap-next): Use C-u in docstring.
2949 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2950 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2951 Remove superfluous backslashes.
2952 (ffap-string-at-point): Reflow docstring.
2953
2954 * server.el (server-host): Reflow docstring.
2955 (server-unload-function): Fix docstring typo.
2956 (server-eval-at): Remove superfluous backslash.
2957
2958 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2959 (skeleton-insert): Doc fix.
2960 (skeleton-insert): Reflow docstring.
2961
2962 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2963 (tty-color-approximate, tty-color-by-index, tty-color-values)
2964 (tty-color-desc): Remove superfluous backslashes.
2965
2966 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2967
2968 * electric.el (electric-newline-and-maybe-indent): New command.
2969 Bind it globally to C-j.
2970 (electric-indent-mode): Don't mess with the global map any more.
2971 Don't drop the post-self-insert-hook is some buffer is still using it
2972 (bug#16770).
2973
2974 * bindings.el (global-map): Remove C-j binding.
2975
2976 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2977 the docstring of functions advised before dumping (bug#16993).
2978
2979 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2980
2981 * ps-print.el (ps-generate-postscript-with-faces):
2982 Explicitly deactivate the mark (bug#16866).
2983 * simple.el (deactivate-mark): Update region highlight.
2984
2985 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2986
2987 * emacs-lisp/package.el (describe-package-1):
2988 Decode commentary (bug#16733).
2989
2990 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2991
2992 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2993 modification of the value argument of :set (bug#16755).
2994
2995 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2996
2997 * simple.el (newline-and-indent): Do autofill (bug#17031).
2998
2999 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
3000
3001 * newcomment.el (comment-normalize-vars): Only add escaping check
3002 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
3003 (comment-beginning): Use `narrow-to-region' instead of moving back
3004 one character.
3005 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
3006 (comment-start-skip): Update the docstring.
3007
3008 2014-03-18 Richard Stallman <rms@gnu.org>
3009
3010 * dired.el (dired-display-file): Force use of other window.
3011
3012 2014-03-18 Daniel Colascione <dancol@dancol.org>
3013
3014 * startup.el (tty-handle-args): Remove debug message from 2007.
3015
3016 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
3017
3018 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
3019 (advice--make-interactive-form): Use it to avoid (auto)loading function.
3020 (advice--make-1, advice-add, advice-remove):
3021 Remove braindead :advice-pending hack.
3022
3023 2014-03-17 Glenn Morris <rgm@gnu.org>
3024
3025 * calendar/calendar.el (calendar-generate-month): Apply weekend
3026 face to the right days; fixes 2013-08-06 change. (Bug#17028)
3027
3028 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
3029
3030 * net/tramp.el (tramp-action-out-of-band): Read pending output.
3031 (tramp-call-process): Trace also DESTINATION.
3032
3033 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3034 Quote file names when they are local. Remove superfluous trace.
3035
3036 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
3037
3038 * newcomment.el (comment-beginning): If `comment-start-skip'
3039 doesn't match, move back one char and try again. (Bug#16971)
3040
3041 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3042 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
3043 Set `comment-start-skip' to a simpler value that doesn't try to
3044 check if the semicolon is escaped (this is handled by
3045 `syntax-ppss' now). (Bug#16971)
3046
3047 * progmodes/scheme.el (scheme-mode-variables): Same.
3048
3049 2014-03-16 Martin Rudalics <rudalics@gmx.at>
3050
3051 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
3052 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
3053 current (Bug#16816, Bug#17007).
3054 (with-current-buffer-window): New macro doing the same as
3055 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
3056 * help.el (help-print-return-message): Warn in doc-string to not
3057 use this in `with-help-window'.
3058 (describe-bindings-internal): Call `describe-buffer-bindings'
3059 from within help buffer. See Juanma's scenario in (Bug#16816).
3060 (with-help-window): Update doc-string.
3061 * dired.el (dired-mark-pop-up):
3062 * files.el (save-buffers-kill-emacs):
3063 * register.el (register-preview): Use `with-current-buffer-window'
3064 instead of `with-temp-buffer-window'.
3065
3066 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
3067
3068 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
3069 Implement inserting into current buffer, documented in their docstrings.
3070 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
3071 (rst-section-tree-point, rst-forward-section, rst-indent)
3072 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
3073 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
3074 (rst-font-lock-handle-adornment-pre-match-form)
3075 (rst-repeat-last-character): Reflow docstrings.
3076 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
3077 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
3078 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
3079 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
3080 Fix docstring typos.
3081 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
3082 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
3083 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
3084
3085 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
3086
3087 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
3088 for compatibility with other ports.
3089 (ns-initialize-window-system): Use it. It is set in term/common-win.el
3090 from the -xrm command line argument, but in the Nextstep port its value
3091 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
3092
3093 * progmodes/python.el (defconst, python-syntax-count-quotes)
3094 (python-indent-region, python-indent-shift-right)
3095 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
3096 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
3097 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
3098 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
3099 (inferior-python-mode, python-shell-make-comint, run-python-internal)
3100 (python-shell-buffer-substring, python-shell-send-buffer)
3101 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
3102 (python-completion-complete-at-point, python-fill-docstring-style)
3103 (python-eldoc-function, python-imenu-format-item-label)
3104 (python-imenu-format-parent-item-label)
3105 (python-imenu-format-parent-item-jump-label)
3106 (python-imenu--build-tree, python-imenu-create-index)
3107 (python-imenu-create-flat-index): Fix docstring typos.
3108 (python-indent-context, python-shell-prompt-regexp, run-python):
3109 Remove superfluous backslashes.
3110 (python-indent-line, python-nav-beginning-of-defun)
3111 (python-shell-get-buffer, python-shell-get-process)
3112 (python-info-current-defun, python-info-current-line-comment-p)
3113 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
3114 (python-indent-post-self-insert-function, python-shell-send-file)
3115 (python-shell-completion-get-completions)
3116 (python-shell-completion-complete-or-indent)
3117 (python-eldoc--get-doc-at-point): Reflow docstrings.
3118
3119 2014-03-14 Glenn Morris <rgm@gnu.org>
3120
3121 * emacs-lisp/package.el (package-menu-mode-map):
3122 Replace use of obsolete function alias. Tweak menu item text.
3123
3124 * info.el (Info-finder-find-node):
3125 Ignore the `emacs' metapackage. (Bug#10813)
3126
3127 * finder.el (finder-list-matches): Include unversioned packages
3128 in the result of a keyword search.
3129
3130 * finder.el (finder--builtins-descriptions): New constant.
3131 (finder-compile-keywords): Use finder--builtins-descriptions.
3132
3133 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
3134
3135 * simple.el (blink-matching-paren): Describe the new value,
3136 `jump', enabling the old behavior.
3137 (blink-matching-open): Use that value. (Bug#17008)
3138
3139 2014-03-14 Glenn Morris <rgm@gnu.org>
3140
3141 * finder.el (finder-no-scan-regexp): Add leim-list.
3142 (finder-compile-keywords):
3143 Don't skip files with same basename. (Bug#14010)
3144 * Makefile.in (setwins_finder): New, excluding leim.
3145 (finder-data): Use setwins_finder.
3146
3147 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
3148 (help-function-arglist, help-make-usage): Move from here...
3149 * help.el (help-split-fundoc, help-add-fundoc-usage)
3150 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
3151 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
3152
3153 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
3154
3155 * net/socks.el (socks, socks-override-functions)
3156 (socks-find-services-entry):
3157 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
3158 (hif-find-ifdef-block):
3159 * progmodes/modula2.el (m2-indent): Fix docstring typos.
3160
3161 * net/tls.el (tls-program): Reflow docstring.
3162
3163 * progmodes/pascal.el (pascal-mode-abbrev-table)
3164 (pascal-imenu-generic-expression, pascal-auto-endcomments)
3165 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
3166 (pascal-outline-mode): Fix docstring typos.
3167 (pascal-mode): Let define-derived-mode document mode hook.
3168 (pascal-uncomment-area): Reflow.
3169 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
3170
3171 * progmodes/opascal.el (opascal-compound-block-indent)
3172 (opascal-case-label-indent): Fix docstring typos.
3173 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
3174
3175 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
3176
3177 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3178 Fontify multiple adjacent negation chars. (Bug#17004)
3179
3180 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
3181
3182 * emacs-lisp/package.el (package--prepare-dependencies):
3183 Accept requirements without explicit version (bug#14941).
3184
3185 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3186
3187 * register.el (register-separator, copy-to-register): Doc fixes.
3188 (register-preview-default): Remove unnecessary call to concat.
3189
3190 * frameset.el (frameset-restore): When checking for a visible frame,
3191 use the action map instead of calling visible-frame-list.
3192
3193 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
3194
3195 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
3196
3197 2014-03-12 Martin Rudalics <rudalics@gmx.at>
3198
3199 * window.el (fit-frame-to-buffer): Get maximum width from
3200 display's width instead of height.
3201
3202 2014-03-12 Glenn Morris <rgm@gnu.org>
3203
3204 * desktop.el (desktop-restore-frames)
3205 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
3206 (desktop-restore-reuses-frames): Doc tweaks.
3207
3208 * electric.el (electric-indent-mode): Doc fix.
3209
3210 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3211
3212 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
3213 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
3214 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
3215 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
3216 (cvs-dired-use-hook): Fix docstring typos.
3217 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
3218 Doc fixes.
3219
3220 * vc/pcvs-defs.el (cvs-auto-remove-handled)
3221 (cvs-auto-remove-directories, cvs-default-ignore-marks)
3222 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
3223 (cvs-execute-single-dir): Fix docstring typos.
3224
3225 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
3226 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
3227
3228 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
3229
3230 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
3231 Fix docstring typos.
3232
3233 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3234
3235 * frameset.el (frameset--jump-to-register): Add autoload; it could be
3236 called from jump-to-register after unloading the frameset package.
3237
3238 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3239
3240 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
3241 (bug#16975). Deactivate the mark before setting it to nil.
3242 (activate-mark): Do nothing if region is already active.
3243
3244 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3245
3246 * frameset.el (frameset--target-display): Remove definition; declare.
3247 (frameset-save, frameset-restore): Let-bind frameset--target-display.
3248
3249 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3250
3251 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
3252 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
3253 when the advice is pending.
3254 (advice-remove): Remove this marker when not needed any more.
3255
3256 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3257
3258 * frameset.el: Separate options for reusing frames and cleaning up.
3259 (frameset--reuse-list): Remove definition; declare.
3260 (frameset--action-map): Declare.
3261 (frameset--find-frame-if): Doc fix.
3262 (frameset--restore-frame): Cache frame action.
3263 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
3264 how to clean up the frame list after restoring. Remove cleaning
3265 options from REUSE-FRAMES. Change all keyword values to symbols.
3266 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
3267
3268 * desktop.el (desktop-restore-forces-onscreen)
3269 (desktop-restore-reuses-frames): Use non-keyword values.
3270 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
3271
3272 2014-03-10 Glenn Morris <rgm@gnu.org>
3273
3274 * files.el (find-file): Doc fix: update info node name.
3275
3276 * emacs-lisp/advice.el (ad-add-advice, defadvice):
3277 Doc fix: remove references to deleted info nodes.
3278
3279 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
3280
3281 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3282 Do not add `nil' to the environment, when there's no remote `locale'.
3283 (tramp-find-inline-encoding): Check, that the remote host has
3284 installed perl, before sending scripts.
3285
3286 2014-03-10 Leo Liu <sdl.web@gmail.com>
3287
3288 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3289 Clear eldoc-last-message. (Bug#16920)
3290
3291 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3292
3293 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
3294 (bug#14430).
3295
3296 2014-03-09 Juri Linkov <juri@jurta.org>
3297
3298 * ansi-color.el (ansi-color-names-vector): Copy default colors
3299 from `xterm-standard-colors' that look well on the default white
3300 background (and also on the black background) to avoid illegible
3301 color combinations like yellow-on-white and white-on-white.
3302 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
3303
3304 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
3305
3306 * frameset.el (frameset-restore): When no frame is visible, do not
3307 generate a list of frames, just make visible the selected one.
3308
3309 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
3310
3311 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
3312 it only contains the repository root. (Bug#16897)
3313
3314 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
3315
3316 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
3317 only when `remote-file-name-inhibit-cache' is nil.
3318 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
3319
3320 2014-03-06 Martin Rudalics <rudalics@gmx.at>
3321
3322 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
3323 Fix doc-strings.
3324 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
3325 fit-frame-to-buffer variable. Fix doc-string.
3326 (fit-window-to-buffer): Set ONLY argument in call of
3327 fit-frame-to-buffer. Fix doc-string.
3328
3329 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
3330
3331 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
3332 (tramp-action-password): Clear password cache if needed.
3333 (tramp-read-passwd): Do not clear password cache.
3334
3335 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
3336 cache unless it is the first password request.
3337
3338 2014-03-06 Glenn Morris <rgm@gnu.org>
3339
3340 * simple.el (newline): Doc tweak.
3341
3342 * emacs-lisp/shadow.el (load-path-shadows-find):
3343 Ignore dir-locals. (Bug#12357)
3344
3345 2014-03-05 Glenn Morris <rgm@gnu.org>
3346
3347 * files.el (interpreter-mode-alist):
3348 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
3349
3350 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3351
3352 * frameset.el (frameset--initial-params): Filter out null entries.
3353
3354 2014-03-05 Martin Rudalics <rudalics@gmx.at>
3355
3356 * window.el (window-min-height, window-min-width):
3357 Rewrite doc-strings.
3358 (window-body-size): Add PIXELWISE argument to make it consistent
3359 with its callees.
3360
3361 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3362
3363 * finder.el (finder-mode-map, finder-mode-syntax-table):
3364 Revert part of 2014-02-28 change.
3365
3366 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
3367
3368 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
3369 (eww-setup-buffer): Clear next/prev/etc more reliably.
3370 (eww-textarea-map): [tab] doesn't work on tty.
3371 Reported by Mario Lang.
3372
3373 * net/shr.el (shr-map): Ditto.
3374
3375 2014-03-04 Glenn Morris <rgm@gnu.org>
3376
3377 * minibuffer.el (completion-hilit-commonality):
3378 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
3379
3380 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3381
3382 * hilit-chg.el (hilit-chg-unload-function): New function.
3383 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
3384 (hilit-chg-map-changes): Prefer cardinal number to digit.
3385 (hilit-chg-display-changes): Reflow docstring.
3386 (highlight-changes-rotate-faces): Remove superfluous backslash.
3387
3388 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
3389
3390 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
3391 `tramp-send-command-and-check'.
3392
3393 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3394
3395 * hexl.el (hexl-address-region, hexl-ascii-region)
3396 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
3397 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
3398 (hexl-forward-word, hexl-previous-line, hexl-next-line):
3399 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
3400 (hexl-mode): Doc fix.
3401 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
3402 (hexl-mode-ruler): Fix typos in docstrings.
3403
3404 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
3405 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
3406 Remove superfluous backslashes.
3407 (strokes-last-stroke, strokes-global-map, strokes-mode):
3408 Reflow docstrings.
3409 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
3410 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
3411 (strokes-distance-squared, strokes-global-set-stroke)
3412 (strokes-global-set-stroke-string): Doc fixes.
3413 (strokes-help): Fix typos; reflow docstring.
3414
3415 2014-03-04 Martin Rudalics <rudalics@gmx.at>
3416
3417 * window.el (window-in-direction): Fix doc-string.
3418
3419 2014-03-04 Glenn Morris <rgm@gnu.org>
3420
3421 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
3422 Explicit error if no grammar.
3423 (smie-config-save): Doc fix. Fix quote typo.
3424
3425 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
3426
3427 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
3428 electric-indent-mode-hook if we obey electric-indent-mode.
3429 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
3430 decide whether we obey electric-indent-mode.
3431 (c-change-set-fl-decl-start, c-extend-after-change-region):
3432 Silence warnings.
3433 (c-electric-indent-mode-hook): Assume we do want to obey
3434 electric-indent-mode.
3435
3436 * electric.el (electric-indent-mode-has-been-called): Remove.
3437 (electric-indent-mode): Fix accordingly.
3438
3439 * files.el (hack-local-variables): Mention file name in warning.
3440
3441 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
3442
3443 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
3444
3445 * bindings.el: Add comment describing why C-d binds to `delete-char'.
3446 * simple.el (delete-forward-char): Mark as interactive-only.
3447
3448 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
3449
3450 * icomplete.el (icomplete-completions):
3451 Follow-up to 2014-03-01 change.
3452
3453 * icomplete.el: Miscellaneous doc fixes.
3454 Use Icomplete everywhere instead of icomplete for consistency.
3455 (icomplete-max-delay-chars): Fix typo.
3456 (icomplete-mode): Use \[].
3457 (icomplete-tidy, icomplete-exhibit): Reflow.
3458 (icomplete-minibuffer-setup-hook, icomplete-completions):
3459 Remove superfluous backlashes.
3460
3461 * ido.el: Miscellaneous doc fixes.
3462 Use Ido everywhere instead of ido or `ido' for consistency.
3463 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
3464 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
3465 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
3466 (ido-separator): Extract obsolescence info from docstring and declare
3467 with make-obsolete-variable.
3468 (ido-minibuffer-setup-hook): Simplify example.
3469 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
3470 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
3471 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
3472 (ido-everywhere): Reflow docstring.
3473 (ido-toggle-vc): Doc fix.
3474 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
3475 of long list of keybindings.
3476
3477 2014-03-03 Glenn Morris <rgm@gnu.org>
3478
3479 * frame.el (display-pixel-height, display-pixel-width)
3480 (display-mm-dimensions-alist, display-mm-height)
3481 (display-mm-width): Doc tweaks.
3482
3483 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
3484
3485 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
3486 case of undo in region.
3487
3488 2014-03-02 Martin Rudalics <rudalics@gmx.at>
3489
3490 * window.el (fit-window-to-buffer): Fix argument in window-size
3491 call when window is horizontally combined.
3492
3493 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
3494
3495 * icomplete.el (icomplete-completions): Use string-width.
3496 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
3497
3498 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
3499
3500 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3501 Highlight regexp options. (Bug#16914)
3502
3503 2014-03-01 Martin Rudalics <rudalics@gmx.at>
3504
3505 * window.el (window--max-delta-1): Round down when calculating
3506 how many lines/columns we can get from a window.
3507
3508 2014-03-01 Glenn Morris <rgm@gnu.org>
3509
3510 * isearch.el (search-invisible): Doc fix.
3511
3512 * minibuffer.el (completion-hilit-commonality):
3513 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
3514 * comint.el (comint-dynamic-list-completions): Doc fix.
3515 * comint.el (comint-dynamic-list-completions):
3516 * filecache.el (file-cache-minibuffer-complete):
3517 * tempo.el (tempo-display-completions):
3518 * eshell/em-hist.el (eshell-list-history):
3519 Replace use of obsolete argument of display-completion-list.
3520
3521 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
3522
3523 * icomplete.el (icomplete-completions):
3524 Revert back to using "..." when ?… cannot be displayed.
3525
3526 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3527
3528 * finder.el (finder-unload-function): New function.
3529
3530 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3531
3532 * dframe.el (dframe-detach):
3533 * find-dired.el (find-dired, find-name-dired):
3534 * finder.el (finder-mode-map, finder-mode-syntax-table)
3535 (finder-headmark, finder-select, finder-mouse-select):
3536 Fix docstring typos.
3537
3538 2014-02-28 Martin Rudalics <rudalics@gmx.at>
3539
3540 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
3541 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
3542 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3543 Fix doc-string based on a suggestion by Nicolas Richard
3544 <theonewiththeevillook@yahoo.fr>.
3545 * help.el (with-help-window): Fix doc-string.
3546
3547 2014-02-28 Ivan Kanis <ivan@kanis.fr>
3548
3549 * net/shr.el (shr-image-animate): New option.
3550 (shr-put-image): Respect shr-image-animate.
3551
3552 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
3553
3554 * net/tramp-adb.el (tramp-adb-parse-device-names):
3555 Use `accept-process-output'.
3556 (tramp-adb-handle-file-truename): Cache the localname only.
3557 (tramp-adb-handle-make-directory)
3558 (tramp-adb-handle-delete-directory): Flush file properties correctly.
3559 (tramp-adb-handle-set-file-modes): Do not raise an error when file
3560 modes cannot be changed.
3561
3562 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3563 file properties of symlinks.
3564
3565 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
3566
3567 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3568 required/optional fields to match development biblatex. (Bug#16781)
3569
3570 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
3571
3572 * saveplace.el (toggle-save-place):
3573 Fix argument handling. (Bug#16673)
3574
3575 2014-02-28 Glenn Morris <rgm@gnu.org>
3576
3577 * minibuffer.el (completions-first-difference)
3578 (completions-common-part, completion-hilit-commonality): Doc fixes.
3579
3580 2014-02-28 Karl Berry <karl@gnu.org>
3581
3582 * info.el (Info-mode-map): Add H for describe-mode,
3583 to synchronize with standalone Info.
3584
3585 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
3586
3587 * progmodes/sql.el (sql-interactive-mode):
3588 Avoid setting global comint-input-ring-separator. (Bug#16814)
3589
3590 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3591
3592 * net/dbus.el (dbus--init-bus): Declare function.
3593 (dbus-path-local, dbus-interface-local): New defconst.
3594 (dbus-init-bus): Use them.
3595 (dbus-return-values-table): Extend doc.
3596 (dbus-handle-bus-disconnect): Extend error message.
3597
3598 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
3599
3600 * subr.el (y-or-n-p): Fix double space issue in message.
3601
3602 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3603
3604 * net/tramp.el (tramp-call-process): Improve trace message.
3605 (tramp-handle-insert-file-contents): Trace error case.
3606
3607 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3608 <insert-directory>: Use `tramp-handle-insert-directory'.
3609 (tramp-adb-handle-insert-directory): Remove function.
3610 (tramp-adb-send-command-and-check): New defun, replacing
3611 `tramp-adb-command-exit-status'. Change all callees.
3612 (tramp-adb-handle-file-attributes)
3613 (tramp-adb-handle-directory-files-and-attributes): Use it.
3614 (tramp-adb-ls-output-name-less-p):
3615 Use `directory-listing-before-filename-regexp'.
3616 (tramp-adb-handle-delete-directory): Flush also file properties of
3617 the truename of directory.
3618 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3619 (tramp-adb-handle-file-local-copy): Make the local copy readable.
3620 (tramp-adb-handle-write-region): Implement APPEND.
3621 (tramp-adb-handle-rename-file): Make it more robust. Flush file
3622 properties correctly.
3623 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3624 variables. Check for connected devices only when needed.
3625
3626 2014-02-27 Glenn Morris <rgm@gnu.org>
3627
3628 * minibuffer.el (completion-table-dynamic)
3629 (completion-table-with-cache): Doc fixes.
3630
3631 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3632 (completing-read-multiple): Doc fixes.
3633
3634 2014-02-27 Daniel Colascione <dancol@dancol.org>
3635
3636 * minibuffer.el (completion--nth-completion): Fix indentation.
3637
3638 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3639 explicit tramp path is empty.
3640
3641 2014-02-27 Glenn Morris <rgm@gnu.org>
3642
3643 * emacs-lisp/crm.el (completing-read-multiple):
3644 Empower help-enable-auto-load.
3645
3646 2014-02-26 Glenn Morris <rgm@gnu.org>
3647
3648 * startup.el (command-line): Don't init the tty in daemon mode.
3649
3650 Avoid calling tty-setup-hook twice, eg if a term file
3651 explicitly calls tty-run-terminal-initialization. (Bug#16859)
3652 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3653 (tty-create-frame-with-faces): Use it.
3654 * startup.el (command-line): Pass run-hook argument
3655 to tty-run-terminal-initialization.
3656
3657 * dired.el (dired-restore-desktop-buffer): Demote errors;
3658 eg in case a glob match fails. (Bug#16884)
3659
3660 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
3661
3662 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3663 error from `read-from-string'. (Bug#16850)
3664
3665 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3666 result of `completing-read' in the interactive form. (Bug#16854)
3667
3668 2014-02-25 Glenn Morris <rgm@gnu.org>
3669
3670 * image.el (image-animate, image-animate-timeout):
3671 Stop animating images in dead buffers. (Bug#16878)
3672
3673 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
3674
3675 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3676 Doc fixes.
3677 * startup.el (term-setup-hook): Doc fix. Make obsolete.
3678 * term/sun.el (sun-raw-prefix-hooks):
3679 Use tty-setup-hook instead of term-setup-hook.
3680 (terminal-init-sun): Construct message from bytecomp plist.
3681 * term/wyse50.el (enable-arrow-keys): Doc fix.
3682
3683 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3684
3685 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3686 Fix docstring typos.
3687
3688 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
3689
3690 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3691
3692 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3693
3694 * minibuffer.el (completion--try-word-completion):
3695 Fix error when completing M-x commands (bug#16808).
3696
3697 2014-02-24 Leo Liu <sdl.web@gmail.com>
3698
3699 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3700
3701 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3702
3703 * apropos.el (apropos-print): Avoid formatting error when
3704 apropos-do-all and apropos-compact-layout are both t.
3705
3706 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3707
3708 * apropos.el (apropos-property, apropos-all-words-regexp)
3709 (apropos-true-hit, apropos-variable, apropos-print):
3710 Fix docstring typos, and remove obsolete comment.
3711
3712 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3713
3714 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3715 Preserve trailing "/". (Bug#16851)
3716
3717 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3718
3719 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3720 after `=>' (bug#16811).
3721 (ruby-smie-rules): Handle the inconsistent second element of the
3722 list returned by `smie-indent--parent'.
3723 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3724 method call.
3725
3726 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3727
3728 * elec-pair.el (electric-pair-text-syntax-table)
3729 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3730 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3731 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3732 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3733
3734 2014-02-22 Glenn Morris <rgm@gnu.org>
3735
3736 * imenu.el (imenu--generic-function): Doc fix.
3737
3738 * register.el (frame-configuration-to-register): Make obsolete.
3739
3740 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
3741
3742 * desktop.el (desktop-save-buffer-p): Do not fail when
3743 desktop-files-not-to-save is nil. Return t for true result
3744 as the doc says.
3745
3746 2014-02-22 Daniel Colascione <dancol@dancol.org>
3747
3748 * net/secrets.el (secrets-create-item, secrets-search-items):
3749 Check that attribute values are strings, avoiding the construction
3750 of invalid dbus messages.
3751
3752 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3753
3754 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3755 defun-declarations-alist.
3756
3757 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3758
3759 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3760 (bug#16829).
3761
3762 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3763
3764 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3765 (whitespace-newline, whitespace-trailing, whitespace-line)
3766 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3767 (whitespace-space-after-tab): Fix typo in docstrings.
3768
3769 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3770
3771 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3772
3773 * electric.el (electric-indent-functions-without-reindent):
3774 Add `yaml-indent-line'.
3775
3776 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3777
3778 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3779 It has done nothing for years; should be removed after the release.
3780
3781 * simple.el (choose-completion): Fix docstring typo.
3782 (read-quoted-char-radix): Remove unneeded * in docstring.
3783 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3784 Don't escape parentheses unnecessarily in docstrings.
3785
3786 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3787
3788 Fix handling of window-min-height/-width (Bug#16738).
3789 * window.el (window--dump-window, window--dump-frame):
3790 New functions.
3791 (window--min-size-1): Account for window dividers.
3792 When window-resize-pixelwise is nil, delay rounding till after the
3793 sum of the window components has been calculated.
3794 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3795 nil make sure at least one text line and two text columns remain
3796 fully visible.
3797 (window-resize): Signal an error when window-resize-apply fails.
3798 (window--resize-child-windows): Fix calculation of by how many
3799 pixels a window can still be shrunk via window-new-normal.
3800 (adjust-window-trailing-edge): Call window--resizable with
3801 correct TRAIL argument.
3802
3803 (with-temp-buffer-window): Don't evaluate BODY within
3804 with-current-buffer (Bug#16816).
3805
3806 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3807
3808 * net/tramp.el (tramp-check-cached-permissions):
3809 Call `file-attributes' with `suffix' being a symbol but a string.
3810
3811 2014-02-21 Daniel Colascione <dancol@dancol.org>
3812
3813 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3814 (dbus-init-bus): New function: call into dbus-init-bus-1
3815 and installs a handler for the disconnect signal.
3816 (dbus-call-method): Rewrite to look for result in cons.
3817 (dbus-call-method-handler): Store result in cons.
3818 (dbus-check-event): Recognize events with nil sender as valid.
3819 (dbus-handle-bus-disconnect): New function. React to bus
3820 disconnection signal by synthesizing dbus error for each
3821 pending synchronous or asynchronous call.
3822 (dbus-notice-synchronous-call-errors): New function.
3823 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3824 is true, not all the time.
3825
3826 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3827
3828 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3829 Remove obsolescence declarations, these variables do not exist anymore.
3830
3831 * savehist.el (savehist-save-minibuffer-history)
3832 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3833 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3834 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3835 mostly, refer to "Savehist mode" when talking about the mode,
3836 and not the function.
3837
3838 * saveplace.el (save-place): Remove redundant info in docstring.
3839 (save-place-forget-unreadable-files, toggle-save-place)
3840 (save-place-forget-unreadable-files, save-place-dired-hook):
3841 Fix typos and remove unneeded backslashes.
3842
3843 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3844
3845 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3846 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3847
3848 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3849 <insert-directory>: Use `tramp-handle-insert-directory'.
3850 (tramp-gvfs-handle-insert-directory): Remove function.
3851
3852 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3853 Call `tramp-handle-insert-directory'.
3854
3855 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3856
3857 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3858 before the start of buffer/region (bug#16799).
3859
3860 2014-02-20 Glenn Morris <rgm@gnu.org>
3861
3862 * isearch.el (search-invisible): Doc fix.
3863
3864 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3865
3866 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3867 (bug#16657).
3868
3869 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3870
3871 * frameset.el (frameset-restore): Delay removing an old frame's
3872 duplicate id until the new frame has been correctly created.
3873
3874 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3875
3876 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3877 (tramp-check-cached-permissions): Call `file-attributes' if the
3878 cache is empty.
3879
3880 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3881 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3882
3883 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3884 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3885 (tramp-gvfs-maybe-open-connection): Set always connection
3886 properties, even if target is mounted already.
3887
3888 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3889 Set tramp-autoload cookie.
3890 (tramp-get-remote-touch): New defun.
3891 (tramp-sh-handle-set-file-times): Use it.
3892 (tramp-sh-handle-directory-files-and-attributes):
3893 Use `tramp-handle-directory-files-and-attributes' if neither stat
3894 nor perl are available on the remote host.
3895
3896 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3897 "/". Write long listing only when "l" belongs to the switches.
3898
3899 * net/trampver.el: Update release number.
3900
3901 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3902
3903 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3904
3905 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3906
3907 * window.el (window-state-put): Allow WINDOW to refer to an
3908 internal window (Bug#16793).
3909
3910 2014-02-19 Glenn Morris <rgm@gnu.org>
3911
3912 * textmodes/remember.el: Move provide statement to end.
3913 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3914 (remember-notes): Doc fixes.
3915
3916 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3917
3918 * delsel.el (delete-char): Restore incorrectly erased property
3919 (bug#16795).
3920
3921 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3922
3923 * frameset.el (frameset--restore-frame): When a frame is being reused
3924 and its root window is not alive, delete all the frame's windows before
3925 restoring the window state. This works around the issue in bug#16793.
3926
3927 2014-02-18 Glenn Morris <rgm@gnu.org>
3928
3929 * textmodes/remember.el (remember-data-directory)
3930 (remember-directory-file-name-format, remember-store-in-files)
3931 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3932 (remember-notes-save-and-bury-buffer)
3933 (remember-notes--kill-buffer-query): Doc fixes.
3934
3935 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3936
3937 2014-02-17 Alan Mackenzie <acm@muc.de>
3938
3939 Connect electric-indent-mode up with CC Mode. Bug #15478.
3940 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3941 to electric-indent-{,local-}-mode.
3942 (c-basic-common-init): Set electric-indent-inhibit.
3943 Initialise c-electric-flag from electric-indent-mode.
3944 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3945 New hook functions which propagate electric-indent-mode to CC mode.
3946
3947 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3948 hit, toggle electric-indent-local-mode.
3949
3950 * electric.el (electric-indent-mode-has-been-called):
3951 New variable.
3952
3953 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3954
3955 * frameset.el (frameset-cfg-id): New function.
3956 (frameset--reuse-frame, frameset-restore): Use it.
3957 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3958
3959 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3960
3961 * ido.el (ido-file-internal): Remove unused var `d'.
3962 Use \` for to match BoS. Fit within 80n columns.
3963
3964 2014-02-17 Daniel Colascione <dancol@dancol.org>
3965
3966 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3967 dbus-call-method check for completion using a busy-wait loop with
3968 gradual backoff.
3969
3970 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3971
3972 Sync with Tramp 2.2.9.
3973
3974 * net/trampver.el: Update release number.
3975
3976 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3977
3978 * ido.el (ido-file-internal): Don't add the name of an existing
3979 directory twice. (Bug#16747)
3980
3981 2014-02-16 Glenn Morris <rgm@gnu.org>
3982
3983 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3984 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3985
3986 2014-02-15 Michael R. Mauger <michael@mauger.com>
3987
3988 * progmodes/sql.el: Version 3.4
3989 (sql-oracle-options): New default value ("-L").
3990 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3991 (sql-placeholders-filter): Correct placeholder pattern.
3992 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3993 (sql-login-delay): New variable.
3994 (sql-product-interactive): Use it.
3995
3996 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3997
3998 * frameset.el (frameset--jump-to-register): Check that buffer is live
3999 (bug#16749).
4000
4001 2014-02-15 Glenn Morris <rgm@gnu.org>
4002
4003 * info.el (info-initialize): Revert 2014-01-10 change.
4004
4005 2014-02-14 Glenn Morris <rgm@gnu.org>
4006
4007 * replace.el (map-query-replace-regexp)
4008 (read-regexp-defaults-function, read-regexp): Doc fixes.
4009
4010 * dired.el (dired-read-regexp):
4011 * faces.el (list-faces-display):
4012 * misearch.el (multi-isearch-read-matching-buffers)
4013 (multi-isearch-read-matching-files):
4014 * play/cookie1.el (cookie-apropos):
4015 * progmodes/grep.el (grep-read-regexp): Doc fixes.
4016
4017 * textmodes/remember.el (remember): Use frameset-to-register
4018 rather than frame-configuration-to-register.
4019
4020 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
4021
4022 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
4023 incorrect keybinding.
4024
4025 2014-02-13 Daniel Colascione <dancol@dancol.org>
4026
4027 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
4028 when adding overlays so that line numbers from compiler match line
4029 numbers we use.
4030
4031 2014-02-13 Glenn Morris <rgm@gnu.org>
4032
4033 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
4034
4035 * jit-lock.el (jit-lock-mode): Doc fix.
4036
4037 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
4038
4039 * apropos.el (apropos-read-pattern): When the user passes an empty
4040 string, give a more helpful error message than "Wrong type
4041 argument: stringp, nil".
4042
4043 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
4044
4045 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
4046
4047 2014-02-13 Glenn Morris <rgm@gnu.org>
4048
4049 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
4050
4051 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
4052
4053 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
4054 shift-select commands.
4055
4056 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
4057
4058 * progmodes/js.el (js-indent-line): Don't widen.
4059 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
4060
4061 2014-02-12 Glenn Morris <rgm@gnu.org>
4062
4063 * icomplete.el (icomplete): Add info-link to defgroup.
4064 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
4065 (icomplete-minibuffer-map, icomplete-mode)
4066 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
4067
4068 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
4069 (package-menu-filter): Rename from package-menu-filter-interactive.
4070 Doc fix.
4071
4072 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
4073
4074 * frameset.el (frameset--jump-to-register): Select the required
4075 window and buffer before restoring position (bug#16696).
4076
4077 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
4078
4079 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
4080
4081 2014-02-10 Glenn Morris <rgm@gnu.org>
4082
4083 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
4084
4085 2014-02-10 Eli Zaretskii <eliz@gnu.org>
4086
4087 * w32-common-fns.el (x-get-selection): Doc fix.
4088 * select.el (x-get-selection): Doc fix. (Bug#15109)
4089
4090 * face-remap.el (face-remap-add-relative)
4091 (face-remap-remove-relative, face-remap-reset-base)
4092 (face-remap-set-base): Call force-mode-line-update to redisplay
4093 the current buffer due to potential change in faces. (Bug#16709)
4094
4095 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
4096
4097 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
4098 script more robustly.
4099
4100 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4101
4102 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
4103
4104 * simple.el (choose-completion): Doc fix (bug#14160).
4105
4106 * subr.el (event-start): Say what a nil EVENT value means.
4107
4108 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
4109 (bug#14197).
4110
4111 * progmodes/grep.el (find-program): Doc fix (bug#14289).
4112
4113 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
4114
4115 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
4116
4117 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
4118 predicate function (bug#15455).
4119
4120 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
4121
4122 * ielm.el (inferior-emacs-lisp-mode): Instead of
4123 `comment-use-global-state', set `comment-use-syntax'.
4124
4125 2014-02-10 Glenn Morris <rgm@gnu.org>
4126
4127 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
4128
4129 2014-02-09 Alan Mackenzie <acm@muc.de>
4130
4131 Fix c-invalidate-state-cache on narrowed buffers.
4132 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
4133 Widen when setting and clearing the CPP delimiter properties.
4134
4135 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
4136
4137 * help.el (describe-bindings): Doc fix (bug#9888).
4138
4139 * files.el (save-buffer): Use ARG as the parameter name for
4140 consistency (bug#10346).
4141 (save-buffer): Clarify the 0 argument (bug#10346).
4142
4143 * cus-edit.el (customize-apropos): Fix error string.
4144 (custom-buffer-create): Doc fix (bug#11122).
4145 (custom-sort-items): Doc fix (bug#11121).
4146
4147 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
4148
4149 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
4150 (icomplete-simple-completing-p): Mention the previous variable.
4151
4152 * font-lock.el (font-lock-value-in-major-mode): Clarify the
4153 meaning of the parameter (bug#12282).
4154
4155 * files.el (find-file-noselect): Clarify prompt when changing
4156 readedness (bug#13261).
4157 (locate-file): Suffixes aren't returned, so don't say that they
4158 are (bug#12674).
4159 (backup-inhibited): Doc clarification (bug#12525).
4160
4161 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
4162 before we actually start to delete things (bug#16331).
4163
4164 * subr.el (event-start): Doc fix (bug#14228).
4165 (event-end): Ditto.
4166
4167 2014-02-09 Glenn Morris <rgm@gnu.org>
4168
4169 * emacs-lisp/warnings.el (lwarn):
4170 Empower help-enable-auto-load. (Bug#15940)
4171
4172 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4173
4174 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
4175 (Bug#16690)
4176
4177 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
4178
4179 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4180 Insert output at end of buffer. (Bug#16120)
4181
4182 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4183
4184 * simple.el (choose-completion-string-functions): Document new
4185 calling convention (bug#14153).
4186 (execute-extended-command): Clarify doc string (bug#13373).
4187
4188 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
4189
4190 * find-dired.el (find-name-dired): Doc fix (bug#14290).
4191 (find-grep-dired): Doc fix (bug#14288).
4192
4193 2014-02-08 Juri Linkov <juri@jurta.org>
4194
4195 * isearch.el (isearch-quote-char): Check character validity
4196 like in `quoted-insert' (bug#16677).
4197
4198 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4199
4200 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
4201
4202 * isearch.el (isearch-hide-immediately): Doc clarification
4203 (bug#14723).
4204
4205 * simple.el (line-move): Document utility function used many
4206 places in the Emacs sources (bug#14843).
4207
4208 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
4209 (dired-prev-marked-file): Doc fix (bug#14855).
4210 (dired-up-directory): Doc fix (bug#14848).
4211
4212 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
4213
4214 * files.el (file-relative-name): Doc fix (bug#15159).
4215
4216 * fringe.el (fringe-styles): Doc fix (bug#15239).
4217
4218 * isearch.el (isearch-filter-predicate): Documentation typo fix
4219 (bug#15474).
4220
4221 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
4222
4223 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
4224
4225 * replace.el (replace-match-maybe-edit): Doc clarification
4226 (bug#15632).
4227
4228 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
4229
4230 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
4231
4232 2014-02-08 Glenn Morris <rgm@gnu.org>
4233
4234 * help-fns.el (describe-variable):
4235 Check {file,dir}-local-variables-alist, and buffer-file-name,
4236 in the correct buffer.
4237
4238 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
4239
4240 * help-fns.el (describe-variable): Fix the case where
4241 a value is directory-local with no dir-locals file. (Bug#16635)
4242
4243 2014-02-08 Glenn Morris <rgm@gnu.org>
4244
4245 * abbrev.el (edit-abbrevs-mode):
4246 Derive from fundamental-mode. (Bug#16682)
4247
4248 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
4249
4250 * simple.el (quoted-insert): Check character validity (bug#16677).
4251
4252 2014-02-07 Juri Linkov <juri@jurta.org>
4253
4254 * desktop.el (desktop-read): Claim the lock when the owner is not
4255 the current process. (Bug#16157)
4256
4257 2014-02-07 Juri Linkov <juri@jurta.org>
4258
4259 * desktop.el (desktop-buffers-not-to-save): Change default from nil
4260 to "\\` ". (Bug#16651)
4261
4262 2014-02-07 Juri Linkov <juri@jurta.org>
4263
4264 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
4265 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
4266 (desktop-auto-save-cancel-timer): New function with some code from
4267 `desktop-auto-save-set-timer'.
4268 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
4269 Instead of setting `desktop-save-mode' to nil, call
4270 `desktop-save-mode' with arg 0. (Bug#16630)
4271
4272 2014-02-07 Glenn Morris <rgm@gnu.org>
4273
4274 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
4275 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
4276 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
4277
4278 * obsolete/iswitchb.el: Move to obsolete/.
4279 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
4280 since obsolete/ is not scanned for autoloads.
4281 * emacs-lisp/authors.el (authors-valid-file-names):
4282 Add iswitchb.el.
4283
4284 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
4285 Disable now non-functional find-file-hook.
4286
4287 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
4288
4289 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
4290 instead of ";" in order to avoid additional prompts. Let heredoc
4291 scripts read from tty. (Bug#16582)
4292 (tramp-send-command): No special handling of heredocs, it isn't
4293 necessary anymore.
4294
4295 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
4296
4297 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
4298 with a space (bug#16664). Limit the symbols considered to the ones
4299 that are bound or fbound (bug#16646).
4300
4301 2014-02-06 Glenn Morris <rgm@gnu.org>
4302
4303 * epa.el (epa-mail-aliases): Doc fix.
4304
4305 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
4306
4307 * emacs-lisp/lisp.el (lisp-completion-at-point):
4308 Use `completion-table-merge' instead of `completion-table-in-turn'
4309 (bug#16604).
4310
4311 * minibuffer.el (completion-table-merge): New function.
4312
4313 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
4314
4315 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
4316 (tramp-sh-handle-set-file-acl)
4317 (tramp-sh-handle-start-file-process)
4318 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
4319 (tramp-find-executable, tramp-send-command): Use it.
4320
4321 2014-02-05 Glenn Morris <rgm@gnu.org>
4322
4323 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
4324
4325 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
4326
4327 * progmodes/python.el (python-shell-send-string)
4328 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
4329
4330 2014-02-04 Anders Lindgren <andlind@gmail.com>
4331
4332 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
4333 the names (bug#16620).
4334
4335 2014-02-03 Martin Rudalics <rudalics@gmx.at>
4336
4337 * faces.el (window-divider): New default value. Rewrite doc-string.
4338 (window-divider-first-pixel, window-divider-last-pixel): New faces.
4339
4340 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
4341
4342 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
4343 `protected' and `public' can also be called without arguments.
4344
4345 2014-02-03 Glenn Morris <rgm@gnu.org>
4346
4347 * register.el (window-configuration-to-register)
4348 (frame-configuration-to-register): Unadvertise unused argument.
4349 * frameset.el (frameset-to-register): Remove unused argument.
4350
4351 * frameset.el (frameset-to-register):
4352 * kmacro.el (kmacro-to-register):
4353 * register.el (increment-register):
4354 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
4355 (calc-append-to-register, calc-prepend-to-register):
4356 * play/gametree.el (gametree-layout-to-register)
4357 (gametree-apply-register-layout):
4358 * textmodes/picture.el (picture-clear-rectangle-to-register)
4359 (picture-yank-rectangle-from-register):
4360 * vc/emerge.el (emerge-combine-versions-register):
4361 Use register-read-with-preview to read registers.
4362
4363 2014-02-03 João Távora <joaotavora@gmail.com>
4364
4365 * elec-pair.el (electric-pair-backward-delete-char): Don't error
4366 when at beginning of (possibly narrowed) buffer.
4367
4368 2014-02-02 Daniel Colascione <dancol@dancol.org>
4369
4370 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
4371 Also try to display local help from just before point.
4372
4373 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
4374
4375 c-parse-state. Don't "append-lower-brace-pair" in certain
4376 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
4377 recognised as a comment.
4378
4379 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
4380 as well as normal comment starter.
4381 (c-parse-state-get-strategy): Extra return possibility
4382 'back-and-forward.
4383 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
4384 return value list to indicate replacement of a brace-pair cons
4385 with its car.
4386 (c-parse-state-1): With 'back-and-forward, only call
4387 c-append-lower-brace-pair-to state-cache when cons-separated.
4388
4389 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
4390
4391 * term/ns-win.el (ns-suspend-error): New function.
4392 (ns-initialize-window-system): Add ns-suspend-error to
4393 suspend-hook (Bug#16612).
4394
4395 2014-02-02 Daniel Colascione <dancol@dancol.org>
4396
4397 * progmodes/cc-defs.el (c-find-assignment-for-mode):
4398 Make loading cc-mode silent.
4399
4400 2014-02-02 Daniel Colascione <dancol@dancol.org>
4401
4402 * comint.el (comint-prompt-read-only): Change doc to suggest
4403 remap keybinding.
4404
4405 2014-02-02 Glenn Morris <rgm@gnu.org>
4406
4407 * register.el (register-read-with-preview, point-to-register)
4408 (window-configuration-to-register, frame-configuration-to-register)
4409 (jump-to-register, number-to-register, view-register, insert-register)
4410 (copy-to-register, append-to-register, prepend-to-register)
4411 (copy-rectangle-to-register): Doc fixes.
4412
4413 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4414
4415 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
4416 * emacs-lisp/find-func.el (find-function-C-source): Idem.
4417 * emacs-lisp/nadvice.el (advice--cd*r): New function.
4418 * help-fns.el (describe-function-1): Use it.
4419
4420 2014-02-02 Glenn Morris <rgm@gnu.org>
4421
4422 * register.el (register-preview-default): New function,
4423 split from register-preview.
4424 (register-preview-function): Rename from register-preview-functions,
4425 make it not a hook.
4426 (register-preview): Use register-preview-function.
4427 (register-read-with-preview): Error on non-character event. (Bug#16595)
4428
4429 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
4430
4431 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
4432 `:' before binary operators (bug#16609). Don't check for `:'
4433 before `[' and `(', or their syntax status. A percent literal
4434 can't end with either.
4435 (ruby-font-lock-keywords): For built-ins that require arguments,
4436 check that they're followed by something that looks like argument
4437 (bug#16610).
4438
4439 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
4440
4441 * subr.el (butlast): Document what an omitted N means (bug#13437).
4442 (nbutlast): Ditto.
4443
4444 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
4445
4446 * net/shr.el (shr-generic): Make into a defsubst to make the stack
4447 depth shallower (bug#16587).
4448 (shr-tag-svg): Respect `shr-inhibit-images'.
4449 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
4450
4451 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
4452
4453 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
4454 (ruby-smie-grammar): Make "." right-associative. Make its priority
4455 lower than the ternary and all binary operators.
4456 (ruby-smie-rules): Indent "(" relative to the first non-"."
4457 parent, or the first "." parent at indentation.
4458 Use `ruby-align-chained-calls' for indentation of "." tokens.
4459 (Bug#16593)
4460
4461 2014-01-31 Juri Linkov <juri@jurta.org>
4462
4463 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
4464 from `make-hash-table'.
4465
4466 * textmodes/ispell.el (ispell-init-process): Change message format
4467 to be consistent with other messages.
4468
4469 2014-01-31 Glenn Morris <rgm@gnu.org>
4470
4471 * delsel.el (delete-selection-mode): Doc fix.
4472
4473 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
4474 (trace-function-background): Doc fixes.
4475
4476 * ido.el (ido-use-virtual-buffers): Doc fix.
4477 Reset :version, since the default value has not changed.
4478
4479 * register.el (register-preview-delay, register-read-with-preview):
4480 Doc fixes.
4481
4482 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
4483 do not mess with mail-buffer position (fixes 2009-11-03 change).
4484 * progmodes/cc-mode.el (c-submit-bug-report):
4485 Check auto-fill-mode is bound. (Bug#16592)
4486
4487 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
4488
4489 * startup.el (fancy-splash-image-file): New function,
4490 split from fancy-splash-head.
4491 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
4492 so that we are both using the same image. (Bug#16574)
4493
4494 2014-01-30 Glenn Morris <rgm@gnu.org>
4495
4496 * simple.el (eval-expression): Doc fix.
4497
4498 * hexl.el (hexl-mode-hook):
4499 * ielm.el (ielm-mode-hook):
4500 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
4501 (lisp-interaction-mode-hook):
4502 * progmodes/cfengine.el (cfengine3-documentation-function):
4503 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
4504
4505 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4506
4507 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
4508 is a symbol (bug#16584).
4509
4510 2014-01-30 Glenn Morris <rgm@gnu.org>
4511
4512 * help.el (help-for-help-internal): Add "P" to text.
4513
4514 2014-01-29 Glenn Morris <rgm@gnu.org>
4515
4516 * simple.el (just-one-space, cycle-spacing): Doc fixes.
4517
4518 2014-01-28 Martin Rudalics <rudalics@gmx.at>
4519
4520 * window.el (fit-frame-to-buffer): Fix calculations for margins and
4521 height constraints.
4522
4523 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
4524
4525 * progmodes/hideif.el: Extend to full CPP expression syntax.
4526 (hif-token-alist): Add missing tokens.
4527 (hif-token-regexp): Add support for float/octal/hex immediates.
4528 (hif-string-literal-regexp): New const.
4529 (hif-tokenize): Recognize strings and float/octal/hex immediates.
4530 (hif-exprlist): New function.
4531 (hif-parse-if-exp): Use it.
4532 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
4533 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
4534 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
4535 (hif-logxor, hif-comma): New functions.
4536
4537 2014-01-28 Glenn Morris <rgm@gnu.org>
4538
4539 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
4540
4541 * indent.el (tab-stop-list): Doc fix. Add :version.
4542
4543 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
4544 (cvs-append-to-ignore): Add compatibility alias.
4545
4546 2014-01-27 Glenn Morris <rgm@gnu.org>
4547
4548 * dired.el (dired-hide-details-mode): Don't autoload it,
4549 since it cannot be used outside Dired buffers anyway.
4550
4551 * emulation/cua-base.el (cua-mode): Doc fix.
4552
4553 * dired.el (dired-hide-details-hide-symlink-targets)
4554 (dired-hide-details-hide-information-lines)
4555 (dired-hide-details-mode): Doc fixes.
4556
4557 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
4558 * strokes.el (strokes-file): Doc fix. Bump :version.
4559 (strokes-help): Doc fix.
4560 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
4561 * emulation/viper.el (viper): Doc fix for custom group.
4562 (top-level): Remove oh-so-no-longer-relevant text about vip.
4563 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4564
4565 * ido.el (ido-save-directory-list-file):
4566 * saveplace.el (save-place-file):
4567 * calendar/timeclock.el (timeclock-file):
4568 * net/quickurl.el (quickurl-url-file):
4569 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4570 * progmodes/idlwave.el (idlwave-config-directory):
4571 * textmodes/remember.el (remember-data-file):
4572 Bump :version.
4573
4574 2014-01-26 Glenn Morris <rgm@gnu.org>
4575
4576 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4577 Doc fix. Make obsolete.
4578 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4579
4580 * sort.el (delete-duplicate-lines): Doc fix.
4581
4582 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4583
4584 * progmodes/ada-mode.el (ada):
4585 * woman.el (woman): Link to info manual and Commentary section.
4586
4587 * progmodes/flymake.el (flymake):
4588 * nxml/nxml-mode.el (nxml):
4589 * net/eww.el (eww):
4590 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4591 * htmlfontify.el (htmlfontify):
4592 * ses.el (ses):
4593 * epa.el (epa):
4594 * ido.el (ido): Link to info manual.
4595
4596 2014-01-25 Leo Liu <sdl.web@gmail.com>
4597
4598 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4599
4600 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
4601
4602 * net/shr.el (shr-tag-img): Prefer the title over the alt text
4603 (bug#16537).
4604
4605 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
4606
4607 * net/eww.el (eww-download-callback):
4608 Fix reference to eww-download-directory.
4609
4610 * emacs-lisp/bytecomp.el (byte-compile-file):
4611 Remove unused local variable `file-name'.
4612
4613 2014-01-24 Glenn Morris <rgm@gnu.org>
4614
4615 * woman.el (woman-default-faces, woman-monochrome-faces):
4616 Fix obsolescence specification.
4617
4618 * subr.el (with-demoted-errors): Doc fix.
4619
4620 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
4621
4622 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4623 (cl--macroexp-fboundp): New function.
4624 (cl--make-type-test): Use it.
4625
4626 2014-01-23 Glenn Morris <rgm@gnu.org>
4627
4628 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4629 * simple.el (eval-expression): Doc fixes.
4630
4631 2014-01-22 Glenn Morris <rgm@gnu.org>
4632
4633 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4634
4635 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
4636
4637 * emacs-lisp/package.el: Write files silently.
4638 (package-autoload-ensure-default-file, package--write-file-no-coding)
4639 (package-generate-description-file, package--download-one-archive)
4640 (package-install-from-archive): Tell `write-region' to stay quiet.
4641 (package-menu-mode, package-menu--print-info): Omit the Archive column
4642 if there's only one archive.
4643 (package-all-keywords, package--has-keyword-p): Remove dead code.
4644
4645 2014-01-22 Glenn Morris <rgm@gnu.org>
4646
4647 * version.el (emacs-bzr-version-bzr): Fix typo.
4648
4649 * version.el (emacs-repository-get-version):
4650 Check either .bzr or .git, but not both.
4651 Make the git case actually use the DIR argument, and return nil
4652 rather than the empty string.
4653 Avoid error if .git exists but the git executable is not found.
4654
4655 2014-01-22 Martin Rudalics <rudalics@gmx.at>
4656
4657 Fixes in window size functions around Bug#16430 and Bug#16470.
4658 * window.el (window-total-size, window-size): New argument ROUND.
4659 (window--min-delta-1, window-min-delta, window--max-delta-1):
4660 Be more conservative when calculating the numbers of lines or
4661 columns a window can shrink (Bug#16430).
4662 (fit-window-to-buffer): Simplify code.
4663 * term.el (term-window-width): Call window-body-width again.
4664
4665 2014-01-22 Glenn Morris <rgm@gnu.org>
4666
4667 * image.el (image-format-suffixes): Doc fix.
4668
4669 * international/quail.el (quail-define-package): Doc fix.
4670
4671 * emacs-lisp/authors.el (authors-valid-file-names)
4672 (authors-renamed-files-alist): Additions.
4673
4674 * vc/vc-git.el (vc-git-print-log): Remove --follow;
4675 reverts 2014-01-09 change. (Bug#16422)
4676
4677 * calc/calc-embed.el (thing-at-point-looking-at):
4678 * emacs-lisp/map-ynp.el (x-popup-dialog):
4679 * obsolete/lmenu.el (x-popup-dialog):
4680 * emacs-lisp/package.el (url-recreate-url):
4681 * mail/mailclient.el (clipboard-kill-ring-save):
4682 * subr.el (x-popup-dialog): Update declaration.
4683 * mail/rmail.el (rmail-mime-message-p):
4684 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4685
4686 2014-01-21 Daniel Colascione <dancol@dancol.org>
4687
4688 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4689 Correctly detect when we're inside an arithmetic expansion form
4690 containing nested parenthesis.
4691 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4692 to detect cases where we shouldn't expand "<<" to a heredoc
4693 skeleton.
4694
4695 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4696
4697 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4698 (eldoc--message-command-p): New function.
4699 (eldoc-display-message-p): Use it.
4700 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4701 message is not automatically erased for us.
4702 (eldoc-print-current-symbol-info): Erase previous message, if any.
4703
4704 2014-01-21 Tassilo Horn <tsdh@gnu.org>
4705
4706 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4707 specify it's an interactive function.
4708
4709 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4710 Fix regex used for scanning for citation keys which failed for
4711 citations with optional arguments.
4712
4713 2014-01-21 Leo Liu <sdl.web@gmail.com>
4714
4715 * simple.el (read--expression): Don't enable eldoc-mode.
4716
4717 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4718
4719 * simple.el (move-beginning-of-line): Make sure we don't move forward
4720 (bug#16497).
4721
4722 2014-01-20 Juri Linkov <juri@jurta.org>
4723
4724 * saveplace.el (toggle-save-place, save-place-to-alist)
4725 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4726 'dired-mode) before checking for dired-directory. (Bug#16477)
4727
4728 2014-01-20 Juri Linkov <juri@jurta.org>
4729
4730 * indent.el (indent-line-to): Use backward-to-indentation
4731 instead of back-to-indentation. (Bug#16461)
4732
4733 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4734
4735 Revert some of the CANNOT_DUMP fix (Bug#16494).
4736 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4737 but fixing this can wait until after the next release.
4738 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4739
4740 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
4741
4742 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4743 Use `password-word-equivalents'.
4744 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4745 to t. (Bug#5664, Bug#13124)
4746
4747 2014-01-19 Alan Mackenzie <acm@muc.de>
4748
4749 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4750 points.
4751 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4752 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4753 * progmodes/cc-mode.el (c-before-change, c-after-change)
4754 (c-font-lock-fontify-region): Bind it here.
4755
4756 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4757
4758 * term.el (term-window-width): Call window-text-width instead of
4759 window-width (Bug#16470).
4760
4761 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4762
4763 * simple.el (password-word-equivalents): Remove duplicates.
4764 Sort, to make this easier next time.
4765 Downcase. Omit ": " after "jelszó".
4766
4767 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4768
4769 * term/common-win.el (saved-region-selection): Defvar it.
4770 (x-select-text): Set saved-region-selection (Bug#16382).
4771
4772 2014-01-18 Glenn Morris <rgm@gnu.org>
4773
4774 * emacs-lisp/authors.el (authors-aliases)
4775 (authors-renamed-files-alist): Add some entries.
4776
4777 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4778
4779 * net/tramp.el (tramp-password-prompt-regexp):
4780 Use `password-word-equivalents' if available.
4781 (tramp-action-password, tramp-process-one-action)
4782 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4783
4784 2014-01-17 Chong Yidong <cyd@gnu.org>
4785
4786 * simple.el (password-word-equivalents): New defcustom.
4787 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4788 to 24.4.
4789 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4790 to t. (Bug#13124)
4791
4792 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4793
4794 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4795 (ruby-align-to-stmt-keywords): Change the default value.
4796 Use `ruby-alignable-keywords' to generate the possible customization
4797 choices.
4798 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4799 keywords, check against the value of `ruby-alignable-keywords'
4800 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4801
4802 2014-01-17 Glenn Morris <rgm@gnu.org>
4803
4804 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4805
4806 Make M-x authors return zero *Authors Errors* from current logs.
4807 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4808 (authors-ignored-files): Add some entries, remove others.
4809 (authors-ambiguous-files, authors-valid-file-names):
4810 Add some entries.
4811 (authors-renamed-files-alist): Add, remove, and adjust entries.
4812 (authors-renamed-files-regexps): Add some entries.
4813 Remove some very broad ones. Make some entries `lax'.
4814 (authors-lax-changelogs): New constant.
4815 (authors-disambiguate-file-name): Treat top-level specially.
4816 (authors-lax-changelog-p): New function.
4817 (authors-canonical-file-name): Check file as written against
4818 authors-valid-file-names. Do not special-case etc/.
4819 Handle `lax' logs and authors-renamed-files-regexps elements.
4820
4821 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4822
4823 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4824 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4825 callers.
4826
4827 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4828
4829 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4830 Assume we're already in the proper buffer.
4831 Inspired by Anders Lindgren <andlind@gmail.com>.
4832 (follow-post-command-hook): Call it from the right buffer.
4833 (follow-comint-scroll-to-bottom): Adjust call.
4834 (follow-all-followers): Use get-buffer-window-list.
4835
4836 2014-01-15 Daniel Colascione <dancol@dancol.org>
4837
4838 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4839 `buffer-file-name' in interactive-form so that we don't leave
4840 pathless file names in `file-name-history'.
4841
4842 2014-01-15 Juri Linkov <juri@jurta.org>
4843
4844 * indent.el (indent-rigidly): Set deactivate-mark to nil
4845 in transient indentation mode. (Bug#16438)
4846
4847 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4848
4849 * emacs-lisp/package.el (package-desc-keywords): New function
4850 (Bug#16222).
4851 (describe-package-1, package-all-keywords)
4852 (package--has-keyword-p): Use it.
4853
4854 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4855
4856 * simple.el (define-alternatives): When creating the
4857 COMMAND-alternatives variable, assign COMMAND as its definition
4858 name so that `describe-variable' can relocate it.
4859
4860 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4861
4862 * font-lock.el (font-lock-keywords): Fix typo in docstring
4863 (bug#16307).
4864
4865 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4866
4867 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
4868 line instead of wrongly reset `add-coment' (bug#13577).
4869
4870 2014-01-14 Daiki Ueno <ueno@gnu.org>
4871
4872 * epa-file.el (epa-file-write-region): Encode the region according
4873 to `buffer-file-format'. Problem reported at:
4874 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4875
4876 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4877
4878 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4879 so it applies in the right buffer (bug#16410).
4880
4881 2014-01-13 Daniel Colascione <dancol@dancol.org>
4882
4883 * textmodes/rst.el (rst-define-key): Provide deprecated
4884 keybindings through named functions instead of anonymous ones so
4885 that "??" doesn't appear in describe-mode output.
4886
4887 2014-01-13 Bastien Guerry <bzg@gnu.org>
4888
4889 * simple.el (define-alternatives): Call the selected command
4890 interactively. When setting `COMMAND--implementation' for the
4891 first time, tell the user how to chose another implementation.
4892 Enhance the docstring.
4893
4894 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4895
4896 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4897 (log-edit--match-first-line): New function.
4898 (log-edit-font-lock-keywords): Use it.
4899 (log-edit-mode): Make jit-lock-defer-multiline work.
4900
4901 2014-01-13 Bastien Guerry <bzg@gnu.org>
4902
4903 * rect.el (rectangle-mark-mode): When the region is not active,
4904 display a message saying that the mark as been set and that
4905 rectangle mode is in use.
4906 (rectangle--highlight-for-redisplay): Only put an overlay with a
4907 visible vertical bar when (display-graphic-p) is non-nil.
4908 This partially fixes Bug#16403.
4909
4910 2014-01-13 Juri Linkov <juri@jurta.org>
4911
4912 * info.el (Info-find-file): Go to DIR before displaying the error
4913 about a nonexistent file if no previous Info file is visited.
4914 Use `user-error' instead of `error' for "Info file %s does not exist".
4915 (Info-find-node-2): In case of a nonexistent node in unwind forms
4916 go to the Top node if there is no previous node to revert to.
4917 (Bug#16405)
4918
4919 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4920
4921 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4922 * window.el (fit-frame-to-buffer): Fix doc-string.
4923 Respect window-min-height/-width. Fit pixelwise when
4924 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4925 when avoiding that frame goes partially off-screen.
4926 (fit-window-to-buffer): Respect window-min-height/-width
4927 (Bug#14096).
4928
4929 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4930
4931 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4932 after an empty line.
4933
4934 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4935
4936 * net/shr.el (shr-render-region): Autoload.
4937
4938 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4939
4940 * net/eww.el (eww-download-directory): Rename from
4941 `eww-download-path' (Bug#16419).
4942
4943 2014-01-12 Leo Liu <sdl.web@gmail.com>
4944
4945 * dired-x.el (dired-mode-map): Fix last change.
4946
4947 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4948
4949 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4950
4951 Spelling fixes.
4952 * emacs-lisp/generic.el (generic--normalize-comments):
4953 Rename from generic--normalise-comments. All uses changed.
4954 * play/bubbles.el (bubbles--neighborhood-score)
4955 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4956 (bubbles--neighborhood-available)
4957 (bubbles--update-neighborhood-score):
4958 Rename from names with 'neighbourhood'. All uses changed.
4959
4960 2014-01-12 Leo Liu <sdl.web@gmail.com>
4961
4962 Re-implement the feature of showing eldoc info after editing.
4963 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4964 (eldoc-edit-message-commands): New function.
4965 (eldoc-print-after-edit): New variable.
4966 (eldoc-pre-command-refresh-echo-area): Emit message only by
4967 eldoc-message-commands.
4968 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4969 if eldoc-print-after-edit is set. (Bug#16346)
4970 * simple.el (read--expression): Enable eldoc-mode.
4971 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4972
4973 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4974 Eric S. Raymond <esr@thyrsus.com>
4975
4976 * version.el (emacs-repository-get-version): Enhance so the
4977 function works correctly in either a Bazaar or Git repo.
4978
4979 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4980
4981 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4982 Goes with removal of the joke manpages from /etc.
4983
4984 2014-01-10 Kenichi Handa <handa@gnu.org>
4985
4986 * mail/rmail.el (rmail-get-coding-system):
4987 Check rmail-get-coding-function before "funcall"ing it.
4988
4989 2014-01-10 Glenn Morris <rgm@gnu.org>
4990
4991 * emacs-lisp/authors.el (authors-fixed-entries):
4992 Update for files that no longer exist.
4993
4994 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4995
4996 * version.el (emacs-bzr-get-version): Restore compatibilty with
4997 24.3 (Tested).
4998
4999 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
5000
5001 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
5002 and Podfile.
5003
5004 2014-01-10 Eli Zaretskii <eliz@gnu.org>
5005
5006 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
5007
5008 2014-01-10 Chong Yidong <cyd@gnu.org>
5009
5010 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
5011
5012 2014-01-10 Anders Lindgren <andlind@gmail.com>
5013
5014 * follow.el (follow-cache-command-list): Include right-char and
5015 left-char.
5016
5017 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
5018
5019 Spelling fixes.
5020 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
5021 * woman.el (woman-mark-horizontal-position):
5022 Rename from woman-mark-horizonal-position. Use changed.
5023
5024 2014-01-10 Glenn Morris <rgm@gnu.org>
5025
5026 * info.el (info-initialize): If running uninstalled, ensure our
5027 own info files are always found first, even if INFOPATH is set.
5028
5029 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
5030
5031 2014-01-09 David Engster <deng@randomsample.de>
5032
5033 * emacs-lisp/eieio-custom.el:
5034 * emacs-lisp/eieio-opt.el: Set generated autoload file to
5035 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
5036 * emacs-lisp/eieio.el: Regenerate autoloads.
5037
5038 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
5039
5040 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
5041 following renames. (Bug#8756)
5042
5043 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
5044
5045 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
5046 (bug#16382).
5047 (activate-mark): Add `no-tmm' argument.
5048 (set-mark, push-mark-command): Use it instead of running
5049 activate-mark-hook by hand.
5050
5051 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
5052
5053 In preparation for the move to git, sanitize out some
5054 Bazaar-specific names.
5055
5056 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
5057
5058 * version.el (emacs-bzr-version): Name changed to
5059 emacs-repository-version. Obsolete-variable alias made.
5060 * loadup.el: Follow through on this name change.
5061 * mail/emacsbug.el (report-emacs-bug): Factor out any
5062 assumption about the version control system in use.
5063
5064 2014-01-08 David Engster <deng@randomsample.de>
5065
5066 * help-fns.el (help-fns-describe-function-functions):
5067 New variable to call functions for augmenting help buffers.
5068 (describe-function-1): Remove explicit calls to
5069 `help-fns--compiler-macro', `help-fns--parent-mode' and
5070 `help-fns--obsolete'. Put them in above new variable instead, and
5071 call them through `run-hook-with-args'.
5072 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
5073 `eieio-describe-class'. Not meant for interactive use anymore,
5074 but to augment existing help buffers. Remove optional second
5075 argument. Create proper button for file location.
5076 Rewrite function to use `insert' instead of `princ' and `prin1' where
5077 possible.
5078 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
5079 (eieio-method-def, eieio-class-def): Move further up.
5080 (describe-method, describe-generic, eieio-describe-method):
5081 Remove aliases.
5082 (eieio-help-constructor, eieio-help-generic): Rename from
5083 `eieio-describe-constructor' and `eieio-describe-generic', resp.
5084 Rewrite to use `insert' in the current buffer and use proper help
5085 buttons.
5086 (eieio-help-find-method-definition)
5087 (eieio-help-find-class-definition): Also accept symbols as
5088 arguments.
5089 (eieio-help-mode-augmentation-maybee): Remove.
5090 (eieio-describe-class-sb): Use `describe-function'.
5091 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
5092 Add `eieio-help-generic' and `eieio-help-constructor'.
5093
5094 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
5095
5096 Spelling fixes.
5097 * language/china-util.el (hz-ascii-designation):
5098 Rename from hz-ascii-designnation.
5099 (hz-ascii-designation): Rename from hz-ascii-designnation.
5100 All uses changed.
5101
5102 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
5103
5104 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
5105 package-alist.
5106
5107 2014-01-08 Bastien Guerry <bzg@gnu.org>
5108
5109 * emacs-lisp/package.el (package-delete):
5110 Correctly delete the package from package-alist.
5111
5112 2014-01-08 Daiki Ueno <ueno@gnu.org>
5113
5114 * emacs-lisp/package.el (url-recreate-url): Declare.
5115 (url-http-target-url): Declare.
5116 (package-handle-response): Include requested URL in the error message.
5117 (package--check-signature): Don't re-signal errors from
5118 package--with-work-buffer. Suggested by Stefan Monnier.
5119
5120 2014-01-07 Bastien Guerry <bzg@gnu.org>
5121
5122 * minibuffer.el (completion--try-word-completion): When both a
5123 hyphen and a space are possible candidates for the character
5124 following a word, display both candidates. (Bug#15980)
5125
5126 2014-01-07 Martin Rudalics <rudalics@gmx.at>
5127
5128 * window.el (balance-windows-2): While rounding don't give a
5129 window more than the remainder. Bug#16351, bug#16383.
5130
5131 2014-01-07 Glenn Morris <rgm@gnu.org>
5132
5133 * menu-bar.el (menu-bar-help-extra-packages): Remove.
5134 (menu-bar-help-menu): Use view-external-packages instead.
5135
5136 2014-01-07 Bastien Guerry <bzg@gnu.org>
5137
5138 * emacs-lisp/package.el (package-delete): Also delete the package
5139 name from `package-alist', not its description only.
5140
5141 2014-01-07 Glenn Morris <rgm@gnu.org>
5142
5143 * help.el (view-external-packages):
5144 * menu-bar.el (menu-bar-help-extra-packages):
5145 Visit efaq.info rather than etc/MORE.STUFF.
5146
5147 2014-01-07 Juri Linkov <juri@jurta.org>
5148
5149 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
5150 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
5151
5152 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
5153 that shadows RET. (Bug#16342)
5154
5155 2014-01-07 Chong Yidong <cyd@gnu.org>
5156
5157 * isearch.el (isearch-yank-char, isearch-yank-word)
5158 (isearch-yank-line): Doc fix.
5159
5160 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
5161
5162 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
5163 * emacs-lisp/elint.el (elint-find-builtins):
5164 * emacs-lisp/eldoc.el (eldoc-symbol-function):
5165 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
5166 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
5167 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5168 * apropos.el (apropos-safe-documentation):
5169 * subr.el (symbol-file): Remove redundant fboundp.
5170 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
5171
5172 2014-01-06 Bastien Guerry <bzg@gnu.org>
5173
5174 * hl-line.el (global-hl-line-overlay): Make a local variable.
5175 (global-hl-line-overlays): New variable to store all overlays.
5176 (global-hl-line-mode): Don't delete overlays from the current
5177 buffer when `global-hl-line-sticky-flag' is non-nil.
5178 (global-hl-line-highlight): Add new overlays to
5179 `global-hl-line-overlays'.
5180 (global-hl-line-unhighlight-all): New function to delete all
5181 overlays when turning off `global-hl-line-mode'.
5182 This fixes Bug#16183.
5183
5184 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
5185
5186 * subr.el (set-transient-map): Fix nested case and docstring.
5187
5188 2014-01-06 Tassilo Horn <tsdh@gnu.org>
5189
5190 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
5191 `Texinfo' entry.
5192
5193 2014-01-06 Daniel Colascione <dancol@dancol.org>
5194
5195 Fix defun navigation in vc log view.
5196
5197 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
5198 like `beginning-of-defun'.
5199 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
5200 log-view-end-of-defun to log-view-end-of-defun-1. Replace
5201 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
5202 (log-view-extract-comment): Call `log-view-current-entry' directly
5203 instead of relying on broken `log-view-beginning-of-defun' behavior.
5204
5205 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
5206
5207 Spelling fixes.
5208 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
5209 * emacs-lisp/debug.el (cancel-debug-on-entry):
5210 * epg.el (epg-error-to-string):
5211 * files.el (recover-file):
5212 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
5213 * mail/emacsbug.el (report-emacs-bug-hook):
5214 * mail/sendmail.el (mail-recover):
5215 * ses.el (ses-yank-resize):
5216 * term/ns-win.el (ns-print-buffer):
5217 Spelling fixes in diagnostics, mostly for "canceled" with one L.
5218 * epg.el (epg-key-capability-alist): Rename from misspelled version.
5219 All uses changed.
5220 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
5221
5222 2014-01-06 Leo Liu <sdl.web@gmail.com>
5223
5224 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
5225 to avoid shadowing global key. (Bug#16354)
5226
5227 2014-01-06 Daniel Colascione <dancol@dancol.org>
5228
5229 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
5230 rst-mode.
5231
5232 2014-01-05 Martin Rudalics <rudalics@gmx.at>
5233
5234 * window.el (balance-windows): Add mising t to fix Bug#16351.
5235
5236 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5237
5238 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
5239 (bug#16285).
5240 (shr-insert): If we have a word that's longer than `shr-width',
5241 break after it anyway. Otherwise we'll do no breaking once we get
5242 such a long word.
5243
5244 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5245
5246 * net/eww.el (eww): Support single/double quote for search.
5247 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
5248 (eww-history-quit): Delete and use quit-window.
5249 (eww-history-kill): Delete, because it doesn't work well and
5250 not necessary.
5251 (eww-history-mode-map): Delete some keys and add easy-menu.
5252
5253 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
5254
5255 Fix misspelling of 'chinese' in rx (Bug#16237).
5256 * emacs-lisp/rx.el (rx-categories): Correct spelling of
5257 chinese-two-byte.
5258
5259 Change subword regexps back to vars (Bug#16296).
5260 * progmodes/subword.el (subword-forward-regexp)
5261 (subword-backward-regexp): Change these back to variables.
5262
5263 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5264
5265 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
5266 syntax-begin-function (bug#16247).
5267
5268 2014-01-03 Chong Yidong <cyd@gnu.org>
5269
5270 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
5271 (advice--docstring): Delete variable.
5272 (advice--make-1): Leave the docstring empty.
5273 (advice-add): Use function-documentation for advised docstring.
5274
5275 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
5276 Ignore function-documentation property when getting documentation.
5277 (ad-activate-advised-definition): Use function-documentation
5278 generate the docstring.
5279 (ad-make-advised-definition): Don't call
5280 ad-make-advised-definition-docstring.
5281 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5282 Delete functions.
5283
5284 * progmodes/sql.el (sql-help): Use function-documentation instead
5285 of dynamic-docstring-function property. No need to autoload now.
5286 (sql--help-docstring): New variable.
5287 (sql--make-help-docstring): Use it.
5288
5289 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5290
5291 * ielm.el (ielm-tab): Retarget.
5292 (ielm-map): Use ielm-tab for tab.
5293 (ielm-complete-filename): Use comint-filename-completion.
5294 (ielm-complete-symbol): Remove.
5295 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
5296 remove ielm-tab from completion-at-point-functions (bug#16224).
5297
5298 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
5299 Beware signals raised by predicates (bug#16201).
5300
5301 2014-01-02 Richard Stallman <rms@gnu.org>
5302
5303 * dired-aux.el (dired-do-print): Handle printer-name.
5304
5305 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
5306 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
5307 (rmail-epa-decrypt): Turn off mime processing.
5308
5309 * mail/rmail.el (rmail-make-in-reply-to-field):
5310 Add parens in message-id.
5311
5312 * mail/rmail.el (rmail-get-coding-function): Variable.
5313 (rmail-get-coding-system): Use it.
5314
5315 2013-12-31 Eli Zaretskii <eliz@gnu.org>
5316
5317 * international/mule-conf.el: Unify the charset indian-is13194.
5318 (indian-is13194): Specify unify-map.
5319
5320 2013-12-31 Leo Liu <sdl.web@gmail.com>
5321
5322 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
5323
5324 2013-12-30 Daniel Colascione <dancol@dancol.org>
5325
5326 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
5327 of printing a useless when we resume from sleep.
5328
5329 * progmodes/sh-script.el
5330 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
5331 in indentation code. (Bug#16233)
5332
5333 2013-12-28 João Távora <joaotavora@gmail.com>
5334
5335 * elec-pair.el (electric-pair-post-self-insert-function):
5336 Don't open extra newlines at beginning of buffer. (Bug#16272)
5337
5338 2013-12-28 Eli Zaretskii <eliz@gnu.org>
5339
5340 * frame.el (window-system-for-display): Don't allow to create a
5341 GUI frame from a -nw session on MS-Windows. (Bug#14739)
5342
5343 2013-12-28 Glenn Morris <rgm@gnu.org>
5344
5345 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
5346 Update callers.
5347
5348 * apropos.el (apropos-match-face):
5349 * calculator.el (calculator-displayer):
5350 * dabbrev.el (dabbrev-search-these-buffers-only):
5351 * face-remap.el (buffer-face-mode-face):
5352 * simple.el (yank-handled-properties):
5353 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
5354 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
5355 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
5356 (hashcash-double-spend-database):
5357 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
5358 (ruby-deep-indent-paren-style):
5359 * textmodes/flyspell.el (flyspell-auto-correct-binding):
5360 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
5361 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
5362 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
5363 Specify custom types.
5364
5365 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
5366 * bookmark.el (bookmark-bmenu-use-header-line):
5367 * doc-view.el (doc-view-scale-internally):
5368 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
5369 * register.el (register-preview-delay):
5370 * net/shr.el (shr-bullet):
5371 * progmodes/cfengine.el (cfengine-cf-promises)
5372 (cfengine-parameters-indent):
5373 * progmodes/octave.el (inferior-octave-error-regexp-alist):
5374 * textmodes/reftex-vars.el (reftex-label-regexps):
5375 * vc/log-edit.el (log-edit-setup-add-author): Add version.
5376
5377 * net/tls.el (tls-certtool-program): Fix default value.
5378
5379 * desktop.el (desktop-restore-in-current-display):
5380 * newcomment.el (comment-empty-lines):
5381 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
5382 (idlwave-pad-keyword):
5383 * progmodes/tcl.el (tcl-tab-always-indent):
5384 * textmodes/reftex-vars.el (reftex-index-default-tag):
5385 * elec-pair.el (electric-pair-skip-whitespace):
5386 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
5387
5388 * emacs-lisp/authors.el (authors-ignored-files)
5389 (authors-valid-file-names, authors-renamed-files-alist): Additions.
5390
5391 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
5392
5393 * shell.el (shell-dynamic-complete-command): Doc fix.
5394 (shell--command-completion-data): Shell completion now matches
5395 executable filenames from the current buffer's directory, on
5396 systems in which this behavior is the default (windows-nt, ms-dos).
5397
5398 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5399
5400 * net/shr.el (shr-insert): Don't infloop if the width is zero.
5401
5402 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
5403
5404 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
5405 (bug#16251).
5406
5407 * electric.el: Move all electric-pair-* to elec-pair.el.
5408 * elec-pair.el: New file, split from electric.el.
5409
5410 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5411
5412 * net/shr.el (shr-find-fill-point): Don't try to fill if the
5413 indentation level is larger than the width, because that will
5414 infloop.
5415 (shr-insert): Fill repeatedly long texts, so that Japanese is
5416 formatted correctly (bug#16263).
5417 (shr-find-fill-point): Off by one error in comparison with the
5418 indentation.
5419
5420 2013-12-26 João Távora <joaotavora@gmail.com>
5421
5422 * electric.el (electric-pair-mode): More flexible engine for skip-
5423 and inhibit predicates, new options for pairing-related functionality.
5424 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
5425 if that keeps or improves their balance in buffers.
5426 (electric-pair-delete-adjacent-pairs): Delete the pair when
5427 backspacing over adjacent matched delimiters.
5428 (electric-pair-open-extra-newline): Open extra newline when
5429 inserting newlines between adjacent matched delimiters.
5430 (electric--sort-post-self-insertion-hook):
5431 Sort post-self-insert-hook according to priority values when
5432 minor-modes are activated.
5433 * simple.el (newline-and-indent): Call newline with interactive
5434 set to t.
5435 (blink-paren-post-self-insert-function): Set priority to 100.
5436 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5437 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
5438 comments. Locally set electric-pair-skip-whitespace to 'chomp and
5439 electric-pair-open-newline-between-pairs to nil.
5440
5441 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
5442
5443 * progmodes/python.el: Use lexical-binding.
5444 (python-nav-beginning-of-defun): Stop searching ASAP.
5445
5446 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
5447
5448 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
5449 Fix interactive spec. Doc fix. (Bug#15754)
5450
5451 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
5452
5453 * emacs-lisp/byte-run.el (eval-when-compile):
5454 * progmodes/cc-defs.el (cc-eval-when-compile):
5455 Fix edebug spec (bug#16184).
5456
5457 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5458
5459 * net/shr.el (shr-visit-file): Remove debugging function.
5460 (shr-insert): Don't infloop if we can't find a good place to break
5461 the line (bug#16256).
5462
5463 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
5464
5465 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
5466 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
5467 python-nav-lisp-forward-sexp-safe.
5468 (python-nav--forward-sexp): New argument SAFE allows switching
5469 forward sexp movement behavior for parens.
5470 (python-nav-forward-sexp): Throw errors on unterminated parens
5471 (Bug#16191).
5472 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
5473 (python-nav-backward-sexp-safe): New functions.
5474 (python-shell-buffer-substring):
5475 Use `python-nav-forward-sexp-safe'.
5476
5477 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5478
5479 * net/shr.el (shr-find-fill-point): Don't break lines before a
5480 quotation mark.
5481 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
5482 (shr-find-fill-point): Remove the special checks for the quotation
5483 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
5484
5485 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5486
5487 * net/eww.el (eww-form-textarea): Use a different face for
5488 textareas than text input since they have different keymaps
5489 (bug#16142).
5490
5491 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
5492
5493 * progmodes/python.el (python-nav-beginning-of-statement):
5494 Speed up (Bug#15295).
5495
5496 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5497
5498 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
5499 the window configuration.
5500
5501 2013-12-24 Eli Zaretskii <eliz@gnu.org>
5502
5503 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
5504 we run on MS-Windows or MS-DOS.
5505
5506 2013-12-24 Martin Rudalics <rudalics@gmx.at>
5507
5508 * window.el (balance-windows-area): Call window-size instead of
5509 window-height and window-width. Bug#16241.
5510
5511 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5512
5513 * net/eww.el (eww-bookmark-quit): Remove.
5514 (eww-bookmark-browse): Restore the window configuration when you
5515 choose a bookmark (bug#16144).
5516
5517 2013-12-24 Daniel Colascione <dancol@dancol.org>
5518
5519 * icomplete.el: Remove redundant :group arguments to `defcustom'
5520 throughout.
5521 (icomplete-show-matches-on-no-input): New customizable variable.
5522 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
5523 we have something to show.
5524 (icomplete-exhibit): Compute completions even if we have no user input.
5525
5526 2013-12-23 Daniel Colascione <dancol@dancol.org>
5527
5528 * icomplete.el: Move `provide' to end of file.
5529
5530 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
5531
5532 * net/gnutls.el (gnutls-verify-error): Add version tag.
5533
5534 2013-12-23 Chong Yidong <cyd@gnu.org>
5535
5536 * subr.el (set-transient-map): Rename from
5537 set-temporary-overlay-map. Doc fix.
5538
5539 * face-remap.el (text-scale-adjust):
5540 * indent.el (indent-rigidly):
5541 * kmacro.el (kmacro-call-macro):
5542 * minibuffer.el (minibuffer-force-complete):
5543 * repeat.el (repeat):
5544 * simple.el (universal-argument--mode):
5545 * calendar/todo-mode.el (todo-insert-item--next-param):
5546 * progmodes/f90.el (f90-abbrev-start): Callers changed.
5547
5548 * indent.el (indent-rigidly): Use substitute-command-keys.
5549
5550 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5551
5552 * net/eww.el (eww-tag-select): Add text-property to jump to next
5553 select field.
5554 (eww): Add non-supported ftp error.
5555
5556 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5557
5558 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
5559 comments. Handle electric indent after typing `?' and `!'.
5560
5561 2013-12-22 Chong Yidong <cyd@gnu.org>
5562
5563 * faces.el (face-spec-recalc): If the theme specs are not
5564 applicable to a frame, fall back on the defface spec.
5565 This prevents themes from obliterating faces on low-color terminals.
5566
5567 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5568
5569 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5570 after `{'. We need it after block openers, and it doesn't seem
5571 to hurt after hash openers.
5572
5573 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5574
5575 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5576 extracted from `ruby-smie-rules'.
5577 (ruby--electric-indent-chars): New variable.
5578 (ruby--electric-indent-p): New function.
5579 (ruby-mode): Use `electric-indent-functions' instead of
5580 `electric-indent-chars'.
5581
5582 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5583
5584 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5585 docstring.
5586 (ruby-smie-rules): Indent plus one level after `=>'.
5587
5588 2013-12-21 Richard Stallman <rms@gnu.org>
5589
5590 * simple.el (newline): Doc fix.
5591
5592 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5593
5594 * net/eww.el (eww-list-histories, eww-list-histories)
5595 (eww-history-browse, eww-history-quit, eww-history-kill)
5596 (eww-history-mode-map, eww-history-mode): New command and
5597 functions to list browser histories.
5598 (eww-form-text): Support text form with disabled
5599 and readonly attributes.
5600 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5601
5602 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5603
5604 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5605 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5606 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5607 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5608 Use `user-error'.
5609 (eww-bookmark-mode-map): Add menu.
5610 (eww-render, eww-mode): Use `setq-local'.
5611 (eww-tool-bar-map): New variable.
5612 (eww-mode): Set `tool-bar-map'.
5613 (eww-view-source): Check for `html-mode' with `fboundp'.
5614
5615 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5616
5617 * net/shr.el (shr--extract-best-source): Don't bug out on audio
5618 elements with text inside. Also remove debugging.
5619
5620 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
5621
5622 * cus-start.el (all): Add ns-use-srgb-colorspace.
5623
5624 2013-12-21 Chong Yidong <cyd@gnu.org>
5625
5626 * custom.el (custom-theme-recalc-face): Do nothing if the face is
5627 undefined. Thus, theme settings for undefined faces do not take
5628 effect until the faces are defined with defface, the same as with
5629 theme variables.
5630
5631 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5632 (face-spec-reset-face): Don't assign extra properties in temacs.
5633 (face-spec-recalc): Apply X resources too.
5634
5635 2013-12-21 Chong Yidong <cyd@gnu.org>
5636
5637 * faces.el (face-spec-set):
5638 * cus-face.el (custom-theme-set-faces, custom-set-faces):
5639 * custom.el (defface): Doc fixes (Bug#16203).
5640
5641 * indent.el (indent-rigidly-map): Add docstring, and move commands
5642 into named functions.
5643 (indent-rigidly-left, indent-rigidly-right)
5644 (indent-rigidly-left-to-tab-stop)
5645 (indent-rigidly-right-to-tab-stop): New functions. Decide on
5646 indentation direction based on bidi direction, and accumulate
5647 sequential commands in a single undo boundary.
5648 (indent-rigidly--pop-undo): New utility function.
5649
5650 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
5651
5652 * faces.el (read-face-name): Require crm.el when using crm-separator.
5653
5654 2013-12-20 Daniel Colascione <dancol@dancol.org>
5655
5656 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5657 so that we don't reflow comments into the shebang line.
5658
5659 2013-12-20 Juri Linkov <juri@jurta.org>
5660
5661 * saveplace.el (save-place-to-alist): Add `dired-filename' as
5662 a position when `dired-directory' is non-nil. Check integer
5663 positions with `integerp'.
5664 (toggle-save-place, save-places-to-alist): Add check for
5665 `dired-directory'.
5666 (save-place-find-file-hook): Check integer positions with
5667 `integerp'.
5668 (save-place-dired-hook): Use `dired-goto-file' when
5669 `dired-filename' is found in the assoc list. Check integer
5670 positions with `integerp'.
5671 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5672
5673 * dired.el (dired-initial-position-hook): Rename back from
5674 `dired-initial-point-hook'.
5675 (dired-initial-position): Rename `dired-initial-point-hook' to
5676 `dired-initial-position-hook'.
5677 (dired-file-name-at-point): Doc fix. (Bug#15329)
5678
5679 2013-12-20 Juri Linkov <juri@jurta.org>
5680
5681 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5682 (read-regexp-suggestions): New function.
5683 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5684 Use `read-regexp-suggestions'. Add non-empty default to history
5685 for empty input.
5686 (occur-read-regexp-defaults-function): Remove function.
5687 (occur-read-primary-args): Use `regexp-history-last' instead of
5688 `occur-read-regexp-defaults-function'.
5689
5690 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5691 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5692 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5693 `hi-lock-read-regexp-defaults-function'. Doc fix.
5694 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5695 with `find-tag-default-as-symbol-regexp'. Doc fix.
5696 (hi-lock-read-regexp-defaults): Remove function.
5697 (hi-lock-regexp-okay): Add check for null.
5698
5699 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5700 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5701
5702 * subr.el (find-tag-default-as-symbol-regexp): New function.
5703 (find-tag-default-as-regexp): Move symbol regexp formatting to
5704 `find-tag-default-as-symbol-regexp'.
5705
5706 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5707
5708 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5709 (Bug#14179)
5710
5711 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5712
5713 * calendar/todo-mode.el: New implementation of item insertion
5714 commands and key bindings.
5715 (todo-key-prompt): New face.
5716 (todo-insert-item): New command.
5717 (todo-insert-item--parameters): New defconst, replacing defvar
5718 todo-insertion-commands-args-genlist.
5719 (todo-insert-item--param-key-alist): New defconst, replacing
5720 defvar todo-insertion-commands-arg-key-list.
5721 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5722 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5723 (todo-insert-item--next-param): New functions.
5724 (todo-insert-item--args, todo-insert-item--argleft)
5725 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5726 New variables.
5727 (todo-key-bindings-t): Change binding of "i" from
5728 todo-insertion-map to todo-insert-item.
5729 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5730 (todo-insertion-command-name, todo-insertion-commands-names)
5731 (todo-define-insertion-command, todo-insertion-commands)
5732 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5733
5734 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5735
5736 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5737 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5738 eval-when-compile.
5739 (todo-move-category): Allow choosing a non-existing todo file to
5740 move the category to, and create that file.
5741 (todo-default-priority): New user option.
5742 (todo-set-item-priority): Use it.
5743 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5744 (desktop-restore-file-buffer): Declare.
5745 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5746 (todo-modes-set-2): Locally set desktop-save-buffer to
5747 todo-desktop-save-buffer.
5748 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5749 (auto-mode-alist): Add autoload cookie.
5750
5751 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5752
5753 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5754 helpers.el was a poor choice of name.
5755 (string-remove-prefix): New function.
5756 (string-remove-suffix): New function.
5757
5758 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5759
5760 Fix assignment for new window total sizes.
5761 * window.el (window--pixel-to-size): Remove function.
5762 (window--pixel-to-total-1, window--pixel-to-total):
5763 Fix calculation of new total sizes.
5764
5765 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5766
5767 * comint.el (comint-output-filter): Fix rear-nonsticky property
5768 placement (Bug#16010).
5769
5770 2013-12-20 Chong Yidong <cyd@gnu.org>
5771
5772 * faces.el (read-color): Minor fix for completion function.
5773
5774 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5775
5776 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5777 New option. (Bug#16182)
5778 (ruby-smie--indent-to-stmt-p): Use it.
5779 (ruby-smie-rules): Revert the logic in the handling of `when'.
5780 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5781 (ruby-deep-arglist, ruby-deep-indent-paren)
5782 (ruby-deep-indent-paren-style): Update docstrings to note that the
5783 vars don't have any effect with SMIE.
5784
5785 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5786
5787 * calc/calc.el (calc-enter, calc-pop): Use the variable
5788 `calc-context-sensitive-enter'.
5789
5790 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5791
5792 * net/shr.el (shr-insert): Protect against infloops in degenerate
5793 tables.
5794
5795 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5796
5797 * progmodes/octave.el (octave): Add link to manual and octave
5798 homepage.
5799 (octave-mode-menu): Link to octave-mode manual.
5800
5801 2013-12-20 Leo Liu <sdl.web@gmail.com>
5802
5803 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5804 insertion using skeleton-end-newline. (Bug#16138)
5805
5806 2013-12-20 Juri Linkov <juri@jurta.org>
5807
5808 * replace.el (occur-engine): Use `add-face-text-property'
5809 to add the face property to matches and titles. (Bug#14645)
5810
5811 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5812 the palette of other hi-lock colors.
5813 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5814
5815 2013-12-19 Juri Linkov <juri@jurta.org>
5816
5817 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5818 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5819 (minibuffer-history-symbol): Move variable declaration closer to
5820 its usage.
5821
5822 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5823 (Bug#14785)
5824
5825 2013-12-19 Juri Linkov <juri@jurta.org>
5826
5827 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5828 New function.
5829 (log-edit-hook): Add it to :options. (Bug#16170)
5830
5831 2013-12-19 Juri Linkov <juri@jurta.org>
5832
5833 * simple.el (eval-expression-print-format): Don't check for
5834 command names and the last command. Always display additional
5835 formats of the integer result in the echo area, and insert them
5836 to the current buffer only with a zero prefix arg.
5837 Display character when char-displayable-p is non-nil.
5838 (eval-expression): With a zero prefix arg, set `print-length' and
5839 `print-level' to nil, and insert the integer values from
5840 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5841
5842 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5843 `eval-last-sexp-arg-internal'. Doc fix.
5844 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5845 `eval-last-sexp-print-value'. Doc fix.
5846 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5847 Set `print-length' and `print-level' to nil when arg is zero.
5848 (eval-last-sexp): Doc fix.
5849 (eval-defun-2): Print the integer values from
5850 `eval-expression-print-format' at the end.
5851
5852 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5853 values from `eval-expression-print-format' at the end.
5854
5855 * ielm.el (ielm-eval-input): Print the integer
5856 values from `eval-expression-print-format' at the end.
5857
5858 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5859
5860 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5861 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5862
5863 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5864
5865 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5866 (hl-line-highlight, global-hl-line-highlight): Use it.
5867 (hl-line-overlay): Use defvar-local.
5868
5869 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5870
5871 * term/ns-win.el: Require dnd.
5872 (global-map): Remove drag items.
5873 (ns-insert-text, ns-set-foreground-at-mouse)
5874 (ns-set-background-at-mouse):
5875 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5876 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5877 New functions.
5878
5879 2013-12-19 Glenn Morris <rgm@gnu.org>
5880
5881 * emacs-lisp/ert.el (ert-select-tests):
5882 Fix string/symbol mixup. (Bug#16121)
5883
5884 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5885
5886 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5887 keywords to their parent.
5888
5889 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5890
5891 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5892 first arg to be a string (fixed dead code), or an operator symbol.
5893 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5894 operator symbols.
5895 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5896 did nothing. Don't respond to `(:after ".")', it will be called
5897 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5898 change anything. Only return indentation for binary operators
5899 when they are hanging. De-dent opening paren when its parent is
5900 `.', otherwise it looks bad when the dot is not at bol or eol
5901 (bug#16182).
5902
5903 2013-12-19 Juri Linkov <juri@jurta.org>
5904
5905 * replace.el (query-replace-read-args): Split a non-negative arg
5906 and a negative arg into separate elements.
5907 (query-replace, query-replace-regexp, replace-string)
5908 (replace-regexp): Add arg `backward'. Doc fix.
5909 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5910 move point to the beginning of the match.
5911 (replace-search, replace-highlight): Use new arg `backward'
5912 to set the value of `isearch-forward'.
5913 (perform-replace): Add arg `backward' and use it to perform
5914 replacement backward. (Bug#14979)
5915
5916 * isearch.el (isearch-query-replace): Use a negative prefix arg
5917 to call `perform-replace' with a non-nil arg `backward'.
5918
5919 2013-12-18 Juri Linkov <juri@jurta.org>
5920
5921 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5922 to the default list. Move `log-edit-show-files' to the end.
5923 Add more available functions to options.
5924 (log-edit): Move default specific settings to
5925 `log-edit-insert-message-template'. Don't move point.
5926 (log-edit-insert-message-template): New function.
5927 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5928 (Bug#16170)
5929
5930 2013-12-18 Juri Linkov <juri@jurta.org>
5931
5932 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5933 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5934
5935 2013-12-18 Leo Liu <sdl.web@gmail.com>
5936
5937 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5938 (Bug#16186)
5939
5940 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5941
5942 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5943 formats for displaying file sizes when the -s switch is given.
5944 Instead, compute a separate format for displaying the size in
5945 blocks, which is displayed in addition to the "regular" size.
5946 When -h is given in addition to -s, produce size in blocks in
5947 human-readable form as well. (Bug#16179)
5948
5949 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5950
5951 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5952 Reference tables with ~\ref{...} instead of only \ref{...}.
5953
5954 2013-12-18 Chong Yidong <cyd@gnu.org>
5955
5956 * cus-edit.el (custom-magic-alist): Fix "themed" description
5957 (Bug#14348).
5958
5959 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5960 is non-nil, do not create a new entry in the symbol's theme-value
5961 or theme-face property; update theme-settings only (Bug#14664).
5962 (custom-available-themes): Doc fix.
5963
5964 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5965 (Bug#15674).
5966
5967 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5968
5969 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5970
5971 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5972 (Bug#13914).
5973
5974 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5975
5976 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5977
5978 2013-12-18 Glenn Morris <rgm@gnu.org>
5979
5980 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5981 * cus-start.el (load-prefer-newer): New option.
5982
5983 2013-12-18 Le Wang <l26wang@gmail.com>
5984
5985 * comint.el (comint-previous-matching-input-from-input):
5986 Retain point (Bug#13404).
5987
5988 2013-12-18 Chong Yidong <cyd@gnu.org>
5989
5990 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5991
5992 2013-12-18 Glenn Morris <rgm@gnu.org>
5993
5994 * mail/emacsbug.el (report-emacs-bug):
5995 Only mention enable-multibyte-characters if non-standard.
5996
5997 2013-12-17 Juri Linkov <juri@jurta.org>
5998
5999 * arc-mode.el (archive-extract-by-file): Check if directory exists
6000 before deletion to not show irrelevant errors if it doesn't exist.
6001
6002 2013-12-17 Juri Linkov <juri@jurta.org>
6003
6004 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
6005 (Bug#14751)
6006
6007 * net/eww.el (browse-web): Add alias to `eww'.
6008 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
6009 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
6010
6011 * net/browse-url.el (browse-url-browser-function): Move `eww'
6012 closer to similar functions.
6013
6014 * startup.el (fancy-startup-screen, fancy-about-screen):
6015 Set browse-url-browser-function to eww-browse-url locally.
6016 (Bug#14751)
6017
6018 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
6019
6020 * window.el (window--pixel-to-total): Remove unused `mini' var.
6021 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
6022 (split-window): Remove unused `new' var.
6023 (window--display-buffer): Remove unused `frame' and `delta' vars.
6024 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
6025 and display-width'.
6026
6027 2013-12-17 Martin Rudalics <rudalics@gmx.at>
6028
6029 * dired.el (dired-mark-pop-up):
6030 * register.el (register-preview): Don't bind
6031 split-height-threshold here since it's now done in
6032 display-buffer-below-selected.
6033
6034 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
6035
6036 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
6037 xterm-rgb-convert-to-16bit.
6038 (rxvt-register-default-colors): Standardize with
6039 xterm-register-default-colors (Bug#14078).
6040
6041 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
6042
6043 * simple.el (kill-region): Pass mark first, then point, so that
6044 kill-append works right (Bug#12819).
6045 (copy-region-as-kill, kill-ring-save): Likewise.
6046
6047 2013-12-17 Leo Liu <sdl.web@gmail.com>
6048
6049 * net/rcirc.el (rcirc-add-face):
6050 * eshell/em-prompt.el (eshell-emit-prompt):
6051 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
6052 (Bug#16167)
6053
6054 2013-12-17 Chong Yidong <cyd@gnu.org>
6055
6056 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
6057 Suggested by Xue Fuqiao.
6058
6059 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
6060
6061 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
6062
6063 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
6064
6065 * net/shr.el (shr-insert-document): Remove unused var
6066 `shr-preliminary-table-render'.
6067 (shr-rescale-image): Remove unused arg `force'.
6068 (shr-put-image): Update calls accordingly.
6069 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
6070
6071 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
6072
6073 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
6074 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
6075 :close-all, to see which indentation method to use (Bug#16116).
6076 (smie-rules-function): Document the method :close-all.
6077
6078 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6079
6080 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
6081
6082 * net/eww.el (eww-display-html): If we can't find the anchor we're
6083 looking for, then go to point-min.
6084
6085 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
6086
6087 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
6088 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
6089 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
6090 Expand dir too, in case it's relative.
6091
6092 2013-12-16 Juri Linkov <juri@jurta.org>
6093
6094 * desktop.el (desktop-auto-save-timeout): Change default to
6095 `auto-save-timeout'. Doc fix.
6096 (desktop-save): Skip the timestamp in desktop-saved-frameset
6097 when checking for auto-save changes.
6098 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
6099 `desktop-auto-save' is called repeatedly by the idle timer.
6100 (desktop-auto-save-set-timer): Replace `run-with-timer' with
6101 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
6102 (Bug#15331)
6103
6104 2013-12-16 Juri Linkov <juri@jurta.org>
6105
6106 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
6107 (Bug#16035)
6108 (isearch-pre-command-hook): Check `this-command' for symbolp.
6109
6110 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
6111
6112 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
6113
6114 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
6115
6116 * progmodes/cfengine.el (cfengine3--current-word): Remove.
6117 (cfengine3--current-function): Bring in the current-function
6118 functionality from `cfengine3--current-word'.
6119 (cfengine3-completion-function): Bring in the
6120 bounds-of-current-word functionality from
6121 `cfengine3--current-word'.
6122
6123 2013-12-16 Martin Rudalics <rudalics@gmx.at>
6124
6125 * window.el (display-buffer-below-selected):
6126 Bind split-height-threshold to 0 as suggested by Juri Linkov.
6127
6128 2013-12-16 Leo Liu <sdl.web@gmail.com>
6129
6130 * progmodes/compile.el (compile-goto-error): Do not push-mark.
6131 Remove NOMSG arg and all uses changed.
6132
6133 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
6134
6135 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
6136 (cua--deactivate-rectangle): Don't deactivate the mark.
6137 (cua-set-rectangle-mark): Don't set mark-active since
6138 cua--activate-rectangle already does it for us.
6139 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
6140 non-rectangular region.
6141
6142 * emulation/cua-base.el (cua-repeat-replace-region):
6143 Use with-current-buffer.
6144
6145 * net/gnutls.el: Use cl-lib.
6146 (gnutls-negotiate): `mapcan' -> cl-mapcan.
6147
6148 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
6149
6150 * emacs-lisp/package.el (package-built-in-p): Support both
6151 built-in and the package.el converted package descriptions.
6152 (package-show-package-list): Allow keywords.
6153 (package-keyword-button-action): Use it instead of
6154 `finder-list-matches'.
6155 (package-menu-filter-interactive): Interactive filtering (by
6156 keyword) function.
6157 (package-menu--generate): Support keywords and change keymappings
6158 and headers when they are given.
6159 (package--has-keyword-p): Helper function.
6160 (package-menu--refresh): Use it.
6161 (package--mapc): Helper function.
6162 (package-all-keywords): Use it.
6163 (package-menu-mode-map): Set up menu items and keybindings to
6164 provide a filtering UI.
6165
6166 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
6167
6168 * net/gnutls.el (gnutls-verify-error): New defcustom to control
6169 the behavior when a certificate fails validation. Defaults to
6170 old behavior: never abort, just warn.
6171 (gnutls-negotiate): Use it.
6172
6173 2013-12-14 Martin Rudalics <rudalics@gmx.at>
6174
6175 * window.el (display-buffer-below-selected): Never split window
6176 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
6177
6178 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
6179
6180 * emacs-lisp/package.el (package--prepare-dependencies): New function.
6181 (package-buffer-info): Use it (bug#15108).
6182
6183 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
6184
6185 * icomplete.el (icomplete-completions): Make sure the prefix is already
6186 displayed elsewhere before hiding it (bug#16219).
6187
6188 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
6189
6190 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
6191 open-paren tokens when preceded by a open-paren, too.
6192 (ruby-smie-rules): Handle virtual indentation after open-paren
6193 tokens specially. If there is code between it and eol, return the
6194 column where is starts (Bug#16118).
6195
6196 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6197
6198 * progmodes/cfengine.el: Fix `add-hook' doc.
6199 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
6200 (cfengine3--current-word): Fix parameters.
6201 (cfengine3-make-syntax-cache): Simplify further.
6202 (cfengine3-completion-function, cfengine3--current-function):
6203 Use `assq' for symbols.
6204 (cfengine3--current-function): Fix `cfengine3--current-word' call.
6205
6206 2013-12-13 Glenn Morris <rgm@gnu.org>
6207
6208 * loadup.el (load-path): Warn if site-load or site-init changes it.
6209 No more need to reset it when bootstrapping.
6210
6211 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6212
6213 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
6214 locations for cf-promises.
6215 (cfengine-mode-syntax-functions-regex): New caching variable.
6216 (cfengine3-fallback-syntax): Fallback syntax for cases where
6217 cf-promises doesn't run.
6218 (cfengine3--current-word): Reimplement using
6219 `cfengine-mode-syntax-functions-regex'.
6220 (cfengine3-completion-function, cfengine3--current-function):
6221 Use `cfengine3-make-syntax-cache' directly.
6222 (cfengine3-clear-syntax-cache): New function.
6223 (cfengine3-make-syntax-cache): Simplify and create
6224 `cfengine-mode-syntax-functions-regex' on demand.
6225 (cfengine3-format-function-docstring): Don't call
6226 `cfengine3-make-syntax-cache' explicitly.
6227
6228 2013-12-13 Martin Rudalics <rudalics@gmx.at>
6229
6230 Fix windmove-find-other-window broken after pixelwise resizing
6231 (Bug#16017).
6232 * windmove.el (windmove-other-window-loc): Revert change from
6233 2013-12-04.
6234 (windmove-find-other-window): Call window-in-direction.
6235 * window.el (window-in-direction): New arguments SIGN, WRAP and
6236 MINI to emulate original windmove-find-other-window behavior.
6237
6238 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
6239
6240 * simple.el (blink-matching--overlay): New variable.
6241 (blink-matching-open): Instead of moving point, highlight the
6242 matching paren with an overlay
6243 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
6244
6245 * faces.el (paren-showing-faces, show-paren-match)
6246 (show-paren-mismatch): Move from paren.el.
6247
6248 2013-12-13 Leo Liu <sdl.web@gmail.com>
6249
6250 * indent.el (indent-region): Disable progress reporter in
6251 minibuffer. (Bug#16108)
6252
6253 * bindings.el (visual-order-cursor-movement): Fix version.
6254
6255 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6256
6257 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
6258 Also match after beginning of line.
6259 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
6260 files. Thanks to Russell Sim. (Bug#15378)
6261
6262 2013-12-13 Juri Linkov <juri@jurta.org>
6263
6264 * simple.el <Keypad support>: Remove key bindings duplicated
6265 with bindings.el. (Bug#14397)
6266
6267 2013-12-13 Juri Linkov <juri@jurta.org>
6268
6269 * comint.el (comint-mode-map): Replace `delete-char' with
6270 `delete-forward-char'. (Bug#16109)
6271
6272 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6273
6274 * progmodes/python.el (python-indent-calculate-indentation):
6275 Fix de-denters cornercase. (Bug#15731)
6276
6277 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
6278
6279 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
6280 (advice--make): Pay attention to `depth'.
6281 (advice--make-1): Don't autoload commands eagerly.
6282 * emacs-lisp/elp.el (elp-instrument-function):
6283 * emacs-lisp/trace.el (trace-function-internal):
6284 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
6285
6286 * iswitchb.el (iswitchb-mode): Don't belittle ido.
6287
6288 2013-12-12 Eli Zaretskii <eliz@gnu.org>
6289
6290 * term/w32-win.el (w32-handle-dropped-file):
6291 * startup.el (normal-top-level):
6292 * net/browse-url.el (browse-url-file-url):
6293 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
6294 decode file names using 'utf-8' rather than
6295 file-name-coding-system.
6296
6297 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6298
6299 * progmodes/python.el (python-indent-context)
6300 (python-indent-calculate-indentation): Fix auto-identation
6301 behavior for comment blocks. (Bug#15916)
6302
6303 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6304
6305 * progmodes/python.el (python-indent-calculate-indentation):
6306 When determining indentation, don't treat "return", "pass", etc., as
6307 operators when they are just string constituents. (Bug#15812)
6308
6309 2013-12-12 Juri Linkov <juri@jurta.org>
6310
6311 * uniquify.el (uniquify-buffer-name-style): Change default to
6312 `post-forward-angle-brackets'.
6313
6314 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
6315 `uniquify'. Change default to `post-forward-angle-brackets'.
6316
6317 2013-12-11 Glenn Morris <rgm@gnu.org>
6318
6319 * emacs-lisp/package.el (finder-list-matches):
6320 Autoload rather than falsely declaring.
6321
6322 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
6323
6324 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
6325 (eww-mode-map): Use them.
6326
6327 2013-12-11 Martin Rudalics <rudalics@gmx.at>
6328
6329 * window.el (display-buffer-in-side-window): Fix doc-string
6330 (Bug#16115).
6331
6332 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
6333
6334 * vc/vc-git.el: Silence byte-compiler warnings.
6335 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
6336 (log-edit-set-header): Declare.
6337
6338 2013-12-11 Eli Zaretskii <eliz@gnu.org>
6339
6340 * Makefile.in (custom-deps, finder-data): Run output file names
6341 through unmsys--file-name. (Bug#16099)
6342
6343 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
6344
6345 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
6346 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
6347
6348 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
6349 instead of deleting the selection "by hand" (bug#16098).
6350 Rely on insert-for-yank to yank rectangles.
6351 (cua-highlight-region-shift-only): Mark obsolete.
6352 (cua-mode): Don't enable/disable transient-mark-mode,
6353 shift-select-mode (cua-mode works both with and without them), and
6354 pc-selection-mode (obsolete).
6355 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
6356 (cua--deactivate-rectangle): Deactivate it.
6357
6358 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
6359 (delete-selection-helper): Make sure yank starts at the top of the
6360 deleted region.
6361 (minibuffer-keyboard-quit): Use region-active-p.
6362
6363 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
6364
6365 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
6366 to `delete' (bug#16109).
6367
6368 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6369
6370 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
6371 info manual and show keybindings and set `:group' keyword.
6372
6373 2013-12-11 Juri Linkov <juri@jurta.org>
6374
6375 * delsel.el (delete-active-region): Let-bind `this-command'
6376 to prevent `kill-region' from changing its original value.
6377 (delete-selection-helper): Handle `overwrite-mode' for the type
6378 `kill' exactly the same way as for the type `t'.
6379 (insert-char, quoted-insert, reindent-then-newline-and-indent):
6380 Support more commands. (Bug#13312)
6381
6382 2013-12-11 Juri Linkov <juri@jurta.org>
6383
6384 * bindings.el: Map kp keys to non-kp keys systematically
6385 with basic modifiers control, meta and shift. (Bug#14397)
6386
6387 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6388
6389 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
6390 "Close browser" menu items. Fix wrong function of "List
6391 bookmarks".
6392
6393 2013-12-11 Juri Linkov <juri@jurta.org>
6394
6395 * misearch.el (multi-isearch-buffers): Set the value of
6396 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6397 arg of isearch-forward to t.
6398 (multi-isearch-buffers-regexp): Set the value of
6399 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6400 arg of isearch-forward-regexp to t.
6401 (multi-isearch-files): Set the value of
6402 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6403 arg of isearch-forward to t.
6404 (multi-isearch-files-regexp): Set the value of
6405 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6406 arg of isearch-forward-regexp to t. (Bug#16035)
6407
6408 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
6409 arg of isearch-forward to t.
6410 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
6411 arg of isearch-forward-regexp to t.
6412 (dired-isearch-filter-filenames): Remove unnecessary check for
6413 `dired-isearch-filenames'.
6414
6415 * comint.el (comint-history-isearch-backward):
6416 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
6417 (comint-history-isearch-backward-regexp):
6418 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
6419
6420 2013-12-10 Eli Zaretskii <eliz@gnu.org>
6421
6422 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
6423 unmsys--file-name. (Bug#16099)
6424
6425 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
6426
6427 * emacs-lisp/package.el (package-keyword-button-action):
6428 Remove finder.el require dependency.
6429
6430 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
6431
6432 * emacs-lisp/package.el: Require finder.el.
6433 (describe-package-1): Add keyword buttons.
6434 (package-make-button): New convenience function.
6435 (package-keyword-button-action): Keyword button action using
6436 `finder-list-matches'.
6437
6438 2013-12-09 Eli Zaretskii <eliz@gnu.org>
6439
6440 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
6441 last commit.
6442
6443 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
6444
6445 * autorevert.el (auto-revert-notify-add-watch): Do not handle
6446 symlinked files.
6447
6448 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6449
6450 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6451 after the end of a percent literal.
6452
6453 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
6454
6455 * progmodes/ruby-mode.el (ruby-forward-string): Document.
6456 Handle caret-delimited strings (Bug#16079).
6457
6458 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6459
6460 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
6461 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
6462 `ruby-parse-partial' (Bug#16078).
6463
6464 2013-12-09 Leo Liu <sdl.web@gmail.com>
6465
6466 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
6467
6468 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
6469
6470 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
6471 (js-switch-indent-offset): New option.
6472 (js--proper-indentation): Use it. And handle the case when
6473 "default" is actually a key in an object literal.
6474 (js--same-line): New function.
6475 (js--multi-line-declaration-indentation): Use it.
6476 (js--indent-in-array-comp, js--array-comp-indentation):
6477 New functions.
6478 (js--proper-indentation): Use them, to handle array comprehension
6479 continuations.
6480
6481 2013-12-08 Leo Liu <sdl.web@gmail.com>
6482
6483 * progmodes/flymake.el (flymake-highlight-line): Re-write.
6484 (flymake-make-overlay): Remove arg MOUSE-FACE.
6485 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
6486
6487 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6488
6489 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
6490 New function.
6491 (redisplay-highlight-region-function): Use it.
6492
6493 * emulation/cua-base.el (cua--explicit-region-start)
6494 (cua--last-region-shifted): Remove.
6495 (cua--deactivate): Use deactivate-mark.
6496 (cua--pre-command-handler-1): Don't handle shift-selection.
6497 (cua--post-command-handler-1): Don't change transient-mark-mode.
6498 (cua--select-keymaps): Use region-active-p rather than
6499 cua--explicit-region-start or cua--last-region-shifted.
6500 (cua-mode): Enable shift-select-mode.
6501
6502 2013-12-08 Leo Liu <sdl.web@gmail.com>
6503
6504 * progmodes/flymake.el (flymake-popup-current-error-menu):
6505 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6506 (flymake-posn-at-point-as-event, flymake-popup-menu)
6507 (flymake-make-emacs-menu): Remove. (Bug#16077)
6508
6509 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6510
6511 * rect.el (rectangle-mark-mode): Activate mark even if
6512 transient-mark-mode is off (bug#16066).
6513 (rectangle--highlight-for-redisplay): Fix boundary condition when point
6514 is > mark and at bolp.
6515
6516 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
6517 (region-extract-function): Use it.
6518 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
6519 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
6520 Delete functions.
6521 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
6522 kill-ring-save, kill-region, delete-char, delete-forward-char.
6523 Ignore self-insert-iso.
6524
6525 * emulation/cua-gmrk.el (cua--init-global-mark):
6526 Ignore `self-insert-iso'.
6527
6528 * emulation/cua-base.el (cua--prefix-copy-handler)
6529 (cua--prefix-cut-handler): Rely on region-extract-function rather than
6530 checking cua--rectangle.
6531 (cua-delete-region): Use region-extract-function.
6532 (cua-replace-region): Delete function.
6533 (cua-copy-region, cua-cut-region): Obey region-extract-function.
6534 (cua--pre-command-handler-1): Don't do the delete-selection thing.
6535 (cua--self-insert-char-p): Ignore `self-insert-iso'.
6536 (cua--init-keymaps): Don't remap delete-selection commands.
6537 (cua-mode): Use delete-selection-mode instead of rolling our own
6538 (bug#16085).
6539
6540 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
6541 Obey region-extract-function.
6542
6543 Make registers and delete-selection-mode work on rectangles.
6544 * register.el (describe-register-1): Don't modify the register's value.
6545 (copy-to-register): Obey region-extract-function.
6546 * delsel.el (delete-active-region): Obey region-extract-function.
6547
6548 2013-12-08 Leo Liu <sdl.web@gmail.com>
6549
6550 * progmodes/flymake.el (flymake, flymake-error-bitmap)
6551 (flymake-warning-bitmap, flymake-fringe-indicator-position)
6552 (flymake-compilation-prevents-syntax-check)
6553 (flymake-start-syntax-check-on-newline)
6554 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
6555 (flymake-start-syntax-check-on-find-file, flymake-log-level)
6556 (flymake-xml-program, flymake-master-file-dirs)
6557 (flymake-master-file-count-limit)
6558 (flymake-allowed-file-name-masks): Relocate.
6559 (flymake-makehash, flymake-float-time)
6560 (flymake-replace-regexp-in-string, flymake-split-string)
6561 (flymake-get-temp-dir): Remove.
6562 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6563 (flymake-current-row, flymake-selected-frame)
6564 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6565 related functions. (Bug#16077)
6566
6567 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
6568
6569 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6570
6571 2013-12-07 Tassilo Horn <tsdh@gnu.org>
6572
6573 * help-fns.el (describe-function-1): Use new advice-* functions
6574 rather than old ad-* functions. Fix function type description and
6575 source links for advised functions and subrs.
6576
6577 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6578
6579 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
6580
6581 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
6582
6583 * progmodes/compile.el (compilation-start):
6584 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6585
6586 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6587 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
6588
6589 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6590
6591 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6592 Touch up the last change.
6593
6594 2013-12-06 Leo Liu <sdl.web@gmail.com>
6595
6596 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6597 (inferior-octave-startup): Always use "octave> " for prompt.
6598 (octave-goto-function-definition)
6599 (octave-sync-function-file-names)
6600 (octave-find-definition-default-filename): Remove redundant backquotes.
6601
6602 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6603
6604 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6605 syntax for `?'.
6606 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6607 where appropriate already.
6608 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6609 end of method names (Bug#15874).
6610
6611 2013-12-06 Juri Linkov <juri@jurta.org>
6612
6613 * isearch.el (isearch--saved-overriding-local-map):
6614 New internal variable.
6615 (isearch-mode): Set it to the initial value of
6616 `overriding-terminal-local-map'.
6617 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6618 with `isearch--saved-overriding-local-map'. (Bug#16035)
6619
6620 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6621
6622 * progmodes/octave.el (inferior-octave-completion-table):
6623 Turn back into function, use `completion-table-with-cache'
6624 (Bug#11906). Update all references.
6625
6626 * minibuffer.el (completion-table-with-cache): New function.
6627
6628 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
6629
6630 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6631
6632 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
6633
6634 * net/eww.el (eww-current-source): New variable to store page
6635 source.
6636 (eww-display-html, eww-mode, eww-save-history)
6637 (eww-restore-history): Use it.
6638 (eww-view-source): New command to view page source.
6639 Opportunistically uses `html-mode' to highlight the buffer.
6640 (eww-mode-map): Install it.
6641
6642 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
6643
6644 * net/dbus.el (dbus-unregister-service)
6645 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6646 Fix docstring.
6647 (dbus-unregister-service): Skip :serial entries in
6648 `dbus-registered-objects-table'.
6649 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6650
6651 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
6652
6653 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6654 around keywords with extra `split-string' argument.
6655
6656 2013-12-04 Martin Rudalics <rudalics@gmx.at>
6657
6658 * windmove.el (windmove-other-window-loc): Handle navigation
6659 between windows (excluding the minibuffer window - Bug#16017).
6660
6661 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
6662
6663 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6664 in D-Bus type syntax.
6665 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6666 preserve unibyte strings. (Bug#16048)
6667
6668 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6669
6670 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6671 Call force-mode-line-update is the proper buffer (bug#16042).
6672
6673 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
6674
6675 * vc/log-edit.el (log-edit-add-new-comment): Rename to
6676 `log-edit-remember-comment', make argument optional. Adjust all
6677 callers.
6678 (log-edit-mode): Add `log-edit-remember-comment' to
6679 `kill-buffer-hook' locally.
6680 (log-edit-kill-buffer): Don't remember comment explicitly since
6681 the buffer is killed anyway.
6682
6683 2013-12-04 Juri Linkov <juri@jurta.org>
6684
6685 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6686 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6687
6688 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
6689
6690 * notifications.el (notifications-close-notification): Call the
6691 D-Bus method with ID being a `:uint32'. (Bug#16030)
6692
6693 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6694
6695 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6696
6697 2013-12-03 Juri Linkov <juri@jurta.org>
6698
6699 * progmodes/compile.el (compilation-start): Rename window alist
6700 entry `no-display-ok' to `allow-no-window'.
6701
6702 * simple.el (shell-command): Add window alist entry
6703 `allow-no-window' to `display-buffer'.
6704 (async-shell-command): Doc fix.
6705
6706 * window.el (display-buffer-no-window): New action function.
6707 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6708
6709 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6710
6711 * vc/log-edit.el (log-edit-set-header): Extract from
6712 `log-edit-toggle-header'.
6713 (log-edit-extract-headers): Separate the summary, when extracted
6714 from header, from the rest of the message with an empty line.
6715
6716 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6717 line, if present, to the Summary header.
6718
6719 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6720
6721 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6722 in current-buffer (bug#16029).
6723
6724 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
6725
6726 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6727 (debugger-mode-map): Bind it.
6728 (debugger--backtrace-base): New function.
6729 (debugger-eval-expression): Use it.
6730 (debugger-frame-number): Skip local vars when present.
6731 (debugger--locals-visible-p, debugger--insert-locals)
6732 (debugger--show-locals, debugger--hide-locals): New functions.
6733
6734 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
6735
6736 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6737 "LC_ALL".
6738 (tramp-get-remote-locale): New defun.
6739 (tramp-open-connection-setup-interactive-shell): Use it.
6740
6741 2013-12-02 Leo Liu <sdl.web@gmail.com>
6742
6743 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6744
6745 * progmodes/sh-script.el (sh-shell-process):
6746 * progmodes/octave.el (inferior-octave-process-live-p):
6747 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6748 (gdb-inferior-io-sentinel):
6749 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6750
6751 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6752
6753 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6754 `save-selected-window' to `log-edit-hide-buf'. This makes
6755 `log-edit-show-files' idempotent.
6756 (log-edit-show-files): Mark the new window as dedicated.
6757
6758 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6759
6760 * vc/log-edit.el (log-edit-mode-map): Add binding for
6761 `log-edit-kill-biffer'.
6762 (log-edit-hide-buf): Add a FIXME comment.
6763 (log-edit-add-new-comment): New function, extracted from
6764 `log-edit-done'.
6765 (log-edit-done, log-edit-add-to-changelog): Use it.
6766 (log-edit-kill-buffer): New command.
6767
6768 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6769
6770 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6771 instead of killing the buffer.
6772
6773 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6774
6775 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6776
6777 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6778
6779 * net/eww.el (eww-form-checkbox-selected-symbol)
6780 (eww-form-checkbox-symbol): New customizable variable.
6781 (eww-form-checkbox, eww-toggle-checkbox):
6782 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6783
6784 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6785 (shr--get-media-pref, shr--extract-best-source): New function.
6786 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6787 no :src tag was specified.
6788
6789 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6790 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6791 Use \\` to match beginning of string instead of ^.
6792 (eww-browse-with-external-browser): Provide optional URL parameter.
6793 (eww-render): Set `eww-current-title' back to "".
6794
6795 * net/shr.el (shr-tag-video): Display content for video if no
6796 poster is available.
6797 (shr-tag-audio): Add support for <audio> tag.
6798
6799 * net/eww.el (eww-text-input-types): New const.
6800 (eww-process-text-input): Treat input types in
6801 `eww-text-input-types' as text.
6802
6803 * net/shr.el (shr-tag-table): Fix comment typo.
6804
6805 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6806
6807 * net/eww.el (eww-follow-link): New command to avoid reloading
6808 pages when we follow #target links (bug#15243).
6809 (eww-quit): Special mode buffers shouldn't query before exiting.
6810
6811 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6812
6813 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6814 forms.
6815
6816 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6817
6818 * net/eww.el (eww-restore-history): Update the window title after
6819 moving in the history.
6820 (eww-current-dom): New variable used to save the current DOM.
6821
6822 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6823
6824 * vc/log-edit.el (log-edit-mode-map): Add binding for
6825 `log-edit-beginning-of-line'.
6826 (log-edit-setup-add-author): New user option.
6827 (log-edit-beginning-of-line): New command.
6828 (log-edit): Move major mode call above the contents setup so that
6829 the local variable values are already applied.
6830 (log-edit): Only insert "Author: " when
6831 `log-edit-setup-add-author' is non-nil.
6832 (log-edit): When SETUP is non-nil, position point after ": "
6833 instead of point-min.
6834
6835 2013-12-01 Glenn Morris <rgm@gnu.org>
6836
6837 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6838
6839 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6840
6841 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6842 redisplay to make sure the initial frame gets a chance to become
6843 visible. (Bug#16014)
6844
6845 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6846
6847 Support resizing frames and windows pixelwise.
6848 * cus-start.el (frame-resize-pixelwise)
6849 (window-resize-pixelwise): New entries.
6850 * emacs-lisp/debug.el (debug): Use window-total-height instead
6851 of window-total-size.
6852 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6853 * help.el (describe-bindings-internal): Use help-buffer as
6854 argument for with-help-window.
6855 (temp-buffer-max-width): New option.
6856 (resize-temp-buffer-window, help-window-setup)
6857 (with-help-window): Rewrite.
6858 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6859 dragging dividers.
6860 * window.el (frame-char-size, window-min-pixel-height)
6861 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6862 (window-min-pixel-width, window-safe-min-pixel-size)
6863 (window-combination-p, window-safe-min-size)
6864 (window-resizable-p, window--size-to-pixel)
6865 (window--pixel-to-size, window--resize-apply-p): New functions.
6866 (window-safe-min-height): Fix doc-string.
6867 (window-size, window-min-size, window--min-size-1)
6868 (window-sizable, window-sizable-p, window--min-delta-1)
6869 (window-min-delta, window--max-delta-1, window-max-delta)
6870 (window--resizable, window--resizable-p, window-resizable)
6871 (window-full-height-p, window-full-width-p, window-at-side-p)
6872 (window--in-direction-2, window-in-direction)
6873 (window--resize-reset-1, window--resize-mini-window)
6874 (window-resize, window-resize-no-error)
6875 (window--resize-child-windows-normal)
6876 (window--resize-child-windows, window--resize-siblings)
6877 (window--resize-this-window, window--resize-root-window)
6878 (window--resize-root-window-vertically)
6879 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6880 (maximize-window, minimize-window, delete-window)
6881 (quit-restore-window, window-split-min-size, split-window)
6882 (balance-windows-2, balance-windows)
6883 (balance-windows-area-adjust, balance-windows-area)
6884 (window--state-get-1, window-state-get, window--state-put-1)
6885 (window--state-put-2, window-state-put)
6886 (display-buffer-record-window, window--display-buffer):
6887 Make functions handle pixelwise sizing of windows.
6888 (display-buffer--action-function-custom-type)
6889 (display-buffer-fallback-action):
6890 Add display-buffer-in-previous-window.
6891 (display-buffer-use-some-window): Resize window to height it had
6892 before.
6893 (fit-window-to-buffer-horizontally): New option.
6894 (fit-frame-to-buffer): Describe new values.
6895 (fit-frame-to-buffer-bottom-margin): Replace with
6896 fit-frame-to-buffer-margins.
6897 (window--sanitize-margin): New function.
6898 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6899 using window-text-pixel-size.
6900
6901 2013-11-30 Glenn Morris <rgm@gnu.org>
6902
6903 * emacs-lisp/bytecomp.el (byte-compile-form):
6904 Make the `interactive-only' warning like the `obsolete' one.
6905 * comint.el (comint-run):
6906 * files.el (insert-file-literally, insert-file):
6907 * replace.el (replace-string, replace-regexp):
6908 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6909 (goto-line, insert-buffer, next-line, previous-line):
6910 Tweak `interactive-only' spec.
6911
6912 Stop keeping (most) generated cedet grammar files in the repository.
6913 * Makefile.in (semantic): New.
6914 (compile-main): Depend on semantic.
6915
6916 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6917
6918 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6919 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6920
6921 * uniquify.el (uniquify-buffer-name-style): Change default.
6922
6923 * loadup.el: Preload "uniquify".
6924
6925 * time.el (display-time-update): Update all mode lines (bug#15999).
6926
6927 * electric.el (electric-indent-mode): Enable by default.
6928 * loadup.el: Preload "electric".
6929
6930 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6931
6932 * emacs-lisp/helpers.el (string-empty-p): New function.
6933 (string-blank-p): New function.
6934
6935 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6936
6937 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6938 (Bug#14029).
6939
6940 2013-11-29 Andreas Politz <politza@fh-trier.de>
6941 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6942 allow non-lambda lists as functions.
6943 (imenu--in-alist): Don't recurse into non-subalists.
6944 (imenu): Don't pass function itself as an argument (Bug#14029).
6945
6946 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6947
6948 * progmodes/python.el (python-mode-map): Remove binding for ":".
6949 (python-indent-electric-colon): Remove command.
6950 (python-indent-post-self-insert-function): Integrate the previous code
6951 of python-indent-electric-colon. Make it conditional on
6952 electric-indent-mode.
6953 (python-mode): Add ?: to electric-indent-chars.
6954 Move python-indent-post-self-insert-function to the end of
6955 post-self-insert-hook.
6956
6957 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6958
6959 * doc-view.el (doc-view-goto-page): Update mode-line.
6960
6961 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6962
6963 2013-11-27 Glenn Morris <rgm@gnu.org>
6964
6965 * international/charprop.el, international/uni-bidi.el:
6966 * international/uni-category.el, international/uni-combining.el:
6967 * international/uni-comment.el, international/uni-decimal.el:
6968 * international/uni-decomposition.el, international/uni-digit.el:
6969 * international/uni-lowercase.el, international/uni-mirrored.el:
6970 * international/uni-name.el, international/uni-numeric.el:
6971 * international/uni-old-name.el, international/uni-titlecase.el:
6972 * international/uni-uppercase.el:
6973 Remove generated files from VCS repository.
6974
6975 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6976
6977 * filenotify.el (file-notify-add-watch): Don't special-case
6978 w32notify when computing the directory to watch.
6979
6980 2013-11-27 Glenn Morris <rgm@gnu.org>
6981
6982 Make bootstrap without generated uni-*.el files possible again.
6983 * loadup.el: Update command-line-args checking for unidata-gen.
6984 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6985 * composite.el, international/characters.el:
6986 Handle unicode tables being undefined.
6987
6988 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6989 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6990 (compile-main): Depend on leim rule.
6991 (leim): New rule.
6992 * loadup.el: Move leim-list.el to leim/ subdirectory.
6993 * startup.el (normal-top-level): No more leim directory.
6994 * international/ja-dic-cnv.el (skkdic-convert):
6995 Disable version-control and autoloads in output files.
6996 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6997 Disable version-control and autoloads in output files.
6998 * leim/quail: Move here from ../leim.
6999 * leim/quail/hangul.el (hangul-input-method-activate):
7000 Add autoload cookie.
7001 (generated-autoload-load-name): Set file-local value.
7002 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
7003 (generated-autoload-load-name): Set file-local value.
7004
7005 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
7006
7007 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7008 (eww-add-bookmark): Ask confirmation when add to bookmarks.
7009 (eww-quit): Ask confirmation before quitting eww.
7010
7011 2013-11-26 Eli Zaretskii <eliz@gnu.org>
7012
7013 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
7014 reading output from Diff on MS-Windows and MS-DOS.
7015
7016 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
7017
7018 * emacs-lisp/helpers.el (string-reverse): New function.
7019
7020 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
7021
7022 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
7023 names on MS Windows, like "/[::1]:".
7024
7025 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
7026 SWITCHES.
7027
7028 2013-11-26 Glenn Morris <rgm@gnu.org>
7029
7030 * progmodes/python.el (python-indent-guess-indent-offset):
7031 Avoid corner-case error. (Bug#15975)
7032
7033 Preload leim-list.el. (Bug#4789)
7034 * loadup.el: Load leim-list.el when found.
7035 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
7036
7037 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
7038
7039 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
7040
7041 * emacs-lisp/helpers.el (string-join): New function.
7042
7043 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
7044
7045 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7046 Mark as obsolete and replace it with a symbol property.
7047 (byte-compile-form): Use new 'interactive-only property.
7048 * comint.el, files.el, replace.el, simple.el:
7049 Apply new 'interactive-only properly.
7050
7051 2013-11-25 Martin Rudalics <rudalics@gmx.at>
7052
7053 * window.el (display-buffer-at-bottom): Make sure that
7054 split-window-sensibly creates the new window on bottom
7055 (Bug#15961).
7056
7057 2013-11-23 David Kastrup <dak@gnu.org>
7058
7059 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
7060 on the conflict markers when available.
7061 (smerge--get-marker): New function.
7062 (smerge-end-re, smerge-base-re): Add subgroup.
7063
7064 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
7065
7066 * frame.el (handle-focus-in, handle-focus-out): Add missing
7067 interactive spec.
7068
7069 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
7070
7071 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7072 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
7073
7074 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
7075
7076 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
7077 (gomoku--last-pos): New var.
7078 (gomoku--intangible-chars): New const.
7079 (gomoku--intangible): New function.
7080 (gomoku-mode): Use it. Derive from special-mode.
7081 (gomoku-move-up): Adjust line count.
7082 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
7083 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
7084 Simplify accordingly.
7085
7086 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
7087 Remove blink-cursor code.
7088 (blink-cursor-timer-function, blink-cursor-suspend):
7089 Don't special-case GUIs.
7090 (blink-cursor-mode): Use focus-in/out-hook.
7091
7092 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
7093
7094 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
7095 work when annotation is invisible (Bug#13886).
7096
7097 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7098
7099 * json.el (json-alist-p): Only return non-nil if the alist has
7100 simple keys (Bug#13518).
7101
7102 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
7103
7104 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
7105 when control-statement is the first statement in a buffer (Bug#15956).
7106
7107 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
7108
7109 * imenu.el (imenu-generic-skip-comments-and-strings):
7110 New option (Bug#15560).
7111 (imenu--generic-function): Use it.
7112
7113 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
7114
7115 * minibuffer.el (completion--in-region-1): Scroll the correct window.
7116 (Bug#13898)
7117
7118 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
7119
7120 * emacs-lisp/helpers.el: Add some string helpers.
7121 (string-trim-left): Removes leading whitespace.
7122 (string-trim-right): Removes trailing whitespace.
7123 (string-trim): Removes leading and trailing whitespace.
7124
7125 * subr.el (string-suffix-p): New function.
7126
7127 2013-11-23 Glenn Morris <rgm@gnu.org>
7128
7129 * progmodes/python.el (python-shell-send-file):
7130 Add option to delete file when done. (Bug#15647)
7131 (python-shell-send-string, python-shell-send-region): Use it.
7132
7133 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
7134
7135 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
7136 to set buffer-read-only to t, never to nil. (Bug#15938)
7137
7138 * textmodes/tex-mode.el (latex-noindent-environments):
7139 Add safe-local-variable property. (Bug#15936)
7140
7141 2013-11-23 Glenn Morris <rgm@gnu.org>
7142
7143 * textmodes/enriched.el (enriched-mode): Doc fix.
7144 * emacs-lisp/authors.el (authors-renamed-files-alist):
7145 Add enriched.doc -> enriched.txt.
7146
7147 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
7148
7149 2013-11-22 Leo Liu <sdl.web@gmail.com>
7150
7151 * progmodes/octave.el (inferior-octave-startup): Spit out error
7152 message.
7153
7154 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
7155
7156 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7157 Improve docstring.
7158 Add :version.
7159 (ruby-encoding-magic-comment-style): Add :version.
7160
7161 2013-11-22 Leo Liu <sdl.web@gmail.com>
7162
7163 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
7164 (Bug#15076)
7165 (octave-help-mode): Adapt to change to help-mode-finish to use
7166 derived-mode-p on 2013-09-17.
7167 (inferior-octave-prompt): Also match octave-gui.
7168 (octave-kill-process): Don't ask twice. (Bug#10564)
7169
7170 2013-11-22 Leo Liu <sdl.web@gmail.com>
7171
7172 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
7173 (inferior-octave-startup, inferior-octave-check-process)
7174 (inferior-octave-track-window-width-change)
7175 (octave-completion-at-point, octave-eldoc-function): Use it.
7176 (octave-kill-process): Provide confirmation. (Bug#10564)
7177
7178 2013-11-21 Leo Liu <sdl.web@gmail.com>
7179
7180 * progmodes/octave.el (octave-mode, inferior-octave-mode):
7181 Fix obsolete variable comment-use-global-state.
7182
7183 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7184
7185 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
7186 Add `octave-source-file'.
7187 (octave-source-file): New function. (Bug#15935)
7188
7189 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
7190
7191 * net/eww.el (eww-local-regex): New variable.
7192 (eww): Use it to detect localhost and similar.
7193
7194 2013-11-21 Leo Liu <sdl.web@gmail.com>
7195
7196 Add completion for command `ag'.
7197 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
7198 (pcomplete/ag): New function.
7199 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
7200
7201 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7202
7203 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
7204 (bug#14646).
7205 (make-obsolete): Remove interactive spec.
7206
7207 2013-11-21 Glenn Morris <rgm@gnu.org>
7208
7209 * startup.el (command-line-1): Use path-separator with -L.
7210
7211 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
7212
7213 * emacs-lisp/package.el (describe-package-1): Add package archive
7214 to shown fields.
7215
7216 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7217
7218 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7219 Change default to "# encoding: %s" to differentiate it from the
7220 default Ruby encoding comment template.
7221
7222 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
7223
7224 * ses.el (ses-mode): Doc fix. (Bug#14748)
7225
7226 2013-11-20 Leo Liu <sdl.web@gmail.com>
7227
7228 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
7229
7230 2013-11-19 Dan Nicolaescu <dann@gnu.org>
7231
7232 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
7233 when rebase or bisect are in progress.
7234
7235 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
7236
7237 * filenotify.el (file-notify-add-watch): Doc fix.
7238
7239 2013-11-19 Leo Liu <sdl.web@gmail.com>
7240
7241 * obsolete/rcompile.el: Mark obsolete.
7242
7243 * progmodes/compile.el (compilation-start)
7244 (compilation-goto-locus, compilation-find-file):
7245 Pass no-display-ok and handle nil value from display-buffer.
7246 (Bug#13594)
7247
7248 * window.el (display-buffer-alist, display-buffer): Document the
7249 new parameter no-display-ok. Return either a window or nil
7250 but never a non-window value.
7251
7252 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7253
7254 * electric.el (electric-indent-mode-map): Remove.
7255 (electric-indent-mode): Change the global-map instead (bug#15915).
7256
7257 * textmodes/text-mode.el (paragraph-indent-minor-mode):
7258 Use add-function.
7259
7260 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
7261
7262 * emacs-lisp/nadvice.el (remove-function): Align with
7263 add-function's behavior.
7264
7265 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
7266 (gdb--string-regexp): New constant.
7267 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
7268 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
7269 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
7270 submatch 1.
7271 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
7272 Adjust use accordingly.
7273 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
7274
7275 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
7276
7277 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
7278 interpolation curlies (Bug#15914).
7279
7280 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
7281
7282 * calc/calc.el (calc-context-sensitive-enter): New variable.
7283 (calc-enter): Use `calc-context-sensitive-enter'.
7284
7285 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
7286
7287 * progmodes/cfengine.el: Version bump.
7288 (cfengine-cf-promises): New defcustom to locate cf-promises.
7289 (cfengine3-vartypes): Add new "data" type.
7290 (cfengine3--current-word): New function to get current name-like
7291 word or its bounds.
7292 (cfengine3--current-function): New function to look up a CFEngine
7293 function's definition.
7294 (cfengine3-format-function-docstring): New function.
7295 (cfengine3-make-syntax-cache): New function.
7296 (cfengine3-documentation-function): New function: ElDoc glue.
7297 (cfengine3-completion-function): New function: completion glue.
7298 (cfengine3-mode): Set `compile-command',
7299 `eldoc-documentation-function', and add to
7300 `completion-at-point-functions'.
7301
7302 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
7303
7304 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7305 `tramp-current-connection'.
7306
7307 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
7308
7309 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
7310 nil/self/true/false with "end of symbol".
7311
7312 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
7313
7314 * subr.el (version-regexp-alist): Fix a typo.
7315
7316 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
7317
7318 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
7319 "en_US.utf8" and "LC_CTYPE" to "".
7320 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
7321 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
7322
7323 2013-11-15 Leo Liu <sdl.web@gmail.com>
7324
7325 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
7326
7327 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7328
7329 * progmodes/gud.el (ctl-x-map):
7330 Remove C-x SPC binding. (Bug#12342)
7331 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
7332
7333 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
7334
7335 * subr.el (version-regexp-alist):
7336 Recognize hg, svn and darcs versions as snapshot versions.
7337
7338 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
7339 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
7340 (ruby--encoding-comment-required-p): Extract from
7341 `ruby-mode-set-encoding'.
7342 (ruby-mode-set-encoding): Add the ability to always insert an
7343 utf-8 encoding comment. Fix and simplify coding comment update
7344 logic.
7345
7346 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
7347
7348 * net/tramp-gvfs.el (top): Run init code only when
7349 `tramp-gvfs-enabled' is not nil.
7350 (tramp-gvfs-enabled): Check also :system bus.
7351
7352 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7353
7354 Sync with upstream verilog-mode revision 78e66ba.
7355 * progmodes/verilog-mode.el (verilog-end-of-defun)
7356 (verilog-type-completion, verilog-get-list): Remove unused funcs.
7357 (verilog-get-end-of-defun): Remove unused argument.
7358 (verilog-comment-depth): Remove unused local `e'.
7359 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
7360 Don't pass arg to verilog-get-end-of-defun.
7361
7362 2013-11-14 Glenn Morris <rgm@gnu.org>
7363
7364 * obsolete/assoc.el (aget): Prefix dynamic variable.
7365
7366 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
7367
7368 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7369
7370 * widget.el, hfy-cmap.el: Remove bogus package version number.
7371
7372 2013-11-13 Glenn Morris <rgm@gnu.org>
7373
7374 * replace.el (replace-eval-replacement):
7375 Try to give more helpful error message. (Bug#15836)
7376
7377 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7378 (archive-7z-update): Avoid custom type mismatches.
7379
7380 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
7381
7382 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
7383
7384 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
7385 address can be empty.
7386
7387 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
7388 Accept nil SWITCHES.
7389 (tramp-gvfs-handle-write-region): Implement APPEND.
7390
7391 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
7392
7393 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
7394 binary "|" operator and closing block args delimiter.
7395 Remove FIXME comment referring to Ruby 1.8-only syntax.
7396 (ruby-smie--implicit-semi-p): Not after "|" operator.
7397 (ruby-smie--closing-pipe-p): New function.
7398 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
7399 (ruby-smie-rules): Indent after "|".
7400
7401 2013-11-12 Glenn Morris <rgm@gnu.org>
7402
7403 * ps-print.el (ps-face-attribute-list):
7404 Handle anonymous faces. (Bug#15827)
7405
7406 2013-11-12 Martin Rudalics <rudalics@gmx.at>
7407
7408 * window.el (display-buffer-other-frame): Fix doc-string.
7409 (Bug#15868)
7410
7411 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7412
7413 * subr.el (force-mode-line-update): Delete, move to buffer.c.
7414
7415 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
7416
7417 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
7418 (tramp-sh-handle-file-local-copy): Don't write a message when
7419 saving temporary files.
7420
7421 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
7422 both directories are remote.
7423 (tramp-smb-handle-directory-files): Do not return double entries.
7424 Do not expand full file names.
7425 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
7426 (tramp-smb-handle-write-region): Implement APPEND.
7427 (tramp-smb-get-stat-capability): Fix a stupid bug.
7428
7429 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7430
7431 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
7432
7433 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7434
7435 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
7436 throwing error over malformed let/let* (bug#15814).
7437
7438 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7439
7440 * iswitchb.el (iswitchb-mode): Mark obsolete.
7441
7442 2013-11-11 Glenn Morris <rgm@gnu.org>
7443
7444 * international/uni-bidi.el, international/uni-category.el:
7445 * international/uni-name.el, international/uni-numeric.el:
7446 Regenerate for Unicode 6.3.0.
7447
7448 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
7449
7450 * net/tramp.el (tramp-methods):
7451 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
7452 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
7453
7454 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
7455
7456 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7457 Force highlighting text after Summary keyword in doc face for rpm.
7458
7459 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
7460
7461 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
7462 available and the word has no wildcards, append one to the grep pattern.
7463 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
7464 (ispell-complete-word): Call `ispell-lookup-words' with the value
7465 independent of `ispell-look-p'.
7466
7467 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7468
7469 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
7470 Not after "||".
7471 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
7472 their parent.
7473
7474 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7475
7476 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
7477 (ruby-font-lock-keywords): Use backquote.
7478
7479 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7480
7481 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7482 (ruby-smie--backward-token): Only consider full-string matches.
7483
7484 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
7485
7486 * faces.el (describe-face): Add distant-foreground.
7487
7488 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
7489
7490 * progmodes/ruby-mode.el: Improve encoding comment handling.
7491 (ruby-encoding-magic-comment-style): New option.
7492 (ruby-custom-encoding-magic-comment-template): New option.
7493 (ruby--insert-coding-comment, ruby--detect-encoding):
7494 New functions extracted from `ruby-mode-set-encoding'.
7495 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
7496 to control the style of the auto-inserted encoding comment.
7497
7498 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7499
7500 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
7501 Use `smie-backward-sexp' with token argument.
7502
7503 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
7504
7505 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7506 Remove instrumentation code.
7507
7508 2013-11-08 Glenn Morris <rgm@gnu.org>
7509
7510 * progmodes/autoconf.el (autoconf-mode):
7511 Tweak comment-start-skip. (Bug#15822)
7512
7513 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7514
7515 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
7516 at bobp (bug#15826).
7517 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
7518
7519 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
7520
7521 * man.el (Man-start-calling): New macro, extracted from
7522 Man-getpage-in-background.
7523 (Man-getpage-in-background): Use it.
7524 (Man-update-manpage): New command.
7525 (Man-mode-map): Bind it.
7526
7527 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7528
7529 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
7530 of "and", "or", "&&" and "||".
7531 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
7532 argument. Prohibit opening curly brace because it could only be a
7533 block opener in that position.
7534 (ruby-smie--forward-token, ruby-smie--backward-token):
7535 Separate "|" from "&" or "*" going after it. That can happen in block
7536 arguments.
7537 (ruby-smie--indent-to-stmt): New function, seeks the end of
7538 previous statement or beginning of buffer.
7539 (ruby-smie-rules): Use it.
7540 (ruby-smie-rules): Check if there's a ":" before a curly block
7541 opener candidate; if there is, it's a hash.
7542
7543 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7544
7545 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
7546 (cl--block-wrapper): Fix last accidental change.
7547
7548 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
7549
7550 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7551 Instrument, in order to hunt failure on hydra.
7552
7553 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7554
7555 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
7556 malformed bindings form (bug#15814).
7557
7558 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
7559
7560 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
7561 "." compared to " @ ". This incidentally fixes some indentation
7562 examples with "do".
7563 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
7564 (ruby-smie-grammar): New tokens: "and" and "or".
7565 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7566 Exclude "and" and "or". Remove "do" in order to work around token
7567 priorities.
7568 (ruby-smie-rules): Add all infix tokens. Handle the case of
7569 beginning-of-buffer.
7570
7571 2013-11-06 Glenn Morris <rgm@gnu.org>
7572
7573 * Makefile.in (setwins_almost, setwins_for_subdirs):
7574 Avoid accidental matches.
7575
7576 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7577
7578 * menu-bar.el (popup-menu): Use key-binding.
7579
7580 2013-11-06 Eli Zaretskii <eliz@gnu.org>
7581
7582 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7583 menus, support also the menus produced by minor modes.
7584 (Bug#15817)
7585
7586 2013-11-06 Leo Liu <sdl.web@gmail.com>
7587
7588 * thingatpt.el (thing-at-point-looking-at): Add optional arg
7589 DISTANCE to bound the search. All uses changed. (Bug#15808)
7590
7591 2013-11-06 Glenn Morris <rgm@gnu.org>
7592
7593 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7594 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7595 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7596
7597 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7598
7599 * electric.el (electric-indent-just-newline): New command.
7600 (electric-indent-mode-map): New keymap.
7601 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7602 Re-add :group which weren't redundant.
7603
7604 * electric.el (electric-indent-local-mode): New minor mode.
7605 (electric-indent-functions-without-reindent): New var.
7606 (electric-indent-post-self-insert-function): Use it.
7607 * emacs-lisp/gv.el (buffer-local-value): Add setter.
7608
7609 2013-11-05 Eli Zaretskii <eliz@gnu.org>
7610
7611 * international/quail.el (quail-help): Be more explicit about the
7612 meaning of the labels shown on the keys. (Bug#15800)
7613
7614 * startup.el (normal-top-level): Load the subdirs.el files before
7615 setting the locale environment. (Bug#15805)
7616
7617 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
7618
7619 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7620 via arguments so as to get the right ones (bug#15418).
7621
7622 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7623
7624 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
7625
7626 Fix problems found while writing a test suite.
7627
7628 * net/tramp-compat.el (tramp-compat-load): New defun.
7629 * net/tramp.el (tramp-handle-load): Use it.
7630
7631 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7632 "(numberp ok-if-already-exists)" correctly.
7633
7634 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
7635
7636 * international/characters.el (glyphless-char-display-control):
7637 Add usage note.
7638
7639 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
7640
7641 * progmodes/python.el (python-mode):
7642 * progmodes/scheme.el (scheme-mode):
7643 * progmodes/prolog.el (prolog-mode):
7644 * progmodes/ruby-mode.el (ruby-mode):
7645 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7646 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7647
7648 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7649
7650 * rect.el (rectangle--highlight-for-redisplay):
7651 * emacs-lisp/smie.el (smie--next-indent-change):
7652 Use buffer-chars-modified-tick.
7653
7654 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7655
7656 * electric.el (electric-indent-post-self-insert-function):
7657 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7658
7659 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
7660
7661 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7662
7663 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7664
7665 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7666 (bug#15786).
7667
7668 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7669
7670 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
7671
7672 * progmodes/python.el: Fix up last change.
7673 (python-shell--save-temp-file): New function.
7674 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
7675 `string' comes from the current buffer.
7676 (python-shell-send-string-no-output): Remove `msg' arg.
7677 (python--use-fake-loc): New var.
7678 (python-shell-buffer-substring): Obey it. Try to compensate for the
7679 extra coding line added by python-shell--save-temp-file.
7680 (python-shell-send-region): Use python-shell--save-temp-file and
7681 python-shell-send-file directly. Add `nomain' argument.
7682 (python-shell-send-buffer): Use python-shell-send-region.
7683 (python-electric-pair-string-delimiter): New function.
7684 (python-mode): Use it.
7685
7686 2013-11-04 Eli Zaretskii <eliz@gnu.org>
7687
7688 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7689 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7690 environment and decoding all of the default-directory's to here
7691 from command-line.
7692 (command-line): Decode also argv[0].
7693
7694 * loadup.el: Error out if default-directory is a multibyte string
7695 when we are dumping.
7696
7697 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7698
7699 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7700
7701 * emacs-lisp/package.el (package-menu-mode)
7702 (package-menu--print-info, package-menu--archive-predicate):
7703 Add Archive column to package list.
7704
7705 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
7706
7707 Fix problems found while writing a test suite.
7708
7709 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7710 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7711 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7712 to nil when running original file name handler. Otherwise,
7713 there are problems with constructs like "$$FOO".
7714
7715 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7716 for `localname'.
7717
7718 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7719
7720 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7721
7722 * subr.el (version<, version<=, version=):
7723 Update docstrings with information for snapshot versions.
7724
7725 * helpers.el: New library for misc helper functions.
7726 (hash-table-keys): New function returning a list of hash keys.
7727 (hash-table-values): New function returning a list of hash values.
7728
7729 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7730
7731 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7732 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7733
7734 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
7735
7736 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7737 checking whether point is after a 1-letter word.
7738
7739 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7740
7741 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7742 Don't infloop when expanding region over `multiline' syntax-type that
7743 begins a line (bug#15778).
7744
7745 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7746
7747 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7748 Make it into a proper minor mode.
7749 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
7750 (rectangle-mark-mode-map): New keymap.
7751 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7752
7753 2013-11-04 Glenn Morris <rgm@gnu.org>
7754
7755 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7756
7757 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7758
7759 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7760 (ruby-smie-rules): Use smie-rule-parent instead.
7761
7762 * emacs-lisp/smie.el (smie-rule-parent): Always call
7763 smie-indent-virtual rather than only for hanging tokens.
7764 (smie--next-indent-change): New helper command.
7765
7766 2013-11-03 Glenn Morris <rgm@gnu.org>
7767
7768 * Makefile.in (abs_srcdir): Remove.
7769 (emacs): Unset EMACSLOADPATH.
7770
7771 2013-11-02 Glenn Morris <rgm@gnu.org>
7772
7773 * Makefile.in (EMACS): Use a relative filename.
7774 (abs_top_builddir): Remove.
7775 (custom-deps, finder-data, autoloads): Use --chdir.
7776
7777 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7778
7779 Use relative filenames in TAGS files.
7780 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7781 (lisptagsfiles4, TAGS): Use relative file names.
7782 (TAGS-LISP): Remove.
7783 (maintainer-clean): No more TAGS-LISP file.
7784
7785 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7786 (lisptagsfiles4): Use absolute filenames again.
7787 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7788 Remove all *loaddefs files, not just the first. Remove esh-groups.
7789 (maintainer-clean): Delete TAGS, TAGS-LISP.
7790
7791 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7792
7793 * emacs-lisp/package.el (package-version-join):
7794 Recognize snapshot versions.
7795
7796 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7797
7798 * subr.el (version-regexp-alist): Add support for snapshot versions.
7799
7800 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7801
7802 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7803 New function, replacement for `smie-rule-parent' for when we want to
7804 skip over our direct parent if it's an assignment token..
7805 (ruby-smie-rules): Use it.
7806
7807 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7808
7809 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7810 unconditionally. Remove now unnecessary forward declarations.
7811 Remove XEmacs-specific setup.
7812 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7813 (ruby-font-lock-syntactic-keywords)
7814 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7815 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7816 (ruby-here-doc-end-syntax): Remove.
7817 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7818 defined as function.
7819
7820 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7821
7822 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7823
7824 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7825
7826 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7827 table and abbrev table, `define-derived-mode' does that for us
7828 anyway.
7829
7830 2013-11-01 Glenn Morris <rgm@gnu.org>
7831
7832 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7833 files is atomic for some time, so no parallel compilation issues).
7834
7835 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7836
7837 * faces.el (face-x-resources): Add :distant-foreground.
7838 (region): Use :distant-foreground for gtk and ns.
7839
7840 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7841
7842 Allow multiple bibliographies when BibLaTeX is used rather than
7843 BibTeX.
7844 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7845 (reftex-locate-bibliography-files): Us it.
7846
7847 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7848
7849 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7850 allow comments in pbm files.
7851
7852 * term/w32-win.el (dynamic-library-alist): Support newer versions
7853 of libjpeg starting with v7: look only for the DLL from the
7854 version against which Emacs was built.
7855 Support versions of libpng beyond 1.4.x.
7856 Support libtiff v4.x.
7857
7858 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7859
7860 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7861 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7862 Add property :safe.
7863 (ruby-deep-arglist): Add property :type.
7864
7865 2013-10-31 Glenn Morris <rgm@gnu.org>
7866
7867 * Makefile.in (custom-deps, finder-data): No need to setq the target
7868 variables, we are in the right directory and the defaults work fine.
7869
7870 2013-10-30 Glenn Morris <rgm@gnu.org>
7871
7872 * Makefile.in (autoloads): Do not use abs_lisp.
7873
7874 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7875 `newline' does not respect `standard-output', so use `princ'.
7876
7877 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7878
7879 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7880 * buff-menu.el (Buffer-menu--unmark): New function.
7881 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7882
7883 2013-10-30 Glenn Morris <rgm@gnu.org>
7884
7885 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7886
7887 * emacs-lisp/package.el (lm-homepage): Declare.
7888
7889 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7890 Fix doc typos.
7891
7892 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7893
7894 * Makefile.in (finder-data, autoloads, update-subdirs)
7895 (compile-main, compile-clean, compile-always, bootstrap-clean):
7896 Check return value of cd.
7897 (compile-calc): Remove.
7898
7899 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7900
7901 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7902
7903 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7904 (byte-compile-and-folded): New function.
7905 (=, <, >, <=, >=): Use it.
7906
7907 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7908 (path-separator, null-device, buffer-file-coding-system)
7909 (lpr-headers-switches): Check system-type before modifying them.
7910 (find-buffer-file-type-coding-system): Mark obsolete.
7911 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7912 find-file-not-found-set-buffer-file-coding-system.
7913 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7914 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7915 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7916 (w32-direct-print-region-helper, w32-direct-print-region-function)
7917 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7918 * startup.el (normal-top-level-add-subdirs-to-load-path):
7919 * ps-print.el (ps-print-region-function):
7920 * lpr.el (print-region-function): Use new name.
7921
7922 * subr.el (custom-declare-variable-early): Remove function.
7923 (custom-declare-variable-list): Remove var.
7924 (error, user-error): Remove `while' loop.
7925 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7926 (user-emacs-directory-warning, locate-user-emacs-file):
7927 Move to files.el.
7928 * simple.el (read-quoted-char-radix, read-quoted-char):
7929 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7930 Move from subr.el.
7931 * custom.el (custom-declare-variable-list): Don't process
7932 custom-declare-variable-list.
7933
7934 * progmodes/python.el (python-shell-get-buffer): New function.
7935 (python-shell-get-process): Use it.
7936 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7937 Python which encoding was used. Don't split-string since we only care
7938 about the first line. Return the temp-file, if applicable.
7939 (python-shell-send-region): Tell compile.el how to turn locations in
7940 the temp-file into locations in the source buffer.
7941
7942 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7943
7944 * subr.el (undefined): Add missing behavior from the C code for
7945 unbound keys.
7946
7947 * rect.el: Use lexical-binding. Add new rectangular region support.
7948 (rectangle-mark): New command.
7949 (rectangle--region): New var.
7950 (deactivate-mark-hook): Reset rectangle--region.
7951 (rectangle--extract-region, rectangle--insert-for-yank)
7952 (rectangle--highlight-for-redisplay)
7953 (rectangle--unhighlight-for-redisplay): New functions.
7954 (region-extract-function, redisplay-unhighlight-region-function)
7955 (redisplay-highlight-region-function): Use them to handle
7956 rectangular region.
7957 * simple.el (region-extract-function): New var.
7958 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7959 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7960 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7961 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7962 (redisplay-unhighlight-region-function)
7963 (redisplay-highlight-region-function): New vars.
7964 (redisplay--update-region-highlight): New function.
7965 (pre-redisplay-function): Use it.
7966 (exchange-point-and-mark): Don't deactivate the mark before
7967 reactivate-it anyway.
7968 * comint.el (comint-kill-region): Remove yank-handler argument.
7969 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7970 (delete-char): Remove property, since it's now part of their
7971 default behavior.
7972 (self-insert-iso): Remove property since this command doesn't exist.
7973
7974 * emacs-lisp/package.el (package--download-one-archive)
7975 (describe-package-1): Don't query the user about final newline.
7976
7977 2013-10-29 Daniel Colascione <dancol@dancol.org>
7978
7979 * net/tramp.el (tramp-methods): Document new functionality.
7980 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7981 tramp-hostname-checker if method provides one instead of scanning
7982 argument list for "%h" to decide hostname acceptability.
7983
7984 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7985
7986 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7987 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7988 Handle COPY-CONTENTS. (Bug#15737)
7989
7990 2013-10-28 Daiki Ueno <ueno@gnu.org>
7991
7992 * epa-file.el
7993 (epa-file-cache-passphrase-for-symmetric-encryption):
7994 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7995
7996 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7997
7998 * image.el (defimage, image-load-path): Doc fixes.
7999
8000 2013-10-27 Alan Mackenzie <acm@muc.de>
8001
8002 Indent statements in macros following "##" correctly.
8003 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
8004 Modify the "#" arm of a cond form to handle "#" and "##" operators.
8005
8006 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
8007
8008 * linum.el (linum-update-window): Fix boundary test (bug#13446).
8009
8010 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
8011
8012 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
8013 after `=' is probably a new expression.
8014
8015 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8016
8017 * man.el (man-imenu-title): New option.
8018 (Man-mode-map): Add menu. (Bug#15722)
8019 (Man-mode): Add imenu to menu.
8020
8021 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
8022
8023 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
8024 specific in what the first arg can be: a non-keyword word,
8025 string/regexp/percent literal opener, opening paren, or unary
8026 operator followed directly by word.
8027
8028 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8029
8030 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
8031 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
8032 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
8033 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
8034 Remove vars, they do not apply any more.
8035 (prolog-mode-abbrev-table): Remove redundant declaration.
8036 (prolog-upper-case-string, prolog-lower-case-string): Remove.
8037 (prolog-use-smie): Remove.
8038 (prolog-smie-rules): Add indentation rule for the if-then-else layout
8039 supported by prolog-electric-if-then-else-flag.
8040 (prolog-mode-variables, prolog-menu): Use setq-local.
8041 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
8042 Remove binding to `Backspace' since this key doesn't exist anyway.
8043 Remove bindings for electric self-inserting keys.
8044 (prog-mode): Assume it's defined.
8045 (prolog-post-self-insert): New function.
8046 (prolog-mode): Use it.
8047 (prolog-indent-line, prolog-indent-level)
8048 (prolog-find-indent-of-matching-paren)
8049 (prolog-indentation-level-of-line, prolog-goto-comment-column)
8050 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
8051 (prolog-goto-next-paren, prolog-in-string-or-comment)
8052 (prolog-tokenize, prolog-inside-mline-comment)
8053 (prolog-find-start-of-mline-comment): Remove functions.
8054 (prolog-find-unmatched-paren, prolog-clause-end)
8055 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
8056 (prolog-electric--if-then-else): Rename from
8057 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
8058 (prolog-tokenize-searchkey): Remove const.
8059 (prolog-clause-info): Use forward-sexp.
8060 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
8061 (prolog-electric-if-then-else): Remove commands.
8062 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
8063 for use in post-self-insert-hook.
8064 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
8065 for use in post-self-insert-hook.
8066 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
8067 for use in post-self-insert-hook.
8068 (prolog-electric--underscore): Rename from prolog-electric--underscore;
8069 adapt it for use in post-self-insert-hook.
8070
8071 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
8072
8073 * emacs-lisp/ert.el (ert-run-tests-interactively):
8074 Use `completing-read'. (Bug#9756)
8075
8076 2013-10-25 Eli Zaretskii <eliz@gnu.org>
8077
8078 * simple.el (line-move): Call line-move-1 instead of
8079 line-move-visual when the current window hscroll is zero, but
8080 temporary-goal-column indicates we will need to hscroll as result
8081 of the movement. (Bug#15712)
8082
8083 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
8084
8085 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
8086 capitalization. Use :visible instead of :active.
8087 Fix `ruby-indent-exp' reference. Add menu items for the generic
8088 commands that are used with SMIE.
8089 (ruby-do-end-to-brace): Insert space after `{'.
8090
8091 2013-10-25 John Anthony <john@jo.hnanthony.com>
8092
8093 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
8094
8095 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
8096
8097 2013-10-25 Glenn Morris <rgm@gnu.org>
8098
8099 * vc/vc.el (vc-print-log): Don't use a working revision unless
8100 one was explicitly specified. (Bug#15322)
8101
8102 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8103
8104 * subr.el (add-to-list): Preserve return value in compiler-macro
8105 (bug#15692).
8106
8107 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8108
8109 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
8110 result. Ask user to retry using '-all' flag. (Bug#15701)
8111
8112 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8113
8114 * emacs-lisp/smie.el: New smie-config system.
8115 (smie-config): New defcustom.
8116 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
8117 (smie-config-guess, smie-config-save): New commands.
8118 (smie-config--mode-local, smie-config--buffer-local)
8119 (smie-config--trace, smie-config--modefuns): New vars.
8120 (smie-config--advice, smie-config--mode-hook)
8121 (smie-config--setter, smie-config-local, smie-config--get-trace)
8122 (smie-config--guess-value, smie-config--guess): New functions.
8123 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
8124 text properties. Treat "string fence" syntax like string syntax.
8125
8126 * progmodes/sh-script.el (sh-use-smie): Change default.
8127 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
8128 (sh-var-value): Simplify by CSE.
8129 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
8130 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
8131 is used.
8132 (sh-guess-basic-offset): Use cl-incf.
8133 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
8134
8135 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
8136
8137 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
8138 (bug#15699).
8139
8140 2013-10-24 Glenn Morris <rgm@gnu.org>
8141
8142 * Makefile.in (abs_top_srcdir): Remove.
8143 (update-subdirs): Use relative path to update-subdirs.
8144
8145 2013-10-24 Eli Zaretskii <eliz@gnu.org>
8146
8147 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
8148 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
8149 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
8150 Call unmsys--file-name before expand-file-name, not after it.
8151
8152 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
8153
8154 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
8155 (ert-test-skipped): New error.
8156 (ert-skip, ert-stats-skipped): New defuns.
8157 (ert--skip-unless): New macro.
8158 (ert-test-skipped): New struct.
8159 (ert--run-test-debugger, ert-test-result-type-p)
8160 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
8161 (ert--stats-set-test-and-result, ert-char-for-test-result)
8162 (ert-string-for-test-result, ert-run-tests-batch)
8163 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
8164 Handle skipped tests. (Bug#9803)
8165
8166 2013-10-24 Glenn Morris <rgm@gnu.org>
8167
8168 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
8169
8170 * Makefile.in (abs_top_srcdir): New, set by configure.
8171 (update-subdirs): Correct build-aux location.
8172
8173 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
8174
8175 * vc/vc.el (vc-print-root-log): Always set `default-directory'
8176 value, whether we could auto-deduce `backend', or not.
8177
8178 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
8179 with parameters" example. Simplify the "is it block or is it
8180 hash" check, but also make it more thorough.
8181
8182 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
8183
8184 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
8185
8186 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
8187
8188 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
8189 { if it is hanging.
8190
8191 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
8192 :before ";".
8193
8194 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
8195
8196 * progmodes/compile.el (compilation-directory-matcher)
8197 (compilation-page-delimiter):
8198 Support GNU Make-4.0 directory quoting. (Bug#15678)
8199
8200 2013-10-23 Leo Liu <sdl.web@gmail.com>
8201
8202 * ido.el (ido-tidy): Handle read-only text.
8203
8204 2013-10-23 Glenn Morris <rgm@gnu.org>
8205
8206 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
8207 (emacs, compile, compile-always):
8208 Quote entities that might contain whitespace.
8209 (custom-deps, finder-data, autoloads): Use abs_lisp.
8210 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8211 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8212 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
8213
8214 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
8215
8216 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
8217 Use `following-char'.
8218
8219 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
8220
8221 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
8222 * progmodes/ruby-mode.el (ruby-smie-rules):
8223 Remove corresponding workaround. Fix indentation rule of ";" so it
8224 also applies when ";" is the parent.
8225
8226 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
8227
8228 * frame.el (display-screens, display-pixel-height)
8229 (display-pixel-width, display-mm-width, display-backing-store)
8230 (display-save-under, display-planes, display-color-cells)
8231 (display-visual-class, display-monitor-attributes-list):
8232 Mention the optional ‘display’ argument in doc strings.
8233
8234 2013-10-22 Michael Gauland <mikelygee@amuri.net>
8235
8236 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
8237 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
8238
8239 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8240
8241 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
8242 TODO. Add "." after " @ ".
8243 (ruby-smie--at-dot-call): New function. Checks if point at method
8244 call with explicit target.
8245 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
8246 to the method name tokens when it precedes them.
8247 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
8248 (ruby-smie-rules): Add rule for indentation before and after "."
8249 token.
8250
8251 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
8252
8253 * textmodes/remember.el (remember-diary-extract-entries):
8254 Avoid add-to-list.
8255
8256 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
8257 an instruction.
8258
8259 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8260
8261 * progmodes/ruby-mode.el (ruby-smie-grammar):
8262 Add (almost) all infix operators.
8263 (ruby-smie--implicit-semi-p): Add new operator chars.
8264
8265 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8266 `smie-down-list'.
8267 (ruby-smie--args-separator-p): Check that there's no newline
8268 between method call and its arguments.
8269
8270 2013-10-20 Alan Mackenzie <acm@muc.de>
8271
8272 Allow comma separated lists after Java "implements".
8273
8274 * progmodes/cc-engine.el (c-backward-over-enum-header):
8275 Parse commas.
8276 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
8277 from a "disallowed" list in enum fontification.
8278
8279 2013-10-20 Johan Bockgård <bojohan@gnu.org>
8280
8281 * startup.el (default-frame-background-mode): Remove unused defvar.
8282
8283 * progmodes/verilog-mode.el (verilog-mode): Don't set
8284 comment-indent-function globally.
8285
8286 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
8287
8288 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
8289 Move Info menu item creation to ns-win.el.
8290
8291 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
8292 in menu bar.
8293
8294 * menu-bar.el: Move GNUstep specific menus...
8295
8296 * term/ns-win.el (ns-initialize-window-system): ... to here.
8297
8298 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8299
8300 * simple.el (newline): Only run post-self-insert-hook when
8301 called interactively.
8302
8303 2013-10-19 Johan Bockgård <bojohan@gnu.org>
8304
8305 * icomplete.el (icomplete-with-completion-tables): Add :version.
8306
8307 2013-10-19 Alan Mackenzie <acm@muc.de>
8308
8309 Fix fontification bugs with constructors and const.
8310
8311 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
8312 CASE 2) Remove the check for the absence of a suffix construct
8313 after a function declaration with only types (no identifiers) in
8314 the parentheses. Also, accept a function declaration with just a
8315 type inside the parentheses, if this type can be positively
8316 recognised as such, or if a prefix keyword like "explicit" nails
8317 down the construct as a declaration.
8318
8319 2013-10-19 Eli Zaretskii <eliz@gnu.org>
8320
8321 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
8322 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
8323 the problem whereby selecting a menu item that leads to a
8324 minibuffer prompt moves the cursor out of the minibuffer window,
8325 making it hard to type at the prompt. Suggested by Stefan Monnier
8326 <monnier@iro.umontreal.ca>.
8327
8328 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
8329
8330 * menu-bar.el: Don't make Services menu.
8331
8332 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8333
8334 * ffap.el: Handle "/usr/include/c++/<version>" directories.
8335 (ffap-alist): Use ffap-c++-mode for c++-mode.
8336 (ffap-c++-path): New variable.
8337 (ffap-c++-mode): New function.
8338
8339 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
8340
8341 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
8342
8343 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
8344
8345 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
8346 introduced on 2013-09-08, which results in an infinite loop
8347 requesting a password.
8348
8349 2013-10-18 Glenn Morris <rgm@gnu.org>
8350
8351 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
8352
8353 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
8354
8355 Sync with upstream verilog-mode revision 1a6ecec7.
8356 * progmodes/verilog-mode.el (verilog-mode-version): Update.
8357 (verilog-mode-release-date): Remove.
8358 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
8359 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
8360 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
8361 (verilog-auto-tieoff-ignore-regexp)
8362 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
8363 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
8364 (verilog-signals-with, verilog-dir-cache-preserving)
8365 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
8366 Doc fixes.
8367 (verilog-case-fold): New option, to control case folding in
8368 regexp searches, bug597.
8369 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
8370 (verilog-string-match-fold, verilog-in-paren-count)
8371 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
8372 (verilog-at-close-struct-p): New functions.
8373 (verilog-beg-block-re-ordered, verilog-extended-case-re)
8374 (verilog-forward-sexp, verilog-set-auto-endcomments)
8375 (verilog-leap-to-case-head): Handle "unique0" case.
8376 (verilog-in-constraint-re): New constant.
8377 (verilog-keywords, verilog-type-font-keywords):
8378 Add some SystemVerilog 1800-2012 keywords.
8379 (verilog-label-be): Remove unimplemented argument, bug669.
8380 (verilog-batch-execute-func): When batch expanding clear
8381 create-lockfiles to prevent spurious user locks when a file ends
8382 up not changing.
8383 (verilog-calculate-indent, verilog-calc-1)
8384 (verilog-at-close-constraint-p, verilog-at-constraint-p)
8385 (verilog-do-indent): Fix indentation of nested constraints
8386 and structures.
8387 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
8388 (verilog-auto-inst-param): Use verilog-string-match-fold.
8389 (verilog-read-inst-module-matcher):
8390 Fix AUTOINST on gate primitives with #1.
8391 (verilog-read-decls): Fix double-declaring user-defined typed signals.
8392 Reads all user-defined typed variables.
8393 (verilog-read-defines): Fix reading definitions inside comments, bug647.
8394 (verilog-signals-matching-regexp)
8395 (verilog-signals-not-matching-regexp, verilog-auto):
8396 Respect verilog-case-fold.
8397 (verilog-diff-report): Fix line count.
8398 (verilog-auto-assign-modport): Remove unused local `modi'.
8399 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
8400 better handle multidimensional arrays.
8401 Fix packed array ports misadding bit index in AUTOINST, bug637.
8402 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
8403 to not double-declare existing outputs and inputs, respectively.
8404 (verilog-template-map): Bind U to verilog-sk-uvm-component.
8405 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
8406 (verilog-sk-uvm-component): New skeleton.
8407 (verilog-submit-bug-report): Add verilog-case-fold,
8408 remove verilog-mode-release-date.
8409
8410 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
8411
8412 * subr.el (sit-for): Call (input-pending-p t) so as to behave
8413 as before.
8414
8415 2013-10-18 Reuben Thomas <rrt@sc3d.org>
8416
8417 * textmodes/remember.el (remember): Set buffer-offer-save in
8418 remember buffers (bug#13566).
8419
8420 2013-10-18 Daniel Colascione <dancol@dancol.org>
8421
8422 When evaluating forms in ielm, direct standard output to ielm
8423 buffer. Add new ielm-return-for-effect command. Remove trailing
8424 whitespace throughout.
8425
8426 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
8427 (ielm-return-for-effect): New command.
8428 (ielm-send-input): Accept optional `for-effect' parameter.
8429 (ielm-eval-input): Accept optional `for-effect' parameter.
8430 Bind `standard-output' to stream we create using
8431 `ielm-standard-output-impl'. Suppress printing result when
8432 `for-effect'.
8433 (ielm-standard-output-impl): New function.
8434 (inferior-emacs-lisp-mode): Explain new features in documentation.
8435
8436 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
8437
8438 Code cleanup.
8439
8440 * net/tramp.el (tramp-debug-message): Do not check for connection
8441 buffer.
8442 (tramp-message): Use "vector" connection property.
8443
8444 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
8445 (tramp-equal-remote, tramp-eshell-directory-change)
8446 * net/tramp-adb.el (tramp-adb-handle-copy-file)
8447 (tramp-adb-handle-rename-file)
8448 * net/tramp-cmds.el (tramp-list-remote-buffers)
8449 (tramp-cleanup-connection, tramp-cleanup-this-connection)
8450 * net/tramp-compat.el (tramp-compat-process-running-p)
8451 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
8452 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
8453 (tramp-gvfs-handle-rename-file)
8454 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8455 (tramp-set-file-uid-gid)
8456 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8457 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
8458 of `file-remote-p'.
8459
8460 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
8461 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8462 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
8463 (tramp-gw-open-network-stream): Suppress unrelated traces.
8464
8465 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
8466 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8467 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8468 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
8469 connection property.
8470
8471 * net/tramp-cache.el (top): Suppress traces when reading
8472 persistency file.
8473
8474 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8475 Refactor common code. Improve debug message.
8476 (tramp-maybe-open-connection)
8477 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
8478 connection buffer too early.
8479
8480 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
8481 from `tramp-smb-actions-with-acl'.
8482 (tramp-smb-actions-set-acl): New defconst.
8483 (tramp-smb-handle-copy-directory)
8484 (tramp-smb-action-get-acl): New defun, renamed from
8485 `tramp-smb-action-with-acl'.
8486 (tramp-smb-action-set-acl): New defun.
8487 (tramp-smb-handle-set-file-acl): Rewrite.
8488
8489 2013-10-17 Glenn Morris <rgm@gnu.org>
8490
8491 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
8492
8493 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8494
8495 * skeleton.el (skeleton-newline): Remove.
8496 (skeleton-internal-1): Use (insert "\n") instead.
8497
8498 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
8499 let-bindings.
8500
8501 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
8502 forward-sexp-function while we redo its job (bug#15613).
8503
8504 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
8505
8506 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
8507 represented by lists.
8508
8509 2013-10-16 Glenn Morris <rgm@gnu.org>
8510
8511 * tmm.el (tmm--history): New dynamic variable.
8512 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
8513
8514 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
8515
8516 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
8517 (tramp-smb-errors): Add error messages.
8518 (tramp-smb-actions-with-acl): New defconst.
8519 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
8520 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
8521 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
8522 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
8523 (tramp-smb-get-stat-capability): Fix tests.
8524
8525 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
8526
8527 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
8528 (bug#15580).
8529
8530 2013-10-16 Glenn Morris <rgm@gnu.org>
8531
8532 * ansi-color.el (ansi-color-drop-regexp):
8533 Add 1J, 1K, 2K. (Bug#15617)
8534
8535 * files.el (hack-local-variables--warned-lexical): New.
8536 (hack-local-variables):
8537 Warn about misplaced lexical-binding. (Bug#15616)
8538
8539 * net/eww.el (eww-render): Always set eww-current-url,
8540 and update header line. (Bug#15622)
8541 (eww-display-html): ... Rather than just doing it here.
8542
8543 2013-10-15 Eli Zaretskii <eliz@gnu.org>
8544
8545 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
8546 menu navigations commands.
8547
8548 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
8549
8550 * progmodes/subword.el (subword-capitalize): Be careful when
8551 the search for [[:alpha:]] fails (bug#15580).
8552
8553 2013-10-14 Eli Zaretskii <eliz@gnu.org>
8554
8555 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
8556 to commands that scroll the menu.
8557
8558 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
8559
8560 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
8561 Handle methods ending with `?' and `!'.
8562
8563 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
8564
8565 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8566 `japanese-cp932' to `cp932' to fix the problem where saving a
8567 source file written in Shift_JIS twice would end up having
8568 `coding: japanese-cp932' which Ruby could not recognize.
8569 (ruby-mode-set-encoding): Add support for encodings mapped to nil
8570 in `ruby-encoding-map'.
8571 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8572 doesn't need to be explicitly declared in magic comment.
8573 (ruby-encoding-map): Add type declaration for better customize UI.
8574
8575 2013-10-13 Glenn Morris <rgm@gnu.org>
8576
8577 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8578 Occur buffers are read-only. http://bugs.debian.org/720775
8579
8580 * emacs-lisp/authors.el (authors-fixed-entries):
8581 Comment out old alpha stuff.
8582
8583 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
8584
8585 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8586 to `after-save-hook' instead of `before-save-hook'.
8587 (ruby-mode-set-encoding): Use the value of coding system used to
8588 write the file. Call `basic-save-buffer-1' after modifying the
8589 buffer.
8590
8591 2013-10-13 Alan Mackenzie <acm@muc.de>
8592
8593 Fix indentation/fontification of Java enum with
8594 "implements"/generic.
8595
8596 * progmodes/cc-engine.el (c-backward-over-enum-header):
8597 Extracted from the three other places and enhanced to handle generics.
8598 (c-inside-bracelist-p): Uses new function above.
8599 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8600 function above.
8601 (c-font-lock-enum-tail): Uses new function above.
8602
8603 2013-10-13 Kenichi Handa <handa@gnu.org>
8604
8605 * international/mule-cmds.el (select-safe-coding-system): Remove a
8606 superfluous condition in chekcing whether a coding system is safe
8607 or not.
8608
8609 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
8610
8611 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
8612
8613 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
8614
8615 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
8616
8617 2013-10-13 Glenn Morris <rgm@gnu.org>
8618
8619 * menu-bar.el (menu-bar-update-buffers):
8620 Unify Buffers menu prompt string. (Bug#15576)
8621
8622 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
8623
8624 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8625 Add some entries.
8626 (authors-fixed-entries): Use accented form of name.
8627
8628 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8629
8630 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8631 method calls (bug#15594).
8632 (ruby-smie--args-separator-p): New function.
8633 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8634 recognize paren-free method calls.
8635
8636 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8637 internals of universal-argument.
8638
8639 2013-10-11 Eli Zaretskii <eliz@gnu.org>
8640
8641 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8642 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8643 dropped menu on second mouse click on the menu bar.
8644
8645 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8646
8647 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8648 (explicit-shell-file-name): Declare.
8649 (sh--vars-before-point, sh--cmd-completion-table): New functions.
8650 (sh-completion-at-point-function): New function.
8651 (sh-mode): Use it.
8652 (sh-smie--keyword-p): Remove unused argument.
8653 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8654 vars.
8655 (sh-set-shell): Always setup SMIE, even if we use the
8656 old indentation code.
8657
8658 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
8659
8660 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8661 cases of ? and =.
8662 (ruby-smie-rules): Simplify the "do" rule. The cases when the
8663 predicate would return nil are almost non-existent.
8664 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8665
8666 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8667 cache also after commands that modify the buffer but don't move
8668 point.
8669
8670 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8671
8672 * env.el (substitute-env-in-file-name): New function.
8673 (substitute-env-vars): Extend the meaning of the optional arg.
8674
8675 2013-10-10 Eli Zaretskii <eliz@gnu.org>
8676
8677 * term/w32-win.el (dynamic-library-alist): Define separate lists
8678 of GIF DLLs for versions before and after 5.0.0 of giflib.
8679 (Bug#15531)
8680
8681 2013-10-10 João Távora <joaotavora@gmail.com>
8682
8683 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8684 not locked, use last revision and current source as
8685 defaults. (Bug#15569)
8686
8687 2013-10-10 Masatake YAMATO <yamato@redhat.com>
8688
8689 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8690 menu-bar is hidden.
8691
8692 2013-10-10 Martin Rudalics <rudalics@gmx.at>
8693
8694 * window.el (pop-to-buffer-same-window): Fix doc-string.
8695 (Bug#15492)
8696
8697 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8698
8699 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8700
8701 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8702
8703 * calendar/icalendar.el (icalendar-import-file):
8704 Fix interactive spec. (Bug#15482)
8705
8706 2013-10-10 Glenn Morris <rgm@gnu.org>
8707
8708 * desktop.el (desktop-save): Default to saving in .emacs.d,
8709 since PWD is no longer in desktop-path by default. (Bug#15319)
8710
8711 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8712 now that text mode has a menu with the same entry.
8713 (menu-bar-text-mode-auto-fill): Remove now unused func.
8714 * textmodes/text-mode.el (text-mode-map):
8715 Use auto-fill help text from menu-bar.el.
8716
8717 2013-10-10 John Anthony <john@jo.hnanthony.com>
8718
8719 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8720
8721 2013-10-09 Juri Linkov <juri@jurta.org>
8722
8723 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8724 instead of this-command-keys. Add universal-argument-more and
8725 universal-argument-minus to the list of prefix commands. (Bug#15568)
8726
8727 2013-10-09 Glenn Morris <rgm@gnu.org>
8728
8729 * vc/vc-svn.el (vc-svn-create-repo):
8730 Expand paths in file://... url. (Bug#15446)
8731
8732 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8733 Add some entries.
8734 (authors): Remove unused local variables.
8735
8736 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8737
8738 * profiler.el: Create a more coherent calltree from partial backtraces.
8739 (profiler-format): Hide the tail with `invisible' so that C-s can still
8740 find the hidden elements.
8741 (profiler-calltree-depth): Don't recurse so enthusiastically.
8742 (profiler-function-equal): New hash-table-test.
8743 (profiler-calltree-build-unified): New function.
8744 (profiler-calltree-build): Use it.
8745 (profiler-report-make-name-part): Indent the calltree less.
8746 (profiler-report-mode): Add visibility specs for profiler-format.
8747 (profiler-report-expand-entry, profiler-report-toggle-entry):
8748 Expand the whole subtree when provided with a prefix arg.
8749
8750 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8751
8752 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8753 iuwu-mod token.
8754 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8755 hanging iuwu-mod token.
8756 (ruby-smie--forward-token): Do not include a dot after a token in
8757 that token.
8758 (ruby-smie--backward-token): Likewise.
8759
8760 2013-10-08 Juri Linkov <juri@jurta.org>
8761
8762 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8763 to isearch-other-control-char.
8764 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8765 and isearch-post-command-hook to post-command-hook.
8766 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8767 and isearch-post-command-hook from post-command-hook.
8768 (isearch-unread-key-sequence)
8769 (isearch-reread-key-sequence-naturally)
8770 (isearch-lookup-scroll-key, isearch-other-control-char)
8771 (isearch-other-meta-char): Remove functions.
8772 (isearch-pre-command-hook, isearch-post-command-hook):
8773 New functions based on isearch-other-meta-char rewritten
8774 relying on the new behavior of overriding-terminal-local-map
8775 that does not replace the local keymaps any more. (Bug#15200)
8776
8777 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8778
8779 Support menus on text-mode terminals.
8780 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8781 functionality.
8782
8783 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8784
8785 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8786 Move here from mouse.el.
8787 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8788 and arrow keys.
8789 (tty-menu-navigation-map): New map for TTY menu navigation.
8790
8791 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8792
8793 * frame.el (display-mouse-p): Report text-mode mouse as available
8794 on w32.
8795 (display-popup-menus-p): Report availability if mouse is
8796 available; don't condition on window-system.
8797
8798 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8799 (tty-menu-selected-face): New faces.
8800
8801 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8802
8803 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8804 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8805 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8806 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8807 New constants.
8808 (lisp-mode-variables): New `elisp' argument.
8809 (emacs-lisp-mode): Use it.
8810 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8811 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8812
8813 * indent.el: Use lexical-binding.
8814 (indent-region): Add progress reporter.
8815 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8816 last step.
8817 (indent--next-tab-stop): New function to implement this behavior.
8818 (tab-to-tab-stop, move-to-tab-stop): Use it.
8819
8820 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8821
8822 * indent.el (indent-rigidly--current-indentation): New function.
8823 (indent-rigidly-map): New var.
8824 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8825
8826 2013-10-08 Bastien Guerry <bzg@gnu.org>
8827
8828 * register.el (insert-register): Fix 2013-10-07 change.
8829
8830 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8831
8832 * progmodes/perl-mode.el: Use lexical-binding.
8833 Remove redundant :group args.
8834 (perl-nochange): Change default to be closer to other major modes's
8835 standard behavior.
8836 (perl-indent-line): Don't consider text on current line as a
8837 valid beginning of function from which to indent.
8838
8839 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8840 with more than one argument (bug#15538).
8841
8842 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8843
8844 * vc/pcvs.el: Use lexical-binding.
8845 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8846 environment of `eval'.
8847 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8848 than a list of expressions. Adjust callers.
8849 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8850
8851 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8852
8853 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8854 case of the dot in a chained method call being on the following line.
8855
8856 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8857
8858 * electric.el (electric-indent-inhibit): New var.
8859 (electric-indent-post-self-insert-function): Use it.
8860 * progmodes/python.el (python-mode): Set it.
8861
8862 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8863 open braces.
8864
8865 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8866
8867 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8868 (css-mode): Use electric-indent-chars.
8869
8870 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8871 (font-lock-beg, font-lock-end): Move before first use.
8872 (nxml-mode): Use syntax-propertize-function.
8873 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8874 (nxml-extend-after-change-region): Remove.
8875 * nxml/xmltok.el: Use lexical-binding.
8876 (xmltok-save): Use `declare'.
8877 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8878 * nxml/nxml-util.el: Use lexical-binding.
8879 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8880 Use `declare'.
8881 * nxml/nxml-ns.el: Use lexical-binding.
8882 (nxml-ns-save): Use `declare'.
8883 (nxml-ns-prefixes-for): Avoid add-to-list.
8884 * nxml/rng-match.el: Use lexical-binding.
8885 (rng--ipattern): Use cl-defstruct.
8886 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8887 (rng-cons-group-after, rng-subst-group-after)
8888 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8889 Use closures instead of `(lambda...).
8890
8891 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8892
8893 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8894 of BEG and END.
8895
8896 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8897 Use `tramp-handle-insert-file-contents'.
8898 (tramp-gvfs-handle-insert-file-contents): Remove function.
8899
8900 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8901 Use `save-restriction' in order to keep markers.
8902
8903 * net/trampver.el: Update release number.
8904
8905 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8906
8907 * progmodes/compile.el (compilation-parse-errors):
8908 Use compilation--put-prop.
8909 (compilation--ensure-parse): Check compilation-multiline.
8910
8911 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8912
8913 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8914 lexical-binding.
8915
8916 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8917
8918 * progmodes/ruby-mode.el: Fix recently added tests.
8919 (ruby-smie-grammar): Add - and +.
8920 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8921 (ruby-smie--backward-id): New functions.
8922 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8923 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8924 any more.
8925
8926 2013-10-07 Leo Liu <sdl.web@gmail.com>
8927
8928 * register.el (register-preview-delay)
8929 (register-preview-functions): New variables.
8930 (register-read-with-preview, register-preview)
8931 (register-describe-oneline): New functions.
8932 (point-to-register, window-configuration-to-register)
8933 (frame-configuration-to-register, jump-to-register)
8934 (number-to-register, view-register, insert-register)
8935 (copy-to-register, append-to-register, prepend-to-register)
8936 (copy-rectangle-to-register): Use register-read-with-preview to
8937 read register. (Bug#15525)
8938
8939 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8940
8941 * net/network-stream.el (network-stream-open-starttls): Don't add
8942 --insecure if it's already present, because that gnutls-cli
8943 rejects getting that parameter twice.
8944
8945 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8946
8947 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8948 keyword, too.
8949
8950 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8951
8952 * newcomment.el (comment-use-global-state): Change default value
8953 to t, mark obsolete (Bug#15251).
8954 (comment-beginning): In addition to `comment-to-syntax', check the
8955 value of `comment-use-global-state'.
8956
8957 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8958
8959 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8960 (ruby-comment-column): Follow the global default, by default.
8961 (ruby-smie-grammar): Add assignment syntax.
8962 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8963 open-paren, a comma, or a \.
8964 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8965 and line continuations.
8966 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8967 followed by implicit semi-colons. Add rule for string concatenation
8968 and for indentation at BOB.
8969 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8970
8971 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8972 calling next-sexp, since next-token may have skipped chars which
8973 next-sexp doesn't know should be skipped!
8974
8975 2013-10-05 Leo Liu <sdl.web@gmail.com>
8976
8977 * progmodes/octave.el (octave-send-region):
8978 Call compilation-forget-errors.
8979
8980 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8981
8982 * vc/vc-svn.el (vc-svn-find-admin-dir):
8983 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8984 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8985 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8986 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8987
8988 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8989
8990 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8991
8992 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8993
8994 * subr.el (read-passwd): Hide chars even when called within a context
8995 where after-change-functions is disabled (bug#15501).
8996 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8997 until we removed ourself from overriding-terminal-local-map.
8998
8999 2013-10-04 Leo Liu <sdl.web@gmail.com>
9000
9001 * progmodes/octave.el (inferior-octave-mode):
9002 Call compilation-forget-errors.
9003
9004 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
9005
9006 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
9007
9008 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
9009
9010 * net/secrets.el (secrets-create-collection): Add optional
9011 argument ALIAS. Use proper Label keyword. Append ALIAS as
9012 dbus-call-method argument. (Bug#15516)
9013
9014 2013-10-04 Leo Liu <sdl.web@gmail.com>
9015
9016 * progmodes/octave.el (inferior-octave-error-regexp-alist)
9017 (inferior-octave-compilation-font-lock-keywords): New variables.
9018 (compilation-error-regexp-alist)
9019 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
9020 (inferior-octave-mode): Use compilation-shell-minor-mode.
9021
9022 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
9023
9024 * minibuffer.el (completion--replace): Be careful that `end' might be
9025 a marker.
9026
9027 2013-10-03 Daiki Ueno <ueno@gnu.org>
9028
9029 Add support for package signature checking.
9030 * emacs-lisp/package.el (url-http-file-exists-p)
9031 (epg-make-context, epg-context-set-home-directory)
9032 (epg-verify-string, epg-context-result-for)
9033 (epg-signature-status, epg-signature-to-string)
9034 (epg-check-configuration, epg-configuration)
9035 (epg-import-keys-from-file): Declare.
9036 (package-check-signature): New user option.
9037 (package-unsigned-archives): New user option.
9038 (package-desc): Add `signed' field.
9039 (package-load-descriptor): Set `signed' field if .signed file exists.
9040 (package--archive-file-exists-p): New function.
9041 (package--check-signature): New function.
9042 (package-install-from-archive): Check package signature.
9043 (package--download-one-archive): Check archive signature.
9044 (package-delete): Remove .signed file.
9045 (package-import-keyring): New command.
9046 (package-refresh-contents): Import default keyring.
9047 (package-desc-status): Add "unsigned" status.
9048 (describe-package-1, package-menu--print-info)
9049 (package-menu-mark-delete, package-menu--find-upgrades)
9050 (package-menu--status-predicate): Support "unsigned" status.
9051
9052 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9053
9054 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
9055 the new compilation scheme using the new byte-codes.
9056
9057 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
9058 (byte-pophandler): New byte codes.
9059 (byte-goto-ops): Adjust accordingly.
9060 (byte-compile--use-old-handlers): New var.
9061 (byte-compile-catch): Use new byte codes depending on
9062 byte-compile--use-old-handlers.
9063 (byte-compile-condition-case--old): Rename from
9064 byte-compile-condition-case.
9065 (byte-compile-condition-case--new): New function.
9066 (byte-compile-condition-case): New function that dispatches depending
9067 on byte-compile--use-old-handlers.
9068 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
9069 when we can.
9070
9071 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
9072 Optimize under `condition-case' and `catch' if
9073 byte-compile--use-old-handlers is nil.
9074 (disassemble-offset): Handle new bytecodes.
9075
9076 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9077
9078 * subr.el (error): Use `declare'.
9079 (decode-char, encode-char): Use advertised-calling-convention instead
9080 of the docstring to discourage use of the `restriction' arg.
9081
9082 2013-10-03 Daiki Ueno <ueno@gnu.org>
9083
9084 * epg.el (epg-verify-file): Add a comment saying that it does not
9085 notify verification error as a return value nor a signal.
9086 (epg-verify-string): Ditto.
9087
9088 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
9089
9090 * progmodes/compile.el (compilation-start): Try globbing the arg to
9091 `cd' (bug#15417).
9092
9093 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
9094
9095 Sync with Tramp 2.2.8.
9096
9097 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
9098 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
9099 * net/trampver.el: Update release number.
9100
9101 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
9102
9103 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
9104 and default-process-coding-system for darwin only.
9105
9106 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
9107
9108 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
9109
9110 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
9111
9112 * vc/vc-git.el (vc-git-grep): Disable pager.
9113
9114 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
9115
9116 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
9117 Use :url instead of :homepage, as per
9118 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
9119
9120 * newcomment.el (comment-beginning): When `comment-use-syntax' is
9121 non-nil, use `syntax-ppss' (Bug#15251).
9122
9123 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9124
9125 * progmodes/octave.el (inferior-octave-startup-file):
9126 Prefer ~/.emacs.d/init_octave.m.
9127
9128 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
9129
9130 * emacs-lisp/package.el (package-desc-from-define):
9131 Accept additional arguments as plist, convert them to an alist and store
9132 them in the `extras' slot.
9133 (package-generate-description-file): Convert extras alist back to
9134 plist and append to the `define-package' form arguments.
9135 (package--alist-to-plist): New function.
9136 (package--ac-desc): Add `extras' slot.
9137 (package--add-to-archive-contents): Check if the archive-contents
9138 vector is long enough, and if it is, pass its `extras' slot value
9139 to `package-desc-create'.
9140 (package-buffer-info): Call `lm-homepage', pass the returned value
9141 to `package-desc-from-define'.
9142 (describe-package-1): Render the homepage button (Bug#13291).
9143
9144 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9145 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
9146
9147 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
9148
9149 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
9150 and default-process-coding-system to utf-8-unix (Bug#15402).
9151
9152 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
9153
9154 * subr.el (looking-back): Do not recommend using looking-back.
9155
9156 2013-09-28 Alan Mackenzie <acm@muc.de>
9157
9158 Fix indentation/fontification of Java enum with "implements".
9159
9160 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
9161 regexp which matches "implements", etc., in Java.
9162 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
9163 specifier clauses coming after "enum".
9164 * progmodes/cc-fonts.el (c-font-lock-declarations)
9165 (c-font-lock-enum-tail): Check for extra specifier clauses coming
9166 after "enum".
9167
9168 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
9169
9170 * faces.el (region): Change ns_selection_color to
9171 ns_selection_fg_color, add ns_selection_bg_color.
9172
9173 2013-09-28 Leo Liu <sdl.web@gmail.com>
9174
9175 * progmodes/octave.el (inferior-octave-completion-table)
9176 (inferior-octave-completion-at-point): Minor tweaks.
9177
9178 * textmodes/ispell.el (ispell-lookup-words): Rename from
9179 lookup-words. (Bug#15460)
9180 (lookup-words): Obsolete.
9181 (ispell-complete-word, ispell-command-loop): All uses changed.
9182
9183 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9184
9185 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
9186 (octave-mode-menu): Add octave-send-buffer.
9187 (octave-send-buffer): New function.
9188
9189 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9190
9191 * progmodes/octave.el (octave-mode-map): Add key binding for
9192 octave-lookfor.
9193 (octave-mode-menu): Add octave-lookfor.
9194 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
9195 octave-lookfor.
9196 (octave-lookfor): New function.
9197
9198 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9199
9200 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
9201 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
9202 its convention.
9203 (cl--loop-set-iterator-function): New function.
9204 (cl-loop): Adjust accordingly, so as not to use cl-subst.
9205 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
9206 Bind `it' with `let' instead of substituting it with `cl-subst'.
9207 (cl--unused-var-p): New function.
9208 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
9209 Eliminate some unused variable warnings (bug#15326).
9210
9211 2013-09-27 Tassilo Horn <tsdh@gnu.org>
9212
9213 * doc-view.el (doc-view-scale-reset): Rename from
9214 `doc-view-reset-zoom-level'.
9215 (doc-view-scale-adjust): New command.
9216 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
9217 `doc-view-scale-adjust'.
9218
9219 2013-09-26 Tassilo Horn <tsdh@gnu.org>
9220
9221 * doc-view.el (doc-view-reset-zoom-level): New command.
9222 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
9223 zoom commands (bug#15466).
9224
9225 2013-09-26 Kenichi Handa <handa@gnu.org>
9226
9227 * international/quail.el (quail-help): Make it not a command.
9228
9229 2013-09-26 Leo Liu <sdl.web@gmail.com>
9230
9231 * minibuffer.el (completion-all-sorted-completions): Make args
9232 optional as they are.
9233
9234 2013-09-25 Daniel Colascione <dancol@dancol.org>
9235
9236 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
9237 specs are and that they're not evaluated.
9238
9239 2013-09-24 Sam Steingold <sds@gnu.org>
9240
9241 * midnight.el (clean-buffer-list-kill-regexps)
9242 (clean-buffer-list-kill-buffer-names): Update for the new Man
9243 buffer naming which includes the object name.
9244
9245 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9246
9247 * eshell/esh-cmd.el (eshell--sep-terms): New var.
9248 (eshell-parse-command, eshell-parse-pipeline): Use it since
9249 eshell-separate-commands requires a dynamic scoped var.
9250 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
9251
9252 2013-09-23 Leo Liu <sdl.web@gmail.com>
9253
9254 * autoinsert.el (auto-insert-alist): Make the value of
9255 lexical-binding match its file setting.
9256
9257 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
9258
9259 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
9260
9261 * autoarg.el (autoarg-kp-digit-argument):
9262 * electric.el (Electric-command-loop):
9263 * kmacro.el (kmacro-step-edit-insert):
9264 Do not set universal-argument-num-events.
9265
9266 2013-09-22 Leo Liu <sdl.web@gmail.com>
9267
9268 * files.el (interpreter-mode-alist): Add octave.
9269
9270 2013-09-21 Alan Mackenzie <acm@muc.de>
9271
9272 C++: fontify identifier in declaration following "public:" correctly.
9273 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
9274 to match "public", etc.
9275 (c-decl-prefix-re): Add ":" into the C++ value.
9276 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
9277 bit. Add a check for a ":" preceded by "public", etc.
9278
9279 2013-09-21 Eli Zaretskii <eliz@gnu.org>
9280
9281 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
9282 recognized by GDB 7.5 and later.
9283
9284 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
9285
9286 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
9287
9288 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9289
9290 * subr.el (internal--call-interactively): New const.
9291 (called-interactively-p): Use it (bug#3984).
9292
9293 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
9294
9295 * vc/pcvs.el (cvs-mode-ignore):
9296 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
9297 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
9298
9299 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9300
9301 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
9302 (eshell-ls-orig-insert-directory): Remove.
9303 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
9304 (eshell-ls-use-in-dired): Use advice-add/remove.
9305 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
9306 Add `orig-fun' arg for use in :around advice.
9307 Make it check (redundantly) eshell-ls-use-in-dired.
9308
9309 2013-09-19 Glenn Morris <rgm@gnu.org>
9310
9311 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
9312
9313 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
9314
9315 * emacs-lisp/eieio.el (class-parent): Undo previous change.
9316
9317 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
9318
9319 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
9320 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
9321 (tramp-get-remote-python): New defuns.
9322 (tramp-get-remote-uid-with-perl)
9323 (tramp-get-remote-gid-with-perl): New defuns. Perl code
9324 contributed by yary <not.com@gmail.com> (tiny change).
9325 (tramp-get-remote-uid-with-python)
9326 (tramp-get-remote-gid-with-python): New defuns. Python code
9327 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
9328 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
9329
9330 2013-09-19 Glenn Morris <rgm@gnu.org>
9331
9332 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
9333
9334 * eshell/em-unix.el (eshell-remove-entries):
9335 Rename argument to avoid name-clash with global `top-level'.
9336
9337 * eshell/esh-proc.el (eshell-kill-process-function):
9338 Remove eshell-reset-after-proc from eshell-kill-hook if present.
9339 (eshell-reset-after-proc): Remove unused arg `proc'.
9340
9341 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
9342 (directory-files-and-attributes): Mark unused arg.
9343
9344 * eshell/em-unix.el (eshell-remove-entries):
9345 Remove unused arg `path'. Update callers.
9346
9347 * eshell/em-hist.el (eshell-hist-parse-arguments):
9348 Remove unused arg `silent'. Update callers.
9349
9350 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
9351 Fix (f)boundp mix-up.
9352
9353 * eshell/em-smart.el (eshell-smart-scroll-window)
9354 (eshell-disable-after-change):
9355 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
9356
9357 2013-09-18 Alan Mackenzie <acm@muc.de>
9358
9359 Fix fontification of type when followed by "const".
9360 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
9361 "known" types from fontification.
9362
9363 2013-09-18 Glenn Morris <rgm@gnu.org>
9364
9365 * emacs-lisp/chart.el (x-display-color-cells): Declare.
9366 (chart-face-list): Drop Emacsen without display-color-p.
9367
9368 * net/eww.el (libxml-parse-html-region): Declare.
9369 (eww-display-html): Explicit error if no libxml2 support.
9370
9371 * doc-view.el (doc-view-mode): Silence --without-x compilation.
9372
9373 * image.el (image-type-from-buffer, image-multi-frame-p):
9374 Remove --without-x warning/error.
9375
9376 * mouse.el (mouse-yank-primary):
9377 * term.el (term-mouse-paste):
9378 Reorder to silence --without-x compilation.
9379
9380 * mpc.el (doc-view-mode): Silence --without-x compilation.
9381
9382 * mail/rmailmm.el (rmail-mime-set-bulk-data):
9383 Silence --without-x compilation.
9384
9385 * progmodes/gud.el (gud-find-file, gud-mode):
9386 Silence --without-x compilation.
9387 (tooltip-mode): Declare.
9388
9389 * wdired.el (dired-backup-overwrite): Remove declaration.
9390 (wdired-mode-map): Add doc string.
9391
9392 * custom.el (x-get-resource): Declare.
9393
9394 * eshell/em-glob.el (ange-cache):
9395 * eshell/em-unix.el (ange-cache): Declare.
9396
9397 * faces.el (x-display-list, x-open-connection, x-get-resource):
9398 Declare.
9399
9400 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
9401 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
9402 Declare.
9403
9404 * frame.el (x-display-grayscale-p, x-display-name): Declare.
9405
9406 * net/gnutls.el (gnutls-log-level): Declare.
9407
9408 * net/shr.el (image-size, image-animate): Declare.
9409
9410 * simple.el (font-info): Declare.
9411
9412 * subr.el (x-popup-dialog): Declare.
9413
9414 * term/common-win.el (x-select-enable-primary)
9415 (x-last-selected-text-primary, x-last-selected-text-clipboard):
9416 Declare.
9417
9418 * term/ns-win.el (x-handle-args): Declare.
9419
9420 * term/x-win.el (x-select-enable-clipboard): Declare.
9421
9422 * term/w32-win.el (create-default-fontset): Declare.
9423
9424 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
9425 Declare.
9426
9427 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
9428 (fit-frame-to-buffer): Explicit error if --without-x.
9429 (mouse-autoselect-window-select): Silence compiler.
9430
9431 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9432
9433 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
9434 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
9435 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
9436 * eshell/esh-util.el (eshell-sublist):
9437 Remove unused local variables.
9438
9439 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
9440
9441 * textmodes/two-column.el: Make 2C-split work for --without-x.
9442 (scroll-bar-columns): Autoload.
9443 (top-level): Require fringe when compiling.
9444
9445 2013-09-18 Leo Liu <sdl.web@gmail.com>
9446
9447 * subr.el (add-hook): Robustify to handle closure as well.
9448
9449 2013-09-17 Glenn Morris <rgm@gnu.org>
9450
9451 * simple.el (messages-buffer-mode-map): Unbind "g".
9452
9453 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9454
9455 * help-mode.el (help-mode-finish): Use derived-mode-p.
9456 Remove obsolete highlighting.
9457
9458 * play/life.el (life-mode): Use define-derived-mode. Derive from
9459 special-mode.
9460 (life): Let-bind inhibit-read-only.
9461 (life-setup): Avoid `setq'. Use `life-mode'.
9462
9463 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
9464 which should not be needed any more.
9465 (package-menu-refresh, package-menu-describe-package): Use user-error.
9466
9467 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
9468 (eshell-post-rewrite-command-hook): Make obsolete.
9469 (eshell-parse-command): Simplify.
9470 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
9471 (eshell--cmd): Declare.
9472 (eshell-parse-pipeline): Remove unused var `final-p'.
9473 Pass a dynvar to eshell-post-rewrite-command-hook.
9474 Implement the new eshell-post-rewrite-command-function.
9475 (eshell-invoke-directly): Remove unused arg `input'.
9476 * eshell/esh-io.el (eshell-io-initialize):
9477 Use eshell-post-rewrite-command-function (bug#15399).
9478 (eshell--apply-redirections): Rename from eshell-apply-redirections;
9479 adjust to new calling convention.
9480 (eshell-create-handles): Rename args to avoid clashing with dynvar
9481 `standard-output'.
9482
9483 2013-09-17 Glenn Morris <rgm@gnu.org>
9484
9485 * simple.el (messages-buffer-mode): New major mode.
9486 (messages-buffer): New function.
9487 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
9488 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
9489 (ert-run-test): Use `messages-buffer' function.
9490 (ert--force-message-log-buffer-truncation): Ignore read-only.
9491 * help.el (view-echo-area-messages): Use `messages-buffer' function.
9492 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
9493
9494 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9495
9496 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
9497
9498 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
9499
9500 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9501
9502 * icomplete.el (icomplete-in-buffer): New var.
9503 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
9504 vars and replace them with functions.
9505 (icomplete-minibuffer-setup): Adjust accordingly.
9506 (icomplete--completion-table, icomplete--completion-predicate)
9507 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
9508 New functions.
9509 (icomplete-forward-completions, icomplete-backward-completions)
9510 (icomplete-simple-completing-p, icomplete-exhibit)
9511 (icomplete-completions): Use them.
9512 (icomplete--in-region-buffer): New var.
9513 (icomplete--in-region-setup): New function.
9514 (icomplete-mode): Use it.
9515
9516 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
9517 (bug#15379).
9518 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
9519 return args and options.
9520 (eshell-eval-using-options): Use the new return value of
9521 eshell--do-opts to set the options's vars in their scope.
9522 (eshell--set-option): Rename from eshell-set-option.
9523 Add arg `opt-vals'.
9524 (eshell--process-option): Rename from eshell-process-option.
9525 Add arg `opt-vals'.
9526 (eshell--process-args): Use an `opt-vals' alist to store the options's
9527 values during their processing and return them additionally to the
9528 remaining args.
9529
9530 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
9531
9532 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
9533 continuation character an operator, as far as indentation is
9534 concerned (Bug#15369).
9535
9536 2013-09-15 Martin Rudalics <rudalics@gmx.at>
9537
9538 * window.el (window--state-put-2): Don't process buffer state
9539 when buffer doesn't exist any more (Bug#15382).
9540
9541 2013-09-15 Glenn Morris <rgm@gnu.org>
9542
9543 * eshell/em-unix.el (eshell/rm):
9544 Make -f ignore missing files. (Bug#15373)
9545
9546 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
9547 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
9548 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
9549
9550 2013-09-14 Glenn Morris <rgm@gnu.org>
9551
9552 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
9553
9554 2013-09-13 Glenn Morris <rgm@gnu.org>
9555
9556 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
9557 (dired-guess-default): Make `file' available in the env. (Bug#15363)
9558
9559 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
9560
9561 * frame.el (x-focus-frame): Mark as declared in frame.c.
9562
9563 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9564
9565 * ls-lisp.el: Use advice-add.
9566 (original-insert-directory): Remove.
9567 (ls-lisp--insert-directory): Rename from insert-directory; add
9568 `orig-fun' argument.
9569 (insert-directory): Advise.
9570
9571 2013-09-13 Eli Zaretskii <eliz@gnu.org>
9572
9573 * term.el (term-emulate-terminal): Decode the command string
9574 before passing it to term-command-hook. (Bug#15337)
9575
9576 2013-09-13 Glenn Morris <rgm@gnu.org>
9577
9578 * eshell/esh-util.el (ange-cache): Move declaration earlier.
9579
9580 * eshell/esh-ext.el (eshell-search-path): Declare.
9581
9582 * eshell/em-prompt.el (eshell/pwd): Autoload it.
9583 Otherwise an error occurs if eshell-dirs module not loaded.
9584
9585 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9586
9587 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
9588
9589 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9590 `tramp-check-proper-host'. Check for a valid method name.
9591
9592 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9593 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9594 * net/tramp-sh.el (tramp-maybe-open-connection):
9595 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9596
9597 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9598 also for hash values.
9599
9600 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9601
9602 * term/ns-win.el (parameters): Don't declare as dynamic.
9603 (before-make-frame-hook): Don't add ineffective function.
9604
9605 * eshell/*.el: Use lexical-binding (bug#15231).
9606
9607 2013-09-12 Kenichi Handa <handa@gnu.org>
9608
9609 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9610
9611 2013-09-12 Glenn Morris <rgm@gnu.org>
9612
9613 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9614 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9615
9616 * subr.el (do-after-load-evaluation): Also give compiler warnings
9617 when obsolete files are used (except by obsolete files).
9618
9619 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9620 in the status output, assume `filename' is the first. (Bug#15322)
9621
9622 * vc/vc.el (vc-deduce-fileset): Doc fix.
9623
9624 * calc/calc-help.el (Info-goto-node):
9625 * progmodes/cperl-mode.el (Info-find-node):
9626 * vc/ediff.el (Info-goto-node): Update declarations.
9627
9628 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9629
9630 * vc/vc-bzr.el (vc-compilation-mode): Declare.
9631 (vc-bzr-pull): Require vc-dispatcher.
9632 * vc/vc-git.el (vc-compilation-mode): Declare.
9633 (vc-git-pull): Require vc-dispatcher.
9634
9635 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9636
9637 * progmodes/octave.el (help-button-action): Declare.
9638
9639 * shell.el (shell-directory-tracker): Output error as a message
9640 rather than just returning it as a string.
9641 (shell-process-pushd): Remove useless use of message.
9642
9643 * dframe.el (dframe-timer-fn):
9644 * files.el (dir-locals-read-from-file):
9645 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9646 (mpc-format):
9647 * reveal.el (reveal-post-command):
9648 * saveplace.el (load-save-place-alist-from-file):
9649 * shell.el (shell-resync-dirs):
9650 * w32-common-fns.el (x-get-selection-value):
9651 * emacs-lisp/copyright.el (copyright-find-copyright):
9652 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9653 * emulation/tpu-edt.el (tpu-copy-keyfile):
9654 * play/bubbles.el (bubbles--mark-neighbourhood):
9655 * progmodes/executable.el
9656 (executable-make-buffer-file-executable-if-script-p):
9657 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9658
9659 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9660
9661 Cleanup Eshell to rely less on dynamic scoping.
9662 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9663 last-value, and ext-command here. Bind `args' closer to `body'.
9664 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9665 (eshell--args): Declare new dynamic var.
9666 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
9667 last-value, and ext-command. Pass `args' to `body'.
9668 (eshell-process-args): Bind eshell--args.
9669 (eshell-set-option): Use eshell--args.
9670 * eshell/eshell.el (eshell): Use derived-mode-p.
9671 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9672 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9673 (eshell-glob-function): Declare.
9674 * eshell/esh-util.el: Require cl-lib.
9675 (eshell-read-hosts-file): Avoid add-to-list.
9676 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9677 `err'.
9678 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9679 Declare.
9680 (eshell/diff): Remove unused var `err'.
9681 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9682 `killflag'.
9683 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9684 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9685 first use.
9686 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9687 Move declaration before first use.
9688 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9689 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9690 rely on cl-return.
9691
9692 2013-09-12 Glenn Morris <rgm@gnu.org>
9693
9694 * term/ns-win.el (global-map): Remove binding for ispell-next,
9695 deleted 1999-05-29. (Bug#15357)
9696
9697 2013-09-11 Glenn Morris <rgm@gnu.org>
9698
9699 * echistory.el (electric-command-history): Remove call to deleted func.
9700
9701 * play/landmark.el (landmark-mode): Fix typos.
9702
9703 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9704 Check cvs-sort-ignore-file is bound.
9705
9706 * savehist.el: No need for cl when compiling on Emacs.
9707
9708 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9709
9710 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9711 (bug#15338).
9712 (eshell-self-insert-command, eshell-send-invisible):
9713 Remove unused argument.
9714 (eshell-handle-control-codes): Remove unused var `orig'.
9715 Avoid delete-backward-char.
9716
9717 * files.el (set-auto-mode): Simplify a bit further.
9718
9719 2013-09-11 Glenn Morris <rgm@gnu.org>
9720
9721 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9722 (set-auto-mode): Don't regexp-quote elements.
9723 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9724 * progmodes/cc-mode.el (interpreter-mode-alist):
9725 * progmodes/ruby-mode.el (interpreter-mode-alist):
9726 Revert previous change.
9727
9728 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9729
9730 * play/snake.el (snake-mode):
9731 * play/mpuz.el (mpuz-mode):
9732 * play/landmark.el (lm-mode):
9733 * play/blackbox.el (blackbox-mode):
9734 * play/5x5.el (5x5-mode):
9735 * obsolete/options.el (Edit-options-mode):
9736 * net/quickurl.el (quickurl-list-mode):
9737 * net/newst-treeview.el (newsticker-treeview-mode):
9738 * mail/rmailsum.el (rmail-summary-mode):
9739 * mail/mspools.el (mspools-mode):
9740 * locate.el (locate-mode):
9741 * ibuffer.el (ibuffer-mode):
9742 * emulation/ws-mode.el (wordstar-mode):
9743 * emacs-lisp/debug.el (debugger-mode):
9744 * array.el (array-mode):
9745 * net/eudc.el (eudc-mode): Use define-derived-mode.
9746 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9747 Move initialization into declaration.
9748 (mairix-searches-mode): Use define-derived-mode.
9749 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9750 (eudc-edit-hotlist): Use dolist.
9751 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9752 (Man-mode): Use define-derived-mode.
9753 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9754 (Info-edit-mode): Use define-derived-mode.
9755 (Info-cease-edit): Use Info-mode.
9756 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9757 into declaration.
9758 (eshell-mode): Use define-derived-mode.
9759 * chistory.el (command-history-mode-map): Rename from
9760 command-history-map.
9761 (command-history-mode): Use define-derived-mode.
9762 (Command-history-setup): Remove function.
9763 * calc/calc.el (calc-trail-mode-map): New var.
9764 (calc-trail-mode): Use define-derived-mode.
9765 (calc-trail-buffer): Set calc-main-buffer manually.
9766 * bookmark.el (bookmark-insert-annotation): New function.
9767 (bookmark-edit-annotation): Use it.
9768 (bookmark-edit-annotation-mode): Make it a proper major mode.
9769 (bookmark-send-edited-annotation): Use derived-mode-p.
9770 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9771 closer to its ideal place. Use \' to match EOS.
9772
9773 * profiler.el (profiler-calltree-find): Use function-equal.
9774
9775 2013-09-10 Glenn Morris <rgm@gnu.org>
9776
9777 * files.el (interpreter-mode-alist): Convert to regexps.
9778 (set-auto-mode): Adapt for this. (Bug#15306)
9779 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9780 Comment out unused variable.
9781 * progmodes/cc-mode.el (interpreter-mode-alist):
9782 * progmodes/python.el (interpreter-mode-alist):
9783 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9784 * progmodes/sh-script.el (sh-set-shell):
9785 No longer use interpreter-mode-alist to get list of shells.
9786
9787 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9788
9789 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9790
9791 * simple.el: Use set-temporary-overlay-map for universal-argument.
9792 (universal-argument-map): Don't use default-bindings (bug#15317).
9793 Bind switch-frame explicitly. Replace universal-argument-minus with
9794 a conditional binding.
9795 (universal-argument-num-events, saved-overriding-map): Remove.
9796 (restore-overriding-map): Remove.
9797 (universal-argument--mode): Rename from save&set-overriding-map,
9798 and rewrite.
9799 (universal-argument, universal-argument-more, negative-argument)
9800 (digit-argument): Adjust accordingly.
9801 (universal-argument-minus): Remove.
9802 (universal-argument-other-key): Remove.
9803
9804 * subr.el (with-demoted-errors): Add `format' argument.
9805
9806 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9807
9808 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9809 `tramp-cleanup-connection'.
9810
9811 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9812 parameters KEEP-DEBUG and KEEP-PASSWORD.
9813
9814 * net/tramp.el (tramp-file-name-handler):
9815 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9816 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9817 (tramp-maybe-open-connection):
9818 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9819 Use `tramp-cleanup-connection'.
9820
9821 * net/tramp-sh.el (tramp-maybe-open-connection):
9822 Catch 'uname-changed inside the progress reporter.
9823
9824 2013-09-10 Glenn Morris <rgm@gnu.org>
9825
9826 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9827
9828 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9829 returns "alternate access method" in mode (eg "-rw-r--r--.").
9830
9831 2013-09-08 Glenn Morris <rgm@gnu.org>
9832
9833 * saveplace.el (load-save-place-alist-from-file):
9834 Demote errors. (Bug#15305)
9835
9836 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9837
9838 Improve compatibility with older Emacsen, and XEmacs.
9839
9840 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9841 only if it is bound. It isn't for XEmacs.
9842 (with-tramp-progress-reporter): Do not let-bind `result'.
9843 This yields to scoping errors in XEmacs.
9844 (tramp-handle-make-auto-save-file-name): New function, moved from
9845 tramp-sh.el.
9846
9847 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9848 for `make-auto-save-file-name'.
9849 (tramp-adb--gnu-switches-to-ash):
9850 Use `tramp-compat-replace-regexp-in-string'.
9851
9852 * net/tramp-cache.el (tramp-cache-print): Call
9853 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9854
9855 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9856 bound. It isn't for XEmacs.
9857
9858 * net/tramp-compat.el (tramp-compat-copy-file):
9859 Catch `wrong-number-of-arguments' error.
9860 (tramp-compat-replace-regexp-in-string): New defun.
9861
9862 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9863 for `make-auto-save-file-name'.
9864 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9865 `copy-file'.
9866 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9867 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9868 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9869
9870 * net/tramp-gw.el (tramp-gw-open-network-stream):
9871 Use `tramp-compat-replace-regexp-in-string'.
9872
9873 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9874 Call `tramp-handle-make-auto-save-file-name'.
9875 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9876 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9877 (tramp-sh-file-inotifywait-process-filter):
9878 Use `tramp-compat-replace-regexp-in-string'.
9879 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9880
9881 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9882 for `make-auto-save-file-name'.
9883 (tramp-smb-handle-copy-directory):
9884 Call `tramp-compat-replace-regexp-in-string'.
9885 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9886 (tramp-smb-handle-copy-file): Improve error message.
9887 (tramp-smb-handle-rename-file): Rename directly only in case
9888 `newname' does not exist yet. This is a restriction of smbclient.
9889 (tramp-smb-maybe-open-connection): Rerun the function only when
9890 `auth-sources' is non-nil.
9891
9892 2013-09-08 Kenichi Handa <handa@gnu.org>
9893
9894 * international/characters.el: Set category "^" (Combining) for
9895 more characters.
9896
9897 2013-09-07 Alan Mackenzie <acm@muc.de>
9898
9899 Correctly fontify Java class constructors.
9900 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9901 in Java Mode.
9902 (c-recognize-typeless-decls): Set the Java value to t.
9903 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9904 While handling a "(", add a check for, effectively, Java, and handle a
9905 "typeless" declaration there.
9906
9907 2013-09-07 Roland Winkler <winkler@gnu.org>
9908
9909 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9910 field subtitle for entry type book.
9911
9912 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9913
9914 * minibuffer.el: Make minibuffer-complete call completion-in-region
9915 rather than other way around.
9916 (completion--some, completion-pcm--find-all-completions):
9917 Don't delay signals when debugging.
9918 (minibuffer-completion-contents): Beware fields within the
9919 minibuffer contents.
9920 (completion-all-sorted-completions): Use defvar-local.
9921 (completion--do-completion, completion--cache-all-sorted-completions)
9922 (completion-all-sorted-completions, minibuffer-force-complete):
9923 Add args `beg' and `end'.
9924 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9925 (minibuffer-complete): Use completion-in-region.
9926 (completion-complete-and-exit): New fun, extracted from
9927 minibuffer-complete-and-exit.
9928 (minibuffer-complete-and-exit): Use it.
9929 (completion--complete-and-exit): Rename from
9930 minibuffer--complete-and-exit.
9931 (completion-in-region--single-word): New function, extracted from
9932 minibuffer-complete-word.
9933 (minibuffer-complete-word): Use it.
9934 (display-completion-list): Make `common-substring' argument obsolete.
9935 (completion--in-region): Call completion--in-region-1 instead of
9936 minibuffer-complete.
9937 (completion-help-at-point): Pass boundaries to
9938 minibuffer-completion-help as args rather than via an overlay.
9939 (completion-pcm--string->pattern): Use `any-delim'.
9940 (completion-pcm--optimize-pattern): New function.
9941 (completion-pcm--pattern->regex): Handle `any-delim'.
9942 * icomplete.el (icomplete-forward-completions)
9943 (icomplete-backward-completions, icomplete-completions):
9944 Adjust calls to completion-all-sorted-completions and
9945 completion--cache-all-sorted-completions.
9946 (icomplete-with-completion-tables): Default to t.
9947 * emacs-lisp/crm.el (crm--current-element): Rename from
9948 crm--select-current-element. Don't put an overlay but return the
9949 boundaries instead.
9950 (crm--completion-command): Take two new args to bind to the boundaries.
9951 (crm-completion-help): Adjust accordingly.
9952 (crm-complete): Use completion-in-region.
9953 (crm-complete-word): Use completion-in-region--single-word.
9954 (crm-complete-and-exit): Use completion-complete-and-exit.
9955
9956 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9957
9958 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9959 than dynamically.
9960
9961 2013-09-06 Juri Linkov <juri@jurta.org>
9962
9963 * info.el (Info-display-images-node): When image file doesn't exist
9964 display text version of the image if it's provided in the Info file.
9965 Otherwise, display the location of missing image from SRC attribute.
9966 Add help-echo text property from ALT attribute. (Bug#15279)
9967
9968 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9969
9970 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9971 (edit-abbrevs-mode): Use define-derived-mode.
9972
9973 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9974 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9975 that it's defined.
9976 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9977 Use define-derived-mode.
9978
9979 * epg.el (epg-start-encrypt): Minor CSE simplification.
9980
9981 2013-09-06 William Xu <william.xwl@gmail.com>
9982
9983 * arc-mode.el: Add support for 7za (bug#15264).
9984 (archive-7z-program): New var.
9985 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9986 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9987 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9988
9989 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9990
9991 Remove URL syntax.
9992
9993 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9994 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9995 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9996 (tramp-postfix-host-format, tramp-file-name-regexp)
9997 (tramp-completion-file-name-regexp)
9998 (tramp-completion-dissect-file-name)
9999 (tramp-handle-substitute-in-file-name): Remove 'url case.
10000 (tramp-file-name-regexp-url)
10001 (tramp-completion-file-name-regexp-url): Remove constants.
10002
10003 2013-09-06 Glenn Morris <rgm@gnu.org>
10004
10005 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
10006
10007 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
10008
10009 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
10010 keywords" below "here-doc beginnings" (Bug#15270).
10011
10012 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
10013
10014 * subr.el (pop): Use `car-safe'.
10015 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
10016 to detect unused `pop' return value.
10017
10018 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
10019 var `block-regexp'.
10020 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
10021 (python-fill-string): Remove unused var `marker'.
10022 (python-skeleton-add-menu-items): Remove unused var `items'.
10023
10024 * international/mule-cmds.el: Require CL.
10025 (find-coding-systems-for-charsets): Avoid add-to-list.
10026 (sanitize-coding-system-list): New function, extracted from
10027 select-safe-coding-system-interactively.
10028 (select-safe-coding-system-interactively): Use it.
10029 (read-input-method-name): Accept symbols for `default'.
10030
10031 * emacs-lisp/advice.el (defadvice): Add indent rule.
10032
10033 2013-09-05 Daniel Hackney <dan@haxney.org>
10034
10035 * dired-x.el:
10036 * net/ange-ftp.el:
10037 * net/browse-url.el:
10038 * net/dbus.el:
10039 * net/eudc.el:
10040 * net/eudcb-ldap.el:
10041 * net/eww.el:
10042 * net/imap.el:
10043 * printing.el:
10044 * vc/ediff-diff.el:
10045 * vc/ediff-init.el:
10046 * vc/ediff-merg.el:
10047 * vc/ediff-mult.el:
10048 * vc/ediff-util.el:
10049 * vc/ediff-wind.el:
10050 * vc/ediff.el:
10051 * vc/emerge.el:
10052 * vc/pcvs.el:
10053 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
10054 byte compiler. Remove some unused let-bound variables.
10055
10056 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
10057
10058 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
10059 a "ref-cell", since it gets better optimized (bug#14883).
10060
10061 2013-09-05 Glenn Morris <rgm@gnu.org>
10062
10063 * progmodes/cc-awk.el (c-forward-sws): Declare.
10064
10065 2013-09-04 Glenn Morris <rgm@gnu.org>
10066
10067 * generic-x.el [rul-generic-mode]: Require cc-mode.
10068 (c++-mode-syntax-table): Declare.
10069 (rul-generic-mode-syntax-table): Init in the defvar.
10070
10071 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
10072
10073 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
10074 (vc-do-command, vc-set-async-update):
10075 * vc/vc-mtn.el (vc-mtn-dir-status):
10076 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
10077 (vc-hg-pull, vc-hg-merge-branch):
10078 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
10079 (vc-git-merge-branch):
10080 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
10081 (vc-cvs-dir-status-files):
10082 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
10083 (vc-bzr-dir-status-files):
10084 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
10085 * vc/vc-annotate.el: Use lexical-binding.
10086 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
10087 (vc-sentinel-movepoint): Declare.
10088 (vc-annotate): Don't use `goto-line'.
10089 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
10090 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
10091 (vc-sentinel-movepoint): Declare.
10092 * vc/vc-svn.el: Use lexical-binding.
10093 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
10094 * vc/vc-sccs.el:
10095 * vc/vc-rcs.el: Use lexical-binding.
10096
10097 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
10098 `deleted'. Don't drop errors silently.
10099
10100 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
10101
10102 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
10103
10104 * vc/vc.el (vc-ignore): Rewrite.
10105 (vc-default-ignore): New function.
10106 (vc-default-ignore-completion-table): Use find-ignore-file.
10107
10108 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
10109 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
10110 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
10111 Remove. Most code moved to vc.el.
10112
10113 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
10114
10115 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
10116 * net/tramp-smb.el (tramp-smb-get-file-entries):
10117 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
10118 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
10119
10120 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
10121 Update call to it.
10122 (eww-change-select): Remove unused var `properties'.
10123 (eww-make-unique-file-name): Remove unused var `base'.
10124
10125 * finder.el (finder-compile-keywords): Don't mess with windows.
10126
10127 * calculator.el (calculator-funcall): Fix typo in last change.
10128
10129 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
10130
10131 * emacs-lisp/package.el (package-activate-1): Don't let a missing
10132 <pkg>-autoloads.el file stop us.
10133
10134 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
10135 warnings, and factor out common code.
10136
10137 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
10138
10139 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
10140 two-character operators and whether the character preceding them
10141 changes their meaning (Bug#15208).
10142
10143 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
10144
10145 Format code sent to Python shell for robustness.
10146 * progmodes/python.el (python-shell-buffer-substring):
10147 New function.
10148 (python-shell-send-region, python-shell-send-buffer): Use it.
10149
10150 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
10151
10152 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
10153 * net/tramp.el (tramp-user-error): ... here.
10154 (tramp-find-method, tramp-check-proper-host)
10155 (tramp-dissect-file-name, tramp-debug-message)
10156 (tramp-handle-shell-command):
10157 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10158 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
10159
10160 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
10161
10162 2013-09-02 Martin Rudalics <rudalics@gmx.at>
10163
10164 * avoid.el (mouse-avoidance-point-position)
10165 (mouse-avoidance-too-close-p): Handle case where posn-at-point
10166 returns nil.
10167
10168 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
10169
10170 * progmodes/python.el (python-shell-completion-get-completions):
10171 Drop use of deleted `comint-last-prompt-overlay'.
10172 (python-nav-if-name-main): New command.
10173
10174 2013-09-01 Glenn Morris <rgm@gnu.org>
10175
10176 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10177 Avoid leading space in $wins. Otherwise the sed command used by
10178 eg compile-main ends up containing "/*.el". (Bug#15170)
10179
10180 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
10181
10182 2013-08-30 Glenn Morris <rgm@gnu.org>
10183
10184 * emacs-lisp/bytecomp.el (byte-recompile-directory):
10185 Fix is-this-a-directory logic. (Bug#15220)
10186
10187 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10188
10189 * textmodes/css-mode.el: Use SMIE.
10190 (css-smie-grammar): New var.
10191 (css-smie--forward-token, css-smie--backward-token)
10192 (css-smie-rules): New functions.
10193 (css-mode): Use them.
10194 (css-navigation-syntax-table): Remove var.
10195 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
10196 (css-indent-calculate, css-indent-line): Remove functions.
10197
10198 Misc changes to reduce use of `(lambda...); and other cleanups.
10199 * cus-edit.el: Use lexical-binding.
10200 (customize-push-and-save, customize-apropos)
10201 (custom-buffer-create-internal): Use closures.
10202 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
10203 * progmodes/ada-xref.el: Use setq.
10204 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
10205 * dframe.el: Use lexical-binding.
10206 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
10207 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
10208 * descr-text.el: Use lexical-binding.
10209 (describe-text-widget, describe-text-sexp, describe-property-list):
10210 Use closures.
10211 * comint.el (comint-history-isearch-push-state): Use a closure.
10212 * calculator.el: Use lexical-binding.
10213 (calculator-number-to-string): Make it work with lexical-binding.
10214 (calculator-funcall): Same and use cl-letf.
10215
10216 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
10217 (lisp--company-doc-string, lisp--company-location): New functions.
10218 (lisp-completion-at-point): Use them to improve Company support.
10219
10220 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
10221 params of lambda expressions.
10222 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
10223 (ruby-smie--opening-pipe-p): New function.
10224 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
10225 symbols and matched |...| for formal params.
10226 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
10227 from being treated as hanging. Handle "rescue".
10228
10229 2013-08-29 Glenn Morris <rgm@gnu.org>
10230
10231 * progmodes/cc-engine.el (c-pull-open-brace):
10232 Move definition before use.
10233
10234 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10235
10236 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
10237 are immutable. Don't use `unsafe' any more.
10238 (cl--defsubst-expand): Don't substitute at the same time as keeping
10239 a residual unused let-binding. Don't use `unsafe' any more.
10240
10241 2013-08-29 Glenn Morris <rgm@gnu.org>
10242
10243 * calendar/cal-china.el (calendar-chinese-year-cache):
10244 Recenter on 2015.
10245
10246 * nxml/nxml-util.el (nxml-debug-clear-inside):
10247 Use cl-loop rather than loop.
10248
10249 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
10250
10251 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
10252
10253 2013-08-28 Glenn Morris <rgm@gnu.org>
10254
10255 * progmodes/antlr-mode.el: No need to require cc-mode twice.
10256
10257 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
10258
10259 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
10260
10261 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10262
10263 * simple.el (repeat-complex-command--called-interactively-skip):
10264 New function.
10265 (repeat-complex-command): Use it (bug#14136).
10266
10267 * progmodes/cc-mode.el: Minor cleanup of var declarations.
10268 (c-define-abbrev-table): Add `doc' argument.
10269 (c-mode-abbrev-table, c++-mode-abbrev-table)
10270 (objc-mode-abbrev-table, java-mode-abbrev-table)
10271 (idl-mode-abbrev-table, pike-mode-abbrev-table)
10272 (awk-mode-abbrev-table): Use it.
10273 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
10274 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
10275 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
10276 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
10277 Move initialization into the declaration; and remove any
10278 autoload cookie.
10279
10280 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
10281 and dynamic let binding.
10282
10283 * vc/smerge-mode.el: Remove redundant :group args.
10284
10285 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
10286 to load-path.
10287
10288 2013-08-28 Juri Linkov <juri@jurta.org>
10289
10290 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
10291 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
10292 (isearch-other-meta-char): Handle an undefined shifted printing
10293 character by downshifting it. (Bug#15200)
10294
10295 2013-08-28 Juri Linkov <juri@jurta.org>
10296
10297 * isearch.el (isearch-search): Change regexp error message for
10298 non-regexp searches. (Bug#15166)
10299
10300 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
10301
10302 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
10303 for portability to hosts where /bin/sh has problems.
10304
10305 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10306
10307 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
10308
10309 2013-08-27 Juri Linkov <juri@jurta.org>
10310
10311 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
10312 in the keyboard macro. (Bug#15126)
10313
10314 2013-08-27 Juri Linkov <juri@jurta.org>
10315
10316 * isearch.el (isearch-quote-char): Comment out converting unibyte
10317 to multibyte, thus syncing with its `quoted-insert' counterpart.
10318 (Bug#15166)
10319
10320 2013-08-27 Martin Rudalics <rudalics@gmx.at>
10321
10322 * window.el (display-buffer-use-some-window): Add missing
10323 argument in call of get-largest-window (Bug#15185).
10324 Reported by Stephen Leake.
10325
10326 2013-08-27 Glenn Morris <rgm@gnu.org>
10327
10328 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
10329
10330 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
10331
10332 * progmodes/python.el (python-font-lock-keywords): Don't return nil
10333 from a matcher-function unless there's no more matches (bug#15161).
10334
10335 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10336
10337 * minibuffer.el: Revert change from 2013-08-20.
10338
10339 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
10340 with text property `tramp-default', if appropriate.
10341 (tramp-check-proper-host): New defun.
10342 (tramp-dissect-file-name): Do not check hostname. Revert change
10343 of 2013-03-18.
10344 (tramp-backtrace): Make VEC-OR-PROC optional.
10345
10346 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10347 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10348 * net/tramp-sh.el (tramp-maybe-open-connection):
10349 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10350 Apply `tramp-check-proper-host'.
10351
10352 2013-08-26 Tassilo Horn <tsdh@gnu.org>
10353
10354 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
10355 lambda expression in order to have `describe-variable' display it.
10356
10357 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10358
10359 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
10360 BUF can be optional. (Bug#15186)
10361
10362 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
10363
10364 * progmodes/flymake.el (flymake-get-real-file-name-function):
10365 Fix broken customization. (Bug#15184)
10366
10367 2013-08-25 Alan Mackenzie <acm@muc.de>
10368
10369 Improve indentation of bracelists defined by macros (without "=").
10370
10371 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
10372 expansion begins with "{", regard it as bracelist when it doesn't
10373 contain a ";".
10374
10375 Parse C++ inher-intro when there's a template split over 2 lines.
10376
10377 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
10378 rigorously the search for "class" etc. followed by ":".
10379
10380 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
10381 random languages a regexp which never matches rather than nil.
10382
10383 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
10384
10385 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
10386 (c-awk-regexp-one-line-possibly-open-char-list-re)
10387 (c-awk-one-line-possibly-open-regexp-re)
10388 (c-awk-one-line-non-syn-ws*-re): Remove.
10389 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
10390 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
10391 (c-awk-space*-unclosed-regexp-/-re): New constants.
10392 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
10393 aren't regexp delimiters.
10394
10395 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
10396 handling for a rare situation in AWK Mode involving unterminated
10397 strings/regexps.
10398
10399 2013-08-23 Glenn Morris <rgm@gnu.org>
10400
10401 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
10402
10403 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
10404
10405 * files.el (create-file-buffer): If the result would begin with
10406 spaces, prepend a "|" instead of removing them. (Bug#15162)
10407
10408 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10409
10410 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
10411 text-properties (bug#15155).
10412
10413 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
10414 exist any more.
10415 (calc-keypad-redraw): Remove unused var `pad'.
10416 (calc-keypad-press): Remove unused var `menu'.
10417
10418 2013-08-23 Martin Rudalics <rudalics@gmx.at>
10419
10420 * window.el (display-buffer-pop-up-frame):
10421 Call pop-up-frame-function with BUFFER current so `make-frame' will
10422 use it as the new frame's buffer (Bug#15133).
10423
10424 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10425
10426 * calendar/timeclock.el: Minor cleanups.
10427 (timeclock-ask-before-exiting, timeclock-use-display-time):
10428 Use `symbol'.
10429 (timeclock-modeline-display): Define as alias before the
10430 actual definition.
10431 (timeclock-mode-line-display): Use define-minor-mode.
10432 (timeclock-day-list-template): Make it a function, add an argument.
10433 (timeclock-day-list-required, timeclock-day-list-length)
10434 (timeclock-day-list-debt, timeclock-day-list-span)
10435 (timeclock-day-list-break): Adjust calls accordingly.
10436
10437 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
10438
10439 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
10440 Use read--expression so that completion works again.
10441
10442 2013-08-21 Sam Steingold <sds@gnu.org>
10443
10444 Add rudimentary inferior shell interaction
10445 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
10446 (sh-set-shell): Reset it.
10447 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
10448 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
10449
10450 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
10451
10452 * align.el: Use lexical-binding.
10453 (align-region): Simplify accordingly.
10454
10455 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
10456
10457 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
10458
10459 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
10460 `non-essential' up.
10461
10462 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
10463
10464 * net/tramp.el:
10465 * net/tramp-adb.el:
10466 * net/tramp-cmds.el:
10467 * net/tramp-ftp.el:
10468 * net/tramp-gvfs.el:
10469 * net/tramp-gw.el:
10470 * net/tramp-sh.el: Don't wrap external variable declarations by
10471 `eval-when-compile'.
10472
10473 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10474
10475 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
10476 now that Emacs supports ImageMagick animations.
10477
10478 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
10479
10480 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
10481 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
10482
10483 2013-08-16 Martin Rudalics <rudalics@gmx.at>
10484
10485 * window.el (mouse-autoselect-window-select): Do autoselect when
10486 mouse pointer is on margin.
10487
10488 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
10489
10490 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
10491
10492 2013-08-16 Glenn Morris <rgm@gnu.org>
10493
10494 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
10495 Handle "Remote Directory" response of some clients. (Bug#15058)
10496
10497 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
10498 Tweak warning. (Bug#14926)
10499
10500 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
10501 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
10502
10503 * image-mode.el (image-mode-map): Add menu items to reverse,
10504 increase, decrease, reset animation speed.
10505 (image--set-speed, image-increase-speed, image-decrease-speed)
10506 (image-reverse-speed, image-reset-speed): New functions.
10507 (image-mode-map): Add bindings for speed commands.
10508
10509 * image.el (image-animate-get-speed, image-animate-set-speed):
10510 New functions.
10511 (image-animate-timeout): Respect image :speed property.
10512
10513 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10514
10515 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
10516 previous line (bug#15101).
10517 (debugger-eval-expression, debugger-record-expression):
10518 Use read--expression (bug#15102).
10519
10520 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
10521
10522 Remove byte compiler warnings, visible when compiling with
10523 `byte-compile-force-lexical-warnings' set to t.
10524
10525 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
10526 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
10527 (tramp-handle-unhandled-file-name-directory)
10528 (tramp-handle-file-notify-add-watch, tramp-action-login)
10529 (tramp-action-succeed, tramp-action-permission-denied)
10530 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
10531 arguments with "_".
10532
10533 * net/tramp-adb.el (tramp-adb-parse-device-names)
10534 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
10535 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
10536 (tramp-adb-handle-file-truename): Remove unused arguments.
10537
10538 * net/tramp-cache.el (tramp-flush-directory-property)
10539 (tramp-flush-connection-property, tramp-list-connections)
10540 (tramp-parse-connection-properties): Prefix unused arguments with "_".
10541
10542 * net/tramp-compat.el (tramp-compat-make-temp-file):
10543 Rename FILENAME to F.
10544
10545 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10546 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
10547 (tramp-zeroconf-parse-workstation-device-names)
10548 (tramp-zeroconf-parse-webdav-device-names)
10549 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
10550
10551 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10552 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
10553
10554 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
10555 arguments.
10556 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
10557 (tramp-sh-handle-insert-file-contents-literally)
10558 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
10559 with "_".
10560 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
10561 Remove unused variables.
10562
10563 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10564 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10565 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10566
10567 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10568 Make them a defconst.
10569 (tramp-uuencode-region): Remove unused variable.
10570
10571 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
10572
10573 * frameset.el (frameset--prop-setter): New function.
10574 (frameset-prop): Add gv-setter declaration.
10575 (frameset-filter-minibuffer): Deal with the case that the minibuffer
10576 parameter was already set in FILTERED. Doc fix.
10577 (frameset--record-minibuffer-relationships): Allow saving a
10578 minibufferless frame without its corresponding minibuffer frame.
10579 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10580 frame, if the frame id matches.
10581 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10582 frames before orphaned ones.
10583 (frameset-restore): Warn about orphaned windows, instead of error out.
10584
10585 2013-08-14 Martin Rudalics <rudalics@gmx.at>
10586
10587 * window.el (window-make-atom): Don't overwrite parameter
10588 already present.
10589 (display-buffer-in-atom-window): Handle special case where we
10590 split an already atomic window.
10591 (window--major-non-side-window, display-buffer-in-side-window)
10592 (window--side-check): Ignore minibuffer window when walking
10593 window tree.
10594 (window-deletable-p): Return 'frame only if no other frame uses
10595 our minibuffer window.
10596 (record-window-buffer): Run buffer-list-update-hook.
10597 (split-window): Make sure window--check-frame won't destroy an
10598 existing atomic window in case the new window gets nested
10599 inside.
10600 (display-buffer-at-bottom): Ignore minibuffer window when
10601 walking window tree. Don't split a side window.
10602 (pop-to-buffer): Don't set-buffer here, the select-window call
10603 should do that.
10604 (mouse-autoselect-window-select): Autoselect only if we are in the
10605 text portion of the window.
10606
10607 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10608
10609 * net/shr.el (shr-parse-image-data): New function to grab both the
10610 data itself and the Content-Type.
10611 (shr-put-image): Use it.
10612
10613 * net/eww.el (eww-display-image): Ditto.
10614
10615 * image.el (image-content-type-suffixes): New variable.
10616
10617 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10618
10619 * progmodes/python.el (python-imenu--build-tree)
10620 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10621
10622 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
10623
10624 * simple.el (backward-word): Mention the optional argument.
10625
10626 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10627
10628 * frameset.el (frameset--make): Rename constructor from make-frameset.
10629 (frameset-p, frameset-valid-p): Don't autoload.
10630 (frameset-valid-p): Use normal accessors.
10631
10632 2013-08-13 Glenn Morris <rgm@gnu.org>
10633
10634 * progmodes/compile.el (compile-command): Tweak example in doc.
10635 * obsolete/scribe.el (scribe-mode):
10636 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
10637
10638 * mail/feedmail.el (feedmail-confirm-outgoing)
10639 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10640
10641 * cus-start.el (truncate-partial-width-windows): Fix type.
10642
10643 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10644
10645 * net/shr.el (shr-table-horizontal-line): Fix custom type.
10646
10647 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10648
10649 * emacs-lisp/timer.el (timer--time-setter): New function.
10650 (timer--time): Use it as gv-setter.
10651
10652 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10653 setter is not a symbol.
10654
10655 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
10656
10657 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10658 if sending fails. This makes debugging easier.
10659
10660 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
10661
10662 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10663 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10664 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10665
10666 2013-08-12 Eli Zaretskii <eliz@gnu.org>
10667
10668 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10669
10670 2013-08-12 Glenn Morris <rgm@gnu.org>
10671
10672 * format.el (format-annotate-function):
10673 Handle read-only text properties in the source. (Bug#14887)
10674
10675 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10676
10677 * net/eww.el (eww-display-html): Ignore coding system errors.
10678 One web site uses "utf-8lias" as the coding system.
10679
10680 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
10681
10682 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10683
10684 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
10685
10686 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10687 (tutorial--detailed-help): Remove unused local variables.
10688 (tutorial--save-tutorial-to): Use ignore-errors.
10689 (help-with-tutorial): Use looking-at-p.
10690
10691 * view.el (view-buffer-other-window, view-buffer-other-frame):
10692 Mark unused arguments.
10693
10694 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10695 (woman-select-symbol-fonts, woman, woman-find-file)
10696 (woman-insert-file-contents, woman-non-underline-faces):
10697 Use string-match-p.
10698 (woman1-unquote): Move declaration.
10699
10700 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10701 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10702 argument. Remove unused local variable.
10703 (xml-parse-elem-type): Use string-match-p.
10704 (xml-substitute-numeric-entities): Use ignore-errors.
10705
10706 * calculator.el (calculator): Mark unused argument.
10707 (calculator-paste, calculator-quit, calculator-integer-p):
10708 Use ignore-errors.
10709 (calculator-string-to-number, calculator-decimal, calculator-exp)
10710 (calculator-op-or-exp): Use string-match-p.
10711
10712 * dired.el (dired-buffer-more-recently-used-p): Declare.
10713 (dired-insert-set-properties, dired-insert-old-subdirs):
10714 Use ignore-errors.
10715
10716 * dired-aux.el (dired-compress): Use ignore-errors.
10717 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10718 (dired-do-async-shell-command, dired-do-shell-command)
10719 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10720 (dired-insert-subdir-validate): Use string-match-p.
10721 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10722 (dired-add-entry): Use string-match-p, looking-at-p.
10723 (dired-insert-subdir-newpos): Remove unused local variable.
10724
10725 * filenotify.el (file-notify-callback): Remove unused local variable.
10726
10727 * filesets.el (filesets-error): Mark unused argument.
10728 (filesets-which-command-p, filesets-filter-dir-names)
10729 (filesets-directory-files, filesets-get-external-viewer)
10730 (filesets-ingroup-get-data): Use string-match-p.
10731
10732 * find-file.el (ff-other-file-name, ff-other-file-name)
10733 (ff-find-the-other-file, ff-cc-hh-converter):
10734 Remove unused local variables.
10735 (ff-get-file-name): Use string-match-p.
10736 (ff-all-dirs-under): Use ignore-errors.
10737
10738 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10739 (follow-select-if-visible): Remove unused local variable.
10740
10741 * forms.el (read-file-filter): Move declaration.
10742 (forms--make-format, forms--make-parser, forms-insert-record):
10743 Quote function with #'.
10744 (forms--update): Use string-match-p. Quote function with #'.
10745
10746 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10747 (help-make-xrefs): Use looking-at-p.
10748 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10749
10750 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10751 (ibuffer-confirm-operation-on): Use string-match-p.
10752
10753 * msb.el (msb-item-handler, msb-dired-item-handler):
10754 Mark unused arguments.
10755
10756 * ses.el (ses-decode-cell-symbol)
10757 (ses-kill-override): Remove unused local variable.
10758 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10759 (ses-load): Use ignore-errors, looking-at-p.
10760 (ses-jump-safe): Use ignore-errors.
10761 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10762
10763 * tabify.el (untabify, tabify): Mark unused arguments.
10764
10765 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10766 Mark unused argument.
10767 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10768 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10769
10770 * emacs-lisp/timer.el (timer--time): Define setter with
10771 gv-define-setter to avoid deprecation warning.
10772
10773 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10774 (*record-cmpl-statistics-p*): Remove (was commented out).
10775 (cmpl-statistics-block): Remove (body was commented out).
10776 All callers changed.
10777 (add-completions-from-buffer, load-completions-from-file):
10778 Remove unused variables.
10779
10780 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10781
10782 * filecache.el (file-cache-delete-file-list):
10783 Print message only when told so.
10784 (file-cache-files-matching): Use #' in mapconcat argument.
10785
10786 * ffap.el (ffap-url-at-point): Fix reference to variable
10787 thing-at-point-default-mail-uri-scheme.
10788
10789 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10790
10791 * subr.el (define-error): New function.
10792 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10793 error-file-not-found and define with define-error.
10794 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10795 and define with define-error.
10796 * userlock.el (file-locked, file-supersession):
10797 * simple.el (mark-inactive):
10798 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10799 * progmodes/ada-mode.el (ada-mode-errors):
10800 * play/life.el (life-extinct):
10801 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10802 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10803 * nxml/rng-util.el (rng-error):
10804 * nxml/rng-uri.el (rng-uri-error):
10805 * nxml/rng-match.el (rng-compile-error):
10806 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10807 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10808 * nxml/nxml-rap.el (nxml-scan-error):
10809 * nxml/nxml-outln.el (nxml-outline-error):
10810 * net/soap-client.el (soap-error):
10811 * net/gnutls.el (gnutls-error):
10812 * net/ange-ftp.el (ftp-error):
10813 * mpc.el (mpc-proc-error):
10814 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10815 (json-number-format, json-string-escape, json-string-format)
10816 (json-key-format, json-object-format):
10817 * jka-compr.el (compression-error):
10818 * international/quail.el (quail-error):
10819 * international/kkc.el (kkc-error):
10820 * emacs-lisp/ert.el (ert-test-failed):
10821 * calc/calc.el (calc-error, inexact-result, math-overflow)
10822 (math-underflow):
10823 * bookmark.el (bookmark-error-no-filename):
10824 * epg.el (epg-error): Define with define-error.
10825
10826 * time.el (display-time-event-handler)
10827 (display-time-next-load-average): Don't call sit-for since it seems
10828 unnecessary (bug#15045).
10829
10830 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10831 Use #' instead of ' to quote functions.
10832 (checkdoc-output-mode): Use setq-local.
10833 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10834 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10835 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10836 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10837 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10838 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10839 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10840 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10841
10842 * ido.el (ido-completion-help): Fix up compiler warning.
10843
10844 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10845
10846 * frameset.el (frameset-p): Add autoload cookie.
10847 (frameset--jump-to-register): New function, based on code moved from
10848 register.el.
10849 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10850
10851 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10852 (frameset-restore, frameset-save, frameset-session-filter-alist):
10853 Remove declarations.
10854 (register-alist): Doc fix.
10855 (frameset-to-register): Move to frameset.el.
10856 (jump-to-register, describe-register-1): Remove frameset-specific code.
10857
10858 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10859
10860 * allout-widgets.el (allout-widgets-pre-command-business)
10861 (allout-widgets-post-command-business)
10862 (allout-widgets-after-change-handler)
10863 (allout-decorate-item-and-context, allout-set-boundary-marker)
10864 (allout-body-modification-handler)
10865 (allout-graphics-modification-handler): Mark ignored arguments.
10866 (allout-widgets-post-command-business)
10867 (allout-widgets-exposure-change-processor)
10868 (allout-widgets-exposure-undo-processor)
10869 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10870 (allout-parse-item-at-point, allout-decorate-item-guides)
10871 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10872 * allout.el (epa-passphrase-callback-function): Declare.
10873 (allout-overlay-insert-in-front-handler)
10874 (allout-overlay-interior-modification-handler)
10875 (allout-isearch-end-handler, allout-chart-siblings)
10876 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10877 (allout-yank-processing, allout-process-exposed)
10878 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10879 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10880 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10881 (lisp-indent-defform): Mark ignored arguments.
10882 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10883 (calculate-lisp-indent): Remove unused variables.
10884 * international/characters.el (indian-2-column, arabic-2-column)
10885 (tibetan): Mark ignored arguments.
10886 (use-cjk-char-width-table): Mark ignored arguments.
10887 Remove unused variables.
10888 * international/fontset.el (build-default-fontset-data)
10889 (x-compose-font-name, create-fontset-from-fontset-spec):
10890 Mark ignored arguments.
10891 (fontset-plain-name): Remove unused variables.
10892 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10893 (keyboard-coding-system): Mark ignored arguments.
10894 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10895 * help.el (resize-temp-buffer-window):
10896 * window.el (display-buffer-in-major-side-window)
10897 (display-buffer-in-side-window, display-buffer-in-previous-window):
10898 Remove unused variables.
10899 * isearch.el (isearch-forward-symbol):
10900 * version.el (emacs-bzr-version-bzr):
10901 * international/mule-cmds.el (current-language-environment):
10902 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10903 (x-handle-display):
10904 * term/pc-win.el (x-list-fonts, x-display-planes)
10905 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10906 (x-server-version, x-display-screens, x-display-mm-height)
10907 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10908 (x-selection-owner-p, x-own-selection-internal)
10909 (x-disown-selection-internal, x-get-selection-internal)
10910 (msdos-initialize-window-system):
10911 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10912 * term/x-win.el (x-handle-no-bitmap-icon):
10913 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10914 (vc-default-find-file-hook, vc-default-extra-menu):
10915 Mark ignored arguments.
10916
10917 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10918
10919 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10920 break-condition in the context of the debugged code (bug#12685).
10921
10922 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10923
10924 * comint.el:
10925 Do not use an overlay to highlight the last prompt. (Bug#14744)
10926 (comint-mode): Make comint-last-prompt buffer local.
10927 (comint-last-prompt): New variable.
10928 (comint-last-prompt-overlay): Remove. Superseded by
10929 comint-last-prompt.
10930 (comint-snapshot-last-prompt, comint-output-filter):
10931 Use comint-last-prompt.
10932
10933 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10934
10935 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10936 (frameset-save): Check validity of the resulting frameset.
10937
10938 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10939
10940 * ido.el (ido-record-command): Add doc string.
10941
10942 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10943
10944 * frameset.el (frameset): Do not disable creation of the default
10945 frameset-p predicate. Doc fix.
10946 (frameset-valid-p): New function, copied from the old predicate-p.
10947 Add additional checks.
10948 (frameset-restore): Check with frameset-valid-p.
10949 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10950 (frameset-name, frameset-description, frameset-properties)
10951 (frameset-states): Add docstring.
10952 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10953 (frameset-filter-alist): Doc fixes.
10954
10955 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10956
10957 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10958
10959 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10960
10961 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10962 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10963 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10964 (byte-compile-normal-call): Remove obsolescence check.
10965
10966 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10967
10968 * frameset.el (frameset-restore): Doc fix.
10969
10970 * register.el (frameset-frame-id, frameset-frame-with-id)
10971 (frameset-p, frameset-restore, frameset-save): Declare.
10972 (register-alist): Document framesets.
10973 (frameset-session-filter-alist): Declare.
10974 (frameset-to-register): New function.
10975 (jump-to-register): Implement jumping to framesets. Doc fix.
10976 (describe-register-1): Describe framesets.
10977
10978 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10979
10980 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10981
10982 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10983 Use lexical-binding.
10984
10985 * frameset.el (frameset): Use type vector, not list (incompatible
10986 change). Do not declare a new constructor, use the default one.
10987 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10988 `name' and `description', respectively, and add read-only slot
10989 `timestamp'. Doc fixes.
10990 (frameset-copy, frameset-persistent-filter-alist)
10991 (frameset-filter-alist, frameset-switch-to-gui-p)
10992 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10993 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10994 (frameset-filter-iconified, frameset-keep-original-display-p):
10995 Doc fixes.
10996 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10997 Rename from frameset-filter-(save|restore)-param. All callers changed.
10998 Doc fix.
10999 (frameset-p): Adapt to change to vector and be more thorough.
11000 Change arg name to OBJECT. Doc fix.
11001 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
11002 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
11003 All callers changed.
11004 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
11005 All callers changed.
11006 (frameset--record-minibuffer-relationships): Rename from
11007 frameset--process-minibuffer-frames. All callers changed.
11008 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
11009 Use new default constructor (again). Doc fix.
11010 (frameset--find-frame-if): Rename from `frameset--find-frame'.
11011 All callers changed.
11012 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
11013 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
11014 Doc fix.
11015 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
11016 PARAMETERS and WINDOW-STATE, respectively.
11017 (frameset-restore): Add new keyword argument PREDICATE.
11018 Reset frameset--target-display to nil. Doc fix.
11019
11020 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
11021
11022 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
11023 (bat-mode): Use it.
11024 (bat-mode-syntax-table): Mark \n as end-of-comment.
11025 (bat-font-lock-keywords): Remove comment rule.
11026
11027 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
11028 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
11029
11030 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
11031 (byte-compile-callargs-warn): Use `push'.
11032 (byte-compile-arglist-warn): Ignore higher-order "calls".
11033 (byte-compile-file-form-autoload): Use `pcase'.
11034 (byte-compile-function-form): If quoting a symbol, check that it exists.
11035
11036 2013-08-07 Eli Zaretskii <eliz@gnu.org>
11037
11038 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
11039 and add a few popular commands found in batch files.
11040 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
11041 (dos-mode): Doc fixes.
11042
11043 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
11044
11045 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
11046 (dos-mode): Use setq-local. Add space after "rem".
11047 (dos-mode-syntax-table): Don't use "w" for symbol chars.
11048 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
11049
11050 2013-08-07 Arni Magnusson <arnima@hafro.is>
11051
11052 * progmodes/dos.el: New file.
11053 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
11054 dos-mode.
11055
11056 2013-08-06 Glenn Morris <rgm@gnu.org>
11057
11058 * calendar/calendar.el: Add new faces, and day-header-array.
11059 (calendar-weekday-header, calendar-weekend-header)
11060 (calendar-month-header): New faces.
11061 (calendar-day-header-construct): New function.
11062 (calendar-day-header-width): Also :set calendar-day-header-array.
11063 (calendar-american-month-header, calendar-european-month-header)
11064 (calendar-iso-month-header): Use calendar- faces.
11065 (calendar-generate-month):
11066 Use calendar-day-header-array for day headers; apply faces to them.
11067 (calendar-mode): Check calendar-font-lock-keywords non-nil.
11068 (calendar-abbrev-construct): Add optional maxlen argument.
11069 (calendar-day-name-array): Doc fix.
11070 (calendar-day-name-array, calendar-abbrev-length)
11071 (calendar-day-abbrev-array):
11072 Also :set calendar-day-header-array, and maybe redraw.
11073 (calendar-day-header-array): New option. (Bug#15007)
11074 (calendar-font-lock-keywords): Set to nil and make obsolete.
11075 (calendar-day-name): Add option to use header array.
11076
11077 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11078
11079 * net/shr.el (shr-render-td): Remove debugging.
11080 (shr-render-td): Make width computation consistent by defaulting
11081 all zero-width columns to 10 characters. This may not be optimal,
11082 but it's at least consistent.
11083 (shr-make-table-1): Redo last change to fix the real problem in
11084 colspan handling.
11085
11086 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
11087
11088 * files.el (cache-long-line-scans):
11089 Make obsolete alias to `cache-long-scans'.
11090
11091 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
11092
11093 * frameset.el (frameset, frameset-filter-alist)
11094 (frameset-filter-params, frameset-save, frameset--reuse-frame)
11095 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
11096 (frameset-compute-pos): Rename from frameset--compute-pos,
11097 and add docstring.
11098 (frameset-move-onscreen): Use frameset-compute-pos.
11099 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11100
11101 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
11102 Fix typos in docstrings.
11103
11104 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
11105
11106 * frame.el (get-other-frame): Tiny cleanup.
11107
11108 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
11109
11110 * vc/vc.el (vc-default-ignore-completion-table):
11111 Silence byte-compiler warning.
11112
11113 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
11114 slot, which can indeed be nil.
11115 (frameset-live-filter-alist, frameset-persistent-filter-alist):
11116 Move entry for `left' from persistent to live filter alist.
11117 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
11118 Doc fixes.
11119 (frameset-filter-params): When restoring a frame, copy items added to
11120 `filtered', to avoid unwittingly modifying the original parameters.
11121 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
11122 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
11123
11124 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
11125 to use looking-at-p instead of looking-at. (Bug#15028)
11126
11127 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11128
11129 Revert introduction of isearch-filter-predicates (bug#14714).
11130 Rely on add-function instead.
11131 * isearch.el (isearch-filter-predicates): Rename it back to
11132 isearch-filter-predicate.
11133 (isearch-message-prefix): Use advice-function-mapc and advice
11134 properties to get the isearch-message-prefix.
11135 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
11136 instead of run-hook-with-args-until-failure.
11137 (isearch-filter-visible): Not obsolete any more.
11138 * loadup.el: Preload nadvice.
11139 * replace.el (perform-replace): Revert to funcall
11140 instead of run-hook-with-args-until-failure.
11141 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
11142 * dired-aux.el (dired-isearch-filenames-mode): Rename from
11143 dired-isearch-filenames-toggle; make it into a proper minor mode.
11144 Use add/remove-function.
11145 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
11146 Call the minor-mode rather than add/remove-hook.
11147 (dired-isearch-filter-filenames):
11148 Remove isearch-message-prefix property.
11149 * info.el (Info--search-loop): New function, extracted from Info-search.
11150 Funcall isearch-filter-predicate instead of
11151 run-hook-with-args-until-failure isearch-filter-predicates.
11152 (Info-search): Use it.
11153 (Info-mode): Use isearch-filter-predicate instead of
11154 isearch-filter-predicates.
11155
11156 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11157
11158 Do not call to `selected-window' where it is assumed by default.
11159 Affected functions are `window-minibuffer-p', `window-dedicated-p',
11160 `window-hscroll', `window-width', `window-height', `window-buffer',
11161 `window-frame', `window-start', `window-point', `next-window'
11162 and `window-display-table'.
11163 * abbrev.el (abbrev--default-expand):
11164 * bs.el (bs--show-with-configuration):
11165 * buff-menu.el (Buffer-menu-mouse-select):
11166 * calc/calc.el (calc):
11167 * calendar/calendar.el (calendar-generate-window):
11168 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
11169 (diary-make-entry):
11170 * comint.el (send-invisible, comint-dynamic-complete-filename)
11171 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
11172 * completion.el (complete):
11173 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
11174 * disp-table.el (describe-current-display-table):
11175 * doc-view.el (doc-view-insert-image):
11176 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
11177 * ehelp.el (with-electric-help):
11178 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11179 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
11180 * emacs-lisp/helper.el (Helper-help-scroller):
11181 * emulation/cua-base.el (cua--post-command-handler-1):
11182 * eshell/esh-mode.el (eshell-output-filter):
11183 * ffap.el (ffap-gnus-wrapper):
11184 * help-macro.el (make-help-screen):
11185 * hilit-chg.el (highlight-compare-buffers):
11186 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
11187 * hl-line.el (global-hl-line-highlight):
11188 * icomplete.el (icomplete-simple-completing-p):
11189 * isearch.el (isearch-done):
11190 * jit-lock.el (jit-lock-stealth-fontify):
11191 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
11192 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
11193 * mpc.el (mpc-tagbrowser, mpc):
11194 * net/rcirc.el (rcirc-any-buffer):
11195 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
11196 * play/landmark.el (landmark-max-width, landmark-max-height):
11197 * play/zone.el (zone):
11198 * progmodes/compile.el (compilation-goto-locus):
11199 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
11200 * progmodes/etags.el (find-tag-other-window):
11201 * progmodes/fortran.el (fortran-column-ruler):
11202 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
11203 * progmodes/verilog-mode.el (verilog-point-text):
11204 * reposition.el (reposition-window):
11205 * rot13.el (toggle-rot13-mode):
11206 * server.el (server-switch-buffer):
11207 * shell.el (shell-dynamic-complete-command)
11208 (shell-dynamic-complete-environment-variable):
11209 * simple.el (insert-buffer, set-selective-display)
11210 (delete-completion-window):
11211 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
11212 (speedbar-recenter):
11213 * startup.el (fancy-splash-head):
11214 * textmodes/ispell.el (ispell-command-loop):
11215 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
11216 * tutorial.el (help-with-tutorial):
11217 * vc/add-log.el (add-change-log-entry):
11218 * vc/compare-w.el (compare-windows):
11219 * vc/ediff-help.el (ediff-indent-help-message):
11220 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
11221 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
11222 (ediff-setup-control-frame):
11223 * vc/emerge.el (emerge-position-region):
11224 * vc/pcvs-util.el (cvs-bury-buffer):
11225 * window.el (walk-windows, mouse-autoselect-window-select):
11226 * winner.el (winner-set-conf, winner-undo): Related users changed.
11227
11228 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11229
11230 * frameset.el (frameset--set-id): Doc fix.
11231 (frameset-frame-id, frameset-frame-id-equal-p)
11232 (frameset-locate-frame-id): New functions.
11233 (frameset--process-minibuffer-frames, frameset--reuse-frame)
11234 (frameset-restore): Use them.
11235
11236 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11237
11238 Do not call to `selected-frame' where it is assumed by default.
11239 Affected functions are `raise-frame', `redraw-frame',
11240 `frame-first-window', `frame-terminal' and `delete-frame'.
11241 * calendar/appt.el (appt-disp-window):
11242 * epg.el (epg-wait-for-completion):
11243 * follow.el (follow-delete-other-windows-and-split)
11244 (follow-avoid-tail-recenter):
11245 * international/mule.el (set-terminal-coding-system):
11246 * mail/rmail.el (rmail-mail-return):
11247 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
11248 * progmodes/f90.el (f90-add-imenu-menu):
11249 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
11250 * server.el (server-switch-buffer):
11251 * simple.el (delete-completion-window):
11252 * talk.el (talk):
11253 * term/xterm.el (terminal-init-xterm-modify-other-keys)
11254 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
11255 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
11256 * vc/ediff.el (ediff-documentation): Related users changed.
11257 * frame.el (selected-terminal): Remove the leftover.
11258
11259 2013-08-05 Glenn Morris <rgm@gnu.org>
11260
11261 * calendar/calendar.el (calendar-generate-month):
11262 Fix for calendar-column-width != 1 + calendar-day-digit-width.
11263 (calendar-generate-month, calendar-font-lock-keywords):
11264 Fix for calendar-day-header-width > length of any day name.
11265
11266 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11267
11268 * desktop.el (desktop-clear): Use new name of sort predicate.
11269
11270 * frameset.el (frameset): Add docstring. Move :version property to its
11271 own `version' slot.
11272 (frameset-copy): Rename from copy-frameset.
11273 (frameset-p): Check more thoroughly.
11274 (frameset-prop): Do not check for :version, which is no longer a prop.
11275 (frameset-live-filter-alist, frameset-persistent-filter-alist):
11276 Use new :never value instead of t.
11277 (frameset-filter-alist): Expand and clarify docstring.
11278 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
11279 (frameset-filter-minibuffer, frameset-filter-save-param)
11280 (frameset-filter-restore-param, frameset-filter-iconified):
11281 Add pointer to docstring of frameset-filter-alist.
11282 (frameset-filter-params): Rename filter values to be more meaningful:
11283 :never instead of t, and reverse the meanings of :save and :restore.
11284 (frameset--process-minibuffer-frames): Clarify error message.
11285 (frameset-save): Avoid unnecessary and confusing call to framep.
11286 Use new BOA constructor for framesets.
11287 (frameset--reuse-list): Doc fix.
11288 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
11289 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
11290 (frameset-minibufferless-first-p): Doc fix.
11291 Rename from frameset-sort-frames-for-deletion.
11292 (frameset-restore): Doc fixes. Use new function names.
11293 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11294
11295 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11296
11297 * desktop.el (desktop-restore-forces-onscreen)
11298 (desktop-restore-reuses-frames): Document :keyword constant values.
11299 (desktop-filter-parameters-alist): Remove, now identical to
11300 frameset-filter-alist.
11301 (desktop--filter-tty*): Remove, moved to frameset.el.
11302 (desktop-save-frameset, desktop-restore-frameset):
11303 Do not pass :filters argument.
11304
11305 * frameset.el (frameset-live-filter-alist)
11306 (frameset-persistent-filter-alist): New variables.
11307 (frameset-filter-alist): Use them. Add autoload cookie.
11308 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
11309 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
11310 `frameset--id' (it's supposed to be internal to frameset.el).
11311 (frameset--process-minibuffer-frames): Ditto. Doc fix.
11312 (frameset--initial-params): New function.
11313 (frameset--get-frame): Use it. Doc fix.
11314 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
11315 Accept :all, not 'all.
11316 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
11317 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
11318 with fbound symbols. Fix frame id matching, and remove matching ids if
11319 the frame being restored is deleted. Obey :delete.
11320
11321 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11322
11323 * subr.el (macrop): New function.
11324 (text-clone--maintaining): New var.
11325 (text-clone--maintain): Rename from text-clone-maintain. Use it
11326 instead of inhibit-modification-hooks.
11327
11328 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
11329 a proxy, so as handle autoloads and redefinitions of the target.
11330 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
11331
11332 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
11333 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
11334 (pcase--mutually-exclusive-p): New function.
11335 (pcase--split-consp): Use it.
11336 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
11337 mutually exclusive with the current predicate.
11338
11339 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
11340 (edebug-macrop): Remove. Use `macrop' instead.
11341 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
11342 (ad-macro-p):
11343 * eshell/esh-cmd.el (eshell-macrop):
11344 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
11345
11346 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11347
11348 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
11349 (advice-mapc): New function, using it.
11350 (advice-function-member-p): New function.
11351 (advice--normalize): Store the cdr in advice--saved-rewrite since
11352 that's the part that will be changed.
11353 (advice--symbol-function): New function.
11354 (advice-remove): Handle removal before the function is defined.
11355 Adjust to new advice--saved-rewrite.
11356 (advice-member-p): Use advice-function-member-p and
11357 advice--symbol-function.
11358
11359 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11360
11361 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
11362 (frameset-filter-minibuffer): Doc fix.
11363 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
11364 (frameset--set-id, frameset--process-minibuffer-frames)
11365 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
11366 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
11367
11368 * desktop.el (desktop-clear): Only delete frames when called
11369 interactively and desktop-restore-frames is non-nil. Doc fix.
11370 (desktop-read): Set desktop-saved-frameset to nil.
11371
11372 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
11373
11374 * vc/vc.el (vc-ignore): Rewrite.
11375 (vc-default-ignore-completion-table, vc--read-lines)
11376 (vc--add-line, vc--remove-regexp): New functions.
11377
11378 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
11379 (vc-svn-ignore-completion-table): New function.
11380
11381 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
11382 (vc-hg-ignore-completion-table)
11383 (vc-hg-find-ignore-file): New functions.
11384
11385 * vc/vc-git.el (vc-git-ignore): Rewrite.
11386 (vc-git-ignore-completion-table)
11387 (vc-git-find-ignore-file): New functions.
11388
11389 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
11390
11391 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
11392 (vc-bzr-ignore-completion-table)
11393 (vc-bzr-find-ignore-file): New functions.
11394
11395 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
11396
11397 * frameset.el (frameset-prop): New function and setter.
11398 (frameset-save): Do not modify frame list passed by the caller.
11399
11400 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11401
11402 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
11403
11404 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
11405
11406 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
11407 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
11408
11409 * custom.el (custom-initialize-default, custom-initialize-set)
11410 (custom-initialize-reset, custom-initialize-changed): Affect the
11411 toplevel-default-value (bug#6275, bug#14586).
11412 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
11413 for bug#6275.
11414
11415 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11416
11417 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11418 Add cl-def* expressions.
11419
11420 * frameset.el (frameset-filter-params): Fix order of arguments.
11421
11422 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11423
11424 Move code related to saving frames to frameset.el.
11425 * desktop.el: Require frameset.
11426 (desktop-restore-frames): Doc fix.
11427 (desktop-restore-reuses-frames): Rename from
11428 desktop-restoring-reuses-frames.
11429 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
11430 (desktop-clear): Clear frames too.
11431 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
11432 (desktop--filter-tty*, desktop-save, desktop-read):
11433 Use frameset functions.
11434 (desktop-before-saving-frames-functions, desktop--filter-*-color)
11435 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11436 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
11437 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
11438 (desktop--process-minibuffer-frames, desktop-save-frames)
11439 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
11440 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
11441 (desktop--sort-states, desktop-restoring-frames-p)
11442 (desktop-restore-frames): Remove. Most code moved to frameset.el.
11443 (desktop-restoring-frameset-p, desktop-restore-frameset)
11444 (desktop--check-dont-save, desktop-save-frameset): New functions.
11445 (desktop--app-id): New constant.
11446 (desktop-first-buffer, desktop-buffer-ok-count)
11447 (desktop-buffer-fail-count): Move before first use.
11448 * frameset.el: New file.
11449
11450 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11451
11452 * files.el: Use lexical-binding.
11453 (dir-locals-read-from-file): Remove unused `err' variable.
11454 (hack-dir-local-variables--warned-coding): New var.
11455 (hack-dir-local-variables): Use it to avoid repeated warnings.
11456 (make-backup-file-name--default-function): New function.
11457 (make-backup-file-name-function): Use it as default.
11458 (buffer-stale--default-function): New function.
11459 (buffer-stale-function): Use it as default.
11460 (revert-buffer-insert-file-contents--default-function): New function.
11461 (revert-buffer-insert-file-contents-function): Use it as default.
11462 (insert-directory): Avoid add-to-list.
11463
11464 * autorevert.el (auto-revert-handler): Simplify.
11465 Use buffer-stale--default-function.
11466
11467 2013-08-01 Tassilo Horn <tsdh@gnu.org>
11468
11469 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
11470
11471 * whitespace.el (whitespace-ensure-local-variables): New function.
11472 (whitespace-cleanup-region): Call it.
11473 (whitespace-turn-on): Call it.
11474
11475 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
11476
11477 Complete file name handlers.
11478
11479 * net/tramp.el (tramp-handle-set-visited-file-modtime)
11480 (tramp-handle-verify-visited-file-modtime)
11481 (tramp-handle-file-notify-rm-watch): New functions.
11482 (tramp-call-process): Do not bind `default-directory'.
11483
11484 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11485 Order alphabetically.
11486 <access-file, add-name-to-file, dired-call-process>:
11487 <dired-compress-file, file-acl, file-notify-rm-watch>:
11488 <file-ownership-preserved-p, file-selinux-context>:
11489 <make-directory-internal, make-symbolic-link, set-file-acl>:
11490 <set-file-selinux-context, set-visited-file-modtime>:
11491 <verify-visited-file-modtime>: Add handler.
11492 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
11493
11494 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11495 <file-notify-add-watch, file-notify-rm-watch>:
11496 <set-file-times, set-visited-file-modtime>:
11497 <verify-visited-file-modtime>: Add handler.
11498 (with-tramp-gvfs-error-message)
11499 (tramp-gvfs-handle-set-visited-file-modtime)
11500 (tramp-gvfs-fuse-file-name): Remove.
11501 (tramp-gvfs-handle-file-notify-add-watch)
11502 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
11503 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
11504
11505 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11506 Order alphabetically.
11507 <file-notify-rm-watch>: Use default Tramp handler.
11508 <executable-find>: Remove private handler.
11509 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
11510 `default-directory'.
11511 (tramp-sh-handle-executable-find)
11512 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
11513 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11514 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
11515 Do not use `format' in `tramp-message'.
11516
11517 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
11518 <file-notify-rm-watch, set-visited-file-modtime>:
11519 <verify-visited-file-modtime>: Add handler.
11520 (tramp-smb-call-winexe): Do not bind `default-directory'.
11521
11522 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
11523
11524 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
11525
11526 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
11527
11528 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
11529 use it.
11530 (log-view-diff-changeset): Same.
11531 (log-view-diff-common): Call backend command `previous-revision'
11532 to find out the previous revision, in both cases. Swap the
11533 variables `to' and `fr', so that `fr' usually refers to the
11534 earlier revision (Bug#14989).
11535
11536 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
11537
11538 * ibuf-ext.el (ibuffer-filter-by-filename):
11539 Make it work with dired buffers too.
11540
11541 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
11542
11543 * emacs-lisp/re-builder.el (reb-color-display-p):
11544 * files.el (save-buffers-kill-terminal):
11545 * net/browse-url.el (browse-url):
11546 * server.el (server-save-buffers-kill-terminal):
11547 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
11548 Prefer nil to selected-frame for the first arg of frame-parameter.
11549
11550 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
11551
11552 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
11553
11554 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
11555
11556 * minibuffer.el (completion--twq-all): Try and preserve each
11557 completion's case choice (bug#14907).
11558
11559 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11560
11561 * net/network-stream.el (open-network-stream): Mention the new
11562 :nogreeting parameter.
11563 (network-stream-open-starttls): Use the :nogreeting parameter
11564 (bug#14938).
11565
11566 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11567
11568 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11569 more natural than popping.
11570
11571 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
11572 (shr-urlify): Highlight under mouse.
11573
11574 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11575
11576 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11577
11578 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11579
11580 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
11581 buffer for output.
11582
11583 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
11584 point-min==1. Fix search string. Fix parentheses missing.
11585
11586 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
11587 assume point-min==1. Fix search string. Fix parentheses missing.
11588
11589 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11590
11591 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
11592 buffer for output.
11593
11594 2013-07-29 Eli Zaretskii <eliz@gnu.org>
11595
11596 * frame.el (frame-notice-user-settings): Avoid inflooping when the
11597 initial frame is minibuffer-less. (Bug#14841)
11598
11599 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
11600
11601 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11602 option.
11603
11604 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11605 (tramp-maybe-open-connection): Use it.
11606
11607 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11608
11609 * desktop.el (desktop--make-frame): Include `minibuffer' in the
11610 minimal set of parameters passed when creating a frame, because
11611 the minibuffer status of a frame cannot be changed later.
11612
11613 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
11614
11615 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11616 replace-regexp-in-string and inadvertent omissions in previous change.
11617 (todo-filter-items): Ensure only file names are comma-separated in
11618 name of filtered items buffer.
11619
11620 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11621
11622 * desktop.el: Optionally force offscreen frames back onscreen.
11623 (desktop-restoring-reuses-frames): New option.
11624 (desktop--compute-pos, desktop--move-onscreen): New functions.
11625 (desktop--make-frame): Use desktop--move-onscreen.
11626
11627 2013-07-27 Alan Mackenzie <acm@muc.de>
11628
11629 Fontify a Java generic method as a function.
11630 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11631 value to t.
11632
11633 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
11634
11635 * calendar/todo-mode.el: Add command to rename todo files.
11636 (todo-rename-file): New command.
11637 (todo-key-bindings-t): Add key binding for it. Change the
11638 bindings of todo-filter-regexp-items(-multifile) to use `x'
11639 instead of `r', since the latter is better suited to the new
11640 renaming command.
11641
11642 2013-07-27 Alan Mackenzie <acm@muc.de>
11643
11644 Make Java try-with-resources statement parse properly.
11645 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11646 (c-block-stmt-1-2-key): New language constants/variables.
11647 * progmodes/cc-engine.el (c-beginning-of-statement-1)
11648 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11649 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11650 with c-block-stmt-1-2-key.
11651
11652 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
11653
11654 * desktop.el (desktop--make-frame): Apply most frame parameters after
11655 creating the frame to force (partially or totally) offscreen frames to
11656 be restored as such.
11657
11658 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
11659
11660 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11661 (Bug#14948)
11662
11663 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11664
11665 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11666 `base' arg of backtrace-frame.
11667
11668 2013-07-26 Eli Zaretskii <eliz@gnu.org>
11669
11670 * simple.el (list-processes): Doc fix.
11671
11672 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11673
11674 * desktop.el (desktop--select-frame):
11675 Try harder to reuse existing frames.
11676
11677 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11678
11679 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11680 (edebug-eval): Use backtrace-eval.
11681 (edebug--display, edebug--recursive-edit): Don't let-bind the
11682 edebug-outer-* vars that keep track of variables we locally let-bind.
11683 (edebug-outside-excursion): Don't restore outside values of locally
11684 let-bound vars.
11685 (edebug--display): Use user-error.
11686 (cl-lexical-debug, cl-debug-env): Remove.
11687
11688 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11689
11690 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11691 are restored to be sure that they are visible before deleting any
11692 remaining ones.
11693
11694 2013-07-26 Matthias Meulien <orontee@gmail.com>
11695
11696 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11697 vc-print-root-log. (Bug#14948)
11698
11699 2013-07-26 Richard Stallman <rms@gnu.org>
11700
11701 Add aliases for encrypting mail.
11702 * epa.el (epa-mail-aliases): New option.
11703 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11704 Bind inhibit-read-only so read-only text doesn't ruin everything.
11705 (epa-mail-default-recipients): New subroutine broken out.
11706 Handle epa-mail-aliases.
11707
11708 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11709
11710 Add support for lexical variables to the debugger's `e' command.
11711 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11712 vars, except for debugger-outer-match-data.
11713 (debugger-frame-number): Move check for "on a function call" from
11714 callers into it. Add `skip-base' argument.
11715 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11716 (debugger-env-macro): Only reset the state stored in non-variables,
11717 i.e. current-buffer and match-data.
11718 (debugger-eval-expression): Rewrite using backtrace-eval.
11719 * subr.el (internal--called-interactively-p--get-frame): Remove.
11720 (called-interactively-p):
11721 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11722 `base' arg of backtrace-frame instead.
11723
11724 2013-07-26 Glenn Morris <rgm@gnu.org>
11725
11726 * align.el (align-regexp): Doc fix. (Bug#14857)
11727 (align-region): Explicit error if subexpression missing/does not match.
11728
11729 * simple.el (global-visual-line-mode):
11730 Do not duplicate the mode lighter. (Bug#14858)
11731
11732 2013-07-25 Martin Rudalics <rudalics@gmx.at>
11733
11734 * window.el (display-buffer): In display-buffer bind
11735 split-window-keep-point to t, bug#14829.
11736
11737 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11738
11739 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11740 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11741 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11742 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11743 Change accordingly.
11744 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11745 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11746
11747 2013-07-25 Glenn Morris <rgm@gnu.org>
11748
11749 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11750
11751 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11752
11753 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11754 parameter to modify-frame-parameters if the value has not changed;
11755 this is a workaround for bug#14949.
11756 (desktop--make-frame): On cl-delete-if call, check parameter name,
11757 not full parameter.
11758
11759 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11760
11761 * vc/vc.el (vc-ignore): New function.
11762
11763 * vc/vc-svn.el (vc-svn-ignore): New function.
11764
11765 * vc/vc-hg.el (vc-hg-ignore): New function.
11766
11767 * vc/vc-git.el (vc-git-ignore): New function.
11768
11769 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11770 (vc-dir-ignore): New function.
11771
11772 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11773 (cvs-append-to-ignore): Move here from pcvs.el.
11774
11775 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11776
11777 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11778
11779 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11780
11781 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11782 (desktop-restore-frames): Warn when deleting an existing frame failed.
11783
11784 2013-07-24 Glenn Morris <rgm@gnu.org>
11785
11786 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11787
11788 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11789
11790 * filenotify.el (file-notify-supported-p):
11791 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11792 Remove functions.
11793
11794 * autorevert.el (auto-revert-use-notify)
11795 (auto-revert-notify-add-watch):
11796 * net/tramp.el (tramp-file-name-for-operation):
11797 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11798 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11799 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11800 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11801 Remove `file-notify-supported-p' entry.
11802
11803 2013-07-24 Glenn Morris <rgm@gnu.org>
11804
11805 * printing.el: Replace all uses of deleted ps-windows-system,
11806 ps-lp-system, ps-flatten-list with lpr- versions.
11807
11808 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11809
11810 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11811 checked with memq (bug#14935).
11812
11813 * files.el (revert-buffer-function): Use a non-nil default.
11814 (revert-buffer-preserve-modes): Declare var to
11815 provide access to the `preserve-modes' argument.
11816 (revert-buffer): Let-bind it.
11817 (revert-buffer--default): New function, extracted from revert-buffer.
11818
11819 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11820
11821 * lpr.el: Signal print errors more prominently.
11822 (print-region-function): Don't default to nil.
11823 (lpr-print-region): New function, extracted from print-region-1.
11824 Check lpr's return value and signal an error in case of problem.
11825 (print-region-1): Use it.
11826 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11827 versions instead.
11828 (ps-printer-name): Default to nil.
11829 (ps-printer-name-option): Default to lpr-printer-switch.
11830 (ps-print-region-function): Don't default to nil.
11831 (ps-postscript-code-directory): Simplify default.
11832 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11833 (ps-string-list, ps-eval-switch, ps-flatten-list)
11834 (ps-flatten-list-1): Remove.
11835 (ps-multibyte-buffer): Avoid setq.
11836 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11837 (print-region-function, ps-print-region-function): Don't set them here.
11838
11839 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11840
11841 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11842 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11843 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11844 (ido-decorations): Doc fix.
11845
11846 * ansi-color.el: Fix old URL.
11847
11848 2013-07-23 Michael R. Mauger <michael@mauger.com>
11849
11850 * progmodes/sql.el: Version 3.3
11851 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11852 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11853 (sql-interactive-remove-continuation-prompt): Rewrite, use
11854 functions above. Fix continuation prompt and complete output line
11855 handling.
11856 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11857 redirected output buffer.
11858 (sql-mode): Restore deleted code (Bug#13591).
11859
11860 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11861
11862 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11863
11864 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11865
11866 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11867
11868 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11869 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11870 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11871
11872 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11873
11874 * desktop.el (desktop-clear): Simplify; remove useless checks
11875 against invalid buffer names.
11876 (desktop-list*): Use cl-list*.
11877 (desktop-buffer-info, desktop-create-buffer): Simplify.
11878
11879 2013-07-23 Leo Liu <sdl.web@gmail.com>
11880
11881 * bookmark.el (bookmark-make-record): Restore NAME as a default
11882 value. (Bug#14933)
11883
11884 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11885
11886 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11887 extracted from autoload--insert-text.
11888 (autoload--insert-text): Remove.
11889 (autoload--print-cookie-text): New function, extracted from
11890 autoload--insert-cookie-text.
11891 (autoload--insert-cookie-text): Remove.
11892 (autoload-generate-file-autoloads): Adjust calls accordingly.
11893
11894 * winner.el (winner-hook-installed-p): Remove.
11895 (winner-mode): Simplify accordingly.
11896
11897 * subr.el (add-to-list): Fix compiler-macro when `append' is
11898 not constant. Don't use `cl-member' for the base case.
11899
11900 * progmodes/subword.el: Fix boundary case (bug#13758).
11901 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11902 own group.
11903 (subword-backward-regexp): Make it a constant.
11904 (subword-forward-internal): Don't treat a trailing capital as the
11905 beginning of a word.
11906
11907 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11908
11909 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11910 global value of tabulated-list-revert-hook (bug#14930).
11911
11912 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11913
11914 * desktop.el: Require 'cl-lib.
11915 (desktop-before-saving-frames-functions): New hook.
11916 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11917 for frames being saved. Rename from desktop--save-minibuffer-frames.
11918 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11919 Do not save frames with non-nil `desktop-dont-save' parameter.
11920 Filter out deleted frames.
11921 (desktop--find-frame): Use cl-find-if.
11922 (desktop--select-frame): Use cl-(first|second|third) to access values
11923 of desktop-mini.
11924 (desktop--make-frame): Use cl-delete-if.
11925 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11926 (desktop-restore-frames): Use cl-(first|second|third) to access values
11927 of desktop-mini. Look for visible frame at the end, not while
11928 restoring frames.
11929
11930 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11931 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11932 Use string-match-p, looking-at-p (bug#14927).
11933
11934 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11935
11936 * desktop.el (desktop-saved-frame-states):
11937 Rename from desktop--saved-states; all users changed.
11938 (desktop-save-frames): Rename from desktop--save-frames.
11939 Do not save state to desktop file.
11940 (desktop-save): Save desktop-saved-frame-states to desktop file
11941 and reset to nil.
11942 (desktop-restoring-frames-p): New function.
11943 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11944 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11945 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11946
11947 * desktop.el: Correctly restore iconified frames.
11948 (desktop--filter-iconified-position): New function.
11949 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11950
11951 2013-07-20 Glenn Morris <rgm@gnu.org>
11952
11953 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11954 Let `message' do the formatting.
11955 (def-gdb-preempt-display-buffer): Add explicit format.
11956
11957 * image-dired.el (image-dired-track-original-file):
11958 Use with-current-buffer.
11959 (image-dired-track-thumbnail): Use with-current-buffer.
11960 Avoid changing point of wrong window.
11961
11962 * image-dired.el (image-dired-track-original-file):
11963 Avoid changing point of wrong window. (Bug#14909)
11964
11965 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11966
11967 * progmodes/gdb-mi.el (gdb-done-or-error):
11968 Guard against "%" in gdb output. (Bug#14127)
11969
11970 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11971
11972 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11973 (Bug#14826)
11974
11975 * international/mule.el (coding-system-iso-2022-flags): Fix last
11976 change.
11977
11978 2013-07-20 Kenichi Handa <handa@gnu.org>
11979
11980 * international/mule.el (coding-system-iso-2022-flags):
11981 Add `8-bit-level-4'. (Bug#8522)
11982
11983 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11984
11985 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11986 (bug#14815).
11987
11988 * net/eww.el (eww-process-text-input): Allow inputting when the
11989 point is at the start of the line, as the properties aren't
11990 front-sticky.
11991
11992 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11993 degenerate widths.
11994
11995 2013-07-19 Richard Stallman <rms@gnu.org>
11996
11997 * epa.el (epa-popup-info-window): Doc fix.
11998
11999 * subr.el (split-string): New arg TRIM.
12000
12001 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
12002
12003 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
12004 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
12005
12006 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
12007
12008 * filenotify.el (file-notify--library): Rename from
12009 `file-notify-support'. Do not autoload. Adapt all uses.
12010 (file-notify-supported-p): New defun.
12011
12012 * autorevert.el (auto-revert-use-notify):
12013 Use `file-notify-supported-p' instead of `file-notify-support'.
12014 Adapt docstring.
12015 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
12016
12017 * net/tramp.el (tramp-file-name-for-operation):
12018 Add `file-notify-supported-p'.
12019
12020 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
12021 New defun.
12022 (tramp-sh-file-name-handler-alist): Add it as handler for
12023 `file-notify-supported-p '.
12024
12025 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
12026 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12027 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
12028 Add `ignore' as handler for `file-notify-*' functions.
12029
12030 2013-07-17 Eli Zaretskii <eliz@gnu.org>
12031
12032 * simple.el (line-move-partial, line-move): Don't start vscroll or
12033 scroll-up if the current line is not taller than the window.
12034 (Bug#14881)
12035
12036 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
12037
12038 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
12039 highlight question marks in the method names as strings.
12040 (ruby-block-beg-keywords): Inline.
12041 (ruby-font-lock-keyword-beg-re): Extract from
12042 `ruby-font-lock-keywords'.
12043
12044 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
12045
12046 * frame.el (blink-cursor-blinks): New defcustom.
12047 (blink-cursor-blinks-done): New defvar.
12048 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
12049 (blink-cursor-timer-function): Check if number of blinks has been
12050 done on X and NS.
12051 (blink-cursor-suspend, blink-cursor-check): New defuns.
12052
12053 2013-07-15 Glenn Morris <rgm@gnu.org>
12054
12055 * edmacro.el (edmacro-format-keys): Fix previous change.
12056
12057 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
12058
12059 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
12060 The hack didn't work outside English locales anyway.
12061
12062 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
12063
12064 * simple.el (define-alternatives): Rename from alternatives-define,
12065 per RMS' suggestion.
12066
12067 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
12068
12069 * desktop.el (desktop-restore-frames): Change default to t.
12070 (desktop-restore-in-current-display): Now offer more options.
12071 (desktop-restoring-reuses-frames): New customization option.
12072 (desktop--saved-states): Doc fix.
12073 (desktop-filter-parameters-alist): New variable, renamed and expanded
12074 from desktop--excluded-frame-parameters.
12075 (desktop--target-display): New variable.
12076 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
12077 (desktop--filter-tty*, desktop--filter-*-color)
12078 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
12079 (desktop--filter-save-desktop-parm)
12080 (desktop-restore-in-original-display-p): New functions.
12081 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
12082 (desktop--save-minibuffer-frames): New function, inspired by a similar
12083 function from Martin Rudalics.
12084 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
12085 (desktop--restore-in-this-display-p): Remove.
12086 (desktop--find-frame): Rename from desktop--find-frame-in-display
12087 and add predicate argument.
12088 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
12089 (desktop--reuse-list): New variable.
12090 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
12091 New functions.
12092 (desktop--restore-frames): Add support for "minibuffer-special" frames.
12093
12094 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
12095
12096 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
12097
12098 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
12099
12100 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12101 Highlight conversion methods on Kernel.
12102
12103 2013-07-13 Alan Mackenzie <acm@muc.de>
12104
12105 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
12106 and comment it out. This out-commenting enables certain C++
12107 declarations to be parsed correctly.
12108
12109 2013-07-13 Eli Zaretskii <eliz@gnu.org>
12110
12111 * international/mule.el (define-coding-system): Doc fix.
12112
12113 * simple.el (default-font-height): Don't call font-info if the
12114 frame's default font didn't change since the frame was created.
12115 (Bug#14838)
12116
12117 2013-07-13 Leo Liu <sdl.web@gmail.com>
12118
12119 * ido.el (ido-read-file-name): Guard against non-symbol value.
12120
12121 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
12122
12123 * progmodes/python.el (python-imenu--build-tree): Fix corner case
12124 in nested defuns.
12125
12126 2013-07-13 Leo Liu <sdl.web@gmail.com>
12127
12128 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
12129 ido-set-matches call. (Bug#6852)
12130
12131 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
12132
12133 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
12134 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
12135 Ruby 2.0.
12136 (ruby-font-lock-keywords): Distinguish calls to functions with
12137 module-like names from module references. Highlight character
12138 literals.
12139
12140 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
12141
12142 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
12143 (gdb-send): Handle continued commands. (Bug#14847)
12144
12145 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
12146
12147 * desktop.el (desktop--v2s): Remove unused local variable.
12148 (desktop-save-buffer): Make defvar-local; adjust docstring.
12149 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
12150 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
12151
12152 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
12153
12154 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
12155
12156 2013-07-12 Eli Zaretskii <eliz@gnu.org>
12157
12158 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
12159 (Bug#14842)
12160
12161 2013-07-12 Glenn Morris <rgm@gnu.org>
12162
12163 * doc-view.el: Require cl-lib at runtime too.
12164 (doc-view-remove-if): Remove.
12165 (doc-view-search-next-match, doc-view-search-previous-match):
12166 Use cl-remove-if.
12167
12168 * edmacro.el: Require cl-lib at runtime too.
12169 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
12170 (edmacro-mismatch, edmacro-subseq): Remove.
12171
12172 * shadowfile.el: Require cl-lib.
12173 (shadow-remove-if): Remove.
12174 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
12175 Use cl-remove-if.
12176
12177 * wid-edit.el: Require cl-lib.
12178 (widget-choose): Use cl-remove-if.
12179 (widget-remove-if): Remove.
12180
12181 * progmodes/ebrowse.el: Require cl-lib at runtime too.
12182 (ebrowse-delete-if-not): Remove.
12183 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
12184 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
12185 Use cl-delete-if-not.
12186
12187 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
12188
12189 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
12190 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
12191
12192 2013-07-12 Leo Liu <sdl.web@gmail.com>
12193
12194 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
12195
12196 2013-07-11 Glenn Morris <rgm@gnu.org>
12197
12198 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
12199 (edebug-gensym-index, edebug-gensym):
12200 Remove reimplementation of cl-gensym.
12201 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
12202
12203 * thumbs.el: Require cl-lib at run-time too.
12204 (thumbs-gensym-counter, thumbs-gensym):
12205 Remove reimplementation of cl-gensym.
12206 (thumbs-temp-file): Use cl-gensym.
12207
12208 * emacs-lisp/ert.el: Require cl-lib at runtime too.
12209 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
12210 (ert--intersection, ert--set-difference, ert--set-difference-eq)
12211 (ert--union, ert--gensym-counter, ert--gensym-counter)
12212 (ert--coerce-to-vector, ert--remove*, ert--string-position)
12213 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
12214 (ert-make-test-unbound, ert--expand-should-1)
12215 (ert--expand-should, ert--should-error-handle-error)
12216 (should-error, ert--explain-equal-rec)
12217 (ert--plist-difference-explanation, ert-select-tests)
12218 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
12219 Use cl-lib functions rather than reimplementations.
12220
12221 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
12222
12223 * net/tramp.el (tramp-methods): Extend docstring.
12224 (tramp-connection-timeout): New defcustom.
12225 (tramp-error-with-buffer): Reset timestamp only when appropriate.
12226 (with-tramp-progress-reporter): Simplify.
12227 (tramp-process-actions): Improve messages.
12228
12229 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
12230 * net/tramp-sh.el (tramp-maybe-open-connection):
12231 Use `tramp-connection-timeout'.
12232 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
12233 (Bug#14808)
12234
12235 2013-07-11 Leo Liu <sdl.web@gmail.com>
12236
12237 * ido.el (ido-read-file-name): Conform to the requirements of
12238 read-file-name. (Bug#11861)
12239 (ido-read-directory-name): Conform to the requirements of
12240 read-directory-name.
12241
12242 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
12243
12244 * subr.el (delay-warning): New function.
12245
12246 2013-07-10 Eli Zaretskii <eliz@gnu.org>
12247
12248 * simple.el (default-line-height): New function.
12249 (line-move-partial, line-move): Use it instead of computing the
12250 line height inline.
12251 (line-move-partial): Always compute ROWH. If the last line is
12252 partially-visible, but its text is completely visible, allow
12253 cursor to enter such a partially-visible line.
12254
12255 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
12256
12257 Improve error messages. (Bug#14808)
12258
12259 * net/tramp.el (tramp-current-connection): New defvar, moved from
12260 tramp-sh.el.
12261 (tramp-message-show-progress-reporter-message): Remove, not
12262 needed anymore.
12263 (tramp-error-with-buffer): Show message in minibuffer.
12264 Discard input before waiting. Reset connection timestamp.
12265 (with-tramp-progress-reporter): Improve messages.
12266 (tramp-process-actions): Use progress reporter. Delete process in
12267 case of error. Improve messages.
12268
12269 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
12270 Call `tramp-error-with-buffer' with vector and buffer.
12271 (tramp-current-connection): Remove.
12272 (tramp-maybe-open-connection): The car of
12273 `tramp-current-connection' are the first 3 slots of the vector.
12274
12275 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
12276
12277 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
12278 inside continued strings.
12279
12280 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
12281
12282 Timestamp fixes for undo (Bug#14824).
12283 * files.el (clear-visited-file-modtime): Move here from fileio.c.
12284
12285 2013-07-10 Leo Liu <sdl.web@gmail.com>
12286
12287 * files.el (require-final-newline): Allow safe local value.
12288 (Bug#14834)
12289
12290 2013-07-09 Leo Liu <sdl.web@gmail.com>
12291
12292 * ido.el (ido-read-directory-name): Handle fallback.
12293 (ido-read-file-name): Update DIR to ido-current-directory.
12294 (Bug#1516)
12295 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
12296
12297 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
12298
12299 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
12300 "autoload". Remove "warn lower camel case" section, previously
12301 commented out. Highlight negation char. Do not highlight the
12302 target in singleton method definitions.
12303
12304 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12305
12306 * faces.el (tty-setup-hook): Declare the hook.
12307
12308 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
12309 and detect when a guard/pred depends on local vars (bug#14773).
12310 (pcase--u1): Adjust caller.
12311
12312 2013-07-08 Eli Zaretskii <eliz@gnu.org>
12313
12314 * simple.el (line-move-partial, line-move): Account for
12315 line-spacing.
12316 (line-move-partial): Avoid setting vscroll when the last
12317 partially-visible line in window is of default height.
12318
12319 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12320
12321 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
12322 been used a while.
12323
12324 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
12325
12326 * subr.el (read-quoted-char): Remove unused local variable `char'.
12327
12328 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
12329
12330 * vc/ediff.el (ediff-version): Version update.
12331 (ediff-files-command, ediff3-files-command, ediff-merge-command)
12332 (ediff-merge-with-ancestor-command, ediff-directories-command)
12333 (ediff-directories3-command, ediff-merge-directories-command)
12334 (ediff-merge-directories-with-ancestor-command): New functions.
12335 All are command-line interfaces to ediff: to facilitate calling
12336 Emacs with the appropriate ediff functions invoked.
12337
12338 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
12339 New function.
12340 (viper-save-kill-buffer): Check if buffer is modified.
12341
12342 * emulation/viper.el (viper-version): Version update.
12343 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
12344
12345 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
12346
12347 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
12348 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
12349 (viper-intercept-ESC-key): Simplify.
12350 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
12351 don't use kbd.
12352 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
12353 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
12354 (viper-setup-ESC-to-escape): New functions.
12355 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
12356 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
12357
12358 2013-07-07 Eli Zaretskii <eliz@gnu.org>
12359
12360 * simple.el (default-font-height, window-screen-lines):
12361 New functions.
12362 (line-move, line-move-partial): Use them instead of
12363 frame-char-height and window-text-height. This makes scrolling
12364 text smoother when the buffer's default face uses a font that is
12365 different from the frame's default font.
12366
12367 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
12368
12369 * files.el (write-file): Do not display confirm dialog for NS,
12370 it does its own dialog, which can't be canceled (Bug#14578).
12371
12372 2013-07-06 Eli Zaretskii <eliz@gnu.org>
12373
12374 * simple.el (line-move-partial): Adjust the row returned by
12375 posn-at-point for the current window-vscroll. (Bug#14567)
12376
12377 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
12378
12379 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
12380 (tramp-sh-file-inotifywait-process-filter): Handle file names with
12381 spaces.
12382
12383 2013-07-06 Martin Rudalics <rudalics@gmx.at>
12384
12385 * window.el (window-state-put-stale-windows): New variable.
12386 (window--state-put-2): Save list of windows without matching buffer.
12387 (window-state-put): Remove "bufferless" windows if possible.
12388
12389 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12390
12391 * simple.el (alternatives-define): Remove leftover :group keyword.
12392 Tweak docstring.
12393
12394 2013-07-06 Leo Liu <sdl.web@gmail.com>
12395
12396 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
12397 (ido-enable-virtual-buffers): New variable.
12398 (ido-buffer-internal, ido-toggle-virtual-buffers)
12399 (ido-make-buffer-list): Use it.
12400 (ido-exhibit): Support turning on and off virtual buffers
12401 automatically.
12402
12403 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12404
12405 * simple.el (alternatives-define): New macro.
12406
12407 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
12408
12409 * subr.el (read-quoted-char): Use read-key.
12410 (sit-for): Let read-event decode tty input (bug#14782).
12411
12412 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
12413
12414 * calendar/todo-mode.el: Add handling of file deletion, both by
12415 mode command and externally. Fix various related bugs.
12416 Clarify Commentary and improve some documentation strings and code.
12417 (todo-delete-file): New command.
12418 (todo-check-file): New function.
12419 (todo-show): Handle external deletion of the file we're trying to
12420 show (bug#14688). Replace called-interactively-p by an optional
12421 prefix argument to avoid problematic interaction with catch form
12422 when byte compiled (bug#14702).
12423 (todo-quit): Handle external deletion of the archive's todo file.
12424 Make sure the buffer that was visiting the archive file is still
12425 live before trying to bury it.
12426 (todo-category-completions): Handle external deletion of any
12427 category completion files.
12428 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
12429 of todo files, in case of external deletion.
12430 (todo-add-file): Replace unnecessary setq by let-binding.
12431 (todo-find-archive): Check whether there are any archives.
12432 Replace unnecessary setq by let-binding.
12433 (todo-archive-done-item): Use find-file-noselect to get the
12434 archive buffer whether or not the archive already exists.
12435 Remove superfluous code. Use file size instead of buffer-file-name to
12436 check if the archive is new; if it is, update list of archives.
12437 (todo-default-todo-file): Allow nil to be a valid value for when
12438 there are no todo files.
12439 (todo-reevaluate-default-file-defcustom): Use corrected definition
12440 of todo-default-todo-file.
12441 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
12442 (todo-delete-category, todo-show-categories-table)
12443 (todo-category-number): Clarify comment.
12444 (todo-filter-items): Clarify documentation string.
12445 (todo-show-current-file, todo-display-as-todo-file)
12446 (todo-reset-and-enable-done-separator): Tweak documentation string.
12447 (todo-done-separator): Make separator length window-width, since
12448 bug#2749 is now fixed.
12449
12450 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
12451
12452 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12453 Support both "gvfs-monitor-dir" and "inotifywait".
12454 (tramp-sh-file-inotifywait-process-filter): Rename from
12455 `tramp-sh-file-notify-process-filter'.
12456 (tramp-sh-file-gvfs-monitor-dir-process-filter)
12457 (tramp-get-remote-gvfs-monitor-dir): New defuns.
12458
12459 2013-07-05 Leo Liu <sdl.web@gmail.com>
12460
12461 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
12462
12463 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12464
12465 * frame.el (display-pixel-height, display-pixel-width)
12466 (display-mm-height, display-mm-width): Mention behavior on
12467 multi-monitor setups in docstrings.
12468 (w32-display-monitor-attributes-list): Declare function.
12469 (display-monitor-attributes-list): Use it.
12470
12471 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
12472
12473 * filenotify.el: New package.
12474
12475 * autorevert.el (top): Require filenotify.el.
12476 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
12477 instead.
12478 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12479 (auto-revert-notify-handler): Use `file-notify-*' functions.
12480
12481 * subr.el (file-notify-handle-event): Move function to filenotify.el.
12482
12483 * net/tramp.el (tramp-file-name-for-operation):
12484 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
12485
12486 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
12487 for `file-notify-add-watch' and `file-notify-rm-watch'.
12488 (tramp-process-sentinel): Improve trace.
12489 (tramp-sh-handle-file-notify-add-watch)
12490 (tramp-sh-file-notify-process-filter)
12491 (tramp-sh-handle-file-notify-rm-watch)
12492 (tramp-get-remote-inotifywait): New defuns.
12493
12494 2013-07-03 Juri Linkov <juri@jurta.org>
12495
12496 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
12497 call of `occur-read-primary-args' to interactive spec.
12498
12499 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
12500 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
12501
12502 2013-07-03 Matthias Meulien <orontee@gmail.com>
12503
12504 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
12505 `Buffer-menu-multi-occur'. Add it to the menu.
12506 (Buffer-menu-mode): Document it in docstring.
12507 (Buffer-menu-multi-occur): New command. (Bug#14673)
12508
12509 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12510
12511 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
12512 keywords and built-ins.
12513
12514 2013-07-03 Glenn Morris <rgm@gnu.org>
12515
12516 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
12517
12518 Make info-xref checks case-sensitive by default
12519 * info.el (Info-find-node, Info-find-in-tag-table)
12520 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
12521 Add option for exact case matching of nodes.
12522 * info-xref.el (info-xref): New custom group.
12523 (info-xref-case-fold): New option.
12524 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
12525
12526 2013-07-03 Leo Liu <sdl.web@gmail.com>
12527
12528 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
12529
12530 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12531
12532 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
12533 middle of block statement initially, lower the depth. Remove
12534 FIXME comment, not longer valid. Remove middle of block statement
12535 detection, no need to do that anymore since we've been using
12536 `ruby-parse-region' here.
12537
12538 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
12539
12540 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
12541
12542 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
12543
12544 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
12545
12546 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
12547
12548 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
12549 (desktop-restore-in-current-display): New customization option.
12550 (desktop--excluded-frame-parameters): Add `font'.
12551 (desktop--save-frames): Rename from desktop--save-windows.
12552 (desktop--restore-in-this-display-p): New function.
12553 (desktop--make-full-frame): Remove unwanted width/height from
12554 full(width|height) frames.
12555 (desktop--restore-frames): Rename from desktop--restore-windows.
12556 Obey desktop-restore-current-display. Do not delete old frames or
12557 select a new frame unless we were able to restore at least one frame.
12558
12559 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
12560
12561 * files.el (find-file-noselect): Simplify conditional expression.
12562
12563 * textmodes/remember.el (remember-append-to-file):
12564 Don't mix `find-buffer-visiting' and `get-file-buffer'.
12565
12566 Add `remember-notes' function to store random notes across Emacs
12567 restarts.
12568 * textmodes/remember.el (remember-data-file): Add :set callback to
12569 affect notes buffer (if any).
12570 (remember-notes): New command.
12571 (remember-notes-buffer-name, bury-remember-notes-on-kill):
12572 New defcustoms for the `remember-notes' function.
12573 (remember-notes-save-and-bury-buffer): New command.
12574 (remember-notes-mode-map): New variable.
12575 (remember-mode): New minor mode.
12576 (remember-notes--kill-buffer-query): New function.
12577 * startup.el (initial-buffer-choice): Add notes to custom type.
12578
12579 2013-06-30 Eli Zaretskii <eliz@gnu.org>
12580
12581 * bindings.el (right-char, left-char): Don't call sit-for, this is
12582 no longer needed. Use arithmetic comparison only for numerical
12583 arguments.
12584
12585 * international/mule-cmds.el (select-safe-coding-system):
12586 Handle the case of FROM being a string correctly. (Bug#14755)
12587
12588 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12589
12590 * net/shr.el (shr-make-table-1): Add a sanity check that allows
12591 progression on degenerate tables.
12592 (shr-rescale-image): ImageMagick animated images currently don't work.
12593
12594 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
12595
12596 Some fixes and improvements for desktop frame restoration.
12597 It is still experimental and disabled by default.
12598 * desktop.el (desktop--save-windows): Put the selected frame at
12599 the head of the list.
12600 (desktop--make-full-frame): New function.
12601 (desktop--restore-windows): Try to re-select the frame that was
12602 selected upon saving. Do not abort if some frames fail to restore,
12603 just show an error message and continue. Set up maximized frames
12604 so they have default non-maximized dimensions.
12605
12606 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
12607
12608 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12609 Don't start heredoc inside a string or comment.
12610
12611 2013-06-29 Eli Zaretskii <eliz@gnu.org>
12612
12613 * bindings.el (visual-order-cursor-movement): New defcustom.
12614 (right-char, left-char): Provide visual-order cursor motion by
12615 calling move-point-visually. Update the doc strings.
12616
12617 2013-06-28 Kenichi Handa <handa@gnu.org>
12618
12619 * international/mule.el (define-coding-system): New coding system
12620 properties :inhibit-null-byte-detection,
12621 :inhibit-iso-escape-detection, and :prefer-utf-8.
12622 (set-buffer-file-coding-system): If :charset-list property of
12623 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12624 appropriate for setting.
12625
12626 * international/mule-cmds.el (select-safe-coding-system):
12627 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12628 multibyte characters, return utf-8 (or one of its siblings).
12629
12630 * international/mule-conf.el (prefer-utf-8): New coding system.
12631 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12632 files.
12633
12634 2013-06-28 Ivan Kanis <ivan@kanis.fr>
12635
12636 * net/shr.el (shr-render-region): New function.
12637
12638 * net/eww.el: Autoload `eww-browse-url'.
12639
12640 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
12641
12642 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12643 Adapt to `package-desc-version' being a list.
12644 Use `package--ac-desc-version' to retrieve version from a package
12645 archive element.
12646
12647 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
12648
12649 New experimental feature to save&restore window and frame setup.
12650 * desktop.el (desktop-save-windows): New defcustom.
12651 (desktop--saved-states): New var.
12652 (desktop--excluded-frame-parameters): New defconst.
12653 (desktop--filter-frame-parms, desktop--find-frame-in-display)
12654 (desktop--restore-windows, desktop--save-windows): New functions.
12655 (desktop-save): Call `desktop--save-windows'.
12656 (desktop-read): Call `desktop--restore-windows'.
12657
12658 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12659
12660 * net/shr.el (add-face-text-property): Remove compat definition.
12661
12662 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12663
12664 * info.el (Info-try-follow-nearest-node): Move search for footnote
12665 above search for node name to prevent missing a footnote (bug#14717).
12666
12667 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12668
12669 * obsolete/otodo-mode.el: Add obsolescence info to file header.
12670
12671 2013-06-27 Leo Liu <sdl.web@gmail.com>
12672
12673 * net/eww.el (eww-read-bookmarks): Check file size.
12674
12675 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12676
12677 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12678 advice--pending if newdef is nil or an autoload (bug#13820).
12679 (advice-mapc): New function.
12680
12681 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12682
12683 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12684 probably.
12685 (eww-mode-map): Add a menu bar.
12686 (eww-add-bookmark): New command.
12687 (eww-bookmark-mode): New mode and commands.
12688 (eww-add-bookmark): Remove newlines from the title.
12689 (eww-bookmark-browse): Don't bug out if it's the only window.
12690
12691 2013-06-26 Glenn Morris <rgm@gnu.org>
12692
12693 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12694 (hfy-size): Handle ttys. (Bug#14668)
12695
12696 * info-xref.el: Update for Texinfo 5 change in *note format.
12697 (info-xref-node-re, info-xref-note-re): New constants.
12698 (info-xref-check-buffer): Use info-xref-note-re.
12699
12700 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12701
12702 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12703
12704 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12705 nil terminate the loop (bug#14718).
12706
12707 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12708
12709 * net/eww.el: Rework history traversal. When going forward/back,
12710 put these actions into the history, too, so that they can be
12711 replayed.
12712 (eww-render): Move the history reset to the correct buffer.
12713
12714 2013-06-25 Juri Linkov <juri@jurta.org>
12715
12716 * files-x.el (modify-dir-local-variable): Change the header comment
12717 in the file with directory local variables. (Bug#14692)
12718
12719 * files-x.el (read-file-local-variable-value): Add `default'.
12720 (Bug#14710)
12721
12722 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12723
12724 * net/eww.el (eww-make-unique-file-name): Create a unique file
12725 name before saving to entering `y' accidentally asynchronously.
12726
12727 2013-06-25 Ivan Kanis <ivan@kanis.fr>
12728
12729 * net/eww.el (eww-download): New command and keystroke.
12730
12731 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12732
12733 * net/eww.el (eww-copy-page-url): Change name of command.
12734
12735 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12736 be more consistent with Info and dired.
12737
12738 * net/eww.el (eww-mode-map): Ditto.
12739
12740 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12741
12742 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12743 packages from archives.
12744 (package-archive-contents): Change format; include obsolete packages.
12745 (package-desc): Use `dir' to mark builtin packages.
12746 (package--from-builtin): Set the `dir' field to `builtin'.
12747 (generated-autoload-file, version-control): Declare.
12748 (package-compute-transaction): Change first arg and return value to be
12749 lists of package-descs. Adjust to new package-archive-contents format.
12750 (package--add-to-archive-contents): Adjust to new
12751 package-archive-contents format.
12752 (package-download-transaction): Arg is now a list of package-descs.
12753 (package-install): If `pkg' is a package name, pass it as
12754 a requirement, so it is subject to the usual (e.g. disabled) checks.
12755 (describe-package): Accept package-desc as well.
12756 (describe-package-1): Describe a specific package-desc. Add links to
12757 other package-descs for the same package name.
12758 (package-menu-describe-package): Pass the actual package-desc.
12759 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12760 works correctly.
12761 (package-desc-status): New function.
12762 (package-menu--refresh): New function, extracted
12763 from package-menu--generate.
12764 (package-menu--generate): Use it.
12765 (package-delete): Update package-alist.
12766 (package-menu-execute): Don't call package-initialize.
12767
12768 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12769 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12770 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12771 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12772 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12773 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12774
12775 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12776
12777 * window.el (window--state-get-1): Workaround for bug#14527.
12778 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12779
12780 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12781
12782 * net/eww.el (eww-back-url): Implement the history by stashing all
12783 the data into a list.
12784 (eww-forward-url): Allow going forward in the history, too.
12785
12786 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12787
12788 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12789 for values and use read--expression for expressions (bug#14710).
12790 (read-file-local-variable): Avoid setq.
12791 (read-file-local-variable-mode): Use minor-mode-list.
12792
12793 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12794
12795 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12796 for DOI URLs.
12797
12798 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12799
12800 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12801 Update imenu-support when dialect changes.
12802
12803 2013-06-25 Leo Liu <sdl.web@gmail.com>
12804
12805 * ido.el (ido-read-internal): Allow forward slash on windows.
12806
12807 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12808
12809 * net/eww.el (eww): Start of strings is \\`, not ^.
12810
12811 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12812
12813 * net/shr.el (shr-browse-url): Fix interactive spec.
12814
12815 * net/eww.el (eww): Add a trailing slash to domain names.
12816
12817 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12818
12819 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12820
12821 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12822
12823 * net/shr.el (shr-browse-url): Use an external browser if given a
12824 prefix.
12825
12826 * net/eww.el (eww-external-browser): Move to shr.
12827
12828 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12829
12830 * net/eww.el (eww): Work more correctly for file: URLs.
12831 (eww-detect-charset): Allow quoted charsets.
12832 (eww-yank-page-url): New command and keystroke.
12833
12834 2013-06-24 Daiki Ueno <ueno@gnu.org>
12835
12836 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12837 file name of gpg executable.
12838 (epg-context-program): New function.
12839 (epg-context-home-directory): New function.
12840 (epg-context-set-program): New function.
12841 (epg-context-set-home-directory): New function.
12842 (epg--start): Use `epg-context-program' instead of
12843 'epg-gpg-program'.
12844 (epg--list-keys-1): Likewise.
12845
12846 2013-06-24 Leo Liu <sdl.web@gmail.com>
12847
12848 * ido.el (ido-read-internal): Fix bug#14620.
12849
12850 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12851
12852 * faces.el (face-documentation): Simplify.
12853 (read-face-attribute, tty-find-type, x-resolve-font-name):
12854 Use `string-match-p'.
12855 (list-faces-display): Use `string-match-p'. Simplify.
12856 (face-spec-recalc): Check face to avoid face alias loops.
12857 (read-color): Use `string-match-p' and non-capturing parenthesis.
12858
12859 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12860
12861 * net/shr.el (shr-rescale-image): Use the new
12862 :max-width/:max-height functionality.
12863
12864 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12865
12866 * net/eww.el (eww-search-prefix): New variable.
12867 (eww): Use it.
12868 (eww-external-browser): New variable.
12869 (eww-mode-map): New keystroke.
12870 (eww-browse-with-external-browser): New command.
12871
12872 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12873
12874 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12875
12876 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12877 Don't skip aligning the next header field when padding is 0;
12878 otherwise, field width is not respected unless the title is as
12879 wide as the field.
12880
12881 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12882
12883 * emacs-lisp/package.el (package-el-version): Remove.
12884 (package-process-define-package): Fix inf-loop.
12885 (package-install): Allow symbols as arguments again.
12886
12887 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12888
12889 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12890 add some more keyword-like methods.
12891 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12892
12893 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12894
12895 * bs.el (bs-buffer-show-mark): Make defvar-local.
12896 (bs-mode): Use setq-local.
12897
12898 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12899 (emacs-lock--try-unlocking): Make defvar-local.
12900
12901 2013-06-22 Glenn Morris <rgm@gnu.org>
12902
12903 * play/cookie1.el (cookie-apropos): Minor simplification.
12904
12905 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12906
12907 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12908
12909 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12910 `regexp-opt', it breaks the build during dumping.
12911
12912 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12913
12914 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12915 Highlight keyword-like methods on Kernel and Module with
12916 font-lock-builtin-face.
12917 (auto-mode-alist): Consolidate different entries into one regexp
12918 and add more *file-s.
12919
12920 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12921
12922 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12923
12924 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12925 (diary-entry): Use it in the action of this button type instead of
12926 diary-goto-entry.
12927
12928 * calendar/todo-mode.el: New version.
12929 (todo-add-category): Append new category to end of file and give
12930 it the highest number, instead of putting it at the beginning and
12931 giving it 0. Incorporate noninteractive functionality.
12932 (todo-forward-category): Adapt to 1-based category numbering.
12933 Allow skipping over archived categories.
12934 (todo-backward-category): Derive from todo-forward-category.
12935 (todo-backward-item, todo-forward-item): Make noninteractive and
12936 delegate interactive part to new commands. Make sensitive to done items.
12937 (todo-categories): Make value an alist of category names and
12938 vectors of item counts.
12939 (todo-category-beg): Make a defconst.
12940 (todo-category-number): Use 1 instead of 0 as initial value.
12941 (todo-category-select): Make sensitive to overlays, optional item
12942 highlighting and done items.
12943 (todo-delete-item): Make sensitive to overlays and marked and done items.
12944 (todo-edit-item): Make sensitive to overlays and editing of
12945 date/time header optional. Add format checks.
12946 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12947 no-op if point is not on an item. Advertise using todo-edit-quit.
12948 (todo-edit-mode): Make sensitive to new format, font-locking, and
12949 multiple todo files.
12950 (todo-insert-item, todo-insert-item-here): Derive from
12951 todo-basic-insert-item and extend functionality.
12952 (todo-item-end, todo-item-start): Make sensitive to done items.
12953 (todo-item-string): Don't return text properties. Restore point.
12954 (todo-jump-to-category): Make sensitive to multiple todo files and
12955 todo archives. Use extended category completion.
12956 (todo-lower-item, todo-raise-item): Rename to *-priority and
12957 derive from todo-set-item-priority.
12958 (todo-mode): Derive from special-mode. Make sensitive to new
12959 format, font-locking and multiple todo files. Make read-only.
12960 (todo-mode-map): Don't suppress digit keys, so they can supply
12961 prefix arguments. Add many new key bindings.
12962 (todo-prefix): Insert as an overlay instead of file text.
12963 Change semantics from diary date expression to purely visual mark.
12964 (todo-print): Rename to todo-print-buffer. Make buffer display
12965 features printable. Remove option to restrict number of items
12966 printed. Add option to print to file.
12967 (todo-print-function): Rename to todo-print-buffer-function.
12968 (todo-quit): Extend to handle exiting new todo modes.
12969 (todo-remove-item): Make sensitive to overlays.
12970 (todo-save): Extend to buffers of filtered items.
12971 (todo-show): Make sensitive to done items, multiple todo files and
12972 new todo modes. Offer to convert legacy todo file before creating
12973 first new todo file.
12974 (todo-show-priorities): Rename to todo-top-priorities.
12975 Change semantics of value 0.
12976 (todo-top-priorities): Rename to todo-filter-top-priorities,
12977 derive from todo-filter-items and extend functionality.
12978 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12979 and extend functionality to other types of filtered items.
12980 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12981 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12982 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12983 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12984 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12985 (todo-edit-mode-hook, todo-entry-prefix-function)
12986 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12987 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12988 (todo-initials, todo-insert-threshold, todo-item-string-start)
12989 (todo-line-string, todo-menu, todo-mode-hook)
12990 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12991 (todo-print-priorities, todo-remove-separator)
12992 (todo-save-top-priorities-too, todo-string-count-lines)
12993 (todo-string-multiline-p, todo-time-string-format)
12994 (todo-tmp-buffer-name): Remove.
12995 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12996 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12997 (todo-edit-category-diary-inclusion)
12998 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12999 (todo-edit-file, todo-edit-item-date-day)
13000 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
13001 (todo-edit-item-date-month, todo-edit-item-date-to-today)
13002 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
13003 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
13004 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
13005 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
13006 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
13007 (todo-filter-top-priorities-multifile, todo-find-archive)
13008 (todo-find-filtered-items-file, todo-go-to-source-item)
13009 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
13010 (todo-jump-to-archive-category, todo-lower-category)
13011 (todo-mark-category, todo-marked-item-p, todo-merge-category)
13012 (todo-move-category, todo-move-item, todo-next-button)
13013 (todo-next-item, todo-padded-string, todo-powerset)
13014 (todo-previous-button, todo-previous-item)
13015 (todo-print-buffer-to-file, todo-raise-category)
13016 (todo-rename-category, todo-repair-categories-sexp, todo-search)
13017 (todo-set-category-number, todo-set-item-priority)
13018 (todo-set-top-priorities-in-category)
13019 (todo-set-top-priorities-in-file, todo-show-categories-table)
13020 (todo-sort-categories-alphabetically-or-numerically)
13021 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
13022 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
13023 (todo-toggle-item-header, todo-toggle-item-highlighting)
13024 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
13025 (todo-toggle-view-done-items, todo-toggle-view-done-only)
13026 (todo-unarchive-items, todo-unmark-category): New commands.
13027 (todo-absolute-file-name, todo-add-to-buffer-list)
13028 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
13029 (todo-basic-insert-item, todo-category-completions)
13030 (todo-category-number, todo-category-string-matcher-1)
13031 (todo-category-string-matcher-2, todo-check-filtered-items-file)
13032 (todo-check-format, todo-clear-matches)
13033 (todo-comment-string-matcher, todo-convert-legacy-date-time)
13034 (todo-current-category, todo-date-string-matcher)
13035 (todo-define-insertion-command, todo-diary-expired-matcher)
13036 (todo-diary-goto-entry, todo-diary-item-p)
13037 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
13038 (todo-display-categories, todo-display-sorted, todo-done-item-p)
13039 (todo-done-item-section-p, todo-done-separator)
13040 (todo-done-string-matcher, todo-files, todo-filter-items)
13041 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
13042 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
13043 (todo-insert-category-line, todo-insert-item-from-calendar)
13044 (todo-insert-sort-button, todo-insert-with-overlays)
13045 (todo-insertion-command-name, todo-insertion-key-bindings)
13046 (todo-label-to-key, todo-longest-category-name-length)
13047 (todo-make-categories-list, todo-mode-external-set)
13048 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
13049 (todo-modes-set-3, todo-multiple-filter-files)
13050 (todo-nondiary-marker-matcher, todo-prefix-overlays)
13051 (todo-read-category, todo-read-date, todo-read-dayname)
13052 (todo-read-file-name, todo-read-time)
13053 (todo-reevaluate-category-completions-files-defcustom)
13054 (todo-reevaluate-default-file-defcustom)
13055 (todo-reevaluate-filelist-defcustoms)
13056 (todo-reevaluate-filter-files-defcustom)
13057 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
13058 (todo-reset-done-separator, todo-reset-done-separator-string)
13059 (todo-reset-done-string, todo-reset-global-current-todo-file)
13060 (todo-reset-highlight-item, todo-reset-nondiary-marker)
13061 (todo-reset-prefix, todo-set-categories)
13062 (todo-set-date-from-calendar, todo-set-show-current-file)
13063 (todo-set-top-priorities, todo-short-file-name)
13064 (todo-show-current-file, todo-sort, todo-time-string-matcher)
13065 (todo-total-item-counts, todo-update-buffer-list)
13066 (todo-update-categories-display, todo-update-categories-sexp)
13067 (todo-update-count, todo-validate-name, todo-y-or-n-p):
13068 New functions.
13069 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
13070 New major modes.
13071 (todo-categories, todo-display, todo-edit, todo-faces)
13072 (todo-filtered): New defgroups.
13073 (todo-archived-only, todo-button, todo-category-string, todo-date)
13074 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
13075 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
13076 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
13077 (todo-add-item-if-new-category, todo-always-add-time-string)
13078 (todo-categories-align, todo-categories-archived-label)
13079 (todo-categories-category-label, todo-categories-diary-label)
13080 (todo-categories-done-label, todo-categories-number-separator)
13081 (todo-categories-todo-label, todo-categories-totals-label)
13082 (todo-category-completions-files, todo-completion-ignore-case)
13083 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
13084 (todo-done-separator-string, todo-done-string)
13085 (todo-files-function, todo-filter-done-items, todo-filter-files)
13086 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
13087 (todo-initial-category, todo-initial-file, todo-item-mark)
13088 (todo-legacy-date-time-regexp, todo-mode-line-function)
13089 (todo-nondiary-marker, todo-number-prefix)
13090 (todo-print-buffer-function, todo-show-current-file)
13091 (todo-show-done-only, todo-show-first, todo-show-with-done)
13092 (todo-skip-archived-categories, todo-top-priorities-overrides)
13093 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
13094 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
13095 New defcustoms.
13096 (todo-category-done, todo-date-pattern, todo-date-string-start)
13097 (todo-diary-items-buffer, todo-done-string-start)
13098 (todo-filtered-items-buffer, todo-item-start)
13099 (todo-month-abbrev-array, todo-month-name-array)
13100 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
13101 (todo-top-priorities-buffer): New defconsts.
13102 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
13103 (todo-categories-with-marks, todo-category-string-face)
13104 (todo-comment-face, todo-comment-string, todo-current-todo-file)
13105 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
13106 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
13107 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
13108 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
13109 (todo-font-lock-keywords, todo-global-current-todo-file)
13110 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
13111 (todo-insertion-commands-args)
13112 (todo-insertion-commands-args-genlist)
13113 (todo-insertion-commands-names, todo-insertion-map)
13114 (todo-key-bindings-t, todo-key-bindings-t+a)
13115 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
13116 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
13117 (todo-nondiary-face, todo-print-buffer, todo-time-face)
13118 (todo-visited): New variables.
13119
13120 2013-06-21 Glenn Morris <rgm@gnu.org>
13121
13122 * play/cookie1.el (cookie-apropos): Add optional display argument.
13123 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
13124 (psychoanalyze-pinhead): Use cookie-doctor.
13125
13126 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13127
13128 * emacs-lisp/package.el (tar-get-file-descriptor)
13129 (tar--extract): Declare.
13130
13131 2013-06-21 Eduard Wiebe <usenet@pusto.de>
13132
13133 Extend flymake's warning predicate to be a function (bug#14217).
13134 * progmodes/flymake.el (flymake-warning-predicate): New.
13135 (flymake-parse-line): Use it.
13136 (flymake-warning-re): Make obsolete alias to
13137 `flymake-warning-predicate'.
13138
13139 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13140
13141 * emacs-lisp/package.el (package-alist): Include obsolete packages.
13142 (package-obsolete-list): Remove.
13143 (package-activate): Remove min-version argument. Add `force' argument.
13144 Adjust to new package-alist format.
13145 (package-mark-obsolete): Remove.
13146 (package-unpack): Force reload of the package's autoloads.
13147 (package-installed-p): Check builtins if the installed package is not
13148 recent enough.
13149 (package-initialize): Don't reset package-obsolete-list.
13150 Don't specify which package version to activate.
13151 (package-process-define-package, describe-package-1)
13152 (package-menu--generate): Adjust to new package-alist format.
13153
13154 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13155
13156 * allout-widgets.el (allout-widgets-mode-off)
13157 (allout-widgets-mode-on, allout-widgets-pre-command-business)
13158 (allout-widgets-post-command-business)
13159 (allout-widgets-after-copy-or-kill-function)
13160 (allout-widgets-after-undo-function, allout-test-range-overlaps)
13161 (allout-decorate-item-and-context)
13162 (allout-graphics-modification-handler): Fix typos in docstrings.
13163 (allout-get-or-create-parent-widget): Use `looking-at-p'.
13164
13165 * cmuscheme.el (scheme-start-file): Doc fix.
13166 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
13167 (scheme-input-filter): Use `string-match-p'.
13168
13169 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
13170
13171 * dired-x.el: Use Dired consistently in docstrings.
13172
13173 * dired.el: Use Dired consistently in docstrings.
13174 (dired-readin, dired-mode): Use `setq-local'.
13175 (dired-switches-alist): Make defvar-local.
13176 (dired-buffers-for-dir): Use `zerop'.
13177 (dired-safe-switches-p, dired-switches-escape-p)
13178 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
13179 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
13180 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
13181 (dired-goto-next-nontrivial-file): Use `string-match-p'.
13182 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
13183 (dired-toggle-marks, dired-mark-files-containing-regexp)
13184 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
13185 (dired-flag-auto-save-files, dired-flag-backup-files):
13186 Use `looking-at-p'.
13187 (dired-mark-files-regexp, dired-build-subdir-alist):
13188 Use `string-match-p', `looking-at-p'.
13189
13190 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
13191 (direct-print-region-helper): Use `string-match-p'.
13192
13193 2013-06-21 Leo Liu <sdl.web@gmail.com>
13194
13195 * comint.el (comint-redirect-results-list-from-process):
13196 Fix infinite loop.
13197
13198 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13199
13200 * net/eww.el (eww-update-header-line-format): Quote % characters.
13201
13202 2013-06-21 Glenn Morris <rgm@gnu.org>
13203
13204 * play/cookie1.el (cookie): New custom group.
13205 (cookie-file): New option.
13206 (cookie-check-file): New function.
13207 (cookie): Make it interactive. Make start and end messages optional.
13208 Interactively, display the result. Default to cookie-file.
13209 (cookie-insert): Default to cookie-file.
13210 (cookie-snarf): Make start and end messages optional.
13211 Default to cookie-file. Use with-temp-buffer.
13212 (cookie-read): Rename from read-cookie.
13213 Make start and end messages optional. Default to cookie-file.
13214 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
13215 Do not autoload it.
13216 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
13217 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
13218
13219 2013-06-21 Leo Liu <sdl.web@gmail.com>
13220
13221 * progmodes/octave.el (octave-mode): Backward compatibility fix.
13222
13223 2013-06-21 Glenn Morris <rgm@gnu.org>
13224
13225 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
13226
13227 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13228 Daniel Hackney <dan@haxney.org>
13229
13230 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
13231 Consolidate the single-file vs tarball code.
13232 (package-desc-suffix): New function.
13233 (package-desc-full-name): Don't bother inlining it.
13234 (package-load-descriptor): Return the new package-desc.
13235 (package-mark-obsolete): Remove unused arg `package'.
13236 (package-unpack): Make it work for single files as well.
13237 Make it update package-alist.
13238 (package--make-autoloads-and-stuff): Rename from
13239 package--make-autoloads-and-compile. Don't compile any more.
13240 (package--compile): New function.
13241 (package-generate-description-file): New function, extracted from
13242 package-unpack-single.
13243 (package-unpack-single): Remove.
13244 (package--with-work-buffer): Add indentation and debugging info.
13245 (package-download-single): Remove.
13246 (package-install-from-archive): Rename from package-download-tar, make
13247 it take a pkg-desc, and make it work for single files as well.
13248 (package-download-transaction): Simplify.
13249 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
13250 external tar program.
13251 (package-install-from-buffer): Remove `pkg-desc' argument.
13252 Use package-tar-file-info for tar-mode buffers.
13253 (package-install-file): Simplify accordingly.
13254 (package-archive-base): Change to take a pkg-desc.
13255 * tar-mode.el (tar--check-descriptor): New function, extracted from
13256 tar-get-descriptor.
13257 (tar-get-descriptor): Use it.
13258 (tar-get-file-descriptor): New function.
13259 (tar--extract): New function, extracted from tar-extract.
13260 (tar--extract): Use it.
13261 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
13262 case the summary uses non-ascii. Adjust to new calling convention of
13263 package-tar-file-info.
13264
13265 2013-06-21 Leo Liu <sdl.web@gmail.com>
13266
13267 * comint.el (comint-redirect-results-list-from-process):
13268 Fix random delay. (Bug#14681)
13269
13270 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13271
13272 * profiler.el (profiler-format-number): Use log, not log10.
13273
13274 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13275
13276 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
13277
13278 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13279
13280 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
13281 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
13282 yet available.
13283 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
13284 (AUTOGENEL): ... here.
13285 * emacs-lisp/cl-macs.el (cl--sublis): New function.
13286 (cl--defsubst-expand): Use it.
13287
13288 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
13289
13290 * subr.el (log10): Move here from C code, and declare as obsolete.
13291 All uses of (log10 X) replaced with (log X 10).
13292
13293 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13294
13295 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
13296 Declare with `defvar-local'.
13297 (tabulated-list-use-header-line, tabulated-list-entries)
13298 (tabulated-list-padding, tabulated-list-printer)
13299 (tabulated-list-sort-key): Declare with `defvar-local'.
13300 (tabulated-list-init-header, tabulated-list-print-fake-header):
13301 Use `setq-local'.
13302
13303 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
13304
13305 * arc-mode.el (archive-mode): Add `archive-write-file' to
13306 `write-contents-functions' also for remote files. (Bug#14652)
13307
13308 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13309
13310 * cus-edit.el (custom-commands): Fix typos.
13311 (custom-display): Fix tooltip text.
13312 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
13313 Fix typos in docstrings.
13314 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
13315 (custom-unlispify-menu-entry, custom-magic-value-create)
13316 (custom-add-see-also, custom-group-value-create): Use ?\s.
13317 (custom-guess-type, customize-apropos, editable-field)
13318 (custom-face-value-create): Use `string-match-p'.
13319 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
13320
13321 * custom.el (custom-load-symbol): Use `string-match-p'.
13322
13323 * ansi-color.el: Convert to lexical binding.
13324 (ansi-colors): Fix URL.
13325 (ansi-color-context, ansi-color-context-region): Use defvar-local.
13326 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
13327 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
13328
13329 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13330
13331 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
13332
13333 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
13334
13335 2013-06-19 Tom Tromey <tromey@redhat.com>
13336
13337 * net/eww.el (eww-top-url): Remove.
13338 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
13339 (eww-render): Set new variables. Don't set eww-top-url.
13340 (eww-handle-link): Handle "prev", "home", and "contents".
13341 Downcase the rel text.
13342 (eww-top-url): Choose best top URL.
13343
13344 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13345
13346 * net/eww.el: Rewrite to implement form elements "by hand" instead of
13347 relying in widget.el. Using widget.el leads to too many
13348 user interface inconsistencies.
13349 (eww-self-insert): Implement entering commands in text fields.
13350 (eww-process-text-input): New function to make text input field editing
13351 work.
13352 (eww-submit): Rewrite to use the new-style form methods.
13353 (eww-select-display): Display the correct selected item.
13354 (eww-change-select): Implement changing the select value.
13355 (eww-toggle-checkbox): Implement radio/checkboxes.
13356 (eww-update-field): Fix compilation error.
13357 (eww-tag-textarea): Implement <textarea>.
13358
13359 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
13360 we don't shadow mode-specific bindings.
13361
13362 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
13363 nothing to push.
13364
13365 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
13366
13367 2013-06-19 Glenn Morris <rgm@gnu.org>
13368
13369 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
13370
13371 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13372
13373 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
13374 not needed.
13375
13376 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
13377
13378 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13379
13380 * net/browse-url.el (browse-url-browser-function):
13381 `eww-browse-url' has the right calling signature, `eww' does not.
13382
13383 2013-06-19 Glenn Morris <rgm@gnu.org>
13384
13385 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13386 Only eval autoloaded macros.
13387 (byte-compile-autoload): Only give the macro warning for macros.
13388
13389 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
13390 (ps-underlined-faces): Declare.
13391
13392 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
13393 (speedbar-add-supported-extension): Declare.
13394
13395 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
13396 Don't include a date stamp in the header of the generated file;
13397 it leads to needless differences between output files.
13398
13399 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13400
13401 * net/secrets.el (secrets-struct-secret-content-type):
13402 Replace check of introspection data by a test call of "CreateItem".
13403 Some servers do not offer introspection.
13404
13405 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
13406
13407 * electric.el (electric-pair-mode): Improve interaction with
13408 electric-layout-mode.
13409 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
13410 (electric-pair-syntax): Use text-mode-syntax-table in comments
13411 and strings.
13412 (electric-pair--insert): New function.
13413 (electric-pair-post-self-insert-function): Use it and
13414 electric--after-char-pos.
13415
13416 2013-06-19 Leo Liu <sdl.web@gmail.com>
13417
13418 * progmodes/octave.el (octave-help): Fix regexp.
13419
13420 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13421
13422 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
13423 (shr-table-horizontal-line): Allow nil as a value, and change the
13424 default.
13425 (shr-insert-table-ruler): Respect the nil value.
13426
13427 2013-06-18 Tom Tromey <tromey@barimba>
13428
13429 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13430 New defvars.
13431 (eww-open-file): New defun.
13432 (eww-render): Initialize new variables.
13433 (eww-display-html): Handle "link" and "a".
13434 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
13435 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
13436 (eww-back-url): Rename from eww-previous-url.
13437 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13438 New defuns.
13439
13440 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
13441
13442 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
13443 Distinguish ternary operator tokens from slash symbol and slash
13444 char literal.
13445
13446 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13447
13448 Convert symbol prettification into minor mode and global minor mode.
13449
13450 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
13451 `prog-prettify-symbols', and make a local defvar instead of defcustom.
13452 (prettify-symbols--keywords): Rename from
13453 `prog-prettify-symbols-alist' and make a local defvar.
13454 (prettify-symbols--compose-symbol): Rename from
13455 `prog--prettify-font-lock-compose-symbol'.
13456 (prettify-symbols--make-keywords): Rename from
13457 `prog-prettify-font-lock-symbols-keywords' and simplify.
13458 (prog-prettify-install): Remove.
13459 (prettify-symbols-mode): New minor mode, based on
13460 `prog-prettify-install'.
13461 (turn-on-prettify-symbols-mode): New function.
13462 (global-prettify-symbols-mode): New globalized minor mode.
13463
13464 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13465 * progmodes/cfengine.el (cfengine3-mode):
13466 * progmodes/perl-mode.el (perl-mode): Don't call
13467 `prog-prettify-install'; set `prettify-symbols-alist' instead.
13468
13469 2013-06-18 Juri Linkov <juri@jurta.org>
13470
13471 * files-x.el (modify-file-local-variable-message): New function.
13472 (modify-file-local-variable)
13473 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
13474 and call `modify-file-local-variable-message' when it's non-nil.
13475 (add-file-local-variable, delete-file-local-variable)
13476 (add-file-local-variable-prop-line)
13477 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
13478 and use it. (Bug#9820)
13479
13480 2013-06-18 Juri Linkov <juri@jurta.org>
13481
13482 * emulation/vi.el (vi-shell-op):
13483 * emulation/vip.el (vip-execute-com, ex-command):
13484 * emulation/viper-cmd.el (viper-exec-bang):
13485 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
13486 the call of `shell-command-on-region'. (Bug#14637)
13487
13488 * simple.el (shell-command-on-region): Doc fix.
13489
13490 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13491
13492 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
13493 (bug#14633).
13494
13495 2013-06-18 Glenn Morris <rgm@gnu.org>
13496
13497 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
13498
13499 * newcomment.el (comment-search-forward, comment-search-backward):
13500 Doc fix. (Bug#14376)
13501
13502 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13503
13504 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
13505 (buffer-face-mode-invoke): Doc fix.
13506
13507 2013-06-18 Matthias Meulien <orontee@gmail.com>
13508
13509 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
13510 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
13511
13512 2013-06-18 Glenn Morris <rgm@gnu.org>
13513
13514 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
13515 Replace obsolete function generic-make-keywords with its expansion.
13516
13517 * progmodes/python.el (ffap-alist): Declare.
13518
13519 * textmodes/reftex.el (bibtex-mode-map): Declare.
13520
13521 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13522
13523 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
13524 (package-unpack, package-unpack-single): Return the pkg-dir.
13525 (package-download-transaction): Use it to update package-alist.
13526
13527 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13528
13529 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
13530 possible choice.
13531
13532 2013-06-17 Juri Linkov <juri@jurta.org>
13533
13534 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
13535
13536 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13537
13538 * emacs-lisp/package.el (package-load-descriptor):
13539 Remove `with-syntax-table' call, `read' doesn't need it.
13540 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
13541
13542 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13543
13544 * startup.el (command-line): Expand package name returned by
13545 `package--description-file' (bug#14639).
13546
13547 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13548
13549 * emacs-lisp/package.el (package-load-descriptor): Do not call
13550 `emacs-lisp-mode', just use its syntax table.
13551
13552 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13553
13554 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
13555 `font-lock-extra-managed-props' if any prettifying keyword is added.
13556 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
13557 (prog-mode): Use `setq-local'.
13558
13559 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13560
13561 * international/characters.el (standard-case-table): Set syntax of ?»
13562 and ?« to punctuation.
13563
13564 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
13565
13566 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13567 Save relevant match data before calling `syntax-ppss' (bug#14595).
13568
13569 2013-06-15 Juri Linkov <juri@jurta.org>
13570
13571 * files-x.el (modify-file-local-variable-prop-line): Add local
13572 variables to the end of the existing comment on the first line.
13573 Use `file-auto-mode-skip' to skip interpreter magic line,
13574 and also skip XML declaration.
13575
13576 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13577
13578 * startup.el (package--builtin-versions): New var.
13579 (package-subdirectory-regexp): Remove.
13580 (package--description-file): Hard code its value instead.
13581
13582 * emacs-lisp/package.el: Don't activate packages older than builtin.
13583 (package-obsolete-list): Rename from package-obsolete-alist, and make
13584 it into a simple list of package-desc.
13585 (package-strip-version): Remove.
13586 (package-built-in-p): Use package--builtin-versions.
13587 (package-mark-obsolete): Simplify.
13588 (package-process-define-package): Mark it obsolete if older than the
13589 builtin version.
13590 (package-handle-response): Use line-end-position.
13591 (package-read-archive-contents, package--download-one-archive):
13592 Simplify.
13593 (package--add-to-archive-contents): Skip if older than the builtin or
13594 installed version.
13595 (package-menu-describe-package): Fix last change.
13596 (package-list-unversioned): New var.
13597 (package-menu--generate): Use it.
13598
13599 * emacs-lisp/autoload.el: Manage package--builtin-versions.
13600 (autoload--insert-text, autoload--insert-cookie-text): New functions.
13601 (autoload-builtin-package-versions): New variable.
13602 (autoload-generate-file-autoloads): Use them.
13603 Remove the list of autoloaded functions/macros from the
13604 (autoload...) comments.
13605
13606 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13607
13608 2013-06-15 Eli Zaretskii <eliz@gnu.org>
13609
13610 * simple.el (line-move-partial): Don't jump to the next screen
13611 line as soon as it becomes visible. Instead, continue enlarging
13612 the vscroll until the portion of a tall screen line that's left on
13613 display is about the height of the frame's default font.
13614 (Bug#14567)
13615
13616 2013-06-15 Glenn Morris <rgm@gnu.org>
13617
13618 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13619 compilation-error-regexp-alist void, or local while let-bound.
13620
13621 * progmodes/make-mode.el (makefile-mode-syntax-table):
13622 Treat "=" as punctuation. (Bug#14614)
13623
13624 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
13625
13626 * help-fns.el (describe-variable):
13627 Add extra line for permanent-local variables.
13628
13629 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
13630
13631 * progmodes/scheme.el (scheme-font-lock-keywords-2):
13632 Add export, import, library. (Bug#9164)
13633 (library): Set indent function.
13634
13635 2013-06-14 Glenn Morris <rgm@gnu.org>
13636
13637 * term/xterm.el (xterm--query):
13638 Stop after first matching handler. (Bug#14615)
13639
13640 2013-06-14 Ivan Kanis <ivan@kanis.fr>
13641
13642 Add support for dired in saveplace.
13643 * dired.el (dired-initial-position-hook): New variable.
13644 (dired-initial-position): Call hook to place cursor position.
13645 * saveplace.el (save-place-to-alist): Add dired position.
13646 (save-place-dired-hook): New function.
13647
13648 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
13649
13650 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13651 through a symbol rather than letrec.
13652
13653 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
13654 (package-desc): Add `dir' field.
13655 (package-desc-full-name): New function.
13656 (package-load-descriptor): Combine the two arguments. Don't use `load'.
13657 (package-maybe-load-descriptor): Remove.
13658 (package-load-all-descriptors): Just call package-load-descriptor.
13659 (package--disabled-p): New function.
13660 (package-desc-vers, package-desc-doc): Remove aliases.
13661 (package--dir): Remove function.
13662 (package-activate): Check if a package is disabled.
13663 (package-process-define-package): New function, extracted from
13664 define-package.
13665 (define-package): Turn into a place holder.
13666 (package-unpack-single, package-tar-file-info):
13667 Use package--description-file.
13668 (package-compute-transaction): Use package--disabled-p.
13669 (package-download-transaction): Don't call
13670 package-maybe-load-descriptor since they're all loaded anyway.
13671 (package-install): Change argument to be a pkg-desc.
13672 (package-delete): Use a single pkg-desc argument.
13673 (describe-package-1): Use package-desc-dir instead of package--dir.
13674 Use package-desc property instead of package-symbol.
13675 (package-install-button-action): Adjust accordingly.
13676 (package--push): Rewrite.
13677 (package-menu--print-info): Adjust accordingly. Change the ID format
13678 to be a pkg-desc.
13679 (package-menu-describe-package, package-menu-get-status)
13680 (package-menu--find-upgrades, package-menu-mark-upgrades)
13681 (package-menu-execute, package-menu--name-predicate):
13682 Adjust accordingly.
13683 * startup.el (package--description-file): New function.
13684 (command-line): Use it.
13685 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13686 Use package-desc-version.
13687
13688 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13689 (byte-compile-preprocess): Use it.
13690 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13691 can't quite recognize.
13692 (byte-compile-add-to-list): Remove.
13693 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13694 (cconv-closure-convert): Add assertion.
13695
13696 * emacs-lisp/map-ynp.el: Use lexical-binding.
13697 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13698 Factor out some repeated code.
13699
13700 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13701
13702 * subr.el (with-eval-after-load): New macro.
13703 (eval-after-load): Allow form to be a function.
13704 take advantage of lexical-binding.
13705 (do-after-load-evaluation): Use dolist and adjust to new format.
13706 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13707
13708 2013-06-13 Juri Linkov <juri@jurta.org>
13709
13710 * replace.el (perform-replace): Display "symbol " and other search
13711 modes from `isearch-message-prefix' in the *Help* buffer.
13712
13713 * isearch.el (isearch-query-replace): Add " symbol" and other
13714 possible search modes from `isearch-message-prefix' to the prompt.
13715 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13716 when reading a regexp to collect.
13717
13718 2013-06-13 Juri Linkov <juri@jurta.org>
13719
13720 * isearch.el (word-search-regexp): Match whitespace if the search
13721 string begins or ends in whitespace. The LAX arg is applied to
13722 both ends of the search string. Use `regexp-quote' and explicit
13723 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13724 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13725 boundaries are replaced with symbol boundaries, and characters
13726 between symbols match non-word non-symbol syntax. (Bug#14602)
13727
13728 2013-06-13 Juri Linkov <juri@jurta.org>
13729
13730 * isearch.el (isearch-del-char): Don't exceed the length of
13731 `isearch-string' by the prefix arg. (Bug#14563)
13732
13733 2013-06-13 Juri Linkov <juri@jurta.org>
13734
13735 * isearch.el (isearch-yank-word, isearch-yank-line)
13736 (isearch-char-by-name, isearch-quote-char)
13737 (isearch-printing-char, isearch-process-search-char):
13738 Add optional count prefix arg. (Bug#14563)
13739
13740 * international/isearch-x.el
13741 (isearch-process-search-multibyte-characters):
13742 Add optional count prefix arg.
13743
13744 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13745
13746 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13747 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13748 lexical-binding.
13749
13750 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13751
13752 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13753
13754 2013-06-13 Glenn Morris <rgm@gnu.org>
13755
13756 * startup.el (tty-handle-args):
13757 Don't just discard "--" and anything after. (Bug#14608)
13758
13759 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13760
13761 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13762
13763 Implement changes in Secret Service API. Make it backward compatible.
13764 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13765 (secrets-create-item): Use it. Prefix properties with interface.
13766
13767 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13768
13769 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13770 (term-emulate-terminal): Respect term-suppress-hard-newline.
13771
13772 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13773
13774 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13775 Only remove a `thumb-file' overlay. (Bug#14548)
13776
13777 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13778
13779 * mail/reporter.el (reporter-submit-bug-report):
13780 Handle missing package-name. (Bug#14600)
13781
13782 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13783
13784 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13785 (reftex-citation-prompt, reftex-default-bibliography)
13786 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13787 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13788 (reftex-bib-sort-author, reftex-bib-sort-year)
13789 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13790 (reftex-extract-bib-entries-from-thebibliography)
13791 (reftex-get-bibkey-default, reftex-get-bib-names)
13792 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13793 (reftex-format-bib-entry, reftex-parse-bibitem)
13794 (reftex-format-bibitem, reftex-do-citation)
13795 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13796 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13797 (reftex-insert-bib-matches, reftex-format-citation)
13798 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13799 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13800 existing comments into docstrings.
13801
13802 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13803
13804 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13805
13806 2013-06-12 Andreas Schwab <schwab@suse.de>
13807
13808 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13809 for auto-save files.
13810
13811 2013-06-12 Glenn Morris <rgm@gnu.org>
13812
13813 * ido.el (ido-delete-ignored-files): Remove.
13814 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13815 Go back to calling ido-ignore-item-p directly.
13816
13817 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13818
13819 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13820
13821 * ido.el (ido-delete-ignored-files): New function,
13822 split from ido-make-file-list-1.
13823 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13824 (ido-make-file-list-1): Use ido-delete-ignored-files.
13825
13826 2013-06-12 Leo Liu <sdl.web@gmail.com>
13827
13828 * progmodes/octave.el (inferior-octave-startup)
13829 (inferior-octave-completion-table)
13830 (inferior-octave-track-window-width-change)
13831 (octave-eldoc-function-signatures, octave-help)
13832 (octave-find-definition): Use single quoted strings.
13833 (inferior-octave-startup-args): Change default value.
13834 (inferior-octave-startup): Do not hard code "-i" and
13835 "--no-line-editing".
13836 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13837 (inferior-octave-directory-tracker): Use it.
13838 (octave-goto-function-definition): Robustify.
13839 (octave-help): Support highlighting operators in 'See also'.
13840 (octave-find-definition): Find subfunctions only in Octave mode.
13841
13842 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13843
13844 * help-fns.el (help-fns--compiler-macro): If the handler function is
13845 named, then put a link to it.
13846 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13847 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13848 (cl-typep): Use it.
13849 (cl-eval-when): Simplify debug spec.
13850 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13851 compiler-macro function instead of setting `compiler-macro-file'.
13852
13853 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13854
13855 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13856 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13857
13858 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13859 Daniel Hackney <dan@haxney.org>
13860
13861 First part of Daniel Hackney's patch to package.el.
13862 * emacs-lisp/package.el: Use defstruct.
13863 (package-desc): New, main struct.
13864 (package--bi-desc, package--ac-desc): New structs, used to describe the
13865 format in external files.
13866 (package-desc-vers): Replace with package-desc-version accessor.
13867 (package-desc-doc): Replace with package-desc-summary accessor.
13868 (package-activate-1): Remove `package' arg since the pkg-vec now
13869 includes the name.
13870 (define-package): Use package-desc-from-define.
13871 (package-unpack-single): Change file-name arg to be a symbol.
13872 (package--add-to-archive-contents): Use package-desc-create and new
13873 accessor functions to package--ac-desc.
13874 (package-buffer-info, package-tar-file-info): Return a package-desc.
13875 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13876 arg to be a package-desc.
13877 (package-install-file): Adjust accordingly. Use \' to match EOS.
13878 (package--from-builtin): New function.
13879 (describe-package-1, package-menu--generate): Use it.
13880 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13881 (package-generate-autoloads): Idem and return the name of the file.
13882 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13883 Change pkg-info arg to be a package-desc.
13884 Use package-make-ac-desc.
13885 (package-upload-file): Use \' to match EOS.
13886 * finder.el (finder-compile-keywords): Use package-make-builtin.
13887
13888 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13889
13890 * vc/vc.el (vc-deduce-fileset): Change error message.
13891 (vc-read-backend): New function.
13892 (vc-next-action): Use it.
13893
13894 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13895
13896 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13897 (prolog-font-lock-keywords): Use regexp-opt instead.
13898 Don't manually highlight strings.
13899 (prolog-mode-variables): Simplify comment-start-skip.
13900 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13901
13902 * emacs-lisp/generic.el (generic--normalise-comments)
13903 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13904 (generic-mode-set-comments): Use them.
13905 (generic-bracket-support): Use setq-local.
13906 (generic-make-keywords-list): Declare obsolete.
13907
13908 2013-06-11 Glenn Morris <rgm@gnu.org>
13909
13910 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13911 Prettify after setting font-lock-defaults. (Bug#14574)
13912
13913 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13914
13915 * replace.el (query-replace, occur-read-regexp-defaults-function)
13916 (replace-search):
13917 * subr.el (declare-function, number-sequence, local-set-key)
13918 (substitute-key-definition, locate-user-emacs-file)
13919 (with-silent-modifications, split-string, eval-after-load):
13920 Fix typos, remove unneeded backslashes and reflow some docstrings.
13921
13922 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13923
13924 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13925 default for Elisp files.
13926
13927 2013-06-11 Glenn Morris <rgm@gnu.org>
13928
13929 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13930 although define-derived-mode was doing this anyway. (Bug#14583)
13931
13932 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13933
13934 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13935 Fix make-variable-buffer-local call to refer to the correct variable.
13936
13937 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13938
13939 * eshell/em-term.el (eshell-visual-commands)
13940 (eshell-visual-subcommands, eshell-visual-options):
13941 Add summary line to docstrings. Add cross-references.
13942
13943 2013-06-10 Glenn Morris <rgm@gnu.org>
13944
13945 * epa.el (epa-read-file-name): New function. (Bug#14510)
13946 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13947
13948 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13949
13950 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13951 output redirection to be ignored with visual commands.
13952
13953 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13954
13955 * eshell/em-term.el (eshell-visual-command-p): New function.
13956 (eshell-term-initialize): Move long lambda to separate function
13957 eshell-visual-command-p.
13958 * eshell/em-dirs.el (eshell-dirs-initialize):
13959 * eshell/em-script.el (eshell-script-initialize):
13960 Add missing #' to lambda.
13961
13962 2013-06-08 Leo Liu <sdl.web@gmail.com>
13963
13964 * progmodes/octave.el (octave-add-log-current-defun): New function.
13965 (octave-mode): Set add-log-current-defun-function.
13966 (octave-goto-function-definition): Do not move point if not found.
13967 (octave-find-definition): Enhance to try subfunctions first.
13968
13969 2013-06-08 Glenn Morris <rgm@gnu.org>
13970
13971 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13972 (byte-compile-backward-char, byte-compile-backward-word):
13973 Improve previous change, to handle non-explicit nil.
13974
13975 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13976
13977 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13978 (smie--opener/closer-at-point): New function.
13979 (smie--matching-block-data): Use it. Don't match from right after an
13980 opener or right before a closer. Obey smie-blink-matching-inners.
13981 Don't signal a mismatch for repeated inners like "switch..case..case".
13982
13983 2013-06-07 Leo Liu <sdl.web@gmail.com>
13984
13985 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13986 to t. (Bug#14303)
13987 (octave-function-header-regexp): Fix. (Bug#14570)
13988 (octave-help-mode-finish-hook, octave-help-mode-finish):
13989 Remove. Just use temp-buffer-show-hook.
13990
13991 * newcomment.el (comment-search-backward): Revert last change.
13992 (Bug#14434)
13993
13994 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13995
13996 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13997
13998 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13999 through xargs, to avoid failure due to MS-Windows limitations on
14000 command-line length.
14001
14002 2013-06-06 Glenn Morris <rgm@gnu.org>
14003
14004 * font-lock.el (lisp-font-lock-keywords-2):
14005 Treat user-error like error.
14006
14007 * emacs-lisp/bytecomp.el (byte-compile-char-before)
14008 (byte-compile-backward-char, byte-compile-backward-word):
14009 Handle explicit nil arguments. (Bug#14565)
14010
14011 2013-06-05 Alan Mackenzie <acm@muc.de>
14012
14013 * isearch.el (isearch-allow-prefix): New user option.
14014 (isearch-other-meta-char): Don't exit isearch when a prefix
14015 argument is typed whilst `isearch-allow-prefix' is non-nil.
14016 (Bug#9706)
14017
14018 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14019
14020 * autorevert.el (auto-revert-notify-handler): Use memq.
14021 Hide assertion failure.
14022
14023 * skeleton.el: Use cl-lib.
14024 (skeleton-further-elements): Use defvar-local.
14025 (skeleton-insert): Use cl-progv.
14026
14027 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
14028
14029 * progmodes/prog-mode.el (prog-prettify-symbols)
14030 (prog-prettify-install): Update docstrings.
14031
14032 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14033
14034 * simple.el: Move all the prog-mode code to prog-mode.el.
14035 * progmodes/prog-mode.el: New file.
14036 * loadup.el: Add prog-mode.el.
14037
14038 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
14039
14040 * simple.el (prog-prettify-symbols): Add version.
14041 (prog-prettify-install): Add convenience function to prettify symbols.
14042
14043 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
14044 (perl--augmented-font-lock-keywords-1)
14045 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
14046 variables and use it.
14047
14048 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
14049 (cfengine3-mode): Remove unneeded variable and use it.
14050
14051 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
14052 (lisp--augmented-font-lock-keywords-1)
14053 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
14054 Remove unneeded variables and use it.
14055
14056 2013-06-05 João Távora <joaotavora@gmail.com>
14057
14058 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
14059 to point when opening the connection. (Bug#14380)
14060
14061 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14062
14063 * subr.el (load-history-regexp, load-history-filename-element)
14064 (eval-after-load, after-load-functions, do-after-load-evaluation)
14065 (eval-next-after-load, display-delayed-warnings)
14066 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
14067 definition of save-match-data.
14068 (overriding-local-map): Remove accidental obsolescence declaration.
14069
14070 * emacs-lisp/edebug.el (edebug-result): Move before first use.
14071
14072 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
14073
14074 Generalize symbol prettify support to prog-mode and implement it
14075 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
14076 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
14077 (prog--prettify-font-lock-compose-symbol)
14078 (prog-prettify-font-lock-symbols-keywords): New variables and
14079 functions to support symbol prettification.
14080 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
14081 (lisp--augmented-font-lock-keywords-1)
14082 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
14083 (lisp--prettify-symbols-alist): Implement prettify of lambda.
14084 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
14085 (cfengine3--prettify-symbols-alist, cfengine3-mode):
14086 Implement prettify of -> => :: strings.
14087 * progmodes/perl-mode.el (perl-prettify-symbols)
14088 (perl--font-lock-compose-symbol)
14089 (perl--font-lock-symbols-keywords): Move to prog-mode.
14090 (perl--prettify-symbols-alist): Prettify -> => :: strings.
14091 (perl-font-lock-keywords-1)
14092 (perl-font-lock-keywords-2): Remove explicit prettify support.
14093 (perl--augmented-font-lock-keywords)
14094 (perl--augmented-font-lock-keywords-1)
14095 (perl--augmented-font-lock-keywords-2, perl-mode):
14096 Implement prettify support.
14097
14098 2013-06-05 Leo Liu <sdl.web@gmail.com>
14099
14100 Re-implement SMIE matching block highlight using
14101 show-paren-data-function. (Bug#14395)
14102 * emacs-lisp/smie.el (smie-matching-block-highlight)
14103 (smie--highlight-matching-block-overlay)
14104 (smie--highlight-matching-block-lastpos)
14105 (smie-highlight-matching-block)
14106 (smie-highlight-matching-block-mode): Remove.
14107 (smie--matching-block-data-cache): New variable.
14108 (smie--matching-block-data): New function.
14109 (smie-setup): Use smie--matching-block-data for
14110 show-paren-data-function.
14111
14112 * progmodes/octave.el (octave-mode-menu): Fix.
14113 (octave-find-definition): Skip garbage lines.
14114
14115 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14116
14117 Fix compilation error with simultaneous dynamic+lexical scoping.
14118 Add warning when a defvar appears after the first let-binding.
14119 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
14120 (byte-compile-close-variables): Initialize it.
14121 (byte-compile--declare-var): New function.
14122 (byte-compile-file-form-defvar)
14123 (byte-compile-file-form-define-abbrev-table)
14124 (byte-compile-file-form-custom-declare-variable): Use it.
14125 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
14126 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
14127 (byte-compile-bind): Handle dynamic bindings that shadow
14128 lexical bindings.
14129 (byte-compile-unbind): Make arg non-optional.
14130 (byte-compile-let): Simplify.
14131 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
14132 (cconv--analyse-function, cconv-analyse-form): Populate it.
14133 Protect byte-compile-bound-variables to limit the scope of defvars.
14134 (cconv-analyse-form): Add missing rule for (defvar <foo>).
14135 Remove unneeded rule for `declare'.
14136
14137 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
14138 so as to avoid depending on cl-adjoin at run-time.
14139 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
14140
14141 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
14142 (macroexp--warn-and-return): Use it.
14143
14144 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14145
14146 * subr.el: Convert to lexical binding.
14147 (overriding-local-map): Make obsolete.
14148 (add-to-list): Doc fix. Add compiler macro.
14149 (read-key): Swap values of local maps.
14150
14151 2013-06-05 Leo Liu <sdl.web@gmail.com>
14152
14153 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
14154
14155 2013-06-04 Leo Liu <sdl.web@gmail.com>
14156
14157 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
14158 (compilation-auto-jump): Suppress the "Mark set" message to give
14159 way to exit message.
14160
14161 2013-06-04 Alan Mackenzie <acm@muc.de>
14162
14163 Remove faulty optimisation from indentation calculation.
14164 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
14165 search limit based on 2000 characters back from indent-point.
14166
14167 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14168
14169 * eshell/em-term.el (cl-lib): Require `cl-lib'.
14170
14171 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
14172
14173 * emacs-lisp/lisp.el: Use lexical-binding.
14174 (lisp--local-variables-1, lisp--local-variables): New functions.
14175 (lisp--local-variables-completion-table): New var.
14176 (lisp-completion-at-point): Use it complete let-bound vars.
14177
14178 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
14179 eagerly (bug#14422).
14180
14181 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
14182
14183 * autorevert.el (auto-revert-notify-enabled)
14184 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
14185 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
14186 (auto-revert-notify-handler): Handle also gfilenotify.
14187
14188 * subr.el (file-notify-handle-event): New defun. Replacing ...
14189 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
14190 Remove.
14191
14192 2013-06-03 Juri Linkov <juri@jurta.org>
14193
14194 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
14195 `M-s h .'. (Bug#14427)
14196
14197 * hi-lock.el (highlight-symbol-at-point): New alias for the new
14198 command `hi-lock-face-symbol-at-point'.
14199 (hi-lock-face-symbol-at-point): New command.
14200 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
14201 (hi-lock-menu): Add `highlight-symbol-at-point'.
14202 (hi-lock-mode): Doc fix.
14203
14204 * isearch.el (isearch-forward-symbol-at-point): New command.
14205 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
14206 (isearch-highlight-regexp): Add a regexp which matches
14207 words/symbols for word/symbol mode.
14208
14209 * subr.el (find-tag-default-bounds): New function with the body
14210 mostly moved from `find-tag-default'.
14211 (find-tag-default): Move most code to `find-tag-default-bounds',
14212 call it and apply `buffer-substring-no-properties' afterwards.
14213
14214 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14215
14216 * eshell/em-term.el (eshell-term-initialize):
14217 Use `cl-intersection' rather than `intersection'.
14218
14219 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
14220
14221 * vc/log-view.el: Doc fix.
14222 (log-view-mode-map): Copy keymap from `special-mode-map'.
14223
14224 2013-06-02 Eric Ludlam <zappo@gnu.org>
14225
14226 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
14227 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
14228 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
14229 (eieio-unbound, eieio-default-superclass)
14230 (eieio--define-field-accessors, method-static, method-before)
14231 (method-primary, method-after, method-num-lists)
14232 (method-generic-before, method-generic-primary)
14233 (method-generic-after, method-num-slots)
14234 (eieio-specialized-key-to-generic-key)
14235 (eieio--check-type, class-v, class-p)
14236 (eieio-class-name, define-obsolete-function-alias)
14237 (eieio-class-parents-fast, eieio-class-children-fast)
14238 (same-class-fast-p, class-constructor, generic-p)
14239 (generic-primary-only-p, generic-primary-only-one-p)
14240 (class-option-assoc, class-option, eieio-object-p)
14241 (class-abstract-p, class-method-invocation-order)
14242 (eieio-defclass-autoload-map, eieio-defclass-autoload)
14243 (eieio-class-un-autoload, eieio-defclass)
14244 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
14245 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
14246 (eieio--defgeneric-init-form, eieio-defgeneric-form)
14247 (eieio-defgeneric-reset-generic-form)
14248 (eieio-defgeneric-form-primary-only)
14249 (eieio-defgeneric-reset-generic-form-primary-only)
14250 (eieio-defgeneric-form-primary-only-one)
14251 (eieio-defgeneric-reset-generic-form-primary-only-one)
14252 (eieio-unbind-method-implementations)
14253 (eieio--defmethod, eieio--typep)
14254 (eieio-perform-slot-validation, eieio-validate-slot-value)
14255 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
14256 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
14257 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
14258 (eieio-slot-name-index, eieio-class-slot-name-index)
14259 (eieio-set-defaults, eieio-initarg-to-attribute)
14260 (eieio-attribute-to-initarg, eieio-c3-candidate)
14261 (eieio-c3-merge-lists, eieio-class-precedence-c3)
14262 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
14263 (eieio-class-precedence-list, eieio-generic-call-methodname)
14264 (eieio-generic-call-arglst, eieio-generic-call-key)
14265 (eieio-generic-call-next-method-list)
14266 (eieio-pre-method-execution-functions, eieio-generic-call)
14267 (eieio-generic-call-primary-only, eieiomt-method-list)
14268 (eieiomt-optimizing-obarray, eieiomt-install)
14269 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
14270 (eieio-generic-form, eieio-defmethod, make-obsolete)
14271 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
14272 (defclass): Remove `eval-and-compile' from macro.
14273 (call-next-method, shared-initialize): Instead of using
14274 `scoped-class' variable, use new eieio--scoped-class, and
14275 eieio--with-scoped-class.
14276 (initialize-instance): Rename local variable 'scoped-class' to
14277 'this-class' to remove ambiguitity from old global.
14278
14279 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
14280 eieio.el.
14281 (eieio--scoped-class-stack): New variable.
14282 (eieio--scoped-class): New fcn.
14283 (eieio--with-scoped-class): New scoping macro.
14284 (eieio-defclass): Use pushnew instead of add-to-list.
14285 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
14286 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
14287 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
14288 `scoped-class' variable, use new eieio--scoped-class, and
14289 eieio--with-scoped-class.
14290
14291 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
14292
14293 2013-06-02 Tassilo Horn <tsdh@gnu.org>
14294
14295 * eshell/esh-ext.el (eshell-external-command): Pass args to
14296 `eshell-find-interpreter'.
14297 (eshell-find-interpreter): Add new second parameter ARGS.
14298
14299 * eshell/em-script.el (eshell-script-initialize): Add second arg
14300 to the function added as MATCH to `eshell-interpreter-alist'.
14301
14302 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
14303 the function added as MATCH to `eshell-interpreter-alist'.
14304
14305 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
14306 (eshell-visual-options): New defcustom.
14307 (eshell-escape-control-x): Adapt docstring.
14308 (eshell-term-initialize): Test `eshell-visual-subcommands' and
14309 `eshell-visual-options' in addition to `eshell-visual-commands'.
14310 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
14311
14312 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
14313
14314 * progmodes/python.el (python-indent-block-enders): Add break,
14315 continue and raise keywords.
14316
14317 2013-06-01 Glenn Morris <rgm@gnu.org>
14318
14319 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
14320
14321 Plain (f)boundp silences compilation warnings since Emacs 22.1.
14322 * progmodes/cc-cmds.el (delete-forward-p):
14323 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
14324 * progmodes/cc-engine.el (buffer-syntactic-context):
14325 * progmodes/cc-fonts.el (face-property-instance):
14326 * progmodes/cc-mode.el (set-keymap-parents):
14327 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
14328 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
14329 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
14330 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
14331 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
14332
14333 * progmodes/cc-vars.el (other): Emacs has this widget since
14334 at least 21.1, so don't (re)define it.
14335
14336 * eshell/em-cmpl.el (eshell-cmpl-initialize):
14337 Replace the obsolete alias pcomplete-arg-quote-list.
14338
14339 2013-06-01 Leo Liu <sdl.web@gmail.com>
14340
14341 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
14342 punctuation syntax.
14343 (inferior-octave-minimal-columns)
14344 (inferior-octave-last-column-width): New variables.
14345 (inferior-octave-track-window-width-change): New function.
14346 (inferior-octave-mode): Adjust column width so that Octave output,
14347 for example from 'ls', can fit into the window nicely.
14348
14349 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14350
14351 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14352 Highlight expansions inside regexp literals.
14353
14354 2013-05-31 Glenn Morris <rgm@gnu.org>
14355
14356 * obsolete/sym-comp.el (symbol-complete):
14357 Replace obsolete completion-annotate-function.
14358
14359 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
14360
14361 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14362
14363 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14364 New function, checks if point is inside a literal that allows
14365 expression expansion.
14366 (ruby-syntax-propertize-expansion): Use it.
14367 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
14368 around the body.
14369
14370 2013-05-30 Juri Linkov <juri@jurta.org>
14371
14372 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
14373 to "\M-si".
14374 (isearch-invisible): New variable.
14375 (isearch-forward): Doc fix.
14376 (isearch-mode): Set `isearch-invisible'
14377 to the value of `search-invisible'.
14378 (isearch-toggle-case-fold): Doc fix.
14379 (isearch-toggle-invisible): New command.
14380 (isearch-query-replace): Let-bind `search-invisible'
14381 to the value of `isearch-invisible'.
14382 (isearch-search): Use `isearch-invisible' instead of
14383 `search-invisible'. Let-bind `search-invisible'
14384 to the value of `isearch-invisible'. (Bug#11378)
14385
14386 2013-05-30 Juri Linkov <juri@jurta.org>
14387
14388 * replace.el (perform-replace): Avoid `isearch-range-invisible'
14389 call when `query-flag' is nil and `search-invisible' is non-nil.
14390 (Bug#11746)
14391
14392 2013-05-30 Glenn Morris <rgm@gnu.org>
14393
14394 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
14395
14396 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
14397 (cc-require): Suppress spurious "noruntime" warnings.
14398 (cc-require-when-compile): Use fboundp, for sake of compiler.
14399
14400 * progmodes/cc-mode.el: Move load of cc-vars before that of
14401 cc-langs (which in turn loads cc-vars), to quieten compiler.
14402
14403 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14404
14405 * paren.el: Simplify the code.
14406 (show-paren-mode): Always start the timer.
14407 (show-paren--idle-timer): Rename from show-paren-idle-timer.
14408 (show-paren--overlay, show-paren--overlay-1): Rename from
14409 show-paren-overlay and show-paren-overlay-1, and initialize to an
14410 overlay rather than to nil.
14411 (show-paren-function): Misc cleanup and simplifications.
14412
14413 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14414
14415 * paren.el (show-paren-data-function): New hook.
14416 (show-paren--default): New function, extracted from show-paren-function.
14417 (show-paren-function): Use show-paren-data-function.
14418
14419 2013-05-30 Glenn Morris <rgm@gnu.org>
14420
14421 * ielm.el (ielm-map, ielm-complete-symbol):
14422 Use completion-at-point rather than obsolete functions.
14423 (inferior-emacs-lisp-mode): Doc fix.
14424 Set completion-at-point-functions, rather than
14425 comint-dynamic-complete-functions.
14426
14427 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
14428 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
14429 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
14430
14431 * image.el (image-animated-p): Tweak definition.
14432
14433 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
14434 (rlogin-process-connection-type): Tweak default. Add set-after.
14435 (rlogin-host): Doc fix.
14436 (rlogin): Tweak prompt.
14437 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
14438
14439 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
14440 * progmodes/tcl.el (inferior-tcl-mode-map):
14441 Use completion-at-point rather than obsolete alias.
14442
14443 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
14444
14445 * minibuffer.el (read-file-name-completion-ignore-case):
14446 Move before completion--in-region, for eager macro expansion.
14447
14448 2013-05-29 Juri Linkov <juri@jurta.org>
14449
14450 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
14451 for total count of matching lines. Add `global-matches' for total
14452 count of matches. Rename `matches' to `lines' for count of
14453 matching lines. Add `matches' for count of matches.
14454 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
14455 to `prev-line' for line number of prev match endpt.
14456 Increment `matches' for every match. Print the number of
14457 matching lines in the header.
14458 (occur-context-lines): Rename `lines' to `curr-line'.
14459 Rename `prev-lines' to `prev-line'. (Bug#14017)
14460
14461 2013-05-29 Juri Linkov <juri@jurta.org>
14462
14463 * replace.el (perform-replace): Add `skip-read-only-count',
14464 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
14465 Increment them for corresponding conditions and report the number
14466 of skipped occurrences in the final message. (Bug#11746)
14467 (query-replace, query-replace-regexp, query-replace-regexp-eval)
14468 (replace-string, replace-regexp): Doc fix.
14469
14470 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14471
14472 * emacs-lisp/trace.el (trace--read-args): Provide a default.
14473
14474 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
14475 prog-mode-map (bug#14504).
14476
14477 2013-05-29 Leo Liu <sdl.web@gmail.com>
14478
14479 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
14480 (octave-help): Small simplification.
14481
14482 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
14483 off the highlight first.
14484
14485 2013-05-29 Glenn Morris <rgm@gnu.org>
14486
14487 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
14488 Handle idlwave-last-system-routine-info-cons-cell being nil.
14489
14490 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14491 (idlwave-write-paths): Simplify via with-temp-buffer.
14492
14493 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
14494 * emulation/cua-rect.el: Also load cua-base at run time.
14495
14496 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
14497 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
14498 (cperl-imenu-on-info): Require imenu.
14499
14500 2013-05-28 Alan Mackenzie <acm@muc.de>
14501
14502 Handle "capitalised keywords" correctly.
14503 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
14504
14505 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
14506
14507 * eshell/em-unix.el: Add -r option to cp.
14508
14509 2013-05-28 Glenn Morris <rgm@gnu.org>
14510
14511 * vc/vc-arch.el (vc-exec-after): Declare.
14512 (vc-switches): Autoload.
14513 * vc/vc-bzr.el: No need to require vc when compiling.
14514 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
14515 (vc-resynch-buffer, vc-dir-refresh): Declare.
14516 (vc-setup-buffer, vc-switches): Autoload.
14517 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
14518 (vc-resynch-buffer): Declare.
14519 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
14520 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
14521 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
14522 (grep-read-regexp, grep-read-files, grep-expand-template)
14523 (vc-dir-refresh): Declare.
14524 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
14525 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
14526 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
14527 * vc/vc-mtn.el (vc-exec-after): Declare.
14528 (vc-switches): Autoload.
14529 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
14530 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
14531 (vc-file-tree-walk): Declare.
14532 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
14533 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
14534 (vc-tag-precondition, vc-rename-master): Autoload.
14535 * vc/vc-svn.el (vc-exec-after): Declare.
14536 (vc-switches, vc-setup-buffer): Autoload.
14537 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
14538 Autoload.
14539 (vc-resynch-buffer): Declare.
14540
14541 * obsolete/fast-lock.el (byte-compile-warnings):
14542 Don't warn about obsolete features in this obsolete file.
14543
14544 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
14545 Move definition before use.
14546
14547 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
14548 (dun-unix-verbs): Remove dun-zippy.
14549 (dun-zippy): Remove function.
14550
14551 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
14552
14553 2013-05-27 Juri Linkov <juri@jurta.org>
14554
14555 * replace.el (replace-search): New function with code moved out
14556 from `perform-replace'.
14557 (replace-highlight, replace-dehighlight): Move function definitions
14558 up closer to `replace-search'. (Bug#11746)
14559
14560 2013-05-27 Juri Linkov <juri@jurta.org>
14561
14562 * replace.el (perform-replace): Ignore invisible matches.
14563 In addition to checking `query-replace-skip-read-only', also
14564 filter out matches by calling `run-hook-with-args-until-failure'
14565 on `isearch-filter-predicates', and also check `search-invisible'
14566 for t or call `isearch-range-invisible'.
14567 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
14568
14569 2013-05-27 Juri Linkov <juri@jurta.org>
14570
14571 * isearch.el (isearch-filter-predicates): Rename from
14572 `isearch-filter-predicate'. Doc fix. (Bug#11378)
14573 (isearch-message-prefix): Display text from the property
14574 `isearch-message-prefix' of the currently active filters.
14575 (isearch-search): Don't compare `isearch-filter-predicate' with
14576 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
14577 on `isearch-filter-predicates'. Also check `search-invisible' for t
14578 or call `isearch-range-invisible'.
14579 (isearch-filter-visible): Make obsolete.
14580 (isearch-lazy-highlight-search):
14581 Call `run-hook-with-args-until-failure' on
14582 `isearch-filter-predicates' and use `isearch-range-invisible'.
14583
14584 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14585 `isearch-filter-predicates' instead of `funcall'ing
14586 `isearch-filter-predicate'.
14587 (Info-mode): Set `Info-isearch-filter' to
14588 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14589
14590 * dired-aux.el (dired-isearch-filter-predicate-orig):
14591 Remove variable.
14592 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14593 (dired-isearch-filenames-end): Add and remove
14594 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14595 instead of changing the value of `isearch-filter-predicate'.
14596 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14597 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14598 Put property `isearch-message-prefix' to "filename " on
14599 `dired-isearch-filter-filenames'.
14600
14601 * wdired.el (wdired-change-to-wdired-mode):
14602 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14603 locally instead of changing `isearch-filter-predicate'.
14604 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14605
14606 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
14607
14608 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14609 return the commit hash (Bug#14459). Also set the
14610 `vc-git-detached' property.
14611 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14612 (vc-git-mode-line-string): Use the same help-echo format whether
14613 in detached mode or not, because we know the actual revision now.
14614 When in detached mode, shorten the revision to 7 chars.
14615
14616 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14617
14618 * emacs-lisp/easy-mmode.el (define-minor-mode):
14619 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14620 mode hook and provide a docstring.
14621
14622 2013-05-27 Alan Mackenzie <acm@muc.de>
14623
14624 Remove spurious syntax-table text properties inserted by C-y.
14625 * progmodes/cc-mode.el (c-after-change): Also clear hard
14626 syntax-table property with value nil.
14627
14628 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
14629
14630 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14631 when reading the events; the buffer layout shall not be changed.
14632
14633 2013-05-27 Leo Liu <sdl.web@gmail.com>
14634
14635 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14636 New variable.
14637 (inferior-octave-directory-tracker): Automatically re-sync
14638 default-directory.
14639 (octave-help): Improve handling of 'See also'.
14640
14641 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14642
14643 * doc-view.el: Minor naming convention tweaks.
14644 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14645
14646 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14647 even if there's no `display' property yet (bug#14435).
14648
14649 2013-05-25 Eli Zaretskii <eliz@gnu.org>
14650
14651 * subr.el (unmsys--file-name): Rename from reveal-filename.
14652
14653 * Makefile.in (custom-deps, finder-data, autoloads)
14654 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14655 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14656 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14657
14658 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14659
14660 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14661 error-completion on the first 2 args of condition-case (bug#14446).
14662 Don't burp at EOB.
14663
14664 2013-05-25 Leo Liu <sdl.web@gmail.com>
14665
14666 * comint.el (comint-previous-matching-input): Do not flood the
14667 *Messages* buffer with trivial messages.
14668
14669 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14670
14671 * progmodes/flymake.el (flymake-nop): Don't return a string.
14672 (flymake-set-at): Fix typo.
14673
14674 * simple.el (read--expression): New function, extracted from
14675 eval-expression. Set completion-at-point-functions (bug#14465).
14676 (eval-expression, eval-minibuffer): Use it.
14677
14678 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
14679
14680 * progmodes/flymake.el (flymake-save-buffer-in-file)
14681 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14682 (flymake-selected-frame, flymake-log, flymake-ins-after)
14683 (flymake-set-at, flymake-get-buildfile-from-cache)
14684 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14685 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14686 Refine the doc string.
14687 (flymake-get-file-name-mode-and-masks): Reformat.
14688 (flymake-get-real-file-name-function): Fix a minor bug.
14689
14690 2013-05-24 Juri Linkov <juri@jurta.org>
14691
14692 * progmodes/grep.el (grep-mode-font-lock-keywords):
14693 Support =linenumber= format used by git-grep for lines with
14694 function names. (Bug#13549)
14695
14696 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14697
14698 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14699 0 after a semi-colon; it works better for smie-auto-fill.
14700 (octave--indent-new-comment-line): New function.
14701 (octave-indent-new-comment-line): Use it (indirectly).
14702 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14703 modify comment-line-break-function.
14704
14705 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14706 (smie-setup): Use add-function to set it.
14707
14708 2013-05-24 Sam Steingold <sds@gnu.org>
14709
14710 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14711 argument (before the `interactive' argument).
14712
14713 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14714
14715 * image-mode.el (image-mode-winprops): Add winprops to
14716 image-mode-winprops-alist before running
14717 image-mode-new-window-functions.
14718 * doc-view.el (doc-view-new-window-function): Don't delay
14719 doc-view-goto-page via timers (bug#14435).
14720
14721 2013-05-24 Tassilo Horn <tsdh@gnu.org>
14722
14723 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14724 (doc-view-desktop-save-buffer): New function.
14725 (doc-view-restore-desktop-buffer): New function.
14726 (desktop-buffer-mode-handlers):
14727 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14728 handler.
14729 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14730 `desktop-save-buffer' function.
14731
14732 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
14733
14734 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14735 (tramp-gvfs-file-name-handler): Raise a user error when
14736 `tramp-gvfs-enabled' is nil.
14737 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14738 Do not raise a user error when loading package. (Bug#14447)
14739
14740 * net/xesam.el: Move to obsolete/.
14741
14742 2013-05-24 Glenn Morris <rgm@gnu.org>
14743
14744 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14745
14746 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14747
14748 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14749 (Info-find-node, Man-getpage-in-background): Declare.
14750
14751 * mail/unrmail.el (unrmail):
14752 Replace obsolete detect-coding-with-priority.
14753
14754 * net/socks.el (socks-split-string): Use this rather than split-string.
14755 (socks-nslookup-host): Update for above change.
14756 (dynamic-choice, s5-dynamic-choice-match)
14757 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14758 Comment out unused code.
14759
14760 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14761 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14762 (gud-tooltip-echo-area): Make obsolete.
14763 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14764
14765 * progmodes/js.el (js--optimize-arglist): Declare.
14766
14767 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14768
14769 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14770 (ediff-window-C): Declare.
14771
14772 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14773 Tweak requires to silence compiler.
14774
14775 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14776 (he-search-string, he-tried-table, he-expand-list)
14777 (he-init-string, he-string-member, he-substitute-string)
14778 (he-reset-string): Declare.
14779
14780 * obsolete/options.el (list-options): Use custom-variable-p,
14781 rather than obsolete alias.
14782
14783 2013-05-23 Sam Steingold <sds@gnu.org>
14784
14785 * simple.el (shell-command-on-region): Pass the `replace' argument
14786 down to `call-process-region' to comply with the doc as reported on
14787 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14788
14789 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14790
14791 * emacs-lisp/smie.el (smie-indent-forward-token)
14792 (smie-indent-backward-token): Handle string tokens (bug#14381).
14793
14794 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14795
14796 * ielm.el (ielm-menu): New menu.
14797 (inferior-emacs-lisp-mode): Set comment-start.
14798
14799 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14800
14801 * textmodes/reftex.el (reftex-ref-style-toggle):
14802 Fix deactivate action.
14803
14804 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14805 Add cleveref macros.
14806
14807 * textmodes/reftex-parse.el
14808 (reftex-locate-bibliography-files): Accept options for
14809 bibliography commands.
14810 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14811 Add addbibresource. Basic Biblatex support.
14812
14813 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14814
14815 * net/tramp-gvfs.el (top):
14816 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14817 when loading package. (Bug#14447)
14818
14819 2013-05-23 Glenn Morris <rgm@gnu.org>
14820
14821 * progmodes/js.el: No need to load comint when compiling.
14822 (ring-insert, comint-send-string, comint-send-input)
14823 (comint-last-input-end, ido-chop): Declare.
14824
14825 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14826 * vc/ediff-mult.el: Adjust requires.
14827 (ediff-directories-internal, ediff-directory-revisions-internal)
14828 (ediff-patch-file-internal): Declare.
14829 * vc/ediff-ptch.el: Adjust requires.
14830 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14831 (ediff-find-file): Autoload.
14832 * vc/ediff-util.el: No need to load ediff when compiling.
14833 (ediff-regions-internal): Declare.
14834 * vc/ediff-wind.el: Adjust requires.
14835 (ediff-compute-toolbar-width): Define when compiling.
14836 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14837 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14838 (dired-get-filename, dired-get-marked-files)
14839 (ediff-last-dir-patch, ediff-patch-default-directory)
14840 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14841 (ediff-patch-buffer-internal): Declare.
14842
14843 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14844 (ispell-process, ispell-buffer-local-words, lm-summary)
14845 (lm-section-start, lm-section-end): Declare.
14846 (checkdoc-ispell-init): Simplify.
14847
14848 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14849 (he-string-member, he-reset-string, he-substitute-string): Declare.
14850
14851 * eshell/em-ls.el: Adjust requires.
14852 (eshell-glob-regexp): Declare.
14853 * eshell/em-tramp.el: Adjust requires.
14854 (eshell-parse-command): Autoload.
14855 * eshell/em-xtra.el: Adjust requires.
14856 (eshell-parse-command): Autoload.
14857 * eshell/esh-ext.el: Adjust requires.
14858 (eshell-parse-command, eshell-close-handles): Autoload.
14859 * eshell/esh-io.el: Adjust requires.
14860 (eshell-output-filter): Autoload.
14861 * eshell/esh-util.el: No need to load tramp when compiling.
14862 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14863 Declare.
14864 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14865 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14866 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14867 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14868 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14869 * eshell/esh-opt.el, eshell/esh-proc.el:
14870 * eshell/esh-var.el: Adjust requires.
14871 * eshell/eshell.el: Do not require esh-util twice.
14872 (eshell-add-input-to-history): Declare.
14873 (eshell-command): Check history module is active before using it.
14874
14875 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14876
14877 2013-05-22 Leo Liu <sdl.web@gmail.com>
14878
14879 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14880
14881 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14882
14883 * autorevert.el (auto-revert-notify-add-watch)
14884 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14885 it indicates changes in file modification time.
14886
14887 2013-05-22 Glenn Morris <rgm@gnu.org>
14888
14889 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14890 Always delete the autoloaded function from the noruntime and
14891 unresolved functions lists.
14892
14893 * allout.el: No need to load epa, epg, overlay when compiling.
14894 (epg-context-set-passphrase-callback, epg-list-keys)
14895 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14896 (epg-key-user-id-list): Declare.
14897
14898 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14899 (viper-set-parsing-style-toggling-macro)
14900 (viper-set-emacs-state-searchstyle-macros):
14901 Use called-interactively-p on Emacs.
14902 (viper-looking-back): Make it an obsolete alias. Update callers.
14903 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14904 Use looking-back rather than viper-looking-back.
14905 (viper-tmp-insert-at-eob, viper-enlarge-region)
14906 (viper-read-string-with-history, viper-register-to-point)
14907 (viper-append-to-register, viper-change-state-to-vi)
14908 (viper-backward-char-carefully, viper-forward-char-carefully)
14909 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14910 (viper-change-state-to-emacs): Declare.
14911 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14912 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14913 * emulation/viper-mous.el: Do not load viper-cmd.
14914 (viper-backward-char-carefully, viper-forward-char-carefully)
14915 (viper-forward-word, viper-adjust-window): Declare.
14916
14917 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14918
14919 * progmodes/idlw-help.el (idlwave-help-fontify):
14920 Use called-interactively-p.
14921
14922 * term/w32console.el (w32-get-console-codepage)
14923 (w32-get-console-output-codepage): Declare.
14924
14925 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14926 Remove unnecessary declarations.
14927 (dframe-message): Doc fix.
14928
14929 * info.el (dframe-select-attached-frame, dframe-current-frame):
14930 Declare.
14931
14932 * speedbar.el (speedbar-message): Make it an obsolete alias.
14933 Update all callers.
14934 (speedbar-with-attached-buffer)
14935 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14936 (speedbar-with-writable): Use backquote.
14937 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14938 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14939 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14940 rather than speedbar- aliases.
14941 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14942 (speedbar-make-specialized-keymap, speedbar-insert-button)
14943 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14944 (speedbar-do-function-pointer): Declare.
14945 (rmail-speedbar-button, rmail-speedbar-find-file)
14946 (rmail-speedbar-move-message):
14947 Use dframe-with-attached-buffer rather than speedbar- alias.
14948 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14949 (dframe-message, speedbar-make-specialized-keymap)
14950 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14951 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14952 (speedbar-insert-button, dframe-select-attached-frame)
14953 (dframe-maybee-jump-to-attached-frame)
14954 (speedbar-change-initial-expansion-list)
14955 (speedbar-previously-used-expansion-list-name): Declare.
14956 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14957 Use dframe-message, dframe-with-attached-buffer rather than
14958 speedbar- aliases.
14959 (gud-sentinel): Silence compiler.
14960 * progmodes/vhdl-mode.el (speedbar-refresh)
14961 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14962 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14963 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14964 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14965 (speedbar-file-lists, speedbar-make-tag-line)
14966 (speedbar-line-directory, speedbar-goto-this-file)
14967 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14968 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14969 (speedbar-make-button, speedbar-reset-scanners)
14970 (speedbar-files-item-info, speedbar-line-text)
14971 (speedbar-find-file-in-frame, speedbar-set-timer)
14972 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14973 (speedbar-with-writable): Do not (re)define it.
14974 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14975 rather than speedbar- alias.
14976
14977 2013-05-21 Leo Liu <sdl.web@gmail.com>
14978
14979 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14980 menu items.
14981 (octave-mode): Tweak fill-nobreak-predicate.
14982 (inferior-octave-startup): Check process to avoid infinite loop.
14983 (inferior-octave): Pop to buffer first to show abornmal process
14984 exit information.
14985
14986 2013-05-21 Glenn Morris <rgm@gnu.org>
14987
14988 * printing.el (pr-menu-bar): Define when compiling.
14989
14990 2013-05-21 Leo Liu <sdl.web@gmail.com>
14991
14992 * progmodes/octave.el (octave-auto-fill): Remove.
14993 (octave-indent-new-comment-line): Improve.
14994 (octave-mode): Use auto fill mode through
14995 comment-line-break-function and fill-nobreak-predicate.
14996 (octave-goto-function-definition): Support DEFUN_DLD.
14997 (octave-beginning-of-defun): Small tweak.
14998 (octave-help): Show parent directory.
14999
15000 2013-05-21 Glenn Morris <rgm@gnu.org>
15001
15002 * files.el (dired-unmark):
15003 * progmodes/gud.el (gdb-input): Update declarations.
15004
15005 * calculator.el (electric, ehelp): No need to load when compiling.
15006 (Electric-command-loop, electric-describe-mode): Declare.
15007
15008 * doc-view.el (doc-view-current-converter-processes): Move before use.
15009
15010 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15011 Move MODE-set-explicitly definition before use.
15012
15013 * international/mule-diag.el (mule-diag):
15014 Don't use obsolete window-system-version.
15015
15016 * mail/feedmail.el (smtpmail): No need to load when compiling.
15017 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
15018
15019 * mail/mail-utils.el (rfc822): No need to load when compiling.
15020 (rfc822-addresses): Autoload it.
15021 (mail-strip-quoted-names): Trivial simplification.
15022
15023 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
15024 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
15025
15026 * net/snmp-mode.el (tempo): Don't duplicate requires.
15027
15028 * progmodes/prolog.el (info): No need to load when compiling.
15029 (comint): Require before shell requires it.
15030 (Info-goto-node): Autoload it.
15031 (Info-follow-nearest-node): Declare.
15032 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
15033
15034 * textmodes/artist.el (picture-mode-exit): Declare.
15035
15036 * textmodes/reftex-parse.el (reftex-parse-from-file):
15037 Trivial rewrite so the compiler can parse it better.
15038
15039 2013-05-20 Leo Liu <sdl.web@gmail.com>
15040
15041 * progmodes/octave.el (octave-help-mode-map)
15042 (octave-help-mode-finish-hook): New variables.
15043 (octave-help-mode, octave-help-mode-finish): New functions.
15044 (octave-help): Use octave-help-mode.
15045
15046 2013-05-20 Glenn Morris <rgm@gnu.org>
15047
15048 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
15049
15050 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
15051
15052 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
15053 start at point, so that expansion starting right after opening
15054 slash in a regexp is recognized.
15055 (ruby-syntax-before-regexp-re): New defvar, extracted from
15056 ruby-syntax-propertize-function. Since the value of this regexp
15057 is looked up at runtime now, we should be able to turn
15058 `ruby-syntax-methods-before-regexp' into a defcustom later.
15059 (ruby-syntax-propertize-function): Split regexp matching into two
15060 parts, for opening and closing slashes. That allows us to skip
15061 over string interpolations and support multiline regexps.
15062 Don't call `ruby-syntax-propertize-expansions', instead use another rule
15063 for them, which calls `ruby-syntax-propertize-expansion'.
15064 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
15065 call to `ruby-syntax-propertize-function'.
15066 (ruby-syntax-propertize-expansion): Extracted from
15067 `ruby-syntax-propertize-expansions'. Handles one expansion.
15068 (ruby-syntax-propertize-percent-literal): Leave point right after
15069 the percent symbol, so that the expression expansion rule can
15070 propertize the contents.
15071 (ruby-syntax-propertize-heredoc): Leave point at bol following the
15072 heredoc openers.
15073 (ruby-syntax-propertize-expansions): Remove.
15074
15075 2013-05-18 Juri Linkov <juri@jurta.org>
15076
15077 * man.el (Man-default-man-entry): Remove `-' from the end
15078 of the default value. (Bug#14400)
15079
15080 2013-05-18 Glenn Morris <rgm@gnu.org>
15081
15082 * comint.el (comint-password-prompt-regexp):
15083 Allow "password for XXX" where XXX contains colons (eg https://...).
15084
15085 2013-05-18 Leo Liu <sdl.web@gmail.com>
15086
15087 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
15088 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
15089 (octave-source-directories): Don't check process.
15090 (octave-source-directories, octave-find-definition): Doc fix.
15091
15092 2013-05-18 Glenn Morris <rgm@gnu.org>
15093
15094 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
15095 Remove backspace/delete bindings. (Bug#14392)
15096
15097 * cus-dep.el (custom-make-dependencies): Sort the output.
15098 (custom-versions-load-alist): Convert comment to doc.
15099
15100 2013-05-17 Leo Liu <sdl.web@gmail.com>
15101
15102 * newcomment.el (comment-search-backward): Stricter in finding
15103 comment start. (Bug#14303)
15104
15105 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
15106 (octave-comment-start-skip): Properly anchored.
15107
15108 2013-05-17 Leo Liu <sdl.web@gmail.com>
15109
15110 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
15111 Clean up when turned off. (Bug#14395)
15112 (smie--highlight-matching-block-overlay): No longer buffer-local.
15113 (smie-highlight-matching-block): Adjust.
15114
15115 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
15116
15117 Doc string fix for "nanoseconds" (Bug#14406).
15118 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
15119 Fix doc string typo that had "nanoseconds" instead of "microseconds".
15120
15121 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
15122
15123 * calc/calc-units.el (math-extract-units): Preserve powers
15124 of units.
15125
15126 2013-05-17 Leo Liu <sdl.web@gmail.com>
15127
15128 * subr.el (delete-consecutive-dups): New function.
15129 * ido.el (ido-set-matches-1): Use it.
15130 * progmodes/octave.el (inferior-octave-completion-table): Use it.
15131 * ido.el (ido-remove-consecutive-dups): Remove.
15132
15133 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
15134
15135 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15136 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
15137 regexp-opt's `words'.
15138
15139 2013-05-16 Leo Liu <sdl.web@gmail.com>
15140
15141 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
15142 (smie--highlight-matching-block-overlay)
15143 (smie--highlight-matching-block-lastpos)
15144 (smie--highlight-matching-block-timer): New variables.
15145 (smie-highlight-matching-block): New function.
15146 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
15147 (smie-setup): Conditionally enable smie-blink-matching-open.
15148
15149 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
15150
15151 Sync with upstream verilog-mode r840.
15152 * progmodes/verilog-mode.el (verilog-mode-version)
15153 (verilog-mode-release-date): Update.
15154 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
15155 (verilog-sig-tieoff): Fix string error on
15156 AUTORESET with colon define, bug594. Reported by Andrew Hou.
15157 (verilog-read-decls): Fix parameters confusing
15158 AUTOINST interfaces, bug565. Reported by Leith Johnson.
15159
15160 2013-05-16 Eli Zaretskii <eliz@gnu.org>
15161
15162 * subr.el (reveal-filename): New function.
15163
15164 * loadup.el: Compute Emacs executable versions on MS-Windows,
15165 where executables have the .exe extension. Add a hard link
15166 emacs-XX.YY.ZZ.exe on MS-Windows.
15167
15168 * Makefile.in (XARGS_LIMIT): New variable.
15169 (custom-deps, finder-data, autoloads)
15170 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
15171 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
15172 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
15173 (compile-main): Limit xargs according to $(XARGS_LIMIT).
15174
15175 2013-05-16 Leo Liu <sdl.web@gmail.com>
15176
15177 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
15178 (octave-mode-menu, octave-mode-map): Remove its uses.
15179
15180 2013-05-16 Reto Zimmermann <reto@gnu.org>
15181
15182 Sync with upstream vhdl mode v3.34.2.
15183 * progmodes/vhdl-mode.el: Use `push' throughout.
15184 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
15185 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
15186 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
15187 (vhdl-actual-generic-name): New option to derive actual generic name.
15188 (vhdl-port-paste-signals): Replace formal by actual generics.
15189 (vhdl-beautify): New name for old group vhdl-align. Update users.
15190 (vhdl-beautify-options): New option.
15191 (vhdl-last-input-event): New compat alias. Use throughout.
15192 (vhdl-goto-line): Replace user level function `goto-line'.
15193 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
15194 vhdl-fix-statement-buffer.
15195 (vhdl-create-mode-menu): Add some entries.
15196 (vhdl-align-region-groups): Respect vhdl-beautify-options.
15197 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
15198 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
15199 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
15200 to force statements on one line.
15201 (vhdl-remove-trailing-spaces-region):
15202 New, split from vhdl-remove-trailing-spaces.
15203 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
15204 Respect vhdl-beautify-options.
15205 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
15206 (vhdl-update-sensitivity-list): Not add with index if exists without.
15207 Not include array index with signal. Ignore keywords in comments.
15208 (vhdl-get-visible-signals): Regexp tweaks.
15209 (vhdl-template-component-inst): Handle empty library.
15210 (vhdl-template-type): Add template for 'enum' type.
15211 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
15212 Use vhdl-replace-string.
15213 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
15214 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
15215 (vhdl-speedbar-initialize): Update for above name change.
15216 (vhdl-compose-wire-components): Fix in handling of constants.
15217 (vhdl-error-regexp-emacs-alist): New variable.
15218 (vhdl-error-regexp-add-emacs): New function;
15219 adds support for new compile.el (Emacs 22+)
15220 (vhdl-generate-makefile-1): Change target order for single lib. units.
15221 Allow use of absolute file names.
15222
15223 2013-05-16 Leo Liu <sdl.web@gmail.com>
15224
15225 * simple.el (prog-indent-sexp): Indent enclosing defun.
15226
15227 2013-05-15 Glenn Morris <rgm@gnu.org>
15228
15229 * cus-start.el (show-trailing-whitespace): Move to editing basics.
15230 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
15231 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
15232 (whitespace-highlight): Move to whitespace group.
15233
15234 * comint.el (comint-source):
15235 * pcmpl-linux.el (pcmpl-linux):
15236 * shell.el (shell-faces):
15237 * eshell/esh-opt.el (eshell-opt):
15238 * international/ccl.el (ccl): Remove empty custom groups.
15239
15240 * completion.el (dynamic-completion-mode):
15241 * jit-lock.el (jit-lock-debug-mode):
15242 * minibuffer.el (completion-in-region-mode):
15243 * type-break.el (type-break-mode-line-message-mode)
15244 (type-break-query-mode):
15245 * emulation/tpu-edt.el (tpu-edt-mode):
15246 * progmodes/subword.el (global-subword-mode, global-superword-mode):
15247 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15248 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
15249
15250 * term/xterm.el (xterm): Change parent group to terminals.
15251
15252 * master.el (master): Remove empty custom group.
15253 (master-mode): Remove unused :group argument.
15254 * textmodes/refill.el (refill): Remove empty custom group.
15255 (refill-mode): Remove unused :group argument.
15256
15257 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
15258
15259 * cus-dep.el: Provide a feature.
15260 (custom-make-dependencies): Ignore dotfiles (dir-locals).
15261 Don't mistakenly ignore files whose basenames match a basename
15262 from preloaded-file-list (eg cedet/ede/simple.el).
15263 Add a fallback method for getting :group.
15264
15265 2013-05-15 Juri Linkov <juri@jurta.org>
15266
15267 * isearch.el (isearch-char-by-name): Rename from
15268 `isearch-insert-char-by-name'. Doc fix.
15269 (isearch-forward): Mention `isearch-char-by-name' in
15270 the docstring. (Bug#13348)
15271
15272 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
15273 `exit-minibuffer' instead of
15274 `isearch-nonincremental-exit-minibuffer'.
15275 (isearch-edit-string): Remove mention of
15276 `isearch-nonincremental-exit-minibuffer' from docstring.
15277 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
15278 (isearch-forward-exit-minibuffer)
15279 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
15280
15281 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15282
15283 * loadup.el: Just use unversioned DOC.
15284
15285 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
15286 literals as extending to EOB.
15287 (nxml-last-fontify-end): Remove unused variable.
15288 (nxml-after-change1): Use with-silent-modifications.
15289 (nxml-extend-after-change-region): Simplify.
15290 (nxml-extend-after-change-region1): Remove function.
15291 (nxml-after-change1): Don't adjust for dependent regions.
15292 (nxml-fontify-matcher): Simplify.
15293 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
15294 (xmltok-add-dependent): Remove function.
15295 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
15296 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
15297 (xmltok-scan-prolog-after-processing-instruction-open): Treat
15298 unclosed <[[, <?, comment, and other literals as extending to EOB.
15299 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
15300 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
15301 Remove functions.
15302 (rng-do-some-validation-1): Don't mark dependent regions.
15303 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
15304 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
15305 (nxml-clear-dependent-regions): Remove functions.
15306 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
15307 (nxml-ensure-scan-up-to-date):
15308 Don't clear&mark dependent regions.
15309
15310 2013-05-15 Leo Liu <sdl.web@gmail.com>
15311
15312 * progmodes/octave.el (octave-goto-function-definition):
15313 Improve and fix callers.
15314
15315 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15316
15317 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
15318 the setter (bug#14387).
15319
15320 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
15321 surrounding group (bug#14402).
15322
15323 2013-05-14 Juri Linkov <juri@jurta.org>
15324
15325 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
15326 (Bug#14390)
15327
15328 2013-05-14 Glenn Morris <rgm@gnu.org>
15329
15330 * progmodes/f90.el (f90-imenu-generic-expression):
15331 Fix typo in 2013-05-08 change. (Bug#14402)
15332
15333 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15334
15335 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
15336 Remove signals for which replies are never received.
15337
15338 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15339
15340 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
15341 (gdb-handler-alist, gdb-handler-number): Remove variables.
15342 (gdb-handler-list): New variable.
15343 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
15344 (gdb-pending-handler-p, gdb-handle-reply)
15345 (gdb-remove-all-pending-triggers): New functions.
15346 (gdb-discard-unordered-replies): New defcustom.
15347 (gdb-handler): New defstruct.
15348 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
15349 instead of gdb-pending-triggers. Update docstring.
15350 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
15351 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
15352 (gdb-var-update-handler, def-gdb-auto-update-trigger)
15353 (def-gdb-auto-update-handler, gdb-get-changed-registers)
15354 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
15355 (gdb-frame-handler): Pending triggers are now automatically managed.
15356 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
15357 Remove argument.
15358 (gdb-input): Automatically handles pending triggers. Update docstring.
15359 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
15360 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
15361 Update comments.
15362 (gdb-done-or-error): Now use gdb-handle-reply.
15363
15364 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15365
15366 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
15367 gdb-debug-log.
15368
15369 2013-05-14 Glenn Morris <rgm@gnu.org>
15370
15371 * subr.el (user-emacs-directory-warning): New option.
15372 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
15373
15374 2013-05-14 Leo Liu <sdl.web@gmail.com>
15375
15376 * progmodes/octave.el (octave-font-lock-keywords): Fix error
15377 during redisplay.
15378 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
15379 (octave-font-lock-texinfo-comment): Fix invalid search bound
15380 error: wrong side of point.
15381
15382 2013-05-14 Glenn Morris <rgm@gnu.org>
15383
15384 * progmodes/flymake.el (flymake-xml-program): New option.
15385 (flymake-xml-init): Use it.
15386
15387 * term/xterm.el: Provide a feature.
15388
15389 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
15390
15391 2013-05-13 Glenn Morris <rgm@gnu.org>
15392
15393 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
15394 Add compat aliases as a hack workaround. (Bug#14384)
15395
15396 2013-05-13 Leo Liu <sdl.web@gmail.com>
15397
15398 * progmodes/octave.el (octave-indent-comment): Fix indentation for
15399 ###, and %!.
15400 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
15401 C-M-q.
15402 (octave-comment-start-skip): Include %!.
15403 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
15404
15405 2013-05-12 Leo Liu <sdl.web@gmail.com>
15406
15407 * progmodes/octave.el (inferior-octave-startup): Store the value
15408 of __octave_srcdir__ for octave-source-directories.
15409 (inferior-octave-check-process): New function refactored out of
15410 inferior-octave-send-list-and-digest.
15411 (octave-source-directories)
15412 (octave-find-definition-filename-function): New variables.
15413 (octave-source-directories)
15414 (octave-find-definition-default-filename): New functions.
15415 (octave-find-definition): Improve to find functions implemented in C++.
15416
15417 2013-05-12 Glenn Morris <rgm@gnu.org>
15418
15419 * calendar/diary-lib.el (diary-outlook-format-1):
15420 Don't include dayname in the output. (Bug#14349)
15421
15422 2013-05-11 Glenn Morris <rgm@gnu.org>
15423
15424 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
15425
15426 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
15427 Treat cc-provide like provide.
15428
15429 2013-05-11 Kevin Ryde <user42@zip.com.au>
15430
15431 * cus-dep.el (custom-make-dependencies):
15432 Use generated-autoload-load-name for the sake of files such
15433 such cedet/semantic/bovine/c.el, where the base file name
15434 is not in load-path. (Bug#5277)
15435
15436 2013-05-11 Glenn Morris <rgm@gnu.org>
15437
15438 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
15439 Provide features.
15440
15441 2013-05-11 Leo Liu <sdl.web@gmail.com>
15442
15443 * progmodes/octave.el (octave-indent-comment): Improve.
15444 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
15445 (octave-eldoc-function-signatures, octave-eldoc-function):
15446 New functions.
15447 (octave-mode, inferior-octave-mode): Add eldoc support.
15448
15449 2013-05-11 Richard Stallman <rms@gnu.org>
15450
15451 * epa.el (epa-decrypt-file): Take output file name as argument
15452 and read it using `interactive'.
15453
15454 2013-05-11 Leo Liu <sdl.web@gmail.com>
15455
15456 * progmodes/octave.el (octave-beginning-of-line)
15457 (octave-end-of-line): Check before using up-list because it jumps
15458 out of more syntactic contructs since moving to smie.
15459 (octave-indent-comment): New function.
15460 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
15461 (octave-begin-keywords, octave-end-keywords)
15462 (octave-reserved-words, octave-smie-bnf-table)
15463 (octave-smie-rules): Add new keywords from Octave 3.6.4.
15464
15465 2013-05-11 Glenn Morris <rgm@gnu.org>
15466
15467 * faces.el (internal-face-x-get-resource):
15468 * frame.el (ns-display-monitor-attributes-list):
15469 * calc/calc-aent.el (math-to-radians-2):
15470 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
15471 Fix declarations.
15472
15473 * calc/calc-menu.el: Make it loadable in isolation.
15474
15475 * net/eudcb-bbdb.el: Make it loadable without bbdb.
15476 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
15477 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
15478 (eudc-bbdb-query-internal): Require 'bbdb.
15479
15480 * lpr.el (lpr-headers-switches):
15481 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
15482
15483 * progmodes/sql.el (sql-login-params): Fix and improve :type.
15484
15485 * emulation/edt-mapper.el: In batch mode, error rather than hang.
15486
15487 * term.el (term-set-escape-char): Make it idempotent.
15488
15489 2013-05-10 Leo Liu <sdl.web@gmail.com>
15490
15491 * progmodes/octave.el (inferior-octave-completion-table):
15492 No longer a function and all uses changed. Use cache to speed up
15493 completion due to bug#11906.
15494 (octave-beginning-of-defun): Re-write to be more general.
15495
15496 2013-05-10 Glenn Morris <rgm@gnu.org>
15497
15498 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
15499
15500 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
15501
15502 * comint.el (comint-redirect-send-command-to-process): Use :around
15503 rather than :override for comint-redirect-filter.
15504 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
15505 Call it instead of comint-redirect-original-filter-function (which
15506 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
15507
15508 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
15509
15510 * frame.el (display-monitor-attributes-list): Add NS case.
15511 (ns-display-monitor-attributes-list): Declare.
15512
15513 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
15514
15515 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
15516
15517 2013-05-09 Glenn Morris <rgm@gnu.org>
15518
15519 * international/fontset.el (vertical-centering-font-regexp):
15520 Set standard-value.
15521
15522 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
15523
15524 * bookmark.el (bookmark-search-delay):
15525 * cus-start.el (vertical-centering-font-regexp):
15526 * ps-mule.el (ps-mule-font-info-database-default):
15527 * ps-print.el (ps-default-fg, ps-default-bg):
15528 * type-break.el (type-break-good-break-interval):
15529 * whitespace.el (whitespace-indentation-regexp)
15530 (whitespace-space-after-tab-regexp):
15531 * emacs-lisp/testcover.el (testcover-1value-functions)
15532 (testcover-noreturn-functions, testcover-progn-functions)
15533 (testcover-prog1-functions):
15534 * emulation/viper-init.el (viper-emacs-state-cursor-color):
15535 * eshell/em-glob.el (eshell-glob-translate-alist):
15536 * play/tetris.el (tetris-tty-colors):
15537 * progmodes/cpp.el (cpp-face-default-list):
15538 * progmodes/flymake.el (flymake-allowed-file-name-masks):
15539 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
15540 (idlwave-help-browser-generic-args):
15541 * progmodes/make-mode.el (makefile-special-targets-list):
15542 * progmodes/python.el (python-shell-virtualenv-path):
15543 * progmodes/verilog-mode.el (verilog-active-low-regexp)
15544 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
15545 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
15546 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
15547 * textmodes/reftex-vars.el (reftex-format-label-function):
15548 * textmodes/remember.el (remember-diary-file): Fix custom types.
15549
15550 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
15551 Add :version.
15552
15553 2013-05-09 Leo Liu <sdl.web@gmail.com>
15554
15555 * progmodes/octave.el (inferior-octave-completion-at-point):
15556 Restore file completion. (Bug#14300)
15557 (inferior-octave-startup): Fix incorrect highlighting for the
15558 first prompt.
15559
15560 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15561
15562 * progmodes/ruby-mode.el: First cut at SMIE support.
15563 (ruby-use-smie): New var.
15564 (ruby-smie-grammar): New constant.
15565 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15566 (ruby-smie--forward-token, ruby-smie--backward-token)
15567 (ruby-smie-rules): New functions.
15568 (ruby-mode-variables): Setup SMIE if applicable.
15569
15570 2013-05-08 Eli Zaretskii <eliz@gnu.org>
15571
15572 * simple.el (line-move-visual): Signal beginning/end of buffer
15573 only if vertical-motion moved less than it was requested. Avoids
15574 silly incorrect error messages when there are display strings with
15575 multiple newlines at EOL.
15576
15577 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15578
15579 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15580 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15581 (prolog-char-quote-workaround):
15582 * progmodes/cperl-mode.el (cperl-under-as-char):
15583 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15584 Mark as obsolete.
15585 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15586 their declaration.
15587 (vhdl-mode-syntax-table-init): Remove.
15588
15589 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15590 last change.
15591
15592 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15593 syntax for "_".
15594 (ld-script-font-lock-keywords):
15595 Change regexps to use things like \_< and \_>.
15596
15597 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15598 Change all regexps to use things like \_< and \_>.
15599
15600 * progmodes/autoconf.el (autoconf-definition-regexp)
15601 (autoconf-font-lock-keywords, autoconf-current-defun-function):
15602 Handle a _ with symbol syntax.
15603 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15604
15605 * progmodes/ada-mode.el (ada-mode-abbrev-table):
15606 Consolidate declaration.
15607 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15608 the declaration.
15609 (ada-create-syntax-table): Remove.
15610 (ada-capitalize-word): Don't mess with the syntax of "_" since it
15611 already has the right syntax nowadays.
15612 (ada-goto-next-word): Don't change the syntax of "_".
15613
15614 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15615 with-wrapper-hook.
15616
15617 2013-05-08 Sam Steingold <sds@gnu.org>
15618
15619 * thingatpt.el (thing-at-point): Accept optional second argument
15620 NO-PROPERTIES to strip the text properties from the return value.
15621 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15622 to `thing-at-point' instead of stripping the properties ourselves.
15623 Also, when `thing-at-point' fails to find a url, prepend "http://"
15624 to the filename at point on the assumption that the user is
15625 pointing at something like gnu.org/gnu.
15626
15627 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
15628
15629 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15630 * faces.el (crm-separator):
15631 Silence byte-compiler.
15632
15633 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15634 (tool-bar-map): Remove unneeded defvars.
15635
15636 2013-05-08 Leo Liu <sdl.web@gmail.com>
15637
15638 Re-work a fix for bug#10994 based on Le Wang's patch.
15639 * ido.el (ido-remove-consecutive-dups): New helper.
15640 (ido-completing-read): Use it.
15641 (ido-chop): Revert fix for bug#10994.
15642
15643 2013-05-08 Adam Spiers <emacs@adamspiers.org>
15644
15645 * cus-edit.el (custom-save-variables):
15646 Pretty-print long values. (Bug#14187)
15647
15648 2013-05-08 Glenn Morris <rgm@gnu.org>
15649
15650 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15651 (m4-mode-syntax-table): Init in the defvar.
15652 (m4-mode-abbrev-table): Let define-derived-mode define it.
15653
15654 2013-05-08 Tom Tromey <tromey@redhat.com>
15655
15656 * progmodes/m4-mode.el (m4-mode-syntax-table):
15657 Do not treat "_" as word constituent. (Bug#14167)
15658
15659 2013-05-07 Glenn Morris <rgm@gnu.org>
15660
15661 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15662 Remove explicit eshell-isearch-cancel-map.
15663
15664 * progmodes/f90.el (f90-smart-end-names): New option.
15665 (f90-smart-end): Doc fix.
15666 (f90-end-block-optional-name): New constant.
15667 (f90-block-match): Respect f90-smart-end-names.
15668
15669 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15670
15671 * progmodes/octave.el (octave-smie-forward-token): Be more careful
15672 about implicit semi-colons (bug#14218).
15673
15674 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15675
15676 * frame.el (display-monitor-attributes-list)
15677 (frame-monitor-attributes): New functions.
15678
15679 2013-05-06 Leo Liu <sdl.web@gmail.com>
15680
15681 * progmodes/octave.el (octave-syntax-propertize-function): Change
15682 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15683 (octave-font-lock-keywords): Use octave-operator-regexp.
15684 (octave-completion-at-point): Rename from
15685 octave-completion-at-point-function.
15686 (inferior-octave-directory-tracker): Robustify.
15687 (octave-text-functions): Remove and fix its uses. No such things
15688 any more.
15689
15690 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15691
15692 * emacs-lisp/trace.el (trace--display-buffer): New function.
15693 (trace-make-advice): Use it.
15694
15695 2013-05-06 Juri Linkov <juri@jurta.org>
15696
15697 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15698 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15699 Doc fix.
15700 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15701 in the help string. (Bug#12985)
15702
15703 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15704
15705 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15706
15707 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15708
15709 * progmodes/perl-mode.el: Add support for here documents.
15710 (perl-syntax-propertize-function): Match here-doc markers.
15711 (perl-syntax-propertize-special-constructs): Find their end.
15712 (perl-imenu-generic-expression): Use [:alnum:].
15713
15714 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15715 (advice--add-function): Refresh the advice if already present
15716 (bug#14317).
15717
15718 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
15719
15720 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15721
15722 2013-05-06 Glenn Morris <rgm@gnu.org>
15723
15724 * w32-fns.el (w32-charset-info-alist): Declare.
15725
15726 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15727 of its defcustom properties.
15728 (eshell-cmpl-initialize): No need to load pcomplete.
15729
15730 * generic-x.el: No need to require comint when compiling.
15731
15732 * net/eudc-export.el: Make it loadable without bbdb.
15733 (top-level): Use require rather than load-library.
15734 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15735 (eudc-batch-export-records-to-bbdb)
15736 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15737 Require bbdb.
15738
15739 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15740
15741 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15742 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15743 some tweaks, instead.
15744
15745 2013-05-05 Leo Liu <sdl.web@gmail.com>
15746
15747 * progmodes/octave.el (octave-font-lock-keywords)
15748 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15749 (inferior-octave-send-list-and-digest): Improve error message.
15750 (octave-mode, inferior-octave-mode): Use setq-local.
15751 (octave-help): Set info-lookup-mode.
15752
15753 2013-05-05 Richard Stallman <rms@gnu.org>
15754
15755 * vc/compare-w.el (compare-windows-whitespace):
15756 Treat no-break space as whitespace.
15757
15758 * mail/rmailsum.el (rmail-summary-rmail-update):
15759 Detect empty summary and don't change selected message.
15760 (rmail-summary-goto-msg): Likewise.
15761
15762 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15763 Doc fixes, rename args.
15764
15765 2013-05-05 Alan Mackenzie <acm@muc.de>
15766
15767 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15768
15769 2013-05-05 Juri Linkov <juri@jurta.org>
15770
15771 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15772 to not add the length of the summary segment to the return value.
15773 (Bug#14125)
15774
15775 2013-05-05 Leo Liu <sdl.web@gmail.com>
15776
15777 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15778 (inferior-octave-output-filter): Remove.
15779 (octave-send-region, inferior-octave-startup): Fix callers.
15780 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15781 (octave-binary-file-extensions): New user variable.
15782 (octave-find-definition): Confirm if opening binary files.
15783 (octave-help-file): Use octave-find-definition to get the binary
15784 confirmation.
15785 (octave-help): Adjust for octave-help-file change.
15786
15787 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15788
15789 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15790 Merge the two entries that handle function definitions.
15791 (pascal--syntax-propertize): New const.
15792 (pascal-mode): Use it. Use setq-local.
15793
15794 2013-05-04 Glenn Morris <rgm@gnu.org>
15795
15796 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15797 (diary-from-outlook): Respect diary-from-outlook-function.
15798
15799 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15800
15801 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15802 Move the declaration from C.
15803 (read-minibuffer, eval-minibuffer): Move from C.
15804 (completion-setup-function): Avoid minibuffer-completion-contents.
15805
15806 2013-05-03 Leo Liu <sdl.web@gmail.com>
15807
15808 * progmodes/octave.el (octave-font-lock-keywords): Do not
15809 dehighlight 'end' in comments or strings.
15810 (octave-completing-read, octave-goto-function-definition):
15811 New helpers.
15812 (octave-help-buffer): New user variable.
15813 (octave-help-file, octave-help-function): New button types.
15814 (octave-help): New command and bind it to C-h ;.
15815 (octave-find-definition): New command and bind it to M-.
15816 (user-error): Alias to error if not defined.
15817
15818 2013-05-02 Leo Liu <sdl.web@gmail.com>
15819
15820 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15821 for \. (bug#14332)
15822 (octave-font-lock-keywords): Include [ and {.
15823
15824 2013-05-02 Leo Liu <sdl.web@gmail.com>
15825
15826 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15827 (inferior-octave): Remove calling comint-mode and return the buffer.
15828 (inferior-octave-startup): Cosmetic changes.
15829
15830 2013-05-02 Leo Liu <sdl.web@gmail.com>
15831
15832 * progmodes/octave.el (octave-syntax-propertize-function):
15833 Include the case when ' is at line beginning. (Bug#14336)
15834
15835 2013-05-02 Glenn Morris <rgm@gnu.org>
15836
15837 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15838 * desktop.el (vc-dir-mode): Just autoload it here.
15839
15840 2013-05-02 Alan Mackenzie <acm@muc.de>
15841
15842 Eliminate variable c-standard-font-lock-fontify-region-function.
15843 * progmodes/cc-mode.el
15844 (c-standard-font-lock-fontify-region-function): Remove.
15845 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15846
15847 2013-05-01 Leo Liu <sdl.web@gmail.com>
15848
15849 * progmodes/octave.el: Compatible with older emacs-24 releases.
15850 (inferior-octave-has-built-in-variables): Remove. Built-in
15851 variables were removed from Octave in 2007.
15852 (inferior-octave-startup): Fix uses.
15853 (comint-line-beginning-position): Remove compatibility code for
15854 emacs 21.
15855
15856 2013-05-01 Juri Linkov <juri@jurta.org>
15857
15858 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15859
15860 2013-05-01 Juri Linkov <juri@jurta.org>
15861
15862 * comint.el (comint-previous-matching-input): Don't print message
15863 "History item: %d" when `isearch-mode' is active.
15864 (comint-history-isearch-message): Print message "History item: %d"
15865 when `comint-input-ring-index' is not empty and this function is
15866 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15867
15868 2013-05-01 Leo Liu <sdl.web@gmail.com>
15869
15870 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15871 definitions. Use completion-at-point to insert keywords.
15872 (octave-abbrev-start): Remove.
15873 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15874
15875 2013-04-30 Leo Liu <sdl.web@gmail.com>
15876
15877 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15878 change.
15879
15880 2013-04-30 Alan Mackenzie <acm@muc.de>
15881
15882 Handle arbitrarily long C++ member initialisation lists.
15883 * progmodes/cc-engine.el (c-back-over-member-initializers):
15884 new function.
15885 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15886 (most) member init lists.
15887
15888 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15889
15890 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15891 variable.
15892
15893 2013-04-30 Leo Liu <sdl.web@gmail.com>
15894
15895 * progmodes/octave.el (octave-variables): Remove. No builtin
15896 variables any more. All converted to functions.
15897 (octave-font-lock-keywords, octave-completion-at-point-function):
15898 Fix uses.
15899 (octave-font-lock-texinfo-comment): New user variable.
15900 (octave-texinfo-font-lock-keywords): New variable for texinfo
15901 comment block.
15902 (octave-function-comment-block): New face.
15903 (octave-font-lock-texinfo-comment): New function.
15904 (octave-mode): Font lock texinfo comment block.
15905
15906 2013-04-29 Leo Liu <sdl.web@gmail.com>
15907
15908 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15909 indexing expression.
15910 (octave-continuation-string): Do not use \.
15911 (inferior-octave-complete-impossible): Remove.
15912 (inferior-octave-completion-table)
15913 (inferior-octave-completion-at-point): Remove its uses.
15914 (inferior-octave-startup): completion_matches was introduced to
15915 Octave in 1996 so safe to assume it.
15916 (octave-function-file-comment): Improve to follow how Octave does it.
15917 (octave-update-function-file-comment): Tweak.
15918
15919 2013-04-29 Leo Liu <sdl.web@gmail.com>
15920
15921 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15922 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15923 (octave-function-file-comment): Fix typo.
15924 (octave-sync-function-file-names): Use read-char-choice.
15925
15926 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15927
15928 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15929 to t for the less important warnings.
15930
15931 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15932
15933 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15934
15935 2013-04-27 Glenn Morris <rgm@gnu.org>
15936
15937 * vc/log-view.el (log-view-current-entry):
15938 Treat "---" separator lines as part of the following rev. (Bug#14169)
15939
15940 2013-04-27 Juri Linkov <juri@jurta.org>
15941
15942 * subr.el (read-number): Doc fix about using it by interactive
15943 code letter `n'. (Bug#14254)
15944
15945 2013-04-27 Juri Linkov <juri@jurta.org>
15946
15947 * desktop.el (desktop-auto-save-timeout): New option.
15948 (desktop-file-checksum): New variable.
15949 (desktop-save): Add optional arg `auto-save' and don't auto-save
15950 if nothing changed.
15951 (desktop-auto-save-timer): New variable.
15952 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15953 (after-init-hook): Call `desktop-auto-save-set-timer'.
15954 Suggested by Reuben Thomas <rrt@sc3d.org> in
15955 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15956
15957 2013-04-27 Leo Liu <sdl.web@gmail.com>
15958
15959 * progmodes/octave.el (octave-function-file-p)
15960 (octave-skip-comment-forward, octave-function-file-comment)
15961 (octave-update-function-file-comment): New functions.
15962 (octave-mode-map): Bind C-c ; to
15963 octave-update-function-file-comment.
15964 (octave-mode-menu): Add octave-update-function-file-comment.
15965 (octave-mode, inferior-octave-mode): Fix doc-string.
15966 (octave-insert-defun): Conform to Octave's coding convention.
15967 (Bug#14285)
15968
15969 * files.el (basic-save-buffer): Don't let errors in
15970 before-save-hook prevent saving buffer.
15971
15972 2013-04-20 Roland Winkler <winkler@gnu.org>
15973
15974 * faces.el (read-face-name): Use completing-read if arg multiple
15975 is nil.
15976
15977 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15978
15979 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15980 displayed, move point to after the totals line.
15981 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15982 for the details.
15983
15984 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15985
15986 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15987 Add current dir to the load-path.
15988 (package-generate-autoloads): Don't rely on
15989 autoload-ensure-default-file.
15990
15991 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15992
15993 * textmodes/remember.el (remember-store-in-files): Document that
15994 the file name format is passed to `format-time-string'.
15995
15996 2013-04-26 Leo Liu <sdl.web@gmail.com>
15997
15998 * progmodes/octave.el (octave-sync-function-file-names): New function.
15999 (octave-mode): Use it in before-save-hook.
16000
16001 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
16002
16003 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
16004 (bug#14274).
16005
16006 * progmodes/octave.el (octave-smie-forward-token): Properly skip
16007 \n and comment, even if it's not an implicit ; (bug#14218).
16008
16009 2013-04-26 Glenn Morris <rgm@gnu.org>
16010
16011 * subr.el (read-number): Once more use `read' rather than
16012 `string-to-number', to trap non-numeric input. (Bug#14254)
16013
16014 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
16015
16016 * emacs-lisp/syntax.el (syntax-propertize-multiline):
16017 Use `syntax-multiline' text property consistently instead of
16018 `font-lock-multiline'. (Bug#14237)
16019
16020 2013-04-26 Glenn Morris <rgm@gnu.org>
16021
16022 * emacs-lisp/shadow.el (list-load-path-shadows):
16023 No longer necessary to check for duplicate simple.el, since
16024 2012-07-07 change to init_lread to not include installation lisp
16025 directories in load-path when running uninstalled. (Bug#14270)
16026
16027 2013-04-26 Leo Liu <sdl.web@gmail.com>
16028
16029 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
16030 (octave-mode, inferior-octave-mode): Use setq-local.
16031 (octave-not-in-string-or-comment-p): Rename to
16032 octave-in-string-or-comment-p.
16033 (octave-in-comment-p, octave-in-string-p)
16034 (octave-in-string-or-comment-p): Replace defsubst with defun.
16035
16036 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
16037
16038 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
16039
16040 2013-04-25 Bastien Guerry <bzg@gnu.org>
16041
16042 * textmodes/remember.el (remember-data-directory)
16043 (remember-directory-file-name-format): Fix custom types.
16044
16045 2013-04-25 Leo Liu <sdl.web@gmail.com>
16046
16047 * progmodes/octave.el (octave-completion-at-point-function):
16048 Make use of inferior octave process.
16049 (octave-initialize-completions): Remove.
16050 (inferior-octave-completion-table): New function.
16051 (inferior-octave-completion-at-point): Use it.
16052 (octave-completion-alist): Remove.
16053
16054 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16055
16056 * progmodes/opascal.el: Use font-lock and syntax-propertize.
16057 (opascal-mode-syntax-table): New var.
16058 (opascal-literal-kind, opascal-is-literal-end)
16059 (opascal-literal-token-at): Rewrite.
16060 (opascal--literal-start-re, opascal-font-lock-keywords)
16061 (opascal--syntax-propertize): New constants.
16062 (opascal-font-lock-defaults): Adjust.
16063 (opascal-mode): Use them. Set comment-<foo> variables as well.
16064 (delphi-comment-face, opascal-comment-face, delphi-string-face)
16065 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
16066 (delphi-other-face, opascal-other-face): Remove face variables.
16067 (opascal-save-state): Remove macro.
16068 (opascal-fontifying-progress-step): Remove constant.
16069 (opascal--ignore-changes): Remove var.
16070 (opascal-set-token-property, opascal-parse-next-literal)
16071 (opascal-is-stable-literal, opascal-complete-literal)
16072 (opascal-is-literal-start, opascal-face-of)
16073 (opascal-parse-region, opascal-parse-region-until-stable)
16074 (opascal-fontify-region, opascal-after-change)
16075 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
16076 (opascal-debug-parse-region, opascal-debug-parse-window)
16077 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
16078 (opascal-debug-fontify-buffer): Remove.
16079 (opascal-debug-mode-map): Adjust accordingly.
16080
16081 2013-04-25 Leo Liu <sdl.web@gmail.com>
16082
16083 Merge octave-mod.el and octave-inf.el into octave.el with some
16084 cleanups.
16085 * progmodes/octave.el: New file renamed from octave-mod.el.
16086 * progmodes/octave-inf.el: Merged into octave.el.
16087 * progmodes/octave-mod.el: Renamed to octave.el.
16088
16089 2013-04-25 Tassilo Horn <tsdh@gnu.org>
16090
16091 * textmodes/reftex-vars.el
16092 (reftex-label-ignored-macros-and-environments): New defcustom.
16093
16094 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
16095
16096 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16097
16098 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
16099 (smie-indent-keyword): Improve the check to ensure that the next
16100 comment is really on the same line.
16101 (smie-indent-comment): Don't align with a subsequent closer (or eob).
16102
16103 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
16104 semi-colons if the line is not otherwise empty (bug#14218).
16105
16106 2013-04-25 Glenn Morris <rgm@gnu.org>
16107
16108 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
16109
16110 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
16111
16112 * progmodes/opascal.el (opascal-set-token-property): Rename from
16113 opascal-set-text-properties and only set `token' (bug#14134).
16114 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
16115 (opascal-literal-text-properties): Remove.
16116 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
16117 Adjust callers.
16118
16119 2013-04-24 Reuben Thomas <rrt@sc3d.org>
16120
16121 * textmodes/remember.el (remember-handler-functions): Add an
16122 option for a new handler `remember-store-in-files'.
16123 (remember-data-directory, remember-directory-file-name-format):
16124 New options.
16125 (remember-store-in-files): New function to store remember notes
16126 as separate files within a directory.
16127
16128 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
16129
16130 * progmodes/compile.el (compilation-next-error-function):
16131 Pass "formats" to compilation-find-file (bug#11777).
16132
16133 2013-04-24 Glenn Morris <rgm@gnu.org>
16134
16135 * vc/vc-bzr.el (vc-bzr-print-log):
16136 * vc/vc-hg.el (vc-hg-print-log):
16137 * vc/vc-svn.el (vc-svn-print-log):
16138 Fix START-REVISION with LIMIT != 1. (Bug#14168)
16139
16140 * vc/vc-bzr.el (vc-bzr-print-log):
16141 * vc/vc-cvs.el (vc-cvs-print-log):
16142 * vc/vc-git.el (vc-git-print-log):
16143 * vc/vc-hg.el (vc-hg-print-log):
16144 * vc/vc-mtn.el (vc-mtn-print-log):
16145 * vc/vc-rcs.el (vc-rcs-print-log):
16146 * vc/vc-sccs.el (vc-sccs-print-log):
16147 * vc/vc-svn.el (vc-svn-print-log):
16148 * vc/vc.el (vc-print-log-internal): Doc fixes.
16149
16150 2013-04-23 Glenn Morris <rgm@gnu.org>
16151
16152 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
16153 Remove venerable code attempting to avoid substitute-command-keys.
16154
16155 2013-04-23 Tassilo Horn <tsdh@gnu.org>
16156
16157 * textmodes/reftex-vars.el (reftex-label-regexps):
16158 Call `reftex-compile-variables' after changes to this variable.
16159
16160 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
16161
16162 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
16163 Use lexical-binding.
16164 (jit-lock-force-redisplay): Use markers, check buffer's continued
16165 existence and beware narrowed buffers.
16166 (jit-lock-fontify-now): Adjust call accordingly.
16167
16168 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
16169
16170 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
16171 to avoid misleading the user.
16172
16173 2013-04-22 Leo Liu <sdl.web@gmail.com>
16174
16175 * info-look.el: Prefer latex2e.info. (Bug#14240)
16176
16177 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
16178
16179 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
16180
16181 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
16182 * net/tramp.el (tramp-call-process): ... here.
16183 (tramp-set-completion-function, tramp-parse-putty):
16184 * net/tramp-adb.el (tramp-adb-execute-adb-command):
16185 * net/tramp-gvfs.el (tramp-gvfs-send-command):
16186 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
16187 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
16188 (tramp-call-local-coding-command): Use `tramp-call-process'
16189 instead of `tramp-compat-call-process'.
16190
16191 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
16192 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
16193 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
16194 (tramp-find-inline-compress): Improve traces.
16195 (tramp-maybe-send-script): Check for Perl binary.
16196 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
16197
16198 2013-04-22 Daiki Ueno <ueno@gnu.org>
16199
16200 * epg.el (epg-context-pinentry-mode): New function.
16201 (epg-context-set-pinentry-mode): New function.
16202 (epg--start): Pass --pinentry-mode option to gpg command.
16203
16204 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
16205
16206 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
16207 `comint-dynamic-complete' is obsolete since 24.1, replaced by
16208 `completion-at-point'. (Bug#13774)
16209
16210 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
16211 default key binding for `describe-distribution' has been moved to
16212 `C-h C-o'. (Bug#13970)
16213
16214 2013-04-21 Glenn Morris <rgm@gnu.org>
16215
16216 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
16217 Add doc strings.
16218 (vc-print-log): Clarify interactive prompt.
16219
16220 2013-04-20 Glenn Morris <rgm@gnu.org>
16221
16222 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
16223 No longer include timestamp etc information.
16224
16225 2013-04-20 Roland Winkler <winkler@gnu.org>
16226
16227 * faces.el (read-face-name): Bug fix, return just one face if arg
16228 multiple is nil. (Bug#14209)
16229
16230 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16231
16232 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
16233 (remove-function): Autoload.
16234
16235 * comint.el (comint-redirect-original-filter-function): Remove.
16236 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
16237 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
16238 (vc-cvs-annotate-command):
16239 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
16240 * progmodes/prolog.el (prolog-consult-compile):
16241 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
16242 Use add/remove-function instead.
16243 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
16244 (gud-tooltip-process-output, gud-tooltip-tips):
16245 Use add/remove-function instead.
16246 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
16247 (scheme-interaction-mode, exit-scheme-interaction-mode):
16248 Use add/remove-function instead.
16249
16250 * vc/vc-dispatcher.el: Use lexical-binding.
16251 (vc--process-sentinel): Rename from vc-process-sentinel.
16252 Change last arg to be the code to run. Don't use vc-previous-sentinel
16253 and vc-sentinel-commands any more.
16254 (vc-exec-after): Allow code to be a function. Use add/remove-function.
16255 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
16256
16257 2013-04-19 Masatake YAMATO <yamato@redhat.com>
16258
16259 * progmodes/sh-script.el (sh-imenu-generic-expression):
16260 Handle function names with a single character. (Bug#14111)
16261
16262 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
16263
16264 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
16265 for subroutines defined in an eval (bug#14182).
16266
16267 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16268
16269 * bookmark.el (bookmark-completing-read): Improve handling of empty
16270 string (bug#14176).
16271
16272 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16273
16274 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
16275
16276 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
16277
16278 New faster Imenu implementation (bug#14058).
16279 * progmodes/python.el:
16280 (python-imenu-prev-index-position):
16281 (python-imenu-format-item-label-function)
16282 (python-imenu-format-parent-item-label-function)
16283 (python-imenu-format-parent-item-jump-label-function):
16284 New vars.
16285 (python-imenu-format-item-label)
16286 (python-imenu-format-parent-item-label)
16287 (python-imenu-format-parent-item-jump-label)
16288 (python-imenu--put-parent, python-imenu--build-tree)
16289 (python-imenu-create-index, python-imenu-create-flat-index)
16290 (python-util-popn): New functions.
16291 (python-mode): Set imenu-create-index-function to
16292 python-imenu-create-index.
16293
16294 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16295
16296 * winner.el (winner-active-region): Use region-active-p, activate-mark
16297 and deactivate-mark (bug#14225).
16298
16299 * simple.el (deactivate-mark): Don't inline it.
16300
16301 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
16302
16303 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
16304
16305 2013-04-18 Tassilo Horn <tsdh@gnu.org>
16306
16307 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
16308 file extensions from the archive-mode entry in order to prefer
16309 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
16310
16311 2013-04-18 Leo Liu <sdl.web@gmail.com>
16312
16313 * bindings.el (help-event-list): Add ?\?.
16314
16315 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16316
16317 * subr.el (with-wrapper-hook): Declare obsolete.
16318 * simple.el (filter-buffer-substring-function): New hook.
16319 (filter-buffer-substring): Use it.
16320 (filter-buffer-substring-functions): Mark obsolete.
16321 * minibuffer.el (completion-in-region-function): New hook.
16322 (completion-in-region): Use it.
16323 (completion-in-region-functions): Mark obsolete.
16324 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
16325 * abbrev.el (abbrev-expand-function): New hook.
16326 (expand-abbrev): Use it.
16327 (abbrev-expand-functions): Mark obsolete.
16328 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
16329 and :filter-return.
16330
16331 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16332
16333 * progmodes/python.el (python-nav--syntactically): Fix cornercases
16334 and do not care about match data.
16335
16336 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16337
16338 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
16339 completion tables when completing error conditions and
16340 `declare' arguments.
16341 (lisp-complete-symbol, field-complete): Mark as obsolete.
16342 (check-parens): Unmatched parens are user errors.
16343 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
16344
16345 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
16346
16347 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
16348 command changed buffer (ie. `flyspell-pre-buffer' is not current
16349 buffer), which prevents making decisions based on invalid value of
16350 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
16351 cause an error when `flyspell-pre-point' was nil after switching
16352 buffers.
16353 (flyspell-post-command-hook): No longer needs to change buffers when
16354 checking pre-word. While at it remove unnecessary progn.
16355
16356 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
16357
16358 * textmodes/ispell.el (ispell-add-per-file-word-list):
16359 Fix `flyspell-correct-word-before-point' error when accepting
16360 words and `coment-padding' is an integer by using
16361 `comment-normalize-vars' (Bug #14214).
16362
16363 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16364
16365 New defun movement commands.
16366 * progmodes/python.el (python-nav--syntactically)
16367 (python-nav--forward-defun, python-nav-backward-defun)
16368 (python-nav-forward-defun): New functions.
16369
16370 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16371
16372 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
16373 (python-syntax-context): Use named compiler-macro for backwards
16374 compatibility with Emacs 24.x.
16375
16376 2013-04-17 Leo Liu <sdl.web@gmail.com>
16377
16378 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
16379 octave-hide-process-buffer.
16380
16381 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16382
16383 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
16384 (bug#14216).
16385
16386 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
16387
16388 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
16389 Fix adjustment of offset when receiving incomplete responses from GDB
16390 (bug#14129).
16391
16392 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16393
16394 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
16395 python-mode-abbrev-table.
16396 (python-skeleton-define): Adjust accordingly.
16397 (python-mode-abbrev-table): New table that inherits from it so that
16398 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
16399
16400 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
16401 (abbrev-symbol): Use it.
16402 (abbrev--before-point): Use it since we already handle inheritance.
16403
16404 2013-04-16 Leo Liu <sdl.web@gmail.com>
16405
16406 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
16407 binding to info-lookup-symbol.
16408
16409 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
16410
16411 * minibuffer.el (completion--twq-all):
16412 * term/ns-win.el (ns-initialize-window-system):
16413 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
16414
16415 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16416
16417 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
16418 global bindings.
16419
16420 * doc-view.el (doc-view-start-process): Handle url-handler directories.
16421
16422 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
16423
16424 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
16425 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
16426 to nil.
16427 (ruby-end-of-defun): Remove the unused arg, change the docstring
16428 to reflect that this function is only used as the value of
16429 `end-of-defun-function'.
16430 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
16431 to reflect an earlier change that beginning/end-of-defun functions
16432 jump between methods in a class definition, as well as top-level
16433 functions.
16434
16435 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16436
16437 * minibuffer.el (minibuffer-complete): Don't just scroll
16438 a *Completions* that's been iconified.
16439 (minibuffer-force-complete): Make sure repetitions do cycle when going
16440 through completion-in-region -> minibuffer-complete.
16441
16442 2013-04-15 Alan Mackenzie <acm@muc.de>
16443
16444 Correct the placement of c-cpp-delimiters when there're #s not at
16445 col 0.
16446
16447 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
16448 place a submatch around the #.
16449 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
16450 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
16451 on the #, not BOL.
16452
16453 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16454
16455 * emacs-lisp/nadvice.el: Properly test names when adding advice.
16456 (advice--member-p): New arg `name'.
16457 (advice--add-function, advice-member-p): Use it (bug#14202).
16458
16459 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
16460
16461 Reformulate java imenu-generic-expression.
16462 The old expression contained ill formed regexps.
16463
16464 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
16465 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
16466 (cc-imenu-java-method-arg-regexp): New defconsts.
16467 (cc-imenu-java-build-type-args-regex): New defun.
16468 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
16469 handling of spaces in the regexp.
16470
16471 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16472
16473 * textmodes/ispell.el (ispell-command-loop): Remove
16474 flyspell highlight of a word when ispell accepts it (bug #14178).
16475
16476 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
16477
16478 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
16479 uses code from the previous `ange-ftp-run-real-handler'.
16480 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
16481 only in case that function exist. This is needed for proper
16482 unloading of Tramp.
16483
16484 2013-04-15 Tassilo Horn <tsdh@gnu.org>
16485
16486 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
16487
16488 * textmodes/reftex.el (reftex-compile-variables): Use it.
16489
16490 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16491
16492 * files.el (normal-mode): Only use default major-mode if no other mode
16493 was specified.
16494
16495 * emacs-lisp/trace.el (trace-values): New function.
16496
16497 * files.el: Allow : in local variables (bug#14089).
16498 (hack-local-variable-regexp): New var.
16499 (hack-local-variables-prop-line, hack-local-variables): Use it.
16500
16501 2013-04-13 Roland Winkler <winkler@gnu.org>
16502
16503 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
16504 data before it gets modified by bibtex-beginning-of-entry.
16505
16506 2013-04-13 Roland Winkler <winkler@gnu.org>
16507
16508 * textmodes/bibtex.el (bibtex-url): Doc fix.
16509
16510 2013-04-13 Roland Winkler <winkler@gnu.org>
16511
16512 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
16513 does not visit a BibTeX file, exclude it from the list of buffers
16514 returned by bibtex-initialize.
16515
16516 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
16517
16518 * window.el (split-window): Remove interactive form, since as a
16519 command this function is a special case of split-window-below.
16520 Correct doc string.
16521
16522 2013-04-12 Roland Winkler <winkler@gnu.org>
16523
16524 * faces.el (read-face-name): Do not override value of arg default.
16525 Allow single faces and strings as default values. Remove those
16526 elements from return value that are not faces.
16527 (describe-face): Simplify.
16528 (face-at-point): New optional args thing and multiple so that this
16529 function can provide the same functionality previously provided by
16530 read-face-name.
16531 (make-face-bold, make-face-unbold, make-face-italic)
16532 (make-face-unitalic, make-face-bold-italic, invert-face)
16533 (modify-face, read-face-and-attribute): Use face-at-point.
16534
16535 * cus-edit.el (customize-face, customize-face-other-window)
16536 * cus-theme.el (custom-theme-add-face)
16537 * face-remap.el (buffer-face-set)
16538 * facemenu.el (facemenu-set-face): Use face-at-point.
16539
16540 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
16541
16542 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
16543
16544 2013-04-10 Tassilo Horn <tsdh@gnu.org>
16545
16546 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
16547 off leading { and trailing } from field values.
16548
16549 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16550
16551 * emacs-lisp/timer.el (timer--check): New function.
16552 (timer--time, timer-set-function, timer-event-handler): Use it.
16553 (timer-set-idle-time): Simplify.
16554 (timer--activate): CSE.
16555 (timer-event-handler): Give more info in error message.
16556 (internal-timer-start-idle): New function, moved from C.
16557
16558 * mpc.el (mpc-proc): Add `restart' argument.
16559 (mpc-proc-cmd): Use it.
16560 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
16561 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
16562 less often.
16563
16564 2013-04-10 Masatake YAMATO <yamato@redhat.com>
16565
16566 * progmodes/sh-script.el: Implement `sh-mode' own
16567 `add-log-current-defun-function' (bug#14112).
16568 (sh-current-defun-name): New function.
16569 (sh-mode): Use the function.
16570
16571 2013-04-09 Bastien Guerry <bzg@gnu.org>
16572
16573 * simple.el (choose-completion-string): Fix docstring (bug#14163).
16574
16575 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
16576
16577 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16578
16579 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16580 timer (bug#14156).
16581
16582 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
16583
16584 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16585 declaration.
16586
16587 2013-04-07 Leo Liu <sdl.web@gmail.com>
16588
16589 * pcmpl-x.el: New file.
16590
16591 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
16592
16593 Do not set x-display-name until X connection is established.
16594 This is needed to prevent from weird situation described at
16595 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16596 * frame.el (make-frame): Set x-display-name after call to
16597 window system initialization function, not before.
16598 * term/x-win.el (x-initialize-window-system): Add optional
16599 display argument and use it.
16600 * term/w32-win.el (w32-initialize-window-system):
16601 * term/ns-win.el (ns-initialize-window-system):
16602 * term/pc-win.el (msdos-initialize-window-system):
16603 Add compatible optional display argument.
16604
16605 2013-04-06 Eli Zaretskii <eliz@gnu.org>
16606
16607 * files.el (normal-backup-enable-predicate): On MS-Windows and
16608 MS-DOS compare truenames of temporary-file-directory and of the
16609 file, so that 8+3 aliases (usually found in $TEMP on Windows)
16610 don't fail comparison by compare-strings. Also, compare file
16611 names case-insensitively on MS-Windows and MS-DOS.
16612
16613 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16614
16615 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16616 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16617
16618 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
16619
16620 * whitespace.el (whitespace-color-on, whitespace-color-off):
16621 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16622
16623 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
16624
16625 * ispell.el (ispell-set-spellchecker-params):
16626 Really set `ispell-args' for all equivs.
16627
16628 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16629
16630 * ido.el (ido-completions): Use extra elements of ido-decorations
16631 (bug#14143).
16632 (ido-decorations): Update docstring.
16633
16634 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
16635
16636 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16637 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16638 nil during initialization, in order not to miss changes since the
16639 file was opened. (Bug#14140)
16640
16641 2013-04-05 Leo Liu <sdl.web@gmail.com>
16642
16643 * kmacro.el (kmacro-call-macro): Fix bug#14135.
16644
16645 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
16646
16647 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16648
16649 2013-04-04 Glenn Morris <rgm@gnu.org>
16650
16651 * electric.el (electric-pair-inhibit-predicate): Add :version.
16652
16653 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16654
16655 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16656 when a package is required several times (bug#14082).
16657
16658 2013-04-04 Roland Winkler <winkler@gnu.org>
16659
16660 * faces.el (read-face-name): Behave as promised by the docstring.
16661 Assume that arg default is a list of faces.
16662 (describe-face): Call read-face-name with list of default faces.
16663
16664 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16665
16666 * bookmark.el: Fix deletion of bookmarks (bug#13972).
16667 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16668 (bookmark-bmenu-execute-deletions): Only skip first line if it's
16669 the header.
16670 (bookmark-exit-hook-internal): Save even if list is empty.
16671
16672 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
16673
16674 * emacs-lisp/package.el (package-pinned-packages): New var.
16675 (package--add-to-archive-contents): Obey it (bug#14118).
16676
16677 2013-04-03 Alan Mackenzie <acm@muc.de>
16678
16679 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16680 Also adapt to the new values of element 7 of a parse state.
16681
16682 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16683 parameter `not-in-delimiter'. Handle being inside comment opener.
16684 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16685 character in case we're typing a '*' after a '/'.
16686 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16687 instead by passing the parameter to c-state-pp-to-literal.
16688
16689 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16690 for elt. 7 of a parse state.
16691
16692 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16693
16694 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16695 * international/latin1-disp.el, international/mule-util.el:
16696 * language/cyril-util.el, language/european.el, language/ind-util.el:
16697 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16698 * language/tibetan.el, language/viet-util.el:
16699 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16700
16701 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16702
16703 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16704 (electric-pair-post-self-insert-function): Use it.
16705 (electric-pair-default-inhibit): New function, extracted from
16706 electric-pair-post-self-insert-function.
16707
16708 2013-03-31 Roland Winkler <winkler@gnu.org>
16709
16710 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16711
16712 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16713
16714 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16715
16716 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
16717
16718 Un-indent after "pass" and "return" statements (Bug#13888)
16719 * progmodes/python.el (python-indent-block-enders): New var.
16720 (python-indent-calculate-indentation): Use it.
16721
16722 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
16723
16724 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16725 defun. Defining it as defalias could introduce too eager
16726 byte-compiler optimization. (Bug#14030)
16727
16728 2013-03-30 Chong Yidong <cyd@gnu.org>
16729
16730 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16731
16732 2013-03-30 Leo Liu <sdl.web@gmail.com>
16733
16734 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16735 (kmacro-execute-from-register): Pass the keyboard macro to
16736 kmacro-call-macro or repeating won't work correctly.
16737
16738 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16739
16740 * progmodes/subword.el: Back to using `forward-symbol'.
16741
16742 * subr.el (forward-whitespace, forward-symbol)
16743 (forward-same-syntax): Move from thingatpt.el.
16744
16745 2013-03-29 Leo Liu <sdl.web@gmail.com>
16746
16747 * kmacro.el (kmacro-to-register): New command.
16748 (kmacro-execute-from-register): New function.
16749 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16750
16751 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16752
16753 * mpc.el: Use defvar-local and setq-local.
16754 (mpc--proc-connect): Connection failures are not bugs.
16755 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16756 (mpc-volume-map): Bind to the up-events.
16757
16758 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16759
16760 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16761 instead of `forward-symbol'.
16762
16763 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16764
16765 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16766 (edebug--recursive-edit): Use it.
16767 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16768 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16769
16770 2013-03-28 Leo Liu <sdl.web@gmail.com>
16771
16772 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16773
16774 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16775
16776 * facemenu.el (list-colors-callback): New defvar.
16777 (list-colors-redisplay): New function.
16778 (list-colors-display): Install list-colors-redisplay as the
16779 revert-buffer-function. (Bug#14063)
16780
16781 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16782
16783 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16784 and suffixes don't overlap (bug#14061).
16785
16786 * case-table.el: Use lexical-binding.
16787 (case-table-get-table): New function.
16788 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16789
16790 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16791
16792 * progmodes/subword.el: Add `superword-mode' to do word motion
16793 over symbol_words (parallels and leverages `subword-mode' which
16794 does word motion inside MixedCaseWords).
16795
16796 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16797
16798 * eshell/em-unix.el: Move su and sudo to...
16799 * eshell/em-tramp.el: ...Eshell tramp module.
16800
16801 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16802
16803 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16804 Change return value to be a sexp. Delay `get-buffer' to after
16805 restoring the desktop (bug#13951).
16806
16807 2013-03-26 Leo Liu <sdl.web@gmail.com>
16808
16809 * register.el: Move semantic tag handling back to
16810 cedet/semantic/senator.el. (Bug#14052)
16811
16812 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16813
16814 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16815 into the prompt either (bug#13963).
16816
16817 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16818
16819 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16820 part of "(error-foo)".
16821
16822 2013-03-24 Juri Linkov <juri@jurta.org>
16823
16824 * replace.el (list-matching-lines-prefix-face): New defcustom.
16825 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16826 `occur-engine' if `face-differs-from-default-p' returns t.
16827 (occur-engine): Add `,' inside backquote construct to evaluate
16828 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16829 Pass `prefix-face' to the functions `occur-context-lines' and
16830 `occur-engine-add-prefix'.
16831 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16832 `prefix-face' and propertize the prefix with `prefix-face'.
16833 (Bug#14017)
16834
16835 2013-03-24 Leo Liu <sdl.web@gmail.com>
16836
16837 * nxml/rng-valid.el (rng-validate-while-idle)
16838 (rng-validate-quick-while-idle): Guard against deleted buffer.
16839 (Bug#13999)
16840
16841 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16842 is the last entry in kill-buffer-hook.
16843
16844 * files.el (kill-buffer-hook): Doc fix.
16845
16846 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16847
16848 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16849 Make it safe-local.
16850
16851 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16852
16853 2013-03-23 Leo Liu <sdl.web@gmail.com>
16854
16855 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16856 Remove.
16857
16858 * nxml/rng-valid.el (rng-validate-mode)
16859 (rng-after-change-function, rng-do-some-validation):
16860 * nxml/rng-maint.el (rng-validate-buffer):
16861 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16862 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16863 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16864 (nxml-extend-after-change-region): Use with-silent-modifications.
16865
16866 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16867 timer-idle-list.
16868
16869 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16870 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16871 timer-idle-list. (Bug#13999)
16872
16873 2013-03-23 Juri Linkov <juri@jurta.org>
16874
16875 * info.el (info-index-match): New face.
16876 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16877 main pattern and add text properties with the new face to matches
16878 in index entries relative to the beginning of the index entry.
16879 (Bug#14015)
16880
16881 2013-03-21 Eric Ludlam <zappo@gnu.org>
16882
16883 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16884 Inhibit read only while inserting objects.
16885
16886 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16887
16888 * progmodes/cfengine.el: Update docs to mention
16889 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16890 symbol motion. Remove "_" from the word syntax.
16891
16892 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16893
16894 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16895 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16896
16897 2013-03-20 Juri Linkov <juri@jurta.org>
16898
16899 * info.el (Info-next-reference-or-link)
16900 (Info-prev-reference-or-link): New functions.
16901 (Info-next-reference, Info-prev-reference): Use them.
16902 (Info-try-follow-nearest-node): Handle footnote navigation.
16903 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16904
16905 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16906
16907 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16908 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16909
16910 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16911
16912 Suppress unnecessary non-ASCII chatter during build process.
16913 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16914 (batch-skkdic-convert): Suppress most of the chatter.
16915 It's not needed so much now that machines are faster,
16916 and its non-ASCII component was confusing; see Dmitry Gutov in
16917 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16918
16919 2013-03-20 Leo Liu <sdl.web@gmail.com>
16920
16921 * ido.el (ido-chop): Fix bug#10994.
16922
16923 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16924
16925 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16926 Remove vars.
16927 (whitespace-color-on, whitespace-color-off):
16928 Use `font-lock-fontify-buffer' (Bug#13817).
16929
16930 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16931
16932 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16933 remapping in mode-line.
16934 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16935
16936 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16937
16938 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16939 value for `whitespace-line' face (Bug#13875).
16940 (whitespace-font-lock-keywords): Change description.
16941 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16942 the constructed keywords instead.
16943 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16944
16945 2013-03-19 Leo Liu <sdl.web@gmail.com>
16946
16947 * progmodes/compile.el (compilation-display-error): New command.
16948 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16949 C-o. (Bug#13992)
16950
16951 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16952
16953 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16954
16955 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16956
16957 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16958
16959 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16960
16961 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16962
16963 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16964 * net/tramp-gvfs.el (top):
16965 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16966 (tramp-handle-shell-command): Use it.
16967 (tramp-dissect-file-name): Raise an error when hostname is a
16968 method name, and neither method nor user is specified.
16969
16970 * net/trampver.el: Update release number.
16971
16972 2013-03-18 Leo Liu <sdl.web@gmail.com>
16973
16974 Make sure eldoc can be turned off properly.
16975 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16976 eldoc-mode.
16977 (eldoc-display-message-p): Revert last change.
16978 (eldoc-display-message-no-interference-p)
16979 (eldoc-print-current-symbol-info): Tweak.
16980
16981 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16982
16983 * doc-view.el (doc-view-new-window-function): Check the new window
16984 overlay's display property instead the char property of the
16985 buffer's first char. Use `with-selected-window' instead of
16986 `save-window-excursion' with `select-window'.
16987 (doc-view-document->bitmap): Check the current doc-view overlay's
16988 display property instead the char property of the buffer's first char.
16989
16990 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16991
16992 Automate the build of ja-dic.el (Bug#13984).
16993 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16994 from the input, rather than assume that it's been done for us by the
16995 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16996 the current date into a ja-dic.el comment, as that complicates
16997 regression testing.
16998
16999 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
17000
17001 * whitespace.el: Fix double evaluation.
17002 (whitespace-space, whitespace-hspace, whitespace-tab)
17003 (whitespace-newline, whitespace-trailing, whitespace-line)
17004 (whitespace-space-before-tab, whitespace-indentation)
17005 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
17006 obsolete defvars.
17007 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
17008 (whitespace-color-on): Use a single font-lock-add-keywords call.
17009 Fix double-evaluation of face variables.
17010
17011 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
17012
17013 * net/tramp-adb.el (tramp-adb-parse-device-names):
17014 Use `start-process' instead of `call-process'. Otherwise, the
17015 function might be blocked under MS Windows. (Bug#13299)
17016
17017 2013-03-17 Leo Liu <sdl.web@gmail.com>
17018
17019 Extend eldoc to display info in the mode-line. (Bug#13978)
17020 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
17021 (eldoc-mode-line-string): New variable.
17022 (eldoc-minibuffer-message): New function.
17023 (eldoc-message-function): New variable.
17024 (eldoc-message): Use it.
17025 (eldoc-display-message-p)
17026 (eldoc-display-message-no-interference-p):
17027 Support eldoc-post-insert-mode.
17028
17029 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
17030 (eval-expression): Run it.
17031
17032 2013-03-17 Roland Winkler <winkler@gnu.org>
17033
17034 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
17035 strings in the list of return values.
17036
17037 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
17038
17039 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
17040 radix before checking for HMS forms.
17041
17042 2013-03-16 Leo Liu <sdl.web@gmail.com>
17043
17044 * progmodes/scheme.el: Add indentation and font-locking for λ.
17045 (Bug#13975)
17046
17047 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
17048
17049 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
17050 token before point (bug#13942).
17051
17052 2013-03-16 Leo Liu <sdl.web@gmail.com>
17053
17054 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
17055
17056 2013-03-16 Eli Zaretskii <eliz@gnu.org>
17057
17058 * startup.el (command-line-normalize-file-name): Fix handling of
17059 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
17060 <xfq.free@gmail.com> in
17061 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
17062
17063 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
17064
17065 Sync with Tramp 2.2.7.
17066
17067 * net/trampver.el: Update release number.
17068
17069 2013-03-14 Tassilo Horn <tsdh@gnu.org>
17070
17071 * doc-view.el: Fix bug#13887.
17072 (doc-view-insert-image): Don't modify overlay associated to
17073 non-live windows, and implement horizontal centering of image in
17074 case it's smaller than the window.
17075 (doc-view-new-window-function): Force redisplay of new windows on
17076 doc-view buffers.
17077
17078 2013-03-13 Karl Fogel <kfogel@red-bean.com>
17079
17080 * saveplace.el (save-place-alist-to-file): Don't sort
17081 `save-place-alist', just pretty-print it (bug#13882).
17082
17083 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
17084
17085 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
17086 Check whether `default-file-name-coding-system' is bound.
17087 It isn't in XEmacs.
17088
17089 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
17090
17091 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
17092 backquotes for `obsolete' (bug#13929).
17093
17094 * international/mule.el (find-auto-coding): Include file name in
17095 obsolescence warning (bug#13922).
17096
17097 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
17098
17099 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
17100 for CFEngine 3-specific indentation.
17101 (cfengine3-indent-line): Use it. Fix up category regex.
17102 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
17103
17104 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17105
17106 * type-break.el (type-break-file-name):
17107 * textmodes/remember.el (remember-data-file):
17108 * strokes.el (strokes-file):
17109 * shadowfile.el (shadow-initialize):
17110 * saveplace.el (save-place-file):
17111 * ps-bdf.el (bdf-cache-file):
17112 * progmodes/idlwave.el (idlwave-config-directory):
17113 * net/quickurl.el (quickurl-url-file):
17114 * international/kkc.el (kkc-init-file-name):
17115 * ido.el (ido-save-directory-list-file):
17116 * emulation/viper.el (viper-custom-file-name):
17117 * emulation/vip.el (vip-startup-file):
17118 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
17119 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
17120
17121 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
17122
17123 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
17124 * language/thai-word.el: Switch to UTF-8.
17125
17126 See ChangeLog.16 for earlier changes.
17127
17128 ;; Local Variables:
17129 ;; coding: utf-8
17130 ;; End:
17131
17132 Copyright (C) 2011-2015 Free Software Foundation, Inc.
17133
17134 This file is part of GNU Emacs.
17135
17136 GNU Emacs is free software: you can redistribute it and/or modify
17137 it under the terms of the GNU General Public License as published by
17138 the Free Software Foundation, either version 3 of the License, or
17139 (at your option) any later version.
17140
17141 GNU Emacs is distributed in the hope that it will be useful,
17142 but WITHOUT ANY WARRANTY; without even the implied warranty of
17143 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17144 GNU General Public License for more details.
17145
17146 You should have received a copy of the GNU General Public License
17147 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.