]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
authors.el small additions
[gnu-emacs] / lisp / ChangeLog
1 2015-03-23 Glenn Morris <rgm@gnu.org>
2
3 * emacs-lisp/authors.el (authors-aliases)
4 (authors-obsolete-files-regexps): Additions.
5
6 2015-03-22 Jan Djärv <jan.h.d@swipnet.se>
7
8 * simple.el (deactivate-mark): Only modify PRIMARY if we own
9 PRIMARY (Bug#18939).
10
11 2015-03-22 Martin Rudalics <rudalics@gmx.at>
12
13 * emacs-lisp/debug.el (debug): Don't try using "previous" window
14 when its not live or on an invisible frame (Bug#17170).
15
16 2015-03-21 Mario Lang <mlang@delysid.org>
17
18 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
19 `recenter' if `current-buffer' is equal to `window-buffer'.
20
21 2015-03-20 Dmitry Gutov <dgutov@yandex.ru>
22
23 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re): Detect
24 regexps after `!'. (Bug#19285)
25
26 2015-03-20 Dmitry Gutov <dgutov@yandex.ru>
27
28 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use
29 `font-lock-constant-face' for nil, true and false. Highlight
30 `self' as a keyword. (Bug#17733)
31
32 2015-03-20 Nobuyoshi Nakada <nobu@ruby-lang.org>
33
34 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re): Expect
35 beginning of regexp also after open brace or vertical bar.
36 (Bug#20026)
37
38 2015-03-07 Michael Albinus <michael.albinus@gmx.de>
39
40 * net/tramp.el (tramp-ssh-controlmaster-options): Make it a
41 defcustom. (Bug#20015)
42
43 2015-03-07 Eli Zaretskii <eliz@gnu.org>
44
45 * dired.el (dired-delete-file): Doc fix. (Bug#20021)
46
47 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
48
49 * textmodes/ispell.el (ispell-aspell-find-dictionary): Make sure
50 .dat files for aspell dicts are also searched for in location
51 described by `ispell-aspell-dict-dir', matching aspell's dict-dir
52 variable.
53
54 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
55
56 * textmodes/ispell.el (ispell-dicts-name2locale-equivs-alist)
57 (ispell-hunspell-fill-dictionary-entry)
58 (ispell-find-hunspell-dictionaries)
59 (ispell-set-spellchecker-params): New generic name for
60 `ispell-hunspell-dictionary-equivs-alist'.
61 (ispell-aspell-add-aliases): Also use
62 `ispell-dicts-name2locale-equivs-alist' to get aspell aliases for
63 standard dict names.
64
65 2015-02-24 Glenn Morris <rgm@gnu.org>
66
67 * net/browse-url.el (browse-url-firefox-startup-arguments):
68 Make obsolete.
69 (browse-url-firefox): Doc fix. Remove -remote, which no longer
70 exists in Firefox 36. (Bug#19921)
71 (browse-url-firefox-sentinel): Remove function.
72
73 2015-02-23 Eli Zaretskii <eliz@gnu.org>
74
75 * frame.el (blink-cursor-timer-function): Don't increment
76 blink-cursor-blinks-done counter when a menu is active on a w32
77 frame. (Bug#19925)
78
79 2015-02-19 Juri Linkov <juri@linkov.net>
80
81 * comint.el (comint-line-beginning-position): Revert searching for
82 the prompt when comint-use-prompt-regexp is non-nil because it
83 doesn't distinguish input from output. Check the field property
84 `output' for the case when comint-use-prompt-regexp is nil.
85 (Bug#19710)
86
87 2015-02-15 Jérémy Compostella <jeremy.compostella@gmail.com>
88
89 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
90 with PAGER=cat. (Bug#19870)
91
92 2015-02-13 Glenn Morris <rgm@gnu.org>
93
94 * textmodes/flyspell.el (flyspell-duplicate-distance):
95 Bump :version.
96
97 2015-02-13 Eli Zaretskii <eliz@gnu.org>
98
99 * textmodes/text-mode.el (text-mode-syntax-table): Make some
100 punctuation character behave as word-constituent, for more
101 compatibility with Unicode.
102
103 * simple.el (transient-mark-mode): Doc fix. (Bug#19841)
104
105 2015-02-12 Agustín Martín Domingo <agustin6martin@gmail.com>
106
107 Improve string search in `flyspell-word-search-*`. (Bug#16800)
108 * textmodes/flyspell.el (flyspell-duplicate-distance): Limit
109 default search distance for duplicated words to 40000.
110 (flyspell-word-search-backward, flyspell-word-search-forward):
111 Search as full word with defined casechars, not as substring.
112
113 2015-02-10 Juri Linkov <juri@linkov.net>
114
115 Better support for the case of typing RET on the prompt in comint.
116 * comint.el (comint-get-old-input-default): Go to the field end
117 when comint-use-prompt-regexp is nil.
118 (comint-line-beginning-position): Check if point is already
119 on the prompt before searching for the prompt when
120 comint-use-prompt-regexp is non-nil. (Bug#19710)
121
122 2015-02-08 Eli Zaretskii <eliz@gnu.org>
123
124 * frame.el (frame-notice-user-settings): Refresh the value of
125 frame parameters after calling tty-handle-reverse-video. Call
126 face-set-after-frame-default with the actual parameters, to avoid
127 resetting colors back to unspecified.
128 (set-background-color, set-foreground-color): Pass the foreground
129 and background colors to face-set-after-frame-default. (Bug#19802)
130
131 2015-02-06 Wolfgang Jenkner <wjenkner@inode.at>
132
133 * net/network-stream.el (network-stream-open-tls): Respect the
134 :end-of-capability setting.
135
136 2015-02-05 Juri Linkov <juri@linkov.net>
137
138 Revert the previous change of comint-line-beginning-position callers,
139 and modify comint-line-beginning-position instead.
140
141 * comint.el (comint-history-isearch-search)
142 (comint-history-isearch-message, comint-history-isearch-wrap):
143 Use comint-line-beginning-position instead of field-beginning.
144 (comint-send-input): Use either end-of-line or field-end
145 depending on comint-use-prompt-regexp.
146 (comint-line-beginning-position): Search backward
147 for comint-prompt-regexp if comint-use-prompt-regexp is non-nil.
148 Use field-beginning instead of line-beginning-position
149 if comint-use-prompt-regexp is nil. (Bug#19710)
150
151 2015-02-04 Robert Pluim <rpluim@gmail.com> (tiny change)
152
153 * calendar/todo-mode.el (todo-item-done): When done items are
154 hidden, restore point to its location prior to invoking this
155 command. (Bug#19727)
156
157 2015-02-04 Eli Zaretskii <eliz@gnu.org>
158
159 * textmodes/artist.el (artist-ellipse-compute-fill-info): Use
160 mapcar, not mapc, to create the other half of fill-info.
161 (Bug#19763)
162
163 2015-02-04 Nicolas Petton <nicolas@petton.fr>
164
165 * emacs-lisp/authors.el (authors-ignored-files)
166 (authors-renamed-files-alist): Additions.
167
168 2015-02-03 Michael Albinus <michael.albinus@gmx.de>
169
170 * net/tramp.el (tramp-ssh-controlmaster-options): Don't use a
171 tempfile for ControlPath. (Bug#19702)
172
173 2015-02-02 Michael Albinus <michael.albinus@gmx.de>
174
175 * net/tramp.el (tramp-ssh-controlmaster-options): Use "%C" for
176 ControlPath if possible. (Bug#19702)
177
178 2015-02-02 Glenn Morris <rgm@gnu.org>
179
180 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
181 (authors-valid-file-names, authors-renamed-files-alist): Additions.
182
183 2015-02-01 Alan Mackenzie <acm@muc.de>
184
185 CC Mode: Stop Font Lock forcing fontification from BOL. Fixes
186 debbugs#19669.
187
188 * progmodes/cc-mode.el (c-font-lock-init): Setq
189 font-lock-extend-region-functions to nil.
190
191 2015-01-31 Alan Mackenzie <acm@muc.de>
192
193 Handle "#" operator properly inside macro. Fix coding bug.
194
195 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP): On
196 finding a "#" which looks like the start of a macro, check it
197 isn't already inside a macro.
198
199 * progmodes/cc-engine.el (c-state-safe-place): Don't record a new
200 "safe" position into the list of them when this is beyond our
201 current position.
202
203 2015-01-31 Martin Rudalics <rudalics@gmx.at>
204
205 * menu-bar.el (menu-bar-non-minibuffer-window-p): Return nil when
206 the menu frame is dead. (Bug#19728)
207
208 2015-01-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
209
210 python.el: Handle tabs in python-indent-dedent-line.
211
212 * progmodes/python.el (python-indent-dedent-line): Fixes for
213 indentation with tabs. Thanks to <dale@codefu.org> (Bug#19730).
214
215 2015-01-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
216
217 * progmodes/python.el (python-indent-context): Respect user
218 indentation after comment.
219
220 2015-01-29 Tassilo Horn <tsdh@gnu.org>
221
222 * textmodes/reftex-vars.el (featurep): Conditionalize value of
223 reftex-label-regexps in order to stay compatible with XEmacs 21.5
224 which has no explicitly numbered groups in regexps (bug#19714).
225
226 2015-01-28 Tassilo Horn <tsdh@gnu.org>
227
228 * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
229 punctuation syntax since to allow bibtex fields with values such
230 as {Test 1) and 2)} (bug#19205, bug#19707).
231 (reftex--prepare-syntax-tables): New function.
232 (reftex-mode): Use it.
233
234 2015-01-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
235
236 python.el: New non-global state dependent indentation engine.
237 (Bug#18319, Bug#19595)
238
239 * progmodes/python.el (python-syntax-comment-or-string-p): Accept
240 PPSS as argument.
241 (python-syntax-closing-paren-p): New function.
242 (python-indent-current-level)
243 (python-indent-levels): Mark obsolete.
244 (python-indent-context): Return more context cases.
245 (python-indent--calculate-indentation)
246 (python-indent--calculate-levels): New functions.
247 (python-indent-calculate-levels): Use them.
248 (python-indent-calculate-indentation, python-indent-line):
249 (python-indent-line-function): Rewritten to use new API.
250 (python-indent-dedent-line): Simplify logic.
251 (python-indent-dedent-line-backspace): Use `unless`.
252 (python-indent-toggle-levels): Delete function.
253
254 2015-01-22 Wolfgang Jenkner <wjenkner@inode.at>
255
256 * calc/calc-units.el (math-units-in-expr-p)
257 (math-single-units-in-expr-p, math-find-compatible-unit-rec)
258 (math-extract-units): Handle the `neg' operator. (Bug#19582)
259 [Backport]
260
261 2015-01-21 Daniel Koning <dk@danielkoning.com> (tiny change)
262
263 * subr.el (posnp): Correct docstring of `posnp'.
264 (posn-col-row): Make it work with all mouse position objects.
265 * textmodes/artist.el (artist-mouse-draw-continously): Cancel
266 timers if an error occurs during continuous drawing. (Bug#6130)
267
268 2015-01-20 Eli Zaretskii <eliz@gnu.org>
269
270 * button.el (button-activate, push-button): Doc fix. (Bug#19628)
271
272 2015-01-16 Samer Masterson <samer@samertm.com> (tiny change)
273
274 * pcomplete.el (pcomplete-parse-arguments): Parse arguments
275 regardless of pcomplete-cycle-completions's value. (Bug#18950)
276
277 2015-01-13 Michael Albinus <michael.albinus@gmx.de>
278
279 * filenotify.el (file-notify-descriptors, file-notify-handle-event):
280 Adapt docstring.
281 (file-notify--descriptor): New defun.
282 (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
283 Adapt docstring. Handle multiple values for
284 `file-notify-descriptors' entries. (Bug#18880)
285
286 * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
287 `file-notify-descriptors', the implementation has been changed.
288
289 2015-01-13 Juri Linkov <juri@linkov.net>
290
291 * comint.el (comint-history-isearch-search)
292 (comint-history-isearch-wrap): Use field-beginning instead of
293 comint-line-beginning-position.
294 (comint-send-input): Go to the end of the field instead of the end
295 of the line to accept whole multi-line input.
296 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
297 (comint-history-isearch-message): Use field-beginning
298 instead of comint-line-beginning-position - that's more fixes for
299 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
300 (comint-history-isearch-message): Fix args of isearch-message-prefix.
301
302 [Backport]
303
304 2015-01-09 Eli Zaretskii <eliz@gnu.org>
305
306 * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
307 On MS-Windows, bind coding-system-for-read to the console output
308 codepage. (Bug#19458)
309
310 2015-01-08 Eli Zaretskii <eliz@gnu.org>
311
312 * simple.el (line-move-visual): When converting X pixel coordinate
313 to temporary-goal-column, adjust the value for right-to-left
314 screen lines. This fixes vertical-motion, next/prev-line, etc.
315
316 2015-01-06 Glenn Morris <rgm@gnu.org>
317
318 * progmodes/sh-script.el (sh-mode): Doc fix.
319 (sh-basic-indent-line): Handle electric newline. (Bug#18756)
320
321 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
322
323 * emacs-lisp/package.el (package-menu-mode): Use an extra column
324 for the "Version" column, to accomodate date-and-time-based versions.
325
326 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
327
328 Fix dired quoting bug with "Hit`N`Hide". Fixes Bug#19498.
329 * files.el (shell-quote-wildcard-pattern): Also quote "`".
330
331 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
332
333 Unbreak `mouse-action' property in text buttons.
334 * button.el (push-button): Fix regression from 2012-12-06.
335
336 2015-01-01 Eli Zaretskii <eliz@gnu.org>
337
338 * tool-bar.el (tool-bar-local-item)
339 (tool-bar-local-item-from-menu): Call force-mode-line-update to
340 make sure the tool-bar changes show on display.
341
342 2014-12-29 Michael Albinus <michael.albinus@gmx.de>
343
344 Sync with Tramp 2.2.11.
345
346 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
347 Make an alias for `default-toplevel-value' if it doesn't exist.
348
349 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
350 Use `tramp-compat-delete-directory'.
351
352 * net/trampver.el: Update release number.
353
354 2014-12-29 Filipp Gunbin <fgunbin@fastmail.fm>
355
356 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
357 for remote files. (Bug#19449)
358
359 2014-12-28 Eli Zaretskii <eliz@gnu.org>
360
361 * international/mule.el (define-coding-system): Fix typos in the
362 doc string.
363
364 2014-12-28 Kenichi Handa <handa@gnu.org>
365
366 * international/mule.el (define-coding-system): Improve the doc
367 string.
368
369 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
370
371 * progmodes/python.el (python-shell-buffer-substring): Handle
372 cornercase when region sent starts at point-min.
373
374 2014-12-27 Eli Zaretskii <eliz@gnu.org>
375
376 * language/misc-lang.el (composition-function-table): Add Syriac
377 characters and also ZWJ/ZWNJ. See
378 http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
379 for the details.
380
381 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
382
383 python.el: Fix message when sending region.
384
385 * progmodes/python.el (python-shell-send-region): Rename argument
386 send-main from nomain. Fix message.
387 (python-shell-send-buffer): Rename argument send-main from arg.
388
389 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
390
391 python.el: Cleanup temp files even with eval errors.
392
393 * progmodes/python.el (python-shell-send-file): Make file-name
394 mandatory. Fix temp file removal in the majority of cases.
395
396 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
397
398 python.el: Handle file encoding for shell.
399
400 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
401 (python-shell--save-temp-file): Write file with proper encoding.
402 (python-shell-buffer-substring): Add coding cookie for detected
403 encoding to generated content. Fix blank lines when removing
404 if-name-main block.
405 (python-shell-send-file): Handle file encoding.
406 (python-info-encoding-from-cookie)
407 (python-info-encoding): New functions.
408
409 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
410
411 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
412 Use `tramp-rsh-end-of-line', it ought to be more robust.
413
414 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
415
416 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
417 (bug#19397).
418
419 2014-12-23 Michael Albinus <michael.albinus@gmx.de>
420
421 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
422
423 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
424 as end-of-line delimeter for passwords, when running on MS Windows.
425
426 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
427
428 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
429 of indent-line-function (bug#19433).
430
431 2014-12-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
432
433 Fix line numbers on Python shell.
434 * progmodes/python.el (python-shell--save-temp-file): Do not
435 append coding cookie.
436 (python-shell-send-string): Generalize for
437 python-shell-send-region.
438 (python--use-fake-loc): Delete var.
439 (python-shell-buffer-substring): Cleanup fake-loc logic.
440 (python-shell-send-region): Remove fake-loc logic, simplify.
441
442 2014-12-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
443
444 * progmodes/python.el (python-indent-post-self-insert-function):
445 Make colon to re-indent only for dedenters, handling
446 multiline-statements gracefully.
447
448 2014-12-21 Michael Albinus <michael.albinus@gmx.de>
449
450 * net/tramp.el (tramp-handle-insert-file-contents):
451 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
452
453 2014-12-19 Michael Albinus <michael.albinus@gmx.de>
454
455 * net/tramp-sh.el (tramp-send-command-and-read): New optional
456 arg MARKER.
457 (tramp-get-remote-path): Use it.
458
459 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
460
461 * subr.el (redisplay-dont-pause): Mark as obsolete.
462
463 2014-12-17 Michael Albinus <michael.albinus@gmx.de>
464
465 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
466 (tramp-accept-process-output): Use nil as argument for
467 `accept-process-output', when there is a gateway prepended.
468
469 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
470 wrong debug buffer.
471 (tramp-gw-open-connection): Set process coding system 'binary.
472 (tramp-gw-open-network-stream): Handle HTTP error 403.
473
474 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
475 wrong debug buffer.
476 (tramp-maybe-open-connection): Set connection property "gateway".
477
478 2014-12-15 Stefan Monnier <monnier@iro.umontreal.ca>
479
480 * subr.el (sit-for): Tweak docstring (bug#19381).
481
482 2014-12-15 Dmitry Gutov <dgutov@yandex.ru>
483
484 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
485 stage to after `diff-index' (bug#19386).
486
487 2014-12-14 João Távora <joaotavora@gmail.com>
488
489 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
490 `electric-pair-mode' (bug#19356).
491
492 2014-12-12 Michael Albinus <michael.albinus@gmx.de>
493
494 * simple.el (password-word-equivalents): Add "passcode", used for
495 numeric secrets like PINs or RSA tokens.
496
497 2014-12-10 Michael Albinus <michael.albinus@gmx.de>
498
499 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
500 order to determine `tramp-own-remote-path'.
501
502 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
503
504 * progmodes/python.el (python-shell-parse-command):
505 Quote `python-shell-interpreter`. (Bug#19289)
506
507 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
508
509 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
510 of the whole pipe when indenting an opening keyword after a |.
511 Generalize this treatment to opening keywords like "while" (bug#18031).
512
513 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
514
515 * simple.el (newline): Place the hook buffer-locally,
516 to make sure it's first.
517
518 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
519 Fix handling of symbols with different syntax at beginning/end or with
520 symbol rather than word syntax.
521
522 2014-11-30 Eli Zaretskii <eliz@gnu.org>
523
524 * simple.el (line-move): If noninteractive, call line-move-1, not
525 forward-line, since the former is compatible with line-move-visual
526 both in terms of the column to which it moves and the return
527 value. (Bug#19211)
528
529 2014-11-27 Stephen Berman <stephen.berman@gmx.net>
530 Stefan Monnier <monnier@iro.umontreal.ca>
531
532 * outline.el (outline-move-subtree-down): Make sure we can move
533 forward to find the end of the subtree and the insertion point
534 (bug#19102).
535
536 2014-11-27 Leonard Randall <leonard.a.randall@gmail.com>
537
538 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
539 for comment lines non-greedy and stopping at newlines to fix stack
540 overflows with large files. [Backport]
541
542 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
543
544 * progmodes/python.el (python-shell-completion-setup-code):
545 Use __builtin__ module (or builtins in Python 3) and catch all errors
546 when importing readline and rlcompleter.
547
548 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
549
550 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
551 (todo-revert-buffer): New function.
552 (todo-modes-set-1): Use it as the buffer-local value of
553 revert-buffer-function.
554
555 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
556
557 * calendar/todo-mode.el (todo-mode): If called interactively, just
558 display a message saying to call todo-show to enter Todo mode
559 (Bug#19112).
560
561 2014-11-24 Dmitry Gutov <dgutov@yandex.ru>
562
563 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
564 (Bug#18579)
565
566 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
567 files. (Bug#18579)
568
569 2014-11-23 Michael Albinus <michael.albinus@gmx.de>
570
571 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
572 remote `buffer-file-name'.
573
574 2014-11-23 Leo Liu <sdl.web@gmail.com>
575
576 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
577
578 2014-11-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
579
580 Set PYTHONUNBUFFERED on shell startup.
581
582 * progmodes/python.el (python-shell-unbuffered): New var.
583 (python-shell-calculate-process-environment): Use it.
584
585 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
586
587 * net/tramp.el (tramp-action-password): Clean password on subsequent
588 attempts even if there was no wrong password indication. (Bug#19047)
589
590 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
591 fallback.
592 (tramp-open-connection-setup-interactive-shell): No need to check
593 for nil as `tramp-get-remote-locale' return value.
594
595 2014-11-21 Eli Zaretskii <eliz@gnu.org>
596
597 * vc/vc-git.el (vc-git-command, vc-git--call):
598 Bind coding-system-for-read and coding-system-for-write to
599 vc-git-commits-coding-system.
600 (vc-git-previous-revision): Use "~1" instead of "^", since the
601 latter is a special character for MS-Windows system shells.
602
603 2014-11-20 Michael Albinus <michael.albinus@gmx.de>
604
605 Improve XEmacs compatibility.
606
607 * net/tramp.el (tramp-autoload-file-name-handler):
608 Wrap `temporary-file-directory' by `symbol-value', it doesn't
609 exist in XEmacs.
610 (tramp-read-passwd): Don't use `with-timeout-suspend' and
611 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
612 (tramp-time-less-p, tramp-time-subtract): Remove functions.
613 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
614 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
615 * net/tramp-cache.el (tramp-get-file-property):
616 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
617 Use `time-less-p' and `time-subtract, respectively.
618
619 * net/tramp-adb.el (top): Do not require time-date.el.
620
621 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
622
623 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
624 Check, whether `utf-8' is a valid coding system.
625
626 2014-11-19 Eli Zaretskii <eliz@gnu.org>
627
628 * vc/vc.el (vc-retrieve-tag): Doc fix.
629
630 2014-11-17 Eli Zaretskii <eliz@gnu.org>
631
632 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
633 Don't assume --long is the default for "bzr log", always specify
634 it explicitly, in case the user defined an alias for 'log' that
635 uses some other format.
636
637 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
638
639 * progmodes/python.el (python-eldoc--get-doc-at-point):
640 Strip shell output before returning. (bug#18794)
641
642 2014-11-16 Dmitry Gutov <dgutov@yandex.ru>
643
644 Fix indentation before `!=' and after `+='. Originally reported
645 in https://github.com/mooz/js2-mode/issues/174.
646 * progmodes/js.el (js--indent-operator-re): Make assignments and
647 (in)equality operator a separate case.
648 (js--continued-expression-p): Escape the second `+' in the regexp.
649
650 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
651
652 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
653
654 2014-11-15 Andreas Schwab <schwab@linux-m68k.org>
655
656 * version.el (emacs-repository-get-version): Use git rev-parse
657 instead of git log.
658
659 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
660
661 * progmodes/python.el (python-indent-calculate-levels):
662 Fix indentation behavior multiline dedenter statement. (Bug#18432)
663
664 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
665
666 * progmodes/python.el (python-indent-region):
667 Use python-indent-line and skip special cases. (Bug#18843)
668
669 2014-11-15 Michael Albinus <michael.albinus@gmx.de>
670
671 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
672
673 2014-11-15 Peder O. Klingenberg <peder@klingenberg.no>
674
675 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
676 envelope-from when reporting through sendmail (bug#19054).
677
678 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
679
680 * progmodes/python.el (python-ffap-module-path):
681 Use `derived-mode-p' instead of equality test on `major-mode'.
682
683 2014-11-13 Ulrich Müller <ulm@gentoo.org>
684
685 * version.el (emacs-repository-get-version): Call `git log'
686 command with proper format argument (bug#19049).
687
688 2014-11-10 Glenn Morris <rgm@gnu.org>
689
690 * startup.el (command-line): Handle nil elements in load-path.
691
692 2014-11-08 Glenn Morris <rgm@gnu.org>
693
694 * emacs-lisp/bytecomp.el (byte-compile-report-error):
695 Allow the argument to be a string. Due to the vague doc,
696 it was already being used this way.
697
698 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
699
700 * net/tramp.el (tramp-check-cached-permissions): Include hop in
701 the constructed Tramp file name. (Bug#18943)
702
703 2014-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
704
705 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
706 (bug#18952).
707 (cua-set-mark, cua--pre-command-handler-1,cua--post-command-handler-1):
708 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
709
710 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
711
712 * files.el (file-name-non-special): Wrap the call of
713 `insert-file-contents' by `unwind-protect', in order to set the
714 buffer's file name anyway. (Bug#18891)
715
716 2014-11-07 Daiki Ueno <ueno@gnu.org>
717
718 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
719 (bug#18979). Reported by Hideki Saito.
720
721 2014-10-18 Alan Mackenzie <acm@muc.de>
722
723 Check that a "macro" found near point-min isn't a ## operator.
724 Fixes bug #18749. Backported from trunk, 2014-11-05.
725 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
726 (c-beginning-of-macro): Use the above new function.
727
728 2014-11-05 Alan Mackenzie <acm@muc.de>
729
730 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
731 * progmodes/cc-fonts.el (c-font-lock-declarations):
732 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
733 the buffer is sometimes narrowed to less than "limit" (e.g., in
734 the presence of macros).
735
736 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
737
738 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
739 only when message appeared in minibuffer. (Bug#18891)
740
741 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
742 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
743 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
744 case of errors.
745
746 2014-11-04 Eli Zaretskii <eliz@gnu.org>
747
748 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
749 returned by load-average.
750
751 2014-11-04 Michael Albinus <michael.albinus@gmx.de>
752
753 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
754 a local copy; setting `inhibit-file-name-handlers' proper might be
755 more performant. (Bug#18751)
756
757 2014-11-04 Glenn Morris <rgm@gnu.org>
758
759 * mail/emacsbug.el (report-emacs-bug): No longer include
760 recent-keys in the report. (Bug#18900)
761
762 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
763
764 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
765 local copy of FILENAME, when it is remote. (Bug#18751)
766
767 2014-11-02 Michael Albinus <michael.albinus@gmx.de>
768
769 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
770 an error when the command fails; the return code must indicate.
771 (tramp-adb-send-command-and-check): Fix docstring.
772
773 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
774
775 * net/tramp-cache.el (tramp-get-file-property)
776 (tramp-set-file-property): Check, that `tramp-cache-get-count-*'
777 and `tramp-cache-set-count-*' are bound. Otherwise, there might
778 be compiler warnings.
779
780 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
781 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
782
783 2014-11-01 Eli Zaretskii <eliz@gnu.org>
784
785 * progmodes/compile.el (compilation-mode): Turn off deferred
786 fontifications locally. (Bug#18856)
787
788 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
789
790 * net/tramp-sh.el (tramp-send-command): Fix the case where the
791 remote-echo connection property is non-nil (bug#18858).
792
793 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
794
795 Backport Tramp changes from trunk.
796
797 * net/tramp.el (tramp-methods): Tweak docstring.
798 (tramp-file-name-handler): Apply `cons' where appropriate.
799 (tramp-handle-file-accessible-directory-p): Check for
800 `file-readable-p' instead of `file-executable-p'.
801 (tramp-handle-shell-command): Use `display-buffer'. (Bug#18326)
802 (tramp-handle-unhandled-file-name-directory): Return "/".
803 (tramp-check-cached-permissions):
804 Use `tramp-compat-file-attributes'.
805 (tramp-call-process): Add new argument VEC. Adapt callees in all
806 tramp*.el files.
807
808 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
809 (tramp-adb-handle-write-region): Improve messages.
810 (tramp-adb-maybe-open-connection): Don't set
811 `tramp-current-*' variables.
812
813 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
814 Suppress debug messages.
815
816 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
817 (tramp-ftp-file-name-handler):
818
819 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
820 (tramp-gvfs-methods-mounttracker)
821 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
822 during initialization. (Bug#18774)
823 (tramp-gvfs-handle-delete-file): Flush file properties, not
824 directory properties.
825 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
826 reading "unix::mode".
827 (tramp-gvfs-handle-file-name-all-completions):
828 Use "-h" option for "gvfs-ls".
829 (tramp-gvfs-url-file-name): Apply `cons' where appropriate.
830 `user' and `localname' could be nil.
831 (tramp-gvfs-send-command): Simplify traces.
832
833 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
834 (vc-git-program, vc-hg-program): Declare.
835 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
836 (tramp-methods) <nc>: Add new method.
837 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
838 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
839 `tramp-login-args'.
840 (tramp-default-user-alist): Add "nc".
841 (top): Remove completion function for "sftp". Add completion
842 functions for "nc" and "psftp".
843 (tramp-sh-handle-set-visited-file-modtime):
844 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
845 (tramp-do-copy-or-rename-file-out-of-band):
846 Use cached "remote-copy-args" value, if available. (Bug#18199)
847 Tweak docstring. Implement support for "nc" method.
848 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
849 (tramp-remote-coding-commands, tramp-call-local-coding-command):
850 Tweak docstring.
851 (tramp-sh-handle-start-file-process): Expand `default-directory'.
852 (tramp-sh-handle-write-region): Tweak error message.
853 (tramp-sh-handle-vc-registered): Remove backends when the remote
854 binary does not exist.
855 (tramp-open-connection-setup-interactive-shell):
856 Prefer utf-8 coding. (Bug#17859)
857 (tramp-find-inline-encoding): Do not raise an error.
858 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
859 the "nc" case. Quote result also locally.
860 (tramp-get-remote-id): Check also for "gid".
861 (tramp-get-remote-python):
862
863 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
864 (tramp-smb-handle-set-file-acl): Use `start-process'.
865 (tramp-smb-handle-insert-directory): Use progress reporter.
866 (tramp-smb-handle-rename-file): Flush also file properties of
867 FILENAME.
868
869 * net/trampver.el: Update release number.
870
871 2014-11-01 Reuben Thomas <rrt@sc3d.org>
872
873 * net/tramp.el (tramp-handle-file-symlink-p):
874 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
875 about VMS, which we no longer support.
876
877 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
878
879 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
880 the global vc-handled-backends (bug#18535).
881
882 2014-11-01 Jérémy Compostella <jeremy.compostella@intel.com>
883 Michael Albinus <michael.albinus@gmx.de>
884
885 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
886 Reduce the amount of set environment variable commands.
887
888 2014-11-01 Paul Eggert <eggert@cs.ucla.edu>
889
890 * net/tramp-sh.el (tramp-get-remote-touch): Omit unnecessary call to
891 current-time.
892
893 2014-11-01 Emilio C. Lopes <eclig@gmx.net>
894
895 * net/tramp-sh.el (tramp-get-remote-python): Also search for
896 executables named "python2" or "python3".
897 (tramp-get-remote-uid-with-python): Use parentheses around
898 arguments to `print' to make it compatible with Python 3.
899 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
900
901 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
902
903 * simple.el (newline): Add assertions to try and help catch bug#18913.
904
905 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
906 (bug#18886).
907 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
908
909 2014-10-31 Eli Zaretskii <eliz@gnu.org>
910
911 * Makefile.in (repo-update): Fix a typo and slightly reword
912 commentary.
913
914 2014-10-31 Eric S. Raymond <esr@thyrsus.com>
915
916 * Makefile.in: Change some production names so they're neutral
917 about the repository type.
918
919 2014-10-30 Kim F. Storm <storm@cua.dk>
920
921 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
922 * delsel.el (delete-selection-save-to-register)
923 (delsel--replace-text-or-position): New vars.
924 (delete-active-region): Use them.
925 (delete-selection-repeat-replace-region): New command, moved from
926 cua-base.el.
927 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
928 (cua-repeat-replace-region): Move command to delsel.el.
929 (cua--init-keymaps): Update binding accordingly.
930 (cua-mode): Set delete-selection-save-to-register.
931
932 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
933
934 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
935 (c-lang-defconst):
936 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
937
938 2014-10-29 Eli Zaretskii <eliz@gnu.org>
939
940 * progmodes/compile.el (compilation-start):
941 If compilation-scroll-output is non-nil, don't force window-start of
942 the compilation buffer to be at beginning of buffer. (Bug#18874)
943
944 2014-10-23 Tassilo Horn <tsdh@gnu.org>
945
946 * doc-view.el (doc-view-open-text): View the document's plain text
947 in the current buffer instead of a new one.
948 (doc-view-toggle-display): Handle the case where the current
949 buffer contains the plain text contents of the document.
950 (doc-view-initiate-display): Don't switch to fallback mode if the
951 user wants to view the doc's plain text. [Backport]
952
953 2014-10-23 Eli Zaretskii <eliz@gnu.org>
954
955 * startup.el (fancy-about-text): Read the entire tutorial, not
956 just its first 256 bytes. (Bug#18760)
957
958 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
959
960 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
961 * emacs-lisp/cl-extra.el: Add missing provide.
962
963 2014-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
964
965 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
966 all args are copyable (bug#18767).
967 (=, <, >, <=, >=): Re-enable the optimization.
968
969 2014-10-20 Santiago Payà i Miralta <santiagopim@gmail.com>
970
971 * vc/vc-hg.el (vc-hg-log-graph): New var.
972 (vc-hg-print-log): Use it.
973 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
974 graph output (bug#17515).
975
976 2014-10-20 Juri Linkov <juri@jurta.org>
977
978 * vc/diff-mode.el (diff-refine-changed): Rename from
979 `diff-refine-change' for consistency with `diff-changed'.
980 (diff-refine-change): Add obsolete face alias. (Bug#10181)
981
982 * vc/smerge-mode.el (smerge-refined-changed): Rename from
983 `smerge-refined-change'.
984 (smerge-refined-change): Add obsolete face alias.
985
986 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
987
988 * subr.el (call-process-shell-command, process-file-shell-command):
989 Make the `args' obsolete (bug#18409).
990 (start-process-shell-command, start-file-process-shell-command):
991 Use `declare'.
992
993 2014-10-20 Juanma Barranquero <lekktu@gmail.com>
994
995 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
996
997 2014-10-20 Glenn Morris <rgm@gnu.org>
998
999 * dired.el (dired-read-regexp): Make obsolete.
1000 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
1001 (dired-flag-files-regexp):
1002 * dired-aux.el (dired-mark-read-regexp):
1003 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
1004
1005 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
1006
1007 * progmodes/python.el (inferior-python-mode): Use add-hook.
1008
1009 * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
1010
1011 2014-10-20 Glenn Morris <rgm@gnu.org>
1012
1013 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
1014 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
1015 * emulation/ws-mode.el: Move to obsolete/. [Backport]
1016
1017 2014-10-20 Glenn Morris <rgm@gnu.org>
1018
1019 * cus-start.el (history-length): Bump :version. [Backport]
1020
1021 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
1022
1023 * obsolete/cc-compat.el: Make obsolete (bug#18561).
1024
1025 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
1026
1027 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
1028 case (bug#18767).
1029
1030 2014-10-20 Glenn Morris <rgm@gnu.org>
1031
1032 * Version 24.4 released.
1033
1034 2014-10-15 Alan Mackenzie <acm@muc.de>
1035
1036 * cus-edit.el (custom-command-apply): Specify the return value in
1037 the doc string.
1038 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
1039 custom-command-apply has returned non-nil.
1040
1041 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
1042
1043 * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
1044 Backported (bug#18688).
1045
1046 2014-10-14 Eli Zaretskii <eliz@gnu.org>
1047
1048 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
1049 Force bidi-paragraph-direction to 'left-to-right'. This fixes
1050 buffer-menu display when the first buffer happens to start with
1051 R2L letter.
1052
1053 2014-10-13 Glenn Morris <rgm@gnu.org>
1054
1055 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
1056 (authors-obsolete-files-regexps): Additions.
1057 (authors-no-scan-regexps): New constant.
1058 (authors-no-scan-file-p): New function.
1059 (authors): Respect authors-no-scan-file-p.
1060
1061 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1062
1063 Fix import completion. (Bug#18582)
1064 * progmodes/python.el (python-shell-completion-get-completions):
1065 Fix import case regexp.
1066
1067 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1068
1069 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
1070 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
1071 * progmodes/prolog.el (prolog-electric--underscore): Same.
1072
1073 2014-10-09 Glenn Morris <rgm@gnu.org>
1074
1075 * frame.el (display-monitor-attributes-list): Doc tweaks.
1076
1077 2014-10-08 Eli Zaretskii <eliz@gnu.org>
1078
1079 * faces.el (display-grayscale-p): Mention in the doc string that
1080 the argument can be either a display name or a frame.
1081
1082 * frame.el (display-pixel-height, display-pixel-width)
1083 (display-mm-height, display-mm-width, display-backing-store)
1084 (display-save-under, display-planes, display-color-cells)
1085 (display-visual-class, display-monitor-attributes-list)
1086 (display-screens): Mention in the doc string that the argument can
1087 be either a display name or a frame. Improve the docs of the
1088 monitor attributes. (Bug#18636)
1089
1090 2014-10-06 Martin Rudalics <rudalics@gmx.at>
1091
1092 * term.el (term-window-width): Subtract 1 from the width when
1093 any fringe has zero width, not just the right fringe. (Bug#18601)
1094
1095 2014-10-05 Leo Liu <sdl.web@gmail.com>
1096
1097 * imenu.el (imenu-default-goto-function): Fix typo.
1098
1099 2014-10-04 Glenn Morris <rgm@gnu.org>
1100
1101 * frame.el (frame-monitor-attributes)
1102 (display-monitor-attributes-list): Doc fixes.
1103
1104 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
1105
1106 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
1107 (vc-svn-ignore): Use it. (Bug#18619)
1108
1109 2014-10-03 Martin Rudalics <rudalics@gmx.at>
1110
1111 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1112 In doc-string mention need to set `frame-resize-pixelwise'.
1113
1114 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1115
1116 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
1117 similarly to Rogers's 2010-06-16 change for the remote case
1118 (bug#18605).
1119
1120 2014-10-01 Glenn Morris <rgm@gnu.org>
1121
1122 * emacs-lisp/package.el (package-import-keyring):
1123 Create gnupg directory private. (Bug#17625#155)
1124
1125 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1126
1127 * progmodes/python.el (python-shell-completion-get-completions):
1128 Use python-shell--prompt-calculated-input-regexp from the
1129 process buffer (bug#18582).
1130 Don't assume that `line' comes from the process buffer.
1131
1132 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
1133
1134 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
1135 (bug#18462).
1136
1137 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1138
1139 * emacs-lisp/package.el (package-check-signature): Default to nil if
1140 GPG is not available.
1141 (package-refresh-contents): Don't mess with the keyring if we won't
1142 check the signatures anyway.
1143
1144 2014-09-18 Kan-Ru Chen <kanru@kanru.info>
1145
1146 * window.el (fit-window-to-buffer): When counting buffer width,
1147 count the whole visible buffer. Correctly convert the body-height
1148 to pixel size for window-text-pixel-size (Bug#18498).
1149
1150 2014-09-14 Glenn Morris <rgm@gnu.org>
1151
1152 * image.el (image-multi-frame-p): Fix thinko - do not force
1153 a delay if none was specified. (Bug#18334)
1154
1155 2014-09-12 Kan-Ru Chen <kanru@kanru.info>
1156
1157 * window.el (fit-window-to-buffer): Doc fix.
1158
1159 2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change)
1160
1161 * desktop.el (desktop-create-buffer): Check that buffers are still live
1162 before burying them (bug#18373).
1163
1164 2014-09-09 Glenn Morris <rgm@gnu.org>
1165
1166 * calendar/diary-lib.el (diary-list-entries):
1167 Restore 24.3 display behavior. (Bug#18381)
1168
1169 2014-09-09 Eli Zaretskii <eliz@gnu.org>
1170
1171 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
1172 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
1173 discrepancy between window-pixel-edges and mouse events, and
1174 avoids moving mode line up when the mouse click is on the modeline
1175 and no drag is attempted.
1176
1177 2014-09-08 Glenn Morris <rgm@gnu.org>
1178
1179 * calendar/calendar.el (calendar-basic-setup):
1180 Avoid clobbering calendar with diary. (Bug#18381)
1181
1182 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1183
1184 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
1185
1186 2014-09-04 Lars Ljung <lars@matholka.se> (tiny change)
1187
1188 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
1189 as well (bug#18400).
1190
1191 2014-09-04 Eli Zaretskii <eliz@gnu.org>
1192
1193 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
1194
1195 2014-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
1196
1197 * emacs-lisp/package.el (package-generate-description-file):
1198 Properly quote the arguments (bug#18332). Change second arg.
1199 (package--alist-to-plist-args): Rename from package--alist-to-plist and
1200 quote the elements.
1201 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
1202 the *-pkg.el file. Adjust to new calling convention of
1203 package-generate-description-file.
1204
1205 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
1206 (gud-gdb-completions): Remove obsolete workaround.
1207
1208 2014-09-02 Eli Zaretskii <eliz@gnu.org>
1209
1210 * subr.el (posn-col-row): Revert the change from commit
1211 2010-11-13T21:07:58Z!eliz@gnu.org, which
1212 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
1213 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
1214 introduced an off-by-one error in the reported row when there is a
1215 header line. (Bug#18384)
1216
1217 2014-09-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
1218
1219 * progmodes/python.el (python-indent-post-self-insert-function):
1220 Avoid electric colon at beginning-of-defun. (Bug#18228)
1221
1222 2014-09-01 Glenn Morris <rgm@gnu.org>
1223
1224 * tutorial.el (tutorial--display-changes):
1225 Fix 2014-07-29 change. (Bug#18382)
1226
1227 2014-08-29 Ken Brown <kbrown@cornell.edu>
1228
1229 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
1230 the Cygwin-w32 build. (Bug#18347)
1231
1232 2014-08-28 Glenn Morris <rgm@gnu.org>
1233
1234 * tar-mode.el (tar--extract, tar-extract):
1235 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
1236
1237 2014-08-27 Michael Albinus <michael.albinus@gmx.de>
1238
1239 * emacs-lisp/authors.el (authors-aliases): Addition.
1240
1241 * net/tramp-adb.el: Spell author name correctly.
1242
1243 2014-08-27 João Távora <joaotavora@gmail.com>
1244
1245 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
1246 use url-expand-file-name. (Bug#18310)
1247
1248 2014-08-25 Glenn Morris <rgm@gnu.org>
1249
1250 * emulation/cua-rect.el (cua--highlight-rectangle):
1251 Avoid error at point-min. (Bug#18309)
1252
1253 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
1254
1255 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
1256 executable-find (bug#18244).
1257
1258 * simple.el (self-insert-uses-region-functions): Defvar.
1259
1260 2014-08-13 Leo Liu <sdl.web@gmail.com>
1261
1262 * speedbar.el (speedbar-generic-list-tag-p): Allow special
1263 elements from imenu.
1264
1265 2014-08-11 Glenn Morris <rgm@gnu.org>
1266
1267 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
1268
1269 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
1270 chose coding system for writing before backing up, since it causes
1271 a more serious problem than the one it solves. (Closes Bug#18141,
1272 reopens Bug#13522.)
1273
1274 2014-08-10 Martin Rudalics <rudalics@gmx.at>
1275
1276 * window.el (window-total-size): Make doc-string more
1277 self-contained.
1278
1279 2014-08-09 Martin Rudalics <rudalics@gmx.at>
1280
1281 * window.el (display-buffer-below-selected): Restore original
1282 behavior if buffer is already displayed in the window below the
1283 selected one (Bug#18181).
1284
1285 2014-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1286
1287 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
1288 event (bug#18212).
1289
1290 2014-08-08 Eli Zaretskii <eliz@gnu.org>
1291
1292 * info.el (info): Doc fix.
1293
1294 2014-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1295
1296 * info.el (Info-mode-map): Override a global down-mouse-2 binding
1297 (bug#18212).
1298
1299 2014-08-05 Eli Zaretskii <eliz@gnu.org>
1300
1301 * simple.el (default-line-height): A floating-point value of
1302 line-spacing means a fraction of the default frame font's height,
1303 not of the font currently used by the 'default' face.
1304 Truncate the pixel value, like the display engine does.
1305 (window-screen-lines): Use window-inside-pixel-edges for
1306 determining the window height in pixels. (Bug#18195)
1307
1308 2014-07-29 Eli Zaretskii <eliz@gnu.org>
1309
1310 * tutorial.el (tutorial--display-changes): Accept punctuation
1311 characters before the key binding. (Bug#18146)
1312
1313 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
1314
1315 * doc-view.el (doc-view-open-text): Don't require that the
1316 document is saved in a file (e.g., email attachment).
1317
1318 2014-07-27 Eli Zaretskii <eliz@gnu.org>
1319
1320 * window.el (window--pixel-to-total): Use FRAME's root window, not
1321 that of the selected frame. (Bug#18112, Bug#16674)
1322
1323 2014-07-27 Andreas Schwab <schwab@linux-m68k.org>
1324
1325 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
1326 (Bug#18117)
1327
1328 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1329
1330 * progmodes/python.el (inferior-python-mode): Doc fix.
1331
1332 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
1333
1334 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
1335 not a character, ignore it instead of raising an error.
1336
1337 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
1338
1339 * calendar/todo-mode.el: Fix handling of marked items and make
1340 minor code improvements.
1341 (todo-edit-item): If there are marked items, ensure user can only
1342 invoke editing commands that work with marked items.
1343 (todo-edit-item--text): When there are marked items, make it a
1344 noop if invoked with point not on an item; otherwise, ensure it
1345 applies only to item at point.
1346 (todo-item-undone): If there are marked not-done items, return
1347 point to its original position before signaling user error.
1348 (todo--user-error-if-marked-done-item): New function.
1349 (todo-edit-item--header, todo-edit-item--diary-inclusion)
1350 (todo-item-done): Use it.
1351
1352 2014-07-25 Glenn Morris <rgm@gnu.org>
1353
1354 * files.el (toggle-read-only): Re-add basic doc-string.
1355 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
1356
1357 * progmodes/prolog.el (prolog-mode-keybindings-edit):
1358 Replace missing `switch-to-prolog' with `run-prolog'.
1359 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
1360
1361 2014-07-22 Stephen Berman <stephen.berman@gmx.net>
1362
1363 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
1364 of file-wide setting when changing category-wide setting.
1365
1366 2014-07-21 Glenn Morris <rgm@gnu.org>
1367
1368 * progmodes/hideif.el (hide-ifdef-mode-submap):
1369 Also substitute read-only-mode.
1370 * bindings.el (mode-line-toggle-read-only):
1371 * bs.el (bs-toggle-readonly):
1372 * buff-menu.el (Buffer-menu-toggle-read-only):
1373 * dired.el (dired-toggle-read-only):
1374 * files.el (view-read-only, find-file-read-only)
1375 (find-file-read-only-other-window)
1376 (find-file-read-only-other-frame):
1377 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
1378 Doc fixes re toggle-read-only.
1379
1380 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1381
1382 * progmodes/python.el: Add comment about pipe buffering and
1383 solutions for missing/delayed output in inferior Python shells.
1384 (Bug#17304)
1385
1386 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1387
1388 * progmodes/python.el (python-mode): Don't set
1389 mode-require-final-newline. (Bug#17990)
1390
1391 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1392
1393 Make python.el work with IPython automatically. (Bug#15510)
1394 * progmodes/python.el:
1395 (python-shell-completion-setup-code): New value supporting iPython.
1396 (python-shell-completion-string-code): New value supporting iPython.
1397 (python-shell-completion-get-completions): Use them.
1398 (python-shell-completion-module-string-code): Make obsolete.
1399 (python-shell-prompt-input-regexps)
1400 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
1401 (python-shell-output-filter): Fix comment typo.
1402
1403 2014-07-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
1404
1405 Fix Python shell prompts detection for remote hosts.
1406 * progmodes/python.el (python-shell-prompt-detect):
1407 Replace call-process with process-file and make it more robust.
1408
1409 2014-07-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1410
1411 Autodetect Python shell prompts. (Bug#17370)
1412 * progmodes/python.el:
1413 (python-shell-interpreter-interactive-arg)
1414 (python-shell-prompt-detect-enabled)
1415 (python-shell-prompt-detect-failure-warning)
1416 (python-shell-prompt-input-regexps)
1417 (python-shell-prompt-output-regexps): New vars.
1418 (python-shell-prompt-calculated-input-regexp)
1419 (python-shell-prompt-calculated-output-regexp): New vars.
1420 (python-shell-get-process-name)
1421 (python-shell-internal-get-process-name)
1422 (python-shell-output-filter)
1423 (python-shell-completion-get-completions): Use them.
1424 (python-shell-prompt-detect)
1425 (python-shell-prompt-validate-regexps): New functions.
1426 (python-shell-prompt-set-calculated-regexps): New function.
1427 (inferior-python-mode): Use it. Also honor overridden
1428 python-shell-interpreter and python-shell-interpreter-args.
1429 (python-shell-make-comint): Honor overridden
1430 python-shell-interpreter and python-shell-interpreter-args.
1431 (python-shell-get-or-create-process): Make it testable by allowing
1432 to call run-python non-interactively.
1433 (python-util-valid-regexp-p): New function.
1434 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
1435 (python-shell-prompt-output-regexp)
1436 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
1437
1438 2014-07-16 Glenn Morris <rgm@gnu.org>
1439
1440 * desktop.el (after-init-hook): Disable startup frame restoration
1441 in non-graphical situations. (Bug#17693)
1442
1443 2014-07-14 Glenn Morris <rgm@gnu.org>
1444
1445 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
1446 if it was "empty", or used for a different set of files. (Bug#17884)
1447
1448 2014-07-13 Eli Zaretskii <eliz@gnu.org>
1449
1450 * bindings.el (mode-line-remote): If default-directory is not a
1451 string, don't call file-remote-p on it; instead state in the
1452 help-echo that it is nil. (Bug#17986)
1453
1454 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
1455
1456 Fix bug: C-x v v discarded existing log message (Bug#17884).
1457 * vc/vc-dispatcher.el (vc-log-edit):
1458 Don't clobber an already-existing log message.
1459
1460 2014-07-10 Glenn Morris <rgm@gnu.org>
1461
1462 * vc/log-edit.el (log-edit-changelog-entries):
1463 Check for a visited-but-never-saved ChangeLog.
1464
1465 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1466
1467 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
1468 a non-existing file (bug#17970).
1469
1470 * faces.el (face-name): Undo last change.
1471 (x-resolve-font-name): Don't call face-name (bug#17956).
1472
1473 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
1474
1475 Fix dedenters and electric colon handling. (Bug#15163)
1476
1477 * progmodes/python.el
1478 (python-rx-constituents): Add dedenter and block-ender.
1479 (python-indent-dedenters, python-indent-block-enders): Delete.
1480 (python-indent-context): Return new case for dedenter-statement.
1481 (python-indent-calculate-indentation): Handle new case.
1482 (python-indent-calculate-levels): Fix levels calculation for
1483 dedenter statements.
1484 (python-indent-post-self-insert-function): Fix colon handling.
1485 (python-info-dedenter-opening-block-message): New function.
1486 (python-indent-line): Use it.
1487 (python-info-closing-block)
1488 (python-info-closing-block-message): Remove.
1489 (python-info-dedenter-opening-block-position)
1490 (python-info-dedenter-opening-block-positions)
1491 (python-info-dedenter-statement-p): New functions.
1492
1493 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1494
1495 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
1496 the middle of a line (bug#17896).
1497
1498 2014-07-08 Juri Linkov <juri@jurta.org>
1499
1500 * startup.el (command-line): Append displaying the warning about
1501 the errors in the init file to the end of `after-init-hook'.
1502 (Bug#17927)
1503
1504 2014-07-08 Juri Linkov <juri@jurta.org>
1505
1506 * faces.el (face-name): Return input arg `face' as is
1507 when it's not a symbol.
1508 (x-resolve-font-name): Don't check if the face is a symbol.
1509 (Bug#17956)
1510
1511 2014-07-08 Juri Linkov <juri@jurta.org>
1512
1513 * facemenu.el (list-colors-print): In help-echo format use %.2f
1514 instead of %d because now HSV values are floating-point components
1515 between 0.0 and 1.0.
1516
1517 2014-07-06 Glenn Morris <rgm@gnu.org>
1518
1519 * emulation/cua-rect.el (cua--activate-rectangle):
1520 Avoid setting cua--rectangle to nil. (Bug#17877)
1521
1522 2014-07-06 Stephen Berman <stephen.berman@gmx.net>
1523
1524 * calendar/todo-mode.el: Fix wrong-type-argument error when
1525 marking multiple consecutive items.
1526 (todo-toggle-mark-item): Don't try to mark the empty lines at the
1527 end of the todo and done items sections. Note in doc string that
1528 items marked by passing a numeric prefix argument can include the
1529 last todo and first done items.
1530 (todo-mark-category): Don't try to mark the empty line between the
1531 todo and done items sections.
1532
1533 2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1534
1535 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
1536 proper Lisp quoting (bug#17934).
1537
1538 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
1539 require-final-newline since prog-mode already took care of it (bug#17947).
1540
1541 2014-07-04 Stephen Berman <stephen.berman@gmx.net>
1542
1543 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
1544 refer to the Todo mode Info manual. Update the comment on
1545 requiring cl-lib.
1546 (todo-find-filtered-items-file): Add todo-prefix overlays.
1547 (todo-filter-items): Reorder a let-bound variable to avoid a
1548 wrong-type-argument error on canceling the file choice dialog.
1549
1550 2014-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1551
1552 * progmodes/octave.el (inferior-octave-mode):
1553 Set comint-input-ring-size to a number (bug#17912).
1554
1555 2014-07-03 Juri Linkov <juri@jurta.org>
1556
1557 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
1558 and `isearch-mode' associated with nil. (Bug#17849)
1559
1560 2014-07-02 Juri Linkov <juri@jurta.org>
1561
1562 * desktop.el (desktop-save): Rename arg `auto-save' to
1563 `only-if-changed'. Doc fix. (Bug#17873)
1564
1565 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1566
1567 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
1568 Use insert-for-yank (bug#17271).
1569
1570 2014-07-02 Leo Liu <sdl.web@gmail.com>
1571
1572 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
1573 Support lexical-binding.
1574
1575 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1576
1577 * vc/log-edit.el (log-edit-goto-eoh): New function.
1578 (log-edit--match-first-line): Use it (bug#17861).
1579
1580 2014-07-01 Glenn Morris <rgm@gnu.org>
1581
1582 * vc/log-edit.el (log-edit-hook): Add missing :version.
1583
1584 2014-07-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
1585
1586 * progmodes/python.el (python-indent-post-self-insert-function):
1587 Enhancements to electric indentation behavior inside
1588 parens. (Bug#17658)
1589
1590 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1591
1592 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
1593 buffer-invisibility-spec (bug#17867).
1594
1595 2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
1596
1597 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
1598 pass "-a".
1599
1600 2014-06-29 Glenn Morris <rgm@gnu.org>
1601
1602 * cus-edit.el (help):
1603 * finder.el (finder-known-keywords):
1604 * help.el (help-for-help-internal):
1605 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
1606 (ediff-redraw-registry-buffer):
1607 * vc/ediff-ptch.el (ediff-patch-file-internal):
1608 Doc fixes re "online" help. (Bug#17803)
1609
1610 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
1611 (idlwave-mode): Doc URL update.
1612
1613 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
1614
1615 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
1616 account for file-wide setting of todo-top-priorities-overrides.
1617 Make code a bit cleaner.
1618
1619 2014-06-27 Leo Liu <sdl.web@gmail.com>
1620
1621 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
1622
1623 2014-06-27 Glenn Morris <rgm@gnu.org>
1624
1625 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
1626
1627 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
1628
1629 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
1630 category-wide setting of todo-top-priorities-overrides, check for
1631 a file-wide setting and fontify accordingly.
1632
1633 2014-06-26 Glenn Morris <rgm@gnu.org>
1634
1635 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
1636
1637 2014-06-26 Daiki Ueno <ueno@gnu.org>
1638
1639 * emacs-lisp/package.el (package--check-signature):
1640 If package-check-signature is allow-unsigned, don't signal error when
1641 we can't verify signature because of missing public key
1642 (backport for bug#17625).
1643
1644 2014-06-26 Glenn Morris <rgm@gnu.org>
1645
1646 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
1647 Remove outdated declaration.
1648
1649 * emacs-lisp/authors.el (authors-valid-file-names)
1650 (authors-renamed-files-alist): Additions.
1651
1652 2014-06-25 Leo Liu <sdl.web@gmail.com>
1653
1654 * textmodes/picture.el (picture-set-tab-stops):
1655 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
1656 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
1657
1658 * progmodes/asm-mode.el (asm-calculate-indentation):
1659 Use indent-next-tab-stop.
1660
1661 * indent.el (indent-accumulate-tab-stops): New function.
1662
1663 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1664
1665 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
1666 (package-desc-status): Obey it.
1667
1668 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
1669
1670 * calendar/todo-mode.el: Fix two bugs.
1671 (todo-insert-item--basic): If user cancels item insertion to
1672 another category before setting priority, show original category
1673 whether it is in the same or a different file.
1674 (todo-set-item-priority): After selecting category, instead of
1675 moving point to top, which extends an active region, restore it.
1676
1677 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1678
1679 * help-fns.el (describe-function-1): Check file-name is a string before
1680 calling help-fns--autoloaded-p (bug#17564).
1681
1682 2014-06-24 Juri Linkov <juri@jurta.org>
1683
1684 * desktop.el (desktop-auto-save-enable)
1685 (desktop-auto-save-disable): New functions.
1686 (desktop-save-mode, desktop-auto-save-timeout): Use them.
1687 (desktop-read): Disable the autosave before loading the desktop,
1688 and enable afterwards. (Bug#17351)
1689
1690 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
1691
1692 Fix some indentation problem with \; and pipes (bug#17842).
1693 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1694 (sh-smie--default-forward-token, sh-smie--default-backward-token):
1695 New functions.
1696 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1697 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1698 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1699
1700 2014-06-24 Eli Zaretskii <eliz@gnu.org>
1701
1702 * international/fontset.el (script-representative-chars):
1703 Add representative characters for scripts added in Unicode 7.0.
1704 (otf-script-alist): Synchronize with the latest registry of OTF
1705 script tags.
1706
1707 * international/characters.el (char-script-table): Update for
1708 scripts added and codepoint ranges changed in Unicode 7.0.
1709
1710 2014-06-23 Leo Liu <sdl.web@gmail.com>
1711
1712 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
1713 tab-stop-list to nil. (Bug#16381)
1714
1715 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1716 (indent-rigidly-left-to-tab-stop)
1717 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1718 (move-to-tab-stop): Change callers.
1719
1720 2014-06-22 Eli Zaretskii <eliz@gnu.org>
1721
1722 * skeleton.el (skeleton-insert): Yet another fix of the doc string
1723 wrt behavior of \n as the first/last element of a skeleton.
1724
1725 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
1726
1727 * net/tramp-adb.el (tramp-adb-handle-process-file):
1728 * net/tramp-sh.el (tramp-sh-handle-process-file):
1729 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1730 the output buffer when DISPLAY is non-nil. (Bug#17815)
1731
1732 2014-06-21 Glenn Morris <rgm@gnu.org>
1733
1734 * play/landmark.el (landmark-move-down, landmark-move-up):
1735 Fix 2007-10-20 change - preserve horizontal position.
1736
1737 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1738
1739 Fix completion retrieval parsing (bug#17209).
1740 * progmodes/python.el (python-mode):
1741 (python-util-strip-string): New function.
1742 (python-shell-completion-get-completions): Use it.
1743
1744 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1745
1746 * skeleton.el (skeleton-insert): Fix last change.
1747
1748 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1749
1750 Enhancements for outline integration (bug#17796).
1751 * progmodes/python.el (python-mode): Properly set
1752 outline-heading-end-regexp so that comments after colons for
1753 defuns are supported.
1754
1755 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1756
1757 * skeleton.el (skeleton-insert): Doc fix.
1758
1759 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1760
1761 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1762 (smie-config-guess): Use smie-config-local so the rules are obeyed
1763 (bug#17818).
1764
1765 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1766 since it's already done inside the loop (bug#17819).
1767
1768 2014-06-20 Martin Rudalics <rudalics@gmx.at>
1769
1770 * mouse.el (mouse-drag-line): Re-remove code initially removed
1771 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1772 (Bug#17819).
1773
1774 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1775
1776 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1777 align with the surrounding parent (bug#17721).
1778
1779 2014-06-20 Eli Zaretskii <eliz@gnu.org>
1780
1781 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1782 locally to nil.
1783 (texinfo-insert-block, texinfo-insert-@end)
1784 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1785 local setting of skeleton-end-newline by adding an explicit \n to
1786 the skeletons where appropriate. (Bug#17801)
1787
1788 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1789
1790 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1791 (smie-indent--hanging-p): Use it.
1792 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1793
1794 2014-06-20 Leo Liu <sdl.web@gmail.com>
1795
1796 * simple.el (read-quoted-char): Don't let help chars pop up help
1797 buffer. (Bug#16617)
1798
1799 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
1800
1801 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1802 for | (bug#17621).
1803
1804 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1805
1806 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
1807 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
1808 burping.
1809
1810 2014-06-18 Eli Zaretskii <eliz@gnu.org>
1811
1812 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1813 and later. (Bug#17790)
1814
1815 2014-06-18 Juri Linkov <juri@jurta.org>
1816
1817 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1818 to `soft'. (Bug#17554)
1819
1820 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1821
1822 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1823 (bug#17737).
1824
1825 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
1826
1827 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1828 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
1829
1830 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
1831
1832 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1833 `unread-command-events'.
1834
1835 2014-06-14 Glenn Morris <rgm@gnu.org>
1836
1837 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
1838 Replace delete-duplicates and mapcan by cl- versions throughout.
1839 And cl-macroexpand-all by macroexpand-all.
1840 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1841
1842 2014-06-14 Eli Zaretskii <eliz@gnu.org>
1843
1844 * subr.el (posn-col-row): Doc fix. (Bug#17768)
1845
1846 2014-06-14 Juri Linkov <juri@jurta.org>
1847
1848 * bindings.el: Put `ascii-character' property on keypad keys
1849 mapped to characters. (Bug#17759)
1850
1851 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1852
1853 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1854 bumping forward into a closing paren (bug#17761).
1855
1856 * term/xterm.el (xterm--version-handler): Work around for OSX
1857 Terminal.app (bug#17607).
1858
1859 2014-06-08 Glenn Morris <rgm@gnu.org>
1860
1861 * startup.el (initial-buffer-choice): Doc fix.
1862 Reset :version (adding an option does not merit a :version bump).
1863
1864 * bookmark.el (bookmark-load):
1865 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1866
1867 2014-06-06 Juri Linkov <juri@jurta.org>
1868
1869 * desktop.el: Activate auto-saving on window configuration changes.
1870 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1871 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
1872 (desktop-auto-save-set-timer): Change REPEAT arg of
1873 `run-with-idle-timer' from t to nil.
1874 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1875
1876 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
1877
1878 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1879 vc-hg-command (bug#17570).
1880
1881 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1882
1883 * international/mule-cmds.el (ucs-names): Add special entry for BEL
1884 (bug#17702).
1885
1886 2014-06-06 Glenn Morris <rgm@gnu.org>
1887
1888 * startup.el (window-setup-hook): Doc fix.
1889
1890 2014-06-05 Glenn Morris <rgm@gnu.org>
1891
1892 * emacs-lisp/package.el (package-check-signature)
1893 (package-unsigned-archives): Doc fixes.
1894
1895 2014-06-03 Martin Rudalics <rudalics@gmx.at>
1896
1897 * window.el (display-buffer-use-some-window): Don't make window
1898 used smaller than it was before (Bug#17671).
1899
1900 2014-06-03 Eli Zaretskii <eliz@gnu.org>
1901
1902 * menu-bar.el (menu-bar-open): Fix last change: use the PC
1903 'redisplay' instead of '(sit-for 0)'.
1904
1905 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
1906
1907 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
1908 regexp. (Bug#17653)
1909
1910 2014-06-03 Glenn Morris <rgm@gnu.org>
1911
1912 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1913
1914 2014-06-02 Eli Zaretskii <eliz@gnu.org>
1915
1916 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1917
1918 2014-06-01 Eli Zaretskii <eliz@gnu.org>
1919
1920 * simple.el (keyboard-quit): Force update of mode lines, to remove
1921 the "Def" indicator, if we were defining a macro. (Bug#17615)
1922
1923 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1924
1925 * minibuffer.el (minibuffer-force-complete-and-exit):
1926 Obey minibuffer-default (bug#17545).
1927
1928 * progmodes/js.el (js-indent-line): Don't mix columns and chars
1929 (bug#17619).
1930
1931 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1932
1933 * subr.el (set-transient-map): Don't wait for some "nested"
1934 transient-map to finish if we're only supposed to be active for
1935 the next command (bug#17642).
1936
1937 2014-05-31 Leo Liu <sdl.web@gmail.com>
1938
1939 * emacs-lisp/gv.el (window-buffer, window-display-table)
1940 (window-dedicated-p, window-hscroll, window-point, window-start):
1941 Fix gv-expander. (Bug#17630)
1942
1943 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1944
1945 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1946 clicks (bug#17633).
1947
1948 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1949 for the single comma, since ", " is *very* common in normal French text
1950 (bug#17643).
1951
1952 2014-05-30 Glenn Morris <rgm@gnu.org>
1953
1954 * emacs-lisp/package.el (package-check-signature)
1955 (package-unsigned-archives): Fix :version.
1956
1957 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1958
1959 * subr.el (sit-for): Don't run input-methods (bug#15614).
1960
1961 2014-05-28 Glenn Morris <rgm@gnu.org>
1962
1963 * cus-start.el: Fix some :version numbers.
1964
1965 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1966
1967 * simple.el (deactivate-mark): Set mark-active to nil even if
1968 deactivation is done via setting transient-mark-mode to nil,
1969 since one is buffer-local and the other is global.
1970
1971 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1972 there can't be more than 2 arguments (bug#17584).
1973
1974 2014-05-27 Glenn Morris <rgm@gnu.org>
1975
1976 * simple.el (filter-buffer-substring-functions)
1977 (filter-buffer-substring-function, buffer-substring-filters)
1978 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1979
1980 * minibuffer.el (completion-in-region-functions, completion-in-region)
1981 (completion--in-region): Doc fixes.
1982
1983 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1984 (expand-abbrev, abbrev--default-expand): Doc fixes.
1985
1986 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
1987
1988 Include sources used to create macuvs.h.
1989 * international/README: Refer to the Unicode Terms of Use rather
1990 than copying it bodily here, as that simplifies maintenance.
1991
1992 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1993
1994 * cus-face.el (custom-face-attributes): Add :distant-foreground.
1995
1996 2014-05-25 Martin Rudalics <rudalics@gmx.at>
1997
1998 * window.el (window--dump-frame): Remove interactive
1999 specification.
2000
2001 2014-05-23 Glenn Morris <rgm@gnu.org>
2002
2003 * hippie-exp.el (he-line-search-regexp):
2004 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
2005
2006 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
2007
2008 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
2009 to avoid errors when trying to create or visit a file foo.todo
2010 located outside to todo-directory, and to allow having such files
2011 without them being tied to Todo mode (bug#17482).
2012 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
2013 (todo-archive-done-item, todo-find-filtered-items-file)
2014 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
2015 (todo-category-completions, todo-read-category): When visiting a
2016 Todo file, make sure we're in the right mode and the buffer local
2017 variables are set.
2018 (todo-make-categories-list, todo-reset-nondiary-marker)
2019 (todo-reset-done-string, todo-reset-comment-string):
2020 After processing all Todo files, kill the buffers of those files that
2021 weren't being visited before the processing.
2022 (todo-display-as-todo-file, todo-add-to-buffer-list)
2023 (todo-visit-files-commands): Comment out.
2024 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
2025 (auto-mode-alist): Remove add-to-list calls making Todo file
2026 extensions unrestrictedly tied to Todo modes.
2027
2028 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
2029
2030 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
2031 (advice-function-member-p): Tell it to check both names and functions
2032 (bug#17531).
2033 (advice--add-function): Adjust call accordingly.
2034
2035 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
2036
2037 * calendar/todo-mode.el: Miscellaneous bug fixes.
2038 (todo-delete-file): When deleting an archive but not its todo
2039 file, make sure to update the todo file's category sexp.
2040 (todo-move-category): Keep the moved category's name unless the
2041 file moved to already has a category with that name. If the
2042 numerically last category of the source file was moved, make the
2043 first category current to avoid selecting a nonexisting category.
2044 (todo-merge-category): Fix implementation to make merging to a
2045 category in another file work as documented. Eliminate now
2046 insufficient and unnecessary renaming of archive category, correct
2047 document string accordingly, and clarify it. If the numerically
2048 last category of the source file was merged, make the first
2049 category current to avoid selecting a nonexisting category.
2050 (todo-archive-done-item): When there are marked items and point
2051 happens to be on an unmarked item, ignore the latter. Don't leave
2052 point below last item after archiving marked items.
2053 (todo-unarchive-items): Fix logic to ensure unarchiving an item
2054 from an archive with only one category deletes the archive only
2055 when the category is empty after unarchiving. Make sure the todo
2056 file's category sexp is updated.
2057 (todo-read-file-name): Allow an existing file name even when it is
2058 not required (todo-move-category needs this to work as documented).
2059 (todo-add-file): Call todo-validate-name to reject the name of an
2060 existing todo file (needed due to fix in todo-read-file-name).
2061 (todo-reset-nondiary-marker): Also reset in filtered items files.
2062 (todo-reset-done-string, todo-reset-comment-string): Also reset in
2063 regexp filtered items files.
2064 (todo-reset-highlight-item): Also reset in filtered items files.
2065 Fix incorrect variable reference in document string.
2066
2067 2014-05-22 Glenn Morris <rgm@gnu.org>
2068
2069 * window.el (window--dump-frame): Avoid error in --without-x builds.
2070
2071 2014-05-21 Glenn Morris <rgm@gnu.org>
2072
2073 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
2074
2075 2014-05-21 Eli Zaretskii <eliz@gnu.org>
2076
2077 * frame.el (set-frame-font): Doc fix.
2078
2079 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
2080
2081 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
2082
2083 * emacs-lisp/package.el (package--download-one-archive):
2084 Use `write-region' instead of `save-buffer' to avoid running various
2085 hooks. (Bug#17155)
2086 (describe-package-1): Same. Insert newline at the end of the
2087 buffer if appropriate.
2088
2089 2014-05-20 Juri Linkov <juri@jurta.org>
2090
2091 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
2092 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
2093 Add more modifiers: meta, control, shift, hyper, super, alt.
2094 (Bug#17439)
2095
2096 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
2097 to allow changing its value with `set-variable'.
2098
2099 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
2100
2101 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
2102 #; comments.
2103 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
2104 New functions.
2105 (scheme-mode-variables): Set syntax-propertize-function instead of
2106 font-lock-syntactic-face-function.
2107 (scheme-font-lock-syntactic-face-function): Delete.
2108
2109 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
2110
2111 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2112
2113 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
2114 (bug#17392).
2115
2116 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
2117
2118 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
2119 for a temporary file name.
2120
2121 2014-05-17 Eli Zaretskii <eliz@gnu.org>
2122
2123 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
2124
2125 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
2126
2127 * net/dbus.el (dbus-init-bus, dbus-call-method)
2128 (dbus-call-method-asynchronously, dbus-send-signal)
2129 (dbus-method-return-internal, dbus-method-error-internal):
2130 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
2131
2132 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2133
2134 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
2135 methods which do not have a doc string. (Bug#17490)
2136
2137 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
2138 Stefan Monnier <monnier@iro.umontreal.ca>
2139
2140 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
2141 suffix (bug#15419).
2142
2143 2014-05-14 Glenn Morris <rgm@gnu.org>
2144
2145 * vc/emerge.el (emerge-temp-file-prefix):
2146 Make pointless option obsolete.
2147 (emerge-temp-file-mode): Make non-functional option obsolete.
2148
2149 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
2150
2151 * net/browse-url.el (browse-url):
2152 Use `unhandled-file-name-directory' when setting `default-directory',
2153 in order to circumvent stalled remote connections. (Bug#17425)
2154
2155 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
2156
2157 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
2158 into autoloading just because of a silly indirection.
2159
2160 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
2161
2162 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
2163
2164 2014-05-11 Glenn Morris <rgm@gnu.org>
2165
2166 * emacs-lisp/find-gc.el: Move to ../admin.
2167
2168 2014-05-10 Glenn Morris <rgm@gnu.org>
2169
2170 * printing.el (pr-version):
2171 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
2172
2173 * net/browse-url.el (browse-url-mosaic):
2174 Create /tmp/Mosaic.PID as a private file.
2175
2176 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
2177
2178 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
2179 (advice--member-p): If name is given, only compare the name.
2180 (advice--remove-function): Don't stop at the first match.
2181 (advice--normalize-place): New function.
2182 (add-function, remove-function): Use it.
2183 (advice--add-function): Pass the name, if any, to
2184 advice--remove-function.
2185
2186 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
2187
2188 * electric.el (electric-indent-post-self-insert-function): Don't use
2189 `pos' after modifying the buffer (bug#17449).
2190
2191 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2192
2193 * subr.el (function-put): Add function.
2194
2195 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
2196
2197 * calendar/todo-mode.el (todo-insert-item-from-calendar):
2198 Correct argument list to conform to todo-insert-item--basic.
2199
2200 2014-05-09 Glenn Morris <rgm@gnu.org>
2201
2202 * files.el (cd-absolute): Test if directory is accessible
2203 rather than executable. (Bug#17330)
2204
2205 * progmodes/compile.el (recompile):
2206 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
2207
2208 2014-05-08 Juri Linkov <juri@jurta.org>
2209
2210 * dired.el (dired-check-switches, dired-switches-recursive-p):
2211 New functions. (Bug#17218)
2212 (dired-switches-escape-p, dired-move-to-end-of-filename):
2213 Use `dired-check-switches'.
2214 (dired-insert-old-subdirs, dired-build-subdir-alist)
2215 (dired-sort-R-check): Use `dired-switches-recursive-p'.
2216
2217 2014-05-08 Glenn Morris <rgm@gnu.org>
2218
2219 * net/browse-url.el (browse-url-mosaic):
2220 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
2221 This is CVE-2014-3423.
2222
2223 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2224
2225 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
2226 (xterm-mouse--read-event-sequence-1000): Return nil if something
2227 looks fishy.
2228 (xterm-mouse-event): Propagate it.
2229 (xterm-mouse-translate-1): Handle it.
2230
2231 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
2232
2233 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
2234 four slots of the parameter list are filled, make sure to pass it
2235 to the argument list of todo-insert-item--basic.
2236
2237 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2238
2239 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
2240 Add optional `seen' argument to detect and break infinite loops.
2241
2242 2014-05-06 Eli Zaretskii <eliz@gnu.org>
2243
2244 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
2245 (trace-unsafe, trace-use-tree): Make parentheses style be
2246 according to Emacs style.
2247
2248 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
2249
2250 * net/tramp-sh.el (tramp-remote-process-environment):
2251 Remove HISTFILE and HISTSIZE; it's too late to set them here.
2252 Add :version entry.
2253 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
2254 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
2255 extra "PSx=..." commands.
2256 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
2257 (Bug#17295)
2258
2259 (tramp-uudecode): Replace the hard-coded temporary file name by a
2260 format specifier.
2261 (tramp-remote-coding-commands): Enhance docstring.
2262 (tramp-find-inline-encoding): Replace "%t" by a temporary file
2263 name. (Bug#17415)
2264 This is CVE-2014-3424.
2265
2266 2014-05-06 Glenn Morris <rgm@gnu.org>
2267
2268 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
2269 (find-gc-source-files): Update some names.
2270 (trace-call-tree): Simplify and update.
2271 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
2272 This is CVE-2014-3422.
2273
2274 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2275
2276 * minibuffer.el (completion--try-word-completion): Revert fix for
2277 Bug#15980 (bug#17375).
2278
2279 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
2280 Always store button numbers in the same way in xterm-mouse-last;
2281 Don't burp is xterm-mouse-last is not set as expected.
2282 Never return negative indices.
2283
2284 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
2285
2286 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2287 Backtrack one char if the global/char-literal var matcher hits
2288 inside a string. The next char could be the beginning of an
2289 expression expansion.
2290
2291 2014-05-05 Glenn Morris <rgm@gnu.org>
2292
2293 * help-fns.el (describe-function-1): Test for an autoload before a
2294 macro, since `macrop' works on autoloads. (Bug#17410)
2295
2296 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2297
2298 * electric.el (electric-indent-functions-without-reindent): Add yaml.
2299
2300 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
2301 Make sure the new point we return is within the new string (bug#17239).
2302
2303 2014-05-03 Eli Zaretskii <eliz@gnu.org>
2304
2305 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
2306
2307 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2308
2309 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2310 Use nil rather than `default' for the "default" appearance (bug#17388).
2311 * vc/ediff-util.el (ediff-inferior-compare-regions)
2312 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
2313 a misleading `default' value when it's really a boolean.
2314 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
2315 overlay is not visible.
2316
2317 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
2318
2319 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
2320 (todo-menu): Uncomment and update.
2321
2322 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
2323
2324 * calendar/todo-mode.el: Reimplement item editing to have the same
2325 basic user interface as item insertion, and make small UI and
2326 larger internal improvements to the latter.
2327 (todo-insert-item): Add reference to the Todo mode user manual to
2328 the documentation string.
2329 (todo-insert-item--basic): Rename from todo-basic-insert-item and
2330 adjust all callers. Change signature to combine diary and
2331 nonmarking arguments. Incorporate functionality of deleted item
2332 copying command and add error checking. Remove detailed
2333 descriptions of the arguments from the documentation string, since
2334 this is treated in the Todo mode user manual.
2335 (todo-copy-item, todo-edit-multiline-item)
2336 (todo-edit-done-item-comment, todo-edit-item-header)
2337 (todo-edit-item-time, todo-edit-item-date-from-calendar)
2338 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
2339 (todo-edit-item-date-year, todo-edit-item-date-month)
2340 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
2341 Remove.
2342 (todo-edit-item): Reimplement as wrapper command for
2343 todo-edit-item--next-key and make it distinguish done and not done
2344 todo items.
2345 (todo-edit-item--text): New function, replacing old command
2346 todo-edit-item and incorporating deleted commands
2347 todo-edit-multiline-item and todo-edit-done-item-comment.
2348 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
2349 Use only numeric value of prefix argument. Remove detailed
2350 descriptions of the arguments from the documentation string, since
2351 this is treated in the Todo mode user manual.
2352 (todo-edit-item--diary-inclusion): New function, replacing old
2353 command todo-edit-item-diary-inclusion and incorporating and fixing
2354 functionality of deleted command todo-edit-item-diary-nonmarking,
2355 making sure to remove todo-nondiary-marker when adding
2356 diary-nonmarking-symbol.
2357 (todo-edit-category-diary-inclusion): Make sure to delete
2358 diary-nonmarking-symbol when adding todo-nondiary-marker.
2359 (todo-edit-category-diary-nonmarking): Fix indentation.
2360 (todo-insert-item--parameters): Group diary and nonmarking
2361 parameters together.
2362 (todo-insert-item--apply-args): Adjust to signature of
2363 todo-insert-item--basic and incorporate copy parameter.
2364 Make small code improvements.
2365 (todo-insert-item--next-param): Improve prompt and adjust it to
2366 new parameter grouping. Remove obsolete code.
2367 (todo-edit-item--param-key-alist)
2368 (todo-edit-item--date-param-key-alist)
2369 (todo-edit-done-item--param-key-alist): New defconsts.
2370 (todo-edit-item--prompt): New variable.
2371 (todo-edit-item--next-key): New function.
2372 (todo-key-bindings-t): Bind "e" to todo-edit-item.
2373 Remove bindings of deleted commands.
2374
2375 2014-05-02 Leo Liu <sdl.web@gmail.com>
2376
2377 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
2378
2379 2014-05-01 Glenn Morris <rgm@gnu.org>
2380
2381 * allout-widgets.el (allout-widgets-tally)
2382 (allout-decorate-item-guides):
2383 * menu-bar.el (menu-bar-positive-p):
2384 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
2385 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
2386 * progmodes/js.el (js--inside-param-list-p)
2387 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
2388 * progmodes/prolog.el (region-exists-p):
2389 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
2390 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
2391 Doc fixes (replace `iff').
2392
2393 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2394
2395 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
2396
2397 2014-04-30 Eli Zaretskii <eliz@gnu.org>
2398
2399 * dired.el (dired-initial-position-hook, dired-initial-position):
2400 Doc string fixes.
2401
2402 2014-04-29 Glenn Morris <rgm@gnu.org>
2403
2404 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
2405
2406 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
2407
2408 * faces.el (face-spec-recalc): Apply X resources only after the
2409 defface spec has been applied. Thus, X resources are no longer
2410 overridden by the defface spec which also fixes issues on win32 where
2411 the toolbar coloring was wrong because it is set through X resources
2412 and was (wrongfully) overridden. (Bug#16694)
2413
2414 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2415
2416 * textmodes/rst.el (electric-pair-pairs): Declare.
2417 (rst-mode): Set it (bug#17131).
2418
2419 2014-04-27 Juri Linkov <juri@jurta.org>
2420
2421 * desktop.el (desktop-value-to-string): Let-bind `print-length'
2422 and `print-level' to nil. (Bug#17351)
2423
2424 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2425
2426 * battery.el (battery-update): Handle the case where battery
2427 status is "N/A" (bug#17319).
2428
2429 2014-04-24 Eli Zaretskii <eliz@gnu.org>
2430
2431 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
2432 Use equal-including-properties to compare help-echo strings (bug#17331).
2433
2434 2014-04-24 Leo Liu <sdl.web@gmail.com>
2435
2436 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
2437 Fix syntax for @. (Bug#17325)
2438
2439 2014-04-24 Daniel Colascione <dancol@dancol.org>
2440
2441 * emacs-lisp/cl.el (gv): Require gv early to break eager
2442 macro-expansion cycles.
2443
2444 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2445
2446 * simple.el (region-active-p): Check there's a mark (bug#17324).
2447
2448 * simple.el (completion-list-mode-map): Use choose-completion for the
2449 mouse binding as well (bug#17302).
2450 (completion-list-mode, completion-setup-function): Adjust docstring and
2451 echo area message accordingly.
2452 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
2453 calling convention of choose-completion.
2454 * comint.el (comint-dynamic-list-completions):
2455 * term.el (term-dynamic-list-completions): Accept choose-completion.
2456
2457 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
2458 &, |, +, - and * can't be a division (bug#17317).
2459
2460 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2461
2462 * term/xterm.el (xterm--version-handler): Don't use modern xterm
2463 features on gnome-terminal (bug#16988).
2464
2465 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
2466
2467 * dired.el (dired-insert-set-properties): Do not consider
2468 subdirectory headings and empty lines to be information that
2469 `dired-hide-details-mode' should hide. (Bug#17228)
2470
2471 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
2472
2473 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2474 Remove test messages.
2475 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
2476 and `target' twice.
2477
2478 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2479
2480 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
2481 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
2482
2483 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
2484
2485 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
2486
2487 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2488 Set "IFS=" when using read builtin, in order to preserve spaces in
2489 the file name. Add test messages for hunting a bug on hydra.
2490 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
2491
2492 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2493
2494 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
2495 Don't prettify a word within a symbol.
2496
2497 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
2498
2499 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
2500 possible.
2501
2502 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2503
2504 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
2505 assignments such as "case=hello" (bug#17297).
2506
2507 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
2508
2509 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
2510 Do not autoload.
2511 (tramp-file-name-handler, tramp-completion-file-name-handler):
2512 Revert patch from 2014-04-10, it isn't necessary anymore.
2513 (tramp-autoload-file-name-handler)
2514 (tramp-register-autoload-file-name-handlers): New defuns.
2515 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
2516 (tramp-register-file-name-handlers): Remove also
2517 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
2518 Do not autoload its invocation, but eval it after loading of 'tramp.
2519
2520 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
2521
2522 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
2523
2524 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2525
2526 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
2527 was done (bug#17264).
2528 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
2529 comment to EOB.
2530
2531 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
2532 here-documents (bug#17262).
2533
2534 2014-04-16 Eli Zaretskii <eliz@gnu.org>
2535
2536 * term/pc-win.el (x-list-fonts, x-get-selection-value):
2537 Provide doc strings, as required by snarf-documentation.
2538
2539 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2540
2541 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
2542 arg of overlays-at. Use `invisible-p'.
2543
2544 * obsolete/lucid.el (extent-at):
2545 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
2546 overlays-at.
2547 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
2548
2549 2014-04-14 João Távora <joaotavora@gmail.com>
2550
2551 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
2552 links. (Bug#17217).
2553
2554 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2555
2556 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2557 Use mapc to loop over a vector. (Bug#17257).
2558
2559 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
2560
2561 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
2562 patch, there are new problems with file names containing spaces.
2563 Get rid of backticks. (Bug#17238)
2564
2565 2014-04-13 João Távora <joaotavora@gmail.com>
2566
2567 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
2568 possible bug.
2569
2570 2014-04-13 Eli Zaretskii <eliz@gnu.org>
2571
2572 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
2573 (blink-cursor-mode): Mention customization variables and the
2574 effect of 'blink-cursor-blinks'.
2575
2576 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
2577
2578 * simple.el (undo): Prevent insertion of identity mapping into
2579 undo-equiv-table so as undo-only does not inf loop in the presence
2580 of consecutive nils in undo list.
2581
2582 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
2583
2584 * faces.el (make-face): Deprecate optional argument as it is no
2585 longer needed/used since the conditional X resources handling
2586 has been pushed down to make-face-x-resource-internal itself.
2587 (make-empty-face): Don't pass optional argument to make-face.
2588
2589 2014-04-12 Eli Zaretskii <eliz@gnu.org>
2590
2591 * international/characters.el <standard-case-table>: Add entries
2592 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
2593 Set category of Coptic characters be 'g' (Greek).
2594
2595 2014-04-12 Leo Liu <sdl.web@gmail.com>
2596
2597 * progmodes/octave.el (completion-table-with-cache): Define if not
2598 available.
2599 (octave-goto-function-definition)
2600 (octave-sync-function-file-names)
2601 (octave-find-definition-default-filename): Backquote upattern for
2602 compatibility.
2603
2604 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
2605
2606 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
2607 name twice due to backticks. (Bug#17238)
2608
2609 2014-04-11 Glenn Morris <rgm@gnu.org>
2610
2611 * term/w32-win.el (x-win-suspend-error):
2612 * term/x-win.el (x-win-suspend-error): Sync docs.
2613
2614 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2615
2616 Ediff's overlay priorities cause more trouble than they solve.
2617 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
2618 (ediff-highest-priority): Remove function (bug#17234).
2619 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
2620 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
2621 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
2622 overlay priorities.
2623
2624 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
2625
2626 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
2627 entry; use symbol boundaries to avoid mis-matches.
2628
2629 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
2630
2631 * net/tramp.el (tramp-file-name-handler)
2632 (tramp-completion-file-name-handler): Avoid recursive loading.
2633
2634 * net/tramp-sh.el (tramp-make-copy-program-file-name):
2635 Quote result also locally.
2636
2637 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
2638
2639 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2640 Module methods. (Bug#17216)
2641
2642 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2643
2644 * help.el (describe-bindings): Fix buffer handling (bug#17210).
2645 (describe-bindings-internal): Mark obsolete.
2646
2647 2014-04-07 João Távora <joaotavora@gmail.com>
2648
2649 * elec-pair.el:
2650 (electric-pair--syntax-ppss): When inside comments parse from
2651 comment beginning.
2652 (electric-pair--balance-info): Fix typo in comment.
2653 (electric-pair--in-unterminated-string-p): Delete.
2654 (electric-pair--unbalanced-strings-p): New function.
2655 (electric-pair-string-bound-function): New var.
2656 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2657 according to `electric-pair--in-unterminated-string-p'
2658
2659 2014-04-07 João Távora <joaotavora@gmail.com>
2660
2661 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2662 Inhibit quote pairing if point-max is inside an unterminated string.
2663 (electric-pair--looking-at-unterminated-string-p): Delete.
2664 (electric-pair--in-unterminated-string-p): New function.
2665
2666 2014-04-07 Glenn Morris <rgm@gnu.org>
2667
2668 * shell.el (shell-directory-tracker):
2669 Go back to just ignoring failures. (Bug#17159)
2670
2671 2014-04-06 João Távora <joaotavora@gmail.com>
2672
2673 Fix `electric-pair-delete-adjacent-pairs' in modes binding
2674 backspace. (bug#16981)
2675 * elec-pair.el (electric-pair-backward-delete-char): Delete.
2676 (electric-pair-backward-delete-char-untabify): Delete.
2677 (electric-pair-mode-map): Bind backspace to a menu item filtering
2678 a new `electric-pair-delete-pair' command.
2679 (electric-pair-delete-pair): New command.
2680
2681 2014-04-06 João Távora <joaotavora@gmail.com>
2682
2683 * progmodes/python.el (python-electric-pair-string-delimiter):
2684 Fix triple-quoting electricity. (Bug#17192)
2685
2686 2014-04-06 João Távora <joaotavora@gmail.com>
2687
2688 * elec-pair.el (electric-pair-post-self-insert-function):
2689 Don't skip whitespace when `electric-pair-text-pairs' and
2690 `electric-pair-pairs' were used. syntax to
2691 electric-pair--skip-whitespace. (Bug#17183)
2692
2693 2014-04-06 Eli Zaretskii <eliz@gnu.org>
2694
2695 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2696 "<F>". (Bug#17199)
2697
2698 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
2699
2700 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2701 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2702
2703 2014-04-05 Glenn Morris <rgm@gnu.org>
2704
2705 * help.el (view-lossage): Doc tweak.
2706
2707 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
2708
2709 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2710 only when inhibit-x-resources is nil, and do that earlier in the
2711 function. Doc fix. (Bug#16694)
2712 (face-spec-choose): Accept additional optional argument, whose
2713 value is returned if no matching attributes are found.
2714 (face-spec-recalc): Use the new optional argument when calling
2715 face-spec-choose. (Bug#16378)
2716 (make-face-x-resource-internal): Do nothing when
2717 inhibit-x-resources is non-nil. Don't touch the default face if
2718 reversed video is given--as was done in previous versions of Emacs.
2719 (face-set-after-frame-default): Don't call
2720 make-face-x-resource-internal here. (Bug#16434)
2721
2722 2014-04-04 Tassilo Horn <tsdh@gnu.org>
2723
2724 * doc-view.el (doc-view-bookmark-jump):
2725 Use `bookmark-after-jump-hook' to jump to the right page after the
2726 buffer is shown in a window. (bug#16090)
2727
2728 2014-04-04 Eli Zaretskii <eliz@gnu.org>
2729
2730 * international/characters.el (mirroring): Fix last change:
2731 instead of loading uni-mirrored.el explicitly, do that implicitly
2732 by creating the 'mirroring' uniprop table. This avoids announcing
2733 the loading of uni-mirrored.el.
2734
2735 2014-04-04 Glenn Morris <rgm@gnu.org>
2736
2737 * files.el (buffer-stale--default-function)
2738 (buffer-stale-function, revert-buffer--default):
2739 * autorevert.el (auto-revert-buffers): Doc tweaks.
2740
2741 2014-04-03 Eli Zaretskii <eliz@gnu.org>
2742
2743 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
2744
2745 2014-04-03 Glenn Morris <rgm@gnu.org>
2746
2747 * files.el (make-backup-file-name-function)
2748 (make-backup-file-name, make-backup-file-name--default-function)
2749 (make-backup-file-name-1, find-backup-file-name)
2750 (revert-buffer-function, revert-buffer-insert-file-contents-function)
2751 (buffer-stale--default-function, buffer-stale-function)
2752 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2753 (revert-buffer, revert-buffer--default)
2754 (revert-buffer-insert-file-contents--default-function):
2755 Doc fixes related to defaults no longer being nil.
2756 (make-backup-file-name-function): Bump :version.
2757 Restore nil as a valid but deprecated custom type.
2758
2759 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
2760
2761 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
2762 used as a variable (bug#17174).
2763
2764 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
2765
2766 * progmodes/perl-mode.el (perl-indent-new-calculate):
2767 Handle forward-sexp failure (bug#16985).
2768 (perl-syntax-propertize-function): Add "foreach" and "for" statement
2769 modifiers introducing expressions (bug#17116).
2770
2771 2014-04-02 Glenn Morris <rgm@gnu.org>
2772
2773 * menu-bar.el (menu-bar-file-menu):
2774 * vc/ediff.el (ediff-current-file):
2775 Update for revert-buffer-function no longer being nil by default.
2776
2777 * simple.el (command-execute): Respect nil disabled-command-function.
2778
2779 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2780
2781 * simple.el (command-execute): Do not execute the command when it
2782 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2783
2784 2014-03-29 Juri Linkov <juri@jurta.org>
2785
2786 * dired-aux.el (dired-compress-file): Don't use string-match-p
2787 because its match data is used afterwards.
2788
2789 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2790
2791 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2792 0 like nil.
2793
2794 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2795
2796 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2797 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2798
2799 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2800 Don't propertize `?' or `!' as symbol constituent when after
2801 colon. (Bug#17097)
2802
2803 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2804
2805 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2806 which is no longer needed and causes trouble in GTK builds (bug#17046).
2807
2808 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2809 Use url-insert-file-contents; package-handle-response no longer exists.
2810
2811 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2812
2813 * emacs-lisp/package.el: Fix bug#16733 (again).
2814 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2815 (url-http-target-url): Remove unused declarations.
2816 (package-handle-response): Remove.
2817 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2818 (package--download-one-archive): Use current-buffer instead of
2819 dynamic binding of `buffer'.
2820 (describe-package-1): Do not decode readme-string.
2821
2822 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
2823
2824 * simple.el (primitive-undo): Correction to 2014-03-24 change.
2825
2826 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
2827
2828 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2829
2830 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2831 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2832 `remote-file-name-inhibit-cache' to nil in the second pass.
2833 (tramp-find-executable): Do not call "which" on SunOS.
2834 (tramp-send-command-and-check): Fix docstring.
2835 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2836 check whether source directory has set the sticky bit.
2837
2838 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
2839
2840 * simple.el (primitive-undo): Only process marker adjustments
2841 validated against their corresponding (TEXT . POS). Issue warning
2842 for lone marker adjustments in undo history. (Bug#16818)
2843 (undo-make-selective-list): Add marker adjustments to selective
2844 undo list based on whether their corresponding (TEXT . POS) is in
2845 the region. Remove variable adjusted-markers, which was unused
2846 and only non nil during undo-make-selective-list.
2847 (undo-elt-in-region): Return nil when passed a marker adjustment
2848 and explain in function doc.
2849
2850 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2851
2852 * emacs-lisp/package.el (package--add-to-archive-contents):
2853 Include already installed and built-in packages in
2854 `package-archive-contents'.
2855 (package-install): Don't include already installed packages in the
2856 options during interactive invocation. (Bug#16762)
2857
2858 2014-03-24 Daniel Colascione <dancol@dancol.org>
2859
2860 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2861 instead of cl-loop search function.
2862
2863 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
2864
2865 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2866
2867 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2868
2869 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2870
2871 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2872
2873 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2874 Match special global variables without curlies, too.
2875 (ruby-font-lock-keywords): Simplify the matcher for special global
2876 variables. Don't require a non-word character after the variable.
2877 (Bug#17057)
2878
2879 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2880
2881 * simple.el (redisplay-highlight-region-function): Increase priority of
2882 overlay to make sure boundaries are visible (bug#15899).
2883
2884 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2885
2886 * frameset.el (frameset-restore): Compare display strings with equal.
2887
2888 * frame.el (make-frame): Don't quote display name in error message,
2889 it is already a string.
2890
2891 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2892
2893 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2894 the password.
2895
2896 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
2897
2898 * emacs-lisp/package.el (package-show-package-list): If the buffer
2899 is already displayed in another window, switch to that window.
2900
2901 2014-03-21 Daniel Colascione <dancol@dancol.org>
2902
2903 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2904 information in bug reports.
2905
2906 2014-03-23 Daniel Colascione <dancol@dancol.org>
2907
2908 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2909 list to look for keyword arguments instead of `memq', fixing
2910 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2911 Please make bootstrap.
2912
2913 2014-03-23 Richard Stallman <rms@gnu.org>
2914
2915 * battery.el (battery-linux-sysfs): Search for each field
2916 from the beginning of the buffer.
2917
2918 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2919
2920 * emacs-lisp/package.el (package-desc): Use the contents of the
2921 quoted form, not its cdr. (Bug#16873)
2922
2923 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2924
2925 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2926 benefit of doc.c; change parameter profile to match the X function.
2927
2928 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2929
2930 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2931 and `tramp-copy-env'.
2932
2933 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2934 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2935
2936 2014-03-21 Glenn Morris <rgm@gnu.org>
2937
2938 * electric.el (electric-indent-post-self-insert-function): Add doc.
2939
2940 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2941
2942 * emacs-lisp/package.el (package-compute-transaction):
2943 Use `version-list-<=' to compare the requirement version against
2944 the version of package already to be installed. Update the error
2945 message. (Bug#16826)
2946
2947 * progmodes/ruby-mode.el (ruby-smie-rules):
2948 Add indentation rule for ` @ '. (Bug#17050)
2949
2950 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2951
2952 * align.el (align-regexp): Remove superfluous backslash.
2953
2954 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2955 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2956 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2957 Fix docstring typos.
2958 (ffap-next): Use C-u in docstring.
2959 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2960 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2961 Remove superfluous backslashes.
2962 (ffap-string-at-point): Reflow docstring.
2963
2964 * server.el (server-host): Reflow docstring.
2965 (server-unload-function): Fix docstring typo.
2966 (server-eval-at): Remove superfluous backslash.
2967
2968 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2969 (skeleton-insert): Doc fix.
2970 (skeleton-insert): Reflow docstring.
2971
2972 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2973 (tty-color-approximate, tty-color-by-index, tty-color-values)
2974 (tty-color-desc): Remove superfluous backslashes.
2975
2976 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2977
2978 * electric.el (electric-newline-and-maybe-indent): New command.
2979 Bind it globally to C-j.
2980 (electric-indent-mode): Don't mess with the global map any more.
2981 Don't drop the post-self-insert-hook is some buffer is still using it
2982 (bug#16770).
2983
2984 * bindings.el (global-map): Remove C-j binding.
2985
2986 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2987 the docstring of functions advised before dumping (bug#16993).
2988
2989 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2990
2991 * ps-print.el (ps-generate-postscript-with-faces):
2992 Explicitly deactivate the mark (bug#16866).
2993 * simple.el (deactivate-mark): Update region highlight.
2994
2995 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2996
2997 * emacs-lisp/package.el (describe-package-1):
2998 Decode commentary (bug#16733).
2999
3000 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
3001
3002 * custom.el (defcustom): Doc fix: recommend avoiding destructive
3003 modification of the value argument of :set (bug#16755).
3004
3005 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
3006
3007 * simple.el (newline-and-indent): Do autofill (bug#17031).
3008
3009 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
3010
3011 * newcomment.el (comment-normalize-vars): Only add escaping check
3012 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
3013 (comment-beginning): Use `narrow-to-region' instead of moving back
3014 one character.
3015 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
3016 (comment-start-skip): Update the docstring.
3017
3018 2014-03-18 Richard Stallman <rms@gnu.org>
3019
3020 * dired.el (dired-display-file): Force use of other window.
3021
3022 2014-03-18 Daniel Colascione <dancol@dancol.org>
3023
3024 * startup.el (tty-handle-args): Remove debug message from 2007.
3025
3026 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
3027
3028 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
3029 (advice--make-interactive-form): Use it to avoid (auto)loading function.
3030 (advice--make-1, advice-add, advice-remove):
3031 Remove braindead :advice-pending hack.
3032
3033 2014-03-17 Glenn Morris <rgm@gnu.org>
3034
3035 * calendar/calendar.el (calendar-generate-month): Apply weekend
3036 face to the right days; fixes 2013-08-06 change. (Bug#17028)
3037
3038 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
3039
3040 * net/tramp.el (tramp-action-out-of-band): Read pending output.
3041 (tramp-call-process): Trace also DESTINATION.
3042
3043 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3044 Quote file names when they are local. Remove superfluous trace.
3045
3046 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
3047
3048 * newcomment.el (comment-beginning): If `comment-start-skip'
3049 doesn't match, move back one char and try again. (Bug#16971)
3050
3051 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3052 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
3053 Set `comment-start-skip' to a simpler value that doesn't try to
3054 check if the semicolon is escaped (this is handled by
3055 `syntax-ppss' now). (Bug#16971)
3056
3057 * progmodes/scheme.el (scheme-mode-variables): Same.
3058
3059 2014-03-16 Martin Rudalics <rudalics@gmx.at>
3060
3061 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
3062 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
3063 current (Bug#16816, Bug#17007).
3064 (with-current-buffer-window): New macro doing the same as
3065 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
3066 * help.el (help-print-return-message): Warn in doc-string to not
3067 use this in `with-help-window'.
3068 (describe-bindings-internal): Call `describe-buffer-bindings'
3069 from within help buffer. See Juanma's scenario in (Bug#16816).
3070 (with-help-window): Update doc-string.
3071 * dired.el (dired-mark-pop-up):
3072 * files.el (save-buffers-kill-emacs):
3073 * register.el (register-preview): Use `with-current-buffer-window'
3074 instead of `with-temp-buffer-window'.
3075
3076 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
3077
3078 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
3079 Implement inserting into current buffer, documented in their docstrings.
3080 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
3081 (rst-section-tree-point, rst-forward-section, rst-indent)
3082 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
3083 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
3084 (rst-font-lock-handle-adornment-pre-match-form)
3085 (rst-repeat-last-character): Reflow docstrings.
3086 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
3087 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
3088 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
3089 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
3090 Fix docstring typos.
3091 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
3092 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
3093 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
3094
3095 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
3096
3097 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
3098 for compatibility with other ports.
3099 (ns-initialize-window-system): Use it. It is set in term/common-win.el
3100 from the -xrm command line argument, but in the Nextstep port its value
3101 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
3102
3103 * progmodes/python.el (defconst, python-syntax-count-quotes)
3104 (python-indent-region, python-indent-shift-right)
3105 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
3106 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
3107 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
3108 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
3109 (inferior-python-mode, python-shell-make-comint, run-python-internal)
3110 (python-shell-buffer-substring, python-shell-send-buffer)
3111 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
3112 (python-completion-complete-at-point, python-fill-docstring-style)
3113 (python-eldoc-function, python-imenu-format-item-label)
3114 (python-imenu-format-parent-item-label)
3115 (python-imenu-format-parent-item-jump-label)
3116 (python-imenu--build-tree, python-imenu-create-index)
3117 (python-imenu-create-flat-index): Fix docstring typos.
3118 (python-indent-context, python-shell-prompt-regexp, run-python):
3119 Remove superfluous backslashes.
3120 (python-indent-line, python-nav-beginning-of-defun)
3121 (python-shell-get-buffer, python-shell-get-process)
3122 (python-info-current-defun, python-info-current-line-comment-p)
3123 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
3124 (python-indent-post-self-insert-function, python-shell-send-file)
3125 (python-shell-completion-get-completions)
3126 (python-shell-completion-complete-or-indent)
3127 (python-eldoc--get-doc-at-point): Reflow docstrings.
3128
3129 2014-03-14 Glenn Morris <rgm@gnu.org>
3130
3131 * emacs-lisp/package.el (package-menu-mode-map):
3132 Replace use of obsolete function alias. Tweak menu item text.
3133
3134 * info.el (Info-finder-find-node):
3135 Ignore the `emacs' metapackage. (Bug#10813)
3136
3137 * finder.el (finder-list-matches): Include unversioned packages
3138 in the result of a keyword search.
3139
3140 * finder.el (finder--builtins-descriptions): New constant.
3141 (finder-compile-keywords): Use finder--builtins-descriptions.
3142
3143 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
3144
3145 * simple.el (blink-matching-paren): Describe the new value,
3146 `jump', enabling the old behavior.
3147 (blink-matching-open): Use that value. (Bug#17008)
3148
3149 2014-03-14 Glenn Morris <rgm@gnu.org>
3150
3151 * finder.el (finder-no-scan-regexp): Add leim-list.
3152 (finder-compile-keywords):
3153 Don't skip files with same basename. (Bug#14010)
3154 * Makefile.in (setwins_finder): New, excluding leim.
3155 (finder-data): Use setwins_finder.
3156
3157 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
3158 (help-function-arglist, help-make-usage): Move from here...
3159 * help.el (help-split-fundoc, help-add-fundoc-usage)
3160 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
3161 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
3162
3163 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
3164
3165 * net/socks.el (socks, socks-override-functions)
3166 (socks-find-services-entry):
3167 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
3168 (hif-find-ifdef-block):
3169 * progmodes/modula2.el (m2-indent): Fix docstring typos.
3170
3171 * net/tls.el (tls-program): Reflow docstring.
3172
3173 * progmodes/pascal.el (pascal-mode-abbrev-table)
3174 (pascal-imenu-generic-expression, pascal-auto-endcomments)
3175 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
3176 (pascal-outline-mode): Fix docstring typos.
3177 (pascal-mode): Let define-derived-mode document mode hook.
3178 (pascal-uncomment-area): Reflow.
3179 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
3180
3181 * progmodes/opascal.el (opascal-compound-block-indent)
3182 (opascal-case-label-indent): Fix docstring typos.
3183 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
3184
3185 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
3186
3187 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3188 Fontify multiple adjacent negation chars. (Bug#17004)
3189
3190 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
3191
3192 * emacs-lisp/package.el (package--prepare-dependencies):
3193 Accept requirements without explicit version (bug#14941).
3194
3195 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3196
3197 * register.el (register-separator, copy-to-register): Doc fixes.
3198 (register-preview-default): Remove unnecessary call to concat.
3199
3200 * frameset.el (frameset-restore): When checking for a visible frame,
3201 use the action map instead of calling visible-frame-list.
3202
3203 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
3204
3205 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
3206
3207 2014-03-12 Martin Rudalics <rudalics@gmx.at>
3208
3209 * window.el (fit-frame-to-buffer): Get maximum width from
3210 display's width instead of height.
3211
3212 2014-03-12 Glenn Morris <rgm@gnu.org>
3213
3214 * desktop.el (desktop-restore-frames)
3215 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
3216 (desktop-restore-reuses-frames): Doc tweaks.
3217
3218 * electric.el (electric-indent-mode): Doc fix.
3219
3220 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3221
3222 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
3223 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
3224 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
3225 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
3226 (cvs-dired-use-hook): Fix docstring typos.
3227 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
3228 Doc fixes.
3229
3230 * vc/pcvs-defs.el (cvs-auto-remove-handled)
3231 (cvs-auto-remove-directories, cvs-default-ignore-marks)
3232 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
3233 (cvs-execute-single-dir): Fix docstring typos.
3234
3235 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
3236 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
3237
3238 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
3239
3240 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
3241 Fix docstring typos.
3242
3243 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3244
3245 * frameset.el (frameset--jump-to-register): Add autoload; it could be
3246 called from jump-to-register after unloading the frameset package.
3247
3248 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3249
3250 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
3251 (bug#16975). Deactivate the mark before setting it to nil.
3252 (activate-mark): Do nothing if region is already active.
3253
3254 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3255
3256 * frameset.el (frameset--target-display): Remove definition; declare.
3257 (frameset-save, frameset-restore): Let-bind frameset--target-display.
3258
3259 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3260
3261 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
3262 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
3263 when the advice is pending.
3264 (advice-remove): Remove this marker when not needed any more.
3265
3266 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3267
3268 * frameset.el: Separate options for reusing frames and cleaning up.
3269 (frameset--reuse-list): Remove definition; declare.
3270 (frameset--action-map): Declare.
3271 (frameset--find-frame-if): Doc fix.
3272 (frameset--restore-frame): Cache frame action.
3273 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
3274 how to clean up the frame list after restoring. Remove cleaning
3275 options from REUSE-FRAMES. Change all keyword values to symbols.
3276 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
3277
3278 * desktop.el (desktop-restore-forces-onscreen)
3279 (desktop-restore-reuses-frames): Use non-keyword values.
3280 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
3281
3282 2014-03-10 Glenn Morris <rgm@gnu.org>
3283
3284 * files.el (find-file): Doc fix: update info node name.
3285
3286 * emacs-lisp/advice.el (ad-add-advice, defadvice):
3287 Doc fix: remove references to deleted info nodes.
3288
3289 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
3290
3291 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3292 Do not add `nil' to the environment, when there's no remote `locale'.
3293 (tramp-find-inline-encoding): Check, that the remote host has
3294 installed perl, before sending scripts.
3295
3296 2014-03-10 Leo Liu <sdl.web@gmail.com>
3297
3298 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3299 Clear eldoc-last-message. (Bug#16920)
3300
3301 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3302
3303 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
3304 (bug#14430).
3305
3306 2014-03-09 Juri Linkov <juri@jurta.org>
3307
3308 * ansi-color.el (ansi-color-names-vector): Copy default colors
3309 from `xterm-standard-colors' that look well on the default white
3310 background (and also on the black background) to avoid illegible
3311 color combinations like yellow-on-white and white-on-white.
3312 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
3313
3314 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
3315
3316 * frameset.el (frameset-restore): When no frame is visible, do not
3317 generate a list of frames, just make visible the selected one.
3318
3319 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
3320
3321 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
3322 it only contains the repository root. (Bug#16897)
3323
3324 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
3325
3326 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
3327 only when `remote-file-name-inhibit-cache' is nil.
3328 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
3329
3330 2014-03-06 Martin Rudalics <rudalics@gmx.at>
3331
3332 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
3333 Fix doc-strings.
3334 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
3335 fit-frame-to-buffer variable. Fix doc-string.
3336 (fit-window-to-buffer): Set ONLY argument in call of
3337 fit-frame-to-buffer. Fix doc-string.
3338
3339 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
3340
3341 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
3342 (tramp-action-password): Clear password cache if needed.
3343 (tramp-read-passwd): Do not clear password cache.
3344
3345 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
3346 cache unless it is the first password request.
3347
3348 2014-03-06 Glenn Morris <rgm@gnu.org>
3349
3350 * simple.el (newline): Doc tweak.
3351
3352 * emacs-lisp/shadow.el (load-path-shadows-find):
3353 Ignore dir-locals. (Bug#12357)
3354
3355 2014-03-05 Glenn Morris <rgm@gnu.org>
3356
3357 * files.el (interpreter-mode-alist):
3358 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
3359
3360 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3361
3362 * frameset.el (frameset--initial-params): Filter out null entries.
3363
3364 2014-03-05 Martin Rudalics <rudalics@gmx.at>
3365
3366 * window.el (window-min-height, window-min-width):
3367 Rewrite doc-strings.
3368 (window-body-size): Add PIXELWISE argument to make it consistent
3369 with its callees.
3370
3371 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3372
3373 * finder.el (finder-mode-map, finder-mode-syntax-table):
3374 Revert part of 2014-02-28 change.
3375
3376 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
3377
3378 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
3379 (eww-setup-buffer): Clear next/prev/etc more reliably.
3380 (eww-textarea-map): [tab] doesn't work on tty.
3381 Reported by Mario Lang.
3382
3383 * net/shr.el (shr-map): Ditto.
3384
3385 2014-03-04 Glenn Morris <rgm@gnu.org>
3386
3387 * minibuffer.el (completion-hilit-commonality):
3388 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
3389
3390 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3391
3392 * hilit-chg.el (hilit-chg-unload-function): New function.
3393 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
3394 (hilit-chg-map-changes): Prefer cardinal number to digit.
3395 (hilit-chg-display-changes): Reflow docstring.
3396 (highlight-changes-rotate-faces): Remove superfluous backslash.
3397
3398 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
3399
3400 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
3401 `tramp-send-command-and-check'.
3402
3403 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3404
3405 * hexl.el (hexl-address-region, hexl-ascii-region)
3406 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
3407 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
3408 (hexl-forward-word, hexl-previous-line, hexl-next-line):
3409 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
3410 (hexl-mode): Doc fix.
3411 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
3412 (hexl-mode-ruler): Fix typos in docstrings.
3413
3414 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
3415 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
3416 Remove superfluous backslashes.
3417 (strokes-last-stroke, strokes-global-map, strokes-mode):
3418 Reflow docstrings.
3419 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
3420 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
3421 (strokes-distance-squared, strokes-global-set-stroke)
3422 (strokes-global-set-stroke-string): Doc fixes.
3423 (strokes-help): Fix typos; reflow docstring.
3424
3425 2014-03-04 Martin Rudalics <rudalics@gmx.at>
3426
3427 * window.el (window-in-direction): Fix doc-string.
3428
3429 2014-03-04 Glenn Morris <rgm@gnu.org>
3430
3431 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
3432 Explicit error if no grammar.
3433 (smie-config-save): Doc fix. Fix quote typo.
3434
3435 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
3436
3437 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
3438 electric-indent-mode-hook if we obey electric-indent-mode.
3439 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
3440 decide whether we obey electric-indent-mode.
3441 (c-change-set-fl-decl-start, c-extend-after-change-region):
3442 Silence warnings.
3443 (c-electric-indent-mode-hook): Assume we do want to obey
3444 electric-indent-mode.
3445
3446 * electric.el (electric-indent-mode-has-been-called): Remove.
3447 (electric-indent-mode): Fix accordingly.
3448
3449 * files.el (hack-local-variables): Mention file name in warning.
3450
3451 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
3452
3453 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
3454
3455 * bindings.el: Add comment describing why C-d binds to `delete-char'.
3456 * simple.el (delete-forward-char): Mark as interactive-only.
3457
3458 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
3459
3460 * icomplete.el (icomplete-completions):
3461 Follow-up to 2014-03-01 change.
3462
3463 * icomplete.el: Miscellaneous doc fixes.
3464 Use Icomplete everywhere instead of icomplete for consistency.
3465 (icomplete-max-delay-chars): Fix typo.
3466 (icomplete-mode): Use \[].
3467 (icomplete-tidy, icomplete-exhibit): Reflow.
3468 (icomplete-minibuffer-setup-hook, icomplete-completions):
3469 Remove superfluous backlashes.
3470
3471 * ido.el: Miscellaneous doc fixes.
3472 Use Ido everywhere instead of ido or `ido' for consistency.
3473 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
3474 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
3475 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
3476 (ido-separator): Extract obsolescence info from docstring and declare
3477 with make-obsolete-variable.
3478 (ido-minibuffer-setup-hook): Simplify example.
3479 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
3480 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
3481 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
3482 (ido-everywhere): Reflow docstring.
3483 (ido-toggle-vc): Doc fix.
3484 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
3485 of long list of keybindings.
3486
3487 2014-03-03 Glenn Morris <rgm@gnu.org>
3488
3489 * frame.el (display-pixel-height, display-pixel-width)
3490 (display-mm-dimensions-alist, display-mm-height)
3491 (display-mm-width): Doc tweaks.
3492
3493 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
3494
3495 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
3496 case of undo in region.
3497
3498 2014-03-02 Martin Rudalics <rudalics@gmx.at>
3499
3500 * window.el (fit-window-to-buffer): Fix argument in window-size
3501 call when window is horizontally combined.
3502
3503 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
3504
3505 * icomplete.el (icomplete-completions): Use string-width.
3506 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
3507
3508 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
3509
3510 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3511 Highlight regexp options. (Bug#16914)
3512
3513 2014-03-01 Martin Rudalics <rudalics@gmx.at>
3514
3515 * window.el (window--max-delta-1): Round down when calculating
3516 how many lines/columns we can get from a window.
3517
3518 2014-03-01 Glenn Morris <rgm@gnu.org>
3519
3520 * isearch.el (search-invisible): Doc fix.
3521
3522 * minibuffer.el (completion-hilit-commonality):
3523 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
3524 * comint.el (comint-dynamic-list-completions): Doc fix.
3525 * comint.el (comint-dynamic-list-completions):
3526 * filecache.el (file-cache-minibuffer-complete):
3527 * tempo.el (tempo-display-completions):
3528 * eshell/em-hist.el (eshell-list-history):
3529 Replace use of obsolete argument of display-completion-list.
3530
3531 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
3532
3533 * icomplete.el (icomplete-completions):
3534 Revert back to using "..." when ?… cannot be displayed.
3535
3536 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3537
3538 * finder.el (finder-unload-function): New function.
3539
3540 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3541
3542 * dframe.el (dframe-detach):
3543 * find-dired.el (find-dired, find-name-dired):
3544 * finder.el (finder-mode-map, finder-mode-syntax-table)
3545 (finder-headmark, finder-select, finder-mouse-select):
3546 Fix docstring typos.
3547
3548 2014-02-28 Martin Rudalics <rudalics@gmx.at>
3549
3550 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
3551 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
3552 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3553 Fix doc-string based on a suggestion by Nicolas Richard
3554 <theonewiththeevillook@yahoo.fr>.
3555 * help.el (with-help-window): Fix doc-string.
3556
3557 2014-02-28 Ivan Kanis <ivan@kanis.fr>
3558
3559 * net/shr.el (shr-image-animate): New option.
3560 (shr-put-image): Respect shr-image-animate.
3561
3562 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
3563
3564 * net/tramp-adb.el (tramp-adb-parse-device-names):
3565 Use `accept-process-output'.
3566 (tramp-adb-handle-file-truename): Cache the localname only.
3567 (tramp-adb-handle-make-directory)
3568 (tramp-adb-handle-delete-directory): Flush file properties correctly.
3569 (tramp-adb-handle-set-file-modes): Do not raise an error when file
3570 modes cannot be changed.
3571
3572 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3573 file properties of symlinks.
3574
3575 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
3576
3577 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3578 required/optional fields to match development biblatex. (Bug#16781)
3579
3580 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
3581
3582 * saveplace.el (toggle-save-place):
3583 Fix argument handling. (Bug#16673)
3584
3585 2014-02-28 Glenn Morris <rgm@gnu.org>
3586
3587 * minibuffer.el (completions-first-difference)
3588 (completions-common-part, completion-hilit-commonality): Doc fixes.
3589
3590 2014-02-28 Karl Berry <karl@gnu.org>
3591
3592 * info.el (Info-mode-map): Add H for describe-mode,
3593 to synchronize with standalone Info.
3594
3595 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
3596
3597 * progmodes/sql.el (sql-interactive-mode):
3598 Avoid setting global comint-input-ring-separator. (Bug#16814)
3599
3600 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3601
3602 * net/dbus.el (dbus--init-bus): Declare function.
3603 (dbus-path-local, dbus-interface-local): New defconst.
3604 (dbus-init-bus): Use them.
3605 (dbus-return-values-table): Extend doc.
3606 (dbus-handle-bus-disconnect): Extend error message.
3607
3608 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
3609
3610 * subr.el (y-or-n-p): Fix double space issue in message.
3611
3612 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3613
3614 * net/tramp.el (tramp-call-process): Improve trace message.
3615 (tramp-handle-insert-file-contents): Trace error case.
3616
3617 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3618 <insert-directory>: Use `tramp-handle-insert-directory'.
3619 (tramp-adb-handle-insert-directory): Remove function.
3620 (tramp-adb-send-command-and-check): New defun, replacing
3621 `tramp-adb-command-exit-status'. Change all callees.
3622 (tramp-adb-handle-file-attributes)
3623 (tramp-adb-handle-directory-files-and-attributes): Use it.
3624 (tramp-adb-ls-output-name-less-p):
3625 Use `directory-listing-before-filename-regexp'.
3626 (tramp-adb-handle-delete-directory): Flush also file properties of
3627 the truename of directory.
3628 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3629 (tramp-adb-handle-file-local-copy): Make the local copy readable.
3630 (tramp-adb-handle-write-region): Implement APPEND.
3631 (tramp-adb-handle-rename-file): Make it more robust. Flush file
3632 properties correctly.
3633 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3634 variables. Check for connected devices only when needed.
3635
3636 2014-02-27 Glenn Morris <rgm@gnu.org>
3637
3638 * minibuffer.el (completion-table-dynamic)
3639 (completion-table-with-cache): Doc fixes.
3640
3641 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3642 (completing-read-multiple): Doc fixes.
3643
3644 2014-02-27 Daniel Colascione <dancol@dancol.org>
3645
3646 * minibuffer.el (completion--nth-completion): Fix indentation.
3647
3648 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3649 explicit tramp path is empty.
3650
3651 2014-02-27 Glenn Morris <rgm@gnu.org>
3652
3653 * emacs-lisp/crm.el (completing-read-multiple):
3654 Empower help-enable-auto-load.
3655
3656 2014-02-26 Glenn Morris <rgm@gnu.org>
3657
3658 * startup.el (command-line): Don't init the tty in daemon mode.
3659
3660 Avoid calling tty-setup-hook twice, eg if a term file
3661 explicitly calls tty-run-terminal-initialization. (Bug#16859)
3662 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3663 (tty-create-frame-with-faces): Use it.
3664 * startup.el (command-line): Pass run-hook argument
3665 to tty-run-terminal-initialization.
3666
3667 * dired.el (dired-restore-desktop-buffer): Demote errors;
3668 eg in case a glob match fails. (Bug#16884)
3669
3670 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
3671
3672 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3673 error from `read-from-string'. (Bug#16850)
3674
3675 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3676 result of `completing-read' in the interactive form. (Bug#16854)
3677
3678 2014-02-25 Glenn Morris <rgm@gnu.org>
3679
3680 * image.el (image-animate, image-animate-timeout):
3681 Stop animating images in dead buffers. (Bug#16878)
3682
3683 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
3684
3685 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3686 Doc fixes.
3687 * startup.el (term-setup-hook): Doc fix. Make obsolete.
3688 * term/sun.el (sun-raw-prefix-hooks):
3689 Use tty-setup-hook instead of term-setup-hook.
3690 (terminal-init-sun): Construct message from bytecomp plist.
3691 * term/wyse50.el (enable-arrow-keys): Doc fix.
3692
3693 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3694
3695 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3696 Fix docstring typos.
3697
3698 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
3699
3700 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3701
3702 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3703
3704 * minibuffer.el (completion--try-word-completion):
3705 Fix error when completing M-x commands (bug#16808).
3706
3707 2014-02-24 Leo Liu <sdl.web@gmail.com>
3708
3709 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3710
3711 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3712
3713 * apropos.el (apropos-print): Avoid formatting error when
3714 apropos-do-all and apropos-compact-layout are both t.
3715
3716 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3717
3718 * apropos.el (apropos-property, apropos-all-words-regexp)
3719 (apropos-true-hit, apropos-variable, apropos-print):
3720 Fix docstring typos, and remove obsolete comment.
3721
3722 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3723
3724 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3725 Preserve trailing "/". (Bug#16851)
3726
3727 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3728
3729 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3730 after `=>' (bug#16811).
3731 (ruby-smie-rules): Handle the inconsistent second element of the
3732 list returned by `smie-indent--parent'.
3733 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3734 method call.
3735
3736 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3737
3738 * elec-pair.el (electric-pair-text-syntax-table)
3739 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3740 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3741 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3742 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3743
3744 2014-02-22 Glenn Morris <rgm@gnu.org>
3745
3746 * imenu.el (imenu--generic-function): Doc fix.
3747
3748 * register.el (frame-configuration-to-register): Make obsolete.
3749
3750 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
3751
3752 * desktop.el (desktop-save-buffer-p): Do not fail when
3753 desktop-files-not-to-save is nil. Return t for true result
3754 as the doc says.
3755
3756 2014-02-22 Daniel Colascione <dancol@dancol.org>
3757
3758 * net/secrets.el (secrets-create-item, secrets-search-items):
3759 Check that attribute values are strings, avoiding the construction
3760 of invalid dbus messages.
3761
3762 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3763
3764 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3765 defun-declarations-alist.
3766
3767 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3768
3769 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3770 (bug#16829).
3771
3772 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3773
3774 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3775 (whitespace-newline, whitespace-trailing, whitespace-line)
3776 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3777 (whitespace-space-after-tab): Fix typo in docstrings.
3778
3779 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3780
3781 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3782
3783 * electric.el (electric-indent-functions-without-reindent):
3784 Add `yaml-indent-line'.
3785
3786 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3787
3788 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3789 It has done nothing for years; should be removed after the release.
3790
3791 * simple.el (choose-completion): Fix docstring typo.
3792 (read-quoted-char-radix): Remove unneeded * in docstring.
3793 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3794 Don't escape parentheses unnecessarily in docstrings.
3795
3796 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3797
3798 Fix handling of window-min-height/-width (Bug#16738).
3799 * window.el (window--dump-window, window--dump-frame):
3800 New functions.
3801 (window--min-size-1): Account for window dividers.
3802 When window-resize-pixelwise is nil, delay rounding till after the
3803 sum of the window components has been calculated.
3804 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3805 nil make sure at least one text line and two text columns remain
3806 fully visible.
3807 (window-resize): Signal an error when window-resize-apply fails.
3808 (window--resize-child-windows): Fix calculation of by how many
3809 pixels a window can still be shrunk via window-new-normal.
3810 (adjust-window-trailing-edge): Call window--resizable with
3811 correct TRAIL argument.
3812
3813 (with-temp-buffer-window): Don't evaluate BODY within
3814 with-current-buffer (Bug#16816).
3815
3816 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3817
3818 * net/tramp.el (tramp-check-cached-permissions):
3819 Call `file-attributes' with `suffix' being a symbol but a string.
3820
3821 2014-02-21 Daniel Colascione <dancol@dancol.org>
3822
3823 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3824 (dbus-init-bus): New function: call into dbus-init-bus-1
3825 and installs a handler for the disconnect signal.
3826 (dbus-call-method): Rewrite to look for result in cons.
3827 (dbus-call-method-handler): Store result in cons.
3828 (dbus-check-event): Recognize events with nil sender as valid.
3829 (dbus-handle-bus-disconnect): New function. React to bus
3830 disconnection signal by synthesizing dbus error for each
3831 pending synchronous or asynchronous call.
3832 (dbus-notice-synchronous-call-errors): New function.
3833 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3834 is true, not all the time.
3835
3836 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3837
3838 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3839 Remove obsolescence declarations, these variables do not exist anymore.
3840
3841 * savehist.el (savehist-save-minibuffer-history)
3842 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3843 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3844 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3845 mostly, refer to "Savehist mode" when talking about the mode,
3846 and not the function.
3847
3848 * saveplace.el (save-place): Remove redundant info in docstring.
3849 (save-place-forget-unreadable-files, toggle-save-place)
3850 (save-place-forget-unreadable-files, save-place-dired-hook):
3851 Fix typos and remove unneeded backslashes.
3852
3853 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3854
3855 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3856 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3857
3858 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3859 <insert-directory>: Use `tramp-handle-insert-directory'.
3860 (tramp-gvfs-handle-insert-directory): Remove function.
3861
3862 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3863 Call `tramp-handle-insert-directory'.
3864
3865 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3866
3867 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3868 before the start of buffer/region (bug#16799).
3869
3870 2014-02-20 Glenn Morris <rgm@gnu.org>
3871
3872 * isearch.el (search-invisible): Doc fix.
3873
3874 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3875
3876 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3877 (bug#16657).
3878
3879 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3880
3881 * frameset.el (frameset-restore): Delay removing an old frame's
3882 duplicate id until the new frame has been correctly created.
3883
3884 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3885
3886 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3887 (tramp-check-cached-permissions): Call `file-attributes' if the
3888 cache is empty.
3889
3890 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3891 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3892
3893 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3894 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3895 (tramp-gvfs-maybe-open-connection): Set always connection
3896 properties, even if target is mounted already.
3897
3898 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3899 Set tramp-autoload cookie.
3900 (tramp-get-remote-touch): New defun.
3901 (tramp-sh-handle-set-file-times): Use it.
3902 (tramp-sh-handle-directory-files-and-attributes):
3903 Use `tramp-handle-directory-files-and-attributes' if neither stat
3904 nor perl are available on the remote host.
3905
3906 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3907 "/". Write long listing only when "l" belongs to the switches.
3908
3909 * net/trampver.el: Update release number.
3910
3911 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3912
3913 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3914
3915 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3916
3917 * window.el (window-state-put): Allow WINDOW to refer to an
3918 internal window (Bug#16793).
3919
3920 2014-02-19 Glenn Morris <rgm@gnu.org>
3921
3922 * textmodes/remember.el: Move provide statement to end.
3923 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3924 (remember-notes): Doc fixes.
3925
3926 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3927
3928 * delsel.el (delete-char): Restore incorrectly erased property
3929 (bug#16795).
3930
3931 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3932
3933 * frameset.el (frameset--restore-frame): When a frame is being reused
3934 and its root window is not alive, delete all the frame's windows before
3935 restoring the window state. This works around the issue in bug#16793.
3936
3937 2014-02-18 Glenn Morris <rgm@gnu.org>
3938
3939 * textmodes/remember.el (remember-data-directory)
3940 (remember-directory-file-name-format, remember-store-in-files)
3941 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3942 (remember-notes-save-and-bury-buffer)
3943 (remember-notes--kill-buffer-query): Doc fixes.
3944
3945 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3946
3947 2014-02-17 Alan Mackenzie <acm@muc.de>
3948
3949 Connect electric-indent-mode up with CC Mode. Bug #15478.
3950 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3951 to electric-indent-{,local-}-mode.
3952 (c-basic-common-init): Set electric-indent-inhibit.
3953 Initialise c-electric-flag from electric-indent-mode.
3954 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3955 New hook functions which propagate electric-indent-mode to CC mode.
3956
3957 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3958 hit, toggle electric-indent-local-mode.
3959
3960 * electric.el (electric-indent-mode-has-been-called):
3961 New variable.
3962
3963 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3964
3965 * frameset.el (frameset-cfg-id): New function.
3966 (frameset--reuse-frame, frameset-restore): Use it.
3967 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3968
3969 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3970
3971 * ido.el (ido-file-internal): Remove unused var `d'.
3972 Use \` for to match BoS. Fit within 80n columns.
3973
3974 2014-02-17 Daniel Colascione <dancol@dancol.org>
3975
3976 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3977 dbus-call-method check for completion using a busy-wait loop with
3978 gradual backoff.
3979
3980 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3981
3982 Sync with Tramp 2.2.9.
3983
3984 * net/trampver.el: Update release number.
3985
3986 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3987
3988 * ido.el (ido-file-internal): Don't add the name of an existing
3989 directory twice. (Bug#16747)
3990
3991 2014-02-16 Glenn Morris <rgm@gnu.org>
3992
3993 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3994 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3995
3996 2014-02-15 Michael R. Mauger <michael@mauger.com>
3997
3998 * progmodes/sql.el: Version 3.4
3999 (sql-oracle-options): New default value ("-L").
4000 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
4001 (sql-placeholders-filter): Correct placeholder pattern.
4002 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
4003 (sql-login-delay): New variable.
4004 (sql-product-interactive): Use it.
4005
4006 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
4007
4008 * frameset.el (frameset--jump-to-register): Check that buffer is live
4009 (bug#16749).
4010
4011 2014-02-15 Glenn Morris <rgm@gnu.org>
4012
4013 * info.el (info-initialize): Revert 2014-01-10 change.
4014
4015 2014-02-14 Glenn Morris <rgm@gnu.org>
4016
4017 * replace.el (map-query-replace-regexp)
4018 (read-regexp-defaults-function, read-regexp): Doc fixes.
4019
4020 * dired.el (dired-read-regexp):
4021 * faces.el (list-faces-display):
4022 * misearch.el (multi-isearch-read-matching-buffers)
4023 (multi-isearch-read-matching-files):
4024 * play/cookie1.el (cookie-apropos):
4025 * progmodes/grep.el (grep-read-regexp): Doc fixes.
4026
4027 * textmodes/remember.el (remember): Use frameset-to-register
4028 rather than frame-configuration-to-register.
4029
4030 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
4031
4032 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
4033 incorrect keybinding.
4034
4035 2014-02-13 Daniel Colascione <dancol@dancol.org>
4036
4037 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
4038 when adding overlays so that line numbers from compiler match line
4039 numbers we use.
4040
4041 2014-02-13 Glenn Morris <rgm@gnu.org>
4042
4043 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
4044
4045 * jit-lock.el (jit-lock-mode): Doc fix.
4046
4047 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
4048
4049 * apropos.el (apropos-read-pattern): When the user passes an empty
4050 string, give a more helpful error message than "Wrong type
4051 argument: stringp, nil".
4052
4053 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
4054
4055 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
4056
4057 2014-02-13 Glenn Morris <rgm@gnu.org>
4058
4059 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
4060
4061 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
4062
4063 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
4064 shift-select commands.
4065
4066 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
4067
4068 * progmodes/js.el (js-indent-line): Don't widen.
4069 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
4070
4071 2014-02-12 Glenn Morris <rgm@gnu.org>
4072
4073 * icomplete.el (icomplete): Add info-link to defgroup.
4074 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
4075 (icomplete-minibuffer-map, icomplete-mode)
4076 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
4077
4078 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
4079 (package-menu-filter): Rename from package-menu-filter-interactive.
4080 Doc fix.
4081
4082 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
4083
4084 * frameset.el (frameset--jump-to-register): Select the required
4085 window and buffer before restoring position (bug#16696).
4086
4087 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
4088
4089 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
4090
4091 2014-02-10 Glenn Morris <rgm@gnu.org>
4092
4093 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
4094
4095 2014-02-10 Eli Zaretskii <eliz@gnu.org>
4096
4097 * w32-common-fns.el (x-get-selection): Doc fix.
4098 * select.el (x-get-selection): Doc fix. (Bug#15109)
4099
4100 * face-remap.el (face-remap-add-relative)
4101 (face-remap-remove-relative, face-remap-reset-base)
4102 (face-remap-set-base): Call force-mode-line-update to redisplay
4103 the current buffer due to potential change in faces. (Bug#16709)
4104
4105 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
4106
4107 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
4108 script more robustly.
4109
4110 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4111
4112 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
4113
4114 * simple.el (choose-completion): Doc fix (bug#14160).
4115
4116 * subr.el (event-start): Say what a nil EVENT value means.
4117
4118 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
4119 (bug#14197).
4120
4121 * progmodes/grep.el (find-program): Doc fix (bug#14289).
4122
4123 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
4124
4125 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
4126
4127 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
4128 predicate function (bug#15455).
4129
4130 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
4131
4132 * ielm.el (inferior-emacs-lisp-mode): Instead of
4133 `comment-use-global-state', set `comment-use-syntax'.
4134
4135 2014-02-10 Glenn Morris <rgm@gnu.org>
4136
4137 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
4138
4139 2014-02-09 Alan Mackenzie <acm@muc.de>
4140
4141 Fix c-invalidate-state-cache on narrowed buffers.
4142 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
4143 Widen when setting and clearing the CPP delimiter properties.
4144
4145 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
4146
4147 * help.el (describe-bindings): Doc fix (bug#9888).
4148
4149 * files.el (save-buffer): Use ARG as the parameter name for
4150 consistency (bug#10346).
4151 (save-buffer): Clarify the 0 argument (bug#10346).
4152
4153 * cus-edit.el (customize-apropos): Fix error string.
4154 (custom-buffer-create): Doc fix (bug#11122).
4155 (custom-sort-items): Doc fix (bug#11121).
4156
4157 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
4158
4159 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
4160 (icomplete-simple-completing-p): Mention the previous variable.
4161
4162 * font-lock.el (font-lock-value-in-major-mode): Clarify the
4163 meaning of the parameter (bug#12282).
4164
4165 * files.el (find-file-noselect): Clarify prompt when changing
4166 readedness (bug#13261).
4167 (locate-file): Suffixes aren't returned, so don't say that they
4168 are (bug#12674).
4169 (backup-inhibited): Doc clarification (bug#12525).
4170
4171 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
4172 before we actually start to delete things (bug#16331).
4173
4174 * subr.el (event-start): Doc fix (bug#14228).
4175 (event-end): Ditto.
4176
4177 2014-02-09 Glenn Morris <rgm@gnu.org>
4178
4179 * emacs-lisp/warnings.el (lwarn):
4180 Empower help-enable-auto-load. (Bug#15940)
4181
4182 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4183
4184 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
4185 (Bug#16690)
4186
4187 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
4188
4189 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4190 Insert output at end of buffer. (Bug#16120)
4191
4192 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4193
4194 * simple.el (choose-completion-string-functions): Document new
4195 calling convention (bug#14153).
4196 (execute-extended-command): Clarify doc string (bug#13373).
4197
4198 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
4199
4200 * find-dired.el (find-name-dired): Doc fix (bug#14290).
4201 (find-grep-dired): Doc fix (bug#14288).
4202
4203 2014-02-08 Juri Linkov <juri@jurta.org>
4204
4205 * isearch.el (isearch-quote-char): Check character validity
4206 like in `quoted-insert' (bug#16677).
4207
4208 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4209
4210 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
4211
4212 * isearch.el (isearch-hide-immediately): Doc clarification
4213 (bug#14723).
4214
4215 * simple.el (line-move): Document utility function used many
4216 places in the Emacs sources (bug#14843).
4217
4218 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
4219 (dired-prev-marked-file): Doc fix (bug#14855).
4220 (dired-up-directory): Doc fix (bug#14848).
4221
4222 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
4223
4224 * files.el (file-relative-name): Doc fix (bug#15159).
4225
4226 * fringe.el (fringe-styles): Doc fix (bug#15239).
4227
4228 * isearch.el (isearch-filter-predicate): Documentation typo fix
4229 (bug#15474).
4230
4231 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
4232
4233 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
4234
4235 * replace.el (replace-match-maybe-edit): Doc clarification
4236 (bug#15632).
4237
4238 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
4239
4240 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
4241
4242 2014-02-08 Glenn Morris <rgm@gnu.org>
4243
4244 * help-fns.el (describe-variable):
4245 Check {file,dir}-local-variables-alist, and buffer-file-name,
4246 in the correct buffer.
4247
4248 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
4249
4250 * help-fns.el (describe-variable): Fix the case where
4251 a value is directory-local with no dir-locals file. (Bug#16635)
4252
4253 2014-02-08 Glenn Morris <rgm@gnu.org>
4254
4255 * abbrev.el (edit-abbrevs-mode):
4256 Derive from fundamental-mode. (Bug#16682)
4257
4258 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
4259
4260 * simple.el (quoted-insert): Check character validity (bug#16677).
4261
4262 2014-02-07 Juri Linkov <juri@jurta.org>
4263
4264 * desktop.el (desktop-read): Claim the lock when the owner is not
4265 the current process. (Bug#16157)
4266
4267 2014-02-07 Juri Linkov <juri@jurta.org>
4268
4269 * desktop.el (desktop-buffers-not-to-save): Change default from nil
4270 to "\\` ". (Bug#16651)
4271
4272 2014-02-07 Juri Linkov <juri@jurta.org>
4273
4274 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
4275 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
4276 (desktop-auto-save-cancel-timer): New function with some code from
4277 `desktop-auto-save-set-timer'.
4278 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
4279 Instead of setting `desktop-save-mode' to nil, call
4280 `desktop-save-mode' with arg 0. (Bug#16630)
4281
4282 2014-02-07 Glenn Morris <rgm@gnu.org>
4283
4284 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
4285 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
4286 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
4287
4288 * obsolete/iswitchb.el: Move to obsolete/.
4289 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
4290 since obsolete/ is not scanned for autoloads.
4291 * emacs-lisp/authors.el (authors-valid-file-names):
4292 Add iswitchb.el.
4293
4294 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
4295 Disable now non-functional find-file-hook.
4296
4297 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
4298
4299 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
4300 instead of ";" in order to avoid additional prompts. Let heredoc
4301 scripts read from tty. (Bug#16582)
4302 (tramp-send-command): No special handling of heredocs, it isn't
4303 necessary anymore.
4304
4305 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
4306
4307 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
4308 with a space (bug#16664). Limit the symbols considered to the ones
4309 that are bound or fbound (bug#16646).
4310
4311 2014-02-06 Glenn Morris <rgm@gnu.org>
4312
4313 * epa.el (epa-mail-aliases): Doc fix.
4314
4315 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
4316
4317 * emacs-lisp/lisp.el (lisp-completion-at-point):
4318 Use `completion-table-merge' instead of `completion-table-in-turn'
4319 (bug#16604).
4320
4321 * minibuffer.el (completion-table-merge): New function.
4322
4323 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
4324
4325 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
4326 (tramp-sh-handle-set-file-acl)
4327 (tramp-sh-handle-start-file-process)
4328 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
4329 (tramp-find-executable, tramp-send-command): Use it.
4330
4331 2014-02-05 Glenn Morris <rgm@gnu.org>
4332
4333 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
4334
4335 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
4336
4337 * progmodes/python.el (python-shell-send-string)
4338 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
4339
4340 2014-02-04 Anders Lindgren <andlind@gmail.com>
4341
4342 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
4343 the names (bug#16620).
4344
4345 2014-02-03 Martin Rudalics <rudalics@gmx.at>
4346
4347 * faces.el (window-divider): New default value. Rewrite doc-string.
4348 (window-divider-first-pixel, window-divider-last-pixel): New faces.
4349
4350 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
4351
4352 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
4353 `protected' and `public' can also be called without arguments.
4354
4355 2014-02-03 Glenn Morris <rgm@gnu.org>
4356
4357 * register.el (window-configuration-to-register)
4358 (frame-configuration-to-register): Unadvertise unused argument.
4359 * frameset.el (frameset-to-register): Remove unused argument.
4360
4361 * frameset.el (frameset-to-register):
4362 * kmacro.el (kmacro-to-register):
4363 * register.el (increment-register):
4364 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
4365 (calc-append-to-register, calc-prepend-to-register):
4366 * play/gametree.el (gametree-layout-to-register)
4367 (gametree-apply-register-layout):
4368 * textmodes/picture.el (picture-clear-rectangle-to-register)
4369 (picture-yank-rectangle-from-register):
4370 * vc/emerge.el (emerge-combine-versions-register):
4371 Use register-read-with-preview to read registers.
4372
4373 2014-02-03 João Távora <joaotavora@gmail.com>
4374
4375 * elec-pair.el (electric-pair-backward-delete-char): Don't error
4376 when at beginning of (possibly narrowed) buffer.
4377
4378 2014-02-02 Daniel Colascione <dancol@dancol.org>
4379
4380 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
4381 Also try to display local help from just before point.
4382
4383 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
4384
4385 c-parse-state. Don't "append-lower-brace-pair" in certain
4386 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
4387 recognised as a comment.
4388
4389 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
4390 as well as normal comment starter.
4391 (c-parse-state-get-strategy): Extra return possibility
4392 'back-and-forward.
4393 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
4394 return value list to indicate replacement of a brace-pair cons
4395 with its car.
4396 (c-parse-state-1): With 'back-and-forward, only call
4397 c-append-lower-brace-pair-to state-cache when cons-separated.
4398
4399 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
4400
4401 * term/ns-win.el (ns-suspend-error): New function.
4402 (ns-initialize-window-system): Add ns-suspend-error to
4403 suspend-hook (Bug#16612).
4404
4405 2014-02-02 Daniel Colascione <dancol@dancol.org>
4406
4407 * progmodes/cc-defs.el (c-find-assignment-for-mode):
4408 Make loading cc-mode silent.
4409
4410 2014-02-02 Daniel Colascione <dancol@dancol.org>
4411
4412 * comint.el (comint-prompt-read-only): Change doc to suggest
4413 remap keybinding.
4414
4415 2014-02-02 Glenn Morris <rgm@gnu.org>
4416
4417 * register.el (register-read-with-preview, point-to-register)
4418 (window-configuration-to-register, frame-configuration-to-register)
4419 (jump-to-register, number-to-register, view-register, insert-register)
4420 (copy-to-register, append-to-register, prepend-to-register)
4421 (copy-rectangle-to-register): Doc fixes.
4422
4423 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4424
4425 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
4426 * emacs-lisp/find-func.el (find-function-C-source): Idem.
4427 * emacs-lisp/nadvice.el (advice--cd*r): New function.
4428 * help-fns.el (describe-function-1): Use it.
4429
4430 2014-02-02 Glenn Morris <rgm@gnu.org>
4431
4432 * register.el (register-preview-default): New function,
4433 split from register-preview.
4434 (register-preview-function): Rename from register-preview-functions,
4435 make it not a hook.
4436 (register-preview): Use register-preview-function.
4437 (register-read-with-preview): Error on non-character event. (Bug#16595)
4438
4439 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
4440
4441 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
4442 `:' before binary operators (bug#16609). Don't check for `:'
4443 before `[' and `(', or their syntax status. A percent literal
4444 can't end with either.
4445 (ruby-font-lock-keywords): For built-ins that require arguments,
4446 check that they're followed by something that looks like argument
4447 (bug#16610).
4448
4449 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
4450
4451 * subr.el (butlast): Document what an omitted N means (bug#13437).
4452 (nbutlast): Ditto.
4453
4454 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
4455
4456 * net/shr.el (shr-generic): Make into a defsubst to make the stack
4457 depth shallower (bug#16587).
4458 (shr-tag-svg): Respect `shr-inhibit-images'.
4459 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
4460
4461 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
4462
4463 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
4464 (ruby-smie-grammar): Make "." right-associative. Make its priority
4465 lower than the ternary and all binary operators.
4466 (ruby-smie-rules): Indent "(" relative to the first non-"."
4467 parent, or the first "." parent at indentation.
4468 Use `ruby-align-chained-calls' for indentation of "." tokens.
4469 (Bug#16593)
4470
4471 2014-01-31 Juri Linkov <juri@jurta.org>
4472
4473 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
4474 from `make-hash-table'.
4475
4476 * textmodes/ispell.el (ispell-init-process): Change message format
4477 to be consistent with other messages.
4478
4479 2014-01-31 Glenn Morris <rgm@gnu.org>
4480
4481 * delsel.el (delete-selection-mode): Doc fix.
4482
4483 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
4484 (trace-function-background): Doc fixes.
4485
4486 * ido.el (ido-use-virtual-buffers): Doc fix.
4487 Reset :version, since the default value has not changed.
4488
4489 * register.el (register-preview-delay, register-read-with-preview):
4490 Doc fixes.
4491
4492 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
4493 do not mess with mail-buffer position (fixes 2009-11-03 change).
4494 * progmodes/cc-mode.el (c-submit-bug-report):
4495 Check auto-fill-mode is bound. (Bug#16592)
4496
4497 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
4498
4499 * startup.el (fancy-splash-image-file): New function,
4500 split from fancy-splash-head.
4501 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
4502 so that we are both using the same image. (Bug#16574)
4503
4504 2014-01-30 Glenn Morris <rgm@gnu.org>
4505
4506 * simple.el (eval-expression): Doc fix.
4507
4508 * hexl.el (hexl-mode-hook):
4509 * ielm.el (ielm-mode-hook):
4510 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
4511 (lisp-interaction-mode-hook):
4512 * progmodes/cfengine.el (cfengine3-documentation-function):
4513 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
4514
4515 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4516
4517 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
4518 is a symbol (bug#16584).
4519
4520 2014-01-30 Glenn Morris <rgm@gnu.org>
4521
4522 * help.el (help-for-help-internal): Add "P" to text.
4523
4524 2014-01-29 Glenn Morris <rgm@gnu.org>
4525
4526 * simple.el (just-one-space, cycle-spacing): Doc fixes.
4527
4528 2014-01-28 Martin Rudalics <rudalics@gmx.at>
4529
4530 * window.el (fit-frame-to-buffer): Fix calculations for margins and
4531 height constraints.
4532
4533 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
4534
4535 * progmodes/hideif.el: Extend to full CPP expression syntax.
4536 (hif-token-alist): Add missing tokens.
4537 (hif-token-regexp): Add support for float/octal/hex immediates.
4538 (hif-string-literal-regexp): New const.
4539 (hif-tokenize): Recognize strings and float/octal/hex immediates.
4540 (hif-exprlist): New function.
4541 (hif-parse-if-exp): Use it.
4542 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
4543 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
4544 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
4545 (hif-logxor, hif-comma): New functions.
4546
4547 2014-01-28 Glenn Morris <rgm@gnu.org>
4548
4549 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
4550
4551 * indent.el (tab-stop-list): Doc fix. Add :version.
4552
4553 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
4554 (cvs-append-to-ignore): Add compatibility alias.
4555
4556 2014-01-27 Glenn Morris <rgm@gnu.org>
4557
4558 * dired.el (dired-hide-details-mode): Don't autoload it,
4559 since it cannot be used outside Dired buffers anyway.
4560
4561 * emulation/cua-base.el (cua-mode): Doc fix.
4562
4563 * dired.el (dired-hide-details-hide-symlink-targets)
4564 (dired-hide-details-hide-information-lines)
4565 (dired-hide-details-mode): Doc fixes.
4566
4567 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
4568 * strokes.el (strokes-file): Doc fix. Bump :version.
4569 (strokes-help): Doc fix.
4570 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
4571 * emulation/viper.el (viper): Doc fix for custom group.
4572 (top-level): Remove oh-so-no-longer-relevant text about vip.
4573 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4574
4575 * ido.el (ido-save-directory-list-file):
4576 * saveplace.el (save-place-file):
4577 * calendar/timeclock.el (timeclock-file):
4578 * net/quickurl.el (quickurl-url-file):
4579 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4580 * progmodes/idlwave.el (idlwave-config-directory):
4581 * textmodes/remember.el (remember-data-file):
4582 Bump :version.
4583
4584 2014-01-26 Glenn Morris <rgm@gnu.org>
4585
4586 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4587 Doc fix. Make obsolete.
4588 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4589
4590 * sort.el (delete-duplicate-lines): Doc fix.
4591
4592 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4593
4594 * progmodes/ada-mode.el (ada):
4595 * woman.el (woman): Link to info manual and Commentary section.
4596
4597 * progmodes/flymake.el (flymake):
4598 * nxml/nxml-mode.el (nxml):
4599 * net/eww.el (eww):
4600 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4601 * htmlfontify.el (htmlfontify):
4602 * ses.el (ses):
4603 * epa.el (epa):
4604 * ido.el (ido): Link to info manual.
4605
4606 2014-01-25 Leo Liu <sdl.web@gmail.com>
4607
4608 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4609
4610 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
4611
4612 * net/shr.el (shr-tag-img): Prefer the title over the alt text
4613 (bug#16537).
4614
4615 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
4616
4617 * net/eww.el (eww-download-callback):
4618 Fix reference to eww-download-directory.
4619
4620 * emacs-lisp/bytecomp.el (byte-compile-file):
4621 Remove unused local variable `file-name'.
4622
4623 2014-01-24 Glenn Morris <rgm@gnu.org>
4624
4625 * woman.el (woman-default-faces, woman-monochrome-faces):
4626 Fix obsolescence specification.
4627
4628 * subr.el (with-demoted-errors): Doc fix.
4629
4630 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
4631
4632 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4633 (cl--macroexp-fboundp): New function.
4634 (cl--make-type-test): Use it.
4635
4636 2014-01-23 Glenn Morris <rgm@gnu.org>
4637
4638 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4639 * simple.el (eval-expression): Doc fixes.
4640
4641 2014-01-22 Glenn Morris <rgm@gnu.org>
4642
4643 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4644
4645 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
4646
4647 * emacs-lisp/package.el: Write files silently.
4648 (package-autoload-ensure-default-file, package--write-file-no-coding)
4649 (package-generate-description-file, package--download-one-archive)
4650 (package-install-from-archive): Tell `write-region' to stay quiet.
4651 (package-menu-mode, package-menu--print-info): Omit the Archive column
4652 if there's only one archive.
4653 (package-all-keywords, package--has-keyword-p): Remove dead code.
4654
4655 2014-01-22 Glenn Morris <rgm@gnu.org>
4656
4657 * version.el (emacs-bzr-version-bzr): Fix typo.
4658
4659 * version.el (emacs-repository-get-version):
4660 Check either .bzr or .git, but not both.
4661 Make the git case actually use the DIR argument, and return nil
4662 rather than the empty string.
4663 Avoid error if .git exists but the git executable is not found.
4664
4665 2014-01-22 Martin Rudalics <rudalics@gmx.at>
4666
4667 Fixes in window size functions around Bug#16430 and Bug#16470.
4668 * window.el (window-total-size, window-size): New argument ROUND.
4669 (window--min-delta-1, window-min-delta, window--max-delta-1):
4670 Be more conservative when calculating the numbers of lines or
4671 columns a window can shrink (Bug#16430).
4672 (fit-window-to-buffer): Simplify code.
4673 * term.el (term-window-width): Call window-body-width again.
4674
4675 2014-01-22 Glenn Morris <rgm@gnu.org>
4676
4677 * image.el (image-format-suffixes): Doc fix.
4678
4679 * international/quail.el (quail-define-package): Doc fix.
4680
4681 * emacs-lisp/authors.el (authors-valid-file-names)
4682 (authors-renamed-files-alist): Additions.
4683
4684 * vc/vc-git.el (vc-git-print-log): Remove --follow;
4685 reverts 2014-01-09 change. (Bug#16422)
4686
4687 * calc/calc-embed.el (thing-at-point-looking-at):
4688 * emacs-lisp/map-ynp.el (x-popup-dialog):
4689 * obsolete/lmenu.el (x-popup-dialog):
4690 * emacs-lisp/package.el (url-recreate-url):
4691 * mail/mailclient.el (clipboard-kill-ring-save):
4692 * subr.el (x-popup-dialog): Update declaration.
4693 * mail/rmail.el (rmail-mime-message-p):
4694 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4695
4696 2014-01-21 Daniel Colascione <dancol@dancol.org>
4697
4698 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4699 Correctly detect when we're inside an arithmetic expansion form
4700 containing nested parenthesis.
4701 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4702 to detect cases where we shouldn't expand "<<" to a heredoc
4703 skeleton.
4704
4705 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4706
4707 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4708 (eldoc--message-command-p): New function.
4709 (eldoc-display-message-p): Use it.
4710 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4711 message is not automatically erased for us.
4712 (eldoc-print-current-symbol-info): Erase previous message, if any.
4713
4714 2014-01-21 Tassilo Horn <tsdh@gnu.org>
4715
4716 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4717 specify it's an interactive function.
4718
4719 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4720 Fix regex used for scanning for citation keys which failed for
4721 citations with optional arguments.
4722
4723 2014-01-21 Leo Liu <sdl.web@gmail.com>
4724
4725 * simple.el (read--expression): Don't enable eldoc-mode.
4726
4727 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4728
4729 * simple.el (move-beginning-of-line): Make sure we don't move forward
4730 (bug#16497).
4731
4732 2014-01-20 Juri Linkov <juri@jurta.org>
4733
4734 * saveplace.el (toggle-save-place, save-place-to-alist)
4735 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4736 'dired-mode) before checking for dired-directory. (Bug#16477)
4737
4738 2014-01-20 Juri Linkov <juri@jurta.org>
4739
4740 * indent.el (indent-line-to): Use backward-to-indentation
4741 instead of back-to-indentation. (Bug#16461)
4742
4743 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4744
4745 Revert some of the CANNOT_DUMP fix (Bug#16494).
4746 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4747 but fixing this can wait until after the next release.
4748 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4749
4750 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
4751
4752 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4753 Use `password-word-equivalents'.
4754 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4755 to t. (Bug#5664, Bug#13124)
4756
4757 2014-01-19 Alan Mackenzie <acm@muc.de>
4758
4759 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4760 points.
4761 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4762 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4763 * progmodes/cc-mode.el (c-before-change, c-after-change)
4764 (c-font-lock-fontify-region): Bind it here.
4765
4766 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4767
4768 * term.el (term-window-width): Call window-text-width instead of
4769 window-width (Bug#16470).
4770
4771 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4772
4773 * simple.el (password-word-equivalents): Remove duplicates.
4774 Sort, to make this easier next time.
4775 Downcase. Omit ": " after "jelszó".
4776
4777 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4778
4779 * term/common-win.el (saved-region-selection): Defvar it.
4780 (x-select-text): Set saved-region-selection (Bug#16382).
4781
4782 2014-01-18 Glenn Morris <rgm@gnu.org>
4783
4784 * emacs-lisp/authors.el (authors-aliases)
4785 (authors-renamed-files-alist): Add some entries.
4786
4787 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4788
4789 * net/tramp.el (tramp-password-prompt-regexp):
4790 Use `password-word-equivalents' if available.
4791 (tramp-action-password, tramp-process-one-action)
4792 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4793
4794 2014-01-17 Chong Yidong <cyd@gnu.org>
4795
4796 * simple.el (password-word-equivalents): New defcustom.
4797 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4798 to 24.4.
4799 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4800 to t. (Bug#13124)
4801
4802 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4803
4804 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4805 (ruby-align-to-stmt-keywords): Change the default value.
4806 Use `ruby-alignable-keywords' to generate the possible customization
4807 choices.
4808 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4809 keywords, check against the value of `ruby-alignable-keywords'
4810 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4811
4812 2014-01-17 Glenn Morris <rgm@gnu.org>
4813
4814 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4815
4816 Make M-x authors return zero *Authors Errors* from current logs.
4817 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4818 (authors-ignored-files): Add some entries, remove others.
4819 (authors-ambiguous-files, authors-valid-file-names):
4820 Add some entries.
4821 (authors-renamed-files-alist): Add, remove, and adjust entries.
4822 (authors-renamed-files-regexps): Add some entries.
4823 Remove some very broad ones. Make some entries `lax'.
4824 (authors-lax-changelogs): New constant.
4825 (authors-disambiguate-file-name): Treat top-level specially.
4826 (authors-lax-changelog-p): New function.
4827 (authors-canonical-file-name): Check file as written against
4828 authors-valid-file-names. Do not special-case etc/.
4829 Handle `lax' logs and authors-renamed-files-regexps elements.
4830
4831 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4832
4833 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4834 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4835 callers.
4836
4837 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4838
4839 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4840 Assume we're already in the proper buffer.
4841 Inspired by Anders Lindgren <andlind@gmail.com>.
4842 (follow-post-command-hook): Call it from the right buffer.
4843 (follow-comint-scroll-to-bottom): Adjust call.
4844 (follow-all-followers): Use get-buffer-window-list.
4845
4846 2014-01-15 Daniel Colascione <dancol@dancol.org>
4847
4848 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4849 `buffer-file-name' in interactive-form so that we don't leave
4850 pathless file names in `file-name-history'.
4851
4852 2014-01-15 Juri Linkov <juri@jurta.org>
4853
4854 * indent.el (indent-rigidly): Set deactivate-mark to nil
4855 in transient indentation mode. (Bug#16438)
4856
4857 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4858
4859 * emacs-lisp/package.el (package-desc-keywords): New function
4860 (Bug#16222).
4861 (describe-package-1, package-all-keywords)
4862 (package--has-keyword-p): Use it.
4863
4864 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4865
4866 * simple.el (define-alternatives): When creating the
4867 COMMAND-alternatives variable, assign COMMAND as its definition
4868 name so that `describe-variable' can relocate it.
4869
4870 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4871
4872 * font-lock.el (font-lock-keywords): Fix typo in docstring
4873 (bug#16307).
4874
4875 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4876
4877 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
4878 line instead of wrongly reset `add-coment' (bug#13577).
4879
4880 2014-01-14 Daiki Ueno <ueno@gnu.org>
4881
4882 * epa-file.el (epa-file-write-region): Encode the region according
4883 to `buffer-file-format'. Problem reported at:
4884 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4885
4886 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4887
4888 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4889 so it applies in the right buffer (bug#16410).
4890
4891 2014-01-13 Daniel Colascione <dancol@dancol.org>
4892
4893 * textmodes/rst.el (rst-define-key): Provide deprecated
4894 keybindings through named functions instead of anonymous ones so
4895 that "??" doesn't appear in describe-mode output.
4896
4897 2014-01-13 Bastien Guerry <bzg@gnu.org>
4898
4899 * simple.el (define-alternatives): Call the selected command
4900 interactively. When setting `COMMAND--implementation' for the
4901 first time, tell the user how to chose another implementation.
4902 Enhance the docstring.
4903
4904 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4905
4906 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4907 (log-edit--match-first-line): New function.
4908 (log-edit-font-lock-keywords): Use it.
4909 (log-edit-mode): Make jit-lock-defer-multiline work.
4910
4911 2014-01-13 Bastien Guerry <bzg@gnu.org>
4912
4913 * rect.el (rectangle-mark-mode): When the region is not active,
4914 display a message saying that the mark as been set and that
4915 rectangle mode is in use.
4916 (rectangle--highlight-for-redisplay): Only put an overlay with a
4917 visible vertical bar when (display-graphic-p) is non-nil.
4918 This partially fixes Bug#16403.
4919
4920 2014-01-13 Juri Linkov <juri@jurta.org>
4921
4922 * info.el (Info-find-file): Go to DIR before displaying the error
4923 about a nonexistent file if no previous Info file is visited.
4924 Use `user-error' instead of `error' for "Info file %s does not exist".
4925 (Info-find-node-2): In case of a nonexistent node in unwind forms
4926 go to the Top node if there is no previous node to revert to.
4927 (Bug#16405)
4928
4929 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4930
4931 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4932 * window.el (fit-frame-to-buffer): Fix doc-string.
4933 Respect window-min-height/-width. Fit pixelwise when
4934 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4935 when avoiding that frame goes partially off-screen.
4936 (fit-window-to-buffer): Respect window-min-height/-width
4937 (Bug#14096).
4938
4939 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4940
4941 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4942 after an empty line.
4943
4944 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4945
4946 * net/shr.el (shr-render-region): Autoload.
4947
4948 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4949
4950 * net/eww.el (eww-download-directory): Rename from
4951 `eww-download-path' (Bug#16419).
4952
4953 2014-01-12 Leo Liu <sdl.web@gmail.com>
4954
4955 * dired-x.el (dired-mode-map): Fix last change.
4956
4957 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4958
4959 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4960
4961 Spelling fixes.
4962 * emacs-lisp/generic.el (generic--normalize-comments):
4963 Rename from generic--normalise-comments. All uses changed.
4964 * play/bubbles.el (bubbles--neighborhood-score)
4965 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4966 (bubbles--neighborhood-available)
4967 (bubbles--update-neighborhood-score):
4968 Rename from names with 'neighbourhood'. All uses changed.
4969
4970 2014-01-12 Leo Liu <sdl.web@gmail.com>
4971
4972 Re-implement the feature of showing eldoc info after editing.
4973 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4974 (eldoc-edit-message-commands): New function.
4975 (eldoc-print-after-edit): New variable.
4976 (eldoc-pre-command-refresh-echo-area): Emit message only by
4977 eldoc-message-commands.
4978 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4979 if eldoc-print-after-edit is set. (Bug#16346)
4980 * simple.el (read--expression): Enable eldoc-mode.
4981 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4982
4983 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4984 Eric S. Raymond <esr@thyrsus.com>
4985
4986 * version.el (emacs-repository-get-version): Enhance so the
4987 function works correctly in either a Bazaar or Git repo.
4988
4989 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4990
4991 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4992 Goes with removal of the joke manpages from /etc.
4993
4994 2014-01-10 Kenichi Handa <handa@gnu.org>
4995
4996 * mail/rmail.el (rmail-get-coding-system):
4997 Check rmail-get-coding-function before "funcall"ing it.
4998
4999 2014-01-10 Glenn Morris <rgm@gnu.org>
5000
5001 * emacs-lisp/authors.el (authors-fixed-entries):
5002 Update for files that no longer exist.
5003
5004 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
5005
5006 * version.el (emacs-bzr-get-version): Restore compatibilty with
5007 24.3 (Tested).
5008
5009 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
5010
5011 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
5012 and Podfile.
5013
5014 2014-01-10 Eli Zaretskii <eliz@gnu.org>
5015
5016 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
5017
5018 2014-01-10 Chong Yidong <cyd@gnu.org>
5019
5020 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
5021
5022 2014-01-10 Anders Lindgren <andlind@gmail.com>
5023
5024 * follow.el (follow-cache-command-list): Include right-char and
5025 left-char.
5026
5027 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
5028
5029 Spelling fixes.
5030 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
5031 * woman.el (woman-mark-horizontal-position):
5032 Rename from woman-mark-horizonal-position. Use changed.
5033
5034 2014-01-10 Glenn Morris <rgm@gnu.org>
5035
5036 * info.el (info-initialize): If running uninstalled, ensure our
5037 own info files are always found first, even if INFOPATH is set.
5038
5039 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
5040
5041 2014-01-09 David Engster <deng@randomsample.de>
5042
5043 * emacs-lisp/eieio-custom.el:
5044 * emacs-lisp/eieio-opt.el: Set generated autoload file to
5045 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
5046 * emacs-lisp/eieio.el: Regenerate autoloads.
5047
5048 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
5049
5050 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
5051 following renames. (Bug#8756)
5052
5053 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
5054
5055 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
5056 (bug#16382).
5057 (activate-mark): Add `no-tmm' argument.
5058 (set-mark, push-mark-command): Use it instead of running
5059 activate-mark-hook by hand.
5060
5061 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
5062
5063 In preparation for the move to git, sanitize out some
5064 Bazaar-specific names.
5065
5066 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
5067
5068 * version.el (emacs-bzr-version): Name changed to
5069 emacs-repository-version. Obsolete-variable alias made.
5070 * loadup.el: Follow through on this name change.
5071 * mail/emacsbug.el (report-emacs-bug): Factor out any
5072 assumption about the version control system in use.
5073
5074 2014-01-08 David Engster <deng@randomsample.de>
5075
5076 * help-fns.el (help-fns-describe-function-functions):
5077 New variable to call functions for augmenting help buffers.
5078 (describe-function-1): Remove explicit calls to
5079 `help-fns--compiler-macro', `help-fns--parent-mode' and
5080 `help-fns--obsolete'. Put them in above new variable instead, and
5081 call them through `run-hook-with-args'.
5082 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
5083 `eieio-describe-class'. Not meant for interactive use anymore,
5084 but to augment existing help buffers. Remove optional second
5085 argument. Create proper button for file location.
5086 Rewrite function to use `insert' instead of `princ' and `prin1' where
5087 possible.
5088 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
5089 (eieio-method-def, eieio-class-def): Move further up.
5090 (describe-method, describe-generic, eieio-describe-method):
5091 Remove aliases.
5092 (eieio-help-constructor, eieio-help-generic): Rename from
5093 `eieio-describe-constructor' and `eieio-describe-generic', resp.
5094 Rewrite to use `insert' in the current buffer and use proper help
5095 buttons.
5096 (eieio-help-find-method-definition)
5097 (eieio-help-find-class-definition): Also accept symbols as
5098 arguments.
5099 (eieio-help-mode-augmentation-maybee): Remove.
5100 (eieio-describe-class-sb): Use `describe-function'.
5101 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
5102 Add `eieio-help-generic' and `eieio-help-constructor'.
5103
5104 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
5105
5106 Spelling fixes.
5107 * language/china-util.el (hz-ascii-designation):
5108 Rename from hz-ascii-designnation.
5109 (hz-ascii-designation): Rename from hz-ascii-designnation.
5110 All uses changed.
5111
5112 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
5113
5114 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
5115 package-alist.
5116
5117 2014-01-08 Bastien Guerry <bzg@gnu.org>
5118
5119 * emacs-lisp/package.el (package-delete):
5120 Correctly delete the package from package-alist.
5121
5122 2014-01-08 Daiki Ueno <ueno@gnu.org>
5123
5124 * emacs-lisp/package.el (url-recreate-url): Declare.
5125 (url-http-target-url): Declare.
5126 (package-handle-response): Include requested URL in the error message.
5127 (package--check-signature): Don't re-signal errors from
5128 package--with-work-buffer. Suggested by Stefan Monnier.
5129
5130 2014-01-07 Bastien Guerry <bzg@gnu.org>
5131
5132 * minibuffer.el (completion--try-word-completion): When both a
5133 hyphen and a space are possible candidates for the character
5134 following a word, display both candidates. (Bug#15980)
5135
5136 2014-01-07 Martin Rudalics <rudalics@gmx.at>
5137
5138 * window.el (balance-windows-2): While rounding don't give a
5139 window more than the remainder. Bug#16351, bug#16383.
5140
5141 2014-01-07 Glenn Morris <rgm@gnu.org>
5142
5143 * menu-bar.el (menu-bar-help-extra-packages): Remove.
5144 (menu-bar-help-menu): Use view-external-packages instead.
5145
5146 2014-01-07 Bastien Guerry <bzg@gnu.org>
5147
5148 * emacs-lisp/package.el (package-delete): Also delete the package
5149 name from `package-alist', not its description only.
5150
5151 2014-01-07 Glenn Morris <rgm@gnu.org>
5152
5153 * help.el (view-external-packages):
5154 * menu-bar.el (menu-bar-help-extra-packages):
5155 Visit efaq.info rather than etc/MORE.STUFF.
5156
5157 2014-01-07 Juri Linkov <juri@jurta.org>
5158
5159 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
5160 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
5161
5162 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
5163 that shadows RET. (Bug#16342)
5164
5165 2014-01-07 Chong Yidong <cyd@gnu.org>
5166
5167 * isearch.el (isearch-yank-char, isearch-yank-word)
5168 (isearch-yank-line): Doc fix.
5169
5170 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
5171
5172 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
5173 * emacs-lisp/elint.el (elint-find-builtins):
5174 * emacs-lisp/eldoc.el (eldoc-symbol-function):
5175 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
5176 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
5177 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5178 * apropos.el (apropos-safe-documentation):
5179 * subr.el (symbol-file): Remove redundant fboundp.
5180 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
5181
5182 2014-01-06 Bastien Guerry <bzg@gnu.org>
5183
5184 * hl-line.el (global-hl-line-overlay): Make a local variable.
5185 (global-hl-line-overlays): New variable to store all overlays.
5186 (global-hl-line-mode): Don't delete overlays from the current
5187 buffer when `global-hl-line-sticky-flag' is non-nil.
5188 (global-hl-line-highlight): Add new overlays to
5189 `global-hl-line-overlays'.
5190 (global-hl-line-unhighlight-all): New function to delete all
5191 overlays when turning off `global-hl-line-mode'.
5192 This fixes Bug#16183.
5193
5194 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
5195
5196 * subr.el (set-transient-map): Fix nested case and docstring.
5197
5198 2014-01-06 Tassilo Horn <tsdh@gnu.org>
5199
5200 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
5201 `Texinfo' entry.
5202
5203 2014-01-06 Daniel Colascione <dancol@dancol.org>
5204
5205 Fix defun navigation in vc log view.
5206
5207 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
5208 like `beginning-of-defun'.
5209 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
5210 log-view-end-of-defun to log-view-end-of-defun-1. Replace
5211 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
5212 (log-view-extract-comment): Call `log-view-current-entry' directly
5213 instead of relying on broken `log-view-beginning-of-defun' behavior.
5214
5215 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
5216
5217 Spelling fixes.
5218 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
5219 * emacs-lisp/debug.el (cancel-debug-on-entry):
5220 * epg.el (epg-error-to-string):
5221 * files.el (recover-file):
5222 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
5223 * mail/emacsbug.el (report-emacs-bug-hook):
5224 * mail/sendmail.el (mail-recover):
5225 * ses.el (ses-yank-resize):
5226 * term/ns-win.el (ns-print-buffer):
5227 Spelling fixes in diagnostics, mostly for "canceled" with one L.
5228 * epg.el (epg-key-capability-alist): Rename from misspelled version.
5229 All uses changed.
5230 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
5231
5232 2014-01-06 Leo Liu <sdl.web@gmail.com>
5233
5234 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
5235 to avoid shadowing global key. (Bug#16354)
5236
5237 2014-01-06 Daniel Colascione <dancol@dancol.org>
5238
5239 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
5240 rst-mode.
5241
5242 2014-01-05 Martin Rudalics <rudalics@gmx.at>
5243
5244 * window.el (balance-windows): Add mising t to fix Bug#16351.
5245
5246 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5247
5248 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
5249 (bug#16285).
5250 (shr-insert): If we have a word that's longer than `shr-width',
5251 break after it anyway. Otherwise we'll do no breaking once we get
5252 such a long word.
5253
5254 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5255
5256 * net/eww.el (eww): Support single/double quote for search.
5257 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
5258 (eww-history-quit): Delete and use quit-window.
5259 (eww-history-kill): Delete, because it doesn't work well and
5260 not necessary.
5261 (eww-history-mode-map): Delete some keys and add easy-menu.
5262
5263 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
5264
5265 Fix misspelling of 'chinese' in rx (Bug#16237).
5266 * emacs-lisp/rx.el (rx-categories): Correct spelling of
5267 chinese-two-byte.
5268
5269 Change subword regexps back to vars (Bug#16296).
5270 * progmodes/subword.el (subword-forward-regexp)
5271 (subword-backward-regexp): Change these back to variables.
5272
5273 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5274
5275 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
5276 syntax-begin-function (bug#16247).
5277
5278 2014-01-03 Chong Yidong <cyd@gnu.org>
5279
5280 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
5281 (advice--docstring): Delete variable.
5282 (advice--make-1): Leave the docstring empty.
5283 (advice-add): Use function-documentation for advised docstring.
5284
5285 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
5286 Ignore function-documentation property when getting documentation.
5287 (ad-activate-advised-definition): Use function-documentation
5288 generate the docstring.
5289 (ad-make-advised-definition): Don't call
5290 ad-make-advised-definition-docstring.
5291 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5292 Delete functions.
5293
5294 * progmodes/sql.el (sql-help): Use function-documentation instead
5295 of dynamic-docstring-function property. No need to autoload now.
5296 (sql--help-docstring): New variable.
5297 (sql--make-help-docstring): Use it.
5298
5299 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5300
5301 * ielm.el (ielm-tab): Retarget.
5302 (ielm-map): Use ielm-tab for tab.
5303 (ielm-complete-filename): Use comint-filename-completion.
5304 (ielm-complete-symbol): Remove.
5305 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
5306 remove ielm-tab from completion-at-point-functions (bug#16224).
5307
5308 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
5309 Beware signals raised by predicates (bug#16201).
5310
5311 2014-01-02 Richard Stallman <rms@gnu.org>
5312
5313 * dired-aux.el (dired-do-print): Handle printer-name.
5314
5315 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
5316 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
5317 (rmail-epa-decrypt): Turn off mime processing.
5318
5319 * mail/rmail.el (rmail-make-in-reply-to-field):
5320 Add parens in message-id.
5321
5322 * mail/rmail.el (rmail-get-coding-function): Variable.
5323 (rmail-get-coding-system): Use it.
5324
5325 2013-12-31 Eli Zaretskii <eliz@gnu.org>
5326
5327 * international/mule-conf.el: Unify the charset indian-is13194.
5328 (indian-is13194): Specify unify-map.
5329
5330 2013-12-31 Leo Liu <sdl.web@gmail.com>
5331
5332 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
5333
5334 2013-12-30 Daniel Colascione <dancol@dancol.org>
5335
5336 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
5337 of printing a useless when we resume from sleep.
5338
5339 * progmodes/sh-script.el
5340 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
5341 in indentation code. (Bug#16233)
5342
5343 2013-12-28 João Távora <joaotavora@gmail.com>
5344
5345 * elec-pair.el (electric-pair-post-self-insert-function):
5346 Don't open extra newlines at beginning of buffer. (Bug#16272)
5347
5348 2013-12-28 Eli Zaretskii <eliz@gnu.org>
5349
5350 * frame.el (window-system-for-display): Don't allow to create a
5351 GUI frame from a -nw session on MS-Windows. (Bug#14739)
5352
5353 2013-12-28 Glenn Morris <rgm@gnu.org>
5354
5355 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
5356 Update callers.
5357
5358 * apropos.el (apropos-match-face):
5359 * calculator.el (calculator-displayer):
5360 * dabbrev.el (dabbrev-search-these-buffers-only):
5361 * face-remap.el (buffer-face-mode-face):
5362 * simple.el (yank-handled-properties):
5363 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
5364 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
5365 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
5366 (hashcash-double-spend-database):
5367 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
5368 (ruby-deep-indent-paren-style):
5369 * textmodes/flyspell.el (flyspell-auto-correct-binding):
5370 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
5371 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
5372 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
5373 Specify custom types.
5374
5375 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
5376 * bookmark.el (bookmark-bmenu-use-header-line):
5377 * doc-view.el (doc-view-scale-internally):
5378 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
5379 * register.el (register-preview-delay):
5380 * net/shr.el (shr-bullet):
5381 * progmodes/cfengine.el (cfengine-cf-promises)
5382 (cfengine-parameters-indent):
5383 * progmodes/octave.el (inferior-octave-error-regexp-alist):
5384 * textmodes/reftex-vars.el (reftex-label-regexps):
5385 * vc/log-edit.el (log-edit-setup-add-author): Add version.
5386
5387 * net/tls.el (tls-certtool-program): Fix default value.
5388
5389 * desktop.el (desktop-restore-in-current-display):
5390 * newcomment.el (comment-empty-lines):
5391 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
5392 (idlwave-pad-keyword):
5393 * progmodes/tcl.el (tcl-tab-always-indent):
5394 * textmodes/reftex-vars.el (reftex-index-default-tag):
5395 * elec-pair.el (electric-pair-skip-whitespace):
5396 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
5397
5398 * emacs-lisp/authors.el (authors-ignored-files)
5399 (authors-valid-file-names, authors-renamed-files-alist): Additions.
5400
5401 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
5402
5403 * shell.el (shell-dynamic-complete-command): Doc fix.
5404 (shell--command-completion-data): Shell completion now matches
5405 executable filenames from the current buffer's directory, on
5406 systems in which this behavior is the default (windows-nt, ms-dos).
5407
5408 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5409
5410 * net/shr.el (shr-insert): Don't infloop if the width is zero.
5411
5412 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
5413
5414 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
5415 (bug#16251).
5416
5417 * electric.el: Move all electric-pair-* to elec-pair.el.
5418 * elec-pair.el: New file, split from electric.el.
5419
5420 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5421
5422 * net/shr.el (shr-find-fill-point): Don't try to fill if the
5423 indentation level is larger than the width, because that will
5424 infloop.
5425 (shr-insert): Fill repeatedly long texts, so that Japanese is
5426 formatted correctly (bug#16263).
5427 (shr-find-fill-point): Off by one error in comparison with the
5428 indentation.
5429
5430 2013-12-26 João Távora <joaotavora@gmail.com>
5431
5432 * electric.el (electric-pair-mode): More flexible engine for skip-
5433 and inhibit predicates, new options for pairing-related functionality.
5434 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
5435 if that keeps or improves their balance in buffers.
5436 (electric-pair-delete-adjacent-pairs): Delete the pair when
5437 backspacing over adjacent matched delimiters.
5438 (electric-pair-open-extra-newline): Open extra newline when
5439 inserting newlines between adjacent matched delimiters.
5440 (electric--sort-post-self-insertion-hook):
5441 Sort post-self-insert-hook according to priority values when
5442 minor-modes are activated.
5443 * simple.el (newline-and-indent): Call newline with interactive
5444 set to t.
5445 (blink-paren-post-self-insert-function): Set priority to 100.
5446 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5447 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
5448 comments. Locally set electric-pair-skip-whitespace to 'chomp and
5449 electric-pair-open-newline-between-pairs to nil.
5450
5451 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
5452
5453 * progmodes/python.el: Use lexical-binding.
5454 (python-nav-beginning-of-defun): Stop searching ASAP.
5455
5456 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
5457
5458 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
5459 Fix interactive spec. Doc fix. (Bug#15754)
5460
5461 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
5462
5463 * emacs-lisp/byte-run.el (eval-when-compile):
5464 * progmodes/cc-defs.el (cc-eval-when-compile):
5465 Fix edebug spec (bug#16184).
5466
5467 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5468
5469 * net/shr.el (shr-visit-file): Remove debugging function.
5470 (shr-insert): Don't infloop if we can't find a good place to break
5471 the line (bug#16256).
5472
5473 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
5474
5475 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
5476 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
5477 python-nav-lisp-forward-sexp-safe.
5478 (python-nav--forward-sexp): New argument SAFE allows switching
5479 forward sexp movement behavior for parens.
5480 (python-nav-forward-sexp): Throw errors on unterminated parens
5481 (Bug#16191).
5482 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
5483 (python-nav-backward-sexp-safe): New functions.
5484 (python-shell-buffer-substring):
5485 Use `python-nav-forward-sexp-safe'.
5486
5487 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5488
5489 * net/shr.el (shr-find-fill-point): Don't break lines before a
5490 quotation mark.
5491 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
5492 (shr-find-fill-point): Remove the special checks for the quotation
5493 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
5494
5495 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5496
5497 * net/eww.el (eww-form-textarea): Use a different face for
5498 textareas than text input since they have different keymaps
5499 (bug#16142).
5500
5501 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
5502
5503 * progmodes/python.el (python-nav-beginning-of-statement):
5504 Speed up (Bug#15295).
5505
5506 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5507
5508 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
5509 the window configuration.
5510
5511 2013-12-24 Eli Zaretskii <eliz@gnu.org>
5512
5513 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
5514 we run on MS-Windows or MS-DOS.
5515
5516 2013-12-24 Martin Rudalics <rudalics@gmx.at>
5517
5518 * window.el (balance-windows-area): Call window-size instead of
5519 window-height and window-width. Bug#16241.
5520
5521 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5522
5523 * net/eww.el (eww-bookmark-quit): Remove.
5524 (eww-bookmark-browse): Restore the window configuration when you
5525 choose a bookmark (bug#16144).
5526
5527 2013-12-24 Daniel Colascione <dancol@dancol.org>
5528
5529 * icomplete.el: Remove redundant :group arguments to `defcustom'
5530 throughout.
5531 (icomplete-show-matches-on-no-input): New customizable variable.
5532 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
5533 we have something to show.
5534 (icomplete-exhibit): Compute completions even if we have no user input.
5535
5536 2013-12-23 Daniel Colascione <dancol@dancol.org>
5537
5538 * icomplete.el: Move `provide' to end of file.
5539
5540 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
5541
5542 * net/gnutls.el (gnutls-verify-error): Add version tag.
5543
5544 2013-12-23 Chong Yidong <cyd@gnu.org>
5545
5546 * subr.el (set-transient-map): Rename from
5547 set-temporary-overlay-map. Doc fix.
5548
5549 * face-remap.el (text-scale-adjust):
5550 * indent.el (indent-rigidly):
5551 * kmacro.el (kmacro-call-macro):
5552 * minibuffer.el (minibuffer-force-complete):
5553 * repeat.el (repeat):
5554 * simple.el (universal-argument--mode):
5555 * calendar/todo-mode.el (todo-insert-item--next-param):
5556 * progmodes/f90.el (f90-abbrev-start): Callers changed.
5557
5558 * indent.el (indent-rigidly): Use substitute-command-keys.
5559
5560 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5561
5562 * net/eww.el (eww-tag-select): Add text-property to jump to next
5563 select field.
5564 (eww): Add non-supported ftp error.
5565
5566 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5567
5568 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
5569 comments. Handle electric indent after typing `?' and `!'.
5570
5571 2013-12-22 Chong Yidong <cyd@gnu.org>
5572
5573 * faces.el (face-spec-recalc): If the theme specs are not
5574 applicable to a frame, fall back on the defface spec.
5575 This prevents themes from obliterating faces on low-color terminals.
5576
5577 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5578
5579 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5580 after `{'. We need it after block openers, and it doesn't seem
5581 to hurt after hash openers.
5582
5583 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5584
5585 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5586 extracted from `ruby-smie-rules'.
5587 (ruby--electric-indent-chars): New variable.
5588 (ruby--electric-indent-p): New function.
5589 (ruby-mode): Use `electric-indent-functions' instead of
5590 `electric-indent-chars'.
5591
5592 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5593
5594 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5595 docstring.
5596 (ruby-smie-rules): Indent plus one level after `=>'.
5597
5598 2013-12-21 Richard Stallman <rms@gnu.org>
5599
5600 * simple.el (newline): Doc fix.
5601
5602 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5603
5604 * net/eww.el (eww-list-histories, eww-list-histories)
5605 (eww-history-browse, eww-history-quit, eww-history-kill)
5606 (eww-history-mode-map, eww-history-mode): New command and
5607 functions to list browser histories.
5608 (eww-form-text): Support text form with disabled
5609 and readonly attributes.
5610 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5611
5612 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5613
5614 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5615 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5616 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5617 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5618 Use `user-error'.
5619 (eww-bookmark-mode-map): Add menu.
5620 (eww-render, eww-mode): Use `setq-local'.
5621 (eww-tool-bar-map): New variable.
5622 (eww-mode): Set `tool-bar-map'.
5623 (eww-view-source): Check for `html-mode' with `fboundp'.
5624
5625 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5626
5627 * net/shr.el (shr--extract-best-source): Don't bug out on audio
5628 elements with text inside. Also remove debugging.
5629
5630 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
5631
5632 * cus-start.el (all): Add ns-use-srgb-colorspace.
5633
5634 2013-12-21 Chong Yidong <cyd@gnu.org>
5635
5636 * custom.el (custom-theme-recalc-face): Do nothing if the face is
5637 undefined. Thus, theme settings for undefined faces do not take
5638 effect until the faces are defined with defface, the same as with
5639 theme variables.
5640
5641 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5642 (face-spec-reset-face): Don't assign extra properties in temacs.
5643 (face-spec-recalc): Apply X resources too.
5644
5645 2013-12-21 Chong Yidong <cyd@gnu.org>
5646
5647 * faces.el (face-spec-set):
5648 * cus-face.el (custom-theme-set-faces, custom-set-faces):
5649 * custom.el (defface): Doc fixes (Bug#16203).
5650
5651 * indent.el (indent-rigidly-map): Add docstring, and move commands
5652 into named functions.
5653 (indent-rigidly-left, indent-rigidly-right)
5654 (indent-rigidly-left-to-tab-stop)
5655 (indent-rigidly-right-to-tab-stop): New functions. Decide on
5656 indentation direction based on bidi direction, and accumulate
5657 sequential commands in a single undo boundary.
5658 (indent-rigidly--pop-undo): New utility function.
5659
5660 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
5661
5662 * faces.el (read-face-name): Require crm.el when using crm-separator.
5663
5664 2013-12-20 Daniel Colascione <dancol@dancol.org>
5665
5666 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5667 so that we don't reflow comments into the shebang line.
5668
5669 2013-12-20 Juri Linkov <juri@jurta.org>
5670
5671 * saveplace.el (save-place-to-alist): Add `dired-filename' as
5672 a position when `dired-directory' is non-nil. Check integer
5673 positions with `integerp'.
5674 (toggle-save-place, save-places-to-alist): Add check for
5675 `dired-directory'.
5676 (save-place-find-file-hook): Check integer positions with
5677 `integerp'.
5678 (save-place-dired-hook): Use `dired-goto-file' when
5679 `dired-filename' is found in the assoc list. Check integer
5680 positions with `integerp'.
5681 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5682
5683 * dired.el (dired-initial-position-hook): Rename back from
5684 `dired-initial-point-hook'.
5685 (dired-initial-position): Rename `dired-initial-point-hook' to
5686 `dired-initial-position-hook'.
5687 (dired-file-name-at-point): Doc fix. (Bug#15329)
5688
5689 2013-12-20 Juri Linkov <juri@jurta.org>
5690
5691 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5692 (read-regexp-suggestions): New function.
5693 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5694 Use `read-regexp-suggestions'. Add non-empty default to history
5695 for empty input.
5696 (occur-read-regexp-defaults-function): Remove function.
5697 (occur-read-primary-args): Use `regexp-history-last' instead of
5698 `occur-read-regexp-defaults-function'.
5699
5700 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5701 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5702 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5703 `hi-lock-read-regexp-defaults-function'. Doc fix.
5704 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5705 with `find-tag-default-as-symbol-regexp'. Doc fix.
5706 (hi-lock-read-regexp-defaults): Remove function.
5707 (hi-lock-regexp-okay): Add check for null.
5708
5709 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5710 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5711
5712 * subr.el (find-tag-default-as-symbol-regexp): New function.
5713 (find-tag-default-as-regexp): Move symbol regexp formatting to
5714 `find-tag-default-as-symbol-regexp'.
5715
5716 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5717
5718 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5719 (Bug#14179)
5720
5721 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5722
5723 * calendar/todo-mode.el: New implementation of item insertion
5724 commands and key bindings.
5725 (todo-key-prompt): New face.
5726 (todo-insert-item): New command.
5727 (todo-insert-item--parameters): New defconst, replacing defvar
5728 todo-insertion-commands-args-genlist.
5729 (todo-insert-item--param-key-alist): New defconst, replacing
5730 defvar todo-insertion-commands-arg-key-list.
5731 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5732 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5733 (todo-insert-item--next-param): New functions.
5734 (todo-insert-item--args, todo-insert-item--argleft)
5735 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5736 New variables.
5737 (todo-key-bindings-t): Change binding of "i" from
5738 todo-insertion-map to todo-insert-item.
5739 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5740 (todo-insertion-command-name, todo-insertion-commands-names)
5741 (todo-define-insertion-command, todo-insertion-commands)
5742 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5743
5744 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5745
5746 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5747 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5748 eval-when-compile.
5749 (todo-move-category): Allow choosing a non-existing todo file to
5750 move the category to, and create that file.
5751 (todo-default-priority): New user option.
5752 (todo-set-item-priority): Use it.
5753 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5754 (desktop-restore-file-buffer): Declare.
5755 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5756 (todo-modes-set-2): Locally set desktop-save-buffer to
5757 todo-desktop-save-buffer.
5758 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5759 (auto-mode-alist): Add autoload cookie.
5760
5761 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5762
5763 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5764 helpers.el was a poor choice of name.
5765 (string-remove-prefix): New function.
5766 (string-remove-suffix): New function.
5767
5768 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5769
5770 Fix assignment for new window total sizes.
5771 * window.el (window--pixel-to-size): Remove function.
5772 (window--pixel-to-total-1, window--pixel-to-total):
5773 Fix calculation of new total sizes.
5774
5775 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5776
5777 * comint.el (comint-output-filter): Fix rear-nonsticky property
5778 placement (Bug#16010).
5779
5780 2013-12-20 Chong Yidong <cyd@gnu.org>
5781
5782 * faces.el (read-color): Minor fix for completion function.
5783
5784 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5785
5786 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5787 New option. (Bug#16182)
5788 (ruby-smie--indent-to-stmt-p): Use it.
5789 (ruby-smie-rules): Revert the logic in the handling of `when'.
5790 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5791 (ruby-deep-arglist, ruby-deep-indent-paren)
5792 (ruby-deep-indent-paren-style): Update docstrings to note that the
5793 vars don't have any effect with SMIE.
5794
5795 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5796
5797 * calc/calc.el (calc-enter, calc-pop): Use the variable
5798 `calc-context-sensitive-enter'.
5799
5800 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5801
5802 * net/shr.el (shr-insert): Protect against infloops in degenerate
5803 tables.
5804
5805 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5806
5807 * progmodes/octave.el (octave): Add link to manual and octave
5808 homepage.
5809 (octave-mode-menu): Link to octave-mode manual.
5810
5811 2013-12-20 Leo Liu <sdl.web@gmail.com>
5812
5813 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5814 insertion using skeleton-end-newline. (Bug#16138)
5815
5816 2013-12-20 Juri Linkov <juri@jurta.org>
5817
5818 * replace.el (occur-engine): Use `add-face-text-property'
5819 to add the face property to matches and titles. (Bug#14645)
5820
5821 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5822 the palette of other hi-lock colors.
5823 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5824
5825 2013-12-19 Juri Linkov <juri@jurta.org>
5826
5827 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5828 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5829 (minibuffer-history-symbol): Move variable declaration closer to
5830 its usage.
5831
5832 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5833 (Bug#14785)
5834
5835 2013-12-19 Juri Linkov <juri@jurta.org>
5836
5837 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5838 New function.
5839 (log-edit-hook): Add it to :options. (Bug#16170)
5840
5841 2013-12-19 Juri Linkov <juri@jurta.org>
5842
5843 * simple.el (eval-expression-print-format): Don't check for
5844 command names and the last command. Always display additional
5845 formats of the integer result in the echo area, and insert them
5846 to the current buffer only with a zero prefix arg.
5847 Display character when char-displayable-p is non-nil.
5848 (eval-expression): With a zero prefix arg, set `print-length' and
5849 `print-level' to nil, and insert the integer values from
5850 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5851
5852 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5853 `eval-last-sexp-arg-internal'. Doc fix.
5854 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5855 `eval-last-sexp-print-value'. Doc fix.
5856 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5857 Set `print-length' and `print-level' to nil when arg is zero.
5858 (eval-last-sexp): Doc fix.
5859 (eval-defun-2): Print the integer values from
5860 `eval-expression-print-format' at the end.
5861
5862 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5863 values from `eval-expression-print-format' at the end.
5864
5865 * ielm.el (ielm-eval-input): Print the integer
5866 values from `eval-expression-print-format' at the end.
5867
5868 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5869
5870 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5871 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5872
5873 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5874
5875 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5876 (hl-line-highlight, global-hl-line-highlight): Use it.
5877 (hl-line-overlay): Use defvar-local.
5878
5879 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5880
5881 * term/ns-win.el: Require dnd.
5882 (global-map): Remove drag items.
5883 (ns-insert-text, ns-set-foreground-at-mouse)
5884 (ns-set-background-at-mouse):
5885 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5886 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5887 New functions.
5888
5889 2013-12-19 Glenn Morris <rgm@gnu.org>
5890
5891 * emacs-lisp/ert.el (ert-select-tests):
5892 Fix string/symbol mixup. (Bug#16121)
5893
5894 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5895
5896 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5897 keywords to their parent.
5898
5899 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5900
5901 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5902 first arg to be a string (fixed dead code), or an operator symbol.
5903 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5904 operator symbols.
5905 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5906 did nothing. Don't respond to `(:after ".")', it will be called
5907 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5908 change anything. Only return indentation for binary operators
5909 when they are hanging. De-dent opening paren when its parent is
5910 `.', otherwise it looks bad when the dot is not at bol or eol
5911 (bug#16182).
5912
5913 2013-12-19 Juri Linkov <juri@jurta.org>
5914
5915 * replace.el (query-replace-read-args): Split a non-negative arg
5916 and a negative arg into separate elements.
5917 (query-replace, query-replace-regexp, replace-string)
5918 (replace-regexp): Add arg `backward'. Doc fix.
5919 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5920 move point to the beginning of the match.
5921 (replace-search, replace-highlight): Use new arg `backward'
5922 to set the value of `isearch-forward'.
5923 (perform-replace): Add arg `backward' and use it to perform
5924 replacement backward. (Bug#14979)
5925
5926 * isearch.el (isearch-query-replace): Use a negative prefix arg
5927 to call `perform-replace' with a non-nil arg `backward'.
5928
5929 2013-12-18 Juri Linkov <juri@jurta.org>
5930
5931 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5932 to the default list. Move `log-edit-show-files' to the end.
5933 Add more available functions to options.
5934 (log-edit): Move default specific settings to
5935 `log-edit-insert-message-template'. Don't move point.
5936 (log-edit-insert-message-template): New function.
5937 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5938 (Bug#16170)
5939
5940 2013-12-18 Juri Linkov <juri@jurta.org>
5941
5942 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5943 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5944
5945 2013-12-18 Leo Liu <sdl.web@gmail.com>
5946
5947 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5948 (Bug#16186)
5949
5950 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5951
5952 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5953 formats for displaying file sizes when the -s switch is given.
5954 Instead, compute a separate format for displaying the size in
5955 blocks, which is displayed in addition to the "regular" size.
5956 When -h is given in addition to -s, produce size in blocks in
5957 human-readable form as well. (Bug#16179)
5958
5959 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5960
5961 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5962 Reference tables with ~\ref{...} instead of only \ref{...}.
5963
5964 2013-12-18 Chong Yidong <cyd@gnu.org>
5965
5966 * cus-edit.el (custom-magic-alist): Fix "themed" description
5967 (Bug#14348).
5968
5969 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5970 is non-nil, do not create a new entry in the symbol's theme-value
5971 or theme-face property; update theme-settings only (Bug#14664).
5972 (custom-available-themes): Doc fix.
5973
5974 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5975 (Bug#15674).
5976
5977 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5978
5979 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5980
5981 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5982 (Bug#13914).
5983
5984 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5985
5986 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5987
5988 2013-12-18 Glenn Morris <rgm@gnu.org>
5989
5990 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5991 * cus-start.el (load-prefer-newer): New option.
5992
5993 2013-12-18 Le Wang <l26wang@gmail.com>
5994
5995 * comint.el (comint-previous-matching-input-from-input):
5996 Retain point (Bug#13404).
5997
5998 2013-12-18 Chong Yidong <cyd@gnu.org>
5999
6000 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
6001
6002 2013-12-18 Glenn Morris <rgm@gnu.org>
6003
6004 * mail/emacsbug.el (report-emacs-bug):
6005 Only mention enable-multibyte-characters if non-standard.
6006
6007 2013-12-17 Juri Linkov <juri@jurta.org>
6008
6009 * arc-mode.el (archive-extract-by-file): Check if directory exists
6010 before deletion to not show irrelevant errors if it doesn't exist.
6011
6012 2013-12-17 Juri Linkov <juri@jurta.org>
6013
6014 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
6015 (Bug#14751)
6016
6017 * net/eww.el (browse-web): Add alias to `eww'.
6018 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
6019 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
6020
6021 * net/browse-url.el (browse-url-browser-function): Move `eww'
6022 closer to similar functions.
6023
6024 * startup.el (fancy-startup-screen, fancy-about-screen):
6025 Set browse-url-browser-function to eww-browse-url locally.
6026 (Bug#14751)
6027
6028 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
6029
6030 * window.el (window--pixel-to-total): Remove unused `mini' var.
6031 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
6032 (split-window): Remove unused `new' var.
6033 (window--display-buffer): Remove unused `frame' and `delta' vars.
6034 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
6035 and display-width'.
6036
6037 2013-12-17 Martin Rudalics <rudalics@gmx.at>
6038
6039 * dired.el (dired-mark-pop-up):
6040 * register.el (register-preview): Don't bind
6041 split-height-threshold here since it's now done in
6042 display-buffer-below-selected.
6043
6044 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
6045
6046 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
6047 xterm-rgb-convert-to-16bit.
6048 (rxvt-register-default-colors): Standardize with
6049 xterm-register-default-colors (Bug#14078).
6050
6051 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
6052
6053 * simple.el (kill-region): Pass mark first, then point, so that
6054 kill-append works right (Bug#12819).
6055 (copy-region-as-kill, kill-ring-save): Likewise.
6056
6057 2013-12-17 Leo Liu <sdl.web@gmail.com>
6058
6059 * net/rcirc.el (rcirc-add-face):
6060 * eshell/em-prompt.el (eshell-emit-prompt):
6061 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
6062 (Bug#16167)
6063
6064 2013-12-17 Chong Yidong <cyd@gnu.org>
6065
6066 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
6067 Suggested by Xue Fuqiao.
6068
6069 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
6070
6071 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
6072
6073 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
6074
6075 * net/shr.el (shr-insert-document): Remove unused var
6076 `shr-preliminary-table-render'.
6077 (shr-rescale-image): Remove unused arg `force'.
6078 (shr-put-image): Update calls accordingly.
6079 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
6080
6081 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
6082
6083 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
6084 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
6085 :close-all, to see which indentation method to use (Bug#16116).
6086 (smie-rules-function): Document the method :close-all.
6087
6088 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6089
6090 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
6091
6092 * net/eww.el (eww-display-html): If we can't find the anchor we're
6093 looking for, then go to point-min.
6094
6095 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
6096
6097 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
6098 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
6099 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
6100 Expand dir too, in case it's relative.
6101
6102 2013-12-16 Juri Linkov <juri@jurta.org>
6103
6104 * desktop.el (desktop-auto-save-timeout): Change default to
6105 `auto-save-timeout'. Doc fix.
6106 (desktop-save): Skip the timestamp in desktop-saved-frameset
6107 when checking for auto-save changes.
6108 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
6109 `desktop-auto-save' is called repeatedly by the idle timer.
6110 (desktop-auto-save-set-timer): Replace `run-with-timer' with
6111 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
6112 (Bug#15331)
6113
6114 2013-12-16 Juri Linkov <juri@jurta.org>
6115
6116 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
6117 (Bug#16035)
6118 (isearch-pre-command-hook): Check `this-command' for symbolp.
6119
6120 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
6121
6122 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
6123
6124 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
6125
6126 * progmodes/cfengine.el (cfengine3--current-word): Remove.
6127 (cfengine3--current-function): Bring in the current-function
6128 functionality from `cfengine3--current-word'.
6129 (cfengine3-completion-function): Bring in the
6130 bounds-of-current-word functionality from
6131 `cfengine3--current-word'.
6132
6133 2013-12-16 Martin Rudalics <rudalics@gmx.at>
6134
6135 * window.el (display-buffer-below-selected):
6136 Bind split-height-threshold to 0 as suggested by Juri Linkov.
6137
6138 2013-12-16 Leo Liu <sdl.web@gmail.com>
6139
6140 * progmodes/compile.el (compile-goto-error): Do not push-mark.
6141 Remove NOMSG arg and all uses changed.
6142
6143 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
6144
6145 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
6146 (cua--deactivate-rectangle): Don't deactivate the mark.
6147 (cua-set-rectangle-mark): Don't set mark-active since
6148 cua--activate-rectangle already does it for us.
6149 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
6150 non-rectangular region.
6151
6152 * emulation/cua-base.el (cua-repeat-replace-region):
6153 Use with-current-buffer.
6154
6155 * net/gnutls.el: Use cl-lib.
6156 (gnutls-negotiate): `mapcan' -> cl-mapcan.
6157
6158 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
6159
6160 * emacs-lisp/package.el (package-built-in-p): Support both
6161 built-in and the package.el converted package descriptions.
6162 (package-show-package-list): Allow keywords.
6163 (package-keyword-button-action): Use it instead of
6164 `finder-list-matches'.
6165 (package-menu-filter-interactive): Interactive filtering (by
6166 keyword) function.
6167 (package-menu--generate): Support keywords and change keymappings
6168 and headers when they are given.
6169 (package--has-keyword-p): Helper function.
6170 (package-menu--refresh): Use it.
6171 (package--mapc): Helper function.
6172 (package-all-keywords): Use it.
6173 (package-menu-mode-map): Set up menu items and keybindings to
6174 provide a filtering UI.
6175
6176 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
6177
6178 * net/gnutls.el (gnutls-verify-error): New defcustom to control
6179 the behavior when a certificate fails validation. Defaults to
6180 old behavior: never abort, just warn.
6181 (gnutls-negotiate): Use it.
6182
6183 2013-12-14 Martin Rudalics <rudalics@gmx.at>
6184
6185 * window.el (display-buffer-below-selected): Never split window
6186 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
6187
6188 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
6189
6190 * emacs-lisp/package.el (package--prepare-dependencies): New function.
6191 (package-buffer-info): Use it (bug#15108).
6192
6193 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
6194
6195 * icomplete.el (icomplete-completions): Make sure the prefix is already
6196 displayed elsewhere before hiding it (bug#16219).
6197
6198 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
6199
6200 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
6201 open-paren tokens when preceded by a open-paren, too.
6202 (ruby-smie-rules): Handle virtual indentation after open-paren
6203 tokens specially. If there is code between it and eol, return the
6204 column where is starts (Bug#16118).
6205
6206 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6207
6208 * progmodes/cfengine.el: Fix `add-hook' doc.
6209 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
6210 (cfengine3--current-word): Fix parameters.
6211 (cfengine3-make-syntax-cache): Simplify further.
6212 (cfengine3-completion-function, cfengine3--current-function):
6213 Use `assq' for symbols.
6214 (cfengine3--current-function): Fix `cfengine3--current-word' call.
6215
6216 2013-12-13 Glenn Morris <rgm@gnu.org>
6217
6218 * loadup.el (load-path): Warn if site-load or site-init changes it.
6219 No more need to reset it when bootstrapping.
6220
6221 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6222
6223 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
6224 locations for cf-promises.
6225 (cfengine-mode-syntax-functions-regex): New caching variable.
6226 (cfengine3-fallback-syntax): Fallback syntax for cases where
6227 cf-promises doesn't run.
6228 (cfengine3--current-word): Reimplement using
6229 `cfengine-mode-syntax-functions-regex'.
6230 (cfengine3-completion-function, cfengine3--current-function):
6231 Use `cfengine3-make-syntax-cache' directly.
6232 (cfengine3-clear-syntax-cache): New function.
6233 (cfengine3-make-syntax-cache): Simplify and create
6234 `cfengine-mode-syntax-functions-regex' on demand.
6235 (cfengine3-format-function-docstring): Don't call
6236 `cfengine3-make-syntax-cache' explicitly.
6237
6238 2013-12-13 Martin Rudalics <rudalics@gmx.at>
6239
6240 Fix windmove-find-other-window broken after pixelwise resizing
6241 (Bug#16017).
6242 * windmove.el (windmove-other-window-loc): Revert change from
6243 2013-12-04.
6244 (windmove-find-other-window): Call window-in-direction.
6245 * window.el (window-in-direction): New arguments SIGN, WRAP and
6246 MINI to emulate original windmove-find-other-window behavior.
6247
6248 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
6249
6250 * simple.el (blink-matching--overlay): New variable.
6251 (blink-matching-open): Instead of moving point, highlight the
6252 matching paren with an overlay
6253 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
6254
6255 * faces.el (paren-showing-faces, show-paren-match)
6256 (show-paren-mismatch): Move from paren.el.
6257
6258 2013-12-13 Leo Liu <sdl.web@gmail.com>
6259
6260 * indent.el (indent-region): Disable progress reporter in
6261 minibuffer. (Bug#16108)
6262
6263 * bindings.el (visual-order-cursor-movement): Fix version.
6264
6265 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6266
6267 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
6268 Also match after beginning of line.
6269 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
6270 files. Thanks to Russell Sim. (Bug#15378)
6271
6272 2013-12-13 Juri Linkov <juri@jurta.org>
6273
6274 * simple.el <Keypad support>: Remove key bindings duplicated
6275 with bindings.el. (Bug#14397)
6276
6277 2013-12-13 Juri Linkov <juri@jurta.org>
6278
6279 * comint.el (comint-mode-map): Replace `delete-char' with
6280 `delete-forward-char'. (Bug#16109)
6281
6282 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6283
6284 * progmodes/python.el (python-indent-calculate-indentation):
6285 Fix de-denters cornercase. (Bug#15731)
6286
6287 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
6288
6289 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
6290 (advice--make): Pay attention to `depth'.
6291 (advice--make-1): Don't autoload commands eagerly.
6292 * emacs-lisp/elp.el (elp-instrument-function):
6293 * emacs-lisp/trace.el (trace-function-internal):
6294 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
6295
6296 * iswitchb.el (iswitchb-mode): Don't belittle ido.
6297
6298 2013-12-12 Eli Zaretskii <eliz@gnu.org>
6299
6300 * term/w32-win.el (w32-handle-dropped-file):
6301 * startup.el (normal-top-level):
6302 * net/browse-url.el (browse-url-file-url):
6303 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
6304 decode file names using 'utf-8' rather than
6305 file-name-coding-system.
6306
6307 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6308
6309 * progmodes/python.el (python-indent-context)
6310 (python-indent-calculate-indentation): Fix auto-identation
6311 behavior for comment blocks. (Bug#15916)
6312
6313 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6314
6315 * progmodes/python.el (python-indent-calculate-indentation):
6316 When determining indentation, don't treat "return", "pass", etc., as
6317 operators when they are just string constituents. (Bug#15812)
6318
6319 2013-12-12 Juri Linkov <juri@jurta.org>
6320
6321 * uniquify.el (uniquify-buffer-name-style): Change default to
6322 `post-forward-angle-brackets'.
6323
6324 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
6325 `uniquify'. Change default to `post-forward-angle-brackets'.
6326
6327 2013-12-11 Glenn Morris <rgm@gnu.org>
6328
6329 * emacs-lisp/package.el (finder-list-matches):
6330 Autoload rather than falsely declaring.
6331
6332 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
6333
6334 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
6335 (eww-mode-map): Use them.
6336
6337 2013-12-11 Martin Rudalics <rudalics@gmx.at>
6338
6339 * window.el (display-buffer-in-side-window): Fix doc-string
6340 (Bug#16115).
6341
6342 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
6343
6344 * vc/vc-git.el: Silence byte-compiler warnings.
6345 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
6346 (log-edit-set-header): Declare.
6347
6348 2013-12-11 Eli Zaretskii <eliz@gnu.org>
6349
6350 * Makefile.in (custom-deps, finder-data): Run output file names
6351 through unmsys--file-name. (Bug#16099)
6352
6353 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
6354
6355 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
6356 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
6357
6358 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
6359 instead of deleting the selection "by hand" (bug#16098).
6360 Rely on insert-for-yank to yank rectangles.
6361 (cua-highlight-region-shift-only): Mark obsolete.
6362 (cua-mode): Don't enable/disable transient-mark-mode,
6363 shift-select-mode (cua-mode works both with and without them), and
6364 pc-selection-mode (obsolete).
6365 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
6366 (cua--deactivate-rectangle): Deactivate it.
6367
6368 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
6369 (delete-selection-helper): Make sure yank starts at the top of the
6370 deleted region.
6371 (minibuffer-keyboard-quit): Use region-active-p.
6372
6373 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
6374
6375 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
6376 to `delete' (bug#16109).
6377
6378 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6379
6380 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
6381 info manual and show keybindings and set `:group' keyword.
6382
6383 2013-12-11 Juri Linkov <juri@jurta.org>
6384
6385 * delsel.el (delete-active-region): Let-bind `this-command'
6386 to prevent `kill-region' from changing its original value.
6387 (delete-selection-helper): Handle `overwrite-mode' for the type
6388 `kill' exactly the same way as for the type `t'.
6389 (insert-char, quoted-insert, reindent-then-newline-and-indent):
6390 Support more commands. (Bug#13312)
6391
6392 2013-12-11 Juri Linkov <juri@jurta.org>
6393
6394 * bindings.el: Map kp keys to non-kp keys systematically
6395 with basic modifiers control, meta and shift. (Bug#14397)
6396
6397 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6398
6399 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
6400 "Close browser" menu items. Fix wrong function of "List
6401 bookmarks".
6402
6403 2013-12-11 Juri Linkov <juri@jurta.org>
6404
6405 * misearch.el (multi-isearch-buffers): Set the value of
6406 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6407 arg of isearch-forward to t.
6408 (multi-isearch-buffers-regexp): Set the value of
6409 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6410 arg of isearch-forward-regexp to t.
6411 (multi-isearch-files): Set the value of
6412 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6413 arg of isearch-forward to t.
6414 (multi-isearch-files-regexp): Set the value of
6415 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6416 arg of isearch-forward-regexp to t. (Bug#16035)
6417
6418 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
6419 arg of isearch-forward to t.
6420 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
6421 arg of isearch-forward-regexp to t.
6422 (dired-isearch-filter-filenames): Remove unnecessary check for
6423 `dired-isearch-filenames'.
6424
6425 * comint.el (comint-history-isearch-backward):
6426 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
6427 (comint-history-isearch-backward-regexp):
6428 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
6429
6430 2013-12-10 Eli Zaretskii <eliz@gnu.org>
6431
6432 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
6433 unmsys--file-name. (Bug#16099)
6434
6435 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
6436
6437 * emacs-lisp/package.el (package-keyword-button-action):
6438 Remove finder.el require dependency.
6439
6440 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
6441
6442 * emacs-lisp/package.el: Require finder.el.
6443 (describe-package-1): Add keyword buttons.
6444 (package-make-button): New convenience function.
6445 (package-keyword-button-action): Keyword button action using
6446 `finder-list-matches'.
6447
6448 2013-12-09 Eli Zaretskii <eliz@gnu.org>
6449
6450 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
6451 last commit.
6452
6453 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
6454
6455 * autorevert.el (auto-revert-notify-add-watch): Do not handle
6456 symlinked files.
6457
6458 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6459
6460 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6461 after the end of a percent literal.
6462
6463 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
6464
6465 * progmodes/ruby-mode.el (ruby-forward-string): Document.
6466 Handle caret-delimited strings (Bug#16079).
6467
6468 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6469
6470 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
6471 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
6472 `ruby-parse-partial' (Bug#16078).
6473
6474 2013-12-09 Leo Liu <sdl.web@gmail.com>
6475
6476 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
6477
6478 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
6479
6480 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
6481 (js-switch-indent-offset): New option.
6482 (js--proper-indentation): Use it. And handle the case when
6483 "default" is actually a key in an object literal.
6484 (js--same-line): New function.
6485 (js--multi-line-declaration-indentation): Use it.
6486 (js--indent-in-array-comp, js--array-comp-indentation):
6487 New functions.
6488 (js--proper-indentation): Use them, to handle array comprehension
6489 continuations.
6490
6491 2013-12-08 Leo Liu <sdl.web@gmail.com>
6492
6493 * progmodes/flymake.el (flymake-highlight-line): Re-write.
6494 (flymake-make-overlay): Remove arg MOUSE-FACE.
6495 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
6496
6497 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6498
6499 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
6500 New function.
6501 (redisplay-highlight-region-function): Use it.
6502
6503 * emulation/cua-base.el (cua--explicit-region-start)
6504 (cua--last-region-shifted): Remove.
6505 (cua--deactivate): Use deactivate-mark.
6506 (cua--pre-command-handler-1): Don't handle shift-selection.
6507 (cua--post-command-handler-1): Don't change transient-mark-mode.
6508 (cua--select-keymaps): Use region-active-p rather than
6509 cua--explicit-region-start or cua--last-region-shifted.
6510 (cua-mode): Enable shift-select-mode.
6511
6512 2013-12-08 Leo Liu <sdl.web@gmail.com>
6513
6514 * progmodes/flymake.el (flymake-popup-current-error-menu):
6515 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6516 (flymake-posn-at-point-as-event, flymake-popup-menu)
6517 (flymake-make-emacs-menu): Remove. (Bug#16077)
6518
6519 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6520
6521 * rect.el (rectangle-mark-mode): Activate mark even if
6522 transient-mark-mode is off (bug#16066).
6523 (rectangle--highlight-for-redisplay): Fix boundary condition when point
6524 is > mark and at bolp.
6525
6526 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
6527 (region-extract-function): Use it.
6528 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
6529 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
6530 Delete functions.
6531 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
6532 kill-ring-save, kill-region, delete-char, delete-forward-char.
6533 Ignore self-insert-iso.
6534
6535 * emulation/cua-gmrk.el (cua--init-global-mark):
6536 Ignore `self-insert-iso'.
6537
6538 * emulation/cua-base.el (cua--prefix-copy-handler)
6539 (cua--prefix-cut-handler): Rely on region-extract-function rather than
6540 checking cua--rectangle.
6541 (cua-delete-region): Use region-extract-function.
6542 (cua-replace-region): Delete function.
6543 (cua-copy-region, cua-cut-region): Obey region-extract-function.
6544 (cua--pre-command-handler-1): Don't do the delete-selection thing.
6545 (cua--self-insert-char-p): Ignore `self-insert-iso'.
6546 (cua--init-keymaps): Don't remap delete-selection commands.
6547 (cua-mode): Use delete-selection-mode instead of rolling our own
6548 (bug#16085).
6549
6550 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
6551 Obey region-extract-function.
6552
6553 Make registers and delete-selection-mode work on rectangles.
6554 * register.el (describe-register-1): Don't modify the register's value.
6555 (copy-to-register): Obey region-extract-function.
6556 * delsel.el (delete-active-region): Obey region-extract-function.
6557
6558 2013-12-08 Leo Liu <sdl.web@gmail.com>
6559
6560 * progmodes/flymake.el (flymake, flymake-error-bitmap)
6561 (flymake-warning-bitmap, flymake-fringe-indicator-position)
6562 (flymake-compilation-prevents-syntax-check)
6563 (flymake-start-syntax-check-on-newline)
6564 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
6565 (flymake-start-syntax-check-on-find-file, flymake-log-level)
6566 (flymake-xml-program, flymake-master-file-dirs)
6567 (flymake-master-file-count-limit)
6568 (flymake-allowed-file-name-masks): Relocate.
6569 (flymake-makehash, flymake-float-time)
6570 (flymake-replace-regexp-in-string, flymake-split-string)
6571 (flymake-get-temp-dir): Remove.
6572 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6573 (flymake-current-row, flymake-selected-frame)
6574 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6575 related functions. (Bug#16077)
6576
6577 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
6578
6579 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6580
6581 2013-12-07 Tassilo Horn <tsdh@gnu.org>
6582
6583 * help-fns.el (describe-function-1): Use new advice-* functions
6584 rather than old ad-* functions. Fix function type description and
6585 source links for advised functions and subrs.
6586
6587 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6588
6589 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
6590
6591 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
6592
6593 * progmodes/compile.el (compilation-start):
6594 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6595
6596 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6597 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
6598
6599 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6600
6601 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6602 Touch up the last change.
6603
6604 2013-12-06 Leo Liu <sdl.web@gmail.com>
6605
6606 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6607 (inferior-octave-startup): Always use "octave> " for prompt.
6608 (octave-goto-function-definition)
6609 (octave-sync-function-file-names)
6610 (octave-find-definition-default-filename): Remove redundant backquotes.
6611
6612 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6613
6614 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6615 syntax for `?'.
6616 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6617 where appropriate already.
6618 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6619 end of method names (Bug#15874).
6620
6621 2013-12-06 Juri Linkov <juri@jurta.org>
6622
6623 * isearch.el (isearch--saved-overriding-local-map):
6624 New internal variable.
6625 (isearch-mode): Set it to the initial value of
6626 `overriding-terminal-local-map'.
6627 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6628 with `isearch--saved-overriding-local-map'. (Bug#16035)
6629
6630 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6631
6632 * progmodes/octave.el (inferior-octave-completion-table):
6633 Turn back into function, use `completion-table-with-cache'
6634 (Bug#11906). Update all references.
6635
6636 * minibuffer.el (completion-table-with-cache): New function.
6637
6638 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
6639
6640 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6641
6642 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
6643
6644 * net/eww.el (eww-current-source): New variable to store page
6645 source.
6646 (eww-display-html, eww-mode, eww-save-history)
6647 (eww-restore-history): Use it.
6648 (eww-view-source): New command to view page source.
6649 Opportunistically uses `html-mode' to highlight the buffer.
6650 (eww-mode-map): Install it.
6651
6652 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
6653
6654 * net/dbus.el (dbus-unregister-service)
6655 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6656 Fix docstring.
6657 (dbus-unregister-service): Skip :serial entries in
6658 `dbus-registered-objects-table'.
6659 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6660
6661 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
6662
6663 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6664 around keywords with extra `split-string' argument.
6665
6666 2013-12-04 Martin Rudalics <rudalics@gmx.at>
6667
6668 * windmove.el (windmove-other-window-loc): Handle navigation
6669 between windows (excluding the minibuffer window - Bug#16017).
6670
6671 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
6672
6673 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6674 in D-Bus type syntax.
6675 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6676 preserve unibyte strings. (Bug#16048)
6677
6678 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6679
6680 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6681 Call force-mode-line-update is the proper buffer (bug#16042).
6682
6683 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
6684
6685 * vc/log-edit.el (log-edit-add-new-comment): Rename to
6686 `log-edit-remember-comment', make argument optional. Adjust all
6687 callers.
6688 (log-edit-mode): Add `log-edit-remember-comment' to
6689 `kill-buffer-hook' locally.
6690 (log-edit-kill-buffer): Don't remember comment explicitly since
6691 the buffer is killed anyway.
6692
6693 2013-12-04 Juri Linkov <juri@jurta.org>
6694
6695 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6696 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6697
6698 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
6699
6700 * notifications.el (notifications-close-notification): Call the
6701 D-Bus method with ID being a `:uint32'. (Bug#16030)
6702
6703 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6704
6705 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6706
6707 2013-12-03 Juri Linkov <juri@jurta.org>
6708
6709 * progmodes/compile.el (compilation-start): Rename window alist
6710 entry `no-display-ok' to `allow-no-window'.
6711
6712 * simple.el (shell-command): Add window alist entry
6713 `allow-no-window' to `display-buffer'.
6714 (async-shell-command): Doc fix.
6715
6716 * window.el (display-buffer-no-window): New action function.
6717 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6718
6719 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6720
6721 * vc/log-edit.el (log-edit-set-header): Extract from
6722 `log-edit-toggle-header'.
6723 (log-edit-extract-headers): Separate the summary, when extracted
6724 from header, from the rest of the message with an empty line.
6725
6726 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6727 line, if present, to the Summary header.
6728
6729 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6730
6731 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6732 in current-buffer (bug#16029).
6733
6734 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
6735
6736 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6737 (debugger-mode-map): Bind it.
6738 (debugger--backtrace-base): New function.
6739 (debugger-eval-expression): Use it.
6740 (debugger-frame-number): Skip local vars when present.
6741 (debugger--locals-visible-p, debugger--insert-locals)
6742 (debugger--show-locals, debugger--hide-locals): New functions.
6743
6744 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
6745
6746 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6747 "LC_ALL".
6748 (tramp-get-remote-locale): New defun.
6749 (tramp-open-connection-setup-interactive-shell): Use it.
6750
6751 2013-12-02 Leo Liu <sdl.web@gmail.com>
6752
6753 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6754
6755 * progmodes/sh-script.el (sh-shell-process):
6756 * progmodes/octave.el (inferior-octave-process-live-p):
6757 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6758 (gdb-inferior-io-sentinel):
6759 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6760
6761 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6762
6763 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6764 `save-selected-window' to `log-edit-hide-buf'. This makes
6765 `log-edit-show-files' idempotent.
6766 (log-edit-show-files): Mark the new window as dedicated.
6767
6768 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6769
6770 * vc/log-edit.el (log-edit-mode-map): Add binding for
6771 `log-edit-kill-biffer'.
6772 (log-edit-hide-buf): Add a FIXME comment.
6773 (log-edit-add-new-comment): New function, extracted from
6774 `log-edit-done'.
6775 (log-edit-done, log-edit-add-to-changelog): Use it.
6776 (log-edit-kill-buffer): New command.
6777
6778 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6779
6780 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6781 instead of killing the buffer.
6782
6783 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6784
6785 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6786
6787 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6788
6789 * net/eww.el (eww-form-checkbox-selected-symbol)
6790 (eww-form-checkbox-symbol): New customizable variable.
6791 (eww-form-checkbox, eww-toggle-checkbox):
6792 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6793
6794 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6795 (shr--get-media-pref, shr--extract-best-source): New function.
6796 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6797 no :src tag was specified.
6798
6799 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6800 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6801 Use \\` to match beginning of string instead of ^.
6802 (eww-browse-with-external-browser): Provide optional URL parameter.
6803 (eww-render): Set `eww-current-title' back to "".
6804
6805 * net/shr.el (shr-tag-video): Display content for video if no
6806 poster is available.
6807 (shr-tag-audio): Add support for <audio> tag.
6808
6809 * net/eww.el (eww-text-input-types): New const.
6810 (eww-process-text-input): Treat input types in
6811 `eww-text-input-types' as text.
6812
6813 * net/shr.el (shr-tag-table): Fix comment typo.
6814
6815 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6816
6817 * net/eww.el (eww-follow-link): New command to avoid reloading
6818 pages when we follow #target links (bug#15243).
6819 (eww-quit): Special mode buffers shouldn't query before exiting.
6820
6821 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6822
6823 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6824 forms.
6825
6826 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6827
6828 * net/eww.el (eww-restore-history): Update the window title after
6829 moving in the history.
6830 (eww-current-dom): New variable used to save the current DOM.
6831
6832 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6833
6834 * vc/log-edit.el (log-edit-mode-map): Add binding for
6835 `log-edit-beginning-of-line'.
6836 (log-edit-setup-add-author): New user option.
6837 (log-edit-beginning-of-line): New command.
6838 (log-edit): Move major mode call above the contents setup so that
6839 the local variable values are already applied.
6840 (log-edit): Only insert "Author: " when
6841 `log-edit-setup-add-author' is non-nil.
6842 (log-edit): When SETUP is non-nil, position point after ": "
6843 instead of point-min.
6844
6845 2013-12-01 Glenn Morris <rgm@gnu.org>
6846
6847 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6848
6849 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6850
6851 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6852 redisplay to make sure the initial frame gets a chance to become
6853 visible. (Bug#16014)
6854
6855 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6856
6857 Support resizing frames and windows pixelwise.
6858 * cus-start.el (frame-resize-pixelwise)
6859 (window-resize-pixelwise): New entries.
6860 * emacs-lisp/debug.el (debug): Use window-total-height instead
6861 of window-total-size.
6862 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6863 * help.el (describe-bindings-internal): Use help-buffer as
6864 argument for with-help-window.
6865 (temp-buffer-max-width): New option.
6866 (resize-temp-buffer-window, help-window-setup)
6867 (with-help-window): Rewrite.
6868 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6869 dragging dividers.
6870 * window.el (frame-char-size, window-min-pixel-height)
6871 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6872 (window-min-pixel-width, window-safe-min-pixel-size)
6873 (window-combination-p, window-safe-min-size)
6874 (window-resizable-p, window--size-to-pixel)
6875 (window--pixel-to-size, window--resize-apply-p): New functions.
6876 (window-safe-min-height): Fix doc-string.
6877 (window-size, window-min-size, window--min-size-1)
6878 (window-sizable, window-sizable-p, window--min-delta-1)
6879 (window-min-delta, window--max-delta-1, window-max-delta)
6880 (window--resizable, window--resizable-p, window-resizable)
6881 (window-full-height-p, window-full-width-p, window-at-side-p)
6882 (window--in-direction-2, window-in-direction)
6883 (window--resize-reset-1, window--resize-mini-window)
6884 (window-resize, window-resize-no-error)
6885 (window--resize-child-windows-normal)
6886 (window--resize-child-windows, window--resize-siblings)
6887 (window--resize-this-window, window--resize-root-window)
6888 (window--resize-root-window-vertically)
6889 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6890 (maximize-window, minimize-window, delete-window)
6891 (quit-restore-window, window-split-min-size, split-window)
6892 (balance-windows-2, balance-windows)
6893 (balance-windows-area-adjust, balance-windows-area)
6894 (window--state-get-1, window-state-get, window--state-put-1)
6895 (window--state-put-2, window-state-put)
6896 (display-buffer-record-window, window--display-buffer):
6897 Make functions handle pixelwise sizing of windows.
6898 (display-buffer--action-function-custom-type)
6899 (display-buffer-fallback-action):
6900 Add display-buffer-in-previous-window.
6901 (display-buffer-use-some-window): Resize window to height it had
6902 before.
6903 (fit-window-to-buffer-horizontally): New option.
6904 (fit-frame-to-buffer): Describe new values.
6905 (fit-frame-to-buffer-bottom-margin): Replace with
6906 fit-frame-to-buffer-margins.
6907 (window--sanitize-margin): New function.
6908 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6909 using window-text-pixel-size.
6910
6911 2013-11-30 Glenn Morris <rgm@gnu.org>
6912
6913 * emacs-lisp/bytecomp.el (byte-compile-form):
6914 Make the `interactive-only' warning like the `obsolete' one.
6915 * comint.el (comint-run):
6916 * files.el (insert-file-literally, insert-file):
6917 * replace.el (replace-string, replace-regexp):
6918 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6919 (goto-line, insert-buffer, next-line, previous-line):
6920 Tweak `interactive-only' spec.
6921
6922 Stop keeping (most) generated cedet grammar files in the repository.
6923 * Makefile.in (semantic): New.
6924 (compile-main): Depend on semantic.
6925
6926 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6927
6928 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6929 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6930
6931 * uniquify.el (uniquify-buffer-name-style): Change default.
6932
6933 * loadup.el: Preload "uniquify".
6934
6935 * time.el (display-time-update): Update all mode lines (bug#15999).
6936
6937 * electric.el (electric-indent-mode): Enable by default.
6938 * loadup.el: Preload "electric".
6939
6940 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6941
6942 * emacs-lisp/helpers.el (string-empty-p): New function.
6943 (string-blank-p): New function.
6944
6945 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6946
6947 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6948 (Bug#14029).
6949
6950 2013-11-29 Andreas Politz <politza@fh-trier.de>
6951 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6952 allow non-lambda lists as functions.
6953 (imenu--in-alist): Don't recurse into non-subalists.
6954 (imenu): Don't pass function itself as an argument (Bug#14029).
6955
6956 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6957
6958 * progmodes/python.el (python-mode-map): Remove binding for ":".
6959 (python-indent-electric-colon): Remove command.
6960 (python-indent-post-self-insert-function): Integrate the previous code
6961 of python-indent-electric-colon. Make it conditional on
6962 electric-indent-mode.
6963 (python-mode): Add ?: to electric-indent-chars.
6964 Move python-indent-post-self-insert-function to the end of
6965 post-self-insert-hook.
6966
6967 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6968
6969 * doc-view.el (doc-view-goto-page): Update mode-line.
6970
6971 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6972
6973 2013-11-27 Glenn Morris <rgm@gnu.org>
6974
6975 * international/charprop.el, international/uni-bidi.el:
6976 * international/uni-category.el, international/uni-combining.el:
6977 * international/uni-comment.el, international/uni-decimal.el:
6978 * international/uni-decomposition.el, international/uni-digit.el:
6979 * international/uni-lowercase.el, international/uni-mirrored.el:
6980 * international/uni-name.el, international/uni-numeric.el:
6981 * international/uni-old-name.el, international/uni-titlecase.el:
6982 * international/uni-uppercase.el:
6983 Remove generated files from VCS repository.
6984
6985 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6986
6987 * filenotify.el (file-notify-add-watch): Don't special-case
6988 w32notify when computing the directory to watch.
6989
6990 2013-11-27 Glenn Morris <rgm@gnu.org>
6991
6992 Make bootstrap without generated uni-*.el files possible again.
6993 * loadup.el: Update command-line-args checking for unidata-gen.
6994 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6995 * composite.el, international/characters.el:
6996 Handle unicode tables being undefined.
6997
6998 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6999 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
7000 (compile-main): Depend on leim rule.
7001 (leim): New rule.
7002 * loadup.el: Move leim-list.el to leim/ subdirectory.
7003 * startup.el (normal-top-level): No more leim directory.
7004 * international/ja-dic-cnv.el (skkdic-convert):
7005 Disable version-control and autoloads in output files.
7006 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
7007 Disable version-control and autoloads in output files.
7008 * leim/quail: Move here from ../leim.
7009 * leim/quail/hangul.el (hangul-input-method-activate):
7010 Add autoload cookie.
7011 (generated-autoload-load-name): Set file-local value.
7012 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
7013 (generated-autoload-load-name): Set file-local value.
7014
7015 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
7016
7017 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7018 (eww-add-bookmark): Ask confirmation when add to bookmarks.
7019 (eww-quit): Ask confirmation before quitting eww.
7020
7021 2013-11-26 Eli Zaretskii <eliz@gnu.org>
7022
7023 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
7024 reading output from Diff on MS-Windows and MS-DOS.
7025
7026 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
7027
7028 * emacs-lisp/helpers.el (string-reverse): New function.
7029
7030 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
7031
7032 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
7033 names on MS Windows, like "/[::1]:".
7034
7035 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
7036 SWITCHES.
7037
7038 2013-11-26 Glenn Morris <rgm@gnu.org>
7039
7040 * progmodes/python.el (python-indent-guess-indent-offset):
7041 Avoid corner-case error. (Bug#15975)
7042
7043 Preload leim-list.el. (Bug#4789)
7044 * loadup.el: Load leim-list.el when found.
7045 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
7046
7047 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
7048
7049 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
7050
7051 * emacs-lisp/helpers.el (string-join): New function.
7052
7053 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
7054
7055 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7056 Mark as obsolete and replace it with a symbol property.
7057 (byte-compile-form): Use new 'interactive-only property.
7058 * comint.el, files.el, replace.el, simple.el:
7059 Apply new 'interactive-only properly.
7060
7061 2013-11-25 Martin Rudalics <rudalics@gmx.at>
7062
7063 * window.el (display-buffer-at-bottom): Make sure that
7064 split-window-sensibly creates the new window on bottom
7065 (Bug#15961).
7066
7067 2013-11-23 David Kastrup <dak@gnu.org>
7068
7069 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
7070 on the conflict markers when available.
7071 (smerge--get-marker): New function.
7072 (smerge-end-re, smerge-base-re): Add subgroup.
7073
7074 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
7075
7076 * frame.el (handle-focus-in, handle-focus-out): Add missing
7077 interactive spec.
7078
7079 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
7080
7081 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7082 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
7083
7084 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
7085
7086 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
7087 (gomoku--last-pos): New var.
7088 (gomoku--intangible-chars): New const.
7089 (gomoku--intangible): New function.
7090 (gomoku-mode): Use it. Derive from special-mode.
7091 (gomoku-move-up): Adjust line count.
7092 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
7093 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
7094 Simplify accordingly.
7095
7096 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
7097 Remove blink-cursor code.
7098 (blink-cursor-timer-function, blink-cursor-suspend):
7099 Don't special-case GUIs.
7100 (blink-cursor-mode): Use focus-in/out-hook.
7101
7102 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
7103
7104 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
7105 work when annotation is invisible (Bug#13886).
7106
7107 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7108
7109 * json.el (json-alist-p): Only return non-nil if the alist has
7110 simple keys (Bug#13518).
7111
7112 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
7113
7114 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
7115 when control-statement is the first statement in a buffer (Bug#15956).
7116
7117 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
7118
7119 * imenu.el (imenu-generic-skip-comments-and-strings):
7120 New option (Bug#15560).
7121 (imenu--generic-function): Use it.
7122
7123 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
7124
7125 * minibuffer.el (completion--in-region-1): Scroll the correct window.
7126 (Bug#13898)
7127
7128 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
7129
7130 * emacs-lisp/helpers.el: Add some string helpers.
7131 (string-trim-left): Removes leading whitespace.
7132 (string-trim-right): Removes trailing whitespace.
7133 (string-trim): Removes leading and trailing whitespace.
7134
7135 * subr.el (string-suffix-p): New function.
7136
7137 2013-11-23 Glenn Morris <rgm@gnu.org>
7138
7139 * progmodes/python.el (python-shell-send-file):
7140 Add option to delete file when done. (Bug#15647)
7141 (python-shell-send-string, python-shell-send-region): Use it.
7142
7143 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
7144
7145 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
7146 to set buffer-read-only to t, never to nil. (Bug#15938)
7147
7148 * textmodes/tex-mode.el (latex-noindent-environments):
7149 Add safe-local-variable property. (Bug#15936)
7150
7151 2013-11-23 Glenn Morris <rgm@gnu.org>
7152
7153 * textmodes/enriched.el (enriched-mode): Doc fix.
7154 * emacs-lisp/authors.el (authors-renamed-files-alist):
7155 Add enriched.doc -> enriched.txt.
7156
7157 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
7158
7159 2013-11-22 Leo Liu <sdl.web@gmail.com>
7160
7161 * progmodes/octave.el (inferior-octave-startup): Spit out error
7162 message.
7163
7164 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
7165
7166 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7167 Improve docstring.
7168 Add :version.
7169 (ruby-encoding-magic-comment-style): Add :version.
7170
7171 2013-11-22 Leo Liu <sdl.web@gmail.com>
7172
7173 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
7174 (Bug#15076)
7175 (octave-help-mode): Adapt to change to help-mode-finish to use
7176 derived-mode-p on 2013-09-17.
7177 (inferior-octave-prompt): Also match octave-gui.
7178 (octave-kill-process): Don't ask twice. (Bug#10564)
7179
7180 2013-11-22 Leo Liu <sdl.web@gmail.com>
7181
7182 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
7183 (inferior-octave-startup, inferior-octave-check-process)
7184 (inferior-octave-track-window-width-change)
7185 (octave-completion-at-point, octave-eldoc-function): Use it.
7186 (octave-kill-process): Provide confirmation. (Bug#10564)
7187
7188 2013-11-21 Leo Liu <sdl.web@gmail.com>
7189
7190 * progmodes/octave.el (octave-mode, inferior-octave-mode):
7191 Fix obsolete variable comment-use-global-state.
7192
7193 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7194
7195 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
7196 Add `octave-source-file'.
7197 (octave-source-file): New function. (Bug#15935)
7198
7199 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
7200
7201 * net/eww.el (eww-local-regex): New variable.
7202 (eww): Use it to detect localhost and similar.
7203
7204 2013-11-21 Leo Liu <sdl.web@gmail.com>
7205
7206 Add completion for command `ag'.
7207 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
7208 (pcomplete/ag): New function.
7209 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
7210
7211 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7212
7213 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
7214 (bug#14646).
7215 (make-obsolete): Remove interactive spec.
7216
7217 2013-11-21 Glenn Morris <rgm@gnu.org>
7218
7219 * startup.el (command-line-1): Use path-separator with -L.
7220
7221 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
7222
7223 * emacs-lisp/package.el (describe-package-1): Add package archive
7224 to shown fields.
7225
7226 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7227
7228 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7229 Change default to "# encoding: %s" to differentiate it from the
7230 default Ruby encoding comment template.
7231
7232 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
7233
7234 * ses.el (ses-mode): Doc fix. (Bug#14748)
7235
7236 2013-11-20 Leo Liu <sdl.web@gmail.com>
7237
7238 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
7239
7240 2013-11-19 Dan Nicolaescu <dann@gnu.org>
7241
7242 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
7243 when rebase or bisect are in progress.
7244
7245 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
7246
7247 * filenotify.el (file-notify-add-watch): Doc fix.
7248
7249 2013-11-19 Leo Liu <sdl.web@gmail.com>
7250
7251 * obsolete/rcompile.el: Mark obsolete.
7252
7253 * progmodes/compile.el (compilation-start)
7254 (compilation-goto-locus, compilation-find-file):
7255 Pass no-display-ok and handle nil value from display-buffer.
7256 (Bug#13594)
7257
7258 * window.el (display-buffer-alist, display-buffer): Document the
7259 new parameter no-display-ok. Return either a window or nil
7260 but never a non-window value.
7261
7262 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7263
7264 * electric.el (electric-indent-mode-map): Remove.
7265 (electric-indent-mode): Change the global-map instead (bug#15915).
7266
7267 * textmodes/text-mode.el (paragraph-indent-minor-mode):
7268 Use add-function.
7269
7270 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
7271
7272 * emacs-lisp/nadvice.el (remove-function): Align with
7273 add-function's behavior.
7274
7275 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
7276 (gdb--string-regexp): New constant.
7277 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
7278 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
7279 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
7280 submatch 1.
7281 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
7282 Adjust use accordingly.
7283 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
7284
7285 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
7286
7287 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
7288 interpolation curlies (Bug#15914).
7289
7290 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
7291
7292 * calc/calc.el (calc-context-sensitive-enter): New variable.
7293 (calc-enter): Use `calc-context-sensitive-enter'.
7294
7295 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
7296
7297 * progmodes/cfengine.el: Version bump.
7298 (cfengine-cf-promises): New defcustom to locate cf-promises.
7299 (cfengine3-vartypes): Add new "data" type.
7300 (cfengine3--current-word): New function to get current name-like
7301 word or its bounds.
7302 (cfengine3--current-function): New function to look up a CFEngine
7303 function's definition.
7304 (cfengine3-format-function-docstring): New function.
7305 (cfengine3-make-syntax-cache): New function.
7306 (cfengine3-documentation-function): New function: ElDoc glue.
7307 (cfengine3-completion-function): New function: completion glue.
7308 (cfengine3-mode): Set `compile-command',
7309 `eldoc-documentation-function', and add to
7310 `completion-at-point-functions'.
7311
7312 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
7313
7314 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7315 `tramp-current-connection'.
7316
7317 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
7318
7319 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
7320 nil/self/true/false with "end of symbol".
7321
7322 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
7323
7324 * subr.el (version-regexp-alist): Fix a typo.
7325
7326 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
7327
7328 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
7329 "en_US.utf8" and "LC_CTYPE" to "".
7330 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
7331 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
7332
7333 2013-11-15 Leo Liu <sdl.web@gmail.com>
7334
7335 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
7336
7337 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7338
7339 * progmodes/gud.el (ctl-x-map):
7340 Remove C-x SPC binding. (Bug#12342)
7341 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
7342
7343 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
7344
7345 * subr.el (version-regexp-alist):
7346 Recognize hg, svn and darcs versions as snapshot versions.
7347
7348 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
7349 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
7350 (ruby--encoding-comment-required-p): Extract from
7351 `ruby-mode-set-encoding'.
7352 (ruby-mode-set-encoding): Add the ability to always insert an
7353 utf-8 encoding comment. Fix and simplify coding comment update
7354 logic.
7355
7356 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
7357
7358 * net/tramp-gvfs.el (top): Run init code only when
7359 `tramp-gvfs-enabled' is not nil.
7360 (tramp-gvfs-enabled): Check also :system bus.
7361
7362 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7363
7364 Sync with upstream verilog-mode revision 78e66ba.
7365 * progmodes/verilog-mode.el (verilog-end-of-defun)
7366 (verilog-type-completion, verilog-get-list): Remove unused funcs.
7367 (verilog-get-end-of-defun): Remove unused argument.
7368 (verilog-comment-depth): Remove unused local `e'.
7369 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
7370 Don't pass arg to verilog-get-end-of-defun.
7371
7372 2013-11-14 Glenn Morris <rgm@gnu.org>
7373
7374 * obsolete/assoc.el (aget): Prefix dynamic variable.
7375
7376 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
7377
7378 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7379
7380 * widget.el, hfy-cmap.el: Remove bogus package version number.
7381
7382 2013-11-13 Glenn Morris <rgm@gnu.org>
7383
7384 * replace.el (replace-eval-replacement):
7385 Try to give more helpful error message. (Bug#15836)
7386
7387 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7388 (archive-7z-update): Avoid custom type mismatches.
7389
7390 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
7391
7392 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
7393
7394 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
7395 address can be empty.
7396
7397 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
7398 Accept nil SWITCHES.
7399 (tramp-gvfs-handle-write-region): Implement APPEND.
7400
7401 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
7402
7403 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
7404 binary "|" operator and closing block args delimiter.
7405 Remove FIXME comment referring to Ruby 1.8-only syntax.
7406 (ruby-smie--implicit-semi-p): Not after "|" operator.
7407 (ruby-smie--closing-pipe-p): New function.
7408 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
7409 (ruby-smie-rules): Indent after "|".
7410
7411 2013-11-12 Glenn Morris <rgm@gnu.org>
7412
7413 * ps-print.el (ps-face-attribute-list):
7414 Handle anonymous faces. (Bug#15827)
7415
7416 2013-11-12 Martin Rudalics <rudalics@gmx.at>
7417
7418 * window.el (display-buffer-other-frame): Fix doc-string.
7419 (Bug#15868)
7420
7421 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7422
7423 * subr.el (force-mode-line-update): Delete, move to buffer.c.
7424
7425 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
7426
7427 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
7428 (tramp-sh-handle-file-local-copy): Don't write a message when
7429 saving temporary files.
7430
7431 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
7432 both directories are remote.
7433 (tramp-smb-handle-directory-files): Do not return double entries.
7434 Do not expand full file names.
7435 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
7436 (tramp-smb-handle-write-region): Implement APPEND.
7437 (tramp-smb-get-stat-capability): Fix a stupid bug.
7438
7439 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7440
7441 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
7442
7443 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7444
7445 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
7446 throwing error over malformed let/let* (bug#15814).
7447
7448 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7449
7450 * iswitchb.el (iswitchb-mode): Mark obsolete.
7451
7452 2013-11-11 Glenn Morris <rgm@gnu.org>
7453
7454 * international/uni-bidi.el, international/uni-category.el:
7455 * international/uni-name.el, international/uni-numeric.el:
7456 Regenerate for Unicode 6.3.0.
7457
7458 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
7459
7460 * net/tramp.el (tramp-methods):
7461 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
7462 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
7463
7464 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
7465
7466 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7467 Force highlighting text after Summary keyword in doc face for rpm.
7468
7469 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
7470
7471 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
7472 available and the word has no wildcards, append one to the grep pattern.
7473 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
7474 (ispell-complete-word): Call `ispell-lookup-words' with the value
7475 independent of `ispell-look-p'.
7476
7477 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7478
7479 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
7480 Not after "||".
7481 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
7482 their parent.
7483
7484 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7485
7486 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
7487 (ruby-font-lock-keywords): Use backquote.
7488
7489 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7490
7491 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7492 (ruby-smie--backward-token): Only consider full-string matches.
7493
7494 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
7495
7496 * faces.el (describe-face): Add distant-foreground.
7497
7498 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
7499
7500 * progmodes/ruby-mode.el: Improve encoding comment handling.
7501 (ruby-encoding-magic-comment-style): New option.
7502 (ruby-custom-encoding-magic-comment-template): New option.
7503 (ruby--insert-coding-comment, ruby--detect-encoding):
7504 New functions extracted from `ruby-mode-set-encoding'.
7505 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
7506 to control the style of the auto-inserted encoding comment.
7507
7508 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7509
7510 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
7511 Use `smie-backward-sexp' with token argument.
7512
7513 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
7514
7515 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7516 Remove instrumentation code.
7517
7518 2013-11-08 Glenn Morris <rgm@gnu.org>
7519
7520 * progmodes/autoconf.el (autoconf-mode):
7521 Tweak comment-start-skip. (Bug#15822)
7522
7523 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7524
7525 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
7526 at bobp (bug#15826).
7527 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
7528
7529 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
7530
7531 * man.el (Man-start-calling): New macro, extracted from
7532 Man-getpage-in-background.
7533 (Man-getpage-in-background): Use it.
7534 (Man-update-manpage): New command.
7535 (Man-mode-map): Bind it.
7536
7537 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7538
7539 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
7540 of "and", "or", "&&" and "||".
7541 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
7542 argument. Prohibit opening curly brace because it could only be a
7543 block opener in that position.
7544 (ruby-smie--forward-token, ruby-smie--backward-token):
7545 Separate "|" from "&" or "*" going after it. That can happen in block
7546 arguments.
7547 (ruby-smie--indent-to-stmt): New function, seeks the end of
7548 previous statement or beginning of buffer.
7549 (ruby-smie-rules): Use it.
7550 (ruby-smie-rules): Check if there's a ":" before a curly block
7551 opener candidate; if there is, it's a hash.
7552
7553 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7554
7555 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
7556 (cl--block-wrapper): Fix last accidental change.
7557
7558 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
7559
7560 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7561 Instrument, in order to hunt failure on hydra.
7562
7563 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7564
7565 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
7566 malformed bindings form (bug#15814).
7567
7568 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
7569
7570 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
7571 "." compared to " @ ". This incidentally fixes some indentation
7572 examples with "do".
7573 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
7574 (ruby-smie-grammar): New tokens: "and" and "or".
7575 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7576 Exclude "and" and "or". Remove "do" in order to work around token
7577 priorities.
7578 (ruby-smie-rules): Add all infix tokens. Handle the case of
7579 beginning-of-buffer.
7580
7581 2013-11-06 Glenn Morris <rgm@gnu.org>
7582
7583 * Makefile.in (setwins_almost, setwins_for_subdirs):
7584 Avoid accidental matches.
7585
7586 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7587
7588 * menu-bar.el (popup-menu): Use key-binding.
7589
7590 2013-11-06 Eli Zaretskii <eliz@gnu.org>
7591
7592 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7593 menus, support also the menus produced by minor modes.
7594 (Bug#15817)
7595
7596 2013-11-06 Leo Liu <sdl.web@gmail.com>
7597
7598 * thingatpt.el (thing-at-point-looking-at): Add optional arg
7599 DISTANCE to bound the search. All uses changed. (Bug#15808)
7600
7601 2013-11-06 Glenn Morris <rgm@gnu.org>
7602
7603 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7604 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7605 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7606
7607 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7608
7609 * electric.el (electric-indent-just-newline): New command.
7610 (electric-indent-mode-map): New keymap.
7611 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7612 Re-add :group which weren't redundant.
7613
7614 * electric.el (electric-indent-local-mode): New minor mode.
7615 (electric-indent-functions-without-reindent): New var.
7616 (electric-indent-post-self-insert-function): Use it.
7617 * emacs-lisp/gv.el (buffer-local-value): Add setter.
7618
7619 2013-11-05 Eli Zaretskii <eliz@gnu.org>
7620
7621 * international/quail.el (quail-help): Be more explicit about the
7622 meaning of the labels shown on the keys. (Bug#15800)
7623
7624 * startup.el (normal-top-level): Load the subdirs.el files before
7625 setting the locale environment. (Bug#15805)
7626
7627 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
7628
7629 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7630 via arguments so as to get the right ones (bug#15418).
7631
7632 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7633
7634 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
7635
7636 Fix problems found while writing a test suite.
7637
7638 * net/tramp-compat.el (tramp-compat-load): New defun.
7639 * net/tramp.el (tramp-handle-load): Use it.
7640
7641 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7642 "(numberp ok-if-already-exists)" correctly.
7643
7644 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
7645
7646 * international/characters.el (glyphless-char-display-control):
7647 Add usage note.
7648
7649 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
7650
7651 * progmodes/python.el (python-mode):
7652 * progmodes/scheme.el (scheme-mode):
7653 * progmodes/prolog.el (prolog-mode):
7654 * progmodes/ruby-mode.el (ruby-mode):
7655 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7656 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7657
7658 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7659
7660 * rect.el (rectangle--highlight-for-redisplay):
7661 * emacs-lisp/smie.el (smie--next-indent-change):
7662 Use buffer-chars-modified-tick.
7663
7664 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7665
7666 * electric.el (electric-indent-post-self-insert-function):
7667 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7668
7669 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
7670
7671 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7672
7673 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7674
7675 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7676 (bug#15786).
7677
7678 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7679
7680 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
7681
7682 * progmodes/python.el: Fix up last change.
7683 (python-shell--save-temp-file): New function.
7684 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
7685 `string' comes from the current buffer.
7686 (python-shell-send-string-no-output): Remove `msg' arg.
7687 (python--use-fake-loc): New var.
7688 (python-shell-buffer-substring): Obey it. Try to compensate for the
7689 extra coding line added by python-shell--save-temp-file.
7690 (python-shell-send-region): Use python-shell--save-temp-file and
7691 python-shell-send-file directly. Add `nomain' argument.
7692 (python-shell-send-buffer): Use python-shell-send-region.
7693 (python-electric-pair-string-delimiter): New function.
7694 (python-mode): Use it.
7695
7696 2013-11-04 Eli Zaretskii <eliz@gnu.org>
7697
7698 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7699 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7700 environment and decoding all of the default-directory's to here
7701 from command-line.
7702 (command-line): Decode also argv[0].
7703
7704 * loadup.el: Error out if default-directory is a multibyte string
7705 when we are dumping.
7706
7707 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7708
7709 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7710
7711 * emacs-lisp/package.el (package-menu-mode)
7712 (package-menu--print-info, package-menu--archive-predicate):
7713 Add Archive column to package list.
7714
7715 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
7716
7717 Fix problems found while writing a test suite.
7718
7719 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7720 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7721 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7722 to nil when running original file name handler. Otherwise,
7723 there are problems with constructs like "$$FOO".
7724
7725 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7726 for `localname'.
7727
7728 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7729
7730 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7731
7732 * subr.el (version<, version<=, version=):
7733 Update docstrings with information for snapshot versions.
7734
7735 * helpers.el: New library for misc helper functions.
7736 (hash-table-keys): New function returning a list of hash keys.
7737 (hash-table-values): New function returning a list of hash values.
7738
7739 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7740
7741 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7742 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7743
7744 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
7745
7746 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7747 checking whether point is after a 1-letter word.
7748
7749 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7750
7751 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7752 Don't infloop when expanding region over `multiline' syntax-type that
7753 begins a line (bug#15778).
7754
7755 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7756
7757 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7758 Make it into a proper minor mode.
7759 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
7760 (rectangle-mark-mode-map): New keymap.
7761 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7762
7763 2013-11-04 Glenn Morris <rgm@gnu.org>
7764
7765 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7766
7767 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7768
7769 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7770 (ruby-smie-rules): Use smie-rule-parent instead.
7771
7772 * emacs-lisp/smie.el (smie-rule-parent): Always call
7773 smie-indent-virtual rather than only for hanging tokens.
7774 (smie--next-indent-change): New helper command.
7775
7776 2013-11-03 Glenn Morris <rgm@gnu.org>
7777
7778 * Makefile.in (abs_srcdir): Remove.
7779 (emacs): Unset EMACSLOADPATH.
7780
7781 2013-11-02 Glenn Morris <rgm@gnu.org>
7782
7783 * Makefile.in (EMACS): Use a relative filename.
7784 (abs_top_builddir): Remove.
7785 (custom-deps, finder-data, autoloads): Use --chdir.
7786
7787 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7788
7789 Use relative filenames in TAGS files.
7790 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7791 (lisptagsfiles4, TAGS): Use relative file names.
7792 (TAGS-LISP): Remove.
7793 (maintainer-clean): No more TAGS-LISP file.
7794
7795 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7796 (lisptagsfiles4): Use absolute filenames again.
7797 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7798 Remove all *loaddefs files, not just the first. Remove esh-groups.
7799 (maintainer-clean): Delete TAGS, TAGS-LISP.
7800
7801 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7802
7803 * emacs-lisp/package.el (package-version-join):
7804 Recognize snapshot versions.
7805
7806 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7807
7808 * subr.el (version-regexp-alist): Add support for snapshot versions.
7809
7810 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7811
7812 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7813 New function, replacement for `smie-rule-parent' for when we want to
7814 skip over our direct parent if it's an assignment token..
7815 (ruby-smie-rules): Use it.
7816
7817 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7818
7819 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7820 unconditionally. Remove now unnecessary forward declarations.
7821 Remove XEmacs-specific setup.
7822 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7823 (ruby-font-lock-syntactic-keywords)
7824 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7825 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7826 (ruby-here-doc-end-syntax): Remove.
7827 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7828 defined as function.
7829
7830 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7831
7832 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7833
7834 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7835
7836 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7837 table and abbrev table, `define-derived-mode' does that for us
7838 anyway.
7839
7840 2013-11-01 Glenn Morris <rgm@gnu.org>
7841
7842 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7843 files is atomic for some time, so no parallel compilation issues).
7844
7845 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7846
7847 * faces.el (face-x-resources): Add :distant-foreground.
7848 (region): Use :distant-foreground for gtk and ns.
7849
7850 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7851
7852 Allow multiple bibliographies when BibLaTeX is used rather than
7853 BibTeX.
7854 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7855 (reftex-locate-bibliography-files): Us it.
7856
7857 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7858
7859 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7860 allow comments in pbm files.
7861
7862 * term/w32-win.el (dynamic-library-alist): Support newer versions
7863 of libjpeg starting with v7: look only for the DLL from the
7864 version against which Emacs was built.
7865 Support versions of libpng beyond 1.4.x.
7866 Support libtiff v4.x.
7867
7868 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7869
7870 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7871 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7872 Add property :safe.
7873 (ruby-deep-arglist): Add property :type.
7874
7875 2013-10-31 Glenn Morris <rgm@gnu.org>
7876
7877 * Makefile.in (custom-deps, finder-data): No need to setq the target
7878 variables, we are in the right directory and the defaults work fine.
7879
7880 2013-10-30 Glenn Morris <rgm@gnu.org>
7881
7882 * Makefile.in (autoloads): Do not use abs_lisp.
7883
7884 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7885 `newline' does not respect `standard-output', so use `princ'.
7886
7887 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7888
7889 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7890 * buff-menu.el (Buffer-menu--unmark): New function.
7891 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7892
7893 2013-10-30 Glenn Morris <rgm@gnu.org>
7894
7895 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7896
7897 * emacs-lisp/package.el (lm-homepage): Declare.
7898
7899 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7900 Fix doc typos.
7901
7902 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7903
7904 * Makefile.in (finder-data, autoloads, update-subdirs)
7905 (compile-main, compile-clean, compile-always, bootstrap-clean):
7906 Check return value of cd.
7907 (compile-calc): Remove.
7908
7909 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7910
7911 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7912
7913 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7914 (byte-compile-and-folded): New function.
7915 (=, <, >, <=, >=): Use it.
7916
7917 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7918 (path-separator, null-device, buffer-file-coding-system)
7919 (lpr-headers-switches): Check system-type before modifying them.
7920 (find-buffer-file-type-coding-system): Mark obsolete.
7921 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7922 find-file-not-found-set-buffer-file-coding-system.
7923 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7924 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7925 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7926 (w32-direct-print-region-helper, w32-direct-print-region-function)
7927 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7928 * startup.el (normal-top-level-add-subdirs-to-load-path):
7929 * ps-print.el (ps-print-region-function):
7930 * lpr.el (print-region-function): Use new name.
7931
7932 * subr.el (custom-declare-variable-early): Remove function.
7933 (custom-declare-variable-list): Remove var.
7934 (error, user-error): Remove `while' loop.
7935 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7936 (user-emacs-directory-warning, locate-user-emacs-file):
7937 Move to files.el.
7938 * simple.el (read-quoted-char-radix, read-quoted-char):
7939 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7940 Move from subr.el.
7941 * custom.el (custom-declare-variable-list): Don't process
7942 custom-declare-variable-list.
7943
7944 * progmodes/python.el (python-shell-get-buffer): New function.
7945 (python-shell-get-process): Use it.
7946 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7947 Python which encoding was used. Don't split-string since we only care
7948 about the first line. Return the temp-file, if applicable.
7949 (python-shell-send-region): Tell compile.el how to turn locations in
7950 the temp-file into locations in the source buffer.
7951
7952 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7953
7954 * subr.el (undefined): Add missing behavior from the C code for
7955 unbound keys.
7956
7957 * rect.el: Use lexical-binding. Add new rectangular region support.
7958 (rectangle-mark): New command.
7959 (rectangle--region): New var.
7960 (deactivate-mark-hook): Reset rectangle--region.
7961 (rectangle--extract-region, rectangle--insert-for-yank)
7962 (rectangle--highlight-for-redisplay)
7963 (rectangle--unhighlight-for-redisplay): New functions.
7964 (region-extract-function, redisplay-unhighlight-region-function)
7965 (redisplay-highlight-region-function): Use them to handle
7966 rectangular region.
7967 * simple.el (region-extract-function): New var.
7968 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7969 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7970 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7971 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7972 (redisplay-unhighlight-region-function)
7973 (redisplay-highlight-region-function): New vars.
7974 (redisplay--update-region-highlight): New function.
7975 (pre-redisplay-function): Use it.
7976 (exchange-point-and-mark): Don't deactivate the mark before
7977 reactivate-it anyway.
7978 * comint.el (comint-kill-region): Remove yank-handler argument.
7979 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7980 (delete-char): Remove property, since it's now part of their
7981 default behavior.
7982 (self-insert-iso): Remove property since this command doesn't exist.
7983
7984 * emacs-lisp/package.el (package--download-one-archive)
7985 (describe-package-1): Don't query the user about final newline.
7986
7987 2013-10-29 Daniel Colascione <dancol@dancol.org>
7988
7989 * net/tramp.el (tramp-methods): Document new functionality.
7990 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7991 tramp-hostname-checker if method provides one instead of scanning
7992 argument list for "%h" to decide hostname acceptability.
7993
7994 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7995
7996 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7997 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7998 Handle COPY-CONTENTS. (Bug#15737)
7999
8000 2013-10-28 Daiki Ueno <ueno@gnu.org>
8001
8002 * epa-file.el
8003 (epa-file-cache-passphrase-for-symmetric-encryption):
8004 Document that this option has no effect with GnuPG 2.0 (bug#15552).
8005
8006 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
8007
8008 * image.el (defimage, image-load-path): Doc fixes.
8009
8010 2013-10-27 Alan Mackenzie <acm@muc.de>
8011
8012 Indent statements in macros following "##" correctly.
8013 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
8014 Modify the "#" arm of a cond form to handle "#" and "##" operators.
8015
8016 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
8017
8018 * linum.el (linum-update-window): Fix boundary test (bug#13446).
8019
8020 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
8021
8022 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
8023 after `=' is probably a new expression.
8024
8025 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8026
8027 * man.el (man-imenu-title): New option.
8028 (Man-mode-map): Add menu. (Bug#15722)
8029 (Man-mode): Add imenu to menu.
8030
8031 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
8032
8033 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
8034 specific in what the first arg can be: a non-keyword word,
8035 string/regexp/percent literal opener, opening paren, or unary
8036 operator followed directly by word.
8037
8038 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8039
8040 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
8041 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
8042 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
8043 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
8044 Remove vars, they do not apply any more.
8045 (prolog-mode-abbrev-table): Remove redundant declaration.
8046 (prolog-upper-case-string, prolog-lower-case-string): Remove.
8047 (prolog-use-smie): Remove.
8048 (prolog-smie-rules): Add indentation rule for the if-then-else layout
8049 supported by prolog-electric-if-then-else-flag.
8050 (prolog-mode-variables, prolog-menu): Use setq-local.
8051 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
8052 Remove binding to `Backspace' since this key doesn't exist anyway.
8053 Remove bindings for electric self-inserting keys.
8054 (prog-mode): Assume it's defined.
8055 (prolog-post-self-insert): New function.
8056 (prolog-mode): Use it.
8057 (prolog-indent-line, prolog-indent-level)
8058 (prolog-find-indent-of-matching-paren)
8059 (prolog-indentation-level-of-line, prolog-goto-comment-column)
8060 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
8061 (prolog-goto-next-paren, prolog-in-string-or-comment)
8062 (prolog-tokenize, prolog-inside-mline-comment)
8063 (prolog-find-start-of-mline-comment): Remove functions.
8064 (prolog-find-unmatched-paren, prolog-clause-end)
8065 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
8066 (prolog-electric--if-then-else): Rename from
8067 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
8068 (prolog-tokenize-searchkey): Remove const.
8069 (prolog-clause-info): Use forward-sexp.
8070 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
8071 (prolog-electric-if-then-else): Remove commands.
8072 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
8073 for use in post-self-insert-hook.
8074 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
8075 for use in post-self-insert-hook.
8076 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
8077 for use in post-self-insert-hook.
8078 (prolog-electric--underscore): Rename from prolog-electric--underscore;
8079 adapt it for use in post-self-insert-hook.
8080
8081 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
8082
8083 * emacs-lisp/ert.el (ert-run-tests-interactively):
8084 Use `completing-read'. (Bug#9756)
8085
8086 2013-10-25 Eli Zaretskii <eliz@gnu.org>
8087
8088 * simple.el (line-move): Call line-move-1 instead of
8089 line-move-visual when the current window hscroll is zero, but
8090 temporary-goal-column indicates we will need to hscroll as result
8091 of the movement. (Bug#15712)
8092
8093 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
8094
8095 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
8096 capitalization. Use :visible instead of :active.
8097 Fix `ruby-indent-exp' reference. Add menu items for the generic
8098 commands that are used with SMIE.
8099 (ruby-do-end-to-brace): Insert space after `{'.
8100
8101 2013-10-25 John Anthony <john@jo.hnanthony.com>
8102
8103 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
8104
8105 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
8106
8107 2013-10-25 Glenn Morris <rgm@gnu.org>
8108
8109 * vc/vc.el (vc-print-log): Don't use a working revision unless
8110 one was explicitly specified. (Bug#15322)
8111
8112 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8113
8114 * subr.el (add-to-list): Preserve return value in compiler-macro
8115 (bug#15692).
8116
8117 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8118
8119 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
8120 result. Ask user to retry using '-all' flag. (Bug#15701)
8121
8122 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8123
8124 * emacs-lisp/smie.el: New smie-config system.
8125 (smie-config): New defcustom.
8126 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
8127 (smie-config-guess, smie-config-save): New commands.
8128 (smie-config--mode-local, smie-config--buffer-local)
8129 (smie-config--trace, smie-config--modefuns): New vars.
8130 (smie-config--advice, smie-config--mode-hook)
8131 (smie-config--setter, smie-config-local, smie-config--get-trace)
8132 (smie-config--guess-value, smie-config--guess): New functions.
8133 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
8134 text properties. Treat "string fence" syntax like string syntax.
8135
8136 * progmodes/sh-script.el (sh-use-smie): Change default.
8137 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
8138 (sh-var-value): Simplify by CSE.
8139 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
8140 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
8141 is used.
8142 (sh-guess-basic-offset): Use cl-incf.
8143 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
8144
8145 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
8146
8147 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
8148 (bug#15699).
8149
8150 2013-10-24 Glenn Morris <rgm@gnu.org>
8151
8152 * Makefile.in (abs_top_srcdir): Remove.
8153 (update-subdirs): Use relative path to update-subdirs.
8154
8155 2013-10-24 Eli Zaretskii <eliz@gnu.org>
8156
8157 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
8158 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
8159 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
8160 Call unmsys--file-name before expand-file-name, not after it.
8161
8162 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
8163
8164 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
8165 (ert-test-skipped): New error.
8166 (ert-skip, ert-stats-skipped): New defuns.
8167 (ert--skip-unless): New macro.
8168 (ert-test-skipped): New struct.
8169 (ert--run-test-debugger, ert-test-result-type-p)
8170 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
8171 (ert--stats-set-test-and-result, ert-char-for-test-result)
8172 (ert-string-for-test-result, ert-run-tests-batch)
8173 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
8174 Handle skipped tests. (Bug#9803)
8175
8176 2013-10-24 Glenn Morris <rgm@gnu.org>
8177
8178 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
8179
8180 * Makefile.in (abs_top_srcdir): New, set by configure.
8181 (update-subdirs): Correct build-aux location.
8182
8183 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
8184
8185 * vc/vc.el (vc-print-root-log): Always set `default-directory'
8186 value, whether we could auto-deduce `backend', or not.
8187
8188 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
8189 with parameters" example. Simplify the "is it block or is it
8190 hash" check, but also make it more thorough.
8191
8192 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
8193
8194 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
8195
8196 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
8197
8198 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
8199 { if it is hanging.
8200
8201 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
8202 :before ";".
8203
8204 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
8205
8206 * progmodes/compile.el (compilation-directory-matcher)
8207 (compilation-page-delimiter):
8208 Support GNU Make-4.0 directory quoting. (Bug#15678)
8209
8210 2013-10-23 Leo Liu <sdl.web@gmail.com>
8211
8212 * ido.el (ido-tidy): Handle read-only text.
8213
8214 2013-10-23 Glenn Morris <rgm@gnu.org>
8215
8216 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
8217 (emacs, compile, compile-always):
8218 Quote entities that might contain whitespace.
8219 (custom-deps, finder-data, autoloads): Use abs_lisp.
8220 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8221 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8222 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
8223
8224 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
8225
8226 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
8227 Use `following-char'.
8228
8229 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
8230
8231 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
8232 * progmodes/ruby-mode.el (ruby-smie-rules):
8233 Remove corresponding workaround. Fix indentation rule of ";" so it
8234 also applies when ";" is the parent.
8235
8236 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
8237
8238 * frame.el (display-screens, display-pixel-height)
8239 (display-pixel-width, display-mm-width, display-backing-store)
8240 (display-save-under, display-planes, display-color-cells)
8241 (display-visual-class, display-monitor-attributes-list):
8242 Mention the optional ‘display’ argument in doc strings.
8243
8244 2013-10-22 Michael Gauland <mikelygee@amuri.net>
8245
8246 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
8247 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
8248
8249 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8250
8251 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
8252 TODO. Add "." after " @ ".
8253 (ruby-smie--at-dot-call): New function. Checks if point at method
8254 call with explicit target.
8255 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
8256 to the method name tokens when it precedes them.
8257 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
8258 (ruby-smie-rules): Add rule for indentation before and after "."
8259 token.
8260
8261 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
8262
8263 * textmodes/remember.el (remember-diary-extract-entries):
8264 Avoid add-to-list.
8265
8266 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
8267 an instruction.
8268
8269 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8270
8271 * progmodes/ruby-mode.el (ruby-smie-grammar):
8272 Add (almost) all infix operators.
8273 (ruby-smie--implicit-semi-p): Add new operator chars.
8274
8275 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8276 `smie-down-list'.
8277 (ruby-smie--args-separator-p): Check that there's no newline
8278 between method call and its arguments.
8279
8280 2013-10-20 Alan Mackenzie <acm@muc.de>
8281
8282 Allow comma separated lists after Java "implements".
8283
8284 * progmodes/cc-engine.el (c-backward-over-enum-header):
8285 Parse commas.
8286 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
8287 from a "disallowed" list in enum fontification.
8288
8289 2013-10-20 Johan Bockgård <bojohan@gnu.org>
8290
8291 * startup.el (default-frame-background-mode): Remove unused defvar.
8292
8293 * progmodes/verilog-mode.el (verilog-mode): Don't set
8294 comment-indent-function globally.
8295
8296 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
8297
8298 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
8299 Move Info menu item creation to ns-win.el.
8300
8301 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
8302 in menu bar.
8303
8304 * menu-bar.el: Move GNUstep specific menus...
8305
8306 * term/ns-win.el (ns-initialize-window-system): ... to here.
8307
8308 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8309
8310 * simple.el (newline): Only run post-self-insert-hook when
8311 called interactively.
8312
8313 2013-10-19 Johan Bockgård <bojohan@gnu.org>
8314
8315 * icomplete.el (icomplete-with-completion-tables): Add :version.
8316
8317 2013-10-19 Alan Mackenzie <acm@muc.de>
8318
8319 Fix fontification bugs with constructors and const.
8320
8321 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
8322 CASE 2) Remove the check for the absence of a suffix construct
8323 after a function declaration with only types (no identifiers) in
8324 the parentheses. Also, accept a function declaration with just a
8325 type inside the parentheses, if this type can be positively
8326 recognised as such, or if a prefix keyword like "explicit" nails
8327 down the construct as a declaration.
8328
8329 2013-10-19 Eli Zaretskii <eliz@gnu.org>
8330
8331 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
8332 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
8333 the problem whereby selecting a menu item that leads to a
8334 minibuffer prompt moves the cursor out of the minibuffer window,
8335 making it hard to type at the prompt. Suggested by Stefan Monnier
8336 <monnier@iro.umontreal.ca>.
8337
8338 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
8339
8340 * menu-bar.el: Don't make Services menu.
8341
8342 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8343
8344 * ffap.el: Handle "/usr/include/c++/<version>" directories.
8345 (ffap-alist): Use ffap-c++-mode for c++-mode.
8346 (ffap-c++-path): New variable.
8347 (ffap-c++-mode): New function.
8348
8349 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
8350
8351 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
8352
8353 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
8354
8355 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
8356 introduced on 2013-09-08, which results in an infinite loop
8357 requesting a password.
8358
8359 2013-10-18 Glenn Morris <rgm@gnu.org>
8360
8361 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
8362
8363 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
8364
8365 Sync with upstream verilog-mode revision 1a6ecec7.
8366 * progmodes/verilog-mode.el (verilog-mode-version): Update.
8367 (verilog-mode-release-date): Remove.
8368 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
8369 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
8370 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
8371 (verilog-auto-tieoff-ignore-regexp)
8372 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
8373 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
8374 (verilog-signals-with, verilog-dir-cache-preserving)
8375 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
8376 Doc fixes.
8377 (verilog-case-fold): New option, to control case folding in
8378 regexp searches, bug597.
8379 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
8380 (verilog-string-match-fold, verilog-in-paren-count)
8381 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
8382 (verilog-at-close-struct-p): New functions.
8383 (verilog-beg-block-re-ordered, verilog-extended-case-re)
8384 (verilog-forward-sexp, verilog-set-auto-endcomments)
8385 (verilog-leap-to-case-head): Handle "unique0" case.
8386 (verilog-in-constraint-re): New constant.
8387 (verilog-keywords, verilog-type-font-keywords):
8388 Add some SystemVerilog 1800-2012 keywords.
8389 (verilog-label-be): Remove unimplemented argument, bug669.
8390 (verilog-batch-execute-func): When batch expanding clear
8391 create-lockfiles to prevent spurious user locks when a file ends
8392 up not changing.
8393 (verilog-calculate-indent, verilog-calc-1)
8394 (verilog-at-close-constraint-p, verilog-at-constraint-p)
8395 (verilog-do-indent): Fix indentation of nested constraints
8396 and structures.
8397 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
8398 (verilog-auto-inst-param): Use verilog-string-match-fold.
8399 (verilog-read-inst-module-matcher):
8400 Fix AUTOINST on gate primitives with #1.
8401 (verilog-read-decls): Fix double-declaring user-defined typed signals.
8402 Reads all user-defined typed variables.
8403 (verilog-read-defines): Fix reading definitions inside comments, bug647.
8404 (verilog-signals-matching-regexp)
8405 (verilog-signals-not-matching-regexp, verilog-auto):
8406 Respect verilog-case-fold.
8407 (verilog-diff-report): Fix line count.
8408 (verilog-auto-assign-modport): Remove unused local `modi'.
8409 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
8410 better handle multidimensional arrays.
8411 Fix packed array ports misadding bit index in AUTOINST, bug637.
8412 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
8413 to not double-declare existing outputs and inputs, respectively.
8414 (verilog-template-map): Bind U to verilog-sk-uvm-component.
8415 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
8416 (verilog-sk-uvm-component): New skeleton.
8417 (verilog-submit-bug-report): Add verilog-case-fold,
8418 remove verilog-mode-release-date.
8419
8420 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
8421
8422 * subr.el (sit-for): Call (input-pending-p t) so as to behave
8423 as before.
8424
8425 2013-10-18 Reuben Thomas <rrt@sc3d.org>
8426
8427 * textmodes/remember.el (remember): Set buffer-offer-save in
8428 remember buffers (bug#13566).
8429
8430 2013-10-18 Daniel Colascione <dancol@dancol.org>
8431
8432 When evaluating forms in ielm, direct standard output to ielm
8433 buffer. Add new ielm-return-for-effect command. Remove trailing
8434 whitespace throughout.
8435
8436 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
8437 (ielm-return-for-effect): New command.
8438 (ielm-send-input): Accept optional `for-effect' parameter.
8439 (ielm-eval-input): Accept optional `for-effect' parameter.
8440 Bind `standard-output' to stream we create using
8441 `ielm-standard-output-impl'. Suppress printing result when
8442 `for-effect'.
8443 (ielm-standard-output-impl): New function.
8444 (inferior-emacs-lisp-mode): Explain new features in documentation.
8445
8446 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
8447
8448 Code cleanup.
8449
8450 * net/tramp.el (tramp-debug-message): Do not check for connection
8451 buffer.
8452 (tramp-message): Use "vector" connection property.
8453
8454 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
8455 (tramp-equal-remote, tramp-eshell-directory-change)
8456 * net/tramp-adb.el (tramp-adb-handle-copy-file)
8457 (tramp-adb-handle-rename-file)
8458 * net/tramp-cmds.el (tramp-list-remote-buffers)
8459 (tramp-cleanup-connection, tramp-cleanup-this-connection)
8460 * net/tramp-compat.el (tramp-compat-process-running-p)
8461 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
8462 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
8463 (tramp-gvfs-handle-rename-file)
8464 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8465 (tramp-set-file-uid-gid)
8466 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8467 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
8468 of `file-remote-p'.
8469
8470 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
8471 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8472 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
8473 (tramp-gw-open-network-stream): Suppress unrelated traces.
8474
8475 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
8476 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8477 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8478 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
8479 connection property.
8480
8481 * net/tramp-cache.el (top): Suppress traces when reading
8482 persistency file.
8483
8484 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8485 Refactor common code. Improve debug message.
8486 (tramp-maybe-open-connection)
8487 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
8488 connection buffer too early.
8489
8490 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
8491 from `tramp-smb-actions-with-acl'.
8492 (tramp-smb-actions-set-acl): New defconst.
8493 (tramp-smb-handle-copy-directory)
8494 (tramp-smb-action-get-acl): New defun, renamed from
8495 `tramp-smb-action-with-acl'.
8496 (tramp-smb-action-set-acl): New defun.
8497 (tramp-smb-handle-set-file-acl): Rewrite.
8498
8499 2013-10-17 Glenn Morris <rgm@gnu.org>
8500
8501 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
8502
8503 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8504
8505 * skeleton.el (skeleton-newline): Remove.
8506 (skeleton-internal-1): Use (insert "\n") instead.
8507
8508 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
8509 let-bindings.
8510
8511 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
8512 forward-sexp-function while we redo its job (bug#15613).
8513
8514 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
8515
8516 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
8517 represented by lists.
8518
8519 2013-10-16 Glenn Morris <rgm@gnu.org>
8520
8521 * tmm.el (tmm--history): New dynamic variable.
8522 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
8523
8524 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
8525
8526 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
8527 (tramp-smb-errors): Add error messages.
8528 (tramp-smb-actions-with-acl): New defconst.
8529 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
8530 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
8531 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
8532 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
8533 (tramp-smb-get-stat-capability): Fix tests.
8534
8535 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
8536
8537 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
8538 (bug#15580).
8539
8540 2013-10-16 Glenn Morris <rgm@gnu.org>
8541
8542 * ansi-color.el (ansi-color-drop-regexp):
8543 Add 1J, 1K, 2K. (Bug#15617)
8544
8545 * files.el (hack-local-variables--warned-lexical): New.
8546 (hack-local-variables):
8547 Warn about misplaced lexical-binding. (Bug#15616)
8548
8549 * net/eww.el (eww-render): Always set eww-current-url,
8550 and update header line. (Bug#15622)
8551 (eww-display-html): ... Rather than just doing it here.
8552
8553 2013-10-15 Eli Zaretskii <eliz@gnu.org>
8554
8555 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
8556 menu navigations commands.
8557
8558 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
8559
8560 * progmodes/subword.el (subword-capitalize): Be careful when
8561 the search for [[:alpha:]] fails (bug#15580).
8562
8563 2013-10-14 Eli Zaretskii <eliz@gnu.org>
8564
8565 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
8566 to commands that scroll the menu.
8567
8568 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
8569
8570 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
8571 Handle methods ending with `?' and `!'.
8572
8573 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
8574
8575 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8576 `japanese-cp932' to `cp932' to fix the problem where saving a
8577 source file written in Shift_JIS twice would end up having
8578 `coding: japanese-cp932' which Ruby could not recognize.
8579 (ruby-mode-set-encoding): Add support for encodings mapped to nil
8580 in `ruby-encoding-map'.
8581 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8582 doesn't need to be explicitly declared in magic comment.
8583 (ruby-encoding-map): Add type declaration for better customize UI.
8584
8585 2013-10-13 Glenn Morris <rgm@gnu.org>
8586
8587 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8588 Occur buffers are read-only. http://bugs.debian.org/720775
8589
8590 * emacs-lisp/authors.el (authors-fixed-entries):
8591 Comment out old alpha stuff.
8592
8593 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
8594
8595 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8596 to `after-save-hook' instead of `before-save-hook'.
8597 (ruby-mode-set-encoding): Use the value of coding system used to
8598 write the file. Call `basic-save-buffer-1' after modifying the
8599 buffer.
8600
8601 2013-10-13 Alan Mackenzie <acm@muc.de>
8602
8603 Fix indentation/fontification of Java enum with
8604 "implements"/generic.
8605
8606 * progmodes/cc-engine.el (c-backward-over-enum-header):
8607 Extracted from the three other places and enhanced to handle generics.
8608 (c-inside-bracelist-p): Uses new function above.
8609 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8610 function above.
8611 (c-font-lock-enum-tail): Uses new function above.
8612
8613 2013-10-13 Kenichi Handa <handa@gnu.org>
8614
8615 * international/mule-cmds.el (select-safe-coding-system): Remove a
8616 superfluous condition in chekcing whether a coding system is safe
8617 or not.
8618
8619 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
8620
8621 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
8622
8623 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
8624
8625 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
8626
8627 2013-10-13 Glenn Morris <rgm@gnu.org>
8628
8629 * menu-bar.el (menu-bar-update-buffers):
8630 Unify Buffers menu prompt string. (Bug#15576)
8631
8632 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
8633
8634 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8635 Add some entries.
8636 (authors-fixed-entries): Use accented form of name.
8637
8638 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8639
8640 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8641 method calls (bug#15594).
8642 (ruby-smie--args-separator-p): New function.
8643 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8644 recognize paren-free method calls.
8645
8646 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8647 internals of universal-argument.
8648
8649 2013-10-11 Eli Zaretskii <eliz@gnu.org>
8650
8651 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8652 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8653 dropped menu on second mouse click on the menu bar.
8654
8655 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8656
8657 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8658 (explicit-shell-file-name): Declare.
8659 (sh--vars-before-point, sh--cmd-completion-table): New functions.
8660 (sh-completion-at-point-function): New function.
8661 (sh-mode): Use it.
8662 (sh-smie--keyword-p): Remove unused argument.
8663 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8664 vars.
8665 (sh-set-shell): Always setup SMIE, even if we use the
8666 old indentation code.
8667
8668 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
8669
8670 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8671 cases of ? and =.
8672 (ruby-smie-rules): Simplify the "do" rule. The cases when the
8673 predicate would return nil are almost non-existent.
8674 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8675
8676 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8677 cache also after commands that modify the buffer but don't move
8678 point.
8679
8680 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8681
8682 * env.el (substitute-env-in-file-name): New function.
8683 (substitute-env-vars): Extend the meaning of the optional arg.
8684
8685 2013-10-10 Eli Zaretskii <eliz@gnu.org>
8686
8687 * term/w32-win.el (dynamic-library-alist): Define separate lists
8688 of GIF DLLs for versions before and after 5.0.0 of giflib.
8689 (Bug#15531)
8690
8691 2013-10-10 João Távora <joaotavora@gmail.com>
8692
8693 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8694 not locked, use last revision and current source as
8695 defaults. (Bug#15569)
8696
8697 2013-10-10 Masatake YAMATO <yamato@redhat.com>
8698
8699 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8700 menu-bar is hidden.
8701
8702 2013-10-10 Martin Rudalics <rudalics@gmx.at>
8703
8704 * window.el (pop-to-buffer-same-window): Fix doc-string.
8705 (Bug#15492)
8706
8707 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8708
8709 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8710
8711 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8712
8713 * calendar/icalendar.el (icalendar-import-file):
8714 Fix interactive spec. (Bug#15482)
8715
8716 2013-10-10 Glenn Morris <rgm@gnu.org>
8717
8718 * desktop.el (desktop-save): Default to saving in .emacs.d,
8719 since PWD is no longer in desktop-path by default. (Bug#15319)
8720
8721 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8722 now that text mode has a menu with the same entry.
8723 (menu-bar-text-mode-auto-fill): Remove now unused func.
8724 * textmodes/text-mode.el (text-mode-map):
8725 Use auto-fill help text from menu-bar.el.
8726
8727 2013-10-10 John Anthony <john@jo.hnanthony.com>
8728
8729 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8730
8731 2013-10-09 Juri Linkov <juri@jurta.org>
8732
8733 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8734 instead of this-command-keys. Add universal-argument-more and
8735 universal-argument-minus to the list of prefix commands. (Bug#15568)
8736
8737 2013-10-09 Glenn Morris <rgm@gnu.org>
8738
8739 * vc/vc-svn.el (vc-svn-create-repo):
8740 Expand paths in file://... url. (Bug#15446)
8741
8742 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8743 Add some entries.
8744 (authors): Remove unused local variables.
8745
8746 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8747
8748 * profiler.el: Create a more coherent calltree from partial backtraces.
8749 (profiler-format): Hide the tail with `invisible' so that C-s can still
8750 find the hidden elements.
8751 (profiler-calltree-depth): Don't recurse so enthusiastically.
8752 (profiler-function-equal): New hash-table-test.
8753 (profiler-calltree-build-unified): New function.
8754 (profiler-calltree-build): Use it.
8755 (profiler-report-make-name-part): Indent the calltree less.
8756 (profiler-report-mode): Add visibility specs for profiler-format.
8757 (profiler-report-expand-entry, profiler-report-toggle-entry):
8758 Expand the whole subtree when provided with a prefix arg.
8759
8760 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8761
8762 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8763 iuwu-mod token.
8764 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8765 hanging iuwu-mod token.
8766 (ruby-smie--forward-token): Do not include a dot after a token in
8767 that token.
8768 (ruby-smie--backward-token): Likewise.
8769
8770 2013-10-08 Juri Linkov <juri@jurta.org>
8771
8772 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8773 to isearch-other-control-char.
8774 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8775 and isearch-post-command-hook to post-command-hook.
8776 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8777 and isearch-post-command-hook from post-command-hook.
8778 (isearch-unread-key-sequence)
8779 (isearch-reread-key-sequence-naturally)
8780 (isearch-lookup-scroll-key, isearch-other-control-char)
8781 (isearch-other-meta-char): Remove functions.
8782 (isearch-pre-command-hook, isearch-post-command-hook):
8783 New functions based on isearch-other-meta-char rewritten
8784 relying on the new behavior of overriding-terminal-local-map
8785 that does not replace the local keymaps any more. (Bug#15200)
8786
8787 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8788
8789 Support menus on text-mode terminals.
8790 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8791 functionality.
8792
8793 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8794
8795 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8796 Move here from mouse.el.
8797 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8798 and arrow keys.
8799 (tty-menu-navigation-map): New map for TTY menu navigation.
8800
8801 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8802
8803 * frame.el (display-mouse-p): Report text-mode mouse as available
8804 on w32.
8805 (display-popup-menus-p): Report availability if mouse is
8806 available; don't condition on window-system.
8807
8808 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8809 (tty-menu-selected-face): New faces.
8810
8811 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8812
8813 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8814 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8815 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8816 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8817 New constants.
8818 (lisp-mode-variables): New `elisp' argument.
8819 (emacs-lisp-mode): Use it.
8820 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8821 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8822
8823 * indent.el: Use lexical-binding.
8824 (indent-region): Add progress reporter.
8825 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8826 last step.
8827 (indent--next-tab-stop): New function to implement this behavior.
8828 (tab-to-tab-stop, move-to-tab-stop): Use it.
8829
8830 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8831
8832 * indent.el (indent-rigidly--current-indentation): New function.
8833 (indent-rigidly-map): New var.
8834 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8835
8836 2013-10-08 Bastien Guerry <bzg@gnu.org>
8837
8838 * register.el (insert-register): Fix 2013-10-07 change.
8839
8840 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8841
8842 * progmodes/perl-mode.el: Use lexical-binding.
8843 Remove redundant :group args.
8844 (perl-nochange): Change default to be closer to other major modes's
8845 standard behavior.
8846 (perl-indent-line): Don't consider text on current line as a
8847 valid beginning of function from which to indent.
8848
8849 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8850 with more than one argument (bug#15538).
8851
8852 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8853
8854 * vc/pcvs.el: Use lexical-binding.
8855 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8856 environment of `eval'.
8857 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8858 than a list of expressions. Adjust callers.
8859 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8860
8861 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8862
8863 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8864 case of the dot in a chained method call being on the following line.
8865
8866 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8867
8868 * electric.el (electric-indent-inhibit): New var.
8869 (electric-indent-post-self-insert-function): Use it.
8870 * progmodes/python.el (python-mode): Set it.
8871
8872 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8873 open braces.
8874
8875 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8876
8877 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8878 (css-mode): Use electric-indent-chars.
8879
8880 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8881 (font-lock-beg, font-lock-end): Move before first use.
8882 (nxml-mode): Use syntax-propertize-function.
8883 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8884 (nxml-extend-after-change-region): Remove.
8885 * nxml/xmltok.el: Use lexical-binding.
8886 (xmltok-save): Use `declare'.
8887 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8888 * nxml/nxml-util.el: Use lexical-binding.
8889 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8890 Use `declare'.
8891 * nxml/nxml-ns.el: Use lexical-binding.
8892 (nxml-ns-save): Use `declare'.
8893 (nxml-ns-prefixes-for): Avoid add-to-list.
8894 * nxml/rng-match.el: Use lexical-binding.
8895 (rng--ipattern): Use cl-defstruct.
8896 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8897 (rng-cons-group-after, rng-subst-group-after)
8898 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8899 Use closures instead of `(lambda...).
8900
8901 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8902
8903 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8904 of BEG and END.
8905
8906 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8907 Use `tramp-handle-insert-file-contents'.
8908 (tramp-gvfs-handle-insert-file-contents): Remove function.
8909
8910 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8911 Use `save-restriction' in order to keep markers.
8912
8913 * net/trampver.el: Update release number.
8914
8915 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8916
8917 * progmodes/compile.el (compilation-parse-errors):
8918 Use compilation--put-prop.
8919 (compilation--ensure-parse): Check compilation-multiline.
8920
8921 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8922
8923 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8924 lexical-binding.
8925
8926 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8927
8928 * progmodes/ruby-mode.el: Fix recently added tests.
8929 (ruby-smie-grammar): Add - and +.
8930 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8931 (ruby-smie--backward-id): New functions.
8932 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8933 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8934 any more.
8935
8936 2013-10-07 Leo Liu <sdl.web@gmail.com>
8937
8938 * register.el (register-preview-delay)
8939 (register-preview-functions): New variables.
8940 (register-read-with-preview, register-preview)
8941 (register-describe-oneline): New functions.
8942 (point-to-register, window-configuration-to-register)
8943 (frame-configuration-to-register, jump-to-register)
8944 (number-to-register, view-register, insert-register)
8945 (copy-to-register, append-to-register, prepend-to-register)
8946 (copy-rectangle-to-register): Use register-read-with-preview to
8947 read register. (Bug#15525)
8948
8949 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8950
8951 * net/network-stream.el (network-stream-open-starttls): Don't add
8952 --insecure if it's already present, because that gnutls-cli
8953 rejects getting that parameter twice.
8954
8955 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8956
8957 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8958 keyword, too.
8959
8960 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8961
8962 * newcomment.el (comment-use-global-state): Change default value
8963 to t, mark obsolete (Bug#15251).
8964 (comment-beginning): In addition to `comment-to-syntax', check the
8965 value of `comment-use-global-state'.
8966
8967 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8968
8969 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8970 (ruby-comment-column): Follow the global default, by default.
8971 (ruby-smie-grammar): Add assignment syntax.
8972 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8973 open-paren, a comma, or a \.
8974 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8975 and line continuations.
8976 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8977 followed by implicit semi-colons. Add rule for string concatenation
8978 and for indentation at BOB.
8979 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8980
8981 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8982 calling next-sexp, since next-token may have skipped chars which
8983 next-sexp doesn't know should be skipped!
8984
8985 2013-10-05 Leo Liu <sdl.web@gmail.com>
8986
8987 * progmodes/octave.el (octave-send-region):
8988 Call compilation-forget-errors.
8989
8990 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8991
8992 * vc/vc-svn.el (vc-svn-find-admin-dir):
8993 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8994 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8995 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8996 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8997
8998 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8999
9000 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
9001
9002 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
9003
9004 * subr.el (read-passwd): Hide chars even when called within a context
9005 where after-change-functions is disabled (bug#15501).
9006 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
9007 until we removed ourself from overriding-terminal-local-map.
9008
9009 2013-10-04 Leo Liu <sdl.web@gmail.com>
9010
9011 * progmodes/octave.el (inferior-octave-mode):
9012 Call compilation-forget-errors.
9013
9014 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
9015
9016 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
9017
9018 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
9019
9020 * net/secrets.el (secrets-create-collection): Add optional
9021 argument ALIAS. Use proper Label keyword. Append ALIAS as
9022 dbus-call-method argument. (Bug#15516)
9023
9024 2013-10-04 Leo Liu <sdl.web@gmail.com>
9025
9026 * progmodes/octave.el (inferior-octave-error-regexp-alist)
9027 (inferior-octave-compilation-font-lock-keywords): New variables.
9028 (compilation-error-regexp-alist)
9029 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
9030 (inferior-octave-mode): Use compilation-shell-minor-mode.
9031
9032 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
9033
9034 * minibuffer.el (completion--replace): Be careful that `end' might be
9035 a marker.
9036
9037 2013-10-03 Daiki Ueno <ueno@gnu.org>
9038
9039 Add support for package signature checking.
9040 * emacs-lisp/package.el (url-http-file-exists-p)
9041 (epg-make-context, epg-context-set-home-directory)
9042 (epg-verify-string, epg-context-result-for)
9043 (epg-signature-status, epg-signature-to-string)
9044 (epg-check-configuration, epg-configuration)
9045 (epg-import-keys-from-file): Declare.
9046 (package-check-signature): New user option.
9047 (package-unsigned-archives): New user option.
9048 (package-desc): Add `signed' field.
9049 (package-load-descriptor): Set `signed' field if .signed file exists.
9050 (package--archive-file-exists-p): New function.
9051 (package--check-signature): New function.
9052 (package-install-from-archive): Check package signature.
9053 (package--download-one-archive): Check archive signature.
9054 (package-delete): Remove .signed file.
9055 (package-import-keyring): New command.
9056 (package-refresh-contents): Import default keyring.
9057 (package-desc-status): Add "unsigned" status.
9058 (describe-package-1, package-menu--print-info)
9059 (package-menu-mark-delete, package-menu--find-upgrades)
9060 (package-menu--status-predicate): Support "unsigned" status.
9061
9062 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9063
9064 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
9065 the new compilation scheme using the new byte-codes.
9066
9067 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
9068 (byte-pophandler): New byte codes.
9069 (byte-goto-ops): Adjust accordingly.
9070 (byte-compile--use-old-handlers): New var.
9071 (byte-compile-catch): Use new byte codes depending on
9072 byte-compile--use-old-handlers.
9073 (byte-compile-condition-case--old): Rename from
9074 byte-compile-condition-case.
9075 (byte-compile-condition-case--new): New function.
9076 (byte-compile-condition-case): New function that dispatches depending
9077 on byte-compile--use-old-handlers.
9078 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
9079 when we can.
9080
9081 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
9082 Optimize under `condition-case' and `catch' if
9083 byte-compile--use-old-handlers is nil.
9084 (disassemble-offset): Handle new bytecodes.
9085
9086 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9087
9088 * subr.el (error): Use `declare'.
9089 (decode-char, encode-char): Use advertised-calling-convention instead
9090 of the docstring to discourage use of the `restriction' arg.
9091
9092 2013-10-03 Daiki Ueno <ueno@gnu.org>
9093
9094 * epg.el (epg-verify-file): Add a comment saying that it does not
9095 notify verification error as a return value nor a signal.
9096 (epg-verify-string): Ditto.
9097
9098 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
9099
9100 * progmodes/compile.el (compilation-start): Try globbing the arg to
9101 `cd' (bug#15417).
9102
9103 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
9104
9105 Sync with Tramp 2.2.8.
9106
9107 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
9108 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
9109 * net/trampver.el: Update release number.
9110
9111 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
9112
9113 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
9114 and default-process-coding-system for darwin only.
9115
9116 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
9117
9118 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
9119
9120 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
9121
9122 * vc/vc-git.el (vc-git-grep): Disable pager.
9123
9124 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
9125
9126 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
9127 Use :url instead of :homepage, as per
9128 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
9129
9130 * newcomment.el (comment-beginning): When `comment-use-syntax' is
9131 non-nil, use `syntax-ppss' (Bug#15251).
9132
9133 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9134
9135 * progmodes/octave.el (inferior-octave-startup-file):
9136 Prefer ~/.emacs.d/init_octave.m.
9137
9138 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
9139
9140 * emacs-lisp/package.el (package-desc-from-define):
9141 Accept additional arguments as plist, convert them to an alist and store
9142 them in the `extras' slot.
9143 (package-generate-description-file): Convert extras alist back to
9144 plist and append to the `define-package' form arguments.
9145 (package--alist-to-plist): New function.
9146 (package--ac-desc): Add `extras' slot.
9147 (package--add-to-archive-contents): Check if the archive-contents
9148 vector is long enough, and if it is, pass its `extras' slot value
9149 to `package-desc-create'.
9150 (package-buffer-info): Call `lm-homepage', pass the returned value
9151 to `package-desc-from-define'.
9152 (describe-package-1): Render the homepage button (Bug#13291).
9153
9154 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9155 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
9156
9157 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
9158
9159 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
9160 and default-process-coding-system to utf-8-unix (Bug#15402).
9161
9162 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
9163
9164 * subr.el (looking-back): Do not recommend using looking-back.
9165
9166 2013-09-28 Alan Mackenzie <acm@muc.de>
9167
9168 Fix indentation/fontification of Java enum with "implements".
9169
9170 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
9171 regexp which matches "implements", etc., in Java.
9172 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
9173 specifier clauses coming after "enum".
9174 * progmodes/cc-fonts.el (c-font-lock-declarations)
9175 (c-font-lock-enum-tail): Check for extra specifier clauses coming
9176 after "enum".
9177
9178 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
9179
9180 * faces.el (region): Change ns_selection_color to
9181 ns_selection_fg_color, add ns_selection_bg_color.
9182
9183 2013-09-28 Leo Liu <sdl.web@gmail.com>
9184
9185 * progmodes/octave.el (inferior-octave-completion-table)
9186 (inferior-octave-completion-at-point): Minor tweaks.
9187
9188 * textmodes/ispell.el (ispell-lookup-words): Rename from
9189 lookup-words. (Bug#15460)
9190 (lookup-words): Obsolete.
9191 (ispell-complete-word, ispell-command-loop): All uses changed.
9192
9193 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9194
9195 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
9196 (octave-mode-menu): Add octave-send-buffer.
9197 (octave-send-buffer): New function.
9198
9199 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9200
9201 * progmodes/octave.el (octave-mode-map): Add key binding for
9202 octave-lookfor.
9203 (octave-mode-menu): Add octave-lookfor.
9204 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
9205 octave-lookfor.
9206 (octave-lookfor): New function.
9207
9208 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9209
9210 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
9211 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
9212 its convention.
9213 (cl--loop-set-iterator-function): New function.
9214 (cl-loop): Adjust accordingly, so as not to use cl-subst.
9215 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
9216 Bind `it' with `let' instead of substituting it with `cl-subst'.
9217 (cl--unused-var-p): New function.
9218 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
9219 Eliminate some unused variable warnings (bug#15326).
9220
9221 2013-09-27 Tassilo Horn <tsdh@gnu.org>
9222
9223 * doc-view.el (doc-view-scale-reset): Rename from
9224 `doc-view-reset-zoom-level'.
9225 (doc-view-scale-adjust): New command.
9226 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
9227 `doc-view-scale-adjust'.
9228
9229 2013-09-26 Tassilo Horn <tsdh@gnu.org>
9230
9231 * doc-view.el (doc-view-reset-zoom-level): New command.
9232 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
9233 zoom commands (bug#15466).
9234
9235 2013-09-26 Kenichi Handa <handa@gnu.org>
9236
9237 * international/quail.el (quail-help): Make it not a command.
9238
9239 2013-09-26 Leo Liu <sdl.web@gmail.com>
9240
9241 * minibuffer.el (completion-all-sorted-completions): Make args
9242 optional as they are.
9243
9244 2013-09-25 Daniel Colascione <dancol@dancol.org>
9245
9246 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
9247 specs are and that they're not evaluated.
9248
9249 2013-09-24 Sam Steingold <sds@gnu.org>
9250
9251 * midnight.el (clean-buffer-list-kill-regexps)
9252 (clean-buffer-list-kill-buffer-names): Update for the new Man
9253 buffer naming which includes the object name.
9254
9255 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9256
9257 * eshell/esh-cmd.el (eshell--sep-terms): New var.
9258 (eshell-parse-command, eshell-parse-pipeline): Use it since
9259 eshell-separate-commands requires a dynamic scoped var.
9260 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
9261
9262 2013-09-23 Leo Liu <sdl.web@gmail.com>
9263
9264 * autoinsert.el (auto-insert-alist): Make the value of
9265 lexical-binding match its file setting.
9266
9267 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
9268
9269 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
9270
9271 * autoarg.el (autoarg-kp-digit-argument):
9272 * electric.el (Electric-command-loop):
9273 * kmacro.el (kmacro-step-edit-insert):
9274 Do not set universal-argument-num-events.
9275
9276 2013-09-22 Leo Liu <sdl.web@gmail.com>
9277
9278 * files.el (interpreter-mode-alist): Add octave.
9279
9280 2013-09-21 Alan Mackenzie <acm@muc.de>
9281
9282 C++: fontify identifier in declaration following "public:" correctly.
9283 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
9284 to match "public", etc.
9285 (c-decl-prefix-re): Add ":" into the C++ value.
9286 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
9287 bit. Add a check for a ":" preceded by "public", etc.
9288
9289 2013-09-21 Eli Zaretskii <eliz@gnu.org>
9290
9291 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
9292 recognized by GDB 7.5 and later.
9293
9294 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
9295
9296 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
9297
9298 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9299
9300 * subr.el (internal--call-interactively): New const.
9301 (called-interactively-p): Use it (bug#3984).
9302
9303 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
9304
9305 * vc/pcvs.el (cvs-mode-ignore):
9306 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
9307 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
9308
9309 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9310
9311 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
9312 (eshell-ls-orig-insert-directory): Remove.
9313 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
9314 (eshell-ls-use-in-dired): Use advice-add/remove.
9315 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
9316 Add `orig-fun' arg for use in :around advice.
9317 Make it check (redundantly) eshell-ls-use-in-dired.
9318
9319 2013-09-19 Glenn Morris <rgm@gnu.org>
9320
9321 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
9322
9323 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
9324
9325 * emacs-lisp/eieio.el (class-parent): Undo previous change.
9326
9327 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
9328
9329 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
9330 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
9331 (tramp-get-remote-python): New defuns.
9332 (tramp-get-remote-uid-with-perl)
9333 (tramp-get-remote-gid-with-perl): New defuns. Perl code
9334 contributed by yary <not.com@gmail.com> (tiny change).
9335 (tramp-get-remote-uid-with-python)
9336 (tramp-get-remote-gid-with-python): New defuns. Python code
9337 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
9338 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
9339
9340 2013-09-19 Glenn Morris <rgm@gnu.org>
9341
9342 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
9343
9344 * eshell/em-unix.el (eshell-remove-entries):
9345 Rename argument to avoid name-clash with global `top-level'.
9346
9347 * eshell/esh-proc.el (eshell-kill-process-function):
9348 Remove eshell-reset-after-proc from eshell-kill-hook if present.
9349 (eshell-reset-after-proc): Remove unused arg `proc'.
9350
9351 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
9352 (directory-files-and-attributes): Mark unused arg.
9353
9354 * eshell/em-unix.el (eshell-remove-entries):
9355 Remove unused arg `path'. Update callers.
9356
9357 * eshell/em-hist.el (eshell-hist-parse-arguments):
9358 Remove unused arg `silent'. Update callers.
9359
9360 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
9361 Fix (f)boundp mix-up.
9362
9363 * eshell/em-smart.el (eshell-smart-scroll-window)
9364 (eshell-disable-after-change):
9365 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
9366
9367 2013-09-18 Alan Mackenzie <acm@muc.de>
9368
9369 Fix fontification of type when followed by "const".
9370 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
9371 "known" types from fontification.
9372
9373 2013-09-18 Glenn Morris <rgm@gnu.org>
9374
9375 * emacs-lisp/chart.el (x-display-color-cells): Declare.
9376 (chart-face-list): Drop Emacsen without display-color-p.
9377
9378 * net/eww.el (libxml-parse-html-region): Declare.
9379 (eww-display-html): Explicit error if no libxml2 support.
9380
9381 * doc-view.el (doc-view-mode): Silence --without-x compilation.
9382
9383 * image.el (image-type-from-buffer, image-multi-frame-p):
9384 Remove --without-x warning/error.
9385
9386 * mouse.el (mouse-yank-primary):
9387 * term.el (term-mouse-paste):
9388 Reorder to silence --without-x compilation.
9389
9390 * mpc.el (doc-view-mode): Silence --without-x compilation.
9391
9392 * mail/rmailmm.el (rmail-mime-set-bulk-data):
9393 Silence --without-x compilation.
9394
9395 * progmodes/gud.el (gud-find-file, gud-mode):
9396 Silence --without-x compilation.
9397 (tooltip-mode): Declare.
9398
9399 * wdired.el (dired-backup-overwrite): Remove declaration.
9400 (wdired-mode-map): Add doc string.
9401
9402 * custom.el (x-get-resource): Declare.
9403
9404 * eshell/em-glob.el (ange-cache):
9405 * eshell/em-unix.el (ange-cache): Declare.
9406
9407 * faces.el (x-display-list, x-open-connection, x-get-resource):
9408 Declare.
9409
9410 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
9411 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
9412 Declare.
9413
9414 * frame.el (x-display-grayscale-p, x-display-name): Declare.
9415
9416 * net/gnutls.el (gnutls-log-level): Declare.
9417
9418 * net/shr.el (image-size, image-animate): Declare.
9419
9420 * simple.el (font-info): Declare.
9421
9422 * subr.el (x-popup-dialog): Declare.
9423
9424 * term/common-win.el (x-select-enable-primary)
9425 (x-last-selected-text-primary, x-last-selected-text-clipboard):
9426 Declare.
9427
9428 * term/ns-win.el (x-handle-args): Declare.
9429
9430 * term/x-win.el (x-select-enable-clipboard): Declare.
9431
9432 * term/w32-win.el (create-default-fontset): Declare.
9433
9434 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
9435 Declare.
9436
9437 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
9438 (fit-frame-to-buffer): Explicit error if --without-x.
9439 (mouse-autoselect-window-select): Silence compiler.
9440
9441 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9442
9443 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
9444 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
9445 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
9446 * eshell/esh-util.el (eshell-sublist):
9447 Remove unused local variables.
9448
9449 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
9450
9451 * textmodes/two-column.el: Make 2C-split work for --without-x.
9452 (scroll-bar-columns): Autoload.
9453 (top-level): Require fringe when compiling.
9454
9455 2013-09-18 Leo Liu <sdl.web@gmail.com>
9456
9457 * subr.el (add-hook): Robustify to handle closure as well.
9458
9459 2013-09-17 Glenn Morris <rgm@gnu.org>
9460
9461 * simple.el (messages-buffer-mode-map): Unbind "g".
9462
9463 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9464
9465 * help-mode.el (help-mode-finish): Use derived-mode-p.
9466 Remove obsolete highlighting.
9467
9468 * play/life.el (life-mode): Use define-derived-mode. Derive from
9469 special-mode.
9470 (life): Let-bind inhibit-read-only.
9471 (life-setup): Avoid `setq'. Use `life-mode'.
9472
9473 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
9474 which should not be needed any more.
9475 (package-menu-refresh, package-menu-describe-package): Use user-error.
9476
9477 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
9478 (eshell-post-rewrite-command-hook): Make obsolete.
9479 (eshell-parse-command): Simplify.
9480 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
9481 (eshell--cmd): Declare.
9482 (eshell-parse-pipeline): Remove unused var `final-p'.
9483 Pass a dynvar to eshell-post-rewrite-command-hook.
9484 Implement the new eshell-post-rewrite-command-function.
9485 (eshell-invoke-directly): Remove unused arg `input'.
9486 * eshell/esh-io.el (eshell-io-initialize):
9487 Use eshell-post-rewrite-command-function (bug#15399).
9488 (eshell--apply-redirections): Rename from eshell-apply-redirections;
9489 adjust to new calling convention.
9490 (eshell-create-handles): Rename args to avoid clashing with dynvar
9491 `standard-output'.
9492
9493 2013-09-17 Glenn Morris <rgm@gnu.org>
9494
9495 * simple.el (messages-buffer-mode): New major mode.
9496 (messages-buffer): New function.
9497 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
9498 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
9499 (ert-run-test): Use `messages-buffer' function.
9500 (ert--force-message-log-buffer-truncation): Ignore read-only.
9501 * help.el (view-echo-area-messages): Use `messages-buffer' function.
9502 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
9503
9504 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9505
9506 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
9507
9508 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
9509
9510 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9511
9512 * icomplete.el (icomplete-in-buffer): New var.
9513 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
9514 vars and replace them with functions.
9515 (icomplete-minibuffer-setup): Adjust accordingly.
9516 (icomplete--completion-table, icomplete--completion-predicate)
9517 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
9518 New functions.
9519 (icomplete-forward-completions, icomplete-backward-completions)
9520 (icomplete-simple-completing-p, icomplete-exhibit)
9521 (icomplete-completions): Use them.
9522 (icomplete--in-region-buffer): New var.
9523 (icomplete--in-region-setup): New function.
9524 (icomplete-mode): Use it.
9525
9526 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
9527 (bug#15379).
9528 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
9529 return args and options.
9530 (eshell-eval-using-options): Use the new return value of
9531 eshell--do-opts to set the options's vars in their scope.
9532 (eshell--set-option): Rename from eshell-set-option.
9533 Add arg `opt-vals'.
9534 (eshell--process-option): Rename from eshell-process-option.
9535 Add arg `opt-vals'.
9536 (eshell--process-args): Use an `opt-vals' alist to store the options's
9537 values during their processing and return them additionally to the
9538 remaining args.
9539
9540 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
9541
9542 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
9543 continuation character an operator, as far as indentation is
9544 concerned (Bug#15369).
9545
9546 2013-09-15 Martin Rudalics <rudalics@gmx.at>
9547
9548 * window.el (window--state-put-2): Don't process buffer state
9549 when buffer doesn't exist any more (Bug#15382).
9550
9551 2013-09-15 Glenn Morris <rgm@gnu.org>
9552
9553 * eshell/em-unix.el (eshell/rm):
9554 Make -f ignore missing files. (Bug#15373)
9555
9556 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
9557 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
9558 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
9559
9560 2013-09-14 Glenn Morris <rgm@gnu.org>
9561
9562 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
9563
9564 2013-09-13 Glenn Morris <rgm@gnu.org>
9565
9566 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
9567 (dired-guess-default): Make `file' available in the env. (Bug#15363)
9568
9569 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
9570
9571 * frame.el (x-focus-frame): Mark as declared in frame.c.
9572
9573 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9574
9575 * ls-lisp.el: Use advice-add.
9576 (original-insert-directory): Remove.
9577 (ls-lisp--insert-directory): Rename from insert-directory; add
9578 `orig-fun' argument.
9579 (insert-directory): Advise.
9580
9581 2013-09-13 Eli Zaretskii <eliz@gnu.org>
9582
9583 * term.el (term-emulate-terminal): Decode the command string
9584 before passing it to term-command-hook. (Bug#15337)
9585
9586 2013-09-13 Glenn Morris <rgm@gnu.org>
9587
9588 * eshell/esh-util.el (ange-cache): Move declaration earlier.
9589
9590 * eshell/esh-ext.el (eshell-search-path): Declare.
9591
9592 * eshell/em-prompt.el (eshell/pwd): Autoload it.
9593 Otherwise an error occurs if eshell-dirs module not loaded.
9594
9595 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9596
9597 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
9598
9599 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9600 `tramp-check-proper-host'. Check for a valid method name.
9601
9602 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9603 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9604 * net/tramp-sh.el (tramp-maybe-open-connection):
9605 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9606
9607 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9608 also for hash values.
9609
9610 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9611
9612 * term/ns-win.el (parameters): Don't declare as dynamic.
9613 (before-make-frame-hook): Don't add ineffective function.
9614
9615 * eshell/*.el: Use lexical-binding (bug#15231).
9616
9617 2013-09-12 Kenichi Handa <handa@gnu.org>
9618
9619 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9620
9621 2013-09-12 Glenn Morris <rgm@gnu.org>
9622
9623 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9624 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9625
9626 * subr.el (do-after-load-evaluation): Also give compiler warnings
9627 when obsolete files are used (except by obsolete files).
9628
9629 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9630 in the status output, assume `filename' is the first. (Bug#15322)
9631
9632 * vc/vc.el (vc-deduce-fileset): Doc fix.
9633
9634 * calc/calc-help.el (Info-goto-node):
9635 * progmodes/cperl-mode.el (Info-find-node):
9636 * vc/ediff.el (Info-goto-node): Update declarations.
9637
9638 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9639
9640 * vc/vc-bzr.el (vc-compilation-mode): Declare.
9641 (vc-bzr-pull): Require vc-dispatcher.
9642 * vc/vc-git.el (vc-compilation-mode): Declare.
9643 (vc-git-pull): Require vc-dispatcher.
9644
9645 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9646
9647 * progmodes/octave.el (help-button-action): Declare.
9648
9649 * shell.el (shell-directory-tracker): Output error as a message
9650 rather than just returning it as a string.
9651 (shell-process-pushd): Remove useless use of message.
9652
9653 * dframe.el (dframe-timer-fn):
9654 * files.el (dir-locals-read-from-file):
9655 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9656 (mpc-format):
9657 * reveal.el (reveal-post-command):
9658 * saveplace.el (load-save-place-alist-from-file):
9659 * shell.el (shell-resync-dirs):
9660 * w32-common-fns.el (x-get-selection-value):
9661 * emacs-lisp/copyright.el (copyright-find-copyright):
9662 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9663 * emulation/tpu-edt.el (tpu-copy-keyfile):
9664 * play/bubbles.el (bubbles--mark-neighbourhood):
9665 * progmodes/executable.el
9666 (executable-make-buffer-file-executable-if-script-p):
9667 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9668
9669 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9670
9671 Cleanup Eshell to rely less on dynamic scoping.
9672 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9673 last-value, and ext-command here. Bind `args' closer to `body'.
9674 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9675 (eshell--args): Declare new dynamic var.
9676 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
9677 last-value, and ext-command. Pass `args' to `body'.
9678 (eshell-process-args): Bind eshell--args.
9679 (eshell-set-option): Use eshell--args.
9680 * eshell/eshell.el (eshell): Use derived-mode-p.
9681 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9682 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9683 (eshell-glob-function): Declare.
9684 * eshell/esh-util.el: Require cl-lib.
9685 (eshell-read-hosts-file): Avoid add-to-list.
9686 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9687 `err'.
9688 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9689 Declare.
9690 (eshell/diff): Remove unused var `err'.
9691 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9692 `killflag'.
9693 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9694 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9695 first use.
9696 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9697 Move declaration before first use.
9698 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9699 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9700 rely on cl-return.
9701
9702 2013-09-12 Glenn Morris <rgm@gnu.org>
9703
9704 * term/ns-win.el (global-map): Remove binding for ispell-next,
9705 deleted 1999-05-29. (Bug#15357)
9706
9707 2013-09-11 Glenn Morris <rgm@gnu.org>
9708
9709 * echistory.el (electric-command-history): Remove call to deleted func.
9710
9711 * play/landmark.el (landmark-mode): Fix typos.
9712
9713 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9714 Check cvs-sort-ignore-file is bound.
9715
9716 * savehist.el: No need for cl when compiling on Emacs.
9717
9718 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9719
9720 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9721 (bug#15338).
9722 (eshell-self-insert-command, eshell-send-invisible):
9723 Remove unused argument.
9724 (eshell-handle-control-codes): Remove unused var `orig'.
9725 Avoid delete-backward-char.
9726
9727 * files.el (set-auto-mode): Simplify a bit further.
9728
9729 2013-09-11 Glenn Morris <rgm@gnu.org>
9730
9731 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9732 (set-auto-mode): Don't regexp-quote elements.
9733 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9734 * progmodes/cc-mode.el (interpreter-mode-alist):
9735 * progmodes/ruby-mode.el (interpreter-mode-alist):
9736 Revert previous change.
9737
9738 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9739
9740 * play/snake.el (snake-mode):
9741 * play/mpuz.el (mpuz-mode):
9742 * play/landmark.el (lm-mode):
9743 * play/blackbox.el (blackbox-mode):
9744 * play/5x5.el (5x5-mode):
9745 * obsolete/options.el (Edit-options-mode):
9746 * net/quickurl.el (quickurl-list-mode):
9747 * net/newst-treeview.el (newsticker-treeview-mode):
9748 * mail/rmailsum.el (rmail-summary-mode):
9749 * mail/mspools.el (mspools-mode):
9750 * locate.el (locate-mode):
9751 * ibuffer.el (ibuffer-mode):
9752 * emulation/ws-mode.el (wordstar-mode):
9753 * emacs-lisp/debug.el (debugger-mode):
9754 * array.el (array-mode):
9755 * net/eudc.el (eudc-mode): Use define-derived-mode.
9756 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9757 Move initialization into declaration.
9758 (mairix-searches-mode): Use define-derived-mode.
9759 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9760 (eudc-edit-hotlist): Use dolist.
9761 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9762 (Man-mode): Use define-derived-mode.
9763 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9764 (Info-edit-mode): Use define-derived-mode.
9765 (Info-cease-edit): Use Info-mode.
9766 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9767 into declaration.
9768 (eshell-mode): Use define-derived-mode.
9769 * chistory.el (command-history-mode-map): Rename from
9770 command-history-map.
9771 (command-history-mode): Use define-derived-mode.
9772 (Command-history-setup): Remove function.
9773 * calc/calc.el (calc-trail-mode-map): New var.
9774 (calc-trail-mode): Use define-derived-mode.
9775 (calc-trail-buffer): Set calc-main-buffer manually.
9776 * bookmark.el (bookmark-insert-annotation): New function.
9777 (bookmark-edit-annotation): Use it.
9778 (bookmark-edit-annotation-mode): Make it a proper major mode.
9779 (bookmark-send-edited-annotation): Use derived-mode-p.
9780 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9781 closer to its ideal place. Use \' to match EOS.
9782
9783 * profiler.el (profiler-calltree-find): Use function-equal.
9784
9785 2013-09-10 Glenn Morris <rgm@gnu.org>
9786
9787 * files.el (interpreter-mode-alist): Convert to regexps.
9788 (set-auto-mode): Adapt for this. (Bug#15306)
9789 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9790 Comment out unused variable.
9791 * progmodes/cc-mode.el (interpreter-mode-alist):
9792 * progmodes/python.el (interpreter-mode-alist):
9793 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9794 * progmodes/sh-script.el (sh-set-shell):
9795 No longer use interpreter-mode-alist to get list of shells.
9796
9797 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9798
9799 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9800
9801 * simple.el: Use set-temporary-overlay-map for universal-argument.
9802 (universal-argument-map): Don't use default-bindings (bug#15317).
9803 Bind switch-frame explicitly. Replace universal-argument-minus with
9804 a conditional binding.
9805 (universal-argument-num-events, saved-overriding-map): Remove.
9806 (restore-overriding-map): Remove.
9807 (universal-argument--mode): Rename from save&set-overriding-map,
9808 and rewrite.
9809 (universal-argument, universal-argument-more, negative-argument)
9810 (digit-argument): Adjust accordingly.
9811 (universal-argument-minus): Remove.
9812 (universal-argument-other-key): Remove.
9813
9814 * subr.el (with-demoted-errors): Add `format' argument.
9815
9816 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9817
9818 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9819 `tramp-cleanup-connection'.
9820
9821 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9822 parameters KEEP-DEBUG and KEEP-PASSWORD.
9823
9824 * net/tramp.el (tramp-file-name-handler):
9825 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9826 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9827 (tramp-maybe-open-connection):
9828 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9829 Use `tramp-cleanup-connection'.
9830
9831 * net/tramp-sh.el (tramp-maybe-open-connection):
9832 Catch 'uname-changed inside the progress reporter.
9833
9834 2013-09-10 Glenn Morris <rgm@gnu.org>
9835
9836 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9837
9838 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9839 returns "alternate access method" in mode (eg "-rw-r--r--.").
9840
9841 2013-09-08 Glenn Morris <rgm@gnu.org>
9842
9843 * saveplace.el (load-save-place-alist-from-file):
9844 Demote errors. (Bug#15305)
9845
9846 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9847
9848 Improve compatibility with older Emacsen, and XEmacs.
9849
9850 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9851 only if it is bound. It isn't for XEmacs.
9852 (with-tramp-progress-reporter): Do not let-bind `result'.
9853 This yields to scoping errors in XEmacs.
9854 (tramp-handle-make-auto-save-file-name): New function, moved from
9855 tramp-sh.el.
9856
9857 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9858 for `make-auto-save-file-name'.
9859 (tramp-adb--gnu-switches-to-ash):
9860 Use `tramp-compat-replace-regexp-in-string'.
9861
9862 * net/tramp-cache.el (tramp-cache-print): Call
9863 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9864
9865 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9866 bound. It isn't for XEmacs.
9867
9868 * net/tramp-compat.el (tramp-compat-copy-file):
9869 Catch `wrong-number-of-arguments' error.
9870 (tramp-compat-replace-regexp-in-string): New defun.
9871
9872 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9873 for `make-auto-save-file-name'.
9874 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9875 `copy-file'.
9876 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9877 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9878 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9879
9880 * net/tramp-gw.el (tramp-gw-open-network-stream):
9881 Use `tramp-compat-replace-regexp-in-string'.
9882
9883 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9884 Call `tramp-handle-make-auto-save-file-name'.
9885 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9886 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9887 (tramp-sh-file-inotifywait-process-filter):
9888 Use `tramp-compat-replace-regexp-in-string'.
9889 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9890
9891 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9892 for `make-auto-save-file-name'.
9893 (tramp-smb-handle-copy-directory):
9894 Call `tramp-compat-replace-regexp-in-string'.
9895 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9896 (tramp-smb-handle-copy-file): Improve error message.
9897 (tramp-smb-handle-rename-file): Rename directly only in case
9898 `newname' does not exist yet. This is a restriction of smbclient.
9899 (tramp-smb-maybe-open-connection): Rerun the function only when
9900 `auth-sources' is non-nil.
9901
9902 2013-09-08 Kenichi Handa <handa@gnu.org>
9903
9904 * international/characters.el: Set category "^" (Combining) for
9905 more characters.
9906
9907 2013-09-07 Alan Mackenzie <acm@muc.de>
9908
9909 Correctly fontify Java class constructors.
9910 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9911 in Java Mode.
9912 (c-recognize-typeless-decls): Set the Java value to t.
9913 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9914 While handling a "(", add a check for, effectively, Java, and handle a
9915 "typeless" declaration there.
9916
9917 2013-09-07 Roland Winkler <winkler@gnu.org>
9918
9919 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9920 field subtitle for entry type book.
9921
9922 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9923
9924 * minibuffer.el: Make minibuffer-complete call completion-in-region
9925 rather than other way around.
9926 (completion--some, completion-pcm--find-all-completions):
9927 Don't delay signals when debugging.
9928 (minibuffer-completion-contents): Beware fields within the
9929 minibuffer contents.
9930 (completion-all-sorted-completions): Use defvar-local.
9931 (completion--do-completion, completion--cache-all-sorted-completions)
9932 (completion-all-sorted-completions, minibuffer-force-complete):
9933 Add args `beg' and `end'.
9934 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9935 (minibuffer-complete): Use completion-in-region.
9936 (completion-complete-and-exit): New fun, extracted from
9937 minibuffer-complete-and-exit.
9938 (minibuffer-complete-and-exit): Use it.
9939 (completion--complete-and-exit): Rename from
9940 minibuffer--complete-and-exit.
9941 (completion-in-region--single-word): New function, extracted from
9942 minibuffer-complete-word.
9943 (minibuffer-complete-word): Use it.
9944 (display-completion-list): Make `common-substring' argument obsolete.
9945 (completion--in-region): Call completion--in-region-1 instead of
9946 minibuffer-complete.
9947 (completion-help-at-point): Pass boundaries to
9948 minibuffer-completion-help as args rather than via an overlay.
9949 (completion-pcm--string->pattern): Use `any-delim'.
9950 (completion-pcm--optimize-pattern): New function.
9951 (completion-pcm--pattern->regex): Handle `any-delim'.
9952 * icomplete.el (icomplete-forward-completions)
9953 (icomplete-backward-completions, icomplete-completions):
9954 Adjust calls to completion-all-sorted-completions and
9955 completion--cache-all-sorted-completions.
9956 (icomplete-with-completion-tables): Default to t.
9957 * emacs-lisp/crm.el (crm--current-element): Rename from
9958 crm--select-current-element. Don't put an overlay but return the
9959 boundaries instead.
9960 (crm--completion-command): Take two new args to bind to the boundaries.
9961 (crm-completion-help): Adjust accordingly.
9962 (crm-complete): Use completion-in-region.
9963 (crm-complete-word): Use completion-in-region--single-word.
9964 (crm-complete-and-exit): Use completion-complete-and-exit.
9965
9966 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9967
9968 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9969 than dynamically.
9970
9971 2013-09-06 Juri Linkov <juri@jurta.org>
9972
9973 * info.el (Info-display-images-node): When image file doesn't exist
9974 display text version of the image if it's provided in the Info file.
9975 Otherwise, display the location of missing image from SRC attribute.
9976 Add help-echo text property from ALT attribute. (Bug#15279)
9977
9978 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9979
9980 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9981 (edit-abbrevs-mode): Use define-derived-mode.
9982
9983 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9984 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9985 that it's defined.
9986 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9987 Use define-derived-mode.
9988
9989 * epg.el (epg-start-encrypt): Minor CSE simplification.
9990
9991 2013-09-06 William Xu <william.xwl@gmail.com>
9992
9993 * arc-mode.el: Add support for 7za (bug#15264).
9994 (archive-7z-program): New var.
9995 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9996 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9997 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9998
9999 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
10000
10001 Remove URL syntax.
10002
10003 * net/tramp.el (tramp-syntax, tramp-prefix-format)
10004 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
10005 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
10006 (tramp-postfix-host-format, tramp-file-name-regexp)
10007 (tramp-completion-file-name-regexp)
10008 (tramp-completion-dissect-file-name)
10009 (tramp-handle-substitute-in-file-name): Remove 'url case.
10010 (tramp-file-name-regexp-url)
10011 (tramp-completion-file-name-regexp-url): Remove constants.
10012
10013 2013-09-06 Glenn Morris <rgm@gnu.org>
10014
10015 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
10016
10017 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
10018
10019 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
10020 keywords" below "here-doc beginnings" (Bug#15270).
10021
10022 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
10023
10024 * subr.el (pop): Use `car-safe'.
10025 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
10026 to detect unused `pop' return value.
10027
10028 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
10029 var `block-regexp'.
10030 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
10031 (python-fill-string): Remove unused var `marker'.
10032 (python-skeleton-add-menu-items): Remove unused var `items'.
10033
10034 * international/mule-cmds.el: Require CL.
10035 (find-coding-systems-for-charsets): Avoid add-to-list.
10036 (sanitize-coding-system-list): New function, extracted from
10037 select-safe-coding-system-interactively.
10038 (select-safe-coding-system-interactively): Use it.
10039 (read-input-method-name): Accept symbols for `default'.
10040
10041 * emacs-lisp/advice.el (defadvice): Add indent rule.
10042
10043 2013-09-05 Daniel Hackney <dan@haxney.org>
10044
10045 * dired-x.el:
10046 * net/ange-ftp.el:
10047 * net/browse-url.el:
10048 * net/dbus.el:
10049 * net/eudc.el:
10050 * net/eudcb-ldap.el:
10051 * net/eww.el:
10052 * net/imap.el:
10053 * printing.el:
10054 * vc/ediff-diff.el:
10055 * vc/ediff-init.el:
10056 * vc/ediff-merg.el:
10057 * vc/ediff-mult.el:
10058 * vc/ediff-util.el:
10059 * vc/ediff-wind.el:
10060 * vc/ediff.el:
10061 * vc/emerge.el:
10062 * vc/pcvs.el:
10063 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
10064 byte compiler. Remove some unused let-bound variables.
10065
10066 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
10067
10068 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
10069 a "ref-cell", since it gets better optimized (bug#14883).
10070
10071 2013-09-05 Glenn Morris <rgm@gnu.org>
10072
10073 * progmodes/cc-awk.el (c-forward-sws): Declare.
10074
10075 2013-09-04 Glenn Morris <rgm@gnu.org>
10076
10077 * generic-x.el [rul-generic-mode]: Require cc-mode.
10078 (c++-mode-syntax-table): Declare.
10079 (rul-generic-mode-syntax-table): Init in the defvar.
10080
10081 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
10082
10083 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
10084 (vc-do-command, vc-set-async-update):
10085 * vc/vc-mtn.el (vc-mtn-dir-status):
10086 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
10087 (vc-hg-pull, vc-hg-merge-branch):
10088 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
10089 (vc-git-merge-branch):
10090 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
10091 (vc-cvs-dir-status-files):
10092 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
10093 (vc-bzr-dir-status-files):
10094 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
10095 * vc/vc-annotate.el: Use lexical-binding.
10096 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
10097 (vc-sentinel-movepoint): Declare.
10098 (vc-annotate): Don't use `goto-line'.
10099 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
10100 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
10101 (vc-sentinel-movepoint): Declare.
10102 * vc/vc-svn.el: Use lexical-binding.
10103 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
10104 * vc/vc-sccs.el:
10105 * vc/vc-rcs.el: Use lexical-binding.
10106
10107 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
10108 `deleted'. Don't drop errors silently.
10109
10110 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
10111
10112 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
10113
10114 * vc/vc.el (vc-ignore): Rewrite.
10115 (vc-default-ignore): New function.
10116 (vc-default-ignore-completion-table): Use find-ignore-file.
10117
10118 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
10119 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
10120 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
10121 Remove. Most code moved to vc.el.
10122
10123 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
10124
10125 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
10126 * net/tramp-smb.el (tramp-smb-get-file-entries):
10127 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
10128 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
10129
10130 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
10131 Update call to it.
10132 (eww-change-select): Remove unused var `properties'.
10133 (eww-make-unique-file-name): Remove unused var `base'.
10134
10135 * finder.el (finder-compile-keywords): Don't mess with windows.
10136
10137 * calculator.el (calculator-funcall): Fix typo in last change.
10138
10139 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
10140
10141 * emacs-lisp/package.el (package-activate-1): Don't let a missing
10142 <pkg>-autoloads.el file stop us.
10143
10144 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
10145 warnings, and factor out common code.
10146
10147 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
10148
10149 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
10150 two-character operators and whether the character preceding them
10151 changes their meaning (Bug#15208).
10152
10153 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
10154
10155 Format code sent to Python shell for robustness.
10156 * progmodes/python.el (python-shell-buffer-substring):
10157 New function.
10158 (python-shell-send-region, python-shell-send-buffer): Use it.
10159
10160 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
10161
10162 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
10163 * net/tramp.el (tramp-user-error): ... here.
10164 (tramp-find-method, tramp-check-proper-host)
10165 (tramp-dissect-file-name, tramp-debug-message)
10166 (tramp-handle-shell-command):
10167 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10168 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
10169
10170 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
10171
10172 2013-09-02 Martin Rudalics <rudalics@gmx.at>
10173
10174 * avoid.el (mouse-avoidance-point-position)
10175 (mouse-avoidance-too-close-p): Handle case where posn-at-point
10176 returns nil.
10177
10178 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
10179
10180 * progmodes/python.el (python-shell-completion-get-completions):
10181 Drop use of deleted `comint-last-prompt-overlay'.
10182 (python-nav-if-name-main): New command.
10183
10184 2013-09-01 Glenn Morris <rgm@gnu.org>
10185
10186 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10187 Avoid leading space in $wins. Otherwise the sed command used by
10188 eg compile-main ends up containing "/*.el". (Bug#15170)
10189
10190 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
10191
10192 2013-08-30 Glenn Morris <rgm@gnu.org>
10193
10194 * emacs-lisp/bytecomp.el (byte-recompile-directory):
10195 Fix is-this-a-directory logic. (Bug#15220)
10196
10197 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10198
10199 * textmodes/css-mode.el: Use SMIE.
10200 (css-smie-grammar): New var.
10201 (css-smie--forward-token, css-smie--backward-token)
10202 (css-smie-rules): New functions.
10203 (css-mode): Use them.
10204 (css-navigation-syntax-table): Remove var.
10205 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
10206 (css-indent-calculate, css-indent-line): Remove functions.
10207
10208 Misc changes to reduce use of `(lambda...); and other cleanups.
10209 * cus-edit.el: Use lexical-binding.
10210 (customize-push-and-save, customize-apropos)
10211 (custom-buffer-create-internal): Use closures.
10212 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
10213 * progmodes/ada-xref.el: Use setq.
10214 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
10215 * dframe.el: Use lexical-binding.
10216 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
10217 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
10218 * descr-text.el: Use lexical-binding.
10219 (describe-text-widget, describe-text-sexp, describe-property-list):
10220 Use closures.
10221 * comint.el (comint-history-isearch-push-state): Use a closure.
10222 * calculator.el: Use lexical-binding.
10223 (calculator-number-to-string): Make it work with lexical-binding.
10224 (calculator-funcall): Same and use cl-letf.
10225
10226 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
10227 (lisp--company-doc-string, lisp--company-location): New functions.
10228 (lisp-completion-at-point): Use them to improve Company support.
10229
10230 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
10231 params of lambda expressions.
10232 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
10233 (ruby-smie--opening-pipe-p): New function.
10234 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
10235 symbols and matched |...| for formal params.
10236 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
10237 from being treated as hanging. Handle "rescue".
10238
10239 2013-08-29 Glenn Morris <rgm@gnu.org>
10240
10241 * progmodes/cc-engine.el (c-pull-open-brace):
10242 Move definition before use.
10243
10244 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10245
10246 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
10247 are immutable. Don't use `unsafe' any more.
10248 (cl--defsubst-expand): Don't substitute at the same time as keeping
10249 a residual unused let-binding. Don't use `unsafe' any more.
10250
10251 2013-08-29 Glenn Morris <rgm@gnu.org>
10252
10253 * calendar/cal-china.el (calendar-chinese-year-cache):
10254 Recenter on 2015.
10255
10256 * nxml/nxml-util.el (nxml-debug-clear-inside):
10257 Use cl-loop rather than loop.
10258
10259 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
10260
10261 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
10262
10263 2013-08-28 Glenn Morris <rgm@gnu.org>
10264
10265 * progmodes/antlr-mode.el: No need to require cc-mode twice.
10266
10267 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
10268
10269 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
10270
10271 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10272
10273 * simple.el (repeat-complex-command--called-interactively-skip):
10274 New function.
10275 (repeat-complex-command): Use it (bug#14136).
10276
10277 * progmodes/cc-mode.el: Minor cleanup of var declarations.
10278 (c-define-abbrev-table): Add `doc' argument.
10279 (c-mode-abbrev-table, c++-mode-abbrev-table)
10280 (objc-mode-abbrev-table, java-mode-abbrev-table)
10281 (idl-mode-abbrev-table, pike-mode-abbrev-table)
10282 (awk-mode-abbrev-table): Use it.
10283 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
10284 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
10285 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
10286 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
10287 Move initialization into the declaration; and remove any
10288 autoload cookie.
10289
10290 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
10291 and dynamic let binding.
10292
10293 * vc/smerge-mode.el: Remove redundant :group args.
10294
10295 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
10296 to load-path.
10297
10298 2013-08-28 Juri Linkov <juri@jurta.org>
10299
10300 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
10301 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
10302 (isearch-other-meta-char): Handle an undefined shifted printing
10303 character by downshifting it. (Bug#15200)
10304
10305 2013-08-28 Juri Linkov <juri@jurta.org>
10306
10307 * isearch.el (isearch-search): Change regexp error message for
10308 non-regexp searches. (Bug#15166)
10309
10310 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
10311
10312 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
10313 for portability to hosts where /bin/sh has problems.
10314
10315 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10316
10317 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
10318
10319 2013-08-27 Juri Linkov <juri@jurta.org>
10320
10321 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
10322 in the keyboard macro. (Bug#15126)
10323
10324 2013-08-27 Juri Linkov <juri@jurta.org>
10325
10326 * isearch.el (isearch-quote-char): Comment out converting unibyte
10327 to multibyte, thus syncing with its `quoted-insert' counterpart.
10328 (Bug#15166)
10329
10330 2013-08-27 Martin Rudalics <rudalics@gmx.at>
10331
10332 * window.el (display-buffer-use-some-window): Add missing
10333 argument in call of get-largest-window (Bug#15185).
10334 Reported by Stephen Leake.
10335
10336 2013-08-27 Glenn Morris <rgm@gnu.org>
10337
10338 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
10339
10340 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
10341
10342 * progmodes/python.el (python-font-lock-keywords): Don't return nil
10343 from a matcher-function unless there's no more matches (bug#15161).
10344
10345 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10346
10347 * minibuffer.el: Revert change from 2013-08-20.
10348
10349 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
10350 with text property `tramp-default', if appropriate.
10351 (tramp-check-proper-host): New defun.
10352 (tramp-dissect-file-name): Do not check hostname. Revert change
10353 of 2013-03-18.
10354 (tramp-backtrace): Make VEC-OR-PROC optional.
10355
10356 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10357 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10358 * net/tramp-sh.el (tramp-maybe-open-connection):
10359 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10360 Apply `tramp-check-proper-host'.
10361
10362 2013-08-26 Tassilo Horn <tsdh@gnu.org>
10363
10364 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
10365 lambda expression in order to have `describe-variable' display it.
10366
10367 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10368
10369 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
10370 BUF can be optional. (Bug#15186)
10371
10372 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
10373
10374 * progmodes/flymake.el (flymake-get-real-file-name-function):
10375 Fix broken customization. (Bug#15184)
10376
10377 2013-08-25 Alan Mackenzie <acm@muc.de>
10378
10379 Improve indentation of bracelists defined by macros (without "=").
10380
10381 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
10382 expansion begins with "{", regard it as bracelist when it doesn't
10383 contain a ";".
10384
10385 Parse C++ inher-intro when there's a template split over 2 lines.
10386
10387 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
10388 rigorously the search for "class" etc. followed by ":".
10389
10390 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
10391 random languages a regexp which never matches rather than nil.
10392
10393 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
10394
10395 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
10396 (c-awk-regexp-one-line-possibly-open-char-list-re)
10397 (c-awk-one-line-possibly-open-regexp-re)
10398 (c-awk-one-line-non-syn-ws*-re): Remove.
10399 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
10400 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
10401 (c-awk-space*-unclosed-regexp-/-re): New constants.
10402 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
10403 aren't regexp delimiters.
10404
10405 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
10406 handling for a rare situation in AWK Mode involving unterminated
10407 strings/regexps.
10408
10409 2013-08-23 Glenn Morris <rgm@gnu.org>
10410
10411 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
10412
10413 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
10414
10415 * files.el (create-file-buffer): If the result would begin with
10416 spaces, prepend a "|" instead of removing them. (Bug#15162)
10417
10418 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10419
10420 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
10421 text-properties (bug#15155).
10422
10423 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
10424 exist any more.
10425 (calc-keypad-redraw): Remove unused var `pad'.
10426 (calc-keypad-press): Remove unused var `menu'.
10427
10428 2013-08-23 Martin Rudalics <rudalics@gmx.at>
10429
10430 * window.el (display-buffer-pop-up-frame):
10431 Call pop-up-frame-function with BUFFER current so `make-frame' will
10432 use it as the new frame's buffer (Bug#15133).
10433
10434 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10435
10436 * calendar/timeclock.el: Minor cleanups.
10437 (timeclock-ask-before-exiting, timeclock-use-display-time):
10438 Use `symbol'.
10439 (timeclock-modeline-display): Define as alias before the
10440 actual definition.
10441 (timeclock-mode-line-display): Use define-minor-mode.
10442 (timeclock-day-list-template): Make it a function, add an argument.
10443 (timeclock-day-list-required, timeclock-day-list-length)
10444 (timeclock-day-list-debt, timeclock-day-list-span)
10445 (timeclock-day-list-break): Adjust calls accordingly.
10446
10447 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
10448
10449 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
10450 Use read--expression so that completion works again.
10451
10452 2013-08-21 Sam Steingold <sds@gnu.org>
10453
10454 Add rudimentary inferior shell interaction
10455 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
10456 (sh-set-shell): Reset it.
10457 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
10458 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
10459
10460 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
10461
10462 * align.el: Use lexical-binding.
10463 (align-region): Simplify accordingly.
10464
10465 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
10466
10467 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
10468
10469 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
10470 `non-essential' up.
10471
10472 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
10473
10474 * net/tramp.el:
10475 * net/tramp-adb.el:
10476 * net/tramp-cmds.el:
10477 * net/tramp-ftp.el:
10478 * net/tramp-gvfs.el:
10479 * net/tramp-gw.el:
10480 * net/tramp-sh.el: Don't wrap external variable declarations by
10481 `eval-when-compile'.
10482
10483 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10484
10485 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
10486 now that Emacs supports ImageMagick animations.
10487
10488 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
10489
10490 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
10491 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
10492
10493 2013-08-16 Martin Rudalics <rudalics@gmx.at>
10494
10495 * window.el (mouse-autoselect-window-select): Do autoselect when
10496 mouse pointer is on margin.
10497
10498 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
10499
10500 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
10501
10502 2013-08-16 Glenn Morris <rgm@gnu.org>
10503
10504 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
10505 Handle "Remote Directory" response of some clients. (Bug#15058)
10506
10507 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
10508 Tweak warning. (Bug#14926)
10509
10510 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
10511 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
10512
10513 * image-mode.el (image-mode-map): Add menu items to reverse,
10514 increase, decrease, reset animation speed.
10515 (image--set-speed, image-increase-speed, image-decrease-speed)
10516 (image-reverse-speed, image-reset-speed): New functions.
10517 (image-mode-map): Add bindings for speed commands.
10518
10519 * image.el (image-animate-get-speed, image-animate-set-speed):
10520 New functions.
10521 (image-animate-timeout): Respect image :speed property.
10522
10523 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10524
10525 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
10526 previous line (bug#15101).
10527 (debugger-eval-expression, debugger-record-expression):
10528 Use read--expression (bug#15102).
10529
10530 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
10531
10532 Remove byte compiler warnings, visible when compiling with
10533 `byte-compile-force-lexical-warnings' set to t.
10534
10535 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
10536 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
10537 (tramp-handle-unhandled-file-name-directory)
10538 (tramp-handle-file-notify-add-watch, tramp-action-login)
10539 (tramp-action-succeed, tramp-action-permission-denied)
10540 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
10541 arguments with "_".
10542
10543 * net/tramp-adb.el (tramp-adb-parse-device-names)
10544 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
10545 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
10546 (tramp-adb-handle-file-truename): Remove unused arguments.
10547
10548 * net/tramp-cache.el (tramp-flush-directory-property)
10549 (tramp-flush-connection-property, tramp-list-connections)
10550 (tramp-parse-connection-properties): Prefix unused arguments with "_".
10551
10552 * net/tramp-compat.el (tramp-compat-make-temp-file):
10553 Rename FILENAME to F.
10554
10555 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10556 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
10557 (tramp-zeroconf-parse-workstation-device-names)
10558 (tramp-zeroconf-parse-webdav-device-names)
10559 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
10560
10561 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10562 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
10563
10564 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
10565 arguments.
10566 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
10567 (tramp-sh-handle-insert-file-contents-literally)
10568 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
10569 with "_".
10570 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
10571 Remove unused variables.
10572
10573 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10574 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10575 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10576
10577 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10578 Make them a defconst.
10579 (tramp-uuencode-region): Remove unused variable.
10580
10581 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
10582
10583 * frameset.el (frameset--prop-setter): New function.
10584 (frameset-prop): Add gv-setter declaration.
10585 (frameset-filter-minibuffer): Deal with the case that the minibuffer
10586 parameter was already set in FILTERED. Doc fix.
10587 (frameset--record-minibuffer-relationships): Allow saving a
10588 minibufferless frame without its corresponding minibuffer frame.
10589 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10590 frame, if the frame id matches.
10591 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10592 frames before orphaned ones.
10593 (frameset-restore): Warn about orphaned windows, instead of error out.
10594
10595 2013-08-14 Martin Rudalics <rudalics@gmx.at>
10596
10597 * window.el (window-make-atom): Don't overwrite parameter
10598 already present.
10599 (display-buffer-in-atom-window): Handle special case where we
10600 split an already atomic window.
10601 (window--major-non-side-window, display-buffer-in-side-window)
10602 (window--side-check): Ignore minibuffer window when walking
10603 window tree.
10604 (window-deletable-p): Return 'frame only if no other frame uses
10605 our minibuffer window.
10606 (record-window-buffer): Run buffer-list-update-hook.
10607 (split-window): Make sure window--check-frame won't destroy an
10608 existing atomic window in case the new window gets nested
10609 inside.
10610 (display-buffer-at-bottom): Ignore minibuffer window when
10611 walking window tree. Don't split a side window.
10612 (pop-to-buffer): Don't set-buffer here, the select-window call
10613 should do that.
10614 (mouse-autoselect-window-select): Autoselect only if we are in the
10615 text portion of the window.
10616
10617 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10618
10619 * net/shr.el (shr-parse-image-data): New function to grab both the
10620 data itself and the Content-Type.
10621 (shr-put-image): Use it.
10622
10623 * net/eww.el (eww-display-image): Ditto.
10624
10625 * image.el (image-content-type-suffixes): New variable.
10626
10627 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10628
10629 * progmodes/python.el (python-imenu--build-tree)
10630 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10631
10632 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
10633
10634 * simple.el (backward-word): Mention the optional argument.
10635
10636 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10637
10638 * frameset.el (frameset--make): Rename constructor from make-frameset.
10639 (frameset-p, frameset-valid-p): Don't autoload.
10640 (frameset-valid-p): Use normal accessors.
10641
10642 2013-08-13 Glenn Morris <rgm@gnu.org>
10643
10644 * progmodes/compile.el (compile-command): Tweak example in doc.
10645 * obsolete/scribe.el (scribe-mode):
10646 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
10647
10648 * mail/feedmail.el (feedmail-confirm-outgoing)
10649 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10650
10651 * cus-start.el (truncate-partial-width-windows): Fix type.
10652
10653 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10654
10655 * net/shr.el (shr-table-horizontal-line): Fix custom type.
10656
10657 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10658
10659 * emacs-lisp/timer.el (timer--time-setter): New function.
10660 (timer--time): Use it as gv-setter.
10661
10662 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10663 setter is not a symbol.
10664
10665 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
10666
10667 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10668 if sending fails. This makes debugging easier.
10669
10670 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
10671
10672 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10673 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10674 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10675
10676 2013-08-12 Eli Zaretskii <eliz@gnu.org>
10677
10678 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10679
10680 2013-08-12 Glenn Morris <rgm@gnu.org>
10681
10682 * format.el (format-annotate-function):
10683 Handle read-only text properties in the source. (Bug#14887)
10684
10685 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10686
10687 * net/eww.el (eww-display-html): Ignore coding system errors.
10688 One web site uses "utf-8lias" as the coding system.
10689
10690 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
10691
10692 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10693
10694 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
10695
10696 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10697 (tutorial--detailed-help): Remove unused local variables.
10698 (tutorial--save-tutorial-to): Use ignore-errors.
10699 (help-with-tutorial): Use looking-at-p.
10700
10701 * view.el (view-buffer-other-window, view-buffer-other-frame):
10702 Mark unused arguments.
10703
10704 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10705 (woman-select-symbol-fonts, woman, woman-find-file)
10706 (woman-insert-file-contents, woman-non-underline-faces):
10707 Use string-match-p.
10708 (woman1-unquote): Move declaration.
10709
10710 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10711 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10712 argument. Remove unused local variable.
10713 (xml-parse-elem-type): Use string-match-p.
10714 (xml-substitute-numeric-entities): Use ignore-errors.
10715
10716 * calculator.el (calculator): Mark unused argument.
10717 (calculator-paste, calculator-quit, calculator-integer-p):
10718 Use ignore-errors.
10719 (calculator-string-to-number, calculator-decimal, calculator-exp)
10720 (calculator-op-or-exp): Use string-match-p.
10721
10722 * dired.el (dired-buffer-more-recently-used-p): Declare.
10723 (dired-insert-set-properties, dired-insert-old-subdirs):
10724 Use ignore-errors.
10725
10726 * dired-aux.el (dired-compress): Use ignore-errors.
10727 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10728 (dired-do-async-shell-command, dired-do-shell-command)
10729 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10730 (dired-insert-subdir-validate): Use string-match-p.
10731 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10732 (dired-add-entry): Use string-match-p, looking-at-p.
10733 (dired-insert-subdir-newpos): Remove unused local variable.
10734
10735 * filenotify.el (file-notify-callback): Remove unused local variable.
10736
10737 * filesets.el (filesets-error): Mark unused argument.
10738 (filesets-which-command-p, filesets-filter-dir-names)
10739 (filesets-directory-files, filesets-get-external-viewer)
10740 (filesets-ingroup-get-data): Use string-match-p.
10741
10742 * find-file.el (ff-other-file-name, ff-other-file-name)
10743 (ff-find-the-other-file, ff-cc-hh-converter):
10744 Remove unused local variables.
10745 (ff-get-file-name): Use string-match-p.
10746 (ff-all-dirs-under): Use ignore-errors.
10747
10748 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10749 (follow-select-if-visible): Remove unused local variable.
10750
10751 * forms.el (read-file-filter): Move declaration.
10752 (forms--make-format, forms--make-parser, forms-insert-record):
10753 Quote function with #'.
10754 (forms--update): Use string-match-p. Quote function with #'.
10755
10756 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10757 (help-make-xrefs): Use looking-at-p.
10758 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10759
10760 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10761 (ibuffer-confirm-operation-on): Use string-match-p.
10762
10763 * msb.el (msb-item-handler, msb-dired-item-handler):
10764 Mark unused arguments.
10765
10766 * ses.el (ses-decode-cell-symbol)
10767 (ses-kill-override): Remove unused local variable.
10768 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10769 (ses-load): Use ignore-errors, looking-at-p.
10770 (ses-jump-safe): Use ignore-errors.
10771 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10772
10773 * tabify.el (untabify, tabify): Mark unused arguments.
10774
10775 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10776 Mark unused argument.
10777 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10778 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10779
10780 * emacs-lisp/timer.el (timer--time): Define setter with
10781 gv-define-setter to avoid deprecation warning.
10782
10783 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10784 (*record-cmpl-statistics-p*): Remove (was commented out).
10785 (cmpl-statistics-block): Remove (body was commented out).
10786 All callers changed.
10787 (add-completions-from-buffer, load-completions-from-file):
10788 Remove unused variables.
10789
10790 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10791
10792 * filecache.el (file-cache-delete-file-list):
10793 Print message only when told so.
10794 (file-cache-files-matching): Use #' in mapconcat argument.
10795
10796 * ffap.el (ffap-url-at-point): Fix reference to variable
10797 thing-at-point-default-mail-uri-scheme.
10798
10799 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10800
10801 * subr.el (define-error): New function.
10802 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10803 error-file-not-found and define with define-error.
10804 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10805 and define with define-error.
10806 * userlock.el (file-locked, file-supersession):
10807 * simple.el (mark-inactive):
10808 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10809 * progmodes/ada-mode.el (ada-mode-errors):
10810 * play/life.el (life-extinct):
10811 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10812 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10813 * nxml/rng-util.el (rng-error):
10814 * nxml/rng-uri.el (rng-uri-error):
10815 * nxml/rng-match.el (rng-compile-error):
10816 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10817 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10818 * nxml/nxml-rap.el (nxml-scan-error):
10819 * nxml/nxml-outln.el (nxml-outline-error):
10820 * net/soap-client.el (soap-error):
10821 * net/gnutls.el (gnutls-error):
10822 * net/ange-ftp.el (ftp-error):
10823 * mpc.el (mpc-proc-error):
10824 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10825 (json-number-format, json-string-escape, json-string-format)
10826 (json-key-format, json-object-format):
10827 * jka-compr.el (compression-error):
10828 * international/quail.el (quail-error):
10829 * international/kkc.el (kkc-error):
10830 * emacs-lisp/ert.el (ert-test-failed):
10831 * calc/calc.el (calc-error, inexact-result, math-overflow)
10832 (math-underflow):
10833 * bookmark.el (bookmark-error-no-filename):
10834 * epg.el (epg-error): Define with define-error.
10835
10836 * time.el (display-time-event-handler)
10837 (display-time-next-load-average): Don't call sit-for since it seems
10838 unnecessary (bug#15045).
10839
10840 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10841 Use #' instead of ' to quote functions.
10842 (checkdoc-output-mode): Use setq-local.
10843 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10844 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10845 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10846 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10847 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10848 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10849 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10850 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10851
10852 * ido.el (ido-completion-help): Fix up compiler warning.
10853
10854 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10855
10856 * frameset.el (frameset-p): Add autoload cookie.
10857 (frameset--jump-to-register): New function, based on code moved from
10858 register.el.
10859 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10860
10861 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10862 (frameset-restore, frameset-save, frameset-session-filter-alist):
10863 Remove declarations.
10864 (register-alist): Doc fix.
10865 (frameset-to-register): Move to frameset.el.
10866 (jump-to-register, describe-register-1): Remove frameset-specific code.
10867
10868 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10869
10870 * allout-widgets.el (allout-widgets-pre-command-business)
10871 (allout-widgets-post-command-business)
10872 (allout-widgets-after-change-handler)
10873 (allout-decorate-item-and-context, allout-set-boundary-marker)
10874 (allout-body-modification-handler)
10875 (allout-graphics-modification-handler): Mark ignored arguments.
10876 (allout-widgets-post-command-business)
10877 (allout-widgets-exposure-change-processor)
10878 (allout-widgets-exposure-undo-processor)
10879 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10880 (allout-parse-item-at-point, allout-decorate-item-guides)
10881 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10882 * allout.el (epa-passphrase-callback-function): Declare.
10883 (allout-overlay-insert-in-front-handler)
10884 (allout-overlay-interior-modification-handler)
10885 (allout-isearch-end-handler, allout-chart-siblings)
10886 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10887 (allout-yank-processing, allout-process-exposed)
10888 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10889 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10890 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10891 (lisp-indent-defform): Mark ignored arguments.
10892 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10893 (calculate-lisp-indent): Remove unused variables.
10894 * international/characters.el (indian-2-column, arabic-2-column)
10895 (tibetan): Mark ignored arguments.
10896 (use-cjk-char-width-table): Mark ignored arguments.
10897 Remove unused variables.
10898 * international/fontset.el (build-default-fontset-data)
10899 (x-compose-font-name, create-fontset-from-fontset-spec):
10900 Mark ignored arguments.
10901 (fontset-plain-name): Remove unused variables.
10902 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10903 (keyboard-coding-system): Mark ignored arguments.
10904 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10905 * help.el (resize-temp-buffer-window):
10906 * window.el (display-buffer-in-major-side-window)
10907 (display-buffer-in-side-window, display-buffer-in-previous-window):
10908 Remove unused variables.
10909 * isearch.el (isearch-forward-symbol):
10910 * version.el (emacs-bzr-version-bzr):
10911 * international/mule-cmds.el (current-language-environment):
10912 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10913 (x-handle-display):
10914 * term/pc-win.el (x-list-fonts, x-display-planes)
10915 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10916 (x-server-version, x-display-screens, x-display-mm-height)
10917 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10918 (x-selection-owner-p, x-own-selection-internal)
10919 (x-disown-selection-internal, x-get-selection-internal)
10920 (msdos-initialize-window-system):
10921 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10922 * term/x-win.el (x-handle-no-bitmap-icon):
10923 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10924 (vc-default-find-file-hook, vc-default-extra-menu):
10925 Mark ignored arguments.
10926
10927 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10928
10929 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10930 break-condition in the context of the debugged code (bug#12685).
10931
10932 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10933
10934 * comint.el:
10935 Do not use an overlay to highlight the last prompt. (Bug#14744)
10936 (comint-mode): Make comint-last-prompt buffer local.
10937 (comint-last-prompt): New variable.
10938 (comint-last-prompt-overlay): Remove. Superseded by
10939 comint-last-prompt.
10940 (comint-snapshot-last-prompt, comint-output-filter):
10941 Use comint-last-prompt.
10942
10943 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10944
10945 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10946 (frameset-save): Check validity of the resulting frameset.
10947
10948 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10949
10950 * ido.el (ido-record-command): Add doc string.
10951
10952 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10953
10954 * frameset.el (frameset): Do not disable creation of the default
10955 frameset-p predicate. Doc fix.
10956 (frameset-valid-p): New function, copied from the old predicate-p.
10957 Add additional checks.
10958 (frameset-restore): Check with frameset-valid-p.
10959 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10960 (frameset-name, frameset-description, frameset-properties)
10961 (frameset-states): Add docstring.
10962 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10963 (frameset-filter-alist): Doc fixes.
10964
10965 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10966
10967 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10968
10969 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10970
10971 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10972 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10973 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10974 (byte-compile-normal-call): Remove obsolescence check.
10975
10976 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10977
10978 * frameset.el (frameset-restore): Doc fix.
10979
10980 * register.el (frameset-frame-id, frameset-frame-with-id)
10981 (frameset-p, frameset-restore, frameset-save): Declare.
10982 (register-alist): Document framesets.
10983 (frameset-session-filter-alist): Declare.
10984 (frameset-to-register): New function.
10985 (jump-to-register): Implement jumping to framesets. Doc fix.
10986 (describe-register-1): Describe framesets.
10987
10988 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10989
10990 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10991
10992 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10993 Use lexical-binding.
10994
10995 * frameset.el (frameset): Use type vector, not list (incompatible
10996 change). Do not declare a new constructor, use the default one.
10997 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10998 `name' and `description', respectively, and add read-only slot
10999 `timestamp'. Doc fixes.
11000 (frameset-copy, frameset-persistent-filter-alist)
11001 (frameset-filter-alist, frameset-switch-to-gui-p)
11002 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
11003 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
11004 (frameset-filter-iconified, frameset-keep-original-display-p):
11005 Doc fixes.
11006 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
11007 Rename from frameset-filter-(save|restore)-param. All callers changed.
11008 Doc fix.
11009 (frameset-p): Adapt to change to vector and be more thorough.
11010 Change arg name to OBJECT. Doc fix.
11011 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
11012 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
11013 All callers changed.
11014 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
11015 All callers changed.
11016 (frameset--record-minibuffer-relationships): Rename from
11017 frameset--process-minibuffer-frames. All callers changed.
11018 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
11019 Use new default constructor (again). Doc fix.
11020 (frameset--find-frame-if): Rename from `frameset--find-frame'.
11021 All callers changed.
11022 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
11023 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
11024 Doc fix.
11025 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
11026 PARAMETERS and WINDOW-STATE, respectively.
11027 (frameset-restore): Add new keyword argument PREDICATE.
11028 Reset frameset--target-display to nil. Doc fix.
11029
11030 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
11031
11032 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
11033 (bat-mode): Use it.
11034 (bat-mode-syntax-table): Mark \n as end-of-comment.
11035 (bat-font-lock-keywords): Remove comment rule.
11036
11037 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
11038 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
11039
11040 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
11041 (byte-compile-callargs-warn): Use `push'.
11042 (byte-compile-arglist-warn): Ignore higher-order "calls".
11043 (byte-compile-file-form-autoload): Use `pcase'.
11044 (byte-compile-function-form): If quoting a symbol, check that it exists.
11045
11046 2013-08-07 Eli Zaretskii <eliz@gnu.org>
11047
11048 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
11049 and add a few popular commands found in batch files.
11050 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
11051 (dos-mode): Doc fixes.
11052
11053 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
11054
11055 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
11056 (dos-mode): Use setq-local. Add space after "rem".
11057 (dos-mode-syntax-table): Don't use "w" for symbol chars.
11058 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
11059
11060 2013-08-07 Arni Magnusson <arnima@hafro.is>
11061
11062 * progmodes/dos.el: New file.
11063 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
11064 dos-mode.
11065
11066 2013-08-06 Glenn Morris <rgm@gnu.org>
11067
11068 * calendar/calendar.el: Add new faces, and day-header-array.
11069 (calendar-weekday-header, calendar-weekend-header)
11070 (calendar-month-header): New faces.
11071 (calendar-day-header-construct): New function.
11072 (calendar-day-header-width): Also :set calendar-day-header-array.
11073 (calendar-american-month-header, calendar-european-month-header)
11074 (calendar-iso-month-header): Use calendar- faces.
11075 (calendar-generate-month):
11076 Use calendar-day-header-array for day headers; apply faces to them.
11077 (calendar-mode): Check calendar-font-lock-keywords non-nil.
11078 (calendar-abbrev-construct): Add optional maxlen argument.
11079 (calendar-day-name-array): Doc fix.
11080 (calendar-day-name-array, calendar-abbrev-length)
11081 (calendar-day-abbrev-array):
11082 Also :set calendar-day-header-array, and maybe redraw.
11083 (calendar-day-header-array): New option. (Bug#15007)
11084 (calendar-font-lock-keywords): Set to nil and make obsolete.
11085 (calendar-day-name): Add option to use header array.
11086
11087 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11088
11089 * net/shr.el (shr-render-td): Remove debugging.
11090 (shr-render-td): Make width computation consistent by defaulting
11091 all zero-width columns to 10 characters. This may not be optimal,
11092 but it's at least consistent.
11093 (shr-make-table-1): Redo last change to fix the real problem in
11094 colspan handling.
11095
11096 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
11097
11098 * files.el (cache-long-line-scans):
11099 Make obsolete alias to `cache-long-scans'.
11100
11101 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
11102
11103 * frameset.el (frameset, frameset-filter-alist)
11104 (frameset-filter-params, frameset-save, frameset--reuse-frame)
11105 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
11106 (frameset-compute-pos): Rename from frameset--compute-pos,
11107 and add docstring.
11108 (frameset-move-onscreen): Use frameset-compute-pos.
11109 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11110
11111 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
11112 Fix typos in docstrings.
11113
11114 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
11115
11116 * frame.el (get-other-frame): Tiny cleanup.
11117
11118 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
11119
11120 * vc/vc.el (vc-default-ignore-completion-table):
11121 Silence byte-compiler warning.
11122
11123 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
11124 slot, which can indeed be nil.
11125 (frameset-live-filter-alist, frameset-persistent-filter-alist):
11126 Move entry for `left' from persistent to live filter alist.
11127 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
11128 Doc fixes.
11129 (frameset-filter-params): When restoring a frame, copy items added to
11130 `filtered', to avoid unwittingly modifying the original parameters.
11131 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
11132 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
11133
11134 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
11135 to use looking-at-p instead of looking-at. (Bug#15028)
11136
11137 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11138
11139 Revert introduction of isearch-filter-predicates (bug#14714).
11140 Rely on add-function instead.
11141 * isearch.el (isearch-filter-predicates): Rename it back to
11142 isearch-filter-predicate.
11143 (isearch-message-prefix): Use advice-function-mapc and advice
11144 properties to get the isearch-message-prefix.
11145 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
11146 instead of run-hook-with-args-until-failure.
11147 (isearch-filter-visible): Not obsolete any more.
11148 * loadup.el: Preload nadvice.
11149 * replace.el (perform-replace): Revert to funcall
11150 instead of run-hook-with-args-until-failure.
11151 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
11152 * dired-aux.el (dired-isearch-filenames-mode): Rename from
11153 dired-isearch-filenames-toggle; make it into a proper minor mode.
11154 Use add/remove-function.
11155 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
11156 Call the minor-mode rather than add/remove-hook.
11157 (dired-isearch-filter-filenames):
11158 Remove isearch-message-prefix property.
11159 * info.el (Info--search-loop): New function, extracted from Info-search.
11160 Funcall isearch-filter-predicate instead of
11161 run-hook-with-args-until-failure isearch-filter-predicates.
11162 (Info-search): Use it.
11163 (Info-mode): Use isearch-filter-predicate instead of
11164 isearch-filter-predicates.
11165
11166 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11167
11168 Do not call to `selected-window' where it is assumed by default.
11169 Affected functions are `window-minibuffer-p', `window-dedicated-p',
11170 `window-hscroll', `window-width', `window-height', `window-buffer',
11171 `window-frame', `window-start', `window-point', `next-window'
11172 and `window-display-table'.
11173 * abbrev.el (abbrev--default-expand):
11174 * bs.el (bs--show-with-configuration):
11175 * buff-menu.el (Buffer-menu-mouse-select):
11176 * calc/calc.el (calc):
11177 * calendar/calendar.el (calendar-generate-window):
11178 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
11179 (diary-make-entry):
11180 * comint.el (send-invisible, comint-dynamic-complete-filename)
11181 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
11182 * completion.el (complete):
11183 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
11184 * disp-table.el (describe-current-display-table):
11185 * doc-view.el (doc-view-insert-image):
11186 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
11187 * ehelp.el (with-electric-help):
11188 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11189 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
11190 * emacs-lisp/helper.el (Helper-help-scroller):
11191 * emulation/cua-base.el (cua--post-command-handler-1):
11192 * eshell/esh-mode.el (eshell-output-filter):
11193 * ffap.el (ffap-gnus-wrapper):
11194 * help-macro.el (make-help-screen):
11195 * hilit-chg.el (highlight-compare-buffers):
11196 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
11197 * hl-line.el (global-hl-line-highlight):
11198 * icomplete.el (icomplete-simple-completing-p):
11199 * isearch.el (isearch-done):
11200 * jit-lock.el (jit-lock-stealth-fontify):
11201 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
11202 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
11203 * mpc.el (mpc-tagbrowser, mpc):
11204 * net/rcirc.el (rcirc-any-buffer):
11205 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
11206 * play/landmark.el (landmark-max-width, landmark-max-height):
11207 * play/zone.el (zone):
11208 * progmodes/compile.el (compilation-goto-locus):
11209 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
11210 * progmodes/etags.el (find-tag-other-window):
11211 * progmodes/fortran.el (fortran-column-ruler):
11212 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
11213 * progmodes/verilog-mode.el (verilog-point-text):
11214 * reposition.el (reposition-window):
11215 * rot13.el (toggle-rot13-mode):
11216 * server.el (server-switch-buffer):
11217 * shell.el (shell-dynamic-complete-command)
11218 (shell-dynamic-complete-environment-variable):
11219 * simple.el (insert-buffer, set-selective-display)
11220 (delete-completion-window):
11221 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
11222 (speedbar-recenter):
11223 * startup.el (fancy-splash-head):
11224 * textmodes/ispell.el (ispell-command-loop):
11225 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
11226 * tutorial.el (help-with-tutorial):
11227 * vc/add-log.el (add-change-log-entry):
11228 * vc/compare-w.el (compare-windows):
11229 * vc/ediff-help.el (ediff-indent-help-message):
11230 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
11231 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
11232 (ediff-setup-control-frame):
11233 * vc/emerge.el (emerge-position-region):
11234 * vc/pcvs-util.el (cvs-bury-buffer):
11235 * window.el (walk-windows, mouse-autoselect-window-select):
11236 * winner.el (winner-set-conf, winner-undo): Related users changed.
11237
11238 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11239
11240 * frameset.el (frameset--set-id): Doc fix.
11241 (frameset-frame-id, frameset-frame-id-equal-p)
11242 (frameset-locate-frame-id): New functions.
11243 (frameset--process-minibuffer-frames, frameset--reuse-frame)
11244 (frameset-restore): Use them.
11245
11246 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11247
11248 Do not call to `selected-frame' where it is assumed by default.
11249 Affected functions are `raise-frame', `redraw-frame',
11250 `frame-first-window', `frame-terminal' and `delete-frame'.
11251 * calendar/appt.el (appt-disp-window):
11252 * epg.el (epg-wait-for-completion):
11253 * follow.el (follow-delete-other-windows-and-split)
11254 (follow-avoid-tail-recenter):
11255 * international/mule.el (set-terminal-coding-system):
11256 * mail/rmail.el (rmail-mail-return):
11257 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
11258 * progmodes/f90.el (f90-add-imenu-menu):
11259 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
11260 * server.el (server-switch-buffer):
11261 * simple.el (delete-completion-window):
11262 * talk.el (talk):
11263 * term/xterm.el (terminal-init-xterm-modify-other-keys)
11264 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
11265 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
11266 * vc/ediff.el (ediff-documentation): Related users changed.
11267 * frame.el (selected-terminal): Remove the leftover.
11268
11269 2013-08-05 Glenn Morris <rgm@gnu.org>
11270
11271 * calendar/calendar.el (calendar-generate-month):
11272 Fix for calendar-column-width != 1 + calendar-day-digit-width.
11273 (calendar-generate-month, calendar-font-lock-keywords):
11274 Fix for calendar-day-header-width > length of any day name.
11275
11276 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11277
11278 * desktop.el (desktop-clear): Use new name of sort predicate.
11279
11280 * frameset.el (frameset): Add docstring. Move :version property to its
11281 own `version' slot.
11282 (frameset-copy): Rename from copy-frameset.
11283 (frameset-p): Check more thoroughly.
11284 (frameset-prop): Do not check for :version, which is no longer a prop.
11285 (frameset-live-filter-alist, frameset-persistent-filter-alist):
11286 Use new :never value instead of t.
11287 (frameset-filter-alist): Expand and clarify docstring.
11288 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
11289 (frameset-filter-minibuffer, frameset-filter-save-param)
11290 (frameset-filter-restore-param, frameset-filter-iconified):
11291 Add pointer to docstring of frameset-filter-alist.
11292 (frameset-filter-params): Rename filter values to be more meaningful:
11293 :never instead of t, and reverse the meanings of :save and :restore.
11294 (frameset--process-minibuffer-frames): Clarify error message.
11295 (frameset-save): Avoid unnecessary and confusing call to framep.
11296 Use new BOA constructor for framesets.
11297 (frameset--reuse-list): Doc fix.
11298 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
11299 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
11300 (frameset-minibufferless-first-p): Doc fix.
11301 Rename from frameset-sort-frames-for-deletion.
11302 (frameset-restore): Doc fixes. Use new function names.
11303 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11304
11305 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11306
11307 * desktop.el (desktop-restore-forces-onscreen)
11308 (desktop-restore-reuses-frames): Document :keyword constant values.
11309 (desktop-filter-parameters-alist): Remove, now identical to
11310 frameset-filter-alist.
11311 (desktop--filter-tty*): Remove, moved to frameset.el.
11312 (desktop-save-frameset, desktop-restore-frameset):
11313 Do not pass :filters argument.
11314
11315 * frameset.el (frameset-live-filter-alist)
11316 (frameset-persistent-filter-alist): New variables.
11317 (frameset-filter-alist): Use them. Add autoload cookie.
11318 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
11319 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
11320 `frameset--id' (it's supposed to be internal to frameset.el).
11321 (frameset--process-minibuffer-frames): Ditto. Doc fix.
11322 (frameset--initial-params): New function.
11323 (frameset--get-frame): Use it. Doc fix.
11324 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
11325 Accept :all, not 'all.
11326 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
11327 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
11328 with fbound symbols. Fix frame id matching, and remove matching ids if
11329 the frame being restored is deleted. Obey :delete.
11330
11331 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11332
11333 * subr.el (macrop): New function.
11334 (text-clone--maintaining): New var.
11335 (text-clone--maintain): Rename from text-clone-maintain. Use it
11336 instead of inhibit-modification-hooks.
11337
11338 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
11339 a proxy, so as handle autoloads and redefinitions of the target.
11340 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
11341
11342 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
11343 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
11344 (pcase--mutually-exclusive-p): New function.
11345 (pcase--split-consp): Use it.
11346 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
11347 mutually exclusive with the current predicate.
11348
11349 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
11350 (edebug-macrop): Remove. Use `macrop' instead.
11351 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
11352 (ad-macro-p):
11353 * eshell/esh-cmd.el (eshell-macrop):
11354 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
11355
11356 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11357
11358 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
11359 (advice-mapc): New function, using it.
11360 (advice-function-member-p): New function.
11361 (advice--normalize): Store the cdr in advice--saved-rewrite since
11362 that's the part that will be changed.
11363 (advice--symbol-function): New function.
11364 (advice-remove): Handle removal before the function is defined.
11365 Adjust to new advice--saved-rewrite.
11366 (advice-member-p): Use advice-function-member-p and
11367 advice--symbol-function.
11368
11369 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11370
11371 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
11372 (frameset-filter-minibuffer): Doc fix.
11373 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
11374 (frameset--set-id, frameset--process-minibuffer-frames)
11375 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
11376 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
11377
11378 * desktop.el (desktop-clear): Only delete frames when called
11379 interactively and desktop-restore-frames is non-nil. Doc fix.
11380 (desktop-read): Set desktop-saved-frameset to nil.
11381
11382 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
11383
11384 * vc/vc.el (vc-ignore): Rewrite.
11385 (vc-default-ignore-completion-table, vc--read-lines)
11386 (vc--add-line, vc--remove-regexp): New functions.
11387
11388 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
11389 (vc-svn-ignore-completion-table): New function.
11390
11391 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
11392 (vc-hg-ignore-completion-table)
11393 (vc-hg-find-ignore-file): New functions.
11394
11395 * vc/vc-git.el (vc-git-ignore): Rewrite.
11396 (vc-git-ignore-completion-table)
11397 (vc-git-find-ignore-file): New functions.
11398
11399 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
11400
11401 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
11402 (vc-bzr-ignore-completion-table)
11403 (vc-bzr-find-ignore-file): New functions.
11404
11405 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
11406
11407 * frameset.el (frameset-prop): New function and setter.
11408 (frameset-save): Do not modify frame list passed by the caller.
11409
11410 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11411
11412 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
11413
11414 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
11415
11416 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
11417 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
11418
11419 * custom.el (custom-initialize-default, custom-initialize-set)
11420 (custom-initialize-reset, custom-initialize-changed): Affect the
11421 toplevel-default-value (bug#6275, bug#14586).
11422 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
11423 for bug#6275.
11424
11425 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11426
11427 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11428 Add cl-def* expressions.
11429
11430 * frameset.el (frameset-filter-params): Fix order of arguments.
11431
11432 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11433
11434 Move code related to saving frames to frameset.el.
11435 * desktop.el: Require frameset.
11436 (desktop-restore-frames): Doc fix.
11437 (desktop-restore-reuses-frames): Rename from
11438 desktop-restoring-reuses-frames.
11439 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
11440 (desktop-clear): Clear frames too.
11441 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
11442 (desktop--filter-tty*, desktop-save, desktop-read):
11443 Use frameset functions.
11444 (desktop-before-saving-frames-functions, desktop--filter-*-color)
11445 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11446 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
11447 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
11448 (desktop--process-minibuffer-frames, desktop-save-frames)
11449 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
11450 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
11451 (desktop--sort-states, desktop-restoring-frames-p)
11452 (desktop-restore-frames): Remove. Most code moved to frameset.el.
11453 (desktop-restoring-frameset-p, desktop-restore-frameset)
11454 (desktop--check-dont-save, desktop-save-frameset): New functions.
11455 (desktop--app-id): New constant.
11456 (desktop-first-buffer, desktop-buffer-ok-count)
11457 (desktop-buffer-fail-count): Move before first use.
11458 * frameset.el: New file.
11459
11460 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11461
11462 * files.el: Use lexical-binding.
11463 (dir-locals-read-from-file): Remove unused `err' variable.
11464 (hack-dir-local-variables--warned-coding): New var.
11465 (hack-dir-local-variables): Use it to avoid repeated warnings.
11466 (make-backup-file-name--default-function): New function.
11467 (make-backup-file-name-function): Use it as default.
11468 (buffer-stale--default-function): New function.
11469 (buffer-stale-function): Use it as default.
11470 (revert-buffer-insert-file-contents--default-function): New function.
11471 (revert-buffer-insert-file-contents-function): Use it as default.
11472 (insert-directory): Avoid add-to-list.
11473
11474 * autorevert.el (auto-revert-handler): Simplify.
11475 Use buffer-stale--default-function.
11476
11477 2013-08-01 Tassilo Horn <tsdh@gnu.org>
11478
11479 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
11480
11481 * whitespace.el (whitespace-ensure-local-variables): New function.
11482 (whitespace-cleanup-region): Call it.
11483 (whitespace-turn-on): Call it.
11484
11485 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
11486
11487 Complete file name handlers.
11488
11489 * net/tramp.el (tramp-handle-set-visited-file-modtime)
11490 (tramp-handle-verify-visited-file-modtime)
11491 (tramp-handle-file-notify-rm-watch): New functions.
11492 (tramp-call-process): Do not bind `default-directory'.
11493
11494 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11495 Order alphabetically.
11496 <access-file, add-name-to-file, dired-call-process>:
11497 <dired-compress-file, file-acl, file-notify-rm-watch>:
11498 <file-ownership-preserved-p, file-selinux-context>:
11499 <make-directory-internal, make-symbolic-link, set-file-acl>:
11500 <set-file-selinux-context, set-visited-file-modtime>:
11501 <verify-visited-file-modtime>: Add handler.
11502 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
11503
11504 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11505 <file-notify-add-watch, file-notify-rm-watch>:
11506 <set-file-times, set-visited-file-modtime>:
11507 <verify-visited-file-modtime>: Add handler.
11508 (with-tramp-gvfs-error-message)
11509 (tramp-gvfs-handle-set-visited-file-modtime)
11510 (tramp-gvfs-fuse-file-name): Remove.
11511 (tramp-gvfs-handle-file-notify-add-watch)
11512 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
11513 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
11514
11515 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11516 Order alphabetically.
11517 <file-notify-rm-watch>: Use default Tramp handler.
11518 <executable-find>: Remove private handler.
11519 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
11520 `default-directory'.
11521 (tramp-sh-handle-executable-find)
11522 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
11523 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11524 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
11525 Do not use `format' in `tramp-message'.
11526
11527 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
11528 <file-notify-rm-watch, set-visited-file-modtime>:
11529 <verify-visited-file-modtime>: Add handler.
11530 (tramp-smb-call-winexe): Do not bind `default-directory'.
11531
11532 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
11533
11534 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
11535
11536 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
11537
11538 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
11539 use it.
11540 (log-view-diff-changeset): Same.
11541 (log-view-diff-common): Call backend command `previous-revision'
11542 to find out the previous revision, in both cases. Swap the
11543 variables `to' and `fr', so that `fr' usually refers to the
11544 earlier revision (Bug#14989).
11545
11546 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
11547
11548 * ibuf-ext.el (ibuffer-filter-by-filename):
11549 Make it work with dired buffers too.
11550
11551 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
11552
11553 * emacs-lisp/re-builder.el (reb-color-display-p):
11554 * files.el (save-buffers-kill-terminal):
11555 * net/browse-url.el (browse-url):
11556 * server.el (server-save-buffers-kill-terminal):
11557 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
11558 Prefer nil to selected-frame for the first arg of frame-parameter.
11559
11560 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
11561
11562 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
11563
11564 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
11565
11566 * minibuffer.el (completion--twq-all): Try and preserve each
11567 completion's case choice (bug#14907).
11568
11569 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11570
11571 * net/network-stream.el (open-network-stream): Mention the new
11572 :nogreeting parameter.
11573 (network-stream-open-starttls): Use the :nogreeting parameter
11574 (bug#14938).
11575
11576 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11577
11578 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11579 more natural than popping.
11580
11581 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
11582 (shr-urlify): Highlight under mouse.
11583
11584 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11585
11586 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11587
11588 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11589
11590 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
11591 buffer for output.
11592
11593 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
11594 point-min==1. Fix search string. Fix parentheses missing.
11595
11596 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
11597 assume point-min==1. Fix search string. Fix parentheses missing.
11598
11599 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11600
11601 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
11602 buffer for output.
11603
11604 2013-07-29 Eli Zaretskii <eliz@gnu.org>
11605
11606 * frame.el (frame-notice-user-settings): Avoid inflooping when the
11607 initial frame is minibuffer-less. (Bug#14841)
11608
11609 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
11610
11611 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11612 option.
11613
11614 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11615 (tramp-maybe-open-connection): Use it.
11616
11617 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11618
11619 * desktop.el (desktop--make-frame): Include `minibuffer' in the
11620 minimal set of parameters passed when creating a frame, because
11621 the minibuffer status of a frame cannot be changed later.
11622
11623 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
11624
11625 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11626 replace-regexp-in-string and inadvertent omissions in previous change.
11627 (todo-filter-items): Ensure only file names are comma-separated in
11628 name of filtered items buffer.
11629
11630 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11631
11632 * desktop.el: Optionally force offscreen frames back onscreen.
11633 (desktop-restoring-reuses-frames): New option.
11634 (desktop--compute-pos, desktop--move-onscreen): New functions.
11635 (desktop--make-frame): Use desktop--move-onscreen.
11636
11637 2013-07-27 Alan Mackenzie <acm@muc.de>
11638
11639 Fontify a Java generic method as a function.
11640 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11641 value to t.
11642
11643 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
11644
11645 * calendar/todo-mode.el: Add command to rename todo files.
11646 (todo-rename-file): New command.
11647 (todo-key-bindings-t): Add key binding for it. Change the
11648 bindings of todo-filter-regexp-items(-multifile) to use `x'
11649 instead of `r', since the latter is better suited to the new
11650 renaming command.
11651
11652 2013-07-27 Alan Mackenzie <acm@muc.de>
11653
11654 Make Java try-with-resources statement parse properly.
11655 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11656 (c-block-stmt-1-2-key): New language constants/variables.
11657 * progmodes/cc-engine.el (c-beginning-of-statement-1)
11658 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11659 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11660 with c-block-stmt-1-2-key.
11661
11662 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
11663
11664 * desktop.el (desktop--make-frame): Apply most frame parameters after
11665 creating the frame to force (partially or totally) offscreen frames to
11666 be restored as such.
11667
11668 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
11669
11670 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11671 (Bug#14948)
11672
11673 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11674
11675 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11676 `base' arg of backtrace-frame.
11677
11678 2013-07-26 Eli Zaretskii <eliz@gnu.org>
11679
11680 * simple.el (list-processes): Doc fix.
11681
11682 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11683
11684 * desktop.el (desktop--select-frame):
11685 Try harder to reuse existing frames.
11686
11687 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11688
11689 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11690 (edebug-eval): Use backtrace-eval.
11691 (edebug--display, edebug--recursive-edit): Don't let-bind the
11692 edebug-outer-* vars that keep track of variables we locally let-bind.
11693 (edebug-outside-excursion): Don't restore outside values of locally
11694 let-bound vars.
11695 (edebug--display): Use user-error.
11696 (cl-lexical-debug, cl-debug-env): Remove.
11697
11698 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11699
11700 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11701 are restored to be sure that they are visible before deleting any
11702 remaining ones.
11703
11704 2013-07-26 Matthias Meulien <orontee@gmail.com>
11705
11706 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11707 vc-print-root-log. (Bug#14948)
11708
11709 2013-07-26 Richard Stallman <rms@gnu.org>
11710
11711 Add aliases for encrypting mail.
11712 * epa.el (epa-mail-aliases): New option.
11713 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11714 Bind inhibit-read-only so read-only text doesn't ruin everything.
11715 (epa-mail-default-recipients): New subroutine broken out.
11716 Handle epa-mail-aliases.
11717
11718 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11719
11720 Add support for lexical variables to the debugger's `e' command.
11721 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11722 vars, except for debugger-outer-match-data.
11723 (debugger-frame-number): Move check for "on a function call" from
11724 callers into it. Add `skip-base' argument.
11725 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11726 (debugger-env-macro): Only reset the state stored in non-variables,
11727 i.e. current-buffer and match-data.
11728 (debugger-eval-expression): Rewrite using backtrace-eval.
11729 * subr.el (internal--called-interactively-p--get-frame): Remove.
11730 (called-interactively-p):
11731 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11732 `base' arg of backtrace-frame instead.
11733
11734 2013-07-26 Glenn Morris <rgm@gnu.org>
11735
11736 * align.el (align-regexp): Doc fix. (Bug#14857)
11737 (align-region): Explicit error if subexpression missing/does not match.
11738
11739 * simple.el (global-visual-line-mode):
11740 Do not duplicate the mode lighter. (Bug#14858)
11741
11742 2013-07-25 Martin Rudalics <rudalics@gmx.at>
11743
11744 * window.el (display-buffer): In display-buffer bind
11745 split-window-keep-point to t, bug#14829.
11746
11747 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11748
11749 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11750 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11751 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11752 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11753 Change accordingly.
11754 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11755 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11756
11757 2013-07-25 Glenn Morris <rgm@gnu.org>
11758
11759 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11760
11761 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11762
11763 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11764 parameter to modify-frame-parameters if the value has not changed;
11765 this is a workaround for bug#14949.
11766 (desktop--make-frame): On cl-delete-if call, check parameter name,
11767 not full parameter.
11768
11769 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11770
11771 * vc/vc.el (vc-ignore): New function.
11772
11773 * vc/vc-svn.el (vc-svn-ignore): New function.
11774
11775 * vc/vc-hg.el (vc-hg-ignore): New function.
11776
11777 * vc/vc-git.el (vc-git-ignore): New function.
11778
11779 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11780 (vc-dir-ignore): New function.
11781
11782 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11783 (cvs-append-to-ignore): Move here from pcvs.el.
11784
11785 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11786
11787 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11788
11789 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11790
11791 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11792 (desktop-restore-frames): Warn when deleting an existing frame failed.
11793
11794 2013-07-24 Glenn Morris <rgm@gnu.org>
11795
11796 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11797
11798 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11799
11800 * filenotify.el (file-notify-supported-p):
11801 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11802 Remove functions.
11803
11804 * autorevert.el (auto-revert-use-notify)
11805 (auto-revert-notify-add-watch):
11806 * net/tramp.el (tramp-file-name-for-operation):
11807 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11808 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11809 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11810 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11811 Remove `file-notify-supported-p' entry.
11812
11813 2013-07-24 Glenn Morris <rgm@gnu.org>
11814
11815 * printing.el: Replace all uses of deleted ps-windows-system,
11816 ps-lp-system, ps-flatten-list with lpr- versions.
11817
11818 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11819
11820 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11821 checked with memq (bug#14935).
11822
11823 * files.el (revert-buffer-function): Use a non-nil default.
11824 (revert-buffer-preserve-modes): Declare var to
11825 provide access to the `preserve-modes' argument.
11826 (revert-buffer): Let-bind it.
11827 (revert-buffer--default): New function, extracted from revert-buffer.
11828
11829 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11830
11831 * lpr.el: Signal print errors more prominently.
11832 (print-region-function): Don't default to nil.
11833 (lpr-print-region): New function, extracted from print-region-1.
11834 Check lpr's return value and signal an error in case of problem.
11835 (print-region-1): Use it.
11836 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11837 versions instead.
11838 (ps-printer-name): Default to nil.
11839 (ps-printer-name-option): Default to lpr-printer-switch.
11840 (ps-print-region-function): Don't default to nil.
11841 (ps-postscript-code-directory): Simplify default.
11842 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11843 (ps-string-list, ps-eval-switch, ps-flatten-list)
11844 (ps-flatten-list-1): Remove.
11845 (ps-multibyte-buffer): Avoid setq.
11846 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11847 (print-region-function, ps-print-region-function): Don't set them here.
11848
11849 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11850
11851 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11852 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11853 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11854 (ido-decorations): Doc fix.
11855
11856 * ansi-color.el: Fix old URL.
11857
11858 2013-07-23 Michael R. Mauger <michael@mauger.com>
11859
11860 * progmodes/sql.el: Version 3.3
11861 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11862 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11863 (sql-interactive-remove-continuation-prompt): Rewrite, use
11864 functions above. Fix continuation prompt and complete output line
11865 handling.
11866 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11867 redirected output buffer.
11868 (sql-mode): Restore deleted code (Bug#13591).
11869
11870 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11871
11872 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11873
11874 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11875
11876 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11877
11878 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11879 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11880 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11881
11882 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11883
11884 * desktop.el (desktop-clear): Simplify; remove useless checks
11885 against invalid buffer names.
11886 (desktop-list*): Use cl-list*.
11887 (desktop-buffer-info, desktop-create-buffer): Simplify.
11888
11889 2013-07-23 Leo Liu <sdl.web@gmail.com>
11890
11891 * bookmark.el (bookmark-make-record): Restore NAME as a default
11892 value. (Bug#14933)
11893
11894 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11895
11896 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11897 extracted from autoload--insert-text.
11898 (autoload--insert-text): Remove.
11899 (autoload--print-cookie-text): New function, extracted from
11900 autoload--insert-cookie-text.
11901 (autoload--insert-cookie-text): Remove.
11902 (autoload-generate-file-autoloads): Adjust calls accordingly.
11903
11904 * winner.el (winner-hook-installed-p): Remove.
11905 (winner-mode): Simplify accordingly.
11906
11907 * subr.el (add-to-list): Fix compiler-macro when `append' is
11908 not constant. Don't use `cl-member' for the base case.
11909
11910 * progmodes/subword.el: Fix boundary case (bug#13758).
11911 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11912 own group.
11913 (subword-backward-regexp): Make it a constant.
11914 (subword-forward-internal): Don't treat a trailing capital as the
11915 beginning of a word.
11916
11917 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11918
11919 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11920 global value of tabulated-list-revert-hook (bug#14930).
11921
11922 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11923
11924 * desktop.el: Require 'cl-lib.
11925 (desktop-before-saving-frames-functions): New hook.
11926 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11927 for frames being saved. Rename from desktop--save-minibuffer-frames.
11928 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11929 Do not save frames with non-nil `desktop-dont-save' parameter.
11930 Filter out deleted frames.
11931 (desktop--find-frame): Use cl-find-if.
11932 (desktop--select-frame): Use cl-(first|second|third) to access values
11933 of desktop-mini.
11934 (desktop--make-frame): Use cl-delete-if.
11935 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11936 (desktop-restore-frames): Use cl-(first|second|third) to access values
11937 of desktop-mini. Look for visible frame at the end, not while
11938 restoring frames.
11939
11940 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11941 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11942 Use string-match-p, looking-at-p (bug#14927).
11943
11944 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11945
11946 * desktop.el (desktop-saved-frame-states):
11947 Rename from desktop--saved-states; all users changed.
11948 (desktop-save-frames): Rename from desktop--save-frames.
11949 Do not save state to desktop file.
11950 (desktop-save): Save desktop-saved-frame-states to desktop file
11951 and reset to nil.
11952 (desktop-restoring-frames-p): New function.
11953 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11954 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11955 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11956
11957 * desktop.el: Correctly restore iconified frames.
11958 (desktop--filter-iconified-position): New function.
11959 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11960
11961 2013-07-20 Glenn Morris <rgm@gnu.org>
11962
11963 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11964 Let `message' do the formatting.
11965 (def-gdb-preempt-display-buffer): Add explicit format.
11966
11967 * image-dired.el (image-dired-track-original-file):
11968 Use with-current-buffer.
11969 (image-dired-track-thumbnail): Use with-current-buffer.
11970 Avoid changing point of wrong window.
11971
11972 * image-dired.el (image-dired-track-original-file):
11973 Avoid changing point of wrong window. (Bug#14909)
11974
11975 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11976
11977 * progmodes/gdb-mi.el (gdb-done-or-error):
11978 Guard against "%" in gdb output. (Bug#14127)
11979
11980 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11981
11982 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11983 (Bug#14826)
11984
11985 * international/mule.el (coding-system-iso-2022-flags): Fix last
11986 change.
11987
11988 2013-07-20 Kenichi Handa <handa@gnu.org>
11989
11990 * international/mule.el (coding-system-iso-2022-flags):
11991 Add `8-bit-level-4'. (Bug#8522)
11992
11993 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11994
11995 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11996 (bug#14815).
11997
11998 * net/eww.el (eww-process-text-input): Allow inputting when the
11999 point is at the start of the line, as the properties aren't
12000 front-sticky.
12001
12002 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
12003 degenerate widths.
12004
12005 2013-07-19 Richard Stallman <rms@gnu.org>
12006
12007 * epa.el (epa-popup-info-window): Doc fix.
12008
12009 * subr.el (split-string): New arg TRIM.
12010
12011 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
12012
12013 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
12014 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
12015
12016 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
12017
12018 * filenotify.el (file-notify--library): Rename from
12019 `file-notify-support'. Do not autoload. Adapt all uses.
12020 (file-notify-supported-p): New defun.
12021
12022 * autorevert.el (auto-revert-use-notify):
12023 Use `file-notify-supported-p' instead of `file-notify-support'.
12024 Adapt docstring.
12025 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
12026
12027 * net/tramp.el (tramp-file-name-for-operation):
12028 Add `file-notify-supported-p'.
12029
12030 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
12031 New defun.
12032 (tramp-sh-file-name-handler-alist): Add it as handler for
12033 `file-notify-supported-p '.
12034
12035 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
12036 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12037 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
12038 Add `ignore' as handler for `file-notify-*' functions.
12039
12040 2013-07-17 Eli Zaretskii <eliz@gnu.org>
12041
12042 * simple.el (line-move-partial, line-move): Don't start vscroll or
12043 scroll-up if the current line is not taller than the window.
12044 (Bug#14881)
12045
12046 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
12047
12048 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
12049 highlight question marks in the method names as strings.
12050 (ruby-block-beg-keywords): Inline.
12051 (ruby-font-lock-keyword-beg-re): Extract from
12052 `ruby-font-lock-keywords'.
12053
12054 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
12055
12056 * frame.el (blink-cursor-blinks): New defcustom.
12057 (blink-cursor-blinks-done): New defvar.
12058 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
12059 (blink-cursor-timer-function): Check if number of blinks has been
12060 done on X and NS.
12061 (blink-cursor-suspend, blink-cursor-check): New defuns.
12062
12063 2013-07-15 Glenn Morris <rgm@gnu.org>
12064
12065 * edmacro.el (edmacro-format-keys): Fix previous change.
12066
12067 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
12068
12069 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
12070 The hack didn't work outside English locales anyway.
12071
12072 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
12073
12074 * simple.el (define-alternatives): Rename from alternatives-define,
12075 per RMS' suggestion.
12076
12077 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
12078
12079 * desktop.el (desktop-restore-frames): Change default to t.
12080 (desktop-restore-in-current-display): Now offer more options.
12081 (desktop-restoring-reuses-frames): New customization option.
12082 (desktop--saved-states): Doc fix.
12083 (desktop-filter-parameters-alist): New variable, renamed and expanded
12084 from desktop--excluded-frame-parameters.
12085 (desktop--target-display): New variable.
12086 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
12087 (desktop--filter-tty*, desktop--filter-*-color)
12088 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
12089 (desktop--filter-save-desktop-parm)
12090 (desktop-restore-in-original-display-p): New functions.
12091 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
12092 (desktop--save-minibuffer-frames): New function, inspired by a similar
12093 function from Martin Rudalics.
12094 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
12095 (desktop--restore-in-this-display-p): Remove.
12096 (desktop--find-frame): Rename from desktop--find-frame-in-display
12097 and add predicate argument.
12098 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
12099 (desktop--reuse-list): New variable.
12100 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
12101 New functions.
12102 (desktop--restore-frames): Add support for "minibuffer-special" frames.
12103
12104 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
12105
12106 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
12107
12108 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
12109
12110 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12111 Highlight conversion methods on Kernel.
12112
12113 2013-07-13 Alan Mackenzie <acm@muc.de>
12114
12115 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
12116 and comment it out. This out-commenting enables certain C++
12117 declarations to be parsed correctly.
12118
12119 2013-07-13 Eli Zaretskii <eliz@gnu.org>
12120
12121 * international/mule.el (define-coding-system): Doc fix.
12122
12123 * simple.el (default-font-height): Don't call font-info if the
12124 frame's default font didn't change since the frame was created.
12125 (Bug#14838)
12126
12127 2013-07-13 Leo Liu <sdl.web@gmail.com>
12128
12129 * ido.el (ido-read-file-name): Guard against non-symbol value.
12130
12131 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
12132
12133 * progmodes/python.el (python-imenu--build-tree): Fix corner case
12134 in nested defuns.
12135
12136 2013-07-13 Leo Liu <sdl.web@gmail.com>
12137
12138 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
12139 ido-set-matches call. (Bug#6852)
12140
12141 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
12142
12143 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
12144 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
12145 Ruby 2.0.
12146 (ruby-font-lock-keywords): Distinguish calls to functions with
12147 module-like names from module references. Highlight character
12148 literals.
12149
12150 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
12151
12152 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
12153 (gdb-send): Handle continued commands. (Bug#14847)
12154
12155 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
12156
12157 * desktop.el (desktop--v2s): Remove unused local variable.
12158 (desktop-save-buffer): Make defvar-local; adjust docstring.
12159 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
12160 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
12161
12162 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
12163
12164 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
12165
12166 2013-07-12 Eli Zaretskii <eliz@gnu.org>
12167
12168 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
12169 (Bug#14842)
12170
12171 2013-07-12 Glenn Morris <rgm@gnu.org>
12172
12173 * doc-view.el: Require cl-lib at runtime too.
12174 (doc-view-remove-if): Remove.
12175 (doc-view-search-next-match, doc-view-search-previous-match):
12176 Use cl-remove-if.
12177
12178 * edmacro.el: Require cl-lib at runtime too.
12179 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
12180 (edmacro-mismatch, edmacro-subseq): Remove.
12181
12182 * shadowfile.el: Require cl-lib.
12183 (shadow-remove-if): Remove.
12184 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
12185 Use cl-remove-if.
12186
12187 * wid-edit.el: Require cl-lib.
12188 (widget-choose): Use cl-remove-if.
12189 (widget-remove-if): Remove.
12190
12191 * progmodes/ebrowse.el: Require cl-lib at runtime too.
12192 (ebrowse-delete-if-not): Remove.
12193 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
12194 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
12195 Use cl-delete-if-not.
12196
12197 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
12198
12199 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
12200 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
12201
12202 2013-07-12 Leo Liu <sdl.web@gmail.com>
12203
12204 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
12205
12206 2013-07-11 Glenn Morris <rgm@gnu.org>
12207
12208 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
12209 (edebug-gensym-index, edebug-gensym):
12210 Remove reimplementation of cl-gensym.
12211 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
12212
12213 * thumbs.el: Require cl-lib at run-time too.
12214 (thumbs-gensym-counter, thumbs-gensym):
12215 Remove reimplementation of cl-gensym.
12216 (thumbs-temp-file): Use cl-gensym.
12217
12218 * emacs-lisp/ert.el: Require cl-lib at runtime too.
12219 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
12220 (ert--intersection, ert--set-difference, ert--set-difference-eq)
12221 (ert--union, ert--gensym-counter, ert--gensym-counter)
12222 (ert--coerce-to-vector, ert--remove*, ert--string-position)
12223 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
12224 (ert-make-test-unbound, ert--expand-should-1)
12225 (ert--expand-should, ert--should-error-handle-error)
12226 (should-error, ert--explain-equal-rec)
12227 (ert--plist-difference-explanation, ert-select-tests)
12228 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
12229 Use cl-lib functions rather than reimplementations.
12230
12231 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
12232
12233 * net/tramp.el (tramp-methods): Extend docstring.
12234 (tramp-connection-timeout): New defcustom.
12235 (tramp-error-with-buffer): Reset timestamp only when appropriate.
12236 (with-tramp-progress-reporter): Simplify.
12237 (tramp-process-actions): Improve messages.
12238
12239 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
12240 * net/tramp-sh.el (tramp-maybe-open-connection):
12241 Use `tramp-connection-timeout'.
12242 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
12243 (Bug#14808)
12244
12245 2013-07-11 Leo Liu <sdl.web@gmail.com>
12246
12247 * ido.el (ido-read-file-name): Conform to the requirements of
12248 read-file-name. (Bug#11861)
12249 (ido-read-directory-name): Conform to the requirements of
12250 read-directory-name.
12251
12252 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
12253
12254 * subr.el (delay-warning): New function.
12255
12256 2013-07-10 Eli Zaretskii <eliz@gnu.org>
12257
12258 * simple.el (default-line-height): New function.
12259 (line-move-partial, line-move): Use it instead of computing the
12260 line height inline.
12261 (line-move-partial): Always compute ROWH. If the last line is
12262 partially-visible, but its text is completely visible, allow
12263 cursor to enter such a partially-visible line.
12264
12265 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
12266
12267 Improve error messages. (Bug#14808)
12268
12269 * net/tramp.el (tramp-current-connection): New defvar, moved from
12270 tramp-sh.el.
12271 (tramp-message-show-progress-reporter-message): Remove, not
12272 needed anymore.
12273 (tramp-error-with-buffer): Show message in minibuffer.
12274 Discard input before waiting. Reset connection timestamp.
12275 (with-tramp-progress-reporter): Improve messages.
12276 (tramp-process-actions): Use progress reporter. Delete process in
12277 case of error. Improve messages.
12278
12279 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
12280 Call `tramp-error-with-buffer' with vector and buffer.
12281 (tramp-current-connection): Remove.
12282 (tramp-maybe-open-connection): The car of
12283 `tramp-current-connection' are the first 3 slots of the vector.
12284
12285 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
12286
12287 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
12288 inside continued strings.
12289
12290 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
12291
12292 Timestamp fixes for undo (Bug#14824).
12293 * files.el (clear-visited-file-modtime): Move here from fileio.c.
12294
12295 2013-07-10 Leo Liu <sdl.web@gmail.com>
12296
12297 * files.el (require-final-newline): Allow safe local value.
12298 (Bug#14834)
12299
12300 2013-07-09 Leo Liu <sdl.web@gmail.com>
12301
12302 * ido.el (ido-read-directory-name): Handle fallback.
12303 (ido-read-file-name): Update DIR to ido-current-directory.
12304 (Bug#1516)
12305 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
12306
12307 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
12308
12309 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
12310 "autoload". Remove "warn lower camel case" section, previously
12311 commented out. Highlight negation char. Do not highlight the
12312 target in singleton method definitions.
12313
12314 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12315
12316 * faces.el (tty-setup-hook): Declare the hook.
12317
12318 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
12319 and detect when a guard/pred depends on local vars (bug#14773).
12320 (pcase--u1): Adjust caller.
12321
12322 2013-07-08 Eli Zaretskii <eliz@gnu.org>
12323
12324 * simple.el (line-move-partial, line-move): Account for
12325 line-spacing.
12326 (line-move-partial): Avoid setting vscroll when the last
12327 partially-visible line in window is of default height.
12328
12329 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12330
12331 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
12332 been used a while.
12333
12334 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
12335
12336 * subr.el (read-quoted-char): Remove unused local variable `char'.
12337
12338 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
12339
12340 * vc/ediff.el (ediff-version): Version update.
12341 (ediff-files-command, ediff3-files-command, ediff-merge-command)
12342 (ediff-merge-with-ancestor-command, ediff-directories-command)
12343 (ediff-directories3-command, ediff-merge-directories-command)
12344 (ediff-merge-directories-with-ancestor-command): New functions.
12345 All are command-line interfaces to ediff: to facilitate calling
12346 Emacs with the appropriate ediff functions invoked.
12347
12348 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
12349 New function.
12350 (viper-save-kill-buffer): Check if buffer is modified.
12351
12352 * emulation/viper.el (viper-version): Version update.
12353 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
12354
12355 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
12356
12357 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
12358 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
12359 (viper-intercept-ESC-key): Simplify.
12360 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
12361 don't use kbd.
12362 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
12363 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
12364 (viper-setup-ESC-to-escape): New functions.
12365 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
12366 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
12367
12368 2013-07-07 Eli Zaretskii <eliz@gnu.org>
12369
12370 * simple.el (default-font-height, window-screen-lines):
12371 New functions.
12372 (line-move, line-move-partial): Use them instead of
12373 frame-char-height and window-text-height. This makes scrolling
12374 text smoother when the buffer's default face uses a font that is
12375 different from the frame's default font.
12376
12377 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
12378
12379 * files.el (write-file): Do not display confirm dialog for NS,
12380 it does its own dialog, which can't be canceled (Bug#14578).
12381
12382 2013-07-06 Eli Zaretskii <eliz@gnu.org>
12383
12384 * simple.el (line-move-partial): Adjust the row returned by
12385 posn-at-point for the current window-vscroll. (Bug#14567)
12386
12387 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
12388
12389 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
12390 (tramp-sh-file-inotifywait-process-filter): Handle file names with
12391 spaces.
12392
12393 2013-07-06 Martin Rudalics <rudalics@gmx.at>
12394
12395 * window.el (window-state-put-stale-windows): New variable.
12396 (window--state-put-2): Save list of windows without matching buffer.
12397 (window-state-put): Remove "bufferless" windows if possible.
12398
12399 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12400
12401 * simple.el (alternatives-define): Remove leftover :group keyword.
12402 Tweak docstring.
12403
12404 2013-07-06 Leo Liu <sdl.web@gmail.com>
12405
12406 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
12407 (ido-enable-virtual-buffers): New variable.
12408 (ido-buffer-internal, ido-toggle-virtual-buffers)
12409 (ido-make-buffer-list): Use it.
12410 (ido-exhibit): Support turning on and off virtual buffers
12411 automatically.
12412
12413 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12414
12415 * simple.el (alternatives-define): New macro.
12416
12417 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
12418
12419 * subr.el (read-quoted-char): Use read-key.
12420 (sit-for): Let read-event decode tty input (bug#14782).
12421
12422 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
12423
12424 * calendar/todo-mode.el: Add handling of file deletion, both by
12425 mode command and externally. Fix various related bugs.
12426 Clarify Commentary and improve some documentation strings and code.
12427 (todo-delete-file): New command.
12428 (todo-check-file): New function.
12429 (todo-show): Handle external deletion of the file we're trying to
12430 show (bug#14688). Replace called-interactively-p by an optional
12431 prefix argument to avoid problematic interaction with catch form
12432 when byte compiled (bug#14702).
12433 (todo-quit): Handle external deletion of the archive's todo file.
12434 Make sure the buffer that was visiting the archive file is still
12435 live before trying to bury it.
12436 (todo-category-completions): Handle external deletion of any
12437 category completion files.
12438 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
12439 of todo files, in case of external deletion.
12440 (todo-add-file): Replace unnecessary setq by let-binding.
12441 (todo-find-archive): Check whether there are any archives.
12442 Replace unnecessary setq by let-binding.
12443 (todo-archive-done-item): Use find-file-noselect to get the
12444 archive buffer whether or not the archive already exists.
12445 Remove superfluous code. Use file size instead of buffer-file-name to
12446 check if the archive is new; if it is, update list of archives.
12447 (todo-default-todo-file): Allow nil to be a valid value for when
12448 there are no todo files.
12449 (todo-reevaluate-default-file-defcustom): Use corrected definition
12450 of todo-default-todo-file.
12451 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
12452 (todo-delete-category, todo-show-categories-table)
12453 (todo-category-number): Clarify comment.
12454 (todo-filter-items): Clarify documentation string.
12455 (todo-show-current-file, todo-display-as-todo-file)
12456 (todo-reset-and-enable-done-separator): Tweak documentation string.
12457 (todo-done-separator): Make separator length window-width, since
12458 bug#2749 is now fixed.
12459
12460 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
12461
12462 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12463 Support both "gvfs-monitor-dir" and "inotifywait".
12464 (tramp-sh-file-inotifywait-process-filter): Rename from
12465 `tramp-sh-file-notify-process-filter'.
12466 (tramp-sh-file-gvfs-monitor-dir-process-filter)
12467 (tramp-get-remote-gvfs-monitor-dir): New defuns.
12468
12469 2013-07-05 Leo Liu <sdl.web@gmail.com>
12470
12471 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
12472
12473 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12474
12475 * frame.el (display-pixel-height, display-pixel-width)
12476 (display-mm-height, display-mm-width): Mention behavior on
12477 multi-monitor setups in docstrings.
12478 (w32-display-monitor-attributes-list): Declare function.
12479 (display-monitor-attributes-list): Use it.
12480
12481 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
12482
12483 * filenotify.el: New package.
12484
12485 * autorevert.el (top): Require filenotify.el.
12486 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
12487 instead.
12488 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12489 (auto-revert-notify-handler): Use `file-notify-*' functions.
12490
12491 * subr.el (file-notify-handle-event): Move function to filenotify.el.
12492
12493 * net/tramp.el (tramp-file-name-for-operation):
12494 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
12495
12496 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
12497 for `file-notify-add-watch' and `file-notify-rm-watch'.
12498 (tramp-process-sentinel): Improve trace.
12499 (tramp-sh-handle-file-notify-add-watch)
12500 (tramp-sh-file-notify-process-filter)
12501 (tramp-sh-handle-file-notify-rm-watch)
12502 (tramp-get-remote-inotifywait): New defuns.
12503
12504 2013-07-03 Juri Linkov <juri@jurta.org>
12505
12506 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
12507 call of `occur-read-primary-args' to interactive spec.
12508
12509 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
12510 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
12511
12512 2013-07-03 Matthias Meulien <orontee@gmail.com>
12513
12514 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
12515 `Buffer-menu-multi-occur'. Add it to the menu.
12516 (Buffer-menu-mode): Document it in docstring.
12517 (Buffer-menu-multi-occur): New command. (Bug#14673)
12518
12519 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12520
12521 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
12522 keywords and built-ins.
12523
12524 2013-07-03 Glenn Morris <rgm@gnu.org>
12525
12526 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
12527
12528 Make info-xref checks case-sensitive by default
12529 * info.el (Info-find-node, Info-find-in-tag-table)
12530 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
12531 Add option for exact case matching of nodes.
12532 * info-xref.el (info-xref): New custom group.
12533 (info-xref-case-fold): New option.
12534 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
12535
12536 2013-07-03 Leo Liu <sdl.web@gmail.com>
12537
12538 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
12539
12540 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12541
12542 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
12543 middle of block statement initially, lower the depth. Remove
12544 FIXME comment, not longer valid. Remove middle of block statement
12545 detection, no need to do that anymore since we've been using
12546 `ruby-parse-region' here.
12547
12548 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
12549
12550 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
12551
12552 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
12553
12554 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
12555
12556 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
12557
12558 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
12559 (desktop-restore-in-current-display): New customization option.
12560 (desktop--excluded-frame-parameters): Add `font'.
12561 (desktop--save-frames): Rename from desktop--save-windows.
12562 (desktop--restore-in-this-display-p): New function.
12563 (desktop--make-full-frame): Remove unwanted width/height from
12564 full(width|height) frames.
12565 (desktop--restore-frames): Rename from desktop--restore-windows.
12566 Obey desktop-restore-current-display. Do not delete old frames or
12567 select a new frame unless we were able to restore at least one frame.
12568
12569 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
12570
12571 * files.el (find-file-noselect): Simplify conditional expression.
12572
12573 * textmodes/remember.el (remember-append-to-file):
12574 Don't mix `find-buffer-visiting' and `get-file-buffer'.
12575
12576 Add `remember-notes' function to store random notes across Emacs
12577 restarts.
12578 * textmodes/remember.el (remember-data-file): Add :set callback to
12579 affect notes buffer (if any).
12580 (remember-notes): New command.
12581 (remember-notes-buffer-name, bury-remember-notes-on-kill):
12582 New defcustoms for the `remember-notes' function.
12583 (remember-notes-save-and-bury-buffer): New command.
12584 (remember-notes-mode-map): New variable.
12585 (remember-mode): New minor mode.
12586 (remember-notes--kill-buffer-query): New function.
12587 * startup.el (initial-buffer-choice): Add notes to custom type.
12588
12589 2013-06-30 Eli Zaretskii <eliz@gnu.org>
12590
12591 * bindings.el (right-char, left-char): Don't call sit-for, this is
12592 no longer needed. Use arithmetic comparison only for numerical
12593 arguments.
12594
12595 * international/mule-cmds.el (select-safe-coding-system):
12596 Handle the case of FROM being a string correctly. (Bug#14755)
12597
12598 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12599
12600 * net/shr.el (shr-make-table-1): Add a sanity check that allows
12601 progression on degenerate tables.
12602 (shr-rescale-image): ImageMagick animated images currently don't work.
12603
12604 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
12605
12606 Some fixes and improvements for desktop frame restoration.
12607 It is still experimental and disabled by default.
12608 * desktop.el (desktop--save-windows): Put the selected frame at
12609 the head of the list.
12610 (desktop--make-full-frame): New function.
12611 (desktop--restore-windows): Try to re-select the frame that was
12612 selected upon saving. Do not abort if some frames fail to restore,
12613 just show an error message and continue. Set up maximized frames
12614 so they have default non-maximized dimensions.
12615
12616 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
12617
12618 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12619 Don't start heredoc inside a string or comment.
12620
12621 2013-06-29 Eli Zaretskii <eliz@gnu.org>
12622
12623 * bindings.el (visual-order-cursor-movement): New defcustom.
12624 (right-char, left-char): Provide visual-order cursor motion by
12625 calling move-point-visually. Update the doc strings.
12626
12627 2013-06-28 Kenichi Handa <handa@gnu.org>
12628
12629 * international/mule.el (define-coding-system): New coding system
12630 properties :inhibit-null-byte-detection,
12631 :inhibit-iso-escape-detection, and :prefer-utf-8.
12632 (set-buffer-file-coding-system): If :charset-list property of
12633 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12634 appropriate for setting.
12635
12636 * international/mule-cmds.el (select-safe-coding-system):
12637 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12638 multibyte characters, return utf-8 (or one of its siblings).
12639
12640 * international/mule-conf.el (prefer-utf-8): New coding system.
12641 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12642 files.
12643
12644 2013-06-28 Ivan Kanis <ivan@kanis.fr>
12645
12646 * net/shr.el (shr-render-region): New function.
12647
12648 * net/eww.el: Autoload `eww-browse-url'.
12649
12650 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
12651
12652 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12653 Adapt to `package-desc-version' being a list.
12654 Use `package--ac-desc-version' to retrieve version from a package
12655 archive element.
12656
12657 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
12658
12659 New experimental feature to save&restore window and frame setup.
12660 * desktop.el (desktop-save-windows): New defcustom.
12661 (desktop--saved-states): New var.
12662 (desktop--excluded-frame-parameters): New defconst.
12663 (desktop--filter-frame-parms, desktop--find-frame-in-display)
12664 (desktop--restore-windows, desktop--save-windows): New functions.
12665 (desktop-save): Call `desktop--save-windows'.
12666 (desktop-read): Call `desktop--restore-windows'.
12667
12668 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12669
12670 * net/shr.el (add-face-text-property): Remove compat definition.
12671
12672 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12673
12674 * info.el (Info-try-follow-nearest-node): Move search for footnote
12675 above search for node name to prevent missing a footnote (bug#14717).
12676
12677 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12678
12679 * obsolete/otodo-mode.el: Add obsolescence info to file header.
12680
12681 2013-06-27 Leo Liu <sdl.web@gmail.com>
12682
12683 * net/eww.el (eww-read-bookmarks): Check file size.
12684
12685 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12686
12687 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12688 advice--pending if newdef is nil or an autoload (bug#13820).
12689 (advice-mapc): New function.
12690
12691 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12692
12693 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12694 probably.
12695 (eww-mode-map): Add a menu bar.
12696 (eww-add-bookmark): New command.
12697 (eww-bookmark-mode): New mode and commands.
12698 (eww-add-bookmark): Remove newlines from the title.
12699 (eww-bookmark-browse): Don't bug out if it's the only window.
12700
12701 2013-06-26 Glenn Morris <rgm@gnu.org>
12702
12703 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12704 (hfy-size): Handle ttys. (Bug#14668)
12705
12706 * info-xref.el: Update for Texinfo 5 change in *note format.
12707 (info-xref-node-re, info-xref-note-re): New constants.
12708 (info-xref-check-buffer): Use info-xref-note-re.
12709
12710 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12711
12712 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12713
12714 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12715 nil terminate the loop (bug#14718).
12716
12717 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12718
12719 * net/eww.el: Rework history traversal. When going forward/back,
12720 put these actions into the history, too, so that they can be
12721 replayed.
12722 (eww-render): Move the history reset to the correct buffer.
12723
12724 2013-06-25 Juri Linkov <juri@jurta.org>
12725
12726 * files-x.el (modify-dir-local-variable): Change the header comment
12727 in the file with directory local variables. (Bug#14692)
12728
12729 * files-x.el (read-file-local-variable-value): Add `default'.
12730 (Bug#14710)
12731
12732 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12733
12734 * net/eww.el (eww-make-unique-file-name): Create a unique file
12735 name before saving to entering `y' accidentally asynchronously.
12736
12737 2013-06-25 Ivan Kanis <ivan@kanis.fr>
12738
12739 * net/eww.el (eww-download): New command and keystroke.
12740
12741 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12742
12743 * net/eww.el (eww-copy-page-url): Change name of command.
12744
12745 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12746 be more consistent with Info and dired.
12747
12748 * net/eww.el (eww-mode-map): Ditto.
12749
12750 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12751
12752 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12753 packages from archives.
12754 (package-archive-contents): Change format; include obsolete packages.
12755 (package-desc): Use `dir' to mark builtin packages.
12756 (package--from-builtin): Set the `dir' field to `builtin'.
12757 (generated-autoload-file, version-control): Declare.
12758 (package-compute-transaction): Change first arg and return value to be
12759 lists of package-descs. Adjust to new package-archive-contents format.
12760 (package--add-to-archive-contents): Adjust to new
12761 package-archive-contents format.
12762 (package-download-transaction): Arg is now a list of package-descs.
12763 (package-install): If `pkg' is a package name, pass it as
12764 a requirement, so it is subject to the usual (e.g. disabled) checks.
12765 (describe-package): Accept package-desc as well.
12766 (describe-package-1): Describe a specific package-desc. Add links to
12767 other package-descs for the same package name.
12768 (package-menu-describe-package): Pass the actual package-desc.
12769 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12770 works correctly.
12771 (package-desc-status): New function.
12772 (package-menu--refresh): New function, extracted
12773 from package-menu--generate.
12774 (package-menu--generate): Use it.
12775 (package-delete): Update package-alist.
12776 (package-menu-execute): Don't call package-initialize.
12777
12778 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12779 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12780 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12781 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12782 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12783 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12784
12785 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12786
12787 * window.el (window--state-get-1): Workaround for bug#14527.
12788 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12789
12790 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12791
12792 * net/eww.el (eww-back-url): Implement the history by stashing all
12793 the data into a list.
12794 (eww-forward-url): Allow going forward in the history, too.
12795
12796 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12797
12798 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12799 for values and use read--expression for expressions (bug#14710).
12800 (read-file-local-variable): Avoid setq.
12801 (read-file-local-variable-mode): Use minor-mode-list.
12802
12803 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12804
12805 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12806 for DOI URLs.
12807
12808 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12809
12810 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12811 Update imenu-support when dialect changes.
12812
12813 2013-06-25 Leo Liu <sdl.web@gmail.com>
12814
12815 * ido.el (ido-read-internal): Allow forward slash on windows.
12816
12817 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12818
12819 * net/eww.el (eww): Start of strings is \\`, not ^.
12820
12821 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12822
12823 * net/shr.el (shr-browse-url): Fix interactive spec.
12824
12825 * net/eww.el (eww): Add a trailing slash to domain names.
12826
12827 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12828
12829 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12830
12831 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12832
12833 * net/shr.el (shr-browse-url): Use an external browser if given a
12834 prefix.
12835
12836 * net/eww.el (eww-external-browser): Move to shr.
12837
12838 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12839
12840 * net/eww.el (eww): Work more correctly for file: URLs.
12841 (eww-detect-charset): Allow quoted charsets.
12842 (eww-yank-page-url): New command and keystroke.
12843
12844 2013-06-24 Daiki Ueno <ueno@gnu.org>
12845
12846 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12847 file name of gpg executable.
12848 (epg-context-program): New function.
12849 (epg-context-home-directory): New function.
12850 (epg-context-set-program): New function.
12851 (epg-context-set-home-directory): New function.
12852 (epg--start): Use `epg-context-program' instead of
12853 'epg-gpg-program'.
12854 (epg--list-keys-1): Likewise.
12855
12856 2013-06-24 Leo Liu <sdl.web@gmail.com>
12857
12858 * ido.el (ido-read-internal): Fix bug#14620.
12859
12860 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12861
12862 * faces.el (face-documentation): Simplify.
12863 (read-face-attribute, tty-find-type, x-resolve-font-name):
12864 Use `string-match-p'.
12865 (list-faces-display): Use `string-match-p'. Simplify.
12866 (face-spec-recalc): Check face to avoid face alias loops.
12867 (read-color): Use `string-match-p' and non-capturing parenthesis.
12868
12869 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12870
12871 * net/shr.el (shr-rescale-image): Use the new
12872 :max-width/:max-height functionality.
12873
12874 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12875
12876 * net/eww.el (eww-search-prefix): New variable.
12877 (eww): Use it.
12878 (eww-external-browser): New variable.
12879 (eww-mode-map): New keystroke.
12880 (eww-browse-with-external-browser): New command.
12881
12882 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12883
12884 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12885
12886 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12887 Don't skip aligning the next header field when padding is 0;
12888 otherwise, field width is not respected unless the title is as
12889 wide as the field.
12890
12891 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12892
12893 * emacs-lisp/package.el (package-el-version): Remove.
12894 (package-process-define-package): Fix inf-loop.
12895 (package-install): Allow symbols as arguments again.
12896
12897 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12898
12899 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12900 add some more keyword-like methods.
12901 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12902
12903 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12904
12905 * bs.el (bs-buffer-show-mark): Make defvar-local.
12906 (bs-mode): Use setq-local.
12907
12908 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12909 (emacs-lock--try-unlocking): Make defvar-local.
12910
12911 2013-06-22 Glenn Morris <rgm@gnu.org>
12912
12913 * play/cookie1.el (cookie-apropos): Minor simplification.
12914
12915 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12916
12917 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12918
12919 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12920 `regexp-opt', it breaks the build during dumping.
12921
12922 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12923
12924 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12925 Highlight keyword-like methods on Kernel and Module with
12926 font-lock-builtin-face.
12927 (auto-mode-alist): Consolidate different entries into one regexp
12928 and add more *file-s.
12929
12930 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12931
12932 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12933
12934 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12935 (diary-entry): Use it in the action of this button type instead of
12936 diary-goto-entry.
12937
12938 * calendar/todo-mode.el: New version.
12939 (todo-add-category): Append new category to end of file and give
12940 it the highest number, instead of putting it at the beginning and
12941 giving it 0. Incorporate noninteractive functionality.
12942 (todo-forward-category): Adapt to 1-based category numbering.
12943 Allow skipping over archived categories.
12944 (todo-backward-category): Derive from todo-forward-category.
12945 (todo-backward-item, todo-forward-item): Make noninteractive and
12946 delegate interactive part to new commands. Make sensitive to done items.
12947 (todo-categories): Make value an alist of category names and
12948 vectors of item counts.
12949 (todo-category-beg): Make a defconst.
12950 (todo-category-number): Use 1 instead of 0 as initial value.
12951 (todo-category-select): Make sensitive to overlays, optional item
12952 highlighting and done items.
12953 (todo-delete-item): Make sensitive to overlays and marked and done items.
12954 (todo-edit-item): Make sensitive to overlays and editing of
12955 date/time header optional. Add format checks.
12956 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12957 no-op if point is not on an item. Advertise using todo-edit-quit.
12958 (todo-edit-mode): Make sensitive to new format, font-locking, and
12959 multiple todo files.
12960 (todo-insert-item, todo-insert-item-here): Derive from
12961 todo-basic-insert-item and extend functionality.
12962 (todo-item-end, todo-item-start): Make sensitive to done items.
12963 (todo-item-string): Don't return text properties. Restore point.
12964 (todo-jump-to-category): Make sensitive to multiple todo files and
12965 todo archives. Use extended category completion.
12966 (todo-lower-item, todo-raise-item): Rename to *-priority and
12967 derive from todo-set-item-priority.
12968 (todo-mode): Derive from special-mode. Make sensitive to new
12969 format, font-locking and multiple todo files. Make read-only.
12970 (todo-mode-map): Don't suppress digit keys, so they can supply
12971 prefix arguments. Add many new key bindings.
12972 (todo-prefix): Insert as an overlay instead of file text.
12973 Change semantics from diary date expression to purely visual mark.
12974 (todo-print): Rename to todo-print-buffer. Make buffer display
12975 features printable. Remove option to restrict number of items
12976 printed. Add option to print to file.
12977 (todo-print-function): Rename to todo-print-buffer-function.
12978 (todo-quit): Extend to handle exiting new todo modes.
12979 (todo-remove-item): Make sensitive to overlays.
12980 (todo-save): Extend to buffers of filtered items.
12981 (todo-show): Make sensitive to done items, multiple todo files and
12982 new todo modes. Offer to convert legacy todo file before creating
12983 first new todo file.
12984 (todo-show-priorities): Rename to todo-top-priorities.
12985 Change semantics of value 0.
12986 (todo-top-priorities): Rename to todo-filter-top-priorities,
12987 derive from todo-filter-items and extend functionality.
12988 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12989 and extend functionality to other types of filtered items.
12990 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12991 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12992 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12993 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12994 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12995 (todo-edit-mode-hook, todo-entry-prefix-function)
12996 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12997 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12998 (todo-initials, todo-insert-threshold, todo-item-string-start)
12999 (todo-line-string, todo-menu, todo-mode-hook)
13000 (todo-more-important-p, todo-previous-answer, todo-previous-line)
13001 (todo-print-priorities, todo-remove-separator)
13002 (todo-save-top-priorities-too, todo-string-count-lines)
13003 (todo-string-multiline-p, todo-time-string-format)
13004 (todo-tmp-buffer-name): Remove.
13005 (todo-add-file, todo-archive-done-item, todo-choose-archive)
13006 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
13007 (todo-edit-category-diary-inclusion)
13008 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
13009 (todo-edit-file, todo-edit-item-date-day)
13010 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
13011 (todo-edit-item-date-month, todo-edit-item-date-to-today)
13012 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
13013 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
13014 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
13015 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
13016 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
13017 (todo-filter-top-priorities-multifile, todo-find-archive)
13018 (todo-find-filtered-items-file, todo-go-to-source-item)
13019 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
13020 (todo-jump-to-archive-category, todo-lower-category)
13021 (todo-mark-category, todo-marked-item-p, todo-merge-category)
13022 (todo-move-category, todo-move-item, todo-next-button)
13023 (todo-next-item, todo-padded-string, todo-powerset)
13024 (todo-previous-button, todo-previous-item)
13025 (todo-print-buffer-to-file, todo-raise-category)
13026 (todo-rename-category, todo-repair-categories-sexp, todo-search)
13027 (todo-set-category-number, todo-set-item-priority)
13028 (todo-set-top-priorities-in-category)
13029 (todo-set-top-priorities-in-file, todo-show-categories-table)
13030 (todo-sort-categories-alphabetically-or-numerically)
13031 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
13032 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
13033 (todo-toggle-item-header, todo-toggle-item-highlighting)
13034 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
13035 (todo-toggle-view-done-items, todo-toggle-view-done-only)
13036 (todo-unarchive-items, todo-unmark-category): New commands.
13037 (todo-absolute-file-name, todo-add-to-buffer-list)
13038 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
13039 (todo-basic-insert-item, todo-category-completions)
13040 (todo-category-number, todo-category-string-matcher-1)
13041 (todo-category-string-matcher-2, todo-check-filtered-items-file)
13042 (todo-check-format, todo-clear-matches)
13043 (todo-comment-string-matcher, todo-convert-legacy-date-time)
13044 (todo-current-category, todo-date-string-matcher)
13045 (todo-define-insertion-command, todo-diary-expired-matcher)
13046 (todo-diary-goto-entry, todo-diary-item-p)
13047 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
13048 (todo-display-categories, todo-display-sorted, todo-done-item-p)
13049 (todo-done-item-section-p, todo-done-separator)
13050 (todo-done-string-matcher, todo-files, todo-filter-items)
13051 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
13052 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
13053 (todo-insert-category-line, todo-insert-item-from-calendar)
13054 (todo-insert-sort-button, todo-insert-with-overlays)
13055 (todo-insertion-command-name, todo-insertion-key-bindings)
13056 (todo-label-to-key, todo-longest-category-name-length)
13057 (todo-make-categories-list, todo-mode-external-set)
13058 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
13059 (todo-modes-set-3, todo-multiple-filter-files)
13060 (todo-nondiary-marker-matcher, todo-prefix-overlays)
13061 (todo-read-category, todo-read-date, todo-read-dayname)
13062 (todo-read-file-name, todo-read-time)
13063 (todo-reevaluate-category-completions-files-defcustom)
13064 (todo-reevaluate-default-file-defcustom)
13065 (todo-reevaluate-filelist-defcustoms)
13066 (todo-reevaluate-filter-files-defcustom)
13067 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
13068 (todo-reset-done-separator, todo-reset-done-separator-string)
13069 (todo-reset-done-string, todo-reset-global-current-todo-file)
13070 (todo-reset-highlight-item, todo-reset-nondiary-marker)
13071 (todo-reset-prefix, todo-set-categories)
13072 (todo-set-date-from-calendar, todo-set-show-current-file)
13073 (todo-set-top-priorities, todo-short-file-name)
13074 (todo-show-current-file, todo-sort, todo-time-string-matcher)
13075 (todo-total-item-counts, todo-update-buffer-list)
13076 (todo-update-categories-display, todo-update-categories-sexp)
13077 (todo-update-count, todo-validate-name, todo-y-or-n-p):
13078 New functions.
13079 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
13080 New major modes.
13081 (todo-categories, todo-display, todo-edit, todo-faces)
13082 (todo-filtered): New defgroups.
13083 (todo-archived-only, todo-button, todo-category-string, todo-date)
13084 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
13085 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
13086 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
13087 (todo-add-item-if-new-category, todo-always-add-time-string)
13088 (todo-categories-align, todo-categories-archived-label)
13089 (todo-categories-category-label, todo-categories-diary-label)
13090 (todo-categories-done-label, todo-categories-number-separator)
13091 (todo-categories-todo-label, todo-categories-totals-label)
13092 (todo-category-completions-files, todo-completion-ignore-case)
13093 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
13094 (todo-done-separator-string, todo-done-string)
13095 (todo-files-function, todo-filter-done-items, todo-filter-files)
13096 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
13097 (todo-initial-category, todo-initial-file, todo-item-mark)
13098 (todo-legacy-date-time-regexp, todo-mode-line-function)
13099 (todo-nondiary-marker, todo-number-prefix)
13100 (todo-print-buffer-function, todo-show-current-file)
13101 (todo-show-done-only, todo-show-first, todo-show-with-done)
13102 (todo-skip-archived-categories, todo-top-priorities-overrides)
13103 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
13104 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
13105 New defcustoms.
13106 (todo-category-done, todo-date-pattern, todo-date-string-start)
13107 (todo-diary-items-buffer, todo-done-string-start)
13108 (todo-filtered-items-buffer, todo-item-start)
13109 (todo-month-abbrev-array, todo-month-name-array)
13110 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
13111 (todo-top-priorities-buffer): New defconsts.
13112 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
13113 (todo-categories-with-marks, todo-category-string-face)
13114 (todo-comment-face, todo-comment-string, todo-current-todo-file)
13115 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
13116 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
13117 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
13118 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
13119 (todo-font-lock-keywords, todo-global-current-todo-file)
13120 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
13121 (todo-insertion-commands-args)
13122 (todo-insertion-commands-args-genlist)
13123 (todo-insertion-commands-names, todo-insertion-map)
13124 (todo-key-bindings-t, todo-key-bindings-t+a)
13125 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
13126 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
13127 (todo-nondiary-face, todo-print-buffer, todo-time-face)
13128 (todo-visited): New variables.
13129
13130 2013-06-21 Glenn Morris <rgm@gnu.org>
13131
13132 * play/cookie1.el (cookie-apropos): Add optional display argument.
13133 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
13134 (psychoanalyze-pinhead): Use cookie-doctor.
13135
13136 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13137
13138 * emacs-lisp/package.el (tar-get-file-descriptor)
13139 (tar--extract): Declare.
13140
13141 2013-06-21 Eduard Wiebe <usenet@pusto.de>
13142
13143 Extend flymake's warning predicate to be a function (bug#14217).
13144 * progmodes/flymake.el (flymake-warning-predicate): New.
13145 (flymake-parse-line): Use it.
13146 (flymake-warning-re): Make obsolete alias to
13147 `flymake-warning-predicate'.
13148
13149 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13150
13151 * emacs-lisp/package.el (package-alist): Include obsolete packages.
13152 (package-obsolete-list): Remove.
13153 (package-activate): Remove min-version argument. Add `force' argument.
13154 Adjust to new package-alist format.
13155 (package-mark-obsolete): Remove.
13156 (package-unpack): Force reload of the package's autoloads.
13157 (package-installed-p): Check builtins if the installed package is not
13158 recent enough.
13159 (package-initialize): Don't reset package-obsolete-list.
13160 Don't specify which package version to activate.
13161 (package-process-define-package, describe-package-1)
13162 (package-menu--generate): Adjust to new package-alist format.
13163
13164 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13165
13166 * allout-widgets.el (allout-widgets-mode-off)
13167 (allout-widgets-mode-on, allout-widgets-pre-command-business)
13168 (allout-widgets-post-command-business)
13169 (allout-widgets-after-copy-or-kill-function)
13170 (allout-widgets-after-undo-function, allout-test-range-overlaps)
13171 (allout-decorate-item-and-context)
13172 (allout-graphics-modification-handler): Fix typos in docstrings.
13173 (allout-get-or-create-parent-widget): Use `looking-at-p'.
13174
13175 * cmuscheme.el (scheme-start-file): Doc fix.
13176 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
13177 (scheme-input-filter): Use `string-match-p'.
13178
13179 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
13180
13181 * dired-x.el: Use Dired consistently in docstrings.
13182
13183 * dired.el: Use Dired consistently in docstrings.
13184 (dired-readin, dired-mode): Use `setq-local'.
13185 (dired-switches-alist): Make defvar-local.
13186 (dired-buffers-for-dir): Use `zerop'.
13187 (dired-safe-switches-p, dired-switches-escape-p)
13188 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
13189 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
13190 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
13191 (dired-goto-next-nontrivial-file): Use `string-match-p'.
13192 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
13193 (dired-toggle-marks, dired-mark-files-containing-regexp)
13194 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
13195 (dired-flag-auto-save-files, dired-flag-backup-files):
13196 Use `looking-at-p'.
13197 (dired-mark-files-regexp, dired-build-subdir-alist):
13198 Use `string-match-p', `looking-at-p'.
13199
13200 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
13201 (direct-print-region-helper): Use `string-match-p'.
13202
13203 2013-06-21 Leo Liu <sdl.web@gmail.com>
13204
13205 * comint.el (comint-redirect-results-list-from-process):
13206 Fix infinite loop.
13207
13208 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13209
13210 * net/eww.el (eww-update-header-line-format): Quote % characters.
13211
13212 2013-06-21 Glenn Morris <rgm@gnu.org>
13213
13214 * play/cookie1.el (cookie): New custom group.
13215 (cookie-file): New option.
13216 (cookie-check-file): New function.
13217 (cookie): Make it interactive. Make start and end messages optional.
13218 Interactively, display the result. Default to cookie-file.
13219 (cookie-insert): Default to cookie-file.
13220 (cookie-snarf): Make start and end messages optional.
13221 Default to cookie-file. Use with-temp-buffer.
13222 (cookie-read): Rename from read-cookie.
13223 Make start and end messages optional. Default to cookie-file.
13224 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
13225 Do not autoload it.
13226 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
13227 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
13228
13229 2013-06-21 Leo Liu <sdl.web@gmail.com>
13230
13231 * progmodes/octave.el (octave-mode): Backward compatibility fix.
13232
13233 2013-06-21 Glenn Morris <rgm@gnu.org>
13234
13235 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
13236
13237 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13238 Daniel Hackney <dan@haxney.org>
13239
13240 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
13241 Consolidate the single-file vs tarball code.
13242 (package-desc-suffix): New function.
13243 (package-desc-full-name): Don't bother inlining it.
13244 (package-load-descriptor): Return the new package-desc.
13245 (package-mark-obsolete): Remove unused arg `package'.
13246 (package-unpack): Make it work for single files as well.
13247 Make it update package-alist.
13248 (package--make-autoloads-and-stuff): Rename from
13249 package--make-autoloads-and-compile. Don't compile any more.
13250 (package--compile): New function.
13251 (package-generate-description-file): New function, extracted from
13252 package-unpack-single.
13253 (package-unpack-single): Remove.
13254 (package--with-work-buffer): Add indentation and debugging info.
13255 (package-download-single): Remove.
13256 (package-install-from-archive): Rename from package-download-tar, make
13257 it take a pkg-desc, and make it work for single files as well.
13258 (package-download-transaction): Simplify.
13259 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
13260 external tar program.
13261 (package-install-from-buffer): Remove `pkg-desc' argument.
13262 Use package-tar-file-info for tar-mode buffers.
13263 (package-install-file): Simplify accordingly.
13264 (package-archive-base): Change to take a pkg-desc.
13265 * tar-mode.el (tar--check-descriptor): New function, extracted from
13266 tar-get-descriptor.
13267 (tar-get-descriptor): Use it.
13268 (tar-get-file-descriptor): New function.
13269 (tar--extract): New function, extracted from tar-extract.
13270 (tar--extract): Use it.
13271 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
13272 case the summary uses non-ascii. Adjust to new calling convention of
13273 package-tar-file-info.
13274
13275 2013-06-21 Leo Liu <sdl.web@gmail.com>
13276
13277 * comint.el (comint-redirect-results-list-from-process):
13278 Fix random delay. (Bug#14681)
13279
13280 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13281
13282 * profiler.el (profiler-format-number): Use log, not log10.
13283
13284 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13285
13286 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
13287
13288 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13289
13290 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
13291 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
13292 yet available.
13293 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
13294 (AUTOGENEL): ... here.
13295 * emacs-lisp/cl-macs.el (cl--sublis): New function.
13296 (cl--defsubst-expand): Use it.
13297
13298 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
13299
13300 * subr.el (log10): Move here from C code, and declare as obsolete.
13301 All uses of (log10 X) replaced with (log X 10).
13302
13303 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13304
13305 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
13306 Declare with `defvar-local'.
13307 (tabulated-list-use-header-line, tabulated-list-entries)
13308 (tabulated-list-padding, tabulated-list-printer)
13309 (tabulated-list-sort-key): Declare with `defvar-local'.
13310 (tabulated-list-init-header, tabulated-list-print-fake-header):
13311 Use `setq-local'.
13312
13313 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
13314
13315 * arc-mode.el (archive-mode): Add `archive-write-file' to
13316 `write-contents-functions' also for remote files. (Bug#14652)
13317
13318 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13319
13320 * cus-edit.el (custom-commands): Fix typos.
13321 (custom-display): Fix tooltip text.
13322 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
13323 Fix typos in docstrings.
13324 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
13325 (custom-unlispify-menu-entry, custom-magic-value-create)
13326 (custom-add-see-also, custom-group-value-create): Use ?\s.
13327 (custom-guess-type, customize-apropos, editable-field)
13328 (custom-face-value-create): Use `string-match-p'.
13329 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
13330
13331 * custom.el (custom-load-symbol): Use `string-match-p'.
13332
13333 * ansi-color.el: Convert to lexical binding.
13334 (ansi-colors): Fix URL.
13335 (ansi-color-context, ansi-color-context-region): Use defvar-local.
13336 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
13337 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
13338
13339 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13340
13341 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
13342
13343 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
13344
13345 2013-06-19 Tom Tromey <tromey@redhat.com>
13346
13347 * net/eww.el (eww-top-url): Remove.
13348 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
13349 (eww-render): Set new variables. Don't set eww-top-url.
13350 (eww-handle-link): Handle "prev", "home", and "contents".
13351 Downcase the rel text.
13352 (eww-top-url): Choose best top URL.
13353
13354 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13355
13356 * net/eww.el: Rewrite to implement form elements "by hand" instead of
13357 relying in widget.el. Using widget.el leads to too many
13358 user interface inconsistencies.
13359 (eww-self-insert): Implement entering commands in text fields.
13360 (eww-process-text-input): New function to make text input field editing
13361 work.
13362 (eww-submit): Rewrite to use the new-style form methods.
13363 (eww-select-display): Display the correct selected item.
13364 (eww-change-select): Implement changing the select value.
13365 (eww-toggle-checkbox): Implement radio/checkboxes.
13366 (eww-update-field): Fix compilation error.
13367 (eww-tag-textarea): Implement <textarea>.
13368
13369 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
13370 we don't shadow mode-specific bindings.
13371
13372 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
13373 nothing to push.
13374
13375 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
13376
13377 2013-06-19 Glenn Morris <rgm@gnu.org>
13378
13379 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
13380
13381 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13382
13383 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
13384 not needed.
13385
13386 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
13387
13388 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13389
13390 * net/browse-url.el (browse-url-browser-function):
13391 `eww-browse-url' has the right calling signature, `eww' does not.
13392
13393 2013-06-19 Glenn Morris <rgm@gnu.org>
13394
13395 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13396 Only eval autoloaded macros.
13397 (byte-compile-autoload): Only give the macro warning for macros.
13398
13399 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
13400 (ps-underlined-faces): Declare.
13401
13402 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
13403 (speedbar-add-supported-extension): Declare.
13404
13405 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
13406 Don't include a date stamp in the header of the generated file;
13407 it leads to needless differences between output files.
13408
13409 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13410
13411 * net/secrets.el (secrets-struct-secret-content-type):
13412 Replace check of introspection data by a test call of "CreateItem".
13413 Some servers do not offer introspection.
13414
13415 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
13416
13417 * electric.el (electric-pair-mode): Improve interaction with
13418 electric-layout-mode.
13419 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
13420 (electric-pair-syntax): Use text-mode-syntax-table in comments
13421 and strings.
13422 (electric-pair--insert): New function.
13423 (electric-pair-post-self-insert-function): Use it and
13424 electric--after-char-pos.
13425
13426 2013-06-19 Leo Liu <sdl.web@gmail.com>
13427
13428 * progmodes/octave.el (octave-help): Fix regexp.
13429
13430 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13431
13432 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
13433 (shr-table-horizontal-line): Allow nil as a value, and change the
13434 default.
13435 (shr-insert-table-ruler): Respect the nil value.
13436
13437 2013-06-18 Tom Tromey <tromey@barimba>
13438
13439 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13440 New defvars.
13441 (eww-open-file): New defun.
13442 (eww-render): Initialize new variables.
13443 (eww-display-html): Handle "link" and "a".
13444 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
13445 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
13446 (eww-back-url): Rename from eww-previous-url.
13447 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13448 New defuns.
13449
13450 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
13451
13452 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
13453 Distinguish ternary operator tokens from slash symbol and slash
13454 char literal.
13455
13456 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13457
13458 Convert symbol prettification into minor mode and global minor mode.
13459
13460 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
13461 `prog-prettify-symbols', and make a local defvar instead of defcustom.
13462 (prettify-symbols--keywords): Rename from
13463 `prog-prettify-symbols-alist' and make a local defvar.
13464 (prettify-symbols--compose-symbol): Rename from
13465 `prog--prettify-font-lock-compose-symbol'.
13466 (prettify-symbols--make-keywords): Rename from
13467 `prog-prettify-font-lock-symbols-keywords' and simplify.
13468 (prog-prettify-install): Remove.
13469 (prettify-symbols-mode): New minor mode, based on
13470 `prog-prettify-install'.
13471 (turn-on-prettify-symbols-mode): New function.
13472 (global-prettify-symbols-mode): New globalized minor mode.
13473
13474 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13475 * progmodes/cfengine.el (cfengine3-mode):
13476 * progmodes/perl-mode.el (perl-mode): Don't call
13477 `prog-prettify-install'; set `prettify-symbols-alist' instead.
13478
13479 2013-06-18 Juri Linkov <juri@jurta.org>
13480
13481 * files-x.el (modify-file-local-variable-message): New function.
13482 (modify-file-local-variable)
13483 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
13484 and call `modify-file-local-variable-message' when it's non-nil.
13485 (add-file-local-variable, delete-file-local-variable)
13486 (add-file-local-variable-prop-line)
13487 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
13488 and use it. (Bug#9820)
13489
13490 2013-06-18 Juri Linkov <juri@jurta.org>
13491
13492 * emulation/vi.el (vi-shell-op):
13493 * emulation/vip.el (vip-execute-com, ex-command):
13494 * emulation/viper-cmd.el (viper-exec-bang):
13495 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
13496 the call of `shell-command-on-region'. (Bug#14637)
13497
13498 * simple.el (shell-command-on-region): Doc fix.
13499
13500 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13501
13502 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
13503 (bug#14633).
13504
13505 2013-06-18 Glenn Morris <rgm@gnu.org>
13506
13507 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
13508
13509 * newcomment.el (comment-search-forward, comment-search-backward):
13510 Doc fix. (Bug#14376)
13511
13512 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13513
13514 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
13515 (buffer-face-mode-invoke): Doc fix.
13516
13517 2013-06-18 Matthias Meulien <orontee@gmail.com>
13518
13519 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
13520 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
13521
13522 2013-06-18 Glenn Morris <rgm@gnu.org>
13523
13524 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
13525 Replace obsolete function generic-make-keywords with its expansion.
13526
13527 * progmodes/python.el (ffap-alist): Declare.
13528
13529 * textmodes/reftex.el (bibtex-mode-map): Declare.
13530
13531 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13532
13533 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
13534 (package-unpack, package-unpack-single): Return the pkg-dir.
13535 (package-download-transaction): Use it to update package-alist.
13536
13537 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13538
13539 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
13540 possible choice.
13541
13542 2013-06-17 Juri Linkov <juri@jurta.org>
13543
13544 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
13545
13546 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13547
13548 * emacs-lisp/package.el (package-load-descriptor):
13549 Remove `with-syntax-table' call, `read' doesn't need it.
13550 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
13551
13552 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13553
13554 * startup.el (command-line): Expand package name returned by
13555 `package--description-file' (bug#14639).
13556
13557 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13558
13559 * emacs-lisp/package.el (package-load-descriptor): Do not call
13560 `emacs-lisp-mode', just use its syntax table.
13561
13562 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13563
13564 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
13565 `font-lock-extra-managed-props' if any prettifying keyword is added.
13566 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
13567 (prog-mode): Use `setq-local'.
13568
13569 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13570
13571 * international/characters.el (standard-case-table): Set syntax of ?»
13572 and ?« to punctuation.
13573
13574 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
13575
13576 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13577 Save relevant match data before calling `syntax-ppss' (bug#14595).
13578
13579 2013-06-15 Juri Linkov <juri@jurta.org>
13580
13581 * files-x.el (modify-file-local-variable-prop-line): Add local
13582 variables to the end of the existing comment on the first line.
13583 Use `file-auto-mode-skip' to skip interpreter magic line,
13584 and also skip XML declaration.
13585
13586 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13587
13588 * startup.el (package--builtin-versions): New var.
13589 (package-subdirectory-regexp): Remove.
13590 (package--description-file): Hard code its value instead.
13591
13592 * emacs-lisp/package.el: Don't activate packages older than builtin.
13593 (package-obsolete-list): Rename from package-obsolete-alist, and make
13594 it into a simple list of package-desc.
13595 (package-strip-version): Remove.
13596 (package-built-in-p): Use package--builtin-versions.
13597 (package-mark-obsolete): Simplify.
13598 (package-process-define-package): Mark it obsolete if older than the
13599 builtin version.
13600 (package-handle-response): Use line-end-position.
13601 (package-read-archive-contents, package--download-one-archive):
13602 Simplify.
13603 (package--add-to-archive-contents): Skip if older than the builtin or
13604 installed version.
13605 (package-menu-describe-package): Fix last change.
13606 (package-list-unversioned): New var.
13607 (package-menu--generate): Use it.
13608
13609 * emacs-lisp/autoload.el: Manage package--builtin-versions.
13610 (autoload--insert-text, autoload--insert-cookie-text): New functions.
13611 (autoload-builtin-package-versions): New variable.
13612 (autoload-generate-file-autoloads): Use them.
13613 Remove the list of autoloaded functions/macros from the
13614 (autoload...) comments.
13615
13616 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13617
13618 2013-06-15 Eli Zaretskii <eliz@gnu.org>
13619
13620 * simple.el (line-move-partial): Don't jump to the next screen
13621 line as soon as it becomes visible. Instead, continue enlarging
13622 the vscroll until the portion of a tall screen line that's left on
13623 display is about the height of the frame's default font.
13624 (Bug#14567)
13625
13626 2013-06-15 Glenn Morris <rgm@gnu.org>
13627
13628 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13629 compilation-error-regexp-alist void, or local while let-bound.
13630
13631 * progmodes/make-mode.el (makefile-mode-syntax-table):
13632 Treat "=" as punctuation. (Bug#14614)
13633
13634 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
13635
13636 * help-fns.el (describe-variable):
13637 Add extra line for permanent-local variables.
13638
13639 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
13640
13641 * progmodes/scheme.el (scheme-font-lock-keywords-2):
13642 Add export, import, library. (Bug#9164)
13643 (library): Set indent function.
13644
13645 2013-06-14 Glenn Morris <rgm@gnu.org>
13646
13647 * term/xterm.el (xterm--query):
13648 Stop after first matching handler. (Bug#14615)
13649
13650 2013-06-14 Ivan Kanis <ivan@kanis.fr>
13651
13652 Add support for dired in saveplace.
13653 * dired.el (dired-initial-position-hook): New variable.
13654 (dired-initial-position): Call hook to place cursor position.
13655 * saveplace.el (save-place-to-alist): Add dired position.
13656 (save-place-dired-hook): New function.
13657
13658 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
13659
13660 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13661 through a symbol rather than letrec.
13662
13663 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
13664 (package-desc): Add `dir' field.
13665 (package-desc-full-name): New function.
13666 (package-load-descriptor): Combine the two arguments. Don't use `load'.
13667 (package-maybe-load-descriptor): Remove.
13668 (package-load-all-descriptors): Just call package-load-descriptor.
13669 (package--disabled-p): New function.
13670 (package-desc-vers, package-desc-doc): Remove aliases.
13671 (package--dir): Remove function.
13672 (package-activate): Check if a package is disabled.
13673 (package-process-define-package): New function, extracted from
13674 define-package.
13675 (define-package): Turn into a place holder.
13676 (package-unpack-single, package-tar-file-info):
13677 Use package--description-file.
13678 (package-compute-transaction): Use package--disabled-p.
13679 (package-download-transaction): Don't call
13680 package-maybe-load-descriptor since they're all loaded anyway.
13681 (package-install): Change argument to be a pkg-desc.
13682 (package-delete): Use a single pkg-desc argument.
13683 (describe-package-1): Use package-desc-dir instead of package--dir.
13684 Use package-desc property instead of package-symbol.
13685 (package-install-button-action): Adjust accordingly.
13686 (package--push): Rewrite.
13687 (package-menu--print-info): Adjust accordingly. Change the ID format
13688 to be a pkg-desc.
13689 (package-menu-describe-package, package-menu-get-status)
13690 (package-menu--find-upgrades, package-menu-mark-upgrades)
13691 (package-menu-execute, package-menu--name-predicate):
13692 Adjust accordingly.
13693 * startup.el (package--description-file): New function.
13694 (command-line): Use it.
13695 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13696 Use package-desc-version.
13697
13698 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13699 (byte-compile-preprocess): Use it.
13700 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13701 can't quite recognize.
13702 (byte-compile-add-to-list): Remove.
13703 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13704 (cconv-closure-convert): Add assertion.
13705
13706 * emacs-lisp/map-ynp.el: Use lexical-binding.
13707 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13708 Factor out some repeated code.
13709
13710 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13711
13712 * subr.el (with-eval-after-load): New macro.
13713 (eval-after-load): Allow form to be a function.
13714 take advantage of lexical-binding.
13715 (do-after-load-evaluation): Use dolist and adjust to new format.
13716 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13717
13718 2013-06-13 Juri Linkov <juri@jurta.org>
13719
13720 * replace.el (perform-replace): Display "symbol " and other search
13721 modes from `isearch-message-prefix' in the *Help* buffer.
13722
13723 * isearch.el (isearch-query-replace): Add " symbol" and other
13724 possible search modes from `isearch-message-prefix' to the prompt.
13725 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13726 when reading a regexp to collect.
13727
13728 2013-06-13 Juri Linkov <juri@jurta.org>
13729
13730 * isearch.el (word-search-regexp): Match whitespace if the search
13731 string begins or ends in whitespace. The LAX arg is applied to
13732 both ends of the search string. Use `regexp-quote' and explicit
13733 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13734 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13735 boundaries are replaced with symbol boundaries, and characters
13736 between symbols match non-word non-symbol syntax. (Bug#14602)
13737
13738 2013-06-13 Juri Linkov <juri@jurta.org>
13739
13740 * isearch.el (isearch-del-char): Don't exceed the length of
13741 `isearch-string' by the prefix arg. (Bug#14563)
13742
13743 2013-06-13 Juri Linkov <juri@jurta.org>
13744
13745 * isearch.el (isearch-yank-word, isearch-yank-line)
13746 (isearch-char-by-name, isearch-quote-char)
13747 (isearch-printing-char, isearch-process-search-char):
13748 Add optional count prefix arg. (Bug#14563)
13749
13750 * international/isearch-x.el
13751 (isearch-process-search-multibyte-characters):
13752 Add optional count prefix arg.
13753
13754 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13755
13756 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13757 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13758 lexical-binding.
13759
13760 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13761
13762 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13763
13764 2013-06-13 Glenn Morris <rgm@gnu.org>
13765
13766 * startup.el (tty-handle-args):
13767 Don't just discard "--" and anything after. (Bug#14608)
13768
13769 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13770
13771 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13772
13773 Implement changes in Secret Service API. Make it backward compatible.
13774 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13775 (secrets-create-item): Use it. Prefix properties with interface.
13776
13777 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13778
13779 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13780 (term-emulate-terminal): Respect term-suppress-hard-newline.
13781
13782 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13783
13784 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13785 Only remove a `thumb-file' overlay. (Bug#14548)
13786
13787 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13788
13789 * mail/reporter.el (reporter-submit-bug-report):
13790 Handle missing package-name. (Bug#14600)
13791
13792 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13793
13794 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13795 (reftex-citation-prompt, reftex-default-bibliography)
13796 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13797 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13798 (reftex-bib-sort-author, reftex-bib-sort-year)
13799 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13800 (reftex-extract-bib-entries-from-thebibliography)
13801 (reftex-get-bibkey-default, reftex-get-bib-names)
13802 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13803 (reftex-format-bib-entry, reftex-parse-bibitem)
13804 (reftex-format-bibitem, reftex-do-citation)
13805 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13806 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13807 (reftex-insert-bib-matches, reftex-format-citation)
13808 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13809 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13810 existing comments into docstrings.
13811
13812 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13813
13814 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13815
13816 2013-06-12 Andreas Schwab <schwab@suse.de>
13817
13818 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13819 for auto-save files.
13820
13821 2013-06-12 Glenn Morris <rgm@gnu.org>
13822
13823 * ido.el (ido-delete-ignored-files): Remove.
13824 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13825 Go back to calling ido-ignore-item-p directly.
13826
13827 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13828
13829 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13830
13831 * ido.el (ido-delete-ignored-files): New function,
13832 split from ido-make-file-list-1.
13833 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13834 (ido-make-file-list-1): Use ido-delete-ignored-files.
13835
13836 2013-06-12 Leo Liu <sdl.web@gmail.com>
13837
13838 * progmodes/octave.el (inferior-octave-startup)
13839 (inferior-octave-completion-table)
13840 (inferior-octave-track-window-width-change)
13841 (octave-eldoc-function-signatures, octave-help)
13842 (octave-find-definition): Use single quoted strings.
13843 (inferior-octave-startup-args): Change default value.
13844 (inferior-octave-startup): Do not hard code "-i" and
13845 "--no-line-editing".
13846 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13847 (inferior-octave-directory-tracker): Use it.
13848 (octave-goto-function-definition): Robustify.
13849 (octave-help): Support highlighting operators in 'See also'.
13850 (octave-find-definition): Find subfunctions only in Octave mode.
13851
13852 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13853
13854 * help-fns.el (help-fns--compiler-macro): If the handler function is
13855 named, then put a link to it.
13856 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13857 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13858 (cl-typep): Use it.
13859 (cl-eval-when): Simplify debug spec.
13860 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13861 compiler-macro function instead of setting `compiler-macro-file'.
13862
13863 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13864
13865 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13866 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13867
13868 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13869 Daniel Hackney <dan@haxney.org>
13870
13871 First part of Daniel Hackney's patch to package.el.
13872 * emacs-lisp/package.el: Use defstruct.
13873 (package-desc): New, main struct.
13874 (package--bi-desc, package--ac-desc): New structs, used to describe the
13875 format in external files.
13876 (package-desc-vers): Replace with package-desc-version accessor.
13877 (package-desc-doc): Replace with package-desc-summary accessor.
13878 (package-activate-1): Remove `package' arg since the pkg-vec now
13879 includes the name.
13880 (define-package): Use package-desc-from-define.
13881 (package-unpack-single): Change file-name arg to be a symbol.
13882 (package--add-to-archive-contents): Use package-desc-create and new
13883 accessor functions to package--ac-desc.
13884 (package-buffer-info, package-tar-file-info): Return a package-desc.
13885 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13886 arg to be a package-desc.
13887 (package-install-file): Adjust accordingly. Use \' to match EOS.
13888 (package--from-builtin): New function.
13889 (describe-package-1, package-menu--generate): Use it.
13890 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13891 (package-generate-autoloads): Idem and return the name of the file.
13892 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13893 Change pkg-info arg to be a package-desc.
13894 Use package-make-ac-desc.
13895 (package-upload-file): Use \' to match EOS.
13896 * finder.el (finder-compile-keywords): Use package-make-builtin.
13897
13898 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13899
13900 * vc/vc.el (vc-deduce-fileset): Change error message.
13901 (vc-read-backend): New function.
13902 (vc-next-action): Use it.
13903
13904 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13905
13906 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13907 (prolog-font-lock-keywords): Use regexp-opt instead.
13908 Don't manually highlight strings.
13909 (prolog-mode-variables): Simplify comment-start-skip.
13910 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13911
13912 * emacs-lisp/generic.el (generic--normalise-comments)
13913 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13914 (generic-mode-set-comments): Use them.
13915 (generic-bracket-support): Use setq-local.
13916 (generic-make-keywords-list): Declare obsolete.
13917
13918 2013-06-11 Glenn Morris <rgm@gnu.org>
13919
13920 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13921 Prettify after setting font-lock-defaults. (Bug#14574)
13922
13923 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13924
13925 * replace.el (query-replace, occur-read-regexp-defaults-function)
13926 (replace-search):
13927 * subr.el (declare-function, number-sequence, local-set-key)
13928 (substitute-key-definition, locate-user-emacs-file)
13929 (with-silent-modifications, split-string, eval-after-load):
13930 Fix typos, remove unneeded backslashes and reflow some docstrings.
13931
13932 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13933
13934 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13935 default for Elisp files.
13936
13937 2013-06-11 Glenn Morris <rgm@gnu.org>
13938
13939 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13940 although define-derived-mode was doing this anyway. (Bug#14583)
13941
13942 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13943
13944 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13945 Fix make-variable-buffer-local call to refer to the correct variable.
13946
13947 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13948
13949 * eshell/em-term.el (eshell-visual-commands)
13950 (eshell-visual-subcommands, eshell-visual-options):
13951 Add summary line to docstrings. Add cross-references.
13952
13953 2013-06-10 Glenn Morris <rgm@gnu.org>
13954
13955 * epa.el (epa-read-file-name): New function. (Bug#14510)
13956 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13957
13958 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13959
13960 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13961 output redirection to be ignored with visual commands.
13962
13963 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13964
13965 * eshell/em-term.el (eshell-visual-command-p): New function.
13966 (eshell-term-initialize): Move long lambda to separate function
13967 eshell-visual-command-p.
13968 * eshell/em-dirs.el (eshell-dirs-initialize):
13969 * eshell/em-script.el (eshell-script-initialize):
13970 Add missing #' to lambda.
13971
13972 2013-06-08 Leo Liu <sdl.web@gmail.com>
13973
13974 * progmodes/octave.el (octave-add-log-current-defun): New function.
13975 (octave-mode): Set add-log-current-defun-function.
13976 (octave-goto-function-definition): Do not move point if not found.
13977 (octave-find-definition): Enhance to try subfunctions first.
13978
13979 2013-06-08 Glenn Morris <rgm@gnu.org>
13980
13981 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13982 (byte-compile-backward-char, byte-compile-backward-word):
13983 Improve previous change, to handle non-explicit nil.
13984
13985 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13986
13987 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13988 (smie--opener/closer-at-point): New function.
13989 (smie--matching-block-data): Use it. Don't match from right after an
13990 opener or right before a closer. Obey smie-blink-matching-inners.
13991 Don't signal a mismatch for repeated inners like "switch..case..case".
13992
13993 2013-06-07 Leo Liu <sdl.web@gmail.com>
13994
13995 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13996 to t. (Bug#14303)
13997 (octave-function-header-regexp): Fix. (Bug#14570)
13998 (octave-help-mode-finish-hook, octave-help-mode-finish):
13999 Remove. Just use temp-buffer-show-hook.
14000
14001 * newcomment.el (comment-search-backward): Revert last change.
14002 (Bug#14434)
14003
14004 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
14005
14006 2013-06-07 Eli Zaretskii <eliz@gnu.org>
14007
14008 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
14009 through xargs, to avoid failure due to MS-Windows limitations on
14010 command-line length.
14011
14012 2013-06-06 Glenn Morris <rgm@gnu.org>
14013
14014 * font-lock.el (lisp-font-lock-keywords-2):
14015 Treat user-error like error.
14016
14017 * emacs-lisp/bytecomp.el (byte-compile-char-before)
14018 (byte-compile-backward-char, byte-compile-backward-word):
14019 Handle explicit nil arguments. (Bug#14565)
14020
14021 2013-06-05 Alan Mackenzie <acm@muc.de>
14022
14023 * isearch.el (isearch-allow-prefix): New user option.
14024 (isearch-other-meta-char): Don't exit isearch when a prefix
14025 argument is typed whilst `isearch-allow-prefix' is non-nil.
14026 (Bug#9706)
14027
14028 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14029
14030 * autorevert.el (auto-revert-notify-handler): Use memq.
14031 Hide assertion failure.
14032
14033 * skeleton.el: Use cl-lib.
14034 (skeleton-further-elements): Use defvar-local.
14035 (skeleton-insert): Use cl-progv.
14036
14037 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
14038
14039 * progmodes/prog-mode.el (prog-prettify-symbols)
14040 (prog-prettify-install): Update docstrings.
14041
14042 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14043
14044 * simple.el: Move all the prog-mode code to prog-mode.el.
14045 * progmodes/prog-mode.el: New file.
14046 * loadup.el: Add prog-mode.el.
14047
14048 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
14049
14050 * simple.el (prog-prettify-symbols): Add version.
14051 (prog-prettify-install): Add convenience function to prettify symbols.
14052
14053 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
14054 (perl--augmented-font-lock-keywords-1)
14055 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
14056 variables and use it.
14057
14058 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
14059 (cfengine3-mode): Remove unneeded variable and use it.
14060
14061 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
14062 (lisp--augmented-font-lock-keywords-1)
14063 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
14064 Remove unneeded variables and use it.
14065
14066 2013-06-05 João Távora <joaotavora@gmail.com>
14067
14068 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
14069 to point when opening the connection. (Bug#14380)
14070
14071 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14072
14073 * subr.el (load-history-regexp, load-history-filename-element)
14074 (eval-after-load, after-load-functions, do-after-load-evaluation)
14075 (eval-next-after-load, display-delayed-warnings)
14076 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
14077 definition of save-match-data.
14078 (overriding-local-map): Remove accidental obsolescence declaration.
14079
14080 * emacs-lisp/edebug.el (edebug-result): Move before first use.
14081
14082 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
14083
14084 Generalize symbol prettify support to prog-mode and implement it
14085 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
14086 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
14087 (prog--prettify-font-lock-compose-symbol)
14088 (prog-prettify-font-lock-symbols-keywords): New variables and
14089 functions to support symbol prettification.
14090 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
14091 (lisp--augmented-font-lock-keywords-1)
14092 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
14093 (lisp--prettify-symbols-alist): Implement prettify of lambda.
14094 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
14095 (cfengine3--prettify-symbols-alist, cfengine3-mode):
14096 Implement prettify of -> => :: strings.
14097 * progmodes/perl-mode.el (perl-prettify-symbols)
14098 (perl--font-lock-compose-symbol)
14099 (perl--font-lock-symbols-keywords): Move to prog-mode.
14100 (perl--prettify-symbols-alist): Prettify -> => :: strings.
14101 (perl-font-lock-keywords-1)
14102 (perl-font-lock-keywords-2): Remove explicit prettify support.
14103 (perl--augmented-font-lock-keywords)
14104 (perl--augmented-font-lock-keywords-1)
14105 (perl--augmented-font-lock-keywords-2, perl-mode):
14106 Implement prettify support.
14107
14108 2013-06-05 Leo Liu <sdl.web@gmail.com>
14109
14110 Re-implement SMIE matching block highlight using
14111 show-paren-data-function. (Bug#14395)
14112 * emacs-lisp/smie.el (smie-matching-block-highlight)
14113 (smie--highlight-matching-block-overlay)
14114 (smie--highlight-matching-block-lastpos)
14115 (smie-highlight-matching-block)
14116 (smie-highlight-matching-block-mode): Remove.
14117 (smie--matching-block-data-cache): New variable.
14118 (smie--matching-block-data): New function.
14119 (smie-setup): Use smie--matching-block-data for
14120 show-paren-data-function.
14121
14122 * progmodes/octave.el (octave-mode-menu): Fix.
14123 (octave-find-definition): Skip garbage lines.
14124
14125 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14126
14127 Fix compilation error with simultaneous dynamic+lexical scoping.
14128 Add warning when a defvar appears after the first let-binding.
14129 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
14130 (byte-compile-close-variables): Initialize it.
14131 (byte-compile--declare-var): New function.
14132 (byte-compile-file-form-defvar)
14133 (byte-compile-file-form-define-abbrev-table)
14134 (byte-compile-file-form-custom-declare-variable): Use it.
14135 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
14136 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
14137 (byte-compile-bind): Handle dynamic bindings that shadow
14138 lexical bindings.
14139 (byte-compile-unbind): Make arg non-optional.
14140 (byte-compile-let): Simplify.
14141 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
14142 (cconv--analyse-function, cconv-analyse-form): Populate it.
14143 Protect byte-compile-bound-variables to limit the scope of defvars.
14144 (cconv-analyse-form): Add missing rule for (defvar <foo>).
14145 Remove unneeded rule for `declare'.
14146
14147 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
14148 so as to avoid depending on cl-adjoin at run-time.
14149 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
14150
14151 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
14152 (macroexp--warn-and-return): Use it.
14153
14154 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14155
14156 * subr.el: Convert to lexical binding.
14157 (overriding-local-map): Make obsolete.
14158 (add-to-list): Doc fix. Add compiler macro.
14159 (read-key): Swap values of local maps.
14160
14161 2013-06-05 Leo Liu <sdl.web@gmail.com>
14162
14163 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
14164
14165 2013-06-04 Leo Liu <sdl.web@gmail.com>
14166
14167 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
14168 (compilation-auto-jump): Suppress the "Mark set" message to give
14169 way to exit message.
14170
14171 2013-06-04 Alan Mackenzie <acm@muc.de>
14172
14173 Remove faulty optimisation from indentation calculation.
14174 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
14175 search limit based on 2000 characters back from indent-point.
14176
14177 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14178
14179 * eshell/em-term.el (cl-lib): Require `cl-lib'.
14180
14181 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
14182
14183 * emacs-lisp/lisp.el: Use lexical-binding.
14184 (lisp--local-variables-1, lisp--local-variables): New functions.
14185 (lisp--local-variables-completion-table): New var.
14186 (lisp-completion-at-point): Use it complete let-bound vars.
14187
14188 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
14189 eagerly (bug#14422).
14190
14191 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
14192
14193 * autorevert.el (auto-revert-notify-enabled)
14194 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
14195 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
14196 (auto-revert-notify-handler): Handle also gfilenotify.
14197
14198 * subr.el (file-notify-handle-event): New defun. Replacing ...
14199 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
14200 Remove.
14201
14202 2013-06-03 Juri Linkov <juri@jurta.org>
14203
14204 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
14205 `M-s h .'. (Bug#14427)
14206
14207 * hi-lock.el (highlight-symbol-at-point): New alias for the new
14208 command `hi-lock-face-symbol-at-point'.
14209 (hi-lock-face-symbol-at-point): New command.
14210 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
14211 (hi-lock-menu): Add `highlight-symbol-at-point'.
14212 (hi-lock-mode): Doc fix.
14213
14214 * isearch.el (isearch-forward-symbol-at-point): New command.
14215 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
14216 (isearch-highlight-regexp): Add a regexp which matches
14217 words/symbols for word/symbol mode.
14218
14219 * subr.el (find-tag-default-bounds): New function with the body
14220 mostly moved from `find-tag-default'.
14221 (find-tag-default): Move most code to `find-tag-default-bounds',
14222 call it and apply `buffer-substring-no-properties' afterwards.
14223
14224 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14225
14226 * eshell/em-term.el (eshell-term-initialize):
14227 Use `cl-intersection' rather than `intersection'.
14228
14229 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
14230
14231 * vc/log-view.el: Doc fix.
14232 (log-view-mode-map): Copy keymap from `special-mode-map'.
14233
14234 2013-06-02 Eric Ludlam <zappo@gnu.org>
14235
14236 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
14237 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
14238 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
14239 (eieio-unbound, eieio-default-superclass)
14240 (eieio--define-field-accessors, method-static, method-before)
14241 (method-primary, method-after, method-num-lists)
14242 (method-generic-before, method-generic-primary)
14243 (method-generic-after, method-num-slots)
14244 (eieio-specialized-key-to-generic-key)
14245 (eieio--check-type, class-v, class-p)
14246 (eieio-class-name, define-obsolete-function-alias)
14247 (eieio-class-parents-fast, eieio-class-children-fast)
14248 (same-class-fast-p, class-constructor, generic-p)
14249 (generic-primary-only-p, generic-primary-only-one-p)
14250 (class-option-assoc, class-option, eieio-object-p)
14251 (class-abstract-p, class-method-invocation-order)
14252 (eieio-defclass-autoload-map, eieio-defclass-autoload)
14253 (eieio-class-un-autoload, eieio-defclass)
14254 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
14255 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
14256 (eieio--defgeneric-init-form, eieio-defgeneric-form)
14257 (eieio-defgeneric-reset-generic-form)
14258 (eieio-defgeneric-form-primary-only)
14259 (eieio-defgeneric-reset-generic-form-primary-only)
14260 (eieio-defgeneric-form-primary-only-one)
14261 (eieio-defgeneric-reset-generic-form-primary-only-one)
14262 (eieio-unbind-method-implementations)
14263 (eieio--defmethod, eieio--typep)
14264 (eieio-perform-slot-validation, eieio-validate-slot-value)
14265 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
14266 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
14267 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
14268 (eieio-slot-name-index, eieio-class-slot-name-index)
14269 (eieio-set-defaults, eieio-initarg-to-attribute)
14270 (eieio-attribute-to-initarg, eieio-c3-candidate)
14271 (eieio-c3-merge-lists, eieio-class-precedence-c3)
14272 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
14273 (eieio-class-precedence-list, eieio-generic-call-methodname)
14274 (eieio-generic-call-arglst, eieio-generic-call-key)
14275 (eieio-generic-call-next-method-list)
14276 (eieio-pre-method-execution-functions, eieio-generic-call)
14277 (eieio-generic-call-primary-only, eieiomt-method-list)
14278 (eieiomt-optimizing-obarray, eieiomt-install)
14279 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
14280 (eieio-generic-form, eieio-defmethod, make-obsolete)
14281 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
14282 (defclass): Remove `eval-and-compile' from macro.
14283 (call-next-method, shared-initialize): Instead of using
14284 `scoped-class' variable, use new eieio--scoped-class, and
14285 eieio--with-scoped-class.
14286 (initialize-instance): Rename local variable 'scoped-class' to
14287 'this-class' to remove ambiguitity from old global.
14288
14289 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
14290 eieio.el.
14291 (eieio--scoped-class-stack): New variable.
14292 (eieio--scoped-class): New fcn.
14293 (eieio--with-scoped-class): New scoping macro.
14294 (eieio-defclass): Use pushnew instead of add-to-list.
14295 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
14296 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
14297 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
14298 `scoped-class' variable, use new eieio--scoped-class, and
14299 eieio--with-scoped-class.
14300
14301 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
14302
14303 2013-06-02 Tassilo Horn <tsdh@gnu.org>
14304
14305 * eshell/esh-ext.el (eshell-external-command): Pass args to
14306 `eshell-find-interpreter'.
14307 (eshell-find-interpreter): Add new second parameter ARGS.
14308
14309 * eshell/em-script.el (eshell-script-initialize): Add second arg
14310 to the function added as MATCH to `eshell-interpreter-alist'.
14311
14312 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
14313 the function added as MATCH to `eshell-interpreter-alist'.
14314
14315 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
14316 (eshell-visual-options): New defcustom.
14317 (eshell-escape-control-x): Adapt docstring.
14318 (eshell-term-initialize): Test `eshell-visual-subcommands' and
14319 `eshell-visual-options' in addition to `eshell-visual-commands'.
14320 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
14321
14322 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
14323
14324 * progmodes/python.el (python-indent-block-enders): Add break,
14325 continue and raise keywords.
14326
14327 2013-06-01 Glenn Morris <rgm@gnu.org>
14328
14329 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
14330
14331 Plain (f)boundp silences compilation warnings since Emacs 22.1.
14332 * progmodes/cc-cmds.el (delete-forward-p):
14333 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
14334 * progmodes/cc-engine.el (buffer-syntactic-context):
14335 * progmodes/cc-fonts.el (face-property-instance):
14336 * progmodes/cc-mode.el (set-keymap-parents):
14337 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
14338 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
14339 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
14340 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
14341 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
14342
14343 * progmodes/cc-vars.el (other): Emacs has this widget since
14344 at least 21.1, so don't (re)define it.
14345
14346 * eshell/em-cmpl.el (eshell-cmpl-initialize):
14347 Replace the obsolete alias pcomplete-arg-quote-list.
14348
14349 2013-06-01 Leo Liu <sdl.web@gmail.com>
14350
14351 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
14352 punctuation syntax.
14353 (inferior-octave-minimal-columns)
14354 (inferior-octave-last-column-width): New variables.
14355 (inferior-octave-track-window-width-change): New function.
14356 (inferior-octave-mode): Adjust column width so that Octave output,
14357 for example from 'ls', can fit into the window nicely.
14358
14359 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14360
14361 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14362 Highlight expansions inside regexp literals.
14363
14364 2013-05-31 Glenn Morris <rgm@gnu.org>
14365
14366 * obsolete/sym-comp.el (symbol-complete):
14367 Replace obsolete completion-annotate-function.
14368
14369 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
14370
14371 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14372
14373 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14374 New function, checks if point is inside a literal that allows
14375 expression expansion.
14376 (ruby-syntax-propertize-expansion): Use it.
14377 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
14378 around the body.
14379
14380 2013-05-30 Juri Linkov <juri@jurta.org>
14381
14382 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
14383 to "\M-si".
14384 (isearch-invisible): New variable.
14385 (isearch-forward): Doc fix.
14386 (isearch-mode): Set `isearch-invisible'
14387 to the value of `search-invisible'.
14388 (isearch-toggle-case-fold): Doc fix.
14389 (isearch-toggle-invisible): New command.
14390 (isearch-query-replace): Let-bind `search-invisible'
14391 to the value of `isearch-invisible'.
14392 (isearch-search): Use `isearch-invisible' instead of
14393 `search-invisible'. Let-bind `search-invisible'
14394 to the value of `isearch-invisible'. (Bug#11378)
14395
14396 2013-05-30 Juri Linkov <juri@jurta.org>
14397
14398 * replace.el (perform-replace): Avoid `isearch-range-invisible'
14399 call when `query-flag' is nil and `search-invisible' is non-nil.
14400 (Bug#11746)
14401
14402 2013-05-30 Glenn Morris <rgm@gnu.org>
14403
14404 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
14405
14406 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
14407 (cc-require): Suppress spurious "noruntime" warnings.
14408 (cc-require-when-compile): Use fboundp, for sake of compiler.
14409
14410 * progmodes/cc-mode.el: Move load of cc-vars before that of
14411 cc-langs (which in turn loads cc-vars), to quieten compiler.
14412
14413 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14414
14415 * paren.el: Simplify the code.
14416 (show-paren-mode): Always start the timer.
14417 (show-paren--idle-timer): Rename from show-paren-idle-timer.
14418 (show-paren--overlay, show-paren--overlay-1): Rename from
14419 show-paren-overlay and show-paren-overlay-1, and initialize to an
14420 overlay rather than to nil.
14421 (show-paren-function): Misc cleanup and simplifications.
14422
14423 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14424
14425 * paren.el (show-paren-data-function): New hook.
14426 (show-paren--default): New function, extracted from show-paren-function.
14427 (show-paren-function): Use show-paren-data-function.
14428
14429 2013-05-30 Glenn Morris <rgm@gnu.org>
14430
14431 * ielm.el (ielm-map, ielm-complete-symbol):
14432 Use completion-at-point rather than obsolete functions.
14433 (inferior-emacs-lisp-mode): Doc fix.
14434 Set completion-at-point-functions, rather than
14435 comint-dynamic-complete-functions.
14436
14437 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
14438 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
14439 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
14440
14441 * image.el (image-animated-p): Tweak definition.
14442
14443 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
14444 (rlogin-process-connection-type): Tweak default. Add set-after.
14445 (rlogin-host): Doc fix.
14446 (rlogin): Tweak prompt.
14447 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
14448
14449 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
14450 * progmodes/tcl.el (inferior-tcl-mode-map):
14451 Use completion-at-point rather than obsolete alias.
14452
14453 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
14454
14455 * minibuffer.el (read-file-name-completion-ignore-case):
14456 Move before completion--in-region, for eager macro expansion.
14457
14458 2013-05-29 Juri Linkov <juri@jurta.org>
14459
14460 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
14461 for total count of matching lines. Add `global-matches' for total
14462 count of matches. Rename `matches' to `lines' for count of
14463 matching lines. Add `matches' for count of matches.
14464 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
14465 to `prev-line' for line number of prev match endpt.
14466 Increment `matches' for every match. Print the number of
14467 matching lines in the header.
14468 (occur-context-lines): Rename `lines' to `curr-line'.
14469 Rename `prev-lines' to `prev-line'. (Bug#14017)
14470
14471 2013-05-29 Juri Linkov <juri@jurta.org>
14472
14473 * replace.el (perform-replace): Add `skip-read-only-count',
14474 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
14475 Increment them for corresponding conditions and report the number
14476 of skipped occurrences in the final message. (Bug#11746)
14477 (query-replace, query-replace-regexp, query-replace-regexp-eval)
14478 (replace-string, replace-regexp): Doc fix.
14479
14480 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14481
14482 * emacs-lisp/trace.el (trace--read-args): Provide a default.
14483
14484 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
14485 prog-mode-map (bug#14504).
14486
14487 2013-05-29 Leo Liu <sdl.web@gmail.com>
14488
14489 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
14490 (octave-help): Small simplification.
14491
14492 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
14493 off the highlight first.
14494
14495 2013-05-29 Glenn Morris <rgm@gnu.org>
14496
14497 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
14498 Handle idlwave-last-system-routine-info-cons-cell being nil.
14499
14500 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14501 (idlwave-write-paths): Simplify via with-temp-buffer.
14502
14503 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
14504 * emulation/cua-rect.el: Also load cua-base at run time.
14505
14506 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
14507 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
14508 (cperl-imenu-on-info): Require imenu.
14509
14510 2013-05-28 Alan Mackenzie <acm@muc.de>
14511
14512 Handle "capitalised keywords" correctly.
14513 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
14514
14515 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
14516
14517 * eshell/em-unix.el: Add -r option to cp.
14518
14519 2013-05-28 Glenn Morris <rgm@gnu.org>
14520
14521 * vc/vc-arch.el (vc-exec-after): Declare.
14522 (vc-switches): Autoload.
14523 * vc/vc-bzr.el: No need to require vc when compiling.
14524 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
14525 (vc-resynch-buffer, vc-dir-refresh): Declare.
14526 (vc-setup-buffer, vc-switches): Autoload.
14527 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
14528 (vc-resynch-buffer): Declare.
14529 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
14530 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
14531 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
14532 (grep-read-regexp, grep-read-files, grep-expand-template)
14533 (vc-dir-refresh): Declare.
14534 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
14535 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
14536 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
14537 * vc/vc-mtn.el (vc-exec-after): Declare.
14538 (vc-switches): Autoload.
14539 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
14540 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
14541 (vc-file-tree-walk): Declare.
14542 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
14543 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
14544 (vc-tag-precondition, vc-rename-master): Autoload.
14545 * vc/vc-svn.el (vc-exec-after): Declare.
14546 (vc-switches, vc-setup-buffer): Autoload.
14547 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
14548 Autoload.
14549 (vc-resynch-buffer): Declare.
14550
14551 * obsolete/fast-lock.el (byte-compile-warnings):
14552 Don't warn about obsolete features in this obsolete file.
14553
14554 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
14555 Move definition before use.
14556
14557 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
14558 (dun-unix-verbs): Remove dun-zippy.
14559 (dun-zippy): Remove function.
14560
14561 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
14562
14563 2013-05-27 Juri Linkov <juri@jurta.org>
14564
14565 * replace.el (replace-search): New function with code moved out
14566 from `perform-replace'.
14567 (replace-highlight, replace-dehighlight): Move function definitions
14568 up closer to `replace-search'. (Bug#11746)
14569
14570 2013-05-27 Juri Linkov <juri@jurta.org>
14571
14572 * replace.el (perform-replace): Ignore invisible matches.
14573 In addition to checking `query-replace-skip-read-only', also
14574 filter out matches by calling `run-hook-with-args-until-failure'
14575 on `isearch-filter-predicates', and also check `search-invisible'
14576 for t or call `isearch-range-invisible'.
14577 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
14578
14579 2013-05-27 Juri Linkov <juri@jurta.org>
14580
14581 * isearch.el (isearch-filter-predicates): Rename from
14582 `isearch-filter-predicate'. Doc fix. (Bug#11378)
14583 (isearch-message-prefix): Display text from the property
14584 `isearch-message-prefix' of the currently active filters.
14585 (isearch-search): Don't compare `isearch-filter-predicate' with
14586 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
14587 on `isearch-filter-predicates'. Also check `search-invisible' for t
14588 or call `isearch-range-invisible'.
14589 (isearch-filter-visible): Make obsolete.
14590 (isearch-lazy-highlight-search):
14591 Call `run-hook-with-args-until-failure' on
14592 `isearch-filter-predicates' and use `isearch-range-invisible'.
14593
14594 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14595 `isearch-filter-predicates' instead of `funcall'ing
14596 `isearch-filter-predicate'.
14597 (Info-mode): Set `Info-isearch-filter' to
14598 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14599
14600 * dired-aux.el (dired-isearch-filter-predicate-orig):
14601 Remove variable.
14602 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14603 (dired-isearch-filenames-end): Add and remove
14604 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14605 instead of changing the value of `isearch-filter-predicate'.
14606 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14607 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14608 Put property `isearch-message-prefix' to "filename " on
14609 `dired-isearch-filter-filenames'.
14610
14611 * wdired.el (wdired-change-to-wdired-mode):
14612 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14613 locally instead of changing `isearch-filter-predicate'.
14614 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14615
14616 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
14617
14618 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14619 return the commit hash (Bug#14459). Also set the
14620 `vc-git-detached' property.
14621 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14622 (vc-git-mode-line-string): Use the same help-echo format whether
14623 in detached mode or not, because we know the actual revision now.
14624 When in detached mode, shorten the revision to 7 chars.
14625
14626 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14627
14628 * emacs-lisp/easy-mmode.el (define-minor-mode):
14629 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14630 mode hook and provide a docstring.
14631
14632 2013-05-27 Alan Mackenzie <acm@muc.de>
14633
14634 Remove spurious syntax-table text properties inserted by C-y.
14635 * progmodes/cc-mode.el (c-after-change): Also clear hard
14636 syntax-table property with value nil.
14637
14638 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
14639
14640 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14641 when reading the events; the buffer layout shall not be changed.
14642
14643 2013-05-27 Leo Liu <sdl.web@gmail.com>
14644
14645 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14646 New variable.
14647 (inferior-octave-directory-tracker): Automatically re-sync
14648 default-directory.
14649 (octave-help): Improve handling of 'See also'.
14650
14651 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14652
14653 * doc-view.el: Minor naming convention tweaks.
14654 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14655
14656 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14657 even if there's no `display' property yet (bug#14435).
14658
14659 2013-05-25 Eli Zaretskii <eliz@gnu.org>
14660
14661 * subr.el (unmsys--file-name): Rename from reveal-filename.
14662
14663 * Makefile.in (custom-deps, finder-data, autoloads)
14664 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14665 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14666 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14667
14668 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14669
14670 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14671 error-completion on the first 2 args of condition-case (bug#14446).
14672 Don't burp at EOB.
14673
14674 2013-05-25 Leo Liu <sdl.web@gmail.com>
14675
14676 * comint.el (comint-previous-matching-input): Do not flood the
14677 *Messages* buffer with trivial messages.
14678
14679 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14680
14681 * progmodes/flymake.el (flymake-nop): Don't return a string.
14682 (flymake-set-at): Fix typo.
14683
14684 * simple.el (read--expression): New function, extracted from
14685 eval-expression. Set completion-at-point-functions (bug#14465).
14686 (eval-expression, eval-minibuffer): Use it.
14687
14688 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
14689
14690 * progmodes/flymake.el (flymake-save-buffer-in-file)
14691 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14692 (flymake-selected-frame, flymake-log, flymake-ins-after)
14693 (flymake-set-at, flymake-get-buildfile-from-cache)
14694 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14695 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14696 Refine the doc string.
14697 (flymake-get-file-name-mode-and-masks): Reformat.
14698 (flymake-get-real-file-name-function): Fix a minor bug.
14699
14700 2013-05-24 Juri Linkov <juri@jurta.org>
14701
14702 * progmodes/grep.el (grep-mode-font-lock-keywords):
14703 Support =linenumber= format used by git-grep for lines with
14704 function names. (Bug#13549)
14705
14706 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14707
14708 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14709 0 after a semi-colon; it works better for smie-auto-fill.
14710 (octave--indent-new-comment-line): New function.
14711 (octave-indent-new-comment-line): Use it (indirectly).
14712 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14713 modify comment-line-break-function.
14714
14715 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14716 (smie-setup): Use add-function to set it.
14717
14718 2013-05-24 Sam Steingold <sds@gnu.org>
14719
14720 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14721 argument (before the `interactive' argument).
14722
14723 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14724
14725 * image-mode.el (image-mode-winprops): Add winprops to
14726 image-mode-winprops-alist before running
14727 image-mode-new-window-functions.
14728 * doc-view.el (doc-view-new-window-function): Don't delay
14729 doc-view-goto-page via timers (bug#14435).
14730
14731 2013-05-24 Tassilo Horn <tsdh@gnu.org>
14732
14733 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14734 (doc-view-desktop-save-buffer): New function.
14735 (doc-view-restore-desktop-buffer): New function.
14736 (desktop-buffer-mode-handlers):
14737 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14738 handler.
14739 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14740 `desktop-save-buffer' function.
14741
14742 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
14743
14744 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14745 (tramp-gvfs-file-name-handler): Raise a user error when
14746 `tramp-gvfs-enabled' is nil.
14747 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14748 Do not raise a user error when loading package. (Bug#14447)
14749
14750 * net/xesam.el: Move to obsolete/.
14751
14752 2013-05-24 Glenn Morris <rgm@gnu.org>
14753
14754 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14755
14756 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14757
14758 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14759 (Info-find-node, Man-getpage-in-background): Declare.
14760
14761 * mail/unrmail.el (unrmail):
14762 Replace obsolete detect-coding-with-priority.
14763
14764 * net/socks.el (socks-split-string): Use this rather than split-string.
14765 (socks-nslookup-host): Update for above change.
14766 (dynamic-choice, s5-dynamic-choice-match)
14767 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14768 Comment out unused code.
14769
14770 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14771 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14772 (gud-tooltip-echo-area): Make obsolete.
14773 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14774
14775 * progmodes/js.el (js--optimize-arglist): Declare.
14776
14777 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14778
14779 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14780 (ediff-window-C): Declare.
14781
14782 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14783 Tweak requires to silence compiler.
14784
14785 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14786 (he-search-string, he-tried-table, he-expand-list)
14787 (he-init-string, he-string-member, he-substitute-string)
14788 (he-reset-string): Declare.
14789
14790 * obsolete/options.el (list-options): Use custom-variable-p,
14791 rather than obsolete alias.
14792
14793 2013-05-23 Sam Steingold <sds@gnu.org>
14794
14795 * simple.el (shell-command-on-region): Pass the `replace' argument
14796 down to `call-process-region' to comply with the doc as reported on
14797 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14798
14799 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14800
14801 * emacs-lisp/smie.el (smie-indent-forward-token)
14802 (smie-indent-backward-token): Handle string tokens (bug#14381).
14803
14804 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14805
14806 * ielm.el (ielm-menu): New menu.
14807 (inferior-emacs-lisp-mode): Set comment-start.
14808
14809 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14810
14811 * textmodes/reftex.el (reftex-ref-style-toggle):
14812 Fix deactivate action.
14813
14814 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14815 Add cleveref macros.
14816
14817 * textmodes/reftex-parse.el
14818 (reftex-locate-bibliography-files): Accept options for
14819 bibliography commands.
14820 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14821 Add addbibresource. Basic Biblatex support.
14822
14823 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14824
14825 * net/tramp-gvfs.el (top):
14826 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14827 when loading package. (Bug#14447)
14828
14829 2013-05-23 Glenn Morris <rgm@gnu.org>
14830
14831 * progmodes/js.el: No need to load comint when compiling.
14832 (ring-insert, comint-send-string, comint-send-input)
14833 (comint-last-input-end, ido-chop): Declare.
14834
14835 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14836 * vc/ediff-mult.el: Adjust requires.
14837 (ediff-directories-internal, ediff-directory-revisions-internal)
14838 (ediff-patch-file-internal): Declare.
14839 * vc/ediff-ptch.el: Adjust requires.
14840 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14841 (ediff-find-file): Autoload.
14842 * vc/ediff-util.el: No need to load ediff when compiling.
14843 (ediff-regions-internal): Declare.
14844 * vc/ediff-wind.el: Adjust requires.
14845 (ediff-compute-toolbar-width): Define when compiling.
14846 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14847 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14848 (dired-get-filename, dired-get-marked-files)
14849 (ediff-last-dir-patch, ediff-patch-default-directory)
14850 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14851 (ediff-patch-buffer-internal): Declare.
14852
14853 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14854 (ispell-process, ispell-buffer-local-words, lm-summary)
14855 (lm-section-start, lm-section-end): Declare.
14856 (checkdoc-ispell-init): Simplify.
14857
14858 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14859 (he-string-member, he-reset-string, he-substitute-string): Declare.
14860
14861 * eshell/em-ls.el: Adjust requires.
14862 (eshell-glob-regexp): Declare.
14863 * eshell/em-tramp.el: Adjust requires.
14864 (eshell-parse-command): Autoload.
14865 * eshell/em-xtra.el: Adjust requires.
14866 (eshell-parse-command): Autoload.
14867 * eshell/esh-ext.el: Adjust requires.
14868 (eshell-parse-command, eshell-close-handles): Autoload.
14869 * eshell/esh-io.el: Adjust requires.
14870 (eshell-output-filter): Autoload.
14871 * eshell/esh-util.el: No need to load tramp when compiling.
14872 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14873 Declare.
14874 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14875 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14876 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14877 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14878 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14879 * eshell/esh-opt.el, eshell/esh-proc.el:
14880 * eshell/esh-var.el: Adjust requires.
14881 * eshell/eshell.el: Do not require esh-util twice.
14882 (eshell-add-input-to-history): Declare.
14883 (eshell-command): Check history module is active before using it.
14884
14885 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14886
14887 2013-05-22 Leo Liu <sdl.web@gmail.com>
14888
14889 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14890
14891 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14892
14893 * autorevert.el (auto-revert-notify-add-watch)
14894 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14895 it indicates changes in file modification time.
14896
14897 2013-05-22 Glenn Morris <rgm@gnu.org>
14898
14899 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14900 Always delete the autoloaded function from the noruntime and
14901 unresolved functions lists.
14902
14903 * allout.el: No need to load epa, epg, overlay when compiling.
14904 (epg-context-set-passphrase-callback, epg-list-keys)
14905 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14906 (epg-key-user-id-list): Declare.
14907
14908 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14909 (viper-set-parsing-style-toggling-macro)
14910 (viper-set-emacs-state-searchstyle-macros):
14911 Use called-interactively-p on Emacs.
14912 (viper-looking-back): Make it an obsolete alias. Update callers.
14913 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14914 Use looking-back rather than viper-looking-back.
14915 (viper-tmp-insert-at-eob, viper-enlarge-region)
14916 (viper-read-string-with-history, viper-register-to-point)
14917 (viper-append-to-register, viper-change-state-to-vi)
14918 (viper-backward-char-carefully, viper-forward-char-carefully)
14919 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14920 (viper-change-state-to-emacs): Declare.
14921 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14922 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14923 * emulation/viper-mous.el: Do not load viper-cmd.
14924 (viper-backward-char-carefully, viper-forward-char-carefully)
14925 (viper-forward-word, viper-adjust-window): Declare.
14926
14927 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14928
14929 * progmodes/idlw-help.el (idlwave-help-fontify):
14930 Use called-interactively-p.
14931
14932 * term/w32console.el (w32-get-console-codepage)
14933 (w32-get-console-output-codepage): Declare.
14934
14935 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14936 Remove unnecessary declarations.
14937 (dframe-message): Doc fix.
14938
14939 * info.el (dframe-select-attached-frame, dframe-current-frame):
14940 Declare.
14941
14942 * speedbar.el (speedbar-message): Make it an obsolete alias.
14943 Update all callers.
14944 (speedbar-with-attached-buffer)
14945 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14946 (speedbar-with-writable): Use backquote.
14947 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14948 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14949 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14950 rather than speedbar- aliases.
14951 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14952 (speedbar-make-specialized-keymap, speedbar-insert-button)
14953 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14954 (speedbar-do-function-pointer): Declare.
14955 (rmail-speedbar-button, rmail-speedbar-find-file)
14956 (rmail-speedbar-move-message):
14957 Use dframe-with-attached-buffer rather than speedbar- alias.
14958 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14959 (dframe-message, speedbar-make-specialized-keymap)
14960 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14961 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14962 (speedbar-insert-button, dframe-select-attached-frame)
14963 (dframe-maybee-jump-to-attached-frame)
14964 (speedbar-change-initial-expansion-list)
14965 (speedbar-previously-used-expansion-list-name): Declare.
14966 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14967 Use dframe-message, dframe-with-attached-buffer rather than
14968 speedbar- aliases.
14969 (gud-sentinel): Silence compiler.
14970 * progmodes/vhdl-mode.el (speedbar-refresh)
14971 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14972 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14973 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14974 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14975 (speedbar-file-lists, speedbar-make-tag-line)
14976 (speedbar-line-directory, speedbar-goto-this-file)
14977 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14978 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14979 (speedbar-make-button, speedbar-reset-scanners)
14980 (speedbar-files-item-info, speedbar-line-text)
14981 (speedbar-find-file-in-frame, speedbar-set-timer)
14982 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14983 (speedbar-with-writable): Do not (re)define it.
14984 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14985 rather than speedbar- alias.
14986
14987 2013-05-21 Leo Liu <sdl.web@gmail.com>
14988
14989 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14990 menu items.
14991 (octave-mode): Tweak fill-nobreak-predicate.
14992 (inferior-octave-startup): Check process to avoid infinite loop.
14993 (inferior-octave): Pop to buffer first to show abornmal process
14994 exit information.
14995
14996 2013-05-21 Glenn Morris <rgm@gnu.org>
14997
14998 * printing.el (pr-menu-bar): Define when compiling.
14999
15000 2013-05-21 Leo Liu <sdl.web@gmail.com>
15001
15002 * progmodes/octave.el (octave-auto-fill): Remove.
15003 (octave-indent-new-comment-line): Improve.
15004 (octave-mode): Use auto fill mode through
15005 comment-line-break-function and fill-nobreak-predicate.
15006 (octave-goto-function-definition): Support DEFUN_DLD.
15007 (octave-beginning-of-defun): Small tweak.
15008 (octave-help): Show parent directory.
15009
15010 2013-05-21 Glenn Morris <rgm@gnu.org>
15011
15012 * files.el (dired-unmark):
15013 * progmodes/gud.el (gdb-input): Update declarations.
15014
15015 * calculator.el (electric, ehelp): No need to load when compiling.
15016 (Electric-command-loop, electric-describe-mode): Declare.
15017
15018 * doc-view.el (doc-view-current-converter-processes): Move before use.
15019
15020 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15021 Move MODE-set-explicitly definition before use.
15022
15023 * international/mule-diag.el (mule-diag):
15024 Don't use obsolete window-system-version.
15025
15026 * mail/feedmail.el (smtpmail): No need to load when compiling.
15027 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
15028
15029 * mail/mail-utils.el (rfc822): No need to load when compiling.
15030 (rfc822-addresses): Autoload it.
15031 (mail-strip-quoted-names): Trivial simplification.
15032
15033 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
15034 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
15035
15036 * net/snmp-mode.el (tempo): Don't duplicate requires.
15037
15038 * progmodes/prolog.el (info): No need to load when compiling.
15039 (comint): Require before shell requires it.
15040 (Info-goto-node): Autoload it.
15041 (Info-follow-nearest-node): Declare.
15042 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
15043
15044 * textmodes/artist.el (picture-mode-exit): Declare.
15045
15046 * textmodes/reftex-parse.el (reftex-parse-from-file):
15047 Trivial rewrite so the compiler can parse it better.
15048
15049 2013-05-20 Leo Liu <sdl.web@gmail.com>
15050
15051 * progmodes/octave.el (octave-help-mode-map)
15052 (octave-help-mode-finish-hook): New variables.
15053 (octave-help-mode, octave-help-mode-finish): New functions.
15054 (octave-help): Use octave-help-mode.
15055
15056 2013-05-20 Glenn Morris <rgm@gnu.org>
15057
15058 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
15059
15060 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
15061
15062 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
15063 start at point, so that expansion starting right after opening
15064 slash in a regexp is recognized.
15065 (ruby-syntax-before-regexp-re): New defvar, extracted from
15066 ruby-syntax-propertize-function. Since the value of this regexp
15067 is looked up at runtime now, we should be able to turn
15068 `ruby-syntax-methods-before-regexp' into a defcustom later.
15069 (ruby-syntax-propertize-function): Split regexp matching into two
15070 parts, for opening and closing slashes. That allows us to skip
15071 over string interpolations and support multiline regexps.
15072 Don't call `ruby-syntax-propertize-expansions', instead use another rule
15073 for them, which calls `ruby-syntax-propertize-expansion'.
15074 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
15075 call to `ruby-syntax-propertize-function'.
15076 (ruby-syntax-propertize-expansion): Extracted from
15077 `ruby-syntax-propertize-expansions'. Handles one expansion.
15078 (ruby-syntax-propertize-percent-literal): Leave point right after
15079 the percent symbol, so that the expression expansion rule can
15080 propertize the contents.
15081 (ruby-syntax-propertize-heredoc): Leave point at bol following the
15082 heredoc openers.
15083 (ruby-syntax-propertize-expansions): Remove.
15084
15085 2013-05-18 Juri Linkov <juri@jurta.org>
15086
15087 * man.el (Man-default-man-entry): Remove `-' from the end
15088 of the default value. (Bug#14400)
15089
15090 2013-05-18 Glenn Morris <rgm@gnu.org>
15091
15092 * comint.el (comint-password-prompt-regexp):
15093 Allow "password for XXX" where XXX contains colons (eg https://...).
15094
15095 2013-05-18 Leo Liu <sdl.web@gmail.com>
15096
15097 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
15098 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
15099 (octave-source-directories): Don't check process.
15100 (octave-source-directories, octave-find-definition): Doc fix.
15101
15102 2013-05-18 Glenn Morris <rgm@gnu.org>
15103
15104 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
15105 Remove backspace/delete bindings. (Bug#14392)
15106
15107 * cus-dep.el (custom-make-dependencies): Sort the output.
15108 (custom-versions-load-alist): Convert comment to doc.
15109
15110 2013-05-17 Leo Liu <sdl.web@gmail.com>
15111
15112 * newcomment.el (comment-search-backward): Stricter in finding
15113 comment start. (Bug#14303)
15114
15115 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
15116 (octave-comment-start-skip): Properly anchored.
15117
15118 2013-05-17 Leo Liu <sdl.web@gmail.com>
15119
15120 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
15121 Clean up when turned off. (Bug#14395)
15122 (smie--highlight-matching-block-overlay): No longer buffer-local.
15123 (smie-highlight-matching-block): Adjust.
15124
15125 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
15126
15127 Doc string fix for "nanoseconds" (Bug#14406).
15128 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
15129 Fix doc string typo that had "nanoseconds" instead of "microseconds".
15130
15131 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
15132
15133 * calc/calc-units.el (math-extract-units): Preserve powers
15134 of units.
15135
15136 2013-05-17 Leo Liu <sdl.web@gmail.com>
15137
15138 * subr.el (delete-consecutive-dups): New function.
15139 * ido.el (ido-set-matches-1): Use it.
15140 * progmodes/octave.el (inferior-octave-completion-table): Use it.
15141 * ido.el (ido-remove-consecutive-dups): Remove.
15142
15143 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
15144
15145 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15146 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
15147 regexp-opt's `words'.
15148
15149 2013-05-16 Leo Liu <sdl.web@gmail.com>
15150
15151 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
15152 (smie--highlight-matching-block-overlay)
15153 (smie--highlight-matching-block-lastpos)
15154 (smie--highlight-matching-block-timer): New variables.
15155 (smie-highlight-matching-block): New function.
15156 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
15157 (smie-setup): Conditionally enable smie-blink-matching-open.
15158
15159 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
15160
15161 Sync with upstream verilog-mode r840.
15162 * progmodes/verilog-mode.el (verilog-mode-version)
15163 (verilog-mode-release-date): Update.
15164 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
15165 (verilog-sig-tieoff): Fix string error on
15166 AUTORESET with colon define, bug594. Reported by Andrew Hou.
15167 (verilog-read-decls): Fix parameters confusing
15168 AUTOINST interfaces, bug565. Reported by Leith Johnson.
15169
15170 2013-05-16 Eli Zaretskii <eliz@gnu.org>
15171
15172 * subr.el (reveal-filename): New function.
15173
15174 * loadup.el: Compute Emacs executable versions on MS-Windows,
15175 where executables have the .exe extension. Add a hard link
15176 emacs-XX.YY.ZZ.exe on MS-Windows.
15177
15178 * Makefile.in (XARGS_LIMIT): New variable.
15179 (custom-deps, finder-data, autoloads)
15180 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
15181 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
15182 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
15183 (compile-main): Limit xargs according to $(XARGS_LIMIT).
15184
15185 2013-05-16 Leo Liu <sdl.web@gmail.com>
15186
15187 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
15188 (octave-mode-menu, octave-mode-map): Remove its uses.
15189
15190 2013-05-16 Reto Zimmermann <reto@gnu.org>
15191
15192 Sync with upstream vhdl mode v3.34.2.
15193 * progmodes/vhdl-mode.el: Use `push' throughout.
15194 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
15195 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
15196 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
15197 (vhdl-actual-generic-name): New option to derive actual generic name.
15198 (vhdl-port-paste-signals): Replace formal by actual generics.
15199 (vhdl-beautify): New name for old group vhdl-align. Update users.
15200 (vhdl-beautify-options): New option.
15201 (vhdl-last-input-event): New compat alias. Use throughout.
15202 (vhdl-goto-line): Replace user level function `goto-line'.
15203 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
15204 vhdl-fix-statement-buffer.
15205 (vhdl-create-mode-menu): Add some entries.
15206 (vhdl-align-region-groups): Respect vhdl-beautify-options.
15207 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
15208 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
15209 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
15210 to force statements on one line.
15211 (vhdl-remove-trailing-spaces-region):
15212 New, split from vhdl-remove-trailing-spaces.
15213 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
15214 Respect vhdl-beautify-options.
15215 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
15216 (vhdl-update-sensitivity-list): Not add with index if exists without.
15217 Not include array index with signal. Ignore keywords in comments.
15218 (vhdl-get-visible-signals): Regexp tweaks.
15219 (vhdl-template-component-inst): Handle empty library.
15220 (vhdl-template-type): Add template for 'enum' type.
15221 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
15222 Use vhdl-replace-string.
15223 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
15224 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
15225 (vhdl-speedbar-initialize): Update for above name change.
15226 (vhdl-compose-wire-components): Fix in handling of constants.
15227 (vhdl-error-regexp-emacs-alist): New variable.
15228 (vhdl-error-regexp-add-emacs): New function;
15229 adds support for new compile.el (Emacs 22+)
15230 (vhdl-generate-makefile-1): Change target order for single lib. units.
15231 Allow use of absolute file names.
15232
15233 2013-05-16 Leo Liu <sdl.web@gmail.com>
15234
15235 * simple.el (prog-indent-sexp): Indent enclosing defun.
15236
15237 2013-05-15 Glenn Morris <rgm@gnu.org>
15238
15239 * cus-start.el (show-trailing-whitespace): Move to editing basics.
15240 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
15241 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
15242 (whitespace-highlight): Move to whitespace group.
15243
15244 * comint.el (comint-source):
15245 * pcmpl-linux.el (pcmpl-linux):
15246 * shell.el (shell-faces):
15247 * eshell/esh-opt.el (eshell-opt):
15248 * international/ccl.el (ccl): Remove empty custom groups.
15249
15250 * completion.el (dynamic-completion-mode):
15251 * jit-lock.el (jit-lock-debug-mode):
15252 * minibuffer.el (completion-in-region-mode):
15253 * type-break.el (type-break-mode-line-message-mode)
15254 (type-break-query-mode):
15255 * emulation/tpu-edt.el (tpu-edt-mode):
15256 * progmodes/subword.el (global-subword-mode, global-superword-mode):
15257 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15258 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
15259
15260 * term/xterm.el (xterm): Change parent group to terminals.
15261
15262 * master.el (master): Remove empty custom group.
15263 (master-mode): Remove unused :group argument.
15264 * textmodes/refill.el (refill): Remove empty custom group.
15265 (refill-mode): Remove unused :group argument.
15266
15267 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
15268
15269 * cus-dep.el: Provide a feature.
15270 (custom-make-dependencies): Ignore dotfiles (dir-locals).
15271 Don't mistakenly ignore files whose basenames match a basename
15272 from preloaded-file-list (eg cedet/ede/simple.el).
15273 Add a fallback method for getting :group.
15274
15275 2013-05-15 Juri Linkov <juri@jurta.org>
15276
15277 * isearch.el (isearch-char-by-name): Rename from
15278 `isearch-insert-char-by-name'. Doc fix.
15279 (isearch-forward): Mention `isearch-char-by-name' in
15280 the docstring. (Bug#13348)
15281
15282 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
15283 `exit-minibuffer' instead of
15284 `isearch-nonincremental-exit-minibuffer'.
15285 (isearch-edit-string): Remove mention of
15286 `isearch-nonincremental-exit-minibuffer' from docstring.
15287 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
15288 (isearch-forward-exit-minibuffer)
15289 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
15290
15291 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15292
15293 * loadup.el: Just use unversioned DOC.
15294
15295 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
15296 literals as extending to EOB.
15297 (nxml-last-fontify-end): Remove unused variable.
15298 (nxml-after-change1): Use with-silent-modifications.
15299 (nxml-extend-after-change-region): Simplify.
15300 (nxml-extend-after-change-region1): Remove function.
15301 (nxml-after-change1): Don't adjust for dependent regions.
15302 (nxml-fontify-matcher): Simplify.
15303 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
15304 (xmltok-add-dependent): Remove function.
15305 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
15306 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
15307 (xmltok-scan-prolog-after-processing-instruction-open): Treat
15308 unclosed <[[, <?, comment, and other literals as extending to EOB.
15309 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
15310 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
15311 Remove functions.
15312 (rng-do-some-validation-1): Don't mark dependent regions.
15313 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
15314 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
15315 (nxml-clear-dependent-regions): Remove functions.
15316 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
15317 (nxml-ensure-scan-up-to-date):
15318 Don't clear&mark dependent regions.
15319
15320 2013-05-15 Leo Liu <sdl.web@gmail.com>
15321
15322 * progmodes/octave.el (octave-goto-function-definition):
15323 Improve and fix callers.
15324
15325 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15326
15327 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
15328 the setter (bug#14387).
15329
15330 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
15331 surrounding group (bug#14402).
15332
15333 2013-05-14 Juri Linkov <juri@jurta.org>
15334
15335 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
15336 (Bug#14390)
15337
15338 2013-05-14 Glenn Morris <rgm@gnu.org>
15339
15340 * progmodes/f90.el (f90-imenu-generic-expression):
15341 Fix typo in 2013-05-08 change. (Bug#14402)
15342
15343 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15344
15345 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
15346 Remove signals for which replies are never received.
15347
15348 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15349
15350 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
15351 (gdb-handler-alist, gdb-handler-number): Remove variables.
15352 (gdb-handler-list): New variable.
15353 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
15354 (gdb-pending-handler-p, gdb-handle-reply)
15355 (gdb-remove-all-pending-triggers): New functions.
15356 (gdb-discard-unordered-replies): New defcustom.
15357 (gdb-handler): New defstruct.
15358 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
15359 instead of gdb-pending-triggers. Update docstring.
15360 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
15361 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
15362 (gdb-var-update-handler, def-gdb-auto-update-trigger)
15363 (def-gdb-auto-update-handler, gdb-get-changed-registers)
15364 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
15365 (gdb-frame-handler): Pending triggers are now automatically managed.
15366 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
15367 Remove argument.
15368 (gdb-input): Automatically handles pending triggers. Update docstring.
15369 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
15370 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
15371 Update comments.
15372 (gdb-done-or-error): Now use gdb-handle-reply.
15373
15374 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15375
15376 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
15377 gdb-debug-log.
15378
15379 2013-05-14 Glenn Morris <rgm@gnu.org>
15380
15381 * subr.el (user-emacs-directory-warning): New option.
15382 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
15383
15384 2013-05-14 Leo Liu <sdl.web@gmail.com>
15385
15386 * progmodes/octave.el (octave-font-lock-keywords): Fix error
15387 during redisplay.
15388 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
15389 (octave-font-lock-texinfo-comment): Fix invalid search bound
15390 error: wrong side of point.
15391
15392 2013-05-14 Glenn Morris <rgm@gnu.org>
15393
15394 * progmodes/flymake.el (flymake-xml-program): New option.
15395 (flymake-xml-init): Use it.
15396
15397 * term/xterm.el: Provide a feature.
15398
15399 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
15400
15401 2013-05-13 Glenn Morris <rgm@gnu.org>
15402
15403 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
15404 Add compat aliases as a hack workaround. (Bug#14384)
15405
15406 2013-05-13 Leo Liu <sdl.web@gmail.com>
15407
15408 * progmodes/octave.el (octave-indent-comment): Fix indentation for
15409 ###, and %!.
15410 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
15411 C-M-q.
15412 (octave-comment-start-skip): Include %!.
15413 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
15414
15415 2013-05-12 Leo Liu <sdl.web@gmail.com>
15416
15417 * progmodes/octave.el (inferior-octave-startup): Store the value
15418 of __octave_srcdir__ for octave-source-directories.
15419 (inferior-octave-check-process): New function refactored out of
15420 inferior-octave-send-list-and-digest.
15421 (octave-source-directories)
15422 (octave-find-definition-filename-function): New variables.
15423 (octave-source-directories)
15424 (octave-find-definition-default-filename): New functions.
15425 (octave-find-definition): Improve to find functions implemented in C++.
15426
15427 2013-05-12 Glenn Morris <rgm@gnu.org>
15428
15429 * calendar/diary-lib.el (diary-outlook-format-1):
15430 Don't include dayname in the output. (Bug#14349)
15431
15432 2013-05-11 Glenn Morris <rgm@gnu.org>
15433
15434 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
15435
15436 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
15437 Treat cc-provide like provide.
15438
15439 2013-05-11 Kevin Ryde <user42@zip.com.au>
15440
15441 * cus-dep.el (custom-make-dependencies):
15442 Use generated-autoload-load-name for the sake of files such
15443 such cedet/semantic/bovine/c.el, where the base file name
15444 is not in load-path. (Bug#5277)
15445
15446 2013-05-11 Glenn Morris <rgm@gnu.org>
15447
15448 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
15449 Provide features.
15450
15451 2013-05-11 Leo Liu <sdl.web@gmail.com>
15452
15453 * progmodes/octave.el (octave-indent-comment): Improve.
15454 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
15455 (octave-eldoc-function-signatures, octave-eldoc-function):
15456 New functions.
15457 (octave-mode, inferior-octave-mode): Add eldoc support.
15458
15459 2013-05-11 Richard Stallman <rms@gnu.org>
15460
15461 * epa.el (epa-decrypt-file): Take output file name as argument
15462 and read it using `interactive'.
15463
15464 2013-05-11 Leo Liu <sdl.web@gmail.com>
15465
15466 * progmodes/octave.el (octave-beginning-of-line)
15467 (octave-end-of-line): Check before using up-list because it jumps
15468 out of more syntactic contructs since moving to smie.
15469 (octave-indent-comment): New function.
15470 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
15471 (octave-begin-keywords, octave-end-keywords)
15472 (octave-reserved-words, octave-smie-bnf-table)
15473 (octave-smie-rules): Add new keywords from Octave 3.6.4.
15474
15475 2013-05-11 Glenn Morris <rgm@gnu.org>
15476
15477 * faces.el (internal-face-x-get-resource):
15478 * frame.el (ns-display-monitor-attributes-list):
15479 * calc/calc-aent.el (math-to-radians-2):
15480 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
15481 Fix declarations.
15482
15483 * calc/calc-menu.el: Make it loadable in isolation.
15484
15485 * net/eudcb-bbdb.el: Make it loadable without bbdb.
15486 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
15487 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
15488 (eudc-bbdb-query-internal): Require 'bbdb.
15489
15490 * lpr.el (lpr-headers-switches):
15491 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
15492
15493 * progmodes/sql.el (sql-login-params): Fix and improve :type.
15494
15495 * emulation/edt-mapper.el: In batch mode, error rather than hang.
15496
15497 * term.el (term-set-escape-char): Make it idempotent.
15498
15499 2013-05-10 Leo Liu <sdl.web@gmail.com>
15500
15501 * progmodes/octave.el (inferior-octave-completion-table):
15502 No longer a function and all uses changed. Use cache to speed up
15503 completion due to bug#11906.
15504 (octave-beginning-of-defun): Re-write to be more general.
15505
15506 2013-05-10 Glenn Morris <rgm@gnu.org>
15507
15508 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
15509
15510 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
15511
15512 * comint.el (comint-redirect-send-command-to-process): Use :around
15513 rather than :override for comint-redirect-filter.
15514 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
15515 Call it instead of comint-redirect-original-filter-function (which
15516 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
15517
15518 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
15519
15520 * frame.el (display-monitor-attributes-list): Add NS case.
15521 (ns-display-monitor-attributes-list): Declare.
15522
15523 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
15524
15525 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
15526
15527 2013-05-09 Glenn Morris <rgm@gnu.org>
15528
15529 * international/fontset.el (vertical-centering-font-regexp):
15530 Set standard-value.
15531
15532 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
15533
15534 * bookmark.el (bookmark-search-delay):
15535 * cus-start.el (vertical-centering-font-regexp):
15536 * ps-mule.el (ps-mule-font-info-database-default):
15537 * ps-print.el (ps-default-fg, ps-default-bg):
15538 * type-break.el (type-break-good-break-interval):
15539 * whitespace.el (whitespace-indentation-regexp)
15540 (whitespace-space-after-tab-regexp):
15541 * emacs-lisp/testcover.el (testcover-1value-functions)
15542 (testcover-noreturn-functions, testcover-progn-functions)
15543 (testcover-prog1-functions):
15544 * emulation/viper-init.el (viper-emacs-state-cursor-color):
15545 * eshell/em-glob.el (eshell-glob-translate-alist):
15546 * play/tetris.el (tetris-tty-colors):
15547 * progmodes/cpp.el (cpp-face-default-list):
15548 * progmodes/flymake.el (flymake-allowed-file-name-masks):
15549 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
15550 (idlwave-help-browser-generic-args):
15551 * progmodes/make-mode.el (makefile-special-targets-list):
15552 * progmodes/python.el (python-shell-virtualenv-path):
15553 * progmodes/verilog-mode.el (verilog-active-low-regexp)
15554 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
15555 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
15556 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
15557 * textmodes/reftex-vars.el (reftex-format-label-function):
15558 * textmodes/remember.el (remember-diary-file): Fix custom types.
15559
15560 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
15561 Add :version.
15562
15563 2013-05-09 Leo Liu <sdl.web@gmail.com>
15564
15565 * progmodes/octave.el (inferior-octave-completion-at-point):
15566 Restore file completion. (Bug#14300)
15567 (inferior-octave-startup): Fix incorrect highlighting for the
15568 first prompt.
15569
15570 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15571
15572 * progmodes/ruby-mode.el: First cut at SMIE support.
15573 (ruby-use-smie): New var.
15574 (ruby-smie-grammar): New constant.
15575 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15576 (ruby-smie--forward-token, ruby-smie--backward-token)
15577 (ruby-smie-rules): New functions.
15578 (ruby-mode-variables): Setup SMIE if applicable.
15579
15580 2013-05-08 Eli Zaretskii <eliz@gnu.org>
15581
15582 * simple.el (line-move-visual): Signal beginning/end of buffer
15583 only if vertical-motion moved less than it was requested. Avoids
15584 silly incorrect error messages when there are display strings with
15585 multiple newlines at EOL.
15586
15587 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15588
15589 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15590 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15591 (prolog-char-quote-workaround):
15592 * progmodes/cperl-mode.el (cperl-under-as-char):
15593 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15594 Mark as obsolete.
15595 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15596 their declaration.
15597 (vhdl-mode-syntax-table-init): Remove.
15598
15599 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15600 last change.
15601
15602 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15603 syntax for "_".
15604 (ld-script-font-lock-keywords):
15605 Change regexps to use things like \_< and \_>.
15606
15607 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15608 Change all regexps to use things like \_< and \_>.
15609
15610 * progmodes/autoconf.el (autoconf-definition-regexp)
15611 (autoconf-font-lock-keywords, autoconf-current-defun-function):
15612 Handle a _ with symbol syntax.
15613 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15614
15615 * progmodes/ada-mode.el (ada-mode-abbrev-table):
15616 Consolidate declaration.
15617 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15618 the declaration.
15619 (ada-create-syntax-table): Remove.
15620 (ada-capitalize-word): Don't mess with the syntax of "_" since it
15621 already has the right syntax nowadays.
15622 (ada-goto-next-word): Don't change the syntax of "_".
15623
15624 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15625 with-wrapper-hook.
15626
15627 2013-05-08 Sam Steingold <sds@gnu.org>
15628
15629 * thingatpt.el (thing-at-point): Accept optional second argument
15630 NO-PROPERTIES to strip the text properties from the return value.
15631 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15632 to `thing-at-point' instead of stripping the properties ourselves.
15633 Also, when `thing-at-point' fails to find a url, prepend "http://"
15634 to the filename at point on the assumption that the user is
15635 pointing at something like gnu.org/gnu.
15636
15637 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
15638
15639 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15640 * faces.el (crm-separator):
15641 Silence byte-compiler.
15642
15643 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15644 (tool-bar-map): Remove unneeded defvars.
15645
15646 2013-05-08 Leo Liu <sdl.web@gmail.com>
15647
15648 Re-work a fix for bug#10994 based on Le Wang's patch.
15649 * ido.el (ido-remove-consecutive-dups): New helper.
15650 (ido-completing-read): Use it.
15651 (ido-chop): Revert fix for bug#10994.
15652
15653 2013-05-08 Adam Spiers <emacs@adamspiers.org>
15654
15655 * cus-edit.el (custom-save-variables):
15656 Pretty-print long values. (Bug#14187)
15657
15658 2013-05-08 Glenn Morris <rgm@gnu.org>
15659
15660 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15661 (m4-mode-syntax-table): Init in the defvar.
15662 (m4-mode-abbrev-table): Let define-derived-mode define it.
15663
15664 2013-05-08 Tom Tromey <tromey@redhat.com>
15665
15666 * progmodes/m4-mode.el (m4-mode-syntax-table):
15667 Do not treat "_" as word constituent. (Bug#14167)
15668
15669 2013-05-07 Glenn Morris <rgm@gnu.org>
15670
15671 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15672 Remove explicit eshell-isearch-cancel-map.
15673
15674 * progmodes/f90.el (f90-smart-end-names): New option.
15675 (f90-smart-end): Doc fix.
15676 (f90-end-block-optional-name): New constant.
15677 (f90-block-match): Respect f90-smart-end-names.
15678
15679 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15680
15681 * progmodes/octave.el (octave-smie-forward-token): Be more careful
15682 about implicit semi-colons (bug#14218).
15683
15684 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15685
15686 * frame.el (display-monitor-attributes-list)
15687 (frame-monitor-attributes): New functions.
15688
15689 2013-05-06 Leo Liu <sdl.web@gmail.com>
15690
15691 * progmodes/octave.el (octave-syntax-propertize-function): Change
15692 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15693 (octave-font-lock-keywords): Use octave-operator-regexp.
15694 (octave-completion-at-point): Rename from
15695 octave-completion-at-point-function.
15696 (inferior-octave-directory-tracker): Robustify.
15697 (octave-text-functions): Remove and fix its uses. No such things
15698 any more.
15699
15700 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15701
15702 * emacs-lisp/trace.el (trace--display-buffer): New function.
15703 (trace-make-advice): Use it.
15704
15705 2013-05-06 Juri Linkov <juri@jurta.org>
15706
15707 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15708 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15709 Doc fix.
15710 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15711 in the help string. (Bug#12985)
15712
15713 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15714
15715 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15716
15717 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15718
15719 * progmodes/perl-mode.el: Add support for here documents.
15720 (perl-syntax-propertize-function): Match here-doc markers.
15721 (perl-syntax-propertize-special-constructs): Find their end.
15722 (perl-imenu-generic-expression): Use [:alnum:].
15723
15724 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15725 (advice--add-function): Refresh the advice if already present
15726 (bug#14317).
15727
15728 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
15729
15730 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15731
15732 2013-05-06 Glenn Morris <rgm@gnu.org>
15733
15734 * w32-fns.el (w32-charset-info-alist): Declare.
15735
15736 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15737 of its defcustom properties.
15738 (eshell-cmpl-initialize): No need to load pcomplete.
15739
15740 * generic-x.el: No need to require comint when compiling.
15741
15742 * net/eudc-export.el: Make it loadable without bbdb.
15743 (top-level): Use require rather than load-library.
15744 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15745 (eudc-batch-export-records-to-bbdb)
15746 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15747 Require bbdb.
15748
15749 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15750
15751 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15752 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15753 some tweaks, instead.
15754
15755 2013-05-05 Leo Liu <sdl.web@gmail.com>
15756
15757 * progmodes/octave.el (octave-font-lock-keywords)
15758 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15759 (inferior-octave-send-list-and-digest): Improve error message.
15760 (octave-mode, inferior-octave-mode): Use setq-local.
15761 (octave-help): Set info-lookup-mode.
15762
15763 2013-05-05 Richard Stallman <rms@gnu.org>
15764
15765 * vc/compare-w.el (compare-windows-whitespace):
15766 Treat no-break space as whitespace.
15767
15768 * mail/rmailsum.el (rmail-summary-rmail-update):
15769 Detect empty summary and don't change selected message.
15770 (rmail-summary-goto-msg): Likewise.
15771
15772 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15773 Doc fixes, rename args.
15774
15775 2013-05-05 Alan Mackenzie <acm@muc.de>
15776
15777 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15778
15779 2013-05-05 Juri Linkov <juri@jurta.org>
15780
15781 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15782 to not add the length of the summary segment to the return value.
15783 (Bug#14125)
15784
15785 2013-05-05 Leo Liu <sdl.web@gmail.com>
15786
15787 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15788 (inferior-octave-output-filter): Remove.
15789 (octave-send-region, inferior-octave-startup): Fix callers.
15790 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15791 (octave-binary-file-extensions): New user variable.
15792 (octave-find-definition): Confirm if opening binary files.
15793 (octave-help-file): Use octave-find-definition to get the binary
15794 confirmation.
15795 (octave-help): Adjust for octave-help-file change.
15796
15797 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15798
15799 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15800 Merge the two entries that handle function definitions.
15801 (pascal--syntax-propertize): New const.
15802 (pascal-mode): Use it. Use setq-local.
15803
15804 2013-05-04 Glenn Morris <rgm@gnu.org>
15805
15806 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15807 (diary-from-outlook): Respect diary-from-outlook-function.
15808
15809 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15810
15811 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15812 Move the declaration from C.
15813 (read-minibuffer, eval-minibuffer): Move from C.
15814 (completion-setup-function): Avoid minibuffer-completion-contents.
15815
15816 2013-05-03 Leo Liu <sdl.web@gmail.com>
15817
15818 * progmodes/octave.el (octave-font-lock-keywords): Do not
15819 dehighlight 'end' in comments or strings.
15820 (octave-completing-read, octave-goto-function-definition):
15821 New helpers.
15822 (octave-help-buffer): New user variable.
15823 (octave-help-file, octave-help-function): New button types.
15824 (octave-help): New command and bind it to C-h ;.
15825 (octave-find-definition): New command and bind it to M-.
15826 (user-error): Alias to error if not defined.
15827
15828 2013-05-02 Leo Liu <sdl.web@gmail.com>
15829
15830 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15831 for \. (bug#14332)
15832 (octave-font-lock-keywords): Include [ and {.
15833
15834 2013-05-02 Leo Liu <sdl.web@gmail.com>
15835
15836 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15837 (inferior-octave): Remove calling comint-mode and return the buffer.
15838 (inferior-octave-startup): Cosmetic changes.
15839
15840 2013-05-02 Leo Liu <sdl.web@gmail.com>
15841
15842 * progmodes/octave.el (octave-syntax-propertize-function):
15843 Include the case when ' is at line beginning. (Bug#14336)
15844
15845 2013-05-02 Glenn Morris <rgm@gnu.org>
15846
15847 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15848 * desktop.el (vc-dir-mode): Just autoload it here.
15849
15850 2013-05-02 Alan Mackenzie <acm@muc.de>
15851
15852 Eliminate variable c-standard-font-lock-fontify-region-function.
15853 * progmodes/cc-mode.el
15854 (c-standard-font-lock-fontify-region-function): Remove.
15855 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15856
15857 2013-05-01 Leo Liu <sdl.web@gmail.com>
15858
15859 * progmodes/octave.el: Compatible with older emacs-24 releases.
15860 (inferior-octave-has-built-in-variables): Remove. Built-in
15861 variables were removed from Octave in 2007.
15862 (inferior-octave-startup): Fix uses.
15863 (comint-line-beginning-position): Remove compatibility code for
15864 emacs 21.
15865
15866 2013-05-01 Juri Linkov <juri@jurta.org>
15867
15868 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15869
15870 2013-05-01 Juri Linkov <juri@jurta.org>
15871
15872 * comint.el (comint-previous-matching-input): Don't print message
15873 "History item: %d" when `isearch-mode' is active.
15874 (comint-history-isearch-message): Print message "History item: %d"
15875 when `comint-input-ring-index' is not empty and this function is
15876 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15877
15878 2013-05-01 Leo Liu <sdl.web@gmail.com>
15879
15880 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15881 definitions. Use completion-at-point to insert keywords.
15882 (octave-abbrev-start): Remove.
15883 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15884
15885 2013-04-30 Leo Liu <sdl.web@gmail.com>
15886
15887 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15888 change.
15889
15890 2013-04-30 Alan Mackenzie <acm@muc.de>
15891
15892 Handle arbitrarily long C++ member initialisation lists.
15893 * progmodes/cc-engine.el (c-back-over-member-initializers):
15894 new function.
15895 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15896 (most) member init lists.
15897
15898 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15899
15900 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15901 variable.
15902
15903 2013-04-30 Leo Liu <sdl.web@gmail.com>
15904
15905 * progmodes/octave.el (octave-variables): Remove. No builtin
15906 variables any more. All converted to functions.
15907 (octave-font-lock-keywords, octave-completion-at-point-function):
15908 Fix uses.
15909 (octave-font-lock-texinfo-comment): New user variable.
15910 (octave-texinfo-font-lock-keywords): New variable for texinfo
15911 comment block.
15912 (octave-function-comment-block): New face.
15913 (octave-font-lock-texinfo-comment): New function.
15914 (octave-mode): Font lock texinfo comment block.
15915
15916 2013-04-29 Leo Liu <sdl.web@gmail.com>
15917
15918 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15919 indexing expression.
15920 (octave-continuation-string): Do not use \.
15921 (inferior-octave-complete-impossible): Remove.
15922 (inferior-octave-completion-table)
15923 (inferior-octave-completion-at-point): Remove its uses.
15924 (inferior-octave-startup): completion_matches was introduced to
15925 Octave in 1996 so safe to assume it.
15926 (octave-function-file-comment): Improve to follow how Octave does it.
15927 (octave-update-function-file-comment): Tweak.
15928
15929 2013-04-29 Leo Liu <sdl.web@gmail.com>
15930
15931 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15932 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15933 (octave-function-file-comment): Fix typo.
15934 (octave-sync-function-file-names): Use read-char-choice.
15935
15936 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15937
15938 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15939 to t for the less important warnings.
15940
15941 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15942
15943 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15944
15945 2013-04-27 Glenn Morris <rgm@gnu.org>
15946
15947 * vc/log-view.el (log-view-current-entry):
15948 Treat "---" separator lines as part of the following rev. (Bug#14169)
15949
15950 2013-04-27 Juri Linkov <juri@jurta.org>
15951
15952 * subr.el (read-number): Doc fix about using it by interactive
15953 code letter `n'. (Bug#14254)
15954
15955 2013-04-27 Juri Linkov <juri@jurta.org>
15956
15957 * desktop.el (desktop-auto-save-timeout): New option.
15958 (desktop-file-checksum): New variable.
15959 (desktop-save): Add optional arg `auto-save' and don't auto-save
15960 if nothing changed.
15961 (desktop-auto-save-timer): New variable.
15962 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15963 (after-init-hook): Call `desktop-auto-save-set-timer'.
15964 Suggested by Reuben Thomas <rrt@sc3d.org> in
15965 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15966
15967 2013-04-27 Leo Liu <sdl.web@gmail.com>
15968
15969 * progmodes/octave.el (octave-function-file-p)
15970 (octave-skip-comment-forward, octave-function-file-comment)
15971 (octave-update-function-file-comment): New functions.
15972 (octave-mode-map): Bind C-c ; to
15973 octave-update-function-file-comment.
15974 (octave-mode-menu): Add octave-update-function-file-comment.
15975 (octave-mode, inferior-octave-mode): Fix doc-string.
15976 (octave-insert-defun): Conform to Octave's coding convention.
15977 (Bug#14285)
15978
15979 * files.el (basic-save-buffer): Don't let errors in
15980 before-save-hook prevent saving buffer.
15981
15982 2013-04-20 Roland Winkler <winkler@gnu.org>
15983
15984 * faces.el (read-face-name): Use completing-read if arg multiple
15985 is nil.
15986
15987 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15988
15989 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15990 displayed, move point to after the totals line.
15991 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15992 for the details.
15993
15994 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15995
15996 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15997 Add current dir to the load-path.
15998 (package-generate-autoloads): Don't rely on
15999 autoload-ensure-default-file.
16000
16001 2013-04-26 Reuben Thomas <rrt@sc3d.org>
16002
16003 * textmodes/remember.el (remember-store-in-files): Document that
16004 the file name format is passed to `format-time-string'.
16005
16006 2013-04-26 Leo Liu <sdl.web@gmail.com>
16007
16008 * progmodes/octave.el (octave-sync-function-file-names): New function.
16009 (octave-mode): Use it in before-save-hook.
16010
16011 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
16012
16013 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
16014 (bug#14274).
16015
16016 * progmodes/octave.el (octave-smie-forward-token): Properly skip
16017 \n and comment, even if it's not an implicit ; (bug#14218).
16018
16019 2013-04-26 Glenn Morris <rgm@gnu.org>
16020
16021 * subr.el (read-number): Once more use `read' rather than
16022 `string-to-number', to trap non-numeric input. (Bug#14254)
16023
16024 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
16025
16026 * emacs-lisp/syntax.el (syntax-propertize-multiline):
16027 Use `syntax-multiline' text property consistently instead of
16028 `font-lock-multiline'. (Bug#14237)
16029
16030 2013-04-26 Glenn Morris <rgm@gnu.org>
16031
16032 * emacs-lisp/shadow.el (list-load-path-shadows):
16033 No longer necessary to check for duplicate simple.el, since
16034 2012-07-07 change to init_lread to not include installation lisp
16035 directories in load-path when running uninstalled. (Bug#14270)
16036
16037 2013-04-26 Leo Liu <sdl.web@gmail.com>
16038
16039 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
16040 (octave-mode, inferior-octave-mode): Use setq-local.
16041 (octave-not-in-string-or-comment-p): Rename to
16042 octave-in-string-or-comment-p.
16043 (octave-in-comment-p, octave-in-string-p)
16044 (octave-in-string-or-comment-p): Replace defsubst with defun.
16045
16046 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
16047
16048 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
16049
16050 2013-04-25 Bastien Guerry <bzg@gnu.org>
16051
16052 * textmodes/remember.el (remember-data-directory)
16053 (remember-directory-file-name-format): Fix custom types.
16054
16055 2013-04-25 Leo Liu <sdl.web@gmail.com>
16056
16057 * progmodes/octave.el (octave-completion-at-point-function):
16058 Make use of inferior octave process.
16059 (octave-initialize-completions): Remove.
16060 (inferior-octave-completion-table): New function.
16061 (inferior-octave-completion-at-point): Use it.
16062 (octave-completion-alist): Remove.
16063
16064 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16065
16066 * progmodes/opascal.el: Use font-lock and syntax-propertize.
16067 (opascal-mode-syntax-table): New var.
16068 (opascal-literal-kind, opascal-is-literal-end)
16069 (opascal-literal-token-at): Rewrite.
16070 (opascal--literal-start-re, opascal-font-lock-keywords)
16071 (opascal--syntax-propertize): New constants.
16072 (opascal-font-lock-defaults): Adjust.
16073 (opascal-mode): Use them. Set comment-<foo> variables as well.
16074 (delphi-comment-face, opascal-comment-face, delphi-string-face)
16075 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
16076 (delphi-other-face, opascal-other-face): Remove face variables.
16077 (opascal-save-state): Remove macro.
16078 (opascal-fontifying-progress-step): Remove constant.
16079 (opascal--ignore-changes): Remove var.
16080 (opascal-set-token-property, opascal-parse-next-literal)
16081 (opascal-is-stable-literal, opascal-complete-literal)
16082 (opascal-is-literal-start, opascal-face-of)
16083 (opascal-parse-region, opascal-parse-region-until-stable)
16084 (opascal-fontify-region, opascal-after-change)
16085 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
16086 (opascal-debug-parse-region, opascal-debug-parse-window)
16087 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
16088 (opascal-debug-fontify-buffer): Remove.
16089 (opascal-debug-mode-map): Adjust accordingly.
16090
16091 2013-04-25 Leo Liu <sdl.web@gmail.com>
16092
16093 Merge octave-mod.el and octave-inf.el into octave.el with some
16094 cleanups.
16095 * progmodes/octave.el: New file renamed from octave-mod.el.
16096 * progmodes/octave-inf.el: Merged into octave.el.
16097 * progmodes/octave-mod.el: Renamed to octave.el.
16098
16099 2013-04-25 Tassilo Horn <tsdh@gnu.org>
16100
16101 * textmodes/reftex-vars.el
16102 (reftex-label-ignored-macros-and-environments): New defcustom.
16103
16104 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
16105
16106 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16107
16108 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
16109 (smie-indent-keyword): Improve the check to ensure that the next
16110 comment is really on the same line.
16111 (smie-indent-comment): Don't align with a subsequent closer (or eob).
16112
16113 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
16114 semi-colons if the line is not otherwise empty (bug#14218).
16115
16116 2013-04-25 Glenn Morris <rgm@gnu.org>
16117
16118 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
16119
16120 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
16121
16122 * progmodes/opascal.el (opascal-set-token-property): Rename from
16123 opascal-set-text-properties and only set `token' (bug#14134).
16124 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
16125 (opascal-literal-text-properties): Remove.
16126 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
16127 Adjust callers.
16128
16129 2013-04-24 Reuben Thomas <rrt@sc3d.org>
16130
16131 * textmodes/remember.el (remember-handler-functions): Add an
16132 option for a new handler `remember-store-in-files'.
16133 (remember-data-directory, remember-directory-file-name-format):
16134 New options.
16135 (remember-store-in-files): New function to store remember notes
16136 as separate files within a directory.
16137
16138 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
16139
16140 * progmodes/compile.el (compilation-next-error-function):
16141 Pass "formats" to compilation-find-file (bug#11777).
16142
16143 2013-04-24 Glenn Morris <rgm@gnu.org>
16144
16145 * vc/vc-bzr.el (vc-bzr-print-log):
16146 * vc/vc-hg.el (vc-hg-print-log):
16147 * vc/vc-svn.el (vc-svn-print-log):
16148 Fix START-REVISION with LIMIT != 1. (Bug#14168)
16149
16150 * vc/vc-bzr.el (vc-bzr-print-log):
16151 * vc/vc-cvs.el (vc-cvs-print-log):
16152 * vc/vc-git.el (vc-git-print-log):
16153 * vc/vc-hg.el (vc-hg-print-log):
16154 * vc/vc-mtn.el (vc-mtn-print-log):
16155 * vc/vc-rcs.el (vc-rcs-print-log):
16156 * vc/vc-sccs.el (vc-sccs-print-log):
16157 * vc/vc-svn.el (vc-svn-print-log):
16158 * vc/vc.el (vc-print-log-internal): Doc fixes.
16159
16160 2013-04-23 Glenn Morris <rgm@gnu.org>
16161
16162 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
16163 Remove venerable code attempting to avoid substitute-command-keys.
16164
16165 2013-04-23 Tassilo Horn <tsdh@gnu.org>
16166
16167 * textmodes/reftex-vars.el (reftex-label-regexps):
16168 Call `reftex-compile-variables' after changes to this variable.
16169
16170 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
16171
16172 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
16173 Use lexical-binding.
16174 (jit-lock-force-redisplay): Use markers, check buffer's continued
16175 existence and beware narrowed buffers.
16176 (jit-lock-fontify-now): Adjust call accordingly.
16177
16178 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
16179
16180 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
16181 to avoid misleading the user.
16182
16183 2013-04-22 Leo Liu <sdl.web@gmail.com>
16184
16185 * info-look.el: Prefer latex2e.info. (Bug#14240)
16186
16187 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
16188
16189 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
16190
16191 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
16192 * net/tramp.el (tramp-call-process): ... here.
16193 (tramp-set-completion-function, tramp-parse-putty):
16194 * net/tramp-adb.el (tramp-adb-execute-adb-command):
16195 * net/tramp-gvfs.el (tramp-gvfs-send-command):
16196 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
16197 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
16198 (tramp-call-local-coding-command): Use `tramp-call-process'
16199 instead of `tramp-compat-call-process'.
16200
16201 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
16202 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
16203 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
16204 (tramp-find-inline-compress): Improve traces.
16205 (tramp-maybe-send-script): Check for Perl binary.
16206 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
16207
16208 2013-04-22 Daiki Ueno <ueno@gnu.org>
16209
16210 * epg.el (epg-context-pinentry-mode): New function.
16211 (epg-context-set-pinentry-mode): New function.
16212 (epg--start): Pass --pinentry-mode option to gpg command.
16213
16214 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
16215
16216 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
16217 `comint-dynamic-complete' is obsolete since 24.1, replaced by
16218 `completion-at-point'. (Bug#13774)
16219
16220 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
16221 default key binding for `describe-distribution' has been moved to
16222 `C-h C-o'. (Bug#13970)
16223
16224 2013-04-21 Glenn Morris <rgm@gnu.org>
16225
16226 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
16227 Add doc strings.
16228 (vc-print-log): Clarify interactive prompt.
16229
16230 2013-04-20 Glenn Morris <rgm@gnu.org>
16231
16232 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
16233 No longer include timestamp etc information.
16234
16235 2013-04-20 Roland Winkler <winkler@gnu.org>
16236
16237 * faces.el (read-face-name): Bug fix, return just one face if arg
16238 multiple is nil. (Bug#14209)
16239
16240 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16241
16242 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
16243 (remove-function): Autoload.
16244
16245 * comint.el (comint-redirect-original-filter-function): Remove.
16246 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
16247 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
16248 (vc-cvs-annotate-command):
16249 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
16250 * progmodes/prolog.el (prolog-consult-compile):
16251 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
16252 Use add/remove-function instead.
16253 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
16254 (gud-tooltip-process-output, gud-tooltip-tips):
16255 Use add/remove-function instead.
16256 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
16257 (scheme-interaction-mode, exit-scheme-interaction-mode):
16258 Use add/remove-function instead.
16259
16260 * vc/vc-dispatcher.el: Use lexical-binding.
16261 (vc--process-sentinel): Rename from vc-process-sentinel.
16262 Change last arg to be the code to run. Don't use vc-previous-sentinel
16263 and vc-sentinel-commands any more.
16264 (vc-exec-after): Allow code to be a function. Use add/remove-function.
16265 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
16266
16267 2013-04-19 Masatake YAMATO <yamato@redhat.com>
16268
16269 * progmodes/sh-script.el (sh-imenu-generic-expression):
16270 Handle function names with a single character. (Bug#14111)
16271
16272 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
16273
16274 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
16275 for subroutines defined in an eval (bug#14182).
16276
16277 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16278
16279 * bookmark.el (bookmark-completing-read): Improve handling of empty
16280 string (bug#14176).
16281
16282 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16283
16284 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
16285
16286 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
16287
16288 New faster Imenu implementation (bug#14058).
16289 * progmodes/python.el:
16290 (python-imenu-prev-index-position):
16291 (python-imenu-format-item-label-function)
16292 (python-imenu-format-parent-item-label-function)
16293 (python-imenu-format-parent-item-jump-label-function):
16294 New vars.
16295 (python-imenu-format-item-label)
16296 (python-imenu-format-parent-item-label)
16297 (python-imenu-format-parent-item-jump-label)
16298 (python-imenu--put-parent, python-imenu--build-tree)
16299 (python-imenu-create-index, python-imenu-create-flat-index)
16300 (python-util-popn): New functions.
16301 (python-mode): Set imenu-create-index-function to
16302 python-imenu-create-index.
16303
16304 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16305
16306 * winner.el (winner-active-region): Use region-active-p, activate-mark
16307 and deactivate-mark (bug#14225).
16308
16309 * simple.el (deactivate-mark): Don't inline it.
16310
16311 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
16312
16313 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
16314
16315 2013-04-18 Tassilo Horn <tsdh@gnu.org>
16316
16317 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
16318 file extensions from the archive-mode entry in order to prefer
16319 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
16320
16321 2013-04-18 Leo Liu <sdl.web@gmail.com>
16322
16323 * bindings.el (help-event-list): Add ?\?.
16324
16325 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16326
16327 * subr.el (with-wrapper-hook): Declare obsolete.
16328 * simple.el (filter-buffer-substring-function): New hook.
16329 (filter-buffer-substring): Use it.
16330 (filter-buffer-substring-functions): Mark obsolete.
16331 * minibuffer.el (completion-in-region-function): New hook.
16332 (completion-in-region): Use it.
16333 (completion-in-region-functions): Mark obsolete.
16334 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
16335 * abbrev.el (abbrev-expand-function): New hook.
16336 (expand-abbrev): Use it.
16337 (abbrev-expand-functions): Mark obsolete.
16338 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
16339 and :filter-return.
16340
16341 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16342
16343 * progmodes/python.el (python-nav--syntactically): Fix cornercases
16344 and do not care about match data.
16345
16346 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16347
16348 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
16349 completion tables when completing error conditions and
16350 `declare' arguments.
16351 (lisp-complete-symbol, field-complete): Mark as obsolete.
16352 (check-parens): Unmatched parens are user errors.
16353 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
16354
16355 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
16356
16357 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
16358 command changed buffer (ie. `flyspell-pre-buffer' is not current
16359 buffer), which prevents making decisions based on invalid value of
16360 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
16361 cause an error when `flyspell-pre-point' was nil after switching
16362 buffers.
16363 (flyspell-post-command-hook): No longer needs to change buffers when
16364 checking pre-word. While at it remove unnecessary progn.
16365
16366 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
16367
16368 * textmodes/ispell.el (ispell-add-per-file-word-list):
16369 Fix `flyspell-correct-word-before-point' error when accepting
16370 words and `coment-padding' is an integer by using
16371 `comment-normalize-vars' (Bug #14214).
16372
16373 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16374
16375 New defun movement commands.
16376 * progmodes/python.el (python-nav--syntactically)
16377 (python-nav--forward-defun, python-nav-backward-defun)
16378 (python-nav-forward-defun): New functions.
16379
16380 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16381
16382 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
16383 (python-syntax-context): Use named compiler-macro for backwards
16384 compatibility with Emacs 24.x.
16385
16386 2013-04-17 Leo Liu <sdl.web@gmail.com>
16387
16388 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
16389 octave-hide-process-buffer.
16390
16391 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16392
16393 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
16394 (bug#14216).
16395
16396 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
16397
16398 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
16399 Fix adjustment of offset when receiving incomplete responses from GDB
16400 (bug#14129).
16401
16402 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16403
16404 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
16405 python-mode-abbrev-table.
16406 (python-skeleton-define): Adjust accordingly.
16407 (python-mode-abbrev-table): New table that inherits from it so that
16408 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
16409
16410 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
16411 (abbrev-symbol): Use it.
16412 (abbrev--before-point): Use it since we already handle inheritance.
16413
16414 2013-04-16 Leo Liu <sdl.web@gmail.com>
16415
16416 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
16417 binding to info-lookup-symbol.
16418
16419 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
16420
16421 * minibuffer.el (completion--twq-all):
16422 * term/ns-win.el (ns-initialize-window-system):
16423 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
16424
16425 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16426
16427 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
16428 global bindings.
16429
16430 * doc-view.el (doc-view-start-process): Handle url-handler directories.
16431
16432 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
16433
16434 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
16435 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
16436 to nil.
16437 (ruby-end-of-defun): Remove the unused arg, change the docstring
16438 to reflect that this function is only used as the value of
16439 `end-of-defun-function'.
16440 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
16441 to reflect an earlier change that beginning/end-of-defun functions
16442 jump between methods in a class definition, as well as top-level
16443 functions.
16444
16445 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16446
16447 * minibuffer.el (minibuffer-complete): Don't just scroll
16448 a *Completions* that's been iconified.
16449 (minibuffer-force-complete): Make sure repetitions do cycle when going
16450 through completion-in-region -> minibuffer-complete.
16451
16452 2013-04-15 Alan Mackenzie <acm@muc.de>
16453
16454 Correct the placement of c-cpp-delimiters when there're #s not at
16455 col 0.
16456
16457 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
16458 place a submatch around the #.
16459 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
16460 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
16461 on the #, not BOL.
16462
16463 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16464
16465 * emacs-lisp/nadvice.el: Properly test names when adding advice.
16466 (advice--member-p): New arg `name'.
16467 (advice--add-function, advice-member-p): Use it (bug#14202).
16468
16469 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
16470
16471 Reformulate java imenu-generic-expression.
16472 The old expression contained ill formed regexps.
16473
16474 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
16475 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
16476 (cc-imenu-java-method-arg-regexp): New defconsts.
16477 (cc-imenu-java-build-type-args-regex): New defun.
16478 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
16479 handling of spaces in the regexp.
16480
16481 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16482
16483 * textmodes/ispell.el (ispell-command-loop): Remove
16484 flyspell highlight of a word when ispell accepts it (bug #14178).
16485
16486 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
16487
16488 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
16489 uses code from the previous `ange-ftp-run-real-handler'.
16490 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
16491 only in case that function exist. This is needed for proper
16492 unloading of Tramp.
16493
16494 2013-04-15 Tassilo Horn <tsdh@gnu.org>
16495
16496 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
16497
16498 * textmodes/reftex.el (reftex-compile-variables): Use it.
16499
16500 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16501
16502 * files.el (normal-mode): Only use default major-mode if no other mode
16503 was specified.
16504
16505 * emacs-lisp/trace.el (trace-values): New function.
16506
16507 * files.el: Allow : in local variables (bug#14089).
16508 (hack-local-variable-regexp): New var.
16509 (hack-local-variables-prop-line, hack-local-variables): Use it.
16510
16511 2013-04-13 Roland Winkler <winkler@gnu.org>
16512
16513 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
16514 data before it gets modified by bibtex-beginning-of-entry.
16515
16516 2013-04-13 Roland Winkler <winkler@gnu.org>
16517
16518 * textmodes/bibtex.el (bibtex-url): Doc fix.
16519
16520 2013-04-13 Roland Winkler <winkler@gnu.org>
16521
16522 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
16523 does not visit a BibTeX file, exclude it from the list of buffers
16524 returned by bibtex-initialize.
16525
16526 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
16527
16528 * window.el (split-window): Remove interactive form, since as a
16529 command this function is a special case of split-window-below.
16530 Correct doc string.
16531
16532 2013-04-12 Roland Winkler <winkler@gnu.org>
16533
16534 * faces.el (read-face-name): Do not override value of arg default.
16535 Allow single faces and strings as default values. Remove those
16536 elements from return value that are not faces.
16537 (describe-face): Simplify.
16538 (face-at-point): New optional args thing and multiple so that this
16539 function can provide the same functionality previously provided by
16540 read-face-name.
16541 (make-face-bold, make-face-unbold, make-face-italic)
16542 (make-face-unitalic, make-face-bold-italic, invert-face)
16543 (modify-face, read-face-and-attribute): Use face-at-point.
16544
16545 * cus-edit.el (customize-face, customize-face-other-window)
16546 * cus-theme.el (custom-theme-add-face)
16547 * face-remap.el (buffer-face-set)
16548 * facemenu.el (facemenu-set-face): Use face-at-point.
16549
16550 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
16551
16552 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
16553
16554 2013-04-10 Tassilo Horn <tsdh@gnu.org>
16555
16556 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
16557 off leading { and trailing } from field values.
16558
16559 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16560
16561 * emacs-lisp/timer.el (timer--check): New function.
16562 (timer--time, timer-set-function, timer-event-handler): Use it.
16563 (timer-set-idle-time): Simplify.
16564 (timer--activate): CSE.
16565 (timer-event-handler): Give more info in error message.
16566 (internal-timer-start-idle): New function, moved from C.
16567
16568 * mpc.el (mpc-proc): Add `restart' argument.
16569 (mpc-proc-cmd): Use it.
16570 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
16571 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
16572 less often.
16573
16574 2013-04-10 Masatake YAMATO <yamato@redhat.com>
16575
16576 * progmodes/sh-script.el: Implement `sh-mode' own
16577 `add-log-current-defun-function' (bug#14112).
16578 (sh-current-defun-name): New function.
16579 (sh-mode): Use the function.
16580
16581 2013-04-09 Bastien Guerry <bzg@gnu.org>
16582
16583 * simple.el (choose-completion-string): Fix docstring (bug#14163).
16584
16585 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
16586
16587 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16588
16589 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16590 timer (bug#14156).
16591
16592 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
16593
16594 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16595 declaration.
16596
16597 2013-04-07 Leo Liu <sdl.web@gmail.com>
16598
16599 * pcmpl-x.el: New file.
16600
16601 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
16602
16603 Do not set x-display-name until X connection is established.
16604 This is needed to prevent from weird situation described at
16605 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16606 * frame.el (make-frame): Set x-display-name after call to
16607 window system initialization function, not before.
16608 * term/x-win.el (x-initialize-window-system): Add optional
16609 display argument and use it.
16610 * term/w32-win.el (w32-initialize-window-system):
16611 * term/ns-win.el (ns-initialize-window-system):
16612 * term/pc-win.el (msdos-initialize-window-system):
16613 Add compatible optional display argument.
16614
16615 2013-04-06 Eli Zaretskii <eliz@gnu.org>
16616
16617 * files.el (normal-backup-enable-predicate): On MS-Windows and
16618 MS-DOS compare truenames of temporary-file-directory and of the
16619 file, so that 8+3 aliases (usually found in $TEMP on Windows)
16620 don't fail comparison by compare-strings. Also, compare file
16621 names case-insensitively on MS-Windows and MS-DOS.
16622
16623 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16624
16625 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16626 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16627
16628 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
16629
16630 * whitespace.el (whitespace-color-on, whitespace-color-off):
16631 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16632
16633 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
16634
16635 * ispell.el (ispell-set-spellchecker-params):
16636 Really set `ispell-args' for all equivs.
16637
16638 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16639
16640 * ido.el (ido-completions): Use extra elements of ido-decorations
16641 (bug#14143).
16642 (ido-decorations): Update docstring.
16643
16644 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
16645
16646 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16647 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16648 nil during initialization, in order not to miss changes since the
16649 file was opened. (Bug#14140)
16650
16651 2013-04-05 Leo Liu <sdl.web@gmail.com>
16652
16653 * kmacro.el (kmacro-call-macro): Fix bug#14135.
16654
16655 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
16656
16657 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16658
16659 2013-04-04 Glenn Morris <rgm@gnu.org>
16660
16661 * electric.el (electric-pair-inhibit-predicate): Add :version.
16662
16663 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16664
16665 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16666 when a package is required several times (bug#14082).
16667
16668 2013-04-04 Roland Winkler <winkler@gnu.org>
16669
16670 * faces.el (read-face-name): Behave as promised by the docstring.
16671 Assume that arg default is a list of faces.
16672 (describe-face): Call read-face-name with list of default faces.
16673
16674 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16675
16676 * bookmark.el: Fix deletion of bookmarks (bug#13972).
16677 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16678 (bookmark-bmenu-execute-deletions): Only skip first line if it's
16679 the header.
16680 (bookmark-exit-hook-internal): Save even if list is empty.
16681
16682 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
16683
16684 * emacs-lisp/package.el (package-pinned-packages): New var.
16685 (package--add-to-archive-contents): Obey it (bug#14118).
16686
16687 2013-04-03 Alan Mackenzie <acm@muc.de>
16688
16689 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16690 Also adapt to the new values of element 7 of a parse state.
16691
16692 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16693 parameter `not-in-delimiter'. Handle being inside comment opener.
16694 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16695 character in case we're typing a '*' after a '/'.
16696 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16697 instead by passing the parameter to c-state-pp-to-literal.
16698
16699 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16700 for elt. 7 of a parse state.
16701
16702 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16703
16704 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16705 * international/latin1-disp.el, international/mule-util.el:
16706 * language/cyril-util.el, language/european.el, language/ind-util.el:
16707 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16708 * language/tibetan.el, language/viet-util.el:
16709 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16710
16711 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16712
16713 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16714 (electric-pair-post-self-insert-function): Use it.
16715 (electric-pair-default-inhibit): New function, extracted from
16716 electric-pair-post-self-insert-function.
16717
16718 2013-03-31 Roland Winkler <winkler@gnu.org>
16719
16720 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16721
16722 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16723
16724 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16725
16726 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
16727
16728 Un-indent after "pass" and "return" statements (Bug#13888)
16729 * progmodes/python.el (python-indent-block-enders): New var.
16730 (python-indent-calculate-indentation): Use it.
16731
16732 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
16733
16734 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16735 defun. Defining it as defalias could introduce too eager
16736 byte-compiler optimization. (Bug#14030)
16737
16738 2013-03-30 Chong Yidong <cyd@gnu.org>
16739
16740 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16741
16742 2013-03-30 Leo Liu <sdl.web@gmail.com>
16743
16744 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16745 (kmacro-execute-from-register): Pass the keyboard macro to
16746 kmacro-call-macro or repeating won't work correctly.
16747
16748 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16749
16750 * progmodes/subword.el: Back to using `forward-symbol'.
16751
16752 * subr.el (forward-whitespace, forward-symbol)
16753 (forward-same-syntax): Move from thingatpt.el.
16754
16755 2013-03-29 Leo Liu <sdl.web@gmail.com>
16756
16757 * kmacro.el (kmacro-to-register): New command.
16758 (kmacro-execute-from-register): New function.
16759 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16760
16761 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16762
16763 * mpc.el: Use defvar-local and setq-local.
16764 (mpc--proc-connect): Connection failures are not bugs.
16765 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16766 (mpc-volume-map): Bind to the up-events.
16767
16768 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16769
16770 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16771 instead of `forward-symbol'.
16772
16773 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16774
16775 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16776 (edebug--recursive-edit): Use it.
16777 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16778 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16779
16780 2013-03-28 Leo Liu <sdl.web@gmail.com>
16781
16782 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16783
16784 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16785
16786 * facemenu.el (list-colors-callback): New defvar.
16787 (list-colors-redisplay): New function.
16788 (list-colors-display): Install list-colors-redisplay as the
16789 revert-buffer-function. (Bug#14063)
16790
16791 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16792
16793 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16794 and suffixes don't overlap (bug#14061).
16795
16796 * case-table.el: Use lexical-binding.
16797 (case-table-get-table): New function.
16798 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16799
16800 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16801
16802 * progmodes/subword.el: Add `superword-mode' to do word motion
16803 over symbol_words (parallels and leverages `subword-mode' which
16804 does word motion inside MixedCaseWords).
16805
16806 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16807
16808 * eshell/em-unix.el: Move su and sudo to...
16809 * eshell/em-tramp.el: ...Eshell tramp module.
16810
16811 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16812
16813 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16814 Change return value to be a sexp. Delay `get-buffer' to after
16815 restoring the desktop (bug#13951).
16816
16817 2013-03-26 Leo Liu <sdl.web@gmail.com>
16818
16819 * register.el: Move semantic tag handling back to
16820 cedet/semantic/senator.el. (Bug#14052)
16821
16822 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16823
16824 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16825 into the prompt either (bug#13963).
16826
16827 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16828
16829 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16830 part of "(error-foo)".
16831
16832 2013-03-24 Juri Linkov <juri@jurta.org>
16833
16834 * replace.el (list-matching-lines-prefix-face): New defcustom.
16835 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16836 `occur-engine' if `face-differs-from-default-p' returns t.
16837 (occur-engine): Add `,' inside backquote construct to evaluate
16838 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16839 Pass `prefix-face' to the functions `occur-context-lines' and
16840 `occur-engine-add-prefix'.
16841 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16842 `prefix-face' and propertize the prefix with `prefix-face'.
16843 (Bug#14017)
16844
16845 2013-03-24 Leo Liu <sdl.web@gmail.com>
16846
16847 * nxml/rng-valid.el (rng-validate-while-idle)
16848 (rng-validate-quick-while-idle): Guard against deleted buffer.
16849 (Bug#13999)
16850
16851 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16852 is the last entry in kill-buffer-hook.
16853
16854 * files.el (kill-buffer-hook): Doc fix.
16855
16856 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16857
16858 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16859 Make it safe-local.
16860
16861 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16862
16863 2013-03-23 Leo Liu <sdl.web@gmail.com>
16864
16865 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16866 Remove.
16867
16868 * nxml/rng-valid.el (rng-validate-mode)
16869 (rng-after-change-function, rng-do-some-validation):
16870 * nxml/rng-maint.el (rng-validate-buffer):
16871 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16872 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16873 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16874 (nxml-extend-after-change-region): Use with-silent-modifications.
16875
16876 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16877 timer-idle-list.
16878
16879 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16880 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16881 timer-idle-list. (Bug#13999)
16882
16883 2013-03-23 Juri Linkov <juri@jurta.org>
16884
16885 * info.el (info-index-match): New face.
16886 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16887 main pattern and add text properties with the new face to matches
16888 in index entries relative to the beginning of the index entry.
16889 (Bug#14015)
16890
16891 2013-03-21 Eric Ludlam <zappo@gnu.org>
16892
16893 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16894 Inhibit read only while inserting objects.
16895
16896 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16897
16898 * progmodes/cfengine.el: Update docs to mention
16899 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16900 symbol motion. Remove "_" from the word syntax.
16901
16902 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16903
16904 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16905 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16906
16907 2013-03-20 Juri Linkov <juri@jurta.org>
16908
16909 * info.el (Info-next-reference-or-link)
16910 (Info-prev-reference-or-link): New functions.
16911 (Info-next-reference, Info-prev-reference): Use them.
16912 (Info-try-follow-nearest-node): Handle footnote navigation.
16913 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16914
16915 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16916
16917 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16918 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16919
16920 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16921
16922 Suppress unnecessary non-ASCII chatter during build process.
16923 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16924 (batch-skkdic-convert): Suppress most of the chatter.
16925 It's not needed so much now that machines are faster,
16926 and its non-ASCII component was confusing; see Dmitry Gutov in
16927 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16928
16929 2013-03-20 Leo Liu <sdl.web@gmail.com>
16930
16931 * ido.el (ido-chop): Fix bug#10994.
16932
16933 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16934
16935 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16936 Remove vars.
16937 (whitespace-color-on, whitespace-color-off):
16938 Use `font-lock-fontify-buffer' (Bug#13817).
16939
16940 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16941
16942 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16943 remapping in mode-line.
16944 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16945
16946 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16947
16948 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16949 value for `whitespace-line' face (Bug#13875).
16950 (whitespace-font-lock-keywords): Change description.
16951 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16952 the constructed keywords instead.
16953 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16954
16955 2013-03-19 Leo Liu <sdl.web@gmail.com>
16956
16957 * progmodes/compile.el (compilation-display-error): New command.
16958 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16959 C-o. (Bug#13992)
16960
16961 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16962
16963 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16964
16965 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16966
16967 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16968
16969 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16970
16971 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16972
16973 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16974 * net/tramp-gvfs.el (top):
16975 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16976 (tramp-handle-shell-command): Use it.
16977 (tramp-dissect-file-name): Raise an error when hostname is a
16978 method name, and neither method nor user is specified.
16979
16980 * net/trampver.el: Update release number.
16981
16982 2013-03-18 Leo Liu <sdl.web@gmail.com>
16983
16984 Make sure eldoc can be turned off properly.
16985 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16986 eldoc-mode.
16987 (eldoc-display-message-p): Revert last change.
16988 (eldoc-display-message-no-interference-p)
16989 (eldoc-print-current-symbol-info): Tweak.
16990
16991 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16992
16993 * doc-view.el (doc-view-new-window-function): Check the new window
16994 overlay's display property instead the char property of the
16995 buffer's first char. Use `with-selected-window' instead of
16996 `save-window-excursion' with `select-window'.
16997 (doc-view-document->bitmap): Check the current doc-view overlay's
16998 display property instead the char property of the buffer's first char.
16999
17000 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
17001
17002 Automate the build of ja-dic.el (Bug#13984).
17003 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
17004 from the input, rather than assume that it's been done for us by the
17005 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
17006 the current date into a ja-dic.el comment, as that complicates
17007 regression testing.
17008
17009 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
17010
17011 * whitespace.el: Fix double evaluation.
17012 (whitespace-space, whitespace-hspace, whitespace-tab)
17013 (whitespace-newline, whitespace-trailing, whitespace-line)
17014 (whitespace-space-before-tab, whitespace-indentation)
17015 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
17016 obsolete defvars.
17017 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
17018 (whitespace-color-on): Use a single font-lock-add-keywords call.
17019 Fix double-evaluation of face variables.
17020
17021 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
17022
17023 * net/tramp-adb.el (tramp-adb-parse-device-names):
17024 Use `start-process' instead of `call-process'. Otherwise, the
17025 function might be blocked under MS Windows. (Bug#13299)
17026
17027 2013-03-17 Leo Liu <sdl.web@gmail.com>
17028
17029 Extend eldoc to display info in the mode-line. (Bug#13978)
17030 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
17031 (eldoc-mode-line-string): New variable.
17032 (eldoc-minibuffer-message): New function.
17033 (eldoc-message-function): New variable.
17034 (eldoc-message): Use it.
17035 (eldoc-display-message-p)
17036 (eldoc-display-message-no-interference-p):
17037 Support eldoc-post-insert-mode.
17038
17039 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
17040 (eval-expression): Run it.
17041
17042 2013-03-17 Roland Winkler <winkler@gnu.org>
17043
17044 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
17045 strings in the list of return values.
17046
17047 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
17048
17049 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
17050 radix before checking for HMS forms.
17051
17052 2013-03-16 Leo Liu <sdl.web@gmail.com>
17053
17054 * progmodes/scheme.el: Add indentation and font-locking for λ.
17055 (Bug#13975)
17056
17057 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
17058
17059 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
17060 token before point (bug#13942).
17061
17062 2013-03-16 Leo Liu <sdl.web@gmail.com>
17063
17064 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
17065
17066 2013-03-16 Eli Zaretskii <eliz@gnu.org>
17067
17068 * startup.el (command-line-normalize-file-name): Fix handling of
17069 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
17070 <xfq.free@gmail.com> in
17071 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
17072
17073 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
17074
17075 Sync with Tramp 2.2.7.
17076
17077 * net/trampver.el: Update release number.
17078
17079 2013-03-14 Tassilo Horn <tsdh@gnu.org>
17080
17081 * doc-view.el: Fix bug#13887.
17082 (doc-view-insert-image): Don't modify overlay associated to
17083 non-live windows, and implement horizontal centering of image in
17084 case it's smaller than the window.
17085 (doc-view-new-window-function): Force redisplay of new windows on
17086 doc-view buffers.
17087
17088 2013-03-13 Karl Fogel <kfogel@red-bean.com>
17089
17090 * saveplace.el (save-place-alist-to-file): Don't sort
17091 `save-place-alist', just pretty-print it (bug#13882).
17092
17093 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
17094
17095 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
17096 Check whether `default-file-name-coding-system' is bound.
17097 It isn't in XEmacs.
17098
17099 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
17100
17101 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
17102 backquotes for `obsolete' (bug#13929).
17103
17104 * international/mule.el (find-auto-coding): Include file name in
17105 obsolescence warning (bug#13922).
17106
17107 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
17108
17109 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
17110 for CFEngine 3-specific indentation.
17111 (cfengine3-indent-line): Use it. Fix up category regex.
17112 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
17113
17114 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17115
17116 * type-break.el (type-break-file-name):
17117 * textmodes/remember.el (remember-data-file):
17118 * strokes.el (strokes-file):
17119 * shadowfile.el (shadow-initialize):
17120 * saveplace.el (save-place-file):
17121 * ps-bdf.el (bdf-cache-file):
17122 * progmodes/idlwave.el (idlwave-config-directory):
17123 * net/quickurl.el (quickurl-url-file):
17124 * international/kkc.el (kkc-init-file-name):
17125 * ido.el (ido-save-directory-list-file):
17126 * emulation/viper.el (viper-custom-file-name):
17127 * emulation/vip.el (vip-startup-file):
17128 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
17129 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
17130
17131 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
17132
17133 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
17134 * language/thai-word.el: Switch to UTF-8.
17135
17136 See ChangeLog.16 for earlier changes.
17137
17138 ;; Local Variables:
17139 ;; coding: utf-8
17140 ;; End:
17141
17142 Copyright (C) 2011-2015 Free Software Foundation, Inc.
17143
17144 This file is part of GNU Emacs.
17145
17146 GNU Emacs is free software: you can redistribute it and/or modify
17147 it under the terms of the GNU General Public License as published by
17148 the Free Software Foundation, either version 3 of the License, or
17149 (at your option) any later version.
17150
17151 GNU Emacs is distributed in the hope that it will be useful,
17152 but WITHOUT ANY WARRANTY; without even the implied warranty of
17153 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17154 GNU General Public License for more details.
17155
17156 You should have received a copy of the GNU General Public License
17157 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.