]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Fix lisp/ChangeLog entry from last commit.
[gnu-emacs] / lisp / ChangeLog
1 2015-03-21 Mario Lang <mlang@delysid.org>
2
3 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
4 `recenter' if `current-buffer' is equal to `window-buffer'.
5
6 2015-03-20 Dmitry Gutov <dgutov@yandex.ru>
7
8 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re): Detect
9 regexps after `!'. (Bug#19285)
10
11 2015-03-20 Dmitry Gutov <dgutov@yandex.ru>
12
13 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use
14 `font-lock-constant-face' for nil, true and false. Highlight
15 `self' as a keyword. (Bug#17733)
16
17 2015-03-20 Nobuyoshi Nakada <nobu@ruby-lang.org>
18
19 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re): Expect
20 beginning of regexp also after open brace or vertical bar.
21 (Bug#20026)
22
23 2015-03-07 Michael Albinus <michael.albinus@gmx.de>
24
25 * net/tramp.el (tramp-ssh-controlmaster-options): Make it a
26 defcustom. (Bug#20015)
27
28 2015-03-07 Eli Zaretskii <eliz@gnu.org>
29
30 * dired.el (dired-delete-file): Doc fix. (Bug#20021)
31
32 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
33
34 * textmodes/ispell.el (ispell-aspell-find-dictionary): Make sure
35 .dat files for aspell dicts are also searched for in location
36 described by `ispell-aspell-dict-dir', matching aspell's dict-dir
37 variable.
38
39 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
40
41 * textmodes/ispell.el (ispell-dicts-name2locale-equivs-alist)
42 (ispell-hunspell-fill-dictionary-entry)
43 (ispell-find-hunspell-dictionaries)
44 (ispell-set-spellchecker-params): New generic name for
45 `ispell-hunspell-dictionary-equivs-alist'.
46 (ispell-aspell-add-aliases): Also use
47 `ispell-dicts-name2locale-equivs-alist' to get aspell aliases for
48 standard dict names.
49
50 2015-02-24 Glenn Morris <rgm@gnu.org>
51
52 * net/browse-url.el (browse-url-firefox-startup-arguments):
53 Make obsolete.
54 (browse-url-firefox): Doc fix. Remove -remote, which no longer
55 exists in Firefox 36. (Bug#19921)
56 (browse-url-firefox-sentinel): Remove function.
57
58 2015-02-23 Eli Zaretskii <eliz@gnu.org>
59
60 * frame.el (blink-cursor-timer-function): Don't increment
61 blink-cursor-blinks-done counter when a menu is active on a w32
62 frame. (Bug#19925)
63
64 2015-02-19 Juri Linkov <juri@linkov.net>
65
66 * comint.el (comint-line-beginning-position): Revert searching for
67 the prompt when comint-use-prompt-regexp is non-nil because it
68 doesn't distinguish input from output. Check the field property
69 `output' for the case when comint-use-prompt-regexp is nil.
70 (Bug#19710)
71
72 2015-02-15 Jérémy Compostella <jeremy.compostella@gmail.com>
73
74 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
75 with PAGER=cat. (Bug#19870)
76
77 2015-02-13 Glenn Morris <rgm@gnu.org>
78
79 * textmodes/flyspell.el (flyspell-duplicate-distance):
80 Bump :version.
81
82 2015-02-13 Eli Zaretskii <eliz@gnu.org>
83
84 * textmodes/text-mode.el (text-mode-syntax-table): Make some
85 punctuation character behave as word-constituent, for more
86 compatibility with Unicode.
87
88 * simple.el (transient-mark-mode): Doc fix. (Bug#19841)
89
90 2015-02-12 Agustín Martín Domingo <agustin6martin@gmail.com>
91
92 Improve string search in `flyspell-word-search-*`. (Bug#16800)
93 * textmodes/flyspell.el (flyspell-duplicate-distance): Limit
94 default search distance for duplicated words to 40000.
95 (flyspell-word-search-backward, flyspell-word-search-forward):
96 Search as full word with defined casechars, not as substring.
97
98 2015-02-10 Juri Linkov <juri@linkov.net>
99
100 Better support for the case of typing RET on the prompt in comint.
101 * comint.el (comint-get-old-input-default): Go to the field end
102 when comint-use-prompt-regexp is nil.
103 (comint-line-beginning-position): Check if point is already
104 on the prompt before searching for the prompt when
105 comint-use-prompt-regexp is non-nil. (Bug#19710)
106
107 2015-02-08 Eli Zaretskii <eliz@gnu.org>
108
109 * frame.el (frame-notice-user-settings): Refresh the value of
110 frame parameters after calling tty-handle-reverse-video. Call
111 face-set-after-frame-default with the actual parameters, to avoid
112 resetting colors back to unspecified.
113 (set-background-color, set-foreground-color): Pass the foreground
114 and background colors to face-set-after-frame-default. (Bug#19802)
115
116 2015-02-06 Wolfgang Jenkner <wjenkner@inode.at>
117
118 * net/network-stream.el (network-stream-open-tls): Respect the
119 :end-of-capability setting.
120
121 2015-02-05 Juri Linkov <juri@linkov.net>
122
123 Revert the previous change of comint-line-beginning-position callers,
124 and modify comint-line-beginning-position instead.
125
126 * comint.el (comint-history-isearch-search)
127 (comint-history-isearch-message, comint-history-isearch-wrap):
128 Use comint-line-beginning-position instead of field-beginning.
129 (comint-send-input): Use either end-of-line or field-end
130 depending on comint-use-prompt-regexp.
131 (comint-line-beginning-position): Search backward
132 for comint-prompt-regexp if comint-use-prompt-regexp is non-nil.
133 Use field-beginning instead of line-beginning-position
134 if comint-use-prompt-regexp is nil. (Bug#19710)
135
136 2015-02-04 Robert Pluim <rpluim@gmail.com> (tiny change)
137
138 * calendar/todo-mode.el (todo-item-done): When done items are
139 hidden, restore point to its location prior to invoking this
140 command. (Bug#19727)
141
142 2015-02-04 Eli Zaretskii <eliz@gnu.org>
143
144 * textmodes/artist.el (artist-ellipse-compute-fill-info): Use
145 mapcar, not mapc, to create the other half of fill-info.
146 (Bug#19763)
147
148 2015-02-04 Nicolas Petton <nicolas@petton.fr>
149
150 * emacs-lisp/authors.el (authors-ignored-files)
151 (authors-renamed-files-alist): Additions.
152
153 2015-02-03 Michael Albinus <michael.albinus@gmx.de>
154
155 * net/tramp.el (tramp-ssh-controlmaster-options): Don't use a
156 tempfile for ControlPath. (Bug#19702)
157
158 2015-02-02 Michael Albinus <michael.albinus@gmx.de>
159
160 * net/tramp.el (tramp-ssh-controlmaster-options): Use "%C" for
161 ControlPath if possible. (Bug#19702)
162
163 2015-02-02 Glenn Morris <rgm@gnu.org>
164
165 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
166 (authors-valid-file-names, authors-renamed-files-alist): Additions.
167
168 2015-02-01 Alan Mackenzie <acm@muc.de>
169
170 CC Mode: Stop Font Lock forcing fontification from BOL. Fixes
171 debbugs#19669.
172
173 * progmodes/cc-mode.el (c-font-lock-init): Setq
174 font-lock-extend-region-functions to nil.
175
176 2015-01-31 Alan Mackenzie <acm@muc.de>
177
178 Handle "#" operator properly inside macro. Fix coding bug.
179
180 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP): On
181 finding a "#" which looks like the start of a macro, check it
182 isn't already inside a macro.
183
184 * progmodes/cc-engine.el (c-state-safe-place): Don't record a new
185 "safe" position into the list of them when this is beyond our
186 current position.
187
188 2015-01-31 Martin Rudalics <rudalics@gmx.at>
189
190 * menu-bar.el (menu-bar-non-minibuffer-window-p): Return nil when
191 the menu frame is dead. (Bug#19728)
192
193 2015-01-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
194
195 python.el: Handle tabs in python-indent-dedent-line.
196
197 * progmodes/python.el (python-indent-dedent-line): Fixes for
198 indentation with tabs. Thanks to <dale@codefu.org> (Bug#19730).
199
200 2015-01-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
201
202 * progmodes/python.el (python-indent-context): Respect user
203 indentation after comment.
204
205 2015-01-29 Tassilo Horn <tsdh@gnu.org>
206
207 * textmodes/reftex-vars.el (featurep): Conditionalize value of
208 reftex-label-regexps in order to stay compatible with XEmacs 21.5
209 which has no explicitly numbered groups in regexps (bug#19714).
210
211 2015-01-28 Tassilo Horn <tsdh@gnu.org>
212
213 * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
214 punctuation syntax since to allow bibtex fields with values such
215 as {Test 1) and 2)} (bug#19205, bug#19707).
216 (reftex--prepare-syntax-tables): New function.
217 (reftex-mode): Use it.
218
219 2015-01-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
220
221 python.el: New non-global state dependent indentation engine.
222 (Bug#18319, Bug#19595)
223
224 * progmodes/python.el (python-syntax-comment-or-string-p): Accept
225 PPSS as argument.
226 (python-syntax-closing-paren-p): New function.
227 (python-indent-current-level)
228 (python-indent-levels): Mark obsolete.
229 (python-indent-context): Return more context cases.
230 (python-indent--calculate-indentation)
231 (python-indent--calculate-levels): New functions.
232 (python-indent-calculate-levels): Use them.
233 (python-indent-calculate-indentation, python-indent-line):
234 (python-indent-line-function): Rewritten to use new API.
235 (python-indent-dedent-line): Simplify logic.
236 (python-indent-dedent-line-backspace): Use `unless`.
237 (python-indent-toggle-levels): Delete function.
238
239 2015-01-22 Wolfgang Jenkner <wjenkner@inode.at>
240
241 * calc/calc-units.el (math-units-in-expr-p)
242 (math-single-units-in-expr-p, math-find-compatible-unit-rec)
243 (math-extract-units): Handle the `neg' operator. (Bug#19582)
244 [Backport]
245
246 2015-01-21 Daniel Koning <dk@danielkoning.com> (tiny change)
247
248 * subr.el (posnp): Correct docstring of `posnp'.
249 (posn-col-row): Make it work with all mouse position objects.
250 * textmodes/artist.el (artist-mouse-draw-continously): Cancel
251 timers if an error occurs during continuous drawing. (Bug#6130)
252
253 2015-01-20 Eli Zaretskii <eliz@gnu.org>
254
255 * button.el (button-activate, push-button): Doc fix. (Bug#19628)
256
257 2015-01-16 Samer Masterson <samer@samertm.com> (tiny change)
258
259 * pcomplete.el (pcomplete-parse-arguments): Parse arguments
260 regardless of pcomplete-cycle-completions's value. (Bug#18950)
261
262 2015-01-13 Michael Albinus <michael.albinus@gmx.de>
263
264 * filenotify.el (file-notify-descriptors, file-notify-handle-event):
265 Adapt docstring.
266 (file-notify--descriptor): New defun.
267 (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
268 Adapt docstring. Handle multiple values for
269 `file-notify-descriptors' entries. (Bug#18880)
270
271 * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
272 `file-notify-descriptors', the implementation has been changed.
273
274 2015-01-13 Juri Linkov <juri@linkov.net>
275
276 * comint.el (comint-history-isearch-search)
277 (comint-history-isearch-wrap): Use field-beginning instead of
278 comint-line-beginning-position.
279 (comint-send-input): Go to the end of the field instead of the end
280 of the line to accept whole multi-line input.
281 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
282 (comint-history-isearch-message): Use field-beginning
283 instead of comint-line-beginning-position - that's more fixes for
284 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
285 (comint-history-isearch-message): Fix args of isearch-message-prefix.
286
287 [Backport]
288
289 2015-01-09 Eli Zaretskii <eliz@gnu.org>
290
291 * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
292 On MS-Windows, bind coding-system-for-read to the console output
293 codepage. (Bug#19458)
294
295 2015-01-08 Eli Zaretskii <eliz@gnu.org>
296
297 * simple.el (line-move-visual): When converting X pixel coordinate
298 to temporary-goal-column, adjust the value for right-to-left
299 screen lines. This fixes vertical-motion, next/prev-line, etc.
300
301 2015-01-06 Glenn Morris <rgm@gnu.org>
302
303 * progmodes/sh-script.el (sh-mode): Doc fix.
304 (sh-basic-indent-line): Handle electric newline. (Bug#18756)
305
306 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
307
308 * emacs-lisp/package.el (package-menu-mode): Use an extra column
309 for the "Version" column, to accomodate date-and-time-based versions.
310
311 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
312
313 Fix dired quoting bug with "Hit`N`Hide". Fixes Bug#19498.
314 * files.el (shell-quote-wildcard-pattern): Also quote "`".
315
316 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
317
318 Unbreak `mouse-action' property in text buttons.
319 * button.el (push-button): Fix regression from 2012-12-06.
320
321 2015-01-01 Eli Zaretskii <eliz@gnu.org>
322
323 * tool-bar.el (tool-bar-local-item)
324 (tool-bar-local-item-from-menu): Call force-mode-line-update to
325 make sure the tool-bar changes show on display.
326
327 2014-12-29 Michael Albinus <michael.albinus@gmx.de>
328
329 Sync with Tramp 2.2.11.
330
331 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
332 Make an alias for `default-toplevel-value' if it doesn't exist.
333
334 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
335 Use `tramp-compat-delete-directory'.
336
337 * net/trampver.el: Update release number.
338
339 2014-12-29 Filipp Gunbin <fgunbin@fastmail.fm>
340
341 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
342 for remote files. (Bug#19449)
343
344 2014-12-28 Eli Zaretskii <eliz@gnu.org>
345
346 * international/mule.el (define-coding-system): Fix typos in the
347 doc string.
348
349 2014-12-28 Kenichi Handa <handa@gnu.org>
350
351 * international/mule.el (define-coding-system): Improve the doc
352 string.
353
354 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
355
356 * progmodes/python.el (python-shell-buffer-substring): Handle
357 cornercase when region sent starts at point-min.
358
359 2014-12-27 Eli Zaretskii <eliz@gnu.org>
360
361 * language/misc-lang.el (composition-function-table): Add Syriac
362 characters and also ZWJ/ZWNJ. See
363 http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
364 for the details.
365
366 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
367
368 python.el: Fix message when sending region.
369
370 * progmodes/python.el (python-shell-send-region): Rename argument
371 send-main from nomain. Fix message.
372 (python-shell-send-buffer): Rename argument send-main from arg.
373
374 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
375
376 python.el: Cleanup temp files even with eval errors.
377
378 * progmodes/python.el (python-shell-send-file): Make file-name
379 mandatory. Fix temp file removal in the majority of cases.
380
381 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
382
383 python.el: Handle file encoding for shell.
384
385 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
386 (python-shell--save-temp-file): Write file with proper encoding.
387 (python-shell-buffer-substring): Add coding cookie for detected
388 encoding to generated content. Fix blank lines when removing
389 if-name-main block.
390 (python-shell-send-file): Handle file encoding.
391 (python-info-encoding-from-cookie)
392 (python-info-encoding): New functions.
393
394 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
395
396 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
397 Use `tramp-rsh-end-of-line', it ought to be more robust.
398
399 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
400
401 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
402 (bug#19397).
403
404 2014-12-23 Michael Albinus <michael.albinus@gmx.de>
405
406 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
407
408 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
409 as end-of-line delimeter for passwords, when running on MS Windows.
410
411 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
412
413 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
414 of indent-line-function (bug#19433).
415
416 2014-12-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
417
418 Fix line numbers on Python shell.
419 * progmodes/python.el (python-shell--save-temp-file): Do not
420 append coding cookie.
421 (python-shell-send-string): Generalize for
422 python-shell-send-region.
423 (python--use-fake-loc): Delete var.
424 (python-shell-buffer-substring): Cleanup fake-loc logic.
425 (python-shell-send-region): Remove fake-loc logic, simplify.
426
427 2014-12-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
428
429 * progmodes/python.el (python-indent-post-self-insert-function):
430 Make colon to re-indent only for dedenters, handling
431 multiline-statements gracefully.
432
433 2014-12-21 Michael Albinus <michael.albinus@gmx.de>
434
435 * net/tramp.el (tramp-handle-insert-file-contents):
436 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
437
438 2014-12-19 Michael Albinus <michael.albinus@gmx.de>
439
440 * net/tramp-sh.el (tramp-send-command-and-read): New optional
441 arg MARKER.
442 (tramp-get-remote-path): Use it.
443
444 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
445
446 * subr.el (redisplay-dont-pause): Mark as obsolete.
447
448 2014-12-17 Michael Albinus <michael.albinus@gmx.de>
449
450 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
451 (tramp-accept-process-output): Use nil as argument for
452 `accept-process-output', when there is a gateway prepended.
453
454 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
455 wrong debug buffer.
456 (tramp-gw-open-connection): Set process coding system 'binary.
457 (tramp-gw-open-network-stream): Handle HTTP error 403.
458
459 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
460 wrong debug buffer.
461 (tramp-maybe-open-connection): Set connection property "gateway".
462
463 2014-12-15 Stefan Monnier <monnier@iro.umontreal.ca>
464
465 * subr.el (sit-for): Tweak docstring (bug#19381).
466
467 2014-12-15 Dmitry Gutov <dgutov@yandex.ru>
468
469 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
470 stage to after `diff-index' (bug#19386).
471
472 2014-12-14 João Távora <joaotavora@gmail.com>
473
474 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
475 `electric-pair-mode' (bug#19356).
476
477 2014-12-12 Michael Albinus <michael.albinus@gmx.de>
478
479 * simple.el (password-word-equivalents): Add "passcode", used for
480 numeric secrets like PINs or RSA tokens.
481
482 2014-12-10 Michael Albinus <michael.albinus@gmx.de>
483
484 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
485 order to determine `tramp-own-remote-path'.
486
487 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
488
489 * progmodes/python.el (python-shell-parse-command):
490 Quote `python-shell-interpreter`. (Bug#19289)
491
492 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
493
494 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
495 of the whole pipe when indenting an opening keyword after a |.
496 Generalize this treatment to opening keywords like "while" (bug#18031).
497
498 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
499
500 * simple.el (newline): Place the hook buffer-locally,
501 to make sure it's first.
502
503 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
504 Fix handling of symbols with different syntax at beginning/end or with
505 symbol rather than word syntax.
506
507 2014-11-30 Eli Zaretskii <eliz@gnu.org>
508
509 * simple.el (line-move): If noninteractive, call line-move-1, not
510 forward-line, since the former is compatible with line-move-visual
511 both in terms of the column to which it moves and the return
512 value. (Bug#19211)
513
514 2014-11-27 Stephen Berman <stephen.berman@gmx.net>
515 Stefan Monnier <monnier@iro.umontreal.ca>
516
517 * outline.el (outline-move-subtree-down): Make sure we can move
518 forward to find the end of the subtree and the insertion point
519 (bug#19102).
520
521 2014-11-27 Leonard Randall <leonard.a.randall@gmail.com>
522
523 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
524 for comment lines non-greedy and stopping at newlines to fix stack
525 overflows with large files. [Backport]
526
527 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
528
529 * progmodes/python.el (python-shell-completion-setup-code):
530 Use __builtin__ module (or builtins in Python 3) and catch all errors
531 when importing readline and rlcompleter.
532
533 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
534
535 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
536 (todo-revert-buffer): New function.
537 (todo-modes-set-1): Use it as the buffer-local value of
538 revert-buffer-function.
539
540 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
541
542 * calendar/todo-mode.el (todo-mode): If called interactively, just
543 display a message saying to call todo-show to enter Todo mode
544 (Bug#19112).
545
546 2014-11-24 Dmitry Gutov <dgutov@yandex.ru>
547
548 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
549 (Bug#18579)
550
551 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
552 files. (Bug#18579)
553
554 2014-11-23 Michael Albinus <michael.albinus@gmx.de>
555
556 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
557 remote `buffer-file-name'.
558
559 2014-11-23 Leo Liu <sdl.web@gmail.com>
560
561 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
562
563 2014-11-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
564
565 Set PYTHONUNBUFFERED on shell startup.
566
567 * progmodes/python.el (python-shell-unbuffered): New var.
568 (python-shell-calculate-process-environment): Use it.
569
570 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
571
572 * net/tramp.el (tramp-action-password): Clean password on subsequent
573 attempts even if there was no wrong password indication. (Bug#19047)
574
575 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
576 fallback.
577 (tramp-open-connection-setup-interactive-shell): No need to check
578 for nil as `tramp-get-remote-locale' return value.
579
580 2014-11-21 Eli Zaretskii <eliz@gnu.org>
581
582 * vc/vc-git.el (vc-git-command, vc-git--call):
583 Bind coding-system-for-read and coding-system-for-write to
584 vc-git-commits-coding-system.
585 (vc-git-previous-revision): Use "~1" instead of "^", since the
586 latter is a special character for MS-Windows system shells.
587
588 2014-11-20 Michael Albinus <michael.albinus@gmx.de>
589
590 Improve XEmacs compatibility.
591
592 * net/tramp.el (tramp-autoload-file-name-handler):
593 Wrap `temporary-file-directory' by `symbol-value', it doesn't
594 exist in XEmacs.
595 (tramp-read-passwd): Don't use `with-timeout-suspend' and
596 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
597 (tramp-time-less-p, tramp-time-subtract): Remove functions.
598 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
599 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
600 * net/tramp-cache.el (tramp-get-file-property):
601 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
602 Use `time-less-p' and `time-subtract, respectively.
603
604 * net/tramp-adb.el (top): Do not require time-date.el.
605
606 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
607
608 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
609 Check, whether `utf-8' is a valid coding system.
610
611 2014-11-19 Eli Zaretskii <eliz@gnu.org>
612
613 * vc/vc.el (vc-retrieve-tag): Doc fix.
614
615 2014-11-17 Eli Zaretskii <eliz@gnu.org>
616
617 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
618 Don't assume --long is the default for "bzr log", always specify
619 it explicitly, in case the user defined an alias for 'log' that
620 uses some other format.
621
622 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
623
624 * progmodes/python.el (python-eldoc--get-doc-at-point):
625 Strip shell output before returning. (bug#18794)
626
627 2014-11-16 Dmitry Gutov <dgutov@yandex.ru>
628
629 Fix indentation before `!=' and after `+='. Originally reported
630 in https://github.com/mooz/js2-mode/issues/174.
631 * progmodes/js.el (js--indent-operator-re): Make assignments and
632 (in)equality operator a separate case.
633 (js--continued-expression-p): Escape the second `+' in the regexp.
634
635 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
636
637 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
638
639 2014-11-15 Andreas Schwab <schwab@linux-m68k.org>
640
641 * version.el (emacs-repository-get-version): Use git rev-parse
642 instead of git log.
643
644 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
645
646 * progmodes/python.el (python-indent-calculate-levels):
647 Fix indentation behavior multiline dedenter statement. (Bug#18432)
648
649 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
650
651 * progmodes/python.el (python-indent-region):
652 Use python-indent-line and skip special cases. (Bug#18843)
653
654 2014-11-15 Michael Albinus <michael.albinus@gmx.de>
655
656 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
657
658 2014-11-15 Peder O. Klingenberg <peder@klingenberg.no>
659
660 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
661 envelope-from when reporting through sendmail (bug#19054).
662
663 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
664
665 * progmodes/python.el (python-ffap-module-path):
666 Use `derived-mode-p' instead of equality test on `major-mode'.
667
668 2014-11-13 Ulrich Müller <ulm@gentoo.org>
669
670 * version.el (emacs-repository-get-version): Call `git log'
671 command with proper format argument (bug#19049).
672
673 2014-11-10 Glenn Morris <rgm@gnu.org>
674
675 * startup.el (command-line): Handle nil elements in load-path.
676
677 2014-11-08 Glenn Morris <rgm@gnu.org>
678
679 * emacs-lisp/bytecomp.el (byte-compile-report-error):
680 Allow the argument to be a string. Due to the vague doc,
681 it was already being used this way.
682
683 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
684
685 * net/tramp.el (tramp-check-cached-permissions): Include hop in
686 the constructed Tramp file name. (Bug#18943)
687
688 2014-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
689
690 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
691 (bug#18952).
692 (cua-set-mark, cua--pre-command-handler-1,cua--post-command-handler-1):
693 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
694
695 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
696
697 * files.el (file-name-non-special): Wrap the call of
698 `insert-file-contents' by `unwind-protect', in order to set the
699 buffer's file name anyway. (Bug#18891)
700
701 2014-11-07 Daiki Ueno <ueno@gnu.org>
702
703 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
704 (bug#18979). Reported by Hideki Saito.
705
706 2014-10-18 Alan Mackenzie <acm@muc.de>
707
708 Check that a "macro" found near point-min isn't a ## operator.
709 Fixes bug #18749. Backported from trunk, 2014-11-05.
710 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
711 (c-beginning-of-macro): Use the above new function.
712
713 2014-11-05 Alan Mackenzie <acm@muc.de>
714
715 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
716 * progmodes/cc-fonts.el (c-font-lock-declarations):
717 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
718 the buffer is sometimes narrowed to less than "limit" (e.g., in
719 the presence of macros).
720
721 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
722
723 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
724 only when message appeared in minibuffer. (Bug#18891)
725
726 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
727 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
728 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
729 case of errors.
730
731 2014-11-04 Eli Zaretskii <eliz@gnu.org>
732
733 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
734 returned by load-average.
735
736 2014-11-04 Michael Albinus <michael.albinus@gmx.de>
737
738 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
739 a local copy; setting `inhibit-file-name-handlers' proper might be
740 more performant. (Bug#18751)
741
742 2014-11-04 Glenn Morris <rgm@gnu.org>
743
744 * mail/emacsbug.el (report-emacs-bug): No longer include
745 recent-keys in the report. (Bug#18900)
746
747 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
748
749 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
750 local copy of FILENAME, when it is remote. (Bug#18751)
751
752 2014-11-02 Michael Albinus <michael.albinus@gmx.de>
753
754 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
755 an error when the command fails; the return code must indicate.
756 (tramp-adb-send-command-and-check): Fix docstring.
757
758 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
759
760 * net/tramp-cache.el (tramp-get-file-property)
761 (tramp-set-file-property): Check, that `tramp-cache-get-count-*'
762 and `tramp-cache-set-count-*' are bound. Otherwise, there might
763 be compiler warnings.
764
765 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
766 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
767
768 2014-11-01 Eli Zaretskii <eliz@gnu.org>
769
770 * progmodes/compile.el (compilation-mode): Turn off deferred
771 fontifications locally. (Bug#18856)
772
773 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
774
775 * net/tramp-sh.el (tramp-send-command): Fix the case where the
776 remote-echo connection property is non-nil (bug#18858).
777
778 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
779
780 Backport Tramp changes from trunk.
781
782 * net/tramp.el (tramp-methods): Tweak docstring.
783 (tramp-file-name-handler): Apply `cons' where appropriate.
784 (tramp-handle-file-accessible-directory-p): Check for
785 `file-readable-p' instead of `file-executable-p'.
786 (tramp-handle-shell-command): Use `display-buffer'. (Bug#18326)
787 (tramp-handle-unhandled-file-name-directory): Return "/".
788 (tramp-check-cached-permissions):
789 Use `tramp-compat-file-attributes'.
790 (tramp-call-process): Add new argument VEC. Adapt callees in all
791 tramp*.el files.
792
793 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
794 (tramp-adb-handle-write-region): Improve messages.
795 (tramp-adb-maybe-open-connection): Don't set
796 `tramp-current-*' variables.
797
798 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
799 Suppress debug messages.
800
801 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
802 (tramp-ftp-file-name-handler):
803
804 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
805 (tramp-gvfs-methods-mounttracker)
806 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
807 during initialization. (Bug#18774)
808 (tramp-gvfs-handle-delete-file): Flush file properties, not
809 directory properties.
810 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
811 reading "unix::mode".
812 (tramp-gvfs-handle-file-name-all-completions):
813 Use "-h" option for "gvfs-ls".
814 (tramp-gvfs-url-file-name): Apply `cons' where appropriate.
815 `user' and `localname' could be nil.
816 (tramp-gvfs-send-command): Simplify traces.
817
818 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
819 (vc-git-program, vc-hg-program): Declare.
820 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
821 (tramp-methods) <nc>: Add new method.
822 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
823 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
824 `tramp-login-args'.
825 (tramp-default-user-alist): Add "nc".
826 (top): Remove completion function for "sftp". Add completion
827 functions for "nc" and "psftp".
828 (tramp-sh-handle-set-visited-file-modtime):
829 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
830 (tramp-do-copy-or-rename-file-out-of-band):
831 Use cached "remote-copy-args" value, if available. (Bug#18199)
832 Tweak docstring. Implement support for "nc" method.
833 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
834 (tramp-remote-coding-commands, tramp-call-local-coding-command):
835 Tweak docstring.
836 (tramp-sh-handle-start-file-process): Expand `default-directory'.
837 (tramp-sh-handle-write-region): Tweak error message.
838 (tramp-sh-handle-vc-registered): Remove backends when the remote
839 binary does not exist.
840 (tramp-open-connection-setup-interactive-shell):
841 Prefer utf-8 coding. (Bug#17859)
842 (tramp-find-inline-encoding): Do not raise an error.
843 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
844 the "nc" case. Quote result also locally.
845 (tramp-get-remote-id): Check also for "gid".
846 (tramp-get-remote-python):
847
848 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
849 (tramp-smb-handle-set-file-acl): Use `start-process'.
850 (tramp-smb-handle-insert-directory): Use progress reporter.
851 (tramp-smb-handle-rename-file): Flush also file properties of
852 FILENAME.
853
854 * net/trampver.el: Update release number.
855
856 2014-11-01 Reuben Thomas <rrt@sc3d.org>
857
858 * net/tramp.el (tramp-handle-file-symlink-p):
859 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
860 about VMS, which we no longer support.
861
862 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
863
864 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
865 the global vc-handled-backends (bug#18535).
866
867 2014-11-01 Jérémy Compostella <jeremy.compostella@intel.com>
868 Michael Albinus <michael.albinus@gmx.de>
869
870 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
871 Reduce the amount of set environment variable commands.
872
873 2014-11-01 Paul Eggert <eggert@cs.ucla.edu>
874
875 * net/tramp-sh.el (tramp-get-remote-touch): Omit unnecessary call to
876 current-time.
877
878 2014-11-01 Emilio C. Lopes <eclig@gmx.net>
879
880 * net/tramp-sh.el (tramp-get-remote-python): Also search for
881 executables named "python2" or "python3".
882 (tramp-get-remote-uid-with-python): Use parentheses around
883 arguments to `print' to make it compatible with Python 3.
884 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
885
886 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
887
888 * simple.el (newline): Add assertions to try and help catch bug#18913.
889
890 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
891 (bug#18886).
892 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
893
894 2014-10-31 Eli Zaretskii <eliz@gnu.org>
895
896 * Makefile.in (repo-update): Fix a typo and slightly reword
897 commentary.
898
899 2014-10-31 Eric S. Raymond <esr@thyrsus.com>
900
901 * Makefile.in: Change some production names so they're neutral
902 about the repository type.
903
904 2014-10-30 Kim F. Storm <storm@cua.dk>
905
906 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
907 * delsel.el (delete-selection-save-to-register)
908 (delsel--replace-text-or-position): New vars.
909 (delete-active-region): Use them.
910 (delete-selection-repeat-replace-region): New command, moved from
911 cua-base.el.
912 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
913 (cua-repeat-replace-region): Move command to delsel.el.
914 (cua--init-keymaps): Update binding accordingly.
915 (cua-mode): Set delete-selection-save-to-register.
916
917 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
918
919 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
920 (c-lang-defconst):
921 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
922
923 2014-10-29 Eli Zaretskii <eliz@gnu.org>
924
925 * progmodes/compile.el (compilation-start):
926 If compilation-scroll-output is non-nil, don't force window-start of
927 the compilation buffer to be at beginning of buffer. (Bug#18874)
928
929 2014-10-23 Tassilo Horn <tsdh@gnu.org>
930
931 * doc-view.el (doc-view-open-text): View the document's plain text
932 in the current buffer instead of a new one.
933 (doc-view-toggle-display): Handle the case where the current
934 buffer contains the plain text contents of the document.
935 (doc-view-initiate-display): Don't switch to fallback mode if the
936 user wants to view the doc's plain text. [Backport]
937
938 2014-10-23 Eli Zaretskii <eliz@gnu.org>
939
940 * startup.el (fancy-about-text): Read the entire tutorial, not
941 just its first 256 bytes. (Bug#18760)
942
943 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
944
945 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
946 * emacs-lisp/cl-extra.el: Add missing provide.
947
948 2014-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
949
950 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
951 all args are copyable (bug#18767).
952 (=, <, >, <=, >=): Re-enable the optimization.
953
954 2014-10-20 Santiago Payà i Miralta <santiagopim@gmail.com>
955
956 * vc/vc-hg.el (vc-hg-log-graph): New var.
957 (vc-hg-print-log): Use it.
958 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
959 graph output (bug#17515).
960
961 2014-10-20 Juri Linkov <juri@jurta.org>
962
963 * vc/diff-mode.el (diff-refine-changed): Rename from
964 `diff-refine-change' for consistency with `diff-changed'.
965 (diff-refine-change): Add obsolete face alias. (Bug#10181)
966
967 * vc/smerge-mode.el (smerge-refined-changed): Rename from
968 `smerge-refined-change'.
969 (smerge-refined-change): Add obsolete face alias.
970
971 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
972
973 * subr.el (call-process-shell-command, process-file-shell-command):
974 Make the `args' obsolete (bug#18409).
975 (start-process-shell-command, start-file-process-shell-command):
976 Use `declare'.
977
978 2014-10-20 Juanma Barranquero <lekktu@gmail.com>
979
980 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
981
982 2014-10-20 Glenn Morris <rgm@gnu.org>
983
984 * dired.el (dired-read-regexp): Make obsolete.
985 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
986 (dired-flag-files-regexp):
987 * dired-aux.el (dired-mark-read-regexp):
988 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
989
990 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
991
992 * progmodes/python.el (inferior-python-mode): Use add-hook.
993
994 * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
995
996 2014-10-20 Glenn Morris <rgm@gnu.org>
997
998 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
999 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
1000 * emulation/ws-mode.el: Move to obsolete/. [Backport]
1001
1002 2014-10-20 Glenn Morris <rgm@gnu.org>
1003
1004 * cus-start.el (history-length): Bump :version. [Backport]
1005
1006 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
1007
1008 * obsolete/cc-compat.el: Make obsolete (bug#18561).
1009
1010 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
1011
1012 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
1013 case (bug#18767).
1014
1015 2014-10-20 Glenn Morris <rgm@gnu.org>
1016
1017 * Version 24.4 released.
1018
1019 2014-10-15 Alan Mackenzie <acm@muc.de>
1020
1021 * cus-edit.el (custom-command-apply): Specify the return value in
1022 the doc string.
1023 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
1024 custom-command-apply has returned non-nil.
1025
1026 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
1027
1028 * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
1029 Backported (bug#18688).
1030
1031 2014-10-14 Eli Zaretskii <eliz@gnu.org>
1032
1033 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
1034 Force bidi-paragraph-direction to 'left-to-right'. This fixes
1035 buffer-menu display when the first buffer happens to start with
1036 R2L letter.
1037
1038 2014-10-13 Glenn Morris <rgm@gnu.org>
1039
1040 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
1041 (authors-obsolete-files-regexps): Additions.
1042 (authors-no-scan-regexps): New constant.
1043 (authors-no-scan-file-p): New function.
1044 (authors): Respect authors-no-scan-file-p.
1045
1046 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1047
1048 Fix import completion. (Bug#18582)
1049 * progmodes/python.el (python-shell-completion-get-completions):
1050 Fix import case regexp.
1051
1052 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1053
1054 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
1055 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
1056 * progmodes/prolog.el (prolog-electric--underscore): Same.
1057
1058 2014-10-09 Glenn Morris <rgm@gnu.org>
1059
1060 * frame.el (display-monitor-attributes-list): Doc tweaks.
1061
1062 2014-10-08 Eli Zaretskii <eliz@gnu.org>
1063
1064 * faces.el (display-grayscale-p): Mention in the doc string that
1065 the argument can be either a display name or a frame.
1066
1067 * frame.el (display-pixel-height, display-pixel-width)
1068 (display-mm-height, display-mm-width, display-backing-store)
1069 (display-save-under, display-planes, display-color-cells)
1070 (display-visual-class, display-monitor-attributes-list)
1071 (display-screens): Mention in the doc string that the argument can
1072 be either a display name or a frame. Improve the docs of the
1073 monitor attributes. (Bug#18636)
1074
1075 2014-10-06 Martin Rudalics <rudalics@gmx.at>
1076
1077 * term.el (term-window-width): Subtract 1 from the width when
1078 any fringe has zero width, not just the right fringe. (Bug#18601)
1079
1080 2014-10-05 Leo Liu <sdl.web@gmail.com>
1081
1082 * imenu.el (imenu-default-goto-function): Fix typo.
1083
1084 2014-10-04 Glenn Morris <rgm@gnu.org>
1085
1086 * frame.el (frame-monitor-attributes)
1087 (display-monitor-attributes-list): Doc fixes.
1088
1089 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
1090
1091 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
1092 (vc-svn-ignore): Use it. (Bug#18619)
1093
1094 2014-10-03 Martin Rudalics <rudalics@gmx.at>
1095
1096 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1097 In doc-string mention need to set `frame-resize-pixelwise'.
1098
1099 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1100
1101 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
1102 similarly to Rogers's 2010-06-16 change for the remote case
1103 (bug#18605).
1104
1105 2014-10-01 Glenn Morris <rgm@gnu.org>
1106
1107 * emacs-lisp/package.el (package-import-keyring):
1108 Create gnupg directory private. (Bug#17625#155)
1109
1110 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1111
1112 * progmodes/python.el (python-shell-completion-get-completions):
1113 Use python-shell--prompt-calculated-input-regexp from the
1114 process buffer (bug#18582).
1115 Don't assume that `line' comes from the process buffer.
1116
1117 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
1118
1119 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
1120 (bug#18462).
1121
1122 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1123
1124 * emacs-lisp/package.el (package-check-signature): Default to nil if
1125 GPG is not available.
1126 (package-refresh-contents): Don't mess with the keyring if we won't
1127 check the signatures anyway.
1128
1129 2014-09-18 Kan-Ru Chen <kanru@kanru.info>
1130
1131 * window.el (fit-window-to-buffer): When counting buffer width,
1132 count the whole visible buffer. Correctly convert the body-height
1133 to pixel size for window-text-pixel-size (Bug#18498).
1134
1135 2014-09-14 Glenn Morris <rgm@gnu.org>
1136
1137 * image.el (image-multi-frame-p): Fix thinko - do not force
1138 a delay if none was specified. (Bug#18334)
1139
1140 2014-09-12 Kan-Ru Chen <kanru@kanru.info>
1141
1142 * window.el (fit-window-to-buffer): Doc fix.
1143
1144 2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change)
1145
1146 * desktop.el (desktop-create-buffer): Check that buffers are still live
1147 before burying them (bug#18373).
1148
1149 2014-09-09 Glenn Morris <rgm@gnu.org>
1150
1151 * calendar/diary-lib.el (diary-list-entries):
1152 Restore 24.3 display behavior. (Bug#18381)
1153
1154 2014-09-09 Eli Zaretskii <eliz@gnu.org>
1155
1156 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
1157 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
1158 discrepancy between window-pixel-edges and mouse events, and
1159 avoids moving mode line up when the mouse click is on the modeline
1160 and no drag is attempted.
1161
1162 2014-09-08 Glenn Morris <rgm@gnu.org>
1163
1164 * calendar/calendar.el (calendar-basic-setup):
1165 Avoid clobbering calendar with diary. (Bug#18381)
1166
1167 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1168
1169 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
1170
1171 2014-09-04 Lars Ljung <lars@matholka.se> (tiny change)
1172
1173 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
1174 as well (bug#18400).
1175
1176 2014-09-04 Eli Zaretskii <eliz@gnu.org>
1177
1178 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
1179
1180 2014-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
1181
1182 * emacs-lisp/package.el (package-generate-description-file):
1183 Properly quote the arguments (bug#18332). Change second arg.
1184 (package--alist-to-plist-args): Rename from package--alist-to-plist and
1185 quote the elements.
1186 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
1187 the *-pkg.el file. Adjust to new calling convention of
1188 package-generate-description-file.
1189
1190 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
1191 (gud-gdb-completions): Remove obsolete workaround.
1192
1193 2014-09-02 Eli Zaretskii <eliz@gnu.org>
1194
1195 * subr.el (posn-col-row): Revert the change from commit
1196 2010-11-13T21:07:58Z!eliz@gnu.org, which
1197 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
1198 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
1199 introduced an off-by-one error in the reported row when there is a
1200 header line. (Bug#18384)
1201
1202 2014-09-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
1203
1204 * progmodes/python.el (python-indent-post-self-insert-function):
1205 Avoid electric colon at beginning-of-defun. (Bug#18228)
1206
1207 2014-09-01 Glenn Morris <rgm@gnu.org>
1208
1209 * tutorial.el (tutorial--display-changes):
1210 Fix 2014-07-29 change. (Bug#18382)
1211
1212 2014-08-29 Ken Brown <kbrown@cornell.edu>
1213
1214 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
1215 the Cygwin-w32 build. (Bug#18347)
1216
1217 2014-08-28 Glenn Morris <rgm@gnu.org>
1218
1219 * tar-mode.el (tar--extract, tar-extract):
1220 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
1221
1222 2014-08-27 Michael Albinus <michael.albinus@gmx.de>
1223
1224 * emacs-lisp/authors.el (authors-aliases): Addition.
1225
1226 * net/tramp-adb.el: Spell author name correctly.
1227
1228 2014-08-27 João Távora <joaotavora@gmail.com>
1229
1230 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
1231 use url-expand-file-name. (Bug#18310)
1232
1233 2014-08-25 Glenn Morris <rgm@gnu.org>
1234
1235 * emulation/cua-rect.el (cua--highlight-rectangle):
1236 Avoid error at point-min. (Bug#18309)
1237
1238 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
1239
1240 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
1241 executable-find (bug#18244).
1242
1243 * simple.el (self-insert-uses-region-functions): Defvar.
1244
1245 2014-08-13 Leo Liu <sdl.web@gmail.com>
1246
1247 * speedbar.el (speedbar-generic-list-tag-p): Allow special
1248 elements from imenu.
1249
1250 2014-08-11 Glenn Morris <rgm@gnu.org>
1251
1252 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
1253
1254 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
1255 chose coding system for writing before backing up, since it causes
1256 a more serious problem than the one it solves. (Closes Bug#18141,
1257 reopens Bug#13522.)
1258
1259 2014-08-10 Martin Rudalics <rudalics@gmx.at>
1260
1261 * window.el (window-total-size): Make doc-string more
1262 self-contained.
1263
1264 2014-08-09 Martin Rudalics <rudalics@gmx.at>
1265
1266 * window.el (display-buffer-below-selected): Restore original
1267 behavior if buffer is already displayed in the window below the
1268 selected one (Bug#18181).
1269
1270 2014-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1271
1272 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
1273 event (bug#18212).
1274
1275 2014-08-08 Eli Zaretskii <eliz@gnu.org>
1276
1277 * info.el (info): Doc fix.
1278
1279 2014-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1280
1281 * info.el (Info-mode-map): Override a global down-mouse-2 binding
1282 (bug#18212).
1283
1284 2014-08-05 Eli Zaretskii <eliz@gnu.org>
1285
1286 * simple.el (default-line-height): A floating-point value of
1287 line-spacing means a fraction of the default frame font's height,
1288 not of the font currently used by the 'default' face.
1289 Truncate the pixel value, like the display engine does.
1290 (window-screen-lines): Use window-inside-pixel-edges for
1291 determining the window height in pixels. (Bug#18195)
1292
1293 2014-07-29 Eli Zaretskii <eliz@gnu.org>
1294
1295 * tutorial.el (tutorial--display-changes): Accept punctuation
1296 characters before the key binding. (Bug#18146)
1297
1298 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
1299
1300 * doc-view.el (doc-view-open-text): Don't require that the
1301 document is saved in a file (e.g., email attachment).
1302
1303 2014-07-27 Eli Zaretskii <eliz@gnu.org>
1304
1305 * window.el (window--pixel-to-total): Use FRAME's root window, not
1306 that of the selected frame. (Bug#18112, Bug#16674)
1307
1308 2014-07-27 Andreas Schwab <schwab@linux-m68k.org>
1309
1310 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
1311 (Bug#18117)
1312
1313 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1314
1315 * progmodes/python.el (inferior-python-mode): Doc fix.
1316
1317 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
1318
1319 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
1320 not a character, ignore it instead of raising an error.
1321
1322 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
1323
1324 * calendar/todo-mode.el: Fix handling of marked items and make
1325 minor code improvements.
1326 (todo-edit-item): If there are marked items, ensure user can only
1327 invoke editing commands that work with marked items.
1328 (todo-edit-item--text): When there are marked items, make it a
1329 noop if invoked with point not on an item; otherwise, ensure it
1330 applies only to item at point.
1331 (todo-item-undone): If there are marked not-done items, return
1332 point to its original position before signaling user error.
1333 (todo--user-error-if-marked-done-item): New function.
1334 (todo-edit-item--header, todo-edit-item--diary-inclusion)
1335 (todo-item-done): Use it.
1336
1337 2014-07-25 Glenn Morris <rgm@gnu.org>
1338
1339 * files.el (toggle-read-only): Re-add basic doc-string.
1340 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
1341
1342 * progmodes/prolog.el (prolog-mode-keybindings-edit):
1343 Replace missing `switch-to-prolog' with `run-prolog'.
1344 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
1345
1346 2014-07-22 Stephen Berman <stephen.berman@gmx.net>
1347
1348 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
1349 of file-wide setting when changing category-wide setting.
1350
1351 2014-07-21 Glenn Morris <rgm@gnu.org>
1352
1353 * progmodes/hideif.el (hide-ifdef-mode-submap):
1354 Also substitute read-only-mode.
1355 * bindings.el (mode-line-toggle-read-only):
1356 * bs.el (bs-toggle-readonly):
1357 * buff-menu.el (Buffer-menu-toggle-read-only):
1358 * dired.el (dired-toggle-read-only):
1359 * files.el (view-read-only, find-file-read-only)
1360 (find-file-read-only-other-window)
1361 (find-file-read-only-other-frame):
1362 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
1363 Doc fixes re toggle-read-only.
1364
1365 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1366
1367 * progmodes/python.el: Add comment about pipe buffering and
1368 solutions for missing/delayed output in inferior Python shells.
1369 (Bug#17304)
1370
1371 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1372
1373 * progmodes/python.el (python-mode): Don't set
1374 mode-require-final-newline. (Bug#17990)
1375
1376 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1377
1378 Make python.el work with IPython automatically. (Bug#15510)
1379 * progmodes/python.el:
1380 (python-shell-completion-setup-code): New value supporting iPython.
1381 (python-shell-completion-string-code): New value supporting iPython.
1382 (python-shell-completion-get-completions): Use them.
1383 (python-shell-completion-module-string-code): Make obsolete.
1384 (python-shell-prompt-input-regexps)
1385 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
1386 (python-shell-output-filter): Fix comment typo.
1387
1388 2014-07-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
1389
1390 Fix Python shell prompts detection for remote hosts.
1391 * progmodes/python.el (python-shell-prompt-detect):
1392 Replace call-process with process-file and make it more robust.
1393
1394 2014-07-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1395
1396 Autodetect Python shell prompts. (Bug#17370)
1397 * progmodes/python.el:
1398 (python-shell-interpreter-interactive-arg)
1399 (python-shell-prompt-detect-enabled)
1400 (python-shell-prompt-detect-failure-warning)
1401 (python-shell-prompt-input-regexps)
1402 (python-shell-prompt-output-regexps): New vars.
1403 (python-shell-prompt-calculated-input-regexp)
1404 (python-shell-prompt-calculated-output-regexp): New vars.
1405 (python-shell-get-process-name)
1406 (python-shell-internal-get-process-name)
1407 (python-shell-output-filter)
1408 (python-shell-completion-get-completions): Use them.
1409 (python-shell-prompt-detect)
1410 (python-shell-prompt-validate-regexps): New functions.
1411 (python-shell-prompt-set-calculated-regexps): New function.
1412 (inferior-python-mode): Use it. Also honor overridden
1413 python-shell-interpreter and python-shell-interpreter-args.
1414 (python-shell-make-comint): Honor overridden
1415 python-shell-interpreter and python-shell-interpreter-args.
1416 (python-shell-get-or-create-process): Make it testable by allowing
1417 to call run-python non-interactively.
1418 (python-util-valid-regexp-p): New function.
1419 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
1420 (python-shell-prompt-output-regexp)
1421 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
1422
1423 2014-07-16 Glenn Morris <rgm@gnu.org>
1424
1425 * desktop.el (after-init-hook): Disable startup frame restoration
1426 in non-graphical situations. (Bug#17693)
1427
1428 2014-07-14 Glenn Morris <rgm@gnu.org>
1429
1430 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
1431 if it was "empty", or used for a different set of files. (Bug#17884)
1432
1433 2014-07-13 Eli Zaretskii <eliz@gnu.org>
1434
1435 * bindings.el (mode-line-remote): If default-directory is not a
1436 string, don't call file-remote-p on it; instead state in the
1437 help-echo that it is nil. (Bug#17986)
1438
1439 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
1440
1441 Fix bug: C-x v v discarded existing log message (Bug#17884).
1442 * vc/vc-dispatcher.el (vc-log-edit):
1443 Don't clobber an already-existing log message.
1444
1445 2014-07-10 Glenn Morris <rgm@gnu.org>
1446
1447 * vc/log-edit.el (log-edit-changelog-entries):
1448 Check for a visited-but-never-saved ChangeLog.
1449
1450 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1451
1452 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
1453 a non-existing file (bug#17970).
1454
1455 * faces.el (face-name): Undo last change.
1456 (x-resolve-font-name): Don't call face-name (bug#17956).
1457
1458 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
1459
1460 Fix dedenters and electric colon handling. (Bug#15163)
1461
1462 * progmodes/python.el
1463 (python-rx-constituents): Add dedenter and block-ender.
1464 (python-indent-dedenters, python-indent-block-enders): Delete.
1465 (python-indent-context): Return new case for dedenter-statement.
1466 (python-indent-calculate-indentation): Handle new case.
1467 (python-indent-calculate-levels): Fix levels calculation for
1468 dedenter statements.
1469 (python-indent-post-self-insert-function): Fix colon handling.
1470 (python-info-dedenter-opening-block-message): New function.
1471 (python-indent-line): Use it.
1472 (python-info-closing-block)
1473 (python-info-closing-block-message): Remove.
1474 (python-info-dedenter-opening-block-position)
1475 (python-info-dedenter-opening-block-positions)
1476 (python-info-dedenter-statement-p): New functions.
1477
1478 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1479
1480 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
1481 the middle of a line (bug#17896).
1482
1483 2014-07-08 Juri Linkov <juri@jurta.org>
1484
1485 * startup.el (command-line): Append displaying the warning about
1486 the errors in the init file to the end of `after-init-hook'.
1487 (Bug#17927)
1488
1489 2014-07-08 Juri Linkov <juri@jurta.org>
1490
1491 * faces.el (face-name): Return input arg `face' as is
1492 when it's not a symbol.
1493 (x-resolve-font-name): Don't check if the face is a symbol.
1494 (Bug#17956)
1495
1496 2014-07-08 Juri Linkov <juri@jurta.org>
1497
1498 * facemenu.el (list-colors-print): In help-echo format use %.2f
1499 instead of %d because now HSV values are floating-point components
1500 between 0.0 and 1.0.
1501
1502 2014-07-06 Glenn Morris <rgm@gnu.org>
1503
1504 * emulation/cua-rect.el (cua--activate-rectangle):
1505 Avoid setting cua--rectangle to nil. (Bug#17877)
1506
1507 2014-07-06 Stephen Berman <stephen.berman@gmx.net>
1508
1509 * calendar/todo-mode.el: Fix wrong-type-argument error when
1510 marking multiple consecutive items.
1511 (todo-toggle-mark-item): Don't try to mark the empty lines at the
1512 end of the todo and done items sections. Note in doc string that
1513 items marked by passing a numeric prefix argument can include the
1514 last todo and first done items.
1515 (todo-mark-category): Don't try to mark the empty line between the
1516 todo and done items sections.
1517
1518 2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1519
1520 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
1521 proper Lisp quoting (bug#17934).
1522
1523 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
1524 require-final-newline since prog-mode already took care of it (bug#17947).
1525
1526 2014-07-04 Stephen Berman <stephen.berman@gmx.net>
1527
1528 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
1529 refer to the Todo mode Info manual. Update the comment on
1530 requiring cl-lib.
1531 (todo-find-filtered-items-file): Add todo-prefix overlays.
1532 (todo-filter-items): Reorder a let-bound variable to avoid a
1533 wrong-type-argument error on canceling the file choice dialog.
1534
1535 2014-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1536
1537 * progmodes/octave.el (inferior-octave-mode):
1538 Set comint-input-ring-size to a number (bug#17912).
1539
1540 2014-07-03 Juri Linkov <juri@jurta.org>
1541
1542 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
1543 and `isearch-mode' associated with nil. (Bug#17849)
1544
1545 2014-07-02 Juri Linkov <juri@jurta.org>
1546
1547 * desktop.el (desktop-save): Rename arg `auto-save' to
1548 `only-if-changed'. Doc fix. (Bug#17873)
1549
1550 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1551
1552 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
1553 Use insert-for-yank (bug#17271).
1554
1555 2014-07-02 Leo Liu <sdl.web@gmail.com>
1556
1557 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
1558 Support lexical-binding.
1559
1560 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1561
1562 * vc/log-edit.el (log-edit-goto-eoh): New function.
1563 (log-edit--match-first-line): Use it (bug#17861).
1564
1565 2014-07-01 Glenn Morris <rgm@gnu.org>
1566
1567 * vc/log-edit.el (log-edit-hook): Add missing :version.
1568
1569 2014-07-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
1570
1571 * progmodes/python.el (python-indent-post-self-insert-function):
1572 Enhancements to electric indentation behavior inside
1573 parens. (Bug#17658)
1574
1575 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1576
1577 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
1578 buffer-invisibility-spec (bug#17867).
1579
1580 2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
1581
1582 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
1583 pass "-a".
1584
1585 2014-06-29 Glenn Morris <rgm@gnu.org>
1586
1587 * cus-edit.el (help):
1588 * finder.el (finder-known-keywords):
1589 * help.el (help-for-help-internal):
1590 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
1591 (ediff-redraw-registry-buffer):
1592 * vc/ediff-ptch.el (ediff-patch-file-internal):
1593 Doc fixes re "online" help. (Bug#17803)
1594
1595 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
1596 (idlwave-mode): Doc URL update.
1597
1598 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
1599
1600 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
1601 account for file-wide setting of todo-top-priorities-overrides.
1602 Make code a bit cleaner.
1603
1604 2014-06-27 Leo Liu <sdl.web@gmail.com>
1605
1606 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
1607
1608 2014-06-27 Glenn Morris <rgm@gnu.org>
1609
1610 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
1611
1612 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
1613
1614 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
1615 category-wide setting of todo-top-priorities-overrides, check for
1616 a file-wide setting and fontify accordingly.
1617
1618 2014-06-26 Glenn Morris <rgm@gnu.org>
1619
1620 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
1621
1622 2014-06-26 Daiki Ueno <ueno@gnu.org>
1623
1624 * emacs-lisp/package.el (package--check-signature):
1625 If package-check-signature is allow-unsigned, don't signal error when
1626 we can't verify signature because of missing public key
1627 (backport for bug#17625).
1628
1629 2014-06-26 Glenn Morris <rgm@gnu.org>
1630
1631 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
1632 Remove outdated declaration.
1633
1634 * emacs-lisp/authors.el (authors-valid-file-names)
1635 (authors-renamed-files-alist): Additions.
1636
1637 2014-06-25 Leo Liu <sdl.web@gmail.com>
1638
1639 * textmodes/picture.el (picture-set-tab-stops):
1640 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
1641 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
1642
1643 * progmodes/asm-mode.el (asm-calculate-indentation):
1644 Use indent-next-tab-stop.
1645
1646 * indent.el (indent-accumulate-tab-stops): New function.
1647
1648 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1649
1650 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
1651 (package-desc-status): Obey it.
1652
1653 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
1654
1655 * calendar/todo-mode.el: Fix two bugs.
1656 (todo-insert-item--basic): If user cancels item insertion to
1657 another category before setting priority, show original category
1658 whether it is in the same or a different file.
1659 (todo-set-item-priority): After selecting category, instead of
1660 moving point to top, which extends an active region, restore it.
1661
1662 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1663
1664 * help-fns.el (describe-function-1): Check file-name is a string before
1665 calling help-fns--autoloaded-p (bug#17564).
1666
1667 2014-06-24 Juri Linkov <juri@jurta.org>
1668
1669 * desktop.el (desktop-auto-save-enable)
1670 (desktop-auto-save-disable): New functions.
1671 (desktop-save-mode, desktop-auto-save-timeout): Use them.
1672 (desktop-read): Disable the autosave before loading the desktop,
1673 and enable afterwards. (Bug#17351)
1674
1675 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
1676
1677 Fix some indentation problem with \; and pipes (bug#17842).
1678 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1679 (sh-smie--default-forward-token, sh-smie--default-backward-token):
1680 New functions.
1681 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1682 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1683 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1684
1685 2014-06-24 Eli Zaretskii <eliz@gnu.org>
1686
1687 * international/fontset.el (script-representative-chars):
1688 Add representative characters for scripts added in Unicode 7.0.
1689 (otf-script-alist): Synchronize with the latest registry of OTF
1690 script tags.
1691
1692 * international/characters.el (char-script-table): Update for
1693 scripts added and codepoint ranges changed in Unicode 7.0.
1694
1695 2014-06-23 Leo Liu <sdl.web@gmail.com>
1696
1697 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
1698 tab-stop-list to nil. (Bug#16381)
1699
1700 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1701 (indent-rigidly-left-to-tab-stop)
1702 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1703 (move-to-tab-stop): Change callers.
1704
1705 2014-06-22 Eli Zaretskii <eliz@gnu.org>
1706
1707 * skeleton.el (skeleton-insert): Yet another fix of the doc string
1708 wrt behavior of \n as the first/last element of a skeleton.
1709
1710 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
1711
1712 * net/tramp-adb.el (tramp-adb-handle-process-file):
1713 * net/tramp-sh.el (tramp-sh-handle-process-file):
1714 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1715 the output buffer when DISPLAY is non-nil. (Bug#17815)
1716
1717 2014-06-21 Glenn Morris <rgm@gnu.org>
1718
1719 * play/landmark.el (landmark-move-down, landmark-move-up):
1720 Fix 2007-10-20 change - preserve horizontal position.
1721
1722 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1723
1724 Fix completion retrieval parsing (bug#17209).
1725 * progmodes/python.el (python-mode):
1726 (python-util-strip-string): New function.
1727 (python-shell-completion-get-completions): Use it.
1728
1729 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1730
1731 * skeleton.el (skeleton-insert): Fix last change.
1732
1733 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1734
1735 Enhancements for outline integration (bug#17796).
1736 * progmodes/python.el (python-mode): Properly set
1737 outline-heading-end-regexp so that comments after colons for
1738 defuns are supported.
1739
1740 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1741
1742 * skeleton.el (skeleton-insert): Doc fix.
1743
1744 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1745
1746 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1747 (smie-config-guess): Use smie-config-local so the rules are obeyed
1748 (bug#17818).
1749
1750 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1751 since it's already done inside the loop (bug#17819).
1752
1753 2014-06-20 Martin Rudalics <rudalics@gmx.at>
1754
1755 * mouse.el (mouse-drag-line): Re-remove code initially removed
1756 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1757 (Bug#17819).
1758
1759 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1760
1761 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1762 align with the surrounding parent (bug#17721).
1763
1764 2014-06-20 Eli Zaretskii <eliz@gnu.org>
1765
1766 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1767 locally to nil.
1768 (texinfo-insert-block, texinfo-insert-@end)
1769 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1770 local setting of skeleton-end-newline by adding an explicit \n to
1771 the skeletons where appropriate. (Bug#17801)
1772
1773 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1774
1775 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1776 (smie-indent--hanging-p): Use it.
1777 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1778
1779 2014-06-20 Leo Liu <sdl.web@gmail.com>
1780
1781 * simple.el (read-quoted-char): Don't let help chars pop up help
1782 buffer. (Bug#16617)
1783
1784 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
1785
1786 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1787 for | (bug#17621).
1788
1789 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1790
1791 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
1792 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
1793 burping.
1794
1795 2014-06-18 Eli Zaretskii <eliz@gnu.org>
1796
1797 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1798 and later. (Bug#17790)
1799
1800 2014-06-18 Juri Linkov <juri@jurta.org>
1801
1802 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1803 to `soft'. (Bug#17554)
1804
1805 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1806
1807 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1808 (bug#17737).
1809
1810 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
1811
1812 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1813 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
1814
1815 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
1816
1817 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1818 `unread-command-events'.
1819
1820 2014-06-14 Glenn Morris <rgm@gnu.org>
1821
1822 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
1823 Replace delete-duplicates and mapcan by cl- versions throughout.
1824 And cl-macroexpand-all by macroexpand-all.
1825 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1826
1827 2014-06-14 Eli Zaretskii <eliz@gnu.org>
1828
1829 * subr.el (posn-col-row): Doc fix. (Bug#17768)
1830
1831 2014-06-14 Juri Linkov <juri@jurta.org>
1832
1833 * bindings.el: Put `ascii-character' property on keypad keys
1834 mapped to characters. (Bug#17759)
1835
1836 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1837
1838 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1839 bumping forward into a closing paren (bug#17761).
1840
1841 * term/xterm.el (xterm--version-handler): Work around for OSX
1842 Terminal.app (bug#17607).
1843
1844 2014-06-08 Glenn Morris <rgm@gnu.org>
1845
1846 * startup.el (initial-buffer-choice): Doc fix.
1847 Reset :version (adding an option does not merit a :version bump).
1848
1849 * bookmark.el (bookmark-load):
1850 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1851
1852 2014-06-06 Juri Linkov <juri@jurta.org>
1853
1854 * desktop.el: Activate auto-saving on window configuration changes.
1855 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1856 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
1857 (desktop-auto-save-set-timer): Change REPEAT arg of
1858 `run-with-idle-timer' from t to nil.
1859 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1860
1861 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
1862
1863 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1864 vc-hg-command (bug#17570).
1865
1866 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1867
1868 * international/mule-cmds.el (ucs-names): Add special entry for BEL
1869 (bug#17702).
1870
1871 2014-06-06 Glenn Morris <rgm@gnu.org>
1872
1873 * startup.el (window-setup-hook): Doc fix.
1874
1875 2014-06-05 Glenn Morris <rgm@gnu.org>
1876
1877 * emacs-lisp/package.el (package-check-signature)
1878 (package-unsigned-archives): Doc fixes.
1879
1880 2014-06-03 Martin Rudalics <rudalics@gmx.at>
1881
1882 * window.el (display-buffer-use-some-window): Don't make window
1883 used smaller than it was before (Bug#17671).
1884
1885 2014-06-03 Eli Zaretskii <eliz@gnu.org>
1886
1887 * menu-bar.el (menu-bar-open): Fix last change: use the PC
1888 'redisplay' instead of '(sit-for 0)'.
1889
1890 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
1891
1892 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
1893 regexp. (Bug#17653)
1894
1895 2014-06-03 Glenn Morris <rgm@gnu.org>
1896
1897 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1898
1899 2014-06-02 Eli Zaretskii <eliz@gnu.org>
1900
1901 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1902
1903 2014-06-01 Eli Zaretskii <eliz@gnu.org>
1904
1905 * simple.el (keyboard-quit): Force update of mode lines, to remove
1906 the "Def" indicator, if we were defining a macro. (Bug#17615)
1907
1908 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1909
1910 * minibuffer.el (minibuffer-force-complete-and-exit):
1911 Obey minibuffer-default (bug#17545).
1912
1913 * progmodes/js.el (js-indent-line): Don't mix columns and chars
1914 (bug#17619).
1915
1916 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1917
1918 * subr.el (set-transient-map): Don't wait for some "nested"
1919 transient-map to finish if we're only supposed to be active for
1920 the next command (bug#17642).
1921
1922 2014-05-31 Leo Liu <sdl.web@gmail.com>
1923
1924 * emacs-lisp/gv.el (window-buffer, window-display-table)
1925 (window-dedicated-p, window-hscroll, window-point, window-start):
1926 Fix gv-expander. (Bug#17630)
1927
1928 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1929
1930 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1931 clicks (bug#17633).
1932
1933 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1934 for the single comma, since ", " is *very* common in normal French text
1935 (bug#17643).
1936
1937 2014-05-30 Glenn Morris <rgm@gnu.org>
1938
1939 * emacs-lisp/package.el (package-check-signature)
1940 (package-unsigned-archives): Fix :version.
1941
1942 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1943
1944 * subr.el (sit-for): Don't run input-methods (bug#15614).
1945
1946 2014-05-28 Glenn Morris <rgm@gnu.org>
1947
1948 * cus-start.el: Fix some :version numbers.
1949
1950 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1951
1952 * simple.el (deactivate-mark): Set mark-active to nil even if
1953 deactivation is done via setting transient-mark-mode to nil,
1954 since one is buffer-local and the other is global.
1955
1956 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1957 there can't be more than 2 arguments (bug#17584).
1958
1959 2014-05-27 Glenn Morris <rgm@gnu.org>
1960
1961 * simple.el (filter-buffer-substring-functions)
1962 (filter-buffer-substring-function, buffer-substring-filters)
1963 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1964
1965 * minibuffer.el (completion-in-region-functions, completion-in-region)
1966 (completion--in-region): Doc fixes.
1967
1968 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1969 (expand-abbrev, abbrev--default-expand): Doc fixes.
1970
1971 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
1972
1973 Include sources used to create macuvs.h.
1974 * international/README: Refer to the Unicode Terms of Use rather
1975 than copying it bodily here, as that simplifies maintenance.
1976
1977 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1978
1979 * cus-face.el (custom-face-attributes): Add :distant-foreground.
1980
1981 2014-05-25 Martin Rudalics <rudalics@gmx.at>
1982
1983 * window.el (window--dump-frame): Remove interactive
1984 specification.
1985
1986 2014-05-23 Glenn Morris <rgm@gnu.org>
1987
1988 * hippie-exp.el (he-line-search-regexp):
1989 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
1990
1991 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1992
1993 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1994 to avoid errors when trying to create or visit a file foo.todo
1995 located outside to todo-directory, and to allow having such files
1996 without them being tied to Todo mode (bug#17482).
1997 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1998 (todo-archive-done-item, todo-find-filtered-items-file)
1999 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
2000 (todo-category-completions, todo-read-category): When visiting a
2001 Todo file, make sure we're in the right mode and the buffer local
2002 variables are set.
2003 (todo-make-categories-list, todo-reset-nondiary-marker)
2004 (todo-reset-done-string, todo-reset-comment-string):
2005 After processing all Todo files, kill the buffers of those files that
2006 weren't being visited before the processing.
2007 (todo-display-as-todo-file, todo-add-to-buffer-list)
2008 (todo-visit-files-commands): Comment out.
2009 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
2010 (auto-mode-alist): Remove add-to-list calls making Todo file
2011 extensions unrestrictedly tied to Todo modes.
2012
2013 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
2014
2015 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
2016 (advice-function-member-p): Tell it to check both names and functions
2017 (bug#17531).
2018 (advice--add-function): Adjust call accordingly.
2019
2020 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
2021
2022 * calendar/todo-mode.el: Miscellaneous bug fixes.
2023 (todo-delete-file): When deleting an archive but not its todo
2024 file, make sure to update the todo file's category sexp.
2025 (todo-move-category): Keep the moved category's name unless the
2026 file moved to already has a category with that name. If the
2027 numerically last category of the source file was moved, make the
2028 first category current to avoid selecting a nonexisting category.
2029 (todo-merge-category): Fix implementation to make merging to a
2030 category in another file work as documented. Eliminate now
2031 insufficient and unnecessary renaming of archive category, correct
2032 document string accordingly, and clarify it. If the numerically
2033 last category of the source file was merged, make the first
2034 category current to avoid selecting a nonexisting category.
2035 (todo-archive-done-item): When there are marked items and point
2036 happens to be on an unmarked item, ignore the latter. Don't leave
2037 point below last item after archiving marked items.
2038 (todo-unarchive-items): Fix logic to ensure unarchiving an item
2039 from an archive with only one category deletes the archive only
2040 when the category is empty after unarchiving. Make sure the todo
2041 file's category sexp is updated.
2042 (todo-read-file-name): Allow an existing file name even when it is
2043 not required (todo-move-category needs this to work as documented).
2044 (todo-add-file): Call todo-validate-name to reject the name of an
2045 existing todo file (needed due to fix in todo-read-file-name).
2046 (todo-reset-nondiary-marker): Also reset in filtered items files.
2047 (todo-reset-done-string, todo-reset-comment-string): Also reset in
2048 regexp filtered items files.
2049 (todo-reset-highlight-item): Also reset in filtered items files.
2050 Fix incorrect variable reference in document string.
2051
2052 2014-05-22 Glenn Morris <rgm@gnu.org>
2053
2054 * window.el (window--dump-frame): Avoid error in --without-x builds.
2055
2056 2014-05-21 Glenn Morris <rgm@gnu.org>
2057
2058 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
2059
2060 2014-05-21 Eli Zaretskii <eliz@gnu.org>
2061
2062 * frame.el (set-frame-font): Doc fix.
2063
2064 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
2065
2066 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
2067
2068 * emacs-lisp/package.el (package--download-one-archive):
2069 Use `write-region' instead of `save-buffer' to avoid running various
2070 hooks. (Bug#17155)
2071 (describe-package-1): Same. Insert newline at the end of the
2072 buffer if appropriate.
2073
2074 2014-05-20 Juri Linkov <juri@jurta.org>
2075
2076 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
2077 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
2078 Add more modifiers: meta, control, shift, hyper, super, alt.
2079 (Bug#17439)
2080
2081 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
2082 to allow changing its value with `set-variable'.
2083
2084 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
2085
2086 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
2087 #; comments.
2088 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
2089 New functions.
2090 (scheme-mode-variables): Set syntax-propertize-function instead of
2091 font-lock-syntactic-face-function.
2092 (scheme-font-lock-syntactic-face-function): Delete.
2093
2094 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
2095
2096 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2097
2098 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
2099 (bug#17392).
2100
2101 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
2102
2103 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
2104 for a temporary file name.
2105
2106 2014-05-17 Eli Zaretskii <eliz@gnu.org>
2107
2108 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
2109
2110 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
2111
2112 * net/dbus.el (dbus-init-bus, dbus-call-method)
2113 (dbus-call-method-asynchronously, dbus-send-signal)
2114 (dbus-method-return-internal, dbus-method-error-internal):
2115 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
2116
2117 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2118
2119 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
2120 methods which do not have a doc string. (Bug#17490)
2121
2122 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
2123 Stefan Monnier <monnier@iro.umontreal.ca>
2124
2125 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
2126 suffix (bug#15419).
2127
2128 2014-05-14 Glenn Morris <rgm@gnu.org>
2129
2130 * vc/emerge.el (emerge-temp-file-prefix):
2131 Make pointless option obsolete.
2132 (emerge-temp-file-mode): Make non-functional option obsolete.
2133
2134 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
2135
2136 * net/browse-url.el (browse-url):
2137 Use `unhandled-file-name-directory' when setting `default-directory',
2138 in order to circumvent stalled remote connections. (Bug#17425)
2139
2140 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
2141
2142 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
2143 into autoloading just because of a silly indirection.
2144
2145 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
2146
2147 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
2148
2149 2014-05-11 Glenn Morris <rgm@gnu.org>
2150
2151 * emacs-lisp/find-gc.el: Move to ../admin.
2152
2153 2014-05-10 Glenn Morris <rgm@gnu.org>
2154
2155 * printing.el (pr-version):
2156 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
2157
2158 * net/browse-url.el (browse-url-mosaic):
2159 Create /tmp/Mosaic.PID as a private file.
2160
2161 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
2162
2163 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
2164 (advice--member-p): If name is given, only compare the name.
2165 (advice--remove-function): Don't stop at the first match.
2166 (advice--normalize-place): New function.
2167 (add-function, remove-function): Use it.
2168 (advice--add-function): Pass the name, if any, to
2169 advice--remove-function.
2170
2171 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
2172
2173 * electric.el (electric-indent-post-self-insert-function): Don't use
2174 `pos' after modifying the buffer (bug#17449).
2175
2176 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2177
2178 * subr.el (function-put): Add function.
2179
2180 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
2181
2182 * calendar/todo-mode.el (todo-insert-item-from-calendar):
2183 Correct argument list to conform to todo-insert-item--basic.
2184
2185 2014-05-09 Glenn Morris <rgm@gnu.org>
2186
2187 * files.el (cd-absolute): Test if directory is accessible
2188 rather than executable. (Bug#17330)
2189
2190 * progmodes/compile.el (recompile):
2191 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
2192
2193 2014-05-08 Juri Linkov <juri@jurta.org>
2194
2195 * dired.el (dired-check-switches, dired-switches-recursive-p):
2196 New functions. (Bug#17218)
2197 (dired-switches-escape-p, dired-move-to-end-of-filename):
2198 Use `dired-check-switches'.
2199 (dired-insert-old-subdirs, dired-build-subdir-alist)
2200 (dired-sort-R-check): Use `dired-switches-recursive-p'.
2201
2202 2014-05-08 Glenn Morris <rgm@gnu.org>
2203
2204 * net/browse-url.el (browse-url-mosaic):
2205 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
2206 This is CVE-2014-3423.
2207
2208 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2209
2210 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
2211 (xterm-mouse--read-event-sequence-1000): Return nil if something
2212 looks fishy.
2213 (xterm-mouse-event): Propagate it.
2214 (xterm-mouse-translate-1): Handle it.
2215
2216 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
2217
2218 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
2219 four slots of the parameter list are filled, make sure to pass it
2220 to the argument list of todo-insert-item--basic.
2221
2222 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2223
2224 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
2225 Add optional `seen' argument to detect and break infinite loops.
2226
2227 2014-05-06 Eli Zaretskii <eliz@gnu.org>
2228
2229 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
2230 (trace-unsafe, trace-use-tree): Make parentheses style be
2231 according to Emacs style.
2232
2233 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
2234
2235 * net/tramp-sh.el (tramp-remote-process-environment):
2236 Remove HISTFILE and HISTSIZE; it's too late to set them here.
2237 Add :version entry.
2238 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
2239 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
2240 extra "PSx=..." commands.
2241 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
2242 (Bug#17295)
2243
2244 (tramp-uudecode): Replace the hard-coded temporary file name by a
2245 format specifier.
2246 (tramp-remote-coding-commands): Enhance docstring.
2247 (tramp-find-inline-encoding): Replace "%t" by a temporary file
2248 name. (Bug#17415)
2249 This is CVE-2014-3424.
2250
2251 2014-05-06 Glenn Morris <rgm@gnu.org>
2252
2253 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
2254 (find-gc-source-files): Update some names.
2255 (trace-call-tree): Simplify and update.
2256 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
2257 This is CVE-2014-3422.
2258
2259 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2260
2261 * minibuffer.el (completion--try-word-completion): Revert fix for
2262 Bug#15980 (bug#17375).
2263
2264 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
2265 Always store button numbers in the same way in xterm-mouse-last;
2266 Don't burp is xterm-mouse-last is not set as expected.
2267 Never return negative indices.
2268
2269 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
2270
2271 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2272 Backtrack one char if the global/char-literal var matcher hits
2273 inside a string. The next char could be the beginning of an
2274 expression expansion.
2275
2276 2014-05-05 Glenn Morris <rgm@gnu.org>
2277
2278 * help-fns.el (describe-function-1): Test for an autoload before a
2279 macro, since `macrop' works on autoloads. (Bug#17410)
2280
2281 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2282
2283 * electric.el (electric-indent-functions-without-reindent): Add yaml.
2284
2285 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
2286 Make sure the new point we return is within the new string (bug#17239).
2287
2288 2014-05-03 Eli Zaretskii <eliz@gnu.org>
2289
2290 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
2291
2292 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2293
2294 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2295 Use nil rather than `default' for the "default" appearance (bug#17388).
2296 * vc/ediff-util.el (ediff-inferior-compare-regions)
2297 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
2298 a misleading `default' value when it's really a boolean.
2299 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
2300 overlay is not visible.
2301
2302 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
2303
2304 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
2305 (todo-menu): Uncomment and update.
2306
2307 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
2308
2309 * calendar/todo-mode.el: Reimplement item editing to have the same
2310 basic user interface as item insertion, and make small UI and
2311 larger internal improvements to the latter.
2312 (todo-insert-item): Add reference to the Todo mode user manual to
2313 the documentation string.
2314 (todo-insert-item--basic): Rename from todo-basic-insert-item and
2315 adjust all callers. Change signature to combine diary and
2316 nonmarking arguments. Incorporate functionality of deleted item
2317 copying command and add error checking. Remove detailed
2318 descriptions of the arguments from the documentation string, since
2319 this is treated in the Todo mode user manual.
2320 (todo-copy-item, todo-edit-multiline-item)
2321 (todo-edit-done-item-comment, todo-edit-item-header)
2322 (todo-edit-item-time, todo-edit-item-date-from-calendar)
2323 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
2324 (todo-edit-item-date-year, todo-edit-item-date-month)
2325 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
2326 Remove.
2327 (todo-edit-item): Reimplement as wrapper command for
2328 todo-edit-item--next-key and make it distinguish done and not done
2329 todo items.
2330 (todo-edit-item--text): New function, replacing old command
2331 todo-edit-item and incorporating deleted commands
2332 todo-edit-multiline-item and todo-edit-done-item-comment.
2333 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
2334 Use only numeric value of prefix argument. Remove detailed
2335 descriptions of the arguments from the documentation string, since
2336 this is treated in the Todo mode user manual.
2337 (todo-edit-item--diary-inclusion): New function, replacing old
2338 command todo-edit-item-diary-inclusion and incorporating and fixing
2339 functionality of deleted command todo-edit-item-diary-nonmarking,
2340 making sure to remove todo-nondiary-marker when adding
2341 diary-nonmarking-symbol.
2342 (todo-edit-category-diary-inclusion): Make sure to delete
2343 diary-nonmarking-symbol when adding todo-nondiary-marker.
2344 (todo-edit-category-diary-nonmarking): Fix indentation.
2345 (todo-insert-item--parameters): Group diary and nonmarking
2346 parameters together.
2347 (todo-insert-item--apply-args): Adjust to signature of
2348 todo-insert-item--basic and incorporate copy parameter.
2349 Make small code improvements.
2350 (todo-insert-item--next-param): Improve prompt and adjust it to
2351 new parameter grouping. Remove obsolete code.
2352 (todo-edit-item--param-key-alist)
2353 (todo-edit-item--date-param-key-alist)
2354 (todo-edit-done-item--param-key-alist): New defconsts.
2355 (todo-edit-item--prompt): New variable.
2356 (todo-edit-item--next-key): New function.
2357 (todo-key-bindings-t): Bind "e" to todo-edit-item.
2358 Remove bindings of deleted commands.
2359
2360 2014-05-02 Leo Liu <sdl.web@gmail.com>
2361
2362 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
2363
2364 2014-05-01 Glenn Morris <rgm@gnu.org>
2365
2366 * allout-widgets.el (allout-widgets-tally)
2367 (allout-decorate-item-guides):
2368 * menu-bar.el (menu-bar-positive-p):
2369 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
2370 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
2371 * progmodes/js.el (js--inside-param-list-p)
2372 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
2373 * progmodes/prolog.el (region-exists-p):
2374 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
2375 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
2376 Doc fixes (replace `iff').
2377
2378 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2379
2380 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
2381
2382 2014-04-30 Eli Zaretskii <eliz@gnu.org>
2383
2384 * dired.el (dired-initial-position-hook, dired-initial-position):
2385 Doc string fixes.
2386
2387 2014-04-29 Glenn Morris <rgm@gnu.org>
2388
2389 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
2390
2391 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
2392
2393 * faces.el (face-spec-recalc): Apply X resources only after the
2394 defface spec has been applied. Thus, X resources are no longer
2395 overridden by the defface spec which also fixes issues on win32 where
2396 the toolbar coloring was wrong because it is set through X resources
2397 and was (wrongfully) overridden. (Bug#16694)
2398
2399 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2400
2401 * textmodes/rst.el (electric-pair-pairs): Declare.
2402 (rst-mode): Set it (bug#17131).
2403
2404 2014-04-27 Juri Linkov <juri@jurta.org>
2405
2406 * desktop.el (desktop-value-to-string): Let-bind `print-length'
2407 and `print-level' to nil. (Bug#17351)
2408
2409 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2410
2411 * battery.el (battery-update): Handle the case where battery
2412 status is "N/A" (bug#17319).
2413
2414 2014-04-24 Eli Zaretskii <eliz@gnu.org>
2415
2416 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
2417 Use equal-including-properties to compare help-echo strings (bug#17331).
2418
2419 2014-04-24 Leo Liu <sdl.web@gmail.com>
2420
2421 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
2422 Fix syntax for @. (Bug#17325)
2423
2424 2014-04-24 Daniel Colascione <dancol@dancol.org>
2425
2426 * emacs-lisp/cl.el (gv): Require gv early to break eager
2427 macro-expansion cycles.
2428
2429 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2430
2431 * simple.el (region-active-p): Check there's a mark (bug#17324).
2432
2433 * simple.el (completion-list-mode-map): Use choose-completion for the
2434 mouse binding as well (bug#17302).
2435 (completion-list-mode, completion-setup-function): Adjust docstring and
2436 echo area message accordingly.
2437 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
2438 calling convention of choose-completion.
2439 * comint.el (comint-dynamic-list-completions):
2440 * term.el (term-dynamic-list-completions): Accept choose-completion.
2441
2442 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
2443 &, |, +, - and * can't be a division (bug#17317).
2444
2445 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2446
2447 * term/xterm.el (xterm--version-handler): Don't use modern xterm
2448 features on gnome-terminal (bug#16988).
2449
2450 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
2451
2452 * dired.el (dired-insert-set-properties): Do not consider
2453 subdirectory headings and empty lines to be information that
2454 `dired-hide-details-mode' should hide. (Bug#17228)
2455
2456 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
2457
2458 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2459 Remove test messages.
2460 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
2461 and `target' twice.
2462
2463 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2464
2465 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
2466 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
2467
2468 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
2469
2470 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
2471
2472 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2473 Set "IFS=" when using read builtin, in order to preserve spaces in
2474 the file name. Add test messages for hunting a bug on hydra.
2475 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
2476
2477 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2478
2479 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
2480 Don't prettify a word within a symbol.
2481
2482 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
2483
2484 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
2485 possible.
2486
2487 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2488
2489 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
2490 assignments such as "case=hello" (bug#17297).
2491
2492 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
2493
2494 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
2495 Do not autoload.
2496 (tramp-file-name-handler, tramp-completion-file-name-handler):
2497 Revert patch from 2014-04-10, it isn't necessary anymore.
2498 (tramp-autoload-file-name-handler)
2499 (tramp-register-autoload-file-name-handlers): New defuns.
2500 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
2501 (tramp-register-file-name-handlers): Remove also
2502 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
2503 Do not autoload its invocation, but eval it after loading of 'tramp.
2504
2505 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
2506
2507 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
2508
2509 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2510
2511 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
2512 was done (bug#17264).
2513 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
2514 comment to EOB.
2515
2516 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
2517 here-documents (bug#17262).
2518
2519 2014-04-16 Eli Zaretskii <eliz@gnu.org>
2520
2521 * term/pc-win.el (x-list-fonts, x-get-selection-value):
2522 Provide doc strings, as required by snarf-documentation.
2523
2524 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2525
2526 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
2527 arg of overlays-at. Use `invisible-p'.
2528
2529 * obsolete/lucid.el (extent-at):
2530 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
2531 overlays-at.
2532 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
2533
2534 2014-04-14 João Távora <joaotavora@gmail.com>
2535
2536 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
2537 links. (Bug#17217).
2538
2539 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2540
2541 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2542 Use mapc to loop over a vector. (Bug#17257).
2543
2544 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
2545
2546 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
2547 patch, there are new problems with file names containing spaces.
2548 Get rid of backticks. (Bug#17238)
2549
2550 2014-04-13 João Távora <joaotavora@gmail.com>
2551
2552 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
2553 possible bug.
2554
2555 2014-04-13 Eli Zaretskii <eliz@gnu.org>
2556
2557 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
2558 (blink-cursor-mode): Mention customization variables and the
2559 effect of 'blink-cursor-blinks'.
2560
2561 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
2562
2563 * simple.el (undo): Prevent insertion of identity mapping into
2564 undo-equiv-table so as undo-only does not inf loop in the presence
2565 of consecutive nils in undo list.
2566
2567 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
2568
2569 * faces.el (make-face): Deprecate optional argument as it is no
2570 longer needed/used since the conditional X resources handling
2571 has been pushed down to make-face-x-resource-internal itself.
2572 (make-empty-face): Don't pass optional argument to make-face.
2573
2574 2014-04-12 Eli Zaretskii <eliz@gnu.org>
2575
2576 * international/characters.el <standard-case-table>: Add entries
2577 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
2578 Set category of Coptic characters be 'g' (Greek).
2579
2580 2014-04-12 Leo Liu <sdl.web@gmail.com>
2581
2582 * progmodes/octave.el (completion-table-with-cache): Define if not
2583 available.
2584 (octave-goto-function-definition)
2585 (octave-sync-function-file-names)
2586 (octave-find-definition-default-filename): Backquote upattern for
2587 compatibility.
2588
2589 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
2590
2591 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
2592 name twice due to backticks. (Bug#17238)
2593
2594 2014-04-11 Glenn Morris <rgm@gnu.org>
2595
2596 * term/w32-win.el (x-win-suspend-error):
2597 * term/x-win.el (x-win-suspend-error): Sync docs.
2598
2599 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2600
2601 Ediff's overlay priorities cause more trouble than they solve.
2602 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
2603 (ediff-highest-priority): Remove function (bug#17234).
2604 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
2605 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
2606 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
2607 overlay priorities.
2608
2609 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
2610
2611 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
2612 entry; use symbol boundaries to avoid mis-matches.
2613
2614 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
2615
2616 * net/tramp.el (tramp-file-name-handler)
2617 (tramp-completion-file-name-handler): Avoid recursive loading.
2618
2619 * net/tramp-sh.el (tramp-make-copy-program-file-name):
2620 Quote result also locally.
2621
2622 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
2623
2624 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2625 Module methods. (Bug#17216)
2626
2627 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2628
2629 * help.el (describe-bindings): Fix buffer handling (bug#17210).
2630 (describe-bindings-internal): Mark obsolete.
2631
2632 2014-04-07 João Távora <joaotavora@gmail.com>
2633
2634 * elec-pair.el:
2635 (electric-pair--syntax-ppss): When inside comments parse from
2636 comment beginning.
2637 (electric-pair--balance-info): Fix typo in comment.
2638 (electric-pair--in-unterminated-string-p): Delete.
2639 (electric-pair--unbalanced-strings-p): New function.
2640 (electric-pair-string-bound-function): New var.
2641 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2642 according to `electric-pair--in-unterminated-string-p'
2643
2644 2014-04-07 João Távora <joaotavora@gmail.com>
2645
2646 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2647 Inhibit quote pairing if point-max is inside an unterminated string.
2648 (electric-pair--looking-at-unterminated-string-p): Delete.
2649 (electric-pair--in-unterminated-string-p): New function.
2650
2651 2014-04-07 Glenn Morris <rgm@gnu.org>
2652
2653 * shell.el (shell-directory-tracker):
2654 Go back to just ignoring failures. (Bug#17159)
2655
2656 2014-04-06 João Távora <joaotavora@gmail.com>
2657
2658 Fix `electric-pair-delete-adjacent-pairs' in modes binding
2659 backspace. (bug#16981)
2660 * elec-pair.el (electric-pair-backward-delete-char): Delete.
2661 (electric-pair-backward-delete-char-untabify): Delete.
2662 (electric-pair-mode-map): Bind backspace to a menu item filtering
2663 a new `electric-pair-delete-pair' command.
2664 (electric-pair-delete-pair): New command.
2665
2666 2014-04-06 João Távora <joaotavora@gmail.com>
2667
2668 * progmodes/python.el (python-electric-pair-string-delimiter):
2669 Fix triple-quoting electricity. (Bug#17192)
2670
2671 2014-04-06 João Távora <joaotavora@gmail.com>
2672
2673 * elec-pair.el (electric-pair-post-self-insert-function):
2674 Don't skip whitespace when `electric-pair-text-pairs' and
2675 `electric-pair-pairs' were used. syntax to
2676 electric-pair--skip-whitespace. (Bug#17183)
2677
2678 2014-04-06 Eli Zaretskii <eliz@gnu.org>
2679
2680 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2681 "<F>". (Bug#17199)
2682
2683 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
2684
2685 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2686 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2687
2688 2014-04-05 Glenn Morris <rgm@gnu.org>
2689
2690 * help.el (view-lossage): Doc tweak.
2691
2692 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
2693
2694 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2695 only when inhibit-x-resources is nil, and do that earlier in the
2696 function. Doc fix. (Bug#16694)
2697 (face-spec-choose): Accept additional optional argument, whose
2698 value is returned if no matching attributes are found.
2699 (face-spec-recalc): Use the new optional argument when calling
2700 face-spec-choose. (Bug#16378)
2701 (make-face-x-resource-internal): Do nothing when
2702 inhibit-x-resources is non-nil. Don't touch the default face if
2703 reversed video is given--as was done in previous versions of Emacs.
2704 (face-set-after-frame-default): Don't call
2705 make-face-x-resource-internal here. (Bug#16434)
2706
2707 2014-04-04 Tassilo Horn <tsdh@gnu.org>
2708
2709 * doc-view.el (doc-view-bookmark-jump):
2710 Use `bookmark-after-jump-hook' to jump to the right page after the
2711 buffer is shown in a window. (bug#16090)
2712
2713 2014-04-04 Eli Zaretskii <eliz@gnu.org>
2714
2715 * international/characters.el (mirroring): Fix last change:
2716 instead of loading uni-mirrored.el explicitly, do that implicitly
2717 by creating the 'mirroring' uniprop table. This avoids announcing
2718 the loading of uni-mirrored.el.
2719
2720 2014-04-04 Glenn Morris <rgm@gnu.org>
2721
2722 * files.el (buffer-stale--default-function)
2723 (buffer-stale-function, revert-buffer--default):
2724 * autorevert.el (auto-revert-buffers): Doc tweaks.
2725
2726 2014-04-03 Eli Zaretskii <eliz@gnu.org>
2727
2728 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
2729
2730 2014-04-03 Glenn Morris <rgm@gnu.org>
2731
2732 * files.el (make-backup-file-name-function)
2733 (make-backup-file-name, make-backup-file-name--default-function)
2734 (make-backup-file-name-1, find-backup-file-name)
2735 (revert-buffer-function, revert-buffer-insert-file-contents-function)
2736 (buffer-stale--default-function, buffer-stale-function)
2737 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2738 (revert-buffer, revert-buffer--default)
2739 (revert-buffer-insert-file-contents--default-function):
2740 Doc fixes related to defaults no longer being nil.
2741 (make-backup-file-name-function): Bump :version.
2742 Restore nil as a valid but deprecated custom type.
2743
2744 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
2745
2746 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
2747 used as a variable (bug#17174).
2748
2749 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
2750
2751 * progmodes/perl-mode.el (perl-indent-new-calculate):
2752 Handle forward-sexp failure (bug#16985).
2753 (perl-syntax-propertize-function): Add "foreach" and "for" statement
2754 modifiers introducing expressions (bug#17116).
2755
2756 2014-04-02 Glenn Morris <rgm@gnu.org>
2757
2758 * menu-bar.el (menu-bar-file-menu):
2759 * vc/ediff.el (ediff-current-file):
2760 Update for revert-buffer-function no longer being nil by default.
2761
2762 * simple.el (command-execute): Respect nil disabled-command-function.
2763
2764 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2765
2766 * simple.el (command-execute): Do not execute the command when it
2767 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2768
2769 2014-03-29 Juri Linkov <juri@jurta.org>
2770
2771 * dired-aux.el (dired-compress-file): Don't use string-match-p
2772 because its match data is used afterwards.
2773
2774 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2775
2776 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2777 0 like nil.
2778
2779 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2780
2781 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2782 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2783
2784 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2785 Don't propertize `?' or `!' as symbol constituent when after
2786 colon. (Bug#17097)
2787
2788 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2789
2790 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2791 which is no longer needed and causes trouble in GTK builds (bug#17046).
2792
2793 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2794 Use url-insert-file-contents; package-handle-response no longer exists.
2795
2796 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2797
2798 * emacs-lisp/package.el: Fix bug#16733 (again).
2799 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2800 (url-http-target-url): Remove unused declarations.
2801 (package-handle-response): Remove.
2802 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2803 (package--download-one-archive): Use current-buffer instead of
2804 dynamic binding of `buffer'.
2805 (describe-package-1): Do not decode readme-string.
2806
2807 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
2808
2809 * simple.el (primitive-undo): Correction to 2014-03-24 change.
2810
2811 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
2812
2813 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2814
2815 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2816 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2817 `remote-file-name-inhibit-cache' to nil in the second pass.
2818 (tramp-find-executable): Do not call "which" on SunOS.
2819 (tramp-send-command-and-check): Fix docstring.
2820 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2821 check whether source directory has set the sticky bit.
2822
2823 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
2824
2825 * simple.el (primitive-undo): Only process marker adjustments
2826 validated against their corresponding (TEXT . POS). Issue warning
2827 for lone marker adjustments in undo history. (Bug#16818)
2828 (undo-make-selective-list): Add marker adjustments to selective
2829 undo list based on whether their corresponding (TEXT . POS) is in
2830 the region. Remove variable adjusted-markers, which was unused
2831 and only non nil during undo-make-selective-list.
2832 (undo-elt-in-region): Return nil when passed a marker adjustment
2833 and explain in function doc.
2834
2835 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2836
2837 * emacs-lisp/package.el (package--add-to-archive-contents):
2838 Include already installed and built-in packages in
2839 `package-archive-contents'.
2840 (package-install): Don't include already installed packages in the
2841 options during interactive invocation. (Bug#16762)
2842
2843 2014-03-24 Daniel Colascione <dancol@dancol.org>
2844
2845 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2846 instead of cl-loop search function.
2847
2848 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
2849
2850 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2851
2852 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2853
2854 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2855
2856 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2857
2858 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2859 Match special global variables without curlies, too.
2860 (ruby-font-lock-keywords): Simplify the matcher for special global
2861 variables. Don't require a non-word character after the variable.
2862 (Bug#17057)
2863
2864 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2865
2866 * simple.el (redisplay-highlight-region-function): Increase priority of
2867 overlay to make sure boundaries are visible (bug#15899).
2868
2869 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2870
2871 * frameset.el (frameset-restore): Compare display strings with equal.
2872
2873 * frame.el (make-frame): Don't quote display name in error message,
2874 it is already a string.
2875
2876 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2877
2878 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2879 the password.
2880
2881 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
2882
2883 * emacs-lisp/package.el (package-show-package-list): If the buffer
2884 is already displayed in another window, switch to that window.
2885
2886 2014-03-21 Daniel Colascione <dancol@dancol.org>
2887
2888 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2889 information in bug reports.
2890
2891 2014-03-23 Daniel Colascione <dancol@dancol.org>
2892
2893 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2894 list to look for keyword arguments instead of `memq', fixing
2895 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2896 Please make bootstrap.
2897
2898 2014-03-23 Richard Stallman <rms@gnu.org>
2899
2900 * battery.el (battery-linux-sysfs): Search for each field
2901 from the beginning of the buffer.
2902
2903 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2904
2905 * emacs-lisp/package.el (package-desc): Use the contents of the
2906 quoted form, not its cdr. (Bug#16873)
2907
2908 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2909
2910 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2911 benefit of doc.c; change parameter profile to match the X function.
2912
2913 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2914
2915 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2916 and `tramp-copy-env'.
2917
2918 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2919 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2920
2921 2014-03-21 Glenn Morris <rgm@gnu.org>
2922
2923 * electric.el (electric-indent-post-self-insert-function): Add doc.
2924
2925 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2926
2927 * emacs-lisp/package.el (package-compute-transaction):
2928 Use `version-list-<=' to compare the requirement version against
2929 the version of package already to be installed. Update the error
2930 message. (Bug#16826)
2931
2932 * progmodes/ruby-mode.el (ruby-smie-rules):
2933 Add indentation rule for ` @ '. (Bug#17050)
2934
2935 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2936
2937 * align.el (align-regexp): Remove superfluous backslash.
2938
2939 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2940 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2941 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2942 Fix docstring typos.
2943 (ffap-next): Use C-u in docstring.
2944 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2945 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2946 Remove superfluous backslashes.
2947 (ffap-string-at-point): Reflow docstring.
2948
2949 * server.el (server-host): Reflow docstring.
2950 (server-unload-function): Fix docstring typo.
2951 (server-eval-at): Remove superfluous backslash.
2952
2953 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2954 (skeleton-insert): Doc fix.
2955 (skeleton-insert): Reflow docstring.
2956
2957 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2958 (tty-color-approximate, tty-color-by-index, tty-color-values)
2959 (tty-color-desc): Remove superfluous backslashes.
2960
2961 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2962
2963 * electric.el (electric-newline-and-maybe-indent): New command.
2964 Bind it globally to C-j.
2965 (electric-indent-mode): Don't mess with the global map any more.
2966 Don't drop the post-self-insert-hook is some buffer is still using it
2967 (bug#16770).
2968
2969 * bindings.el (global-map): Remove C-j binding.
2970
2971 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2972 the docstring of functions advised before dumping (bug#16993).
2973
2974 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2975
2976 * ps-print.el (ps-generate-postscript-with-faces):
2977 Explicitly deactivate the mark (bug#16866).
2978 * simple.el (deactivate-mark): Update region highlight.
2979
2980 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2981
2982 * emacs-lisp/package.el (describe-package-1):
2983 Decode commentary (bug#16733).
2984
2985 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2986
2987 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2988 modification of the value argument of :set (bug#16755).
2989
2990 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2991
2992 * simple.el (newline-and-indent): Do autofill (bug#17031).
2993
2994 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2995
2996 * newcomment.el (comment-normalize-vars): Only add escaping check
2997 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2998 (comment-beginning): Use `narrow-to-region' instead of moving back
2999 one character.
3000 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
3001 (comment-start-skip): Update the docstring.
3002
3003 2014-03-18 Richard Stallman <rms@gnu.org>
3004
3005 * dired.el (dired-display-file): Force use of other window.
3006
3007 2014-03-18 Daniel Colascione <dancol@dancol.org>
3008
3009 * startup.el (tty-handle-args): Remove debug message from 2007.
3010
3011 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
3012
3013 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
3014 (advice--make-interactive-form): Use it to avoid (auto)loading function.
3015 (advice--make-1, advice-add, advice-remove):
3016 Remove braindead :advice-pending hack.
3017
3018 2014-03-17 Glenn Morris <rgm@gnu.org>
3019
3020 * calendar/calendar.el (calendar-generate-month): Apply weekend
3021 face to the right days; fixes 2013-08-06 change. (Bug#17028)
3022
3023 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
3024
3025 * net/tramp.el (tramp-action-out-of-band): Read pending output.
3026 (tramp-call-process): Trace also DESTINATION.
3027
3028 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3029 Quote file names when they are local. Remove superfluous trace.
3030
3031 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
3032
3033 * newcomment.el (comment-beginning): If `comment-start-skip'
3034 doesn't match, move back one char and try again. (Bug#16971)
3035
3036 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3037 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
3038 Set `comment-start-skip' to a simpler value that doesn't try to
3039 check if the semicolon is escaped (this is handled by
3040 `syntax-ppss' now). (Bug#16971)
3041
3042 * progmodes/scheme.el (scheme-mode-variables): Same.
3043
3044 2014-03-16 Martin Rudalics <rudalics@gmx.at>
3045
3046 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
3047 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
3048 current (Bug#16816, Bug#17007).
3049 (with-current-buffer-window): New macro doing the same as
3050 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
3051 * help.el (help-print-return-message): Warn in doc-string to not
3052 use this in `with-help-window'.
3053 (describe-bindings-internal): Call `describe-buffer-bindings'
3054 from within help buffer. See Juanma's scenario in (Bug#16816).
3055 (with-help-window): Update doc-string.
3056 * dired.el (dired-mark-pop-up):
3057 * files.el (save-buffers-kill-emacs):
3058 * register.el (register-preview): Use `with-current-buffer-window'
3059 instead of `with-temp-buffer-window'.
3060
3061 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
3062
3063 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
3064 Implement inserting into current buffer, documented in their docstrings.
3065 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
3066 (rst-section-tree-point, rst-forward-section, rst-indent)
3067 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
3068 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
3069 (rst-font-lock-handle-adornment-pre-match-form)
3070 (rst-repeat-last-character): Reflow docstrings.
3071 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
3072 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
3073 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
3074 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
3075 Fix docstring typos.
3076 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
3077 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
3078 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
3079
3080 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
3081
3082 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
3083 for compatibility with other ports.
3084 (ns-initialize-window-system): Use it. It is set in term/common-win.el
3085 from the -xrm command line argument, but in the Nextstep port its value
3086 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
3087
3088 * progmodes/python.el (defconst, python-syntax-count-quotes)
3089 (python-indent-region, python-indent-shift-right)
3090 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
3091 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
3092 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
3093 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
3094 (inferior-python-mode, python-shell-make-comint, run-python-internal)
3095 (python-shell-buffer-substring, python-shell-send-buffer)
3096 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
3097 (python-completion-complete-at-point, python-fill-docstring-style)
3098 (python-eldoc-function, python-imenu-format-item-label)
3099 (python-imenu-format-parent-item-label)
3100 (python-imenu-format-parent-item-jump-label)
3101 (python-imenu--build-tree, python-imenu-create-index)
3102 (python-imenu-create-flat-index): Fix docstring typos.
3103 (python-indent-context, python-shell-prompt-regexp, run-python):
3104 Remove superfluous backslashes.
3105 (python-indent-line, python-nav-beginning-of-defun)
3106 (python-shell-get-buffer, python-shell-get-process)
3107 (python-info-current-defun, python-info-current-line-comment-p)
3108 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
3109 (python-indent-post-self-insert-function, python-shell-send-file)
3110 (python-shell-completion-get-completions)
3111 (python-shell-completion-complete-or-indent)
3112 (python-eldoc--get-doc-at-point): Reflow docstrings.
3113
3114 2014-03-14 Glenn Morris <rgm@gnu.org>
3115
3116 * emacs-lisp/package.el (package-menu-mode-map):
3117 Replace use of obsolete function alias. Tweak menu item text.
3118
3119 * info.el (Info-finder-find-node):
3120 Ignore the `emacs' metapackage. (Bug#10813)
3121
3122 * finder.el (finder-list-matches): Include unversioned packages
3123 in the result of a keyword search.
3124
3125 * finder.el (finder--builtins-descriptions): New constant.
3126 (finder-compile-keywords): Use finder--builtins-descriptions.
3127
3128 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
3129
3130 * simple.el (blink-matching-paren): Describe the new value,
3131 `jump', enabling the old behavior.
3132 (blink-matching-open): Use that value. (Bug#17008)
3133
3134 2014-03-14 Glenn Morris <rgm@gnu.org>
3135
3136 * finder.el (finder-no-scan-regexp): Add leim-list.
3137 (finder-compile-keywords):
3138 Don't skip files with same basename. (Bug#14010)
3139 * Makefile.in (setwins_finder): New, excluding leim.
3140 (finder-data): Use setwins_finder.
3141
3142 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
3143 (help-function-arglist, help-make-usage): Move from here...
3144 * help.el (help-split-fundoc, help-add-fundoc-usage)
3145 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
3146 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
3147
3148 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
3149
3150 * net/socks.el (socks, socks-override-functions)
3151 (socks-find-services-entry):
3152 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
3153 (hif-find-ifdef-block):
3154 * progmodes/modula2.el (m2-indent): Fix docstring typos.
3155
3156 * net/tls.el (tls-program): Reflow docstring.
3157
3158 * progmodes/pascal.el (pascal-mode-abbrev-table)
3159 (pascal-imenu-generic-expression, pascal-auto-endcomments)
3160 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
3161 (pascal-outline-mode): Fix docstring typos.
3162 (pascal-mode): Let define-derived-mode document mode hook.
3163 (pascal-uncomment-area): Reflow.
3164 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
3165
3166 * progmodes/opascal.el (opascal-compound-block-indent)
3167 (opascal-case-label-indent): Fix docstring typos.
3168 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
3169
3170 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
3171
3172 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3173 Fontify multiple adjacent negation chars. (Bug#17004)
3174
3175 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
3176
3177 * emacs-lisp/package.el (package--prepare-dependencies):
3178 Accept requirements without explicit version (bug#14941).
3179
3180 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3181
3182 * register.el (register-separator, copy-to-register): Doc fixes.
3183 (register-preview-default): Remove unnecessary call to concat.
3184
3185 * frameset.el (frameset-restore): When checking for a visible frame,
3186 use the action map instead of calling visible-frame-list.
3187
3188 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
3189
3190 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
3191
3192 2014-03-12 Martin Rudalics <rudalics@gmx.at>
3193
3194 * window.el (fit-frame-to-buffer): Get maximum width from
3195 display's width instead of height.
3196
3197 2014-03-12 Glenn Morris <rgm@gnu.org>
3198
3199 * desktop.el (desktop-restore-frames)
3200 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
3201 (desktop-restore-reuses-frames): Doc tweaks.
3202
3203 * electric.el (electric-indent-mode): Doc fix.
3204
3205 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3206
3207 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
3208 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
3209 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
3210 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
3211 (cvs-dired-use-hook): Fix docstring typos.
3212 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
3213 Doc fixes.
3214
3215 * vc/pcvs-defs.el (cvs-auto-remove-handled)
3216 (cvs-auto-remove-directories, cvs-default-ignore-marks)
3217 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
3218 (cvs-execute-single-dir): Fix docstring typos.
3219
3220 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
3221 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
3222
3223 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
3224
3225 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
3226 Fix docstring typos.
3227
3228 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3229
3230 * frameset.el (frameset--jump-to-register): Add autoload; it could be
3231 called from jump-to-register after unloading the frameset package.
3232
3233 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3234
3235 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
3236 (bug#16975). Deactivate the mark before setting it to nil.
3237 (activate-mark): Do nothing if region is already active.
3238
3239 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3240
3241 * frameset.el (frameset--target-display): Remove definition; declare.
3242 (frameset-save, frameset-restore): Let-bind frameset--target-display.
3243
3244 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3245
3246 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
3247 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
3248 when the advice is pending.
3249 (advice-remove): Remove this marker when not needed any more.
3250
3251 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3252
3253 * frameset.el: Separate options for reusing frames and cleaning up.
3254 (frameset--reuse-list): Remove definition; declare.
3255 (frameset--action-map): Declare.
3256 (frameset--find-frame-if): Doc fix.
3257 (frameset--restore-frame): Cache frame action.
3258 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
3259 how to clean up the frame list after restoring. Remove cleaning
3260 options from REUSE-FRAMES. Change all keyword values to symbols.
3261 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
3262
3263 * desktop.el (desktop-restore-forces-onscreen)
3264 (desktop-restore-reuses-frames): Use non-keyword values.
3265 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
3266
3267 2014-03-10 Glenn Morris <rgm@gnu.org>
3268
3269 * files.el (find-file): Doc fix: update info node name.
3270
3271 * emacs-lisp/advice.el (ad-add-advice, defadvice):
3272 Doc fix: remove references to deleted info nodes.
3273
3274 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
3275
3276 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3277 Do not add `nil' to the environment, when there's no remote `locale'.
3278 (tramp-find-inline-encoding): Check, that the remote host has
3279 installed perl, before sending scripts.
3280
3281 2014-03-10 Leo Liu <sdl.web@gmail.com>
3282
3283 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3284 Clear eldoc-last-message. (Bug#16920)
3285
3286 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3287
3288 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
3289 (bug#14430).
3290
3291 2014-03-09 Juri Linkov <juri@jurta.org>
3292
3293 * ansi-color.el (ansi-color-names-vector): Copy default colors
3294 from `xterm-standard-colors' that look well on the default white
3295 background (and also on the black background) to avoid illegible
3296 color combinations like yellow-on-white and white-on-white.
3297 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
3298
3299 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
3300
3301 * frameset.el (frameset-restore): When no frame is visible, do not
3302 generate a list of frames, just make visible the selected one.
3303
3304 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
3305
3306 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
3307 it only contains the repository root. (Bug#16897)
3308
3309 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
3310
3311 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
3312 only when `remote-file-name-inhibit-cache' is nil.
3313 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
3314
3315 2014-03-06 Martin Rudalics <rudalics@gmx.at>
3316
3317 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
3318 Fix doc-strings.
3319 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
3320 fit-frame-to-buffer variable. Fix doc-string.
3321 (fit-window-to-buffer): Set ONLY argument in call of
3322 fit-frame-to-buffer. Fix doc-string.
3323
3324 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
3325
3326 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
3327 (tramp-action-password): Clear password cache if needed.
3328 (tramp-read-passwd): Do not clear password cache.
3329
3330 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
3331 cache unless it is the first password request.
3332
3333 2014-03-06 Glenn Morris <rgm@gnu.org>
3334
3335 * simple.el (newline): Doc tweak.
3336
3337 * emacs-lisp/shadow.el (load-path-shadows-find):
3338 Ignore dir-locals. (Bug#12357)
3339
3340 2014-03-05 Glenn Morris <rgm@gnu.org>
3341
3342 * files.el (interpreter-mode-alist):
3343 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
3344
3345 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3346
3347 * frameset.el (frameset--initial-params): Filter out null entries.
3348
3349 2014-03-05 Martin Rudalics <rudalics@gmx.at>
3350
3351 * window.el (window-min-height, window-min-width):
3352 Rewrite doc-strings.
3353 (window-body-size): Add PIXELWISE argument to make it consistent
3354 with its callees.
3355
3356 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3357
3358 * finder.el (finder-mode-map, finder-mode-syntax-table):
3359 Revert part of 2014-02-28 change.
3360
3361 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
3362
3363 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
3364 (eww-setup-buffer): Clear next/prev/etc more reliably.
3365 (eww-textarea-map): [tab] doesn't work on tty.
3366 Reported by Mario Lang.
3367
3368 * net/shr.el (shr-map): Ditto.
3369
3370 2014-03-04 Glenn Morris <rgm@gnu.org>
3371
3372 * minibuffer.el (completion-hilit-commonality):
3373 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
3374
3375 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3376
3377 * hilit-chg.el (hilit-chg-unload-function): New function.
3378 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
3379 (hilit-chg-map-changes): Prefer cardinal number to digit.
3380 (hilit-chg-display-changes): Reflow docstring.
3381 (highlight-changes-rotate-faces): Remove superfluous backslash.
3382
3383 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
3384
3385 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
3386 `tramp-send-command-and-check'.
3387
3388 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3389
3390 * hexl.el (hexl-address-region, hexl-ascii-region)
3391 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
3392 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
3393 (hexl-forward-word, hexl-previous-line, hexl-next-line):
3394 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
3395 (hexl-mode): Doc fix.
3396 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
3397 (hexl-mode-ruler): Fix typos in docstrings.
3398
3399 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
3400 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
3401 Remove superfluous backslashes.
3402 (strokes-last-stroke, strokes-global-map, strokes-mode):
3403 Reflow docstrings.
3404 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
3405 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
3406 (strokes-distance-squared, strokes-global-set-stroke)
3407 (strokes-global-set-stroke-string): Doc fixes.
3408 (strokes-help): Fix typos; reflow docstring.
3409
3410 2014-03-04 Martin Rudalics <rudalics@gmx.at>
3411
3412 * window.el (window-in-direction): Fix doc-string.
3413
3414 2014-03-04 Glenn Morris <rgm@gnu.org>
3415
3416 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
3417 Explicit error if no grammar.
3418 (smie-config-save): Doc fix. Fix quote typo.
3419
3420 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
3421
3422 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
3423 electric-indent-mode-hook if we obey electric-indent-mode.
3424 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
3425 decide whether we obey electric-indent-mode.
3426 (c-change-set-fl-decl-start, c-extend-after-change-region):
3427 Silence warnings.
3428 (c-electric-indent-mode-hook): Assume we do want to obey
3429 electric-indent-mode.
3430
3431 * electric.el (electric-indent-mode-has-been-called): Remove.
3432 (electric-indent-mode): Fix accordingly.
3433
3434 * files.el (hack-local-variables): Mention file name in warning.
3435
3436 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
3437
3438 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
3439
3440 * bindings.el: Add comment describing why C-d binds to `delete-char'.
3441 * simple.el (delete-forward-char): Mark as interactive-only.
3442
3443 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
3444
3445 * icomplete.el (icomplete-completions):
3446 Follow-up to 2014-03-01 change.
3447
3448 * icomplete.el: Miscellaneous doc fixes.
3449 Use Icomplete everywhere instead of icomplete for consistency.
3450 (icomplete-max-delay-chars): Fix typo.
3451 (icomplete-mode): Use \[].
3452 (icomplete-tidy, icomplete-exhibit): Reflow.
3453 (icomplete-minibuffer-setup-hook, icomplete-completions):
3454 Remove superfluous backlashes.
3455
3456 * ido.el: Miscellaneous doc fixes.
3457 Use Ido everywhere instead of ido or `ido' for consistency.
3458 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
3459 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
3460 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
3461 (ido-separator): Extract obsolescence info from docstring and declare
3462 with make-obsolete-variable.
3463 (ido-minibuffer-setup-hook): Simplify example.
3464 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
3465 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
3466 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
3467 (ido-everywhere): Reflow docstring.
3468 (ido-toggle-vc): Doc fix.
3469 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
3470 of long list of keybindings.
3471
3472 2014-03-03 Glenn Morris <rgm@gnu.org>
3473
3474 * frame.el (display-pixel-height, display-pixel-width)
3475 (display-mm-dimensions-alist, display-mm-height)
3476 (display-mm-width): Doc tweaks.
3477
3478 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
3479
3480 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
3481 case of undo in region.
3482
3483 2014-03-02 Martin Rudalics <rudalics@gmx.at>
3484
3485 * window.el (fit-window-to-buffer): Fix argument in window-size
3486 call when window is horizontally combined.
3487
3488 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
3489
3490 * icomplete.el (icomplete-completions): Use string-width.
3491 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
3492
3493 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
3494
3495 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3496 Highlight regexp options. (Bug#16914)
3497
3498 2014-03-01 Martin Rudalics <rudalics@gmx.at>
3499
3500 * window.el (window--max-delta-1): Round down when calculating
3501 how many lines/columns we can get from a window.
3502
3503 2014-03-01 Glenn Morris <rgm@gnu.org>
3504
3505 * isearch.el (search-invisible): Doc fix.
3506
3507 * minibuffer.el (completion-hilit-commonality):
3508 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
3509 * comint.el (comint-dynamic-list-completions): Doc fix.
3510 * comint.el (comint-dynamic-list-completions):
3511 * filecache.el (file-cache-minibuffer-complete):
3512 * tempo.el (tempo-display-completions):
3513 * eshell/em-hist.el (eshell-list-history):
3514 Replace use of obsolete argument of display-completion-list.
3515
3516 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
3517
3518 * icomplete.el (icomplete-completions):
3519 Revert back to using "..." when ?… cannot be displayed.
3520
3521 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3522
3523 * finder.el (finder-unload-function): New function.
3524
3525 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3526
3527 * dframe.el (dframe-detach):
3528 * find-dired.el (find-dired, find-name-dired):
3529 * finder.el (finder-mode-map, finder-mode-syntax-table)
3530 (finder-headmark, finder-select, finder-mouse-select):
3531 Fix docstring typos.
3532
3533 2014-02-28 Martin Rudalics <rudalics@gmx.at>
3534
3535 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
3536 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
3537 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3538 Fix doc-string based on a suggestion by Nicolas Richard
3539 <theonewiththeevillook@yahoo.fr>.
3540 * help.el (with-help-window): Fix doc-string.
3541
3542 2014-02-28 Ivan Kanis <ivan@kanis.fr>
3543
3544 * net/shr.el (shr-image-animate): New option.
3545 (shr-put-image): Respect shr-image-animate.
3546
3547 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
3548
3549 * net/tramp-adb.el (tramp-adb-parse-device-names):
3550 Use `accept-process-output'.
3551 (tramp-adb-handle-file-truename): Cache the localname only.
3552 (tramp-adb-handle-make-directory)
3553 (tramp-adb-handle-delete-directory): Flush file properties correctly.
3554 (tramp-adb-handle-set-file-modes): Do not raise an error when file
3555 modes cannot be changed.
3556
3557 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3558 file properties of symlinks.
3559
3560 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
3561
3562 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3563 required/optional fields to match development biblatex. (Bug#16781)
3564
3565 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
3566
3567 * saveplace.el (toggle-save-place):
3568 Fix argument handling. (Bug#16673)
3569
3570 2014-02-28 Glenn Morris <rgm@gnu.org>
3571
3572 * minibuffer.el (completions-first-difference)
3573 (completions-common-part, completion-hilit-commonality): Doc fixes.
3574
3575 2014-02-28 Karl Berry <karl@gnu.org>
3576
3577 * info.el (Info-mode-map): Add H for describe-mode,
3578 to synchronize with standalone Info.
3579
3580 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
3581
3582 * progmodes/sql.el (sql-interactive-mode):
3583 Avoid setting global comint-input-ring-separator. (Bug#16814)
3584
3585 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3586
3587 * net/dbus.el (dbus--init-bus): Declare function.
3588 (dbus-path-local, dbus-interface-local): New defconst.
3589 (dbus-init-bus): Use them.
3590 (dbus-return-values-table): Extend doc.
3591 (dbus-handle-bus-disconnect): Extend error message.
3592
3593 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
3594
3595 * subr.el (y-or-n-p): Fix double space issue in message.
3596
3597 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3598
3599 * net/tramp.el (tramp-call-process): Improve trace message.
3600 (tramp-handle-insert-file-contents): Trace error case.
3601
3602 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3603 <insert-directory>: Use `tramp-handle-insert-directory'.
3604 (tramp-adb-handle-insert-directory): Remove function.
3605 (tramp-adb-send-command-and-check): New defun, replacing
3606 `tramp-adb-command-exit-status'. Change all callees.
3607 (tramp-adb-handle-file-attributes)
3608 (tramp-adb-handle-directory-files-and-attributes): Use it.
3609 (tramp-adb-ls-output-name-less-p):
3610 Use `directory-listing-before-filename-regexp'.
3611 (tramp-adb-handle-delete-directory): Flush also file properties of
3612 the truename of directory.
3613 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3614 (tramp-adb-handle-file-local-copy): Make the local copy readable.
3615 (tramp-adb-handle-write-region): Implement APPEND.
3616 (tramp-adb-handle-rename-file): Make it more robust. Flush file
3617 properties correctly.
3618 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3619 variables. Check for connected devices only when needed.
3620
3621 2014-02-27 Glenn Morris <rgm@gnu.org>
3622
3623 * minibuffer.el (completion-table-dynamic)
3624 (completion-table-with-cache): Doc fixes.
3625
3626 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3627 (completing-read-multiple): Doc fixes.
3628
3629 2014-02-27 Daniel Colascione <dancol@dancol.org>
3630
3631 * minibuffer.el (completion--nth-completion): Fix indentation.
3632
3633 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3634 explicit tramp path is empty.
3635
3636 2014-02-27 Glenn Morris <rgm@gnu.org>
3637
3638 * emacs-lisp/crm.el (completing-read-multiple):
3639 Empower help-enable-auto-load.
3640
3641 2014-02-26 Glenn Morris <rgm@gnu.org>
3642
3643 * startup.el (command-line): Don't init the tty in daemon mode.
3644
3645 Avoid calling tty-setup-hook twice, eg if a term file
3646 explicitly calls tty-run-terminal-initialization. (Bug#16859)
3647 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3648 (tty-create-frame-with-faces): Use it.
3649 * startup.el (command-line): Pass run-hook argument
3650 to tty-run-terminal-initialization.
3651
3652 * dired.el (dired-restore-desktop-buffer): Demote errors;
3653 eg in case a glob match fails. (Bug#16884)
3654
3655 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
3656
3657 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3658 error from `read-from-string'. (Bug#16850)
3659
3660 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3661 result of `completing-read' in the interactive form. (Bug#16854)
3662
3663 2014-02-25 Glenn Morris <rgm@gnu.org>
3664
3665 * image.el (image-animate, image-animate-timeout):
3666 Stop animating images in dead buffers. (Bug#16878)
3667
3668 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
3669
3670 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3671 Doc fixes.
3672 * startup.el (term-setup-hook): Doc fix. Make obsolete.
3673 * term/sun.el (sun-raw-prefix-hooks):
3674 Use tty-setup-hook instead of term-setup-hook.
3675 (terminal-init-sun): Construct message from bytecomp plist.
3676 * term/wyse50.el (enable-arrow-keys): Doc fix.
3677
3678 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3679
3680 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3681 Fix docstring typos.
3682
3683 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
3684
3685 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3686
3687 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3688
3689 * minibuffer.el (completion--try-word-completion):
3690 Fix error when completing M-x commands (bug#16808).
3691
3692 2014-02-24 Leo Liu <sdl.web@gmail.com>
3693
3694 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3695
3696 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3697
3698 * apropos.el (apropos-print): Avoid formatting error when
3699 apropos-do-all and apropos-compact-layout are both t.
3700
3701 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3702
3703 * apropos.el (apropos-property, apropos-all-words-regexp)
3704 (apropos-true-hit, apropos-variable, apropos-print):
3705 Fix docstring typos, and remove obsolete comment.
3706
3707 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3708
3709 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3710 Preserve trailing "/". (Bug#16851)
3711
3712 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3713
3714 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3715 after `=>' (bug#16811).
3716 (ruby-smie-rules): Handle the inconsistent second element of the
3717 list returned by `smie-indent--parent'.
3718 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3719 method call.
3720
3721 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3722
3723 * elec-pair.el (electric-pair-text-syntax-table)
3724 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3725 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3726 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3727 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3728
3729 2014-02-22 Glenn Morris <rgm@gnu.org>
3730
3731 * imenu.el (imenu--generic-function): Doc fix.
3732
3733 * register.el (frame-configuration-to-register): Make obsolete.
3734
3735 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
3736
3737 * desktop.el (desktop-save-buffer-p): Do not fail when
3738 desktop-files-not-to-save is nil. Return t for true result
3739 as the doc says.
3740
3741 2014-02-22 Daniel Colascione <dancol@dancol.org>
3742
3743 * net/secrets.el (secrets-create-item, secrets-search-items):
3744 Check that attribute values are strings, avoiding the construction
3745 of invalid dbus messages.
3746
3747 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3748
3749 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3750 defun-declarations-alist.
3751
3752 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3753
3754 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3755 (bug#16829).
3756
3757 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3758
3759 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3760 (whitespace-newline, whitespace-trailing, whitespace-line)
3761 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3762 (whitespace-space-after-tab): Fix typo in docstrings.
3763
3764 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3765
3766 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3767
3768 * electric.el (electric-indent-functions-without-reindent):
3769 Add `yaml-indent-line'.
3770
3771 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3772
3773 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3774 It has done nothing for years; should be removed after the release.
3775
3776 * simple.el (choose-completion): Fix docstring typo.
3777 (read-quoted-char-radix): Remove unneeded * in docstring.
3778 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3779 Don't escape parentheses unnecessarily in docstrings.
3780
3781 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3782
3783 Fix handling of window-min-height/-width (Bug#16738).
3784 * window.el (window--dump-window, window--dump-frame):
3785 New functions.
3786 (window--min-size-1): Account for window dividers.
3787 When window-resize-pixelwise is nil, delay rounding till after the
3788 sum of the window components has been calculated.
3789 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3790 nil make sure at least one text line and two text columns remain
3791 fully visible.
3792 (window-resize): Signal an error when window-resize-apply fails.
3793 (window--resize-child-windows): Fix calculation of by how many
3794 pixels a window can still be shrunk via window-new-normal.
3795 (adjust-window-trailing-edge): Call window--resizable with
3796 correct TRAIL argument.
3797
3798 (with-temp-buffer-window): Don't evaluate BODY within
3799 with-current-buffer (Bug#16816).
3800
3801 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3802
3803 * net/tramp.el (tramp-check-cached-permissions):
3804 Call `file-attributes' with `suffix' being a symbol but a string.
3805
3806 2014-02-21 Daniel Colascione <dancol@dancol.org>
3807
3808 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3809 (dbus-init-bus): New function: call into dbus-init-bus-1
3810 and installs a handler for the disconnect signal.
3811 (dbus-call-method): Rewrite to look for result in cons.
3812 (dbus-call-method-handler): Store result in cons.
3813 (dbus-check-event): Recognize events with nil sender as valid.
3814 (dbus-handle-bus-disconnect): New function. React to bus
3815 disconnection signal by synthesizing dbus error for each
3816 pending synchronous or asynchronous call.
3817 (dbus-notice-synchronous-call-errors): New function.
3818 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3819 is true, not all the time.
3820
3821 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3822
3823 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3824 Remove obsolescence declarations, these variables do not exist anymore.
3825
3826 * savehist.el (savehist-save-minibuffer-history)
3827 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3828 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3829 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3830 mostly, refer to "Savehist mode" when talking about the mode,
3831 and not the function.
3832
3833 * saveplace.el (save-place): Remove redundant info in docstring.
3834 (save-place-forget-unreadable-files, toggle-save-place)
3835 (save-place-forget-unreadable-files, save-place-dired-hook):
3836 Fix typos and remove unneeded backslashes.
3837
3838 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3839
3840 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3841 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3842
3843 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3844 <insert-directory>: Use `tramp-handle-insert-directory'.
3845 (tramp-gvfs-handle-insert-directory): Remove function.
3846
3847 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3848 Call `tramp-handle-insert-directory'.
3849
3850 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3851
3852 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3853 before the start of buffer/region (bug#16799).
3854
3855 2014-02-20 Glenn Morris <rgm@gnu.org>
3856
3857 * isearch.el (search-invisible): Doc fix.
3858
3859 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3860
3861 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3862 (bug#16657).
3863
3864 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3865
3866 * frameset.el (frameset-restore): Delay removing an old frame's
3867 duplicate id until the new frame has been correctly created.
3868
3869 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3870
3871 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3872 (tramp-check-cached-permissions): Call `file-attributes' if the
3873 cache is empty.
3874
3875 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3876 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3877
3878 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3879 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3880 (tramp-gvfs-maybe-open-connection): Set always connection
3881 properties, even if target is mounted already.
3882
3883 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3884 Set tramp-autoload cookie.
3885 (tramp-get-remote-touch): New defun.
3886 (tramp-sh-handle-set-file-times): Use it.
3887 (tramp-sh-handle-directory-files-and-attributes):
3888 Use `tramp-handle-directory-files-and-attributes' if neither stat
3889 nor perl are available on the remote host.
3890
3891 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3892 "/". Write long listing only when "l" belongs to the switches.
3893
3894 * net/trampver.el: Update release number.
3895
3896 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3897
3898 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3899
3900 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3901
3902 * window.el (window-state-put): Allow WINDOW to refer to an
3903 internal window (Bug#16793).
3904
3905 2014-02-19 Glenn Morris <rgm@gnu.org>
3906
3907 * textmodes/remember.el: Move provide statement to end.
3908 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3909 (remember-notes): Doc fixes.
3910
3911 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3912
3913 * delsel.el (delete-char): Restore incorrectly erased property
3914 (bug#16795).
3915
3916 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3917
3918 * frameset.el (frameset--restore-frame): When a frame is being reused
3919 and its root window is not alive, delete all the frame's windows before
3920 restoring the window state. This works around the issue in bug#16793.
3921
3922 2014-02-18 Glenn Morris <rgm@gnu.org>
3923
3924 * textmodes/remember.el (remember-data-directory)
3925 (remember-directory-file-name-format, remember-store-in-files)
3926 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3927 (remember-notes-save-and-bury-buffer)
3928 (remember-notes--kill-buffer-query): Doc fixes.
3929
3930 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3931
3932 2014-02-17 Alan Mackenzie <acm@muc.de>
3933
3934 Connect electric-indent-mode up with CC Mode. Bug #15478.
3935 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3936 to electric-indent-{,local-}-mode.
3937 (c-basic-common-init): Set electric-indent-inhibit.
3938 Initialise c-electric-flag from electric-indent-mode.
3939 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3940 New hook functions which propagate electric-indent-mode to CC mode.
3941
3942 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3943 hit, toggle electric-indent-local-mode.
3944
3945 * electric.el (electric-indent-mode-has-been-called):
3946 New variable.
3947
3948 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3949
3950 * frameset.el (frameset-cfg-id): New function.
3951 (frameset--reuse-frame, frameset-restore): Use it.
3952 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3953
3954 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3955
3956 * ido.el (ido-file-internal): Remove unused var `d'.
3957 Use \` for to match BoS. Fit within 80n columns.
3958
3959 2014-02-17 Daniel Colascione <dancol@dancol.org>
3960
3961 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3962 dbus-call-method check for completion using a busy-wait loop with
3963 gradual backoff.
3964
3965 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3966
3967 Sync with Tramp 2.2.9.
3968
3969 * net/trampver.el: Update release number.
3970
3971 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3972
3973 * ido.el (ido-file-internal): Don't add the name of an existing
3974 directory twice. (Bug#16747)
3975
3976 2014-02-16 Glenn Morris <rgm@gnu.org>
3977
3978 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3979 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3980
3981 2014-02-15 Michael R. Mauger <michael@mauger.com>
3982
3983 * progmodes/sql.el: Version 3.4
3984 (sql-oracle-options): New default value ("-L").
3985 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3986 (sql-placeholders-filter): Correct placeholder pattern.
3987 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3988 (sql-login-delay): New variable.
3989 (sql-product-interactive): Use it.
3990
3991 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3992
3993 * frameset.el (frameset--jump-to-register): Check that buffer is live
3994 (bug#16749).
3995
3996 2014-02-15 Glenn Morris <rgm@gnu.org>
3997
3998 * info.el (info-initialize): Revert 2014-01-10 change.
3999
4000 2014-02-14 Glenn Morris <rgm@gnu.org>
4001
4002 * replace.el (map-query-replace-regexp)
4003 (read-regexp-defaults-function, read-regexp): Doc fixes.
4004
4005 * dired.el (dired-read-regexp):
4006 * faces.el (list-faces-display):
4007 * misearch.el (multi-isearch-read-matching-buffers)
4008 (multi-isearch-read-matching-files):
4009 * play/cookie1.el (cookie-apropos):
4010 * progmodes/grep.el (grep-read-regexp): Doc fixes.
4011
4012 * textmodes/remember.el (remember): Use frameset-to-register
4013 rather than frame-configuration-to-register.
4014
4015 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
4016
4017 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
4018 incorrect keybinding.
4019
4020 2014-02-13 Daniel Colascione <dancol@dancol.org>
4021
4022 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
4023 when adding overlays so that line numbers from compiler match line
4024 numbers we use.
4025
4026 2014-02-13 Glenn Morris <rgm@gnu.org>
4027
4028 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
4029
4030 * jit-lock.el (jit-lock-mode): Doc fix.
4031
4032 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
4033
4034 * apropos.el (apropos-read-pattern): When the user passes an empty
4035 string, give a more helpful error message than "Wrong type
4036 argument: stringp, nil".
4037
4038 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
4039
4040 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
4041
4042 2014-02-13 Glenn Morris <rgm@gnu.org>
4043
4044 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
4045
4046 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
4047
4048 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
4049 shift-select commands.
4050
4051 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
4052
4053 * progmodes/js.el (js-indent-line): Don't widen.
4054 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
4055
4056 2014-02-12 Glenn Morris <rgm@gnu.org>
4057
4058 * icomplete.el (icomplete): Add info-link to defgroup.
4059 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
4060 (icomplete-minibuffer-map, icomplete-mode)
4061 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
4062
4063 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
4064 (package-menu-filter): Rename from package-menu-filter-interactive.
4065 Doc fix.
4066
4067 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
4068
4069 * frameset.el (frameset--jump-to-register): Select the required
4070 window and buffer before restoring position (bug#16696).
4071
4072 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
4073
4074 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
4075
4076 2014-02-10 Glenn Morris <rgm@gnu.org>
4077
4078 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
4079
4080 2014-02-10 Eli Zaretskii <eliz@gnu.org>
4081
4082 * w32-common-fns.el (x-get-selection): Doc fix.
4083 * select.el (x-get-selection): Doc fix. (Bug#15109)
4084
4085 * face-remap.el (face-remap-add-relative)
4086 (face-remap-remove-relative, face-remap-reset-base)
4087 (face-remap-set-base): Call force-mode-line-update to redisplay
4088 the current buffer due to potential change in faces. (Bug#16709)
4089
4090 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
4091
4092 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
4093 script more robustly.
4094
4095 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4096
4097 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
4098
4099 * simple.el (choose-completion): Doc fix (bug#14160).
4100
4101 * subr.el (event-start): Say what a nil EVENT value means.
4102
4103 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
4104 (bug#14197).
4105
4106 * progmodes/grep.el (find-program): Doc fix (bug#14289).
4107
4108 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
4109
4110 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
4111
4112 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
4113 predicate function (bug#15455).
4114
4115 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
4116
4117 * ielm.el (inferior-emacs-lisp-mode): Instead of
4118 `comment-use-global-state', set `comment-use-syntax'.
4119
4120 2014-02-10 Glenn Morris <rgm@gnu.org>
4121
4122 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
4123
4124 2014-02-09 Alan Mackenzie <acm@muc.de>
4125
4126 Fix c-invalidate-state-cache on narrowed buffers.
4127 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
4128 Widen when setting and clearing the CPP delimiter properties.
4129
4130 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
4131
4132 * help.el (describe-bindings): Doc fix (bug#9888).
4133
4134 * files.el (save-buffer): Use ARG as the parameter name for
4135 consistency (bug#10346).
4136 (save-buffer): Clarify the 0 argument (bug#10346).
4137
4138 * cus-edit.el (customize-apropos): Fix error string.
4139 (custom-buffer-create): Doc fix (bug#11122).
4140 (custom-sort-items): Doc fix (bug#11121).
4141
4142 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
4143
4144 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
4145 (icomplete-simple-completing-p): Mention the previous variable.
4146
4147 * font-lock.el (font-lock-value-in-major-mode): Clarify the
4148 meaning of the parameter (bug#12282).
4149
4150 * files.el (find-file-noselect): Clarify prompt when changing
4151 readedness (bug#13261).
4152 (locate-file): Suffixes aren't returned, so don't say that they
4153 are (bug#12674).
4154 (backup-inhibited): Doc clarification (bug#12525).
4155
4156 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
4157 before we actually start to delete things (bug#16331).
4158
4159 * subr.el (event-start): Doc fix (bug#14228).
4160 (event-end): Ditto.
4161
4162 2014-02-09 Glenn Morris <rgm@gnu.org>
4163
4164 * emacs-lisp/warnings.el (lwarn):
4165 Empower help-enable-auto-load. (Bug#15940)
4166
4167 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4168
4169 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
4170 (Bug#16690)
4171
4172 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
4173
4174 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4175 Insert output at end of buffer. (Bug#16120)
4176
4177 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4178
4179 * simple.el (choose-completion-string-functions): Document new
4180 calling convention (bug#14153).
4181 (execute-extended-command): Clarify doc string (bug#13373).
4182
4183 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
4184
4185 * find-dired.el (find-name-dired): Doc fix (bug#14290).
4186 (find-grep-dired): Doc fix (bug#14288).
4187
4188 2014-02-08 Juri Linkov <juri@jurta.org>
4189
4190 * isearch.el (isearch-quote-char): Check character validity
4191 like in `quoted-insert' (bug#16677).
4192
4193 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4194
4195 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
4196
4197 * isearch.el (isearch-hide-immediately): Doc clarification
4198 (bug#14723).
4199
4200 * simple.el (line-move): Document utility function used many
4201 places in the Emacs sources (bug#14843).
4202
4203 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
4204 (dired-prev-marked-file): Doc fix (bug#14855).
4205 (dired-up-directory): Doc fix (bug#14848).
4206
4207 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
4208
4209 * files.el (file-relative-name): Doc fix (bug#15159).
4210
4211 * fringe.el (fringe-styles): Doc fix (bug#15239).
4212
4213 * isearch.el (isearch-filter-predicate): Documentation typo fix
4214 (bug#15474).
4215
4216 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
4217
4218 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
4219
4220 * replace.el (replace-match-maybe-edit): Doc clarification
4221 (bug#15632).
4222
4223 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
4224
4225 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
4226
4227 2014-02-08 Glenn Morris <rgm@gnu.org>
4228
4229 * help-fns.el (describe-variable):
4230 Check {file,dir}-local-variables-alist, and buffer-file-name,
4231 in the correct buffer.
4232
4233 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
4234
4235 * help-fns.el (describe-variable): Fix the case where
4236 a value is directory-local with no dir-locals file. (Bug#16635)
4237
4238 2014-02-08 Glenn Morris <rgm@gnu.org>
4239
4240 * abbrev.el (edit-abbrevs-mode):
4241 Derive from fundamental-mode. (Bug#16682)
4242
4243 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
4244
4245 * simple.el (quoted-insert): Check character validity (bug#16677).
4246
4247 2014-02-07 Juri Linkov <juri@jurta.org>
4248
4249 * desktop.el (desktop-read): Claim the lock when the owner is not
4250 the current process. (Bug#16157)
4251
4252 2014-02-07 Juri Linkov <juri@jurta.org>
4253
4254 * desktop.el (desktop-buffers-not-to-save): Change default from nil
4255 to "\\` ". (Bug#16651)
4256
4257 2014-02-07 Juri Linkov <juri@jurta.org>
4258
4259 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
4260 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
4261 (desktop-auto-save-cancel-timer): New function with some code from
4262 `desktop-auto-save-set-timer'.
4263 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
4264 Instead of setting `desktop-save-mode' to nil, call
4265 `desktop-save-mode' with arg 0. (Bug#16630)
4266
4267 2014-02-07 Glenn Morris <rgm@gnu.org>
4268
4269 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
4270 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
4271 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
4272
4273 * obsolete/iswitchb.el: Move to obsolete/.
4274 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
4275 since obsolete/ is not scanned for autoloads.
4276 * emacs-lisp/authors.el (authors-valid-file-names):
4277 Add iswitchb.el.
4278
4279 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
4280 Disable now non-functional find-file-hook.
4281
4282 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
4283
4284 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
4285 instead of ";" in order to avoid additional prompts. Let heredoc
4286 scripts read from tty. (Bug#16582)
4287 (tramp-send-command): No special handling of heredocs, it isn't
4288 necessary anymore.
4289
4290 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
4291
4292 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
4293 with a space (bug#16664). Limit the symbols considered to the ones
4294 that are bound or fbound (bug#16646).
4295
4296 2014-02-06 Glenn Morris <rgm@gnu.org>
4297
4298 * epa.el (epa-mail-aliases): Doc fix.
4299
4300 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
4301
4302 * emacs-lisp/lisp.el (lisp-completion-at-point):
4303 Use `completion-table-merge' instead of `completion-table-in-turn'
4304 (bug#16604).
4305
4306 * minibuffer.el (completion-table-merge): New function.
4307
4308 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
4309
4310 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
4311 (tramp-sh-handle-set-file-acl)
4312 (tramp-sh-handle-start-file-process)
4313 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
4314 (tramp-find-executable, tramp-send-command): Use it.
4315
4316 2014-02-05 Glenn Morris <rgm@gnu.org>
4317
4318 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
4319
4320 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
4321
4322 * progmodes/python.el (python-shell-send-string)
4323 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
4324
4325 2014-02-04 Anders Lindgren <andlind@gmail.com>
4326
4327 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
4328 the names (bug#16620).
4329
4330 2014-02-03 Martin Rudalics <rudalics@gmx.at>
4331
4332 * faces.el (window-divider): New default value. Rewrite doc-string.
4333 (window-divider-first-pixel, window-divider-last-pixel): New faces.
4334
4335 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
4336
4337 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
4338 `protected' and `public' can also be called without arguments.
4339
4340 2014-02-03 Glenn Morris <rgm@gnu.org>
4341
4342 * register.el (window-configuration-to-register)
4343 (frame-configuration-to-register): Unadvertise unused argument.
4344 * frameset.el (frameset-to-register): Remove unused argument.
4345
4346 * frameset.el (frameset-to-register):
4347 * kmacro.el (kmacro-to-register):
4348 * register.el (increment-register):
4349 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
4350 (calc-append-to-register, calc-prepend-to-register):
4351 * play/gametree.el (gametree-layout-to-register)
4352 (gametree-apply-register-layout):
4353 * textmodes/picture.el (picture-clear-rectangle-to-register)
4354 (picture-yank-rectangle-from-register):
4355 * vc/emerge.el (emerge-combine-versions-register):
4356 Use register-read-with-preview to read registers.
4357
4358 2014-02-03 João Távora <joaotavora@gmail.com>
4359
4360 * elec-pair.el (electric-pair-backward-delete-char): Don't error
4361 when at beginning of (possibly narrowed) buffer.
4362
4363 2014-02-02 Daniel Colascione <dancol@dancol.org>
4364
4365 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
4366 Also try to display local help from just before point.
4367
4368 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
4369
4370 c-parse-state. Don't "append-lower-brace-pair" in certain
4371 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
4372 recognised as a comment.
4373
4374 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
4375 as well as normal comment starter.
4376 (c-parse-state-get-strategy): Extra return possibility
4377 'back-and-forward.
4378 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
4379 return value list to indicate replacement of a brace-pair cons
4380 with its car.
4381 (c-parse-state-1): With 'back-and-forward, only call
4382 c-append-lower-brace-pair-to state-cache when cons-separated.
4383
4384 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
4385
4386 * term/ns-win.el (ns-suspend-error): New function.
4387 (ns-initialize-window-system): Add ns-suspend-error to
4388 suspend-hook (Bug#16612).
4389
4390 2014-02-02 Daniel Colascione <dancol@dancol.org>
4391
4392 * progmodes/cc-defs.el (c-find-assignment-for-mode):
4393 Make loading cc-mode silent.
4394
4395 2014-02-02 Daniel Colascione <dancol@dancol.org>
4396
4397 * comint.el (comint-prompt-read-only): Change doc to suggest
4398 remap keybinding.
4399
4400 2014-02-02 Glenn Morris <rgm@gnu.org>
4401
4402 * register.el (register-read-with-preview, point-to-register)
4403 (window-configuration-to-register, frame-configuration-to-register)
4404 (jump-to-register, number-to-register, view-register, insert-register)
4405 (copy-to-register, append-to-register, prepend-to-register)
4406 (copy-rectangle-to-register): Doc fixes.
4407
4408 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4409
4410 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
4411 * emacs-lisp/find-func.el (find-function-C-source): Idem.
4412 * emacs-lisp/nadvice.el (advice--cd*r): New function.
4413 * help-fns.el (describe-function-1): Use it.
4414
4415 2014-02-02 Glenn Morris <rgm@gnu.org>
4416
4417 * register.el (register-preview-default): New function,
4418 split from register-preview.
4419 (register-preview-function): Rename from register-preview-functions,
4420 make it not a hook.
4421 (register-preview): Use register-preview-function.
4422 (register-read-with-preview): Error on non-character event. (Bug#16595)
4423
4424 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
4425
4426 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
4427 `:' before binary operators (bug#16609). Don't check for `:'
4428 before `[' and `(', or their syntax status. A percent literal
4429 can't end with either.
4430 (ruby-font-lock-keywords): For built-ins that require arguments,
4431 check that they're followed by something that looks like argument
4432 (bug#16610).
4433
4434 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
4435
4436 * subr.el (butlast): Document what an omitted N means (bug#13437).
4437 (nbutlast): Ditto.
4438
4439 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
4440
4441 * net/shr.el (shr-generic): Make into a defsubst to make the stack
4442 depth shallower (bug#16587).
4443 (shr-tag-svg): Respect `shr-inhibit-images'.
4444 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
4445
4446 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
4447
4448 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
4449 (ruby-smie-grammar): Make "." right-associative. Make its priority
4450 lower than the ternary and all binary operators.
4451 (ruby-smie-rules): Indent "(" relative to the first non-"."
4452 parent, or the first "." parent at indentation.
4453 Use `ruby-align-chained-calls' for indentation of "." tokens.
4454 (Bug#16593)
4455
4456 2014-01-31 Juri Linkov <juri@jurta.org>
4457
4458 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
4459 from `make-hash-table'.
4460
4461 * textmodes/ispell.el (ispell-init-process): Change message format
4462 to be consistent with other messages.
4463
4464 2014-01-31 Glenn Morris <rgm@gnu.org>
4465
4466 * delsel.el (delete-selection-mode): Doc fix.
4467
4468 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
4469 (trace-function-background): Doc fixes.
4470
4471 * ido.el (ido-use-virtual-buffers): Doc fix.
4472 Reset :version, since the default value has not changed.
4473
4474 * register.el (register-preview-delay, register-read-with-preview):
4475 Doc fixes.
4476
4477 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
4478 do not mess with mail-buffer position (fixes 2009-11-03 change).
4479 * progmodes/cc-mode.el (c-submit-bug-report):
4480 Check auto-fill-mode is bound. (Bug#16592)
4481
4482 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
4483
4484 * startup.el (fancy-splash-image-file): New function,
4485 split from fancy-splash-head.
4486 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
4487 so that we are both using the same image. (Bug#16574)
4488
4489 2014-01-30 Glenn Morris <rgm@gnu.org>
4490
4491 * simple.el (eval-expression): Doc fix.
4492
4493 * hexl.el (hexl-mode-hook):
4494 * ielm.el (ielm-mode-hook):
4495 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
4496 (lisp-interaction-mode-hook):
4497 * progmodes/cfengine.el (cfengine3-documentation-function):
4498 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
4499
4500 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4501
4502 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
4503 is a symbol (bug#16584).
4504
4505 2014-01-30 Glenn Morris <rgm@gnu.org>
4506
4507 * help.el (help-for-help-internal): Add "P" to text.
4508
4509 2014-01-29 Glenn Morris <rgm@gnu.org>
4510
4511 * simple.el (just-one-space, cycle-spacing): Doc fixes.
4512
4513 2014-01-28 Martin Rudalics <rudalics@gmx.at>
4514
4515 * window.el (fit-frame-to-buffer): Fix calculations for margins and
4516 height constraints.
4517
4518 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
4519
4520 * progmodes/hideif.el: Extend to full CPP expression syntax.
4521 (hif-token-alist): Add missing tokens.
4522 (hif-token-regexp): Add support for float/octal/hex immediates.
4523 (hif-string-literal-regexp): New const.
4524 (hif-tokenize): Recognize strings and float/octal/hex immediates.
4525 (hif-exprlist): New function.
4526 (hif-parse-if-exp): Use it.
4527 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
4528 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
4529 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
4530 (hif-logxor, hif-comma): New functions.
4531
4532 2014-01-28 Glenn Morris <rgm@gnu.org>
4533
4534 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
4535
4536 * indent.el (tab-stop-list): Doc fix. Add :version.
4537
4538 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
4539 (cvs-append-to-ignore): Add compatibility alias.
4540
4541 2014-01-27 Glenn Morris <rgm@gnu.org>
4542
4543 * dired.el (dired-hide-details-mode): Don't autoload it,
4544 since it cannot be used outside Dired buffers anyway.
4545
4546 * emulation/cua-base.el (cua-mode): Doc fix.
4547
4548 * dired.el (dired-hide-details-hide-symlink-targets)
4549 (dired-hide-details-hide-information-lines)
4550 (dired-hide-details-mode): Doc fixes.
4551
4552 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
4553 * strokes.el (strokes-file): Doc fix. Bump :version.
4554 (strokes-help): Doc fix.
4555 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
4556 * emulation/viper.el (viper): Doc fix for custom group.
4557 (top-level): Remove oh-so-no-longer-relevant text about vip.
4558 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4559
4560 * ido.el (ido-save-directory-list-file):
4561 * saveplace.el (save-place-file):
4562 * calendar/timeclock.el (timeclock-file):
4563 * net/quickurl.el (quickurl-url-file):
4564 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4565 * progmodes/idlwave.el (idlwave-config-directory):
4566 * textmodes/remember.el (remember-data-file):
4567 Bump :version.
4568
4569 2014-01-26 Glenn Morris <rgm@gnu.org>
4570
4571 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4572 Doc fix. Make obsolete.
4573 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4574
4575 * sort.el (delete-duplicate-lines): Doc fix.
4576
4577 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4578
4579 * progmodes/ada-mode.el (ada):
4580 * woman.el (woman): Link to info manual and Commentary section.
4581
4582 * progmodes/flymake.el (flymake):
4583 * nxml/nxml-mode.el (nxml):
4584 * net/eww.el (eww):
4585 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4586 * htmlfontify.el (htmlfontify):
4587 * ses.el (ses):
4588 * epa.el (epa):
4589 * ido.el (ido): Link to info manual.
4590
4591 2014-01-25 Leo Liu <sdl.web@gmail.com>
4592
4593 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4594
4595 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
4596
4597 * net/shr.el (shr-tag-img): Prefer the title over the alt text
4598 (bug#16537).
4599
4600 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
4601
4602 * net/eww.el (eww-download-callback):
4603 Fix reference to eww-download-directory.
4604
4605 * emacs-lisp/bytecomp.el (byte-compile-file):
4606 Remove unused local variable `file-name'.
4607
4608 2014-01-24 Glenn Morris <rgm@gnu.org>
4609
4610 * woman.el (woman-default-faces, woman-monochrome-faces):
4611 Fix obsolescence specification.
4612
4613 * subr.el (with-demoted-errors): Doc fix.
4614
4615 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
4616
4617 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4618 (cl--macroexp-fboundp): New function.
4619 (cl--make-type-test): Use it.
4620
4621 2014-01-23 Glenn Morris <rgm@gnu.org>
4622
4623 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4624 * simple.el (eval-expression): Doc fixes.
4625
4626 2014-01-22 Glenn Morris <rgm@gnu.org>
4627
4628 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4629
4630 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
4631
4632 * emacs-lisp/package.el: Write files silently.
4633 (package-autoload-ensure-default-file, package--write-file-no-coding)
4634 (package-generate-description-file, package--download-one-archive)
4635 (package-install-from-archive): Tell `write-region' to stay quiet.
4636 (package-menu-mode, package-menu--print-info): Omit the Archive column
4637 if there's only one archive.
4638 (package-all-keywords, package--has-keyword-p): Remove dead code.
4639
4640 2014-01-22 Glenn Morris <rgm@gnu.org>
4641
4642 * version.el (emacs-bzr-version-bzr): Fix typo.
4643
4644 * version.el (emacs-repository-get-version):
4645 Check either .bzr or .git, but not both.
4646 Make the git case actually use the DIR argument, and return nil
4647 rather than the empty string.
4648 Avoid error if .git exists but the git executable is not found.
4649
4650 2014-01-22 Martin Rudalics <rudalics@gmx.at>
4651
4652 Fixes in window size functions around Bug#16430 and Bug#16470.
4653 * window.el (window-total-size, window-size): New argument ROUND.
4654 (window--min-delta-1, window-min-delta, window--max-delta-1):
4655 Be more conservative when calculating the numbers of lines or
4656 columns a window can shrink (Bug#16430).
4657 (fit-window-to-buffer): Simplify code.
4658 * term.el (term-window-width): Call window-body-width again.
4659
4660 2014-01-22 Glenn Morris <rgm@gnu.org>
4661
4662 * image.el (image-format-suffixes): Doc fix.
4663
4664 * international/quail.el (quail-define-package): Doc fix.
4665
4666 * emacs-lisp/authors.el (authors-valid-file-names)
4667 (authors-renamed-files-alist): Additions.
4668
4669 * vc/vc-git.el (vc-git-print-log): Remove --follow;
4670 reverts 2014-01-09 change. (Bug#16422)
4671
4672 * calc/calc-embed.el (thing-at-point-looking-at):
4673 * emacs-lisp/map-ynp.el (x-popup-dialog):
4674 * obsolete/lmenu.el (x-popup-dialog):
4675 * emacs-lisp/package.el (url-recreate-url):
4676 * mail/mailclient.el (clipboard-kill-ring-save):
4677 * subr.el (x-popup-dialog): Update declaration.
4678 * mail/rmail.el (rmail-mime-message-p):
4679 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4680
4681 2014-01-21 Daniel Colascione <dancol@dancol.org>
4682
4683 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4684 Correctly detect when we're inside an arithmetic expansion form
4685 containing nested parenthesis.
4686 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4687 to detect cases where we shouldn't expand "<<" to a heredoc
4688 skeleton.
4689
4690 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4691
4692 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4693 (eldoc--message-command-p): New function.
4694 (eldoc-display-message-p): Use it.
4695 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4696 message is not automatically erased for us.
4697 (eldoc-print-current-symbol-info): Erase previous message, if any.
4698
4699 2014-01-21 Tassilo Horn <tsdh@gnu.org>
4700
4701 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4702 specify it's an interactive function.
4703
4704 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4705 Fix regex used for scanning for citation keys which failed for
4706 citations with optional arguments.
4707
4708 2014-01-21 Leo Liu <sdl.web@gmail.com>
4709
4710 * simple.el (read--expression): Don't enable eldoc-mode.
4711
4712 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4713
4714 * simple.el (move-beginning-of-line): Make sure we don't move forward
4715 (bug#16497).
4716
4717 2014-01-20 Juri Linkov <juri@jurta.org>
4718
4719 * saveplace.el (toggle-save-place, save-place-to-alist)
4720 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4721 'dired-mode) before checking for dired-directory. (Bug#16477)
4722
4723 2014-01-20 Juri Linkov <juri@jurta.org>
4724
4725 * indent.el (indent-line-to): Use backward-to-indentation
4726 instead of back-to-indentation. (Bug#16461)
4727
4728 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4729
4730 Revert some of the CANNOT_DUMP fix (Bug#16494).
4731 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4732 but fixing this can wait until after the next release.
4733 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4734
4735 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
4736
4737 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4738 Use `password-word-equivalents'.
4739 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4740 to t. (Bug#5664, Bug#13124)
4741
4742 2014-01-19 Alan Mackenzie <acm@muc.de>
4743
4744 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4745 points.
4746 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4747 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4748 * progmodes/cc-mode.el (c-before-change, c-after-change)
4749 (c-font-lock-fontify-region): Bind it here.
4750
4751 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4752
4753 * term.el (term-window-width): Call window-text-width instead of
4754 window-width (Bug#16470).
4755
4756 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4757
4758 * simple.el (password-word-equivalents): Remove duplicates.
4759 Sort, to make this easier next time.
4760 Downcase. Omit ": " after "jelszó".
4761
4762 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4763
4764 * term/common-win.el (saved-region-selection): Defvar it.
4765 (x-select-text): Set saved-region-selection (Bug#16382).
4766
4767 2014-01-18 Glenn Morris <rgm@gnu.org>
4768
4769 * emacs-lisp/authors.el (authors-aliases)
4770 (authors-renamed-files-alist): Add some entries.
4771
4772 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4773
4774 * net/tramp.el (tramp-password-prompt-regexp):
4775 Use `password-word-equivalents' if available.
4776 (tramp-action-password, tramp-process-one-action)
4777 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4778
4779 2014-01-17 Chong Yidong <cyd@gnu.org>
4780
4781 * simple.el (password-word-equivalents): New defcustom.
4782 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4783 to 24.4.
4784 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4785 to t. (Bug#13124)
4786
4787 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4788
4789 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4790 (ruby-align-to-stmt-keywords): Change the default value.
4791 Use `ruby-alignable-keywords' to generate the possible customization
4792 choices.
4793 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4794 keywords, check against the value of `ruby-alignable-keywords'
4795 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4796
4797 2014-01-17 Glenn Morris <rgm@gnu.org>
4798
4799 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4800
4801 Make M-x authors return zero *Authors Errors* from current logs.
4802 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4803 (authors-ignored-files): Add some entries, remove others.
4804 (authors-ambiguous-files, authors-valid-file-names):
4805 Add some entries.
4806 (authors-renamed-files-alist): Add, remove, and adjust entries.
4807 (authors-renamed-files-regexps): Add some entries.
4808 Remove some very broad ones. Make some entries `lax'.
4809 (authors-lax-changelogs): New constant.
4810 (authors-disambiguate-file-name): Treat top-level specially.
4811 (authors-lax-changelog-p): New function.
4812 (authors-canonical-file-name): Check file as written against
4813 authors-valid-file-names. Do not special-case etc/.
4814 Handle `lax' logs and authors-renamed-files-regexps elements.
4815
4816 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4817
4818 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4819 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4820 callers.
4821
4822 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4823
4824 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4825 Assume we're already in the proper buffer.
4826 Inspired by Anders Lindgren <andlind@gmail.com>.
4827 (follow-post-command-hook): Call it from the right buffer.
4828 (follow-comint-scroll-to-bottom): Adjust call.
4829 (follow-all-followers): Use get-buffer-window-list.
4830
4831 2014-01-15 Daniel Colascione <dancol@dancol.org>
4832
4833 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4834 `buffer-file-name' in interactive-form so that we don't leave
4835 pathless file names in `file-name-history'.
4836
4837 2014-01-15 Juri Linkov <juri@jurta.org>
4838
4839 * indent.el (indent-rigidly): Set deactivate-mark to nil
4840 in transient indentation mode. (Bug#16438)
4841
4842 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4843
4844 * emacs-lisp/package.el (package-desc-keywords): New function
4845 (Bug#16222).
4846 (describe-package-1, package-all-keywords)
4847 (package--has-keyword-p): Use it.
4848
4849 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4850
4851 * simple.el (define-alternatives): When creating the
4852 COMMAND-alternatives variable, assign COMMAND as its definition
4853 name so that `describe-variable' can relocate it.
4854
4855 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4856
4857 * font-lock.el (font-lock-keywords): Fix typo in docstring
4858 (bug#16307).
4859
4860 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4861
4862 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
4863 line instead of wrongly reset `add-coment' (bug#13577).
4864
4865 2014-01-14 Daiki Ueno <ueno@gnu.org>
4866
4867 * epa-file.el (epa-file-write-region): Encode the region according
4868 to `buffer-file-format'. Problem reported at:
4869 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4870
4871 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4872
4873 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4874 so it applies in the right buffer (bug#16410).
4875
4876 2014-01-13 Daniel Colascione <dancol@dancol.org>
4877
4878 * textmodes/rst.el (rst-define-key): Provide deprecated
4879 keybindings through named functions instead of anonymous ones so
4880 that "??" doesn't appear in describe-mode output.
4881
4882 2014-01-13 Bastien Guerry <bzg@gnu.org>
4883
4884 * simple.el (define-alternatives): Call the selected command
4885 interactively. When setting `COMMAND--implementation' for the
4886 first time, tell the user how to chose another implementation.
4887 Enhance the docstring.
4888
4889 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4890
4891 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4892 (log-edit--match-first-line): New function.
4893 (log-edit-font-lock-keywords): Use it.
4894 (log-edit-mode): Make jit-lock-defer-multiline work.
4895
4896 2014-01-13 Bastien Guerry <bzg@gnu.org>
4897
4898 * rect.el (rectangle-mark-mode): When the region is not active,
4899 display a message saying that the mark as been set and that
4900 rectangle mode is in use.
4901 (rectangle--highlight-for-redisplay): Only put an overlay with a
4902 visible vertical bar when (display-graphic-p) is non-nil.
4903 This partially fixes Bug#16403.
4904
4905 2014-01-13 Juri Linkov <juri@jurta.org>
4906
4907 * info.el (Info-find-file): Go to DIR before displaying the error
4908 about a nonexistent file if no previous Info file is visited.
4909 Use `user-error' instead of `error' for "Info file %s does not exist".
4910 (Info-find-node-2): In case of a nonexistent node in unwind forms
4911 go to the Top node if there is no previous node to revert to.
4912 (Bug#16405)
4913
4914 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4915
4916 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4917 * window.el (fit-frame-to-buffer): Fix doc-string.
4918 Respect window-min-height/-width. Fit pixelwise when
4919 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4920 when avoiding that frame goes partially off-screen.
4921 (fit-window-to-buffer): Respect window-min-height/-width
4922 (Bug#14096).
4923
4924 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4925
4926 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4927 after an empty line.
4928
4929 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4930
4931 * net/shr.el (shr-render-region): Autoload.
4932
4933 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4934
4935 * net/eww.el (eww-download-directory): Rename from
4936 `eww-download-path' (Bug#16419).
4937
4938 2014-01-12 Leo Liu <sdl.web@gmail.com>
4939
4940 * dired-x.el (dired-mode-map): Fix last change.
4941
4942 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4943
4944 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4945
4946 Spelling fixes.
4947 * emacs-lisp/generic.el (generic--normalize-comments):
4948 Rename from generic--normalise-comments. All uses changed.
4949 * play/bubbles.el (bubbles--neighborhood-score)
4950 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4951 (bubbles--neighborhood-available)
4952 (bubbles--update-neighborhood-score):
4953 Rename from names with 'neighbourhood'. All uses changed.
4954
4955 2014-01-12 Leo Liu <sdl.web@gmail.com>
4956
4957 Re-implement the feature of showing eldoc info after editing.
4958 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4959 (eldoc-edit-message-commands): New function.
4960 (eldoc-print-after-edit): New variable.
4961 (eldoc-pre-command-refresh-echo-area): Emit message only by
4962 eldoc-message-commands.
4963 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4964 if eldoc-print-after-edit is set. (Bug#16346)
4965 * simple.el (read--expression): Enable eldoc-mode.
4966 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4967
4968 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4969 Eric S. Raymond <esr@thyrsus.com>
4970
4971 * version.el (emacs-repository-get-version): Enhance so the
4972 function works correctly in either a Bazaar or Git repo.
4973
4974 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4975
4976 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4977 Goes with removal of the joke manpages from /etc.
4978
4979 2014-01-10 Kenichi Handa <handa@gnu.org>
4980
4981 * mail/rmail.el (rmail-get-coding-system):
4982 Check rmail-get-coding-function before "funcall"ing it.
4983
4984 2014-01-10 Glenn Morris <rgm@gnu.org>
4985
4986 * emacs-lisp/authors.el (authors-fixed-entries):
4987 Update for files that no longer exist.
4988
4989 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4990
4991 * version.el (emacs-bzr-get-version): Restore compatibilty with
4992 24.3 (Tested).
4993
4994 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4995
4996 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4997 and Podfile.
4998
4999 2014-01-10 Eli Zaretskii <eliz@gnu.org>
5000
5001 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
5002
5003 2014-01-10 Chong Yidong <cyd@gnu.org>
5004
5005 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
5006
5007 2014-01-10 Anders Lindgren <andlind@gmail.com>
5008
5009 * follow.el (follow-cache-command-list): Include right-char and
5010 left-char.
5011
5012 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
5013
5014 Spelling fixes.
5015 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
5016 * woman.el (woman-mark-horizontal-position):
5017 Rename from woman-mark-horizonal-position. Use changed.
5018
5019 2014-01-10 Glenn Morris <rgm@gnu.org>
5020
5021 * info.el (info-initialize): If running uninstalled, ensure our
5022 own info files are always found first, even if INFOPATH is set.
5023
5024 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
5025
5026 2014-01-09 David Engster <deng@randomsample.de>
5027
5028 * emacs-lisp/eieio-custom.el:
5029 * emacs-lisp/eieio-opt.el: Set generated autoload file to
5030 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
5031 * emacs-lisp/eieio.el: Regenerate autoloads.
5032
5033 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
5034
5035 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
5036 following renames. (Bug#8756)
5037
5038 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
5039
5040 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
5041 (bug#16382).
5042 (activate-mark): Add `no-tmm' argument.
5043 (set-mark, push-mark-command): Use it instead of running
5044 activate-mark-hook by hand.
5045
5046 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
5047
5048 In preparation for the move to git, sanitize out some
5049 Bazaar-specific names.
5050
5051 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
5052
5053 * version.el (emacs-bzr-version): Name changed to
5054 emacs-repository-version. Obsolete-variable alias made.
5055 * loadup.el: Follow through on this name change.
5056 * mail/emacsbug.el (report-emacs-bug): Factor out any
5057 assumption about the version control system in use.
5058
5059 2014-01-08 David Engster <deng@randomsample.de>
5060
5061 * help-fns.el (help-fns-describe-function-functions):
5062 New variable to call functions for augmenting help buffers.
5063 (describe-function-1): Remove explicit calls to
5064 `help-fns--compiler-macro', `help-fns--parent-mode' and
5065 `help-fns--obsolete'. Put them in above new variable instead, and
5066 call them through `run-hook-with-args'.
5067 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
5068 `eieio-describe-class'. Not meant for interactive use anymore,
5069 but to augment existing help buffers. Remove optional second
5070 argument. Create proper button for file location.
5071 Rewrite function to use `insert' instead of `princ' and `prin1' where
5072 possible.
5073 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
5074 (eieio-method-def, eieio-class-def): Move further up.
5075 (describe-method, describe-generic, eieio-describe-method):
5076 Remove aliases.
5077 (eieio-help-constructor, eieio-help-generic): Rename from
5078 `eieio-describe-constructor' and `eieio-describe-generic', resp.
5079 Rewrite to use `insert' in the current buffer and use proper help
5080 buttons.
5081 (eieio-help-find-method-definition)
5082 (eieio-help-find-class-definition): Also accept symbols as
5083 arguments.
5084 (eieio-help-mode-augmentation-maybee): Remove.
5085 (eieio-describe-class-sb): Use `describe-function'.
5086 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
5087 Add `eieio-help-generic' and `eieio-help-constructor'.
5088
5089 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
5090
5091 Spelling fixes.
5092 * language/china-util.el (hz-ascii-designation):
5093 Rename from hz-ascii-designnation.
5094 (hz-ascii-designation): Rename from hz-ascii-designnation.
5095 All uses changed.
5096
5097 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
5098
5099 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
5100 package-alist.
5101
5102 2014-01-08 Bastien Guerry <bzg@gnu.org>
5103
5104 * emacs-lisp/package.el (package-delete):
5105 Correctly delete the package from package-alist.
5106
5107 2014-01-08 Daiki Ueno <ueno@gnu.org>
5108
5109 * emacs-lisp/package.el (url-recreate-url): Declare.
5110 (url-http-target-url): Declare.
5111 (package-handle-response): Include requested URL in the error message.
5112 (package--check-signature): Don't re-signal errors from
5113 package--with-work-buffer. Suggested by Stefan Monnier.
5114
5115 2014-01-07 Bastien Guerry <bzg@gnu.org>
5116
5117 * minibuffer.el (completion--try-word-completion): When both a
5118 hyphen and a space are possible candidates for the character
5119 following a word, display both candidates. (Bug#15980)
5120
5121 2014-01-07 Martin Rudalics <rudalics@gmx.at>
5122
5123 * window.el (balance-windows-2): While rounding don't give a
5124 window more than the remainder. Bug#16351, bug#16383.
5125
5126 2014-01-07 Glenn Morris <rgm@gnu.org>
5127
5128 * menu-bar.el (menu-bar-help-extra-packages): Remove.
5129 (menu-bar-help-menu): Use view-external-packages instead.
5130
5131 2014-01-07 Bastien Guerry <bzg@gnu.org>
5132
5133 * emacs-lisp/package.el (package-delete): Also delete the package
5134 name from `package-alist', not its description only.
5135
5136 2014-01-07 Glenn Morris <rgm@gnu.org>
5137
5138 * help.el (view-external-packages):
5139 * menu-bar.el (menu-bar-help-extra-packages):
5140 Visit efaq.info rather than etc/MORE.STUFF.
5141
5142 2014-01-07 Juri Linkov <juri@jurta.org>
5143
5144 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
5145 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
5146
5147 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
5148 that shadows RET. (Bug#16342)
5149
5150 2014-01-07 Chong Yidong <cyd@gnu.org>
5151
5152 * isearch.el (isearch-yank-char, isearch-yank-word)
5153 (isearch-yank-line): Doc fix.
5154
5155 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
5156
5157 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
5158 * emacs-lisp/elint.el (elint-find-builtins):
5159 * emacs-lisp/eldoc.el (eldoc-symbol-function):
5160 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
5161 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
5162 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5163 * apropos.el (apropos-safe-documentation):
5164 * subr.el (symbol-file): Remove redundant fboundp.
5165 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
5166
5167 2014-01-06 Bastien Guerry <bzg@gnu.org>
5168
5169 * hl-line.el (global-hl-line-overlay): Make a local variable.
5170 (global-hl-line-overlays): New variable to store all overlays.
5171 (global-hl-line-mode): Don't delete overlays from the current
5172 buffer when `global-hl-line-sticky-flag' is non-nil.
5173 (global-hl-line-highlight): Add new overlays to
5174 `global-hl-line-overlays'.
5175 (global-hl-line-unhighlight-all): New function to delete all
5176 overlays when turning off `global-hl-line-mode'.
5177 This fixes Bug#16183.
5178
5179 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
5180
5181 * subr.el (set-transient-map): Fix nested case and docstring.
5182
5183 2014-01-06 Tassilo Horn <tsdh@gnu.org>
5184
5185 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
5186 `Texinfo' entry.
5187
5188 2014-01-06 Daniel Colascione <dancol@dancol.org>
5189
5190 Fix defun navigation in vc log view.
5191
5192 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
5193 like `beginning-of-defun'.
5194 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
5195 log-view-end-of-defun to log-view-end-of-defun-1. Replace
5196 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
5197 (log-view-extract-comment): Call `log-view-current-entry' directly
5198 instead of relying on broken `log-view-beginning-of-defun' behavior.
5199
5200 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
5201
5202 Spelling fixes.
5203 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
5204 * emacs-lisp/debug.el (cancel-debug-on-entry):
5205 * epg.el (epg-error-to-string):
5206 * files.el (recover-file):
5207 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
5208 * mail/emacsbug.el (report-emacs-bug-hook):
5209 * mail/sendmail.el (mail-recover):
5210 * ses.el (ses-yank-resize):
5211 * term/ns-win.el (ns-print-buffer):
5212 Spelling fixes in diagnostics, mostly for "canceled" with one L.
5213 * epg.el (epg-key-capability-alist): Rename from misspelled version.
5214 All uses changed.
5215 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
5216
5217 2014-01-06 Leo Liu <sdl.web@gmail.com>
5218
5219 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
5220 to avoid shadowing global key. (Bug#16354)
5221
5222 2014-01-06 Daniel Colascione <dancol@dancol.org>
5223
5224 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
5225 rst-mode.
5226
5227 2014-01-05 Martin Rudalics <rudalics@gmx.at>
5228
5229 * window.el (balance-windows): Add mising t to fix Bug#16351.
5230
5231 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5232
5233 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
5234 (bug#16285).
5235 (shr-insert): If we have a word that's longer than `shr-width',
5236 break after it anyway. Otherwise we'll do no breaking once we get
5237 such a long word.
5238
5239 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5240
5241 * net/eww.el (eww): Support single/double quote for search.
5242 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
5243 (eww-history-quit): Delete and use quit-window.
5244 (eww-history-kill): Delete, because it doesn't work well and
5245 not necessary.
5246 (eww-history-mode-map): Delete some keys and add easy-menu.
5247
5248 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
5249
5250 Fix misspelling of 'chinese' in rx (Bug#16237).
5251 * emacs-lisp/rx.el (rx-categories): Correct spelling of
5252 chinese-two-byte.
5253
5254 Change subword regexps back to vars (Bug#16296).
5255 * progmodes/subword.el (subword-forward-regexp)
5256 (subword-backward-regexp): Change these back to variables.
5257
5258 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5259
5260 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
5261 syntax-begin-function (bug#16247).
5262
5263 2014-01-03 Chong Yidong <cyd@gnu.org>
5264
5265 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
5266 (advice--docstring): Delete variable.
5267 (advice--make-1): Leave the docstring empty.
5268 (advice-add): Use function-documentation for advised docstring.
5269
5270 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
5271 Ignore function-documentation property when getting documentation.
5272 (ad-activate-advised-definition): Use function-documentation
5273 generate the docstring.
5274 (ad-make-advised-definition): Don't call
5275 ad-make-advised-definition-docstring.
5276 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5277 Delete functions.
5278
5279 * progmodes/sql.el (sql-help): Use function-documentation instead
5280 of dynamic-docstring-function property. No need to autoload now.
5281 (sql--help-docstring): New variable.
5282 (sql--make-help-docstring): Use it.
5283
5284 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5285
5286 * ielm.el (ielm-tab): Retarget.
5287 (ielm-map): Use ielm-tab for tab.
5288 (ielm-complete-filename): Use comint-filename-completion.
5289 (ielm-complete-symbol): Remove.
5290 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
5291 remove ielm-tab from completion-at-point-functions (bug#16224).
5292
5293 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
5294 Beware signals raised by predicates (bug#16201).
5295
5296 2014-01-02 Richard Stallman <rms@gnu.org>
5297
5298 * dired-aux.el (dired-do-print): Handle printer-name.
5299
5300 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
5301 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
5302 (rmail-epa-decrypt): Turn off mime processing.
5303
5304 * mail/rmail.el (rmail-make-in-reply-to-field):
5305 Add parens in message-id.
5306
5307 * mail/rmail.el (rmail-get-coding-function): Variable.
5308 (rmail-get-coding-system): Use it.
5309
5310 2013-12-31 Eli Zaretskii <eliz@gnu.org>
5311
5312 * international/mule-conf.el: Unify the charset indian-is13194.
5313 (indian-is13194): Specify unify-map.
5314
5315 2013-12-31 Leo Liu <sdl.web@gmail.com>
5316
5317 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
5318
5319 2013-12-30 Daniel Colascione <dancol@dancol.org>
5320
5321 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
5322 of printing a useless when we resume from sleep.
5323
5324 * progmodes/sh-script.el
5325 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
5326 in indentation code. (Bug#16233)
5327
5328 2013-12-28 João Távora <joaotavora@gmail.com>
5329
5330 * elec-pair.el (electric-pair-post-self-insert-function):
5331 Don't open extra newlines at beginning of buffer. (Bug#16272)
5332
5333 2013-12-28 Eli Zaretskii <eliz@gnu.org>
5334
5335 * frame.el (window-system-for-display): Don't allow to create a
5336 GUI frame from a -nw session on MS-Windows. (Bug#14739)
5337
5338 2013-12-28 Glenn Morris <rgm@gnu.org>
5339
5340 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
5341 Update callers.
5342
5343 * apropos.el (apropos-match-face):
5344 * calculator.el (calculator-displayer):
5345 * dabbrev.el (dabbrev-search-these-buffers-only):
5346 * face-remap.el (buffer-face-mode-face):
5347 * simple.el (yank-handled-properties):
5348 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
5349 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
5350 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
5351 (hashcash-double-spend-database):
5352 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
5353 (ruby-deep-indent-paren-style):
5354 * textmodes/flyspell.el (flyspell-auto-correct-binding):
5355 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
5356 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
5357 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
5358 Specify custom types.
5359
5360 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
5361 * bookmark.el (bookmark-bmenu-use-header-line):
5362 * doc-view.el (doc-view-scale-internally):
5363 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
5364 * register.el (register-preview-delay):
5365 * net/shr.el (shr-bullet):
5366 * progmodes/cfengine.el (cfengine-cf-promises)
5367 (cfengine-parameters-indent):
5368 * progmodes/octave.el (inferior-octave-error-regexp-alist):
5369 * textmodes/reftex-vars.el (reftex-label-regexps):
5370 * vc/log-edit.el (log-edit-setup-add-author): Add version.
5371
5372 * net/tls.el (tls-certtool-program): Fix default value.
5373
5374 * desktop.el (desktop-restore-in-current-display):
5375 * newcomment.el (comment-empty-lines):
5376 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
5377 (idlwave-pad-keyword):
5378 * progmodes/tcl.el (tcl-tab-always-indent):
5379 * textmodes/reftex-vars.el (reftex-index-default-tag):
5380 * elec-pair.el (electric-pair-skip-whitespace):
5381 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
5382
5383 * emacs-lisp/authors.el (authors-ignored-files)
5384 (authors-valid-file-names, authors-renamed-files-alist): Additions.
5385
5386 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
5387
5388 * shell.el (shell-dynamic-complete-command): Doc fix.
5389 (shell--command-completion-data): Shell completion now matches
5390 executable filenames from the current buffer's directory, on
5391 systems in which this behavior is the default (windows-nt, ms-dos).
5392
5393 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5394
5395 * net/shr.el (shr-insert): Don't infloop if the width is zero.
5396
5397 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
5398
5399 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
5400 (bug#16251).
5401
5402 * electric.el: Move all electric-pair-* to elec-pair.el.
5403 * elec-pair.el: New file, split from electric.el.
5404
5405 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5406
5407 * net/shr.el (shr-find-fill-point): Don't try to fill if the
5408 indentation level is larger than the width, because that will
5409 infloop.
5410 (shr-insert): Fill repeatedly long texts, so that Japanese is
5411 formatted correctly (bug#16263).
5412 (shr-find-fill-point): Off by one error in comparison with the
5413 indentation.
5414
5415 2013-12-26 João Távora <joaotavora@gmail.com>
5416
5417 * electric.el (electric-pair-mode): More flexible engine for skip-
5418 and inhibit predicates, new options for pairing-related functionality.
5419 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
5420 if that keeps or improves their balance in buffers.
5421 (electric-pair-delete-adjacent-pairs): Delete the pair when
5422 backspacing over adjacent matched delimiters.
5423 (electric-pair-open-extra-newline): Open extra newline when
5424 inserting newlines between adjacent matched delimiters.
5425 (electric--sort-post-self-insertion-hook):
5426 Sort post-self-insert-hook according to priority values when
5427 minor-modes are activated.
5428 * simple.el (newline-and-indent): Call newline with interactive
5429 set to t.
5430 (blink-paren-post-self-insert-function): Set priority to 100.
5431 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5432 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
5433 comments. Locally set electric-pair-skip-whitespace to 'chomp and
5434 electric-pair-open-newline-between-pairs to nil.
5435
5436 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
5437
5438 * progmodes/python.el: Use lexical-binding.
5439 (python-nav-beginning-of-defun): Stop searching ASAP.
5440
5441 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
5442
5443 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
5444 Fix interactive spec. Doc fix. (Bug#15754)
5445
5446 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
5447
5448 * emacs-lisp/byte-run.el (eval-when-compile):
5449 * progmodes/cc-defs.el (cc-eval-when-compile):
5450 Fix edebug spec (bug#16184).
5451
5452 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5453
5454 * net/shr.el (shr-visit-file): Remove debugging function.
5455 (shr-insert): Don't infloop if we can't find a good place to break
5456 the line (bug#16256).
5457
5458 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
5459
5460 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
5461 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
5462 python-nav-lisp-forward-sexp-safe.
5463 (python-nav--forward-sexp): New argument SAFE allows switching
5464 forward sexp movement behavior for parens.
5465 (python-nav-forward-sexp): Throw errors on unterminated parens
5466 (Bug#16191).
5467 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
5468 (python-nav-backward-sexp-safe): New functions.
5469 (python-shell-buffer-substring):
5470 Use `python-nav-forward-sexp-safe'.
5471
5472 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5473
5474 * net/shr.el (shr-find-fill-point): Don't break lines before a
5475 quotation mark.
5476 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
5477 (shr-find-fill-point): Remove the special checks for the quotation
5478 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
5479
5480 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5481
5482 * net/eww.el (eww-form-textarea): Use a different face for
5483 textareas than text input since they have different keymaps
5484 (bug#16142).
5485
5486 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
5487
5488 * progmodes/python.el (python-nav-beginning-of-statement):
5489 Speed up (Bug#15295).
5490
5491 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5492
5493 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
5494 the window configuration.
5495
5496 2013-12-24 Eli Zaretskii <eliz@gnu.org>
5497
5498 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
5499 we run on MS-Windows or MS-DOS.
5500
5501 2013-12-24 Martin Rudalics <rudalics@gmx.at>
5502
5503 * window.el (balance-windows-area): Call window-size instead of
5504 window-height and window-width. Bug#16241.
5505
5506 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5507
5508 * net/eww.el (eww-bookmark-quit): Remove.
5509 (eww-bookmark-browse): Restore the window configuration when you
5510 choose a bookmark (bug#16144).
5511
5512 2013-12-24 Daniel Colascione <dancol@dancol.org>
5513
5514 * icomplete.el: Remove redundant :group arguments to `defcustom'
5515 throughout.
5516 (icomplete-show-matches-on-no-input): New customizable variable.
5517 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
5518 we have something to show.
5519 (icomplete-exhibit): Compute completions even if we have no user input.
5520
5521 2013-12-23 Daniel Colascione <dancol@dancol.org>
5522
5523 * icomplete.el: Move `provide' to end of file.
5524
5525 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
5526
5527 * net/gnutls.el (gnutls-verify-error): Add version tag.
5528
5529 2013-12-23 Chong Yidong <cyd@gnu.org>
5530
5531 * subr.el (set-transient-map): Rename from
5532 set-temporary-overlay-map. Doc fix.
5533
5534 * face-remap.el (text-scale-adjust):
5535 * indent.el (indent-rigidly):
5536 * kmacro.el (kmacro-call-macro):
5537 * minibuffer.el (minibuffer-force-complete):
5538 * repeat.el (repeat):
5539 * simple.el (universal-argument--mode):
5540 * calendar/todo-mode.el (todo-insert-item--next-param):
5541 * progmodes/f90.el (f90-abbrev-start): Callers changed.
5542
5543 * indent.el (indent-rigidly): Use substitute-command-keys.
5544
5545 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5546
5547 * net/eww.el (eww-tag-select): Add text-property to jump to next
5548 select field.
5549 (eww): Add non-supported ftp error.
5550
5551 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5552
5553 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
5554 comments. Handle electric indent after typing `?' and `!'.
5555
5556 2013-12-22 Chong Yidong <cyd@gnu.org>
5557
5558 * faces.el (face-spec-recalc): If the theme specs are not
5559 applicable to a frame, fall back on the defface spec.
5560 This prevents themes from obliterating faces on low-color terminals.
5561
5562 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5563
5564 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5565 after `{'. We need it after block openers, and it doesn't seem
5566 to hurt after hash openers.
5567
5568 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5569
5570 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5571 extracted from `ruby-smie-rules'.
5572 (ruby--electric-indent-chars): New variable.
5573 (ruby--electric-indent-p): New function.
5574 (ruby-mode): Use `electric-indent-functions' instead of
5575 `electric-indent-chars'.
5576
5577 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5578
5579 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5580 docstring.
5581 (ruby-smie-rules): Indent plus one level after `=>'.
5582
5583 2013-12-21 Richard Stallman <rms@gnu.org>
5584
5585 * simple.el (newline): Doc fix.
5586
5587 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5588
5589 * net/eww.el (eww-list-histories, eww-list-histories)
5590 (eww-history-browse, eww-history-quit, eww-history-kill)
5591 (eww-history-mode-map, eww-history-mode): New command and
5592 functions to list browser histories.
5593 (eww-form-text): Support text form with disabled
5594 and readonly attributes.
5595 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5596
5597 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5598
5599 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5600 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5601 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5602 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5603 Use `user-error'.
5604 (eww-bookmark-mode-map): Add menu.
5605 (eww-render, eww-mode): Use `setq-local'.
5606 (eww-tool-bar-map): New variable.
5607 (eww-mode): Set `tool-bar-map'.
5608 (eww-view-source): Check for `html-mode' with `fboundp'.
5609
5610 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5611
5612 * net/shr.el (shr--extract-best-source): Don't bug out on audio
5613 elements with text inside. Also remove debugging.
5614
5615 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
5616
5617 * cus-start.el (all): Add ns-use-srgb-colorspace.
5618
5619 2013-12-21 Chong Yidong <cyd@gnu.org>
5620
5621 * custom.el (custom-theme-recalc-face): Do nothing if the face is
5622 undefined. Thus, theme settings for undefined faces do not take
5623 effect until the faces are defined with defface, the same as with
5624 theme variables.
5625
5626 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5627 (face-spec-reset-face): Don't assign extra properties in temacs.
5628 (face-spec-recalc): Apply X resources too.
5629
5630 2013-12-21 Chong Yidong <cyd@gnu.org>
5631
5632 * faces.el (face-spec-set):
5633 * cus-face.el (custom-theme-set-faces, custom-set-faces):
5634 * custom.el (defface): Doc fixes (Bug#16203).
5635
5636 * indent.el (indent-rigidly-map): Add docstring, and move commands
5637 into named functions.
5638 (indent-rigidly-left, indent-rigidly-right)
5639 (indent-rigidly-left-to-tab-stop)
5640 (indent-rigidly-right-to-tab-stop): New functions. Decide on
5641 indentation direction based on bidi direction, and accumulate
5642 sequential commands in a single undo boundary.
5643 (indent-rigidly--pop-undo): New utility function.
5644
5645 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
5646
5647 * faces.el (read-face-name): Require crm.el when using crm-separator.
5648
5649 2013-12-20 Daniel Colascione <dancol@dancol.org>
5650
5651 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5652 so that we don't reflow comments into the shebang line.
5653
5654 2013-12-20 Juri Linkov <juri@jurta.org>
5655
5656 * saveplace.el (save-place-to-alist): Add `dired-filename' as
5657 a position when `dired-directory' is non-nil. Check integer
5658 positions with `integerp'.
5659 (toggle-save-place, save-places-to-alist): Add check for
5660 `dired-directory'.
5661 (save-place-find-file-hook): Check integer positions with
5662 `integerp'.
5663 (save-place-dired-hook): Use `dired-goto-file' when
5664 `dired-filename' is found in the assoc list. Check integer
5665 positions with `integerp'.
5666 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5667
5668 * dired.el (dired-initial-position-hook): Rename back from
5669 `dired-initial-point-hook'.
5670 (dired-initial-position): Rename `dired-initial-point-hook' to
5671 `dired-initial-position-hook'.
5672 (dired-file-name-at-point): Doc fix. (Bug#15329)
5673
5674 2013-12-20 Juri Linkov <juri@jurta.org>
5675
5676 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5677 (read-regexp-suggestions): New function.
5678 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5679 Use `read-regexp-suggestions'. Add non-empty default to history
5680 for empty input.
5681 (occur-read-regexp-defaults-function): Remove function.
5682 (occur-read-primary-args): Use `regexp-history-last' instead of
5683 `occur-read-regexp-defaults-function'.
5684
5685 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5686 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5687 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5688 `hi-lock-read-regexp-defaults-function'. Doc fix.
5689 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5690 with `find-tag-default-as-symbol-regexp'. Doc fix.
5691 (hi-lock-read-regexp-defaults): Remove function.
5692 (hi-lock-regexp-okay): Add check for null.
5693
5694 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5695 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5696
5697 * subr.el (find-tag-default-as-symbol-regexp): New function.
5698 (find-tag-default-as-regexp): Move symbol regexp formatting to
5699 `find-tag-default-as-symbol-regexp'.
5700
5701 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5702
5703 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5704 (Bug#14179)
5705
5706 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5707
5708 * calendar/todo-mode.el: New implementation of item insertion
5709 commands and key bindings.
5710 (todo-key-prompt): New face.
5711 (todo-insert-item): New command.
5712 (todo-insert-item--parameters): New defconst, replacing defvar
5713 todo-insertion-commands-args-genlist.
5714 (todo-insert-item--param-key-alist): New defconst, replacing
5715 defvar todo-insertion-commands-arg-key-list.
5716 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5717 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5718 (todo-insert-item--next-param): New functions.
5719 (todo-insert-item--args, todo-insert-item--argleft)
5720 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5721 New variables.
5722 (todo-key-bindings-t): Change binding of "i" from
5723 todo-insertion-map to todo-insert-item.
5724 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5725 (todo-insertion-command-name, todo-insertion-commands-names)
5726 (todo-define-insertion-command, todo-insertion-commands)
5727 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5728
5729 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5730
5731 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5732 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5733 eval-when-compile.
5734 (todo-move-category): Allow choosing a non-existing todo file to
5735 move the category to, and create that file.
5736 (todo-default-priority): New user option.
5737 (todo-set-item-priority): Use it.
5738 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5739 (desktop-restore-file-buffer): Declare.
5740 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5741 (todo-modes-set-2): Locally set desktop-save-buffer to
5742 todo-desktop-save-buffer.
5743 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5744 (auto-mode-alist): Add autoload cookie.
5745
5746 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5747
5748 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5749 helpers.el was a poor choice of name.
5750 (string-remove-prefix): New function.
5751 (string-remove-suffix): New function.
5752
5753 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5754
5755 Fix assignment for new window total sizes.
5756 * window.el (window--pixel-to-size): Remove function.
5757 (window--pixel-to-total-1, window--pixel-to-total):
5758 Fix calculation of new total sizes.
5759
5760 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5761
5762 * comint.el (comint-output-filter): Fix rear-nonsticky property
5763 placement (Bug#16010).
5764
5765 2013-12-20 Chong Yidong <cyd@gnu.org>
5766
5767 * faces.el (read-color): Minor fix for completion function.
5768
5769 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5770
5771 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5772 New option. (Bug#16182)
5773 (ruby-smie--indent-to-stmt-p): Use it.
5774 (ruby-smie-rules): Revert the logic in the handling of `when'.
5775 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5776 (ruby-deep-arglist, ruby-deep-indent-paren)
5777 (ruby-deep-indent-paren-style): Update docstrings to note that the
5778 vars don't have any effect with SMIE.
5779
5780 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5781
5782 * calc/calc.el (calc-enter, calc-pop): Use the variable
5783 `calc-context-sensitive-enter'.
5784
5785 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5786
5787 * net/shr.el (shr-insert): Protect against infloops in degenerate
5788 tables.
5789
5790 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5791
5792 * progmodes/octave.el (octave): Add link to manual and octave
5793 homepage.
5794 (octave-mode-menu): Link to octave-mode manual.
5795
5796 2013-12-20 Leo Liu <sdl.web@gmail.com>
5797
5798 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5799 insertion using skeleton-end-newline. (Bug#16138)
5800
5801 2013-12-20 Juri Linkov <juri@jurta.org>
5802
5803 * replace.el (occur-engine): Use `add-face-text-property'
5804 to add the face property to matches and titles. (Bug#14645)
5805
5806 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5807 the palette of other hi-lock colors.
5808 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5809
5810 2013-12-19 Juri Linkov <juri@jurta.org>
5811
5812 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5813 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5814 (minibuffer-history-symbol): Move variable declaration closer to
5815 its usage.
5816
5817 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5818 (Bug#14785)
5819
5820 2013-12-19 Juri Linkov <juri@jurta.org>
5821
5822 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5823 New function.
5824 (log-edit-hook): Add it to :options. (Bug#16170)
5825
5826 2013-12-19 Juri Linkov <juri@jurta.org>
5827
5828 * simple.el (eval-expression-print-format): Don't check for
5829 command names and the last command. Always display additional
5830 formats of the integer result in the echo area, and insert them
5831 to the current buffer only with a zero prefix arg.
5832 Display character when char-displayable-p is non-nil.
5833 (eval-expression): With a zero prefix arg, set `print-length' and
5834 `print-level' to nil, and insert the integer values from
5835 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5836
5837 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5838 `eval-last-sexp-arg-internal'. Doc fix.
5839 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5840 `eval-last-sexp-print-value'. Doc fix.
5841 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5842 Set `print-length' and `print-level' to nil when arg is zero.
5843 (eval-last-sexp): Doc fix.
5844 (eval-defun-2): Print the integer values from
5845 `eval-expression-print-format' at the end.
5846
5847 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5848 values from `eval-expression-print-format' at the end.
5849
5850 * ielm.el (ielm-eval-input): Print the integer
5851 values from `eval-expression-print-format' at the end.
5852
5853 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5854
5855 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5856 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5857
5858 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5859
5860 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5861 (hl-line-highlight, global-hl-line-highlight): Use it.
5862 (hl-line-overlay): Use defvar-local.
5863
5864 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5865
5866 * term/ns-win.el: Require dnd.
5867 (global-map): Remove drag items.
5868 (ns-insert-text, ns-set-foreground-at-mouse)
5869 (ns-set-background-at-mouse):
5870 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5871 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5872 New functions.
5873
5874 2013-12-19 Glenn Morris <rgm@gnu.org>
5875
5876 * emacs-lisp/ert.el (ert-select-tests):
5877 Fix string/symbol mixup. (Bug#16121)
5878
5879 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5880
5881 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5882 keywords to their parent.
5883
5884 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5885
5886 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5887 first arg to be a string (fixed dead code), or an operator symbol.
5888 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5889 operator symbols.
5890 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5891 did nothing. Don't respond to `(:after ".")', it will be called
5892 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5893 change anything. Only return indentation for binary operators
5894 when they are hanging. De-dent opening paren when its parent is
5895 `.', otherwise it looks bad when the dot is not at bol or eol
5896 (bug#16182).
5897
5898 2013-12-19 Juri Linkov <juri@jurta.org>
5899
5900 * replace.el (query-replace-read-args): Split a non-negative arg
5901 and a negative arg into separate elements.
5902 (query-replace, query-replace-regexp, replace-string)
5903 (replace-regexp): Add arg `backward'. Doc fix.
5904 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5905 move point to the beginning of the match.
5906 (replace-search, replace-highlight): Use new arg `backward'
5907 to set the value of `isearch-forward'.
5908 (perform-replace): Add arg `backward' and use it to perform
5909 replacement backward. (Bug#14979)
5910
5911 * isearch.el (isearch-query-replace): Use a negative prefix arg
5912 to call `perform-replace' with a non-nil arg `backward'.
5913
5914 2013-12-18 Juri Linkov <juri@jurta.org>
5915
5916 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5917 to the default list. Move `log-edit-show-files' to the end.
5918 Add more available functions to options.
5919 (log-edit): Move default specific settings to
5920 `log-edit-insert-message-template'. Don't move point.
5921 (log-edit-insert-message-template): New function.
5922 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5923 (Bug#16170)
5924
5925 2013-12-18 Juri Linkov <juri@jurta.org>
5926
5927 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5928 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5929
5930 2013-12-18 Leo Liu <sdl.web@gmail.com>
5931
5932 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5933 (Bug#16186)
5934
5935 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5936
5937 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5938 formats for displaying file sizes when the -s switch is given.
5939 Instead, compute a separate format for displaying the size in
5940 blocks, which is displayed in addition to the "regular" size.
5941 When -h is given in addition to -s, produce size in blocks in
5942 human-readable form as well. (Bug#16179)
5943
5944 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5945
5946 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5947 Reference tables with ~\ref{...} instead of only \ref{...}.
5948
5949 2013-12-18 Chong Yidong <cyd@gnu.org>
5950
5951 * cus-edit.el (custom-magic-alist): Fix "themed" description
5952 (Bug#14348).
5953
5954 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5955 is non-nil, do not create a new entry in the symbol's theme-value
5956 or theme-face property; update theme-settings only (Bug#14664).
5957 (custom-available-themes): Doc fix.
5958
5959 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5960 (Bug#15674).
5961
5962 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5963
5964 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5965
5966 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5967 (Bug#13914).
5968
5969 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5970
5971 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5972
5973 2013-12-18 Glenn Morris <rgm@gnu.org>
5974
5975 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5976 * cus-start.el (load-prefer-newer): New option.
5977
5978 2013-12-18 Le Wang <l26wang@gmail.com>
5979
5980 * comint.el (comint-previous-matching-input-from-input):
5981 Retain point (Bug#13404).
5982
5983 2013-12-18 Chong Yidong <cyd@gnu.org>
5984
5985 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5986
5987 2013-12-18 Glenn Morris <rgm@gnu.org>
5988
5989 * mail/emacsbug.el (report-emacs-bug):
5990 Only mention enable-multibyte-characters if non-standard.
5991
5992 2013-12-17 Juri Linkov <juri@jurta.org>
5993
5994 * arc-mode.el (archive-extract-by-file): Check if directory exists
5995 before deletion to not show irrelevant errors if it doesn't exist.
5996
5997 2013-12-17 Juri Linkov <juri@jurta.org>
5998
5999 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
6000 (Bug#14751)
6001
6002 * net/eww.el (browse-web): Add alias to `eww'.
6003 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
6004 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
6005
6006 * net/browse-url.el (browse-url-browser-function): Move `eww'
6007 closer to similar functions.
6008
6009 * startup.el (fancy-startup-screen, fancy-about-screen):
6010 Set browse-url-browser-function to eww-browse-url locally.
6011 (Bug#14751)
6012
6013 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
6014
6015 * window.el (window--pixel-to-total): Remove unused `mini' var.
6016 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
6017 (split-window): Remove unused `new' var.
6018 (window--display-buffer): Remove unused `frame' and `delta' vars.
6019 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
6020 and display-width'.
6021
6022 2013-12-17 Martin Rudalics <rudalics@gmx.at>
6023
6024 * dired.el (dired-mark-pop-up):
6025 * register.el (register-preview): Don't bind
6026 split-height-threshold here since it's now done in
6027 display-buffer-below-selected.
6028
6029 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
6030
6031 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
6032 xterm-rgb-convert-to-16bit.
6033 (rxvt-register-default-colors): Standardize with
6034 xterm-register-default-colors (Bug#14078).
6035
6036 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
6037
6038 * simple.el (kill-region): Pass mark first, then point, so that
6039 kill-append works right (Bug#12819).
6040 (copy-region-as-kill, kill-ring-save): Likewise.
6041
6042 2013-12-17 Leo Liu <sdl.web@gmail.com>
6043
6044 * net/rcirc.el (rcirc-add-face):
6045 * eshell/em-prompt.el (eshell-emit-prompt):
6046 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
6047 (Bug#16167)
6048
6049 2013-12-17 Chong Yidong <cyd@gnu.org>
6050
6051 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
6052 Suggested by Xue Fuqiao.
6053
6054 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
6055
6056 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
6057
6058 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
6059
6060 * net/shr.el (shr-insert-document): Remove unused var
6061 `shr-preliminary-table-render'.
6062 (shr-rescale-image): Remove unused arg `force'.
6063 (shr-put-image): Update calls accordingly.
6064 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
6065
6066 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
6067
6068 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
6069 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
6070 :close-all, to see which indentation method to use (Bug#16116).
6071 (smie-rules-function): Document the method :close-all.
6072
6073 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6074
6075 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
6076
6077 * net/eww.el (eww-display-html): If we can't find the anchor we're
6078 looking for, then go to point-min.
6079
6080 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
6081
6082 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
6083 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
6084 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
6085 Expand dir too, in case it's relative.
6086
6087 2013-12-16 Juri Linkov <juri@jurta.org>
6088
6089 * desktop.el (desktop-auto-save-timeout): Change default to
6090 `auto-save-timeout'. Doc fix.
6091 (desktop-save): Skip the timestamp in desktop-saved-frameset
6092 when checking for auto-save changes.
6093 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
6094 `desktop-auto-save' is called repeatedly by the idle timer.
6095 (desktop-auto-save-set-timer): Replace `run-with-timer' with
6096 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
6097 (Bug#15331)
6098
6099 2013-12-16 Juri Linkov <juri@jurta.org>
6100
6101 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
6102 (Bug#16035)
6103 (isearch-pre-command-hook): Check `this-command' for symbolp.
6104
6105 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
6106
6107 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
6108
6109 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
6110
6111 * progmodes/cfengine.el (cfengine3--current-word): Remove.
6112 (cfengine3--current-function): Bring in the current-function
6113 functionality from `cfengine3--current-word'.
6114 (cfengine3-completion-function): Bring in the
6115 bounds-of-current-word functionality from
6116 `cfengine3--current-word'.
6117
6118 2013-12-16 Martin Rudalics <rudalics@gmx.at>
6119
6120 * window.el (display-buffer-below-selected):
6121 Bind split-height-threshold to 0 as suggested by Juri Linkov.
6122
6123 2013-12-16 Leo Liu <sdl.web@gmail.com>
6124
6125 * progmodes/compile.el (compile-goto-error): Do not push-mark.
6126 Remove NOMSG arg and all uses changed.
6127
6128 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
6129
6130 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
6131 (cua--deactivate-rectangle): Don't deactivate the mark.
6132 (cua-set-rectangle-mark): Don't set mark-active since
6133 cua--activate-rectangle already does it for us.
6134 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
6135 non-rectangular region.
6136
6137 * emulation/cua-base.el (cua-repeat-replace-region):
6138 Use with-current-buffer.
6139
6140 * net/gnutls.el: Use cl-lib.
6141 (gnutls-negotiate): `mapcan' -> cl-mapcan.
6142
6143 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
6144
6145 * emacs-lisp/package.el (package-built-in-p): Support both
6146 built-in and the package.el converted package descriptions.
6147 (package-show-package-list): Allow keywords.
6148 (package-keyword-button-action): Use it instead of
6149 `finder-list-matches'.
6150 (package-menu-filter-interactive): Interactive filtering (by
6151 keyword) function.
6152 (package-menu--generate): Support keywords and change keymappings
6153 and headers when they are given.
6154 (package--has-keyword-p): Helper function.
6155 (package-menu--refresh): Use it.
6156 (package--mapc): Helper function.
6157 (package-all-keywords): Use it.
6158 (package-menu-mode-map): Set up menu items and keybindings to
6159 provide a filtering UI.
6160
6161 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
6162
6163 * net/gnutls.el (gnutls-verify-error): New defcustom to control
6164 the behavior when a certificate fails validation. Defaults to
6165 old behavior: never abort, just warn.
6166 (gnutls-negotiate): Use it.
6167
6168 2013-12-14 Martin Rudalics <rudalics@gmx.at>
6169
6170 * window.el (display-buffer-below-selected): Never split window
6171 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
6172
6173 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
6174
6175 * emacs-lisp/package.el (package--prepare-dependencies): New function.
6176 (package-buffer-info): Use it (bug#15108).
6177
6178 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
6179
6180 * icomplete.el (icomplete-completions): Make sure the prefix is already
6181 displayed elsewhere before hiding it (bug#16219).
6182
6183 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
6184
6185 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
6186 open-paren tokens when preceded by a open-paren, too.
6187 (ruby-smie-rules): Handle virtual indentation after open-paren
6188 tokens specially. If there is code between it and eol, return the
6189 column where is starts (Bug#16118).
6190
6191 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6192
6193 * progmodes/cfengine.el: Fix `add-hook' doc.
6194 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
6195 (cfengine3--current-word): Fix parameters.
6196 (cfengine3-make-syntax-cache): Simplify further.
6197 (cfengine3-completion-function, cfengine3--current-function):
6198 Use `assq' for symbols.
6199 (cfengine3--current-function): Fix `cfengine3--current-word' call.
6200
6201 2013-12-13 Glenn Morris <rgm@gnu.org>
6202
6203 * loadup.el (load-path): Warn if site-load or site-init changes it.
6204 No more need to reset it when bootstrapping.
6205
6206 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6207
6208 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
6209 locations for cf-promises.
6210 (cfengine-mode-syntax-functions-regex): New caching variable.
6211 (cfengine3-fallback-syntax): Fallback syntax for cases where
6212 cf-promises doesn't run.
6213 (cfengine3--current-word): Reimplement using
6214 `cfengine-mode-syntax-functions-regex'.
6215 (cfengine3-completion-function, cfengine3--current-function):
6216 Use `cfengine3-make-syntax-cache' directly.
6217 (cfengine3-clear-syntax-cache): New function.
6218 (cfengine3-make-syntax-cache): Simplify and create
6219 `cfengine-mode-syntax-functions-regex' on demand.
6220 (cfengine3-format-function-docstring): Don't call
6221 `cfengine3-make-syntax-cache' explicitly.
6222
6223 2013-12-13 Martin Rudalics <rudalics@gmx.at>
6224
6225 Fix windmove-find-other-window broken after pixelwise resizing
6226 (Bug#16017).
6227 * windmove.el (windmove-other-window-loc): Revert change from
6228 2013-12-04.
6229 (windmove-find-other-window): Call window-in-direction.
6230 * window.el (window-in-direction): New arguments SIGN, WRAP and
6231 MINI to emulate original windmove-find-other-window behavior.
6232
6233 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
6234
6235 * simple.el (blink-matching--overlay): New variable.
6236 (blink-matching-open): Instead of moving point, highlight the
6237 matching paren with an overlay
6238 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
6239
6240 * faces.el (paren-showing-faces, show-paren-match)
6241 (show-paren-mismatch): Move from paren.el.
6242
6243 2013-12-13 Leo Liu <sdl.web@gmail.com>
6244
6245 * indent.el (indent-region): Disable progress reporter in
6246 minibuffer. (Bug#16108)
6247
6248 * bindings.el (visual-order-cursor-movement): Fix version.
6249
6250 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6251
6252 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
6253 Also match after beginning of line.
6254 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
6255 files. Thanks to Russell Sim. (Bug#15378)
6256
6257 2013-12-13 Juri Linkov <juri@jurta.org>
6258
6259 * simple.el <Keypad support>: Remove key bindings duplicated
6260 with bindings.el. (Bug#14397)
6261
6262 2013-12-13 Juri Linkov <juri@jurta.org>
6263
6264 * comint.el (comint-mode-map): Replace `delete-char' with
6265 `delete-forward-char'. (Bug#16109)
6266
6267 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6268
6269 * progmodes/python.el (python-indent-calculate-indentation):
6270 Fix de-denters cornercase. (Bug#15731)
6271
6272 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
6273
6274 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
6275 (advice--make): Pay attention to `depth'.
6276 (advice--make-1): Don't autoload commands eagerly.
6277 * emacs-lisp/elp.el (elp-instrument-function):
6278 * emacs-lisp/trace.el (trace-function-internal):
6279 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
6280
6281 * iswitchb.el (iswitchb-mode): Don't belittle ido.
6282
6283 2013-12-12 Eli Zaretskii <eliz@gnu.org>
6284
6285 * term/w32-win.el (w32-handle-dropped-file):
6286 * startup.el (normal-top-level):
6287 * net/browse-url.el (browse-url-file-url):
6288 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
6289 decode file names using 'utf-8' rather than
6290 file-name-coding-system.
6291
6292 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6293
6294 * progmodes/python.el (python-indent-context)
6295 (python-indent-calculate-indentation): Fix auto-identation
6296 behavior for comment blocks. (Bug#15916)
6297
6298 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6299
6300 * progmodes/python.el (python-indent-calculate-indentation):
6301 When determining indentation, don't treat "return", "pass", etc., as
6302 operators when they are just string constituents. (Bug#15812)
6303
6304 2013-12-12 Juri Linkov <juri@jurta.org>
6305
6306 * uniquify.el (uniquify-buffer-name-style): Change default to
6307 `post-forward-angle-brackets'.
6308
6309 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
6310 `uniquify'. Change default to `post-forward-angle-brackets'.
6311
6312 2013-12-11 Glenn Morris <rgm@gnu.org>
6313
6314 * emacs-lisp/package.el (finder-list-matches):
6315 Autoload rather than falsely declaring.
6316
6317 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
6318
6319 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
6320 (eww-mode-map): Use them.
6321
6322 2013-12-11 Martin Rudalics <rudalics@gmx.at>
6323
6324 * window.el (display-buffer-in-side-window): Fix doc-string
6325 (Bug#16115).
6326
6327 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
6328
6329 * vc/vc-git.el: Silence byte-compiler warnings.
6330 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
6331 (log-edit-set-header): Declare.
6332
6333 2013-12-11 Eli Zaretskii <eliz@gnu.org>
6334
6335 * Makefile.in (custom-deps, finder-data): Run output file names
6336 through unmsys--file-name. (Bug#16099)
6337
6338 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
6339
6340 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
6341 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
6342
6343 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
6344 instead of deleting the selection "by hand" (bug#16098).
6345 Rely on insert-for-yank to yank rectangles.
6346 (cua-highlight-region-shift-only): Mark obsolete.
6347 (cua-mode): Don't enable/disable transient-mark-mode,
6348 shift-select-mode (cua-mode works both with and without them), and
6349 pc-selection-mode (obsolete).
6350 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
6351 (cua--deactivate-rectangle): Deactivate it.
6352
6353 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
6354 (delete-selection-helper): Make sure yank starts at the top of the
6355 deleted region.
6356 (minibuffer-keyboard-quit): Use region-active-p.
6357
6358 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
6359
6360 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
6361 to `delete' (bug#16109).
6362
6363 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6364
6365 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
6366 info manual and show keybindings and set `:group' keyword.
6367
6368 2013-12-11 Juri Linkov <juri@jurta.org>
6369
6370 * delsel.el (delete-active-region): Let-bind `this-command'
6371 to prevent `kill-region' from changing its original value.
6372 (delete-selection-helper): Handle `overwrite-mode' for the type
6373 `kill' exactly the same way as for the type `t'.
6374 (insert-char, quoted-insert, reindent-then-newline-and-indent):
6375 Support more commands. (Bug#13312)
6376
6377 2013-12-11 Juri Linkov <juri@jurta.org>
6378
6379 * bindings.el: Map kp keys to non-kp keys systematically
6380 with basic modifiers control, meta and shift. (Bug#14397)
6381
6382 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6383
6384 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
6385 "Close browser" menu items. Fix wrong function of "List
6386 bookmarks".
6387
6388 2013-12-11 Juri Linkov <juri@jurta.org>
6389
6390 * misearch.el (multi-isearch-buffers): Set the value of
6391 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6392 arg of isearch-forward to t.
6393 (multi-isearch-buffers-regexp): Set the value of
6394 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6395 arg of isearch-forward-regexp to t.
6396 (multi-isearch-files): Set the value of
6397 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6398 arg of isearch-forward to t.
6399 (multi-isearch-files-regexp): Set the value of
6400 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6401 arg of isearch-forward-regexp to t. (Bug#16035)
6402
6403 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
6404 arg of isearch-forward to t.
6405 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
6406 arg of isearch-forward-regexp to t.
6407 (dired-isearch-filter-filenames): Remove unnecessary check for
6408 `dired-isearch-filenames'.
6409
6410 * comint.el (comint-history-isearch-backward):
6411 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
6412 (comint-history-isearch-backward-regexp):
6413 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
6414
6415 2013-12-10 Eli Zaretskii <eliz@gnu.org>
6416
6417 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
6418 unmsys--file-name. (Bug#16099)
6419
6420 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
6421
6422 * emacs-lisp/package.el (package-keyword-button-action):
6423 Remove finder.el require dependency.
6424
6425 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
6426
6427 * emacs-lisp/package.el: Require finder.el.
6428 (describe-package-1): Add keyword buttons.
6429 (package-make-button): New convenience function.
6430 (package-keyword-button-action): Keyword button action using
6431 `finder-list-matches'.
6432
6433 2013-12-09 Eli Zaretskii <eliz@gnu.org>
6434
6435 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
6436 last commit.
6437
6438 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
6439
6440 * autorevert.el (auto-revert-notify-add-watch): Do not handle
6441 symlinked files.
6442
6443 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6444
6445 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6446 after the end of a percent literal.
6447
6448 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
6449
6450 * progmodes/ruby-mode.el (ruby-forward-string): Document.
6451 Handle caret-delimited strings (Bug#16079).
6452
6453 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6454
6455 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
6456 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
6457 `ruby-parse-partial' (Bug#16078).
6458
6459 2013-12-09 Leo Liu <sdl.web@gmail.com>
6460
6461 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
6462
6463 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
6464
6465 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
6466 (js-switch-indent-offset): New option.
6467 (js--proper-indentation): Use it. And handle the case when
6468 "default" is actually a key in an object literal.
6469 (js--same-line): New function.
6470 (js--multi-line-declaration-indentation): Use it.
6471 (js--indent-in-array-comp, js--array-comp-indentation):
6472 New functions.
6473 (js--proper-indentation): Use them, to handle array comprehension
6474 continuations.
6475
6476 2013-12-08 Leo Liu <sdl.web@gmail.com>
6477
6478 * progmodes/flymake.el (flymake-highlight-line): Re-write.
6479 (flymake-make-overlay): Remove arg MOUSE-FACE.
6480 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
6481
6482 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6483
6484 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
6485 New function.
6486 (redisplay-highlight-region-function): Use it.
6487
6488 * emulation/cua-base.el (cua--explicit-region-start)
6489 (cua--last-region-shifted): Remove.
6490 (cua--deactivate): Use deactivate-mark.
6491 (cua--pre-command-handler-1): Don't handle shift-selection.
6492 (cua--post-command-handler-1): Don't change transient-mark-mode.
6493 (cua--select-keymaps): Use region-active-p rather than
6494 cua--explicit-region-start or cua--last-region-shifted.
6495 (cua-mode): Enable shift-select-mode.
6496
6497 2013-12-08 Leo Liu <sdl.web@gmail.com>
6498
6499 * progmodes/flymake.el (flymake-popup-current-error-menu):
6500 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6501 (flymake-posn-at-point-as-event, flymake-popup-menu)
6502 (flymake-make-emacs-menu): Remove. (Bug#16077)
6503
6504 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6505
6506 * rect.el (rectangle-mark-mode): Activate mark even if
6507 transient-mark-mode is off (bug#16066).
6508 (rectangle--highlight-for-redisplay): Fix boundary condition when point
6509 is > mark and at bolp.
6510
6511 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
6512 (region-extract-function): Use it.
6513 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
6514 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
6515 Delete functions.
6516 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
6517 kill-ring-save, kill-region, delete-char, delete-forward-char.
6518 Ignore self-insert-iso.
6519
6520 * emulation/cua-gmrk.el (cua--init-global-mark):
6521 Ignore `self-insert-iso'.
6522
6523 * emulation/cua-base.el (cua--prefix-copy-handler)
6524 (cua--prefix-cut-handler): Rely on region-extract-function rather than
6525 checking cua--rectangle.
6526 (cua-delete-region): Use region-extract-function.
6527 (cua-replace-region): Delete function.
6528 (cua-copy-region, cua-cut-region): Obey region-extract-function.
6529 (cua--pre-command-handler-1): Don't do the delete-selection thing.
6530 (cua--self-insert-char-p): Ignore `self-insert-iso'.
6531 (cua--init-keymaps): Don't remap delete-selection commands.
6532 (cua-mode): Use delete-selection-mode instead of rolling our own
6533 (bug#16085).
6534
6535 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
6536 Obey region-extract-function.
6537
6538 Make registers and delete-selection-mode work on rectangles.
6539 * register.el (describe-register-1): Don't modify the register's value.
6540 (copy-to-register): Obey region-extract-function.
6541 * delsel.el (delete-active-region): Obey region-extract-function.
6542
6543 2013-12-08 Leo Liu <sdl.web@gmail.com>
6544
6545 * progmodes/flymake.el (flymake, flymake-error-bitmap)
6546 (flymake-warning-bitmap, flymake-fringe-indicator-position)
6547 (flymake-compilation-prevents-syntax-check)
6548 (flymake-start-syntax-check-on-newline)
6549 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
6550 (flymake-start-syntax-check-on-find-file, flymake-log-level)
6551 (flymake-xml-program, flymake-master-file-dirs)
6552 (flymake-master-file-count-limit)
6553 (flymake-allowed-file-name-masks): Relocate.
6554 (flymake-makehash, flymake-float-time)
6555 (flymake-replace-regexp-in-string, flymake-split-string)
6556 (flymake-get-temp-dir): Remove.
6557 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6558 (flymake-current-row, flymake-selected-frame)
6559 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6560 related functions. (Bug#16077)
6561
6562 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
6563
6564 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6565
6566 2013-12-07 Tassilo Horn <tsdh@gnu.org>
6567
6568 * help-fns.el (describe-function-1): Use new advice-* functions
6569 rather than old ad-* functions. Fix function type description and
6570 source links for advised functions and subrs.
6571
6572 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6573
6574 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
6575
6576 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
6577
6578 * progmodes/compile.el (compilation-start):
6579 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6580
6581 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6582 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
6583
6584 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6585
6586 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6587 Touch up the last change.
6588
6589 2013-12-06 Leo Liu <sdl.web@gmail.com>
6590
6591 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6592 (inferior-octave-startup): Always use "octave> " for prompt.
6593 (octave-goto-function-definition)
6594 (octave-sync-function-file-names)
6595 (octave-find-definition-default-filename): Remove redundant backquotes.
6596
6597 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6598
6599 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6600 syntax for `?'.
6601 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6602 where appropriate already.
6603 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6604 end of method names (Bug#15874).
6605
6606 2013-12-06 Juri Linkov <juri@jurta.org>
6607
6608 * isearch.el (isearch--saved-overriding-local-map):
6609 New internal variable.
6610 (isearch-mode): Set it to the initial value of
6611 `overriding-terminal-local-map'.
6612 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6613 with `isearch--saved-overriding-local-map'. (Bug#16035)
6614
6615 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6616
6617 * progmodes/octave.el (inferior-octave-completion-table):
6618 Turn back into function, use `completion-table-with-cache'
6619 (Bug#11906). Update all references.
6620
6621 * minibuffer.el (completion-table-with-cache): New function.
6622
6623 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
6624
6625 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6626
6627 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
6628
6629 * net/eww.el (eww-current-source): New variable to store page
6630 source.
6631 (eww-display-html, eww-mode, eww-save-history)
6632 (eww-restore-history): Use it.
6633 (eww-view-source): New command to view page source.
6634 Opportunistically uses `html-mode' to highlight the buffer.
6635 (eww-mode-map): Install it.
6636
6637 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
6638
6639 * net/dbus.el (dbus-unregister-service)
6640 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6641 Fix docstring.
6642 (dbus-unregister-service): Skip :serial entries in
6643 `dbus-registered-objects-table'.
6644 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6645
6646 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
6647
6648 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6649 around keywords with extra `split-string' argument.
6650
6651 2013-12-04 Martin Rudalics <rudalics@gmx.at>
6652
6653 * windmove.el (windmove-other-window-loc): Handle navigation
6654 between windows (excluding the minibuffer window - Bug#16017).
6655
6656 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
6657
6658 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6659 in D-Bus type syntax.
6660 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6661 preserve unibyte strings. (Bug#16048)
6662
6663 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6664
6665 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6666 Call force-mode-line-update is the proper buffer (bug#16042).
6667
6668 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
6669
6670 * vc/log-edit.el (log-edit-add-new-comment): Rename to
6671 `log-edit-remember-comment', make argument optional. Adjust all
6672 callers.
6673 (log-edit-mode): Add `log-edit-remember-comment' to
6674 `kill-buffer-hook' locally.
6675 (log-edit-kill-buffer): Don't remember comment explicitly since
6676 the buffer is killed anyway.
6677
6678 2013-12-04 Juri Linkov <juri@jurta.org>
6679
6680 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6681 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6682
6683 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
6684
6685 * notifications.el (notifications-close-notification): Call the
6686 D-Bus method with ID being a `:uint32'. (Bug#16030)
6687
6688 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6689
6690 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6691
6692 2013-12-03 Juri Linkov <juri@jurta.org>
6693
6694 * progmodes/compile.el (compilation-start): Rename window alist
6695 entry `no-display-ok' to `allow-no-window'.
6696
6697 * simple.el (shell-command): Add window alist entry
6698 `allow-no-window' to `display-buffer'.
6699 (async-shell-command): Doc fix.
6700
6701 * window.el (display-buffer-no-window): New action function.
6702 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6703
6704 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6705
6706 * vc/log-edit.el (log-edit-set-header): Extract from
6707 `log-edit-toggle-header'.
6708 (log-edit-extract-headers): Separate the summary, when extracted
6709 from header, from the rest of the message with an empty line.
6710
6711 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6712 line, if present, to the Summary header.
6713
6714 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6715
6716 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6717 in current-buffer (bug#16029).
6718
6719 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
6720
6721 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6722 (debugger-mode-map): Bind it.
6723 (debugger--backtrace-base): New function.
6724 (debugger-eval-expression): Use it.
6725 (debugger-frame-number): Skip local vars when present.
6726 (debugger--locals-visible-p, debugger--insert-locals)
6727 (debugger--show-locals, debugger--hide-locals): New functions.
6728
6729 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
6730
6731 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6732 "LC_ALL".
6733 (tramp-get-remote-locale): New defun.
6734 (tramp-open-connection-setup-interactive-shell): Use it.
6735
6736 2013-12-02 Leo Liu <sdl.web@gmail.com>
6737
6738 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6739
6740 * progmodes/sh-script.el (sh-shell-process):
6741 * progmodes/octave.el (inferior-octave-process-live-p):
6742 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6743 (gdb-inferior-io-sentinel):
6744 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6745
6746 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6747
6748 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6749 `save-selected-window' to `log-edit-hide-buf'. This makes
6750 `log-edit-show-files' idempotent.
6751 (log-edit-show-files): Mark the new window as dedicated.
6752
6753 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6754
6755 * vc/log-edit.el (log-edit-mode-map): Add binding for
6756 `log-edit-kill-biffer'.
6757 (log-edit-hide-buf): Add a FIXME comment.
6758 (log-edit-add-new-comment): New function, extracted from
6759 `log-edit-done'.
6760 (log-edit-done, log-edit-add-to-changelog): Use it.
6761 (log-edit-kill-buffer): New command.
6762
6763 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6764
6765 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6766 instead of killing the buffer.
6767
6768 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6769
6770 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6771
6772 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6773
6774 * net/eww.el (eww-form-checkbox-selected-symbol)
6775 (eww-form-checkbox-symbol): New customizable variable.
6776 (eww-form-checkbox, eww-toggle-checkbox):
6777 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6778
6779 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6780 (shr--get-media-pref, shr--extract-best-source): New function.
6781 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6782 no :src tag was specified.
6783
6784 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6785 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6786 Use \\` to match beginning of string instead of ^.
6787 (eww-browse-with-external-browser): Provide optional URL parameter.
6788 (eww-render): Set `eww-current-title' back to "".
6789
6790 * net/shr.el (shr-tag-video): Display content for video if no
6791 poster is available.
6792 (shr-tag-audio): Add support for <audio> tag.
6793
6794 * net/eww.el (eww-text-input-types): New const.
6795 (eww-process-text-input): Treat input types in
6796 `eww-text-input-types' as text.
6797
6798 * net/shr.el (shr-tag-table): Fix comment typo.
6799
6800 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6801
6802 * net/eww.el (eww-follow-link): New command to avoid reloading
6803 pages when we follow #target links (bug#15243).
6804 (eww-quit): Special mode buffers shouldn't query before exiting.
6805
6806 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6807
6808 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6809 forms.
6810
6811 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6812
6813 * net/eww.el (eww-restore-history): Update the window title after
6814 moving in the history.
6815 (eww-current-dom): New variable used to save the current DOM.
6816
6817 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6818
6819 * vc/log-edit.el (log-edit-mode-map): Add binding for
6820 `log-edit-beginning-of-line'.
6821 (log-edit-setup-add-author): New user option.
6822 (log-edit-beginning-of-line): New command.
6823 (log-edit): Move major mode call above the contents setup so that
6824 the local variable values are already applied.
6825 (log-edit): Only insert "Author: " when
6826 `log-edit-setup-add-author' is non-nil.
6827 (log-edit): When SETUP is non-nil, position point after ": "
6828 instead of point-min.
6829
6830 2013-12-01 Glenn Morris <rgm@gnu.org>
6831
6832 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6833
6834 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6835
6836 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6837 redisplay to make sure the initial frame gets a chance to become
6838 visible. (Bug#16014)
6839
6840 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6841
6842 Support resizing frames and windows pixelwise.
6843 * cus-start.el (frame-resize-pixelwise)
6844 (window-resize-pixelwise): New entries.
6845 * emacs-lisp/debug.el (debug): Use window-total-height instead
6846 of window-total-size.
6847 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6848 * help.el (describe-bindings-internal): Use help-buffer as
6849 argument for with-help-window.
6850 (temp-buffer-max-width): New option.
6851 (resize-temp-buffer-window, help-window-setup)
6852 (with-help-window): Rewrite.
6853 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6854 dragging dividers.
6855 * window.el (frame-char-size, window-min-pixel-height)
6856 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6857 (window-min-pixel-width, window-safe-min-pixel-size)
6858 (window-combination-p, window-safe-min-size)
6859 (window-resizable-p, window--size-to-pixel)
6860 (window--pixel-to-size, window--resize-apply-p): New functions.
6861 (window-safe-min-height): Fix doc-string.
6862 (window-size, window-min-size, window--min-size-1)
6863 (window-sizable, window-sizable-p, window--min-delta-1)
6864 (window-min-delta, window--max-delta-1, window-max-delta)
6865 (window--resizable, window--resizable-p, window-resizable)
6866 (window-full-height-p, window-full-width-p, window-at-side-p)
6867 (window--in-direction-2, window-in-direction)
6868 (window--resize-reset-1, window--resize-mini-window)
6869 (window-resize, window-resize-no-error)
6870 (window--resize-child-windows-normal)
6871 (window--resize-child-windows, window--resize-siblings)
6872 (window--resize-this-window, window--resize-root-window)
6873 (window--resize-root-window-vertically)
6874 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6875 (maximize-window, minimize-window, delete-window)
6876 (quit-restore-window, window-split-min-size, split-window)
6877 (balance-windows-2, balance-windows)
6878 (balance-windows-area-adjust, balance-windows-area)
6879 (window--state-get-1, window-state-get, window--state-put-1)
6880 (window--state-put-2, window-state-put)
6881 (display-buffer-record-window, window--display-buffer):
6882 Make functions handle pixelwise sizing of windows.
6883 (display-buffer--action-function-custom-type)
6884 (display-buffer-fallback-action):
6885 Add display-buffer-in-previous-window.
6886 (display-buffer-use-some-window): Resize window to height it had
6887 before.
6888 (fit-window-to-buffer-horizontally): New option.
6889 (fit-frame-to-buffer): Describe new values.
6890 (fit-frame-to-buffer-bottom-margin): Replace with
6891 fit-frame-to-buffer-margins.
6892 (window--sanitize-margin): New function.
6893 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6894 using window-text-pixel-size.
6895
6896 2013-11-30 Glenn Morris <rgm@gnu.org>
6897
6898 * emacs-lisp/bytecomp.el (byte-compile-form):
6899 Make the `interactive-only' warning like the `obsolete' one.
6900 * comint.el (comint-run):
6901 * files.el (insert-file-literally, insert-file):
6902 * replace.el (replace-string, replace-regexp):
6903 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6904 (goto-line, insert-buffer, next-line, previous-line):
6905 Tweak `interactive-only' spec.
6906
6907 Stop keeping (most) generated cedet grammar files in the repository.
6908 * Makefile.in (semantic): New.
6909 (compile-main): Depend on semantic.
6910
6911 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6912
6913 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6914 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6915
6916 * uniquify.el (uniquify-buffer-name-style): Change default.
6917
6918 * loadup.el: Preload "uniquify".
6919
6920 * time.el (display-time-update): Update all mode lines (bug#15999).
6921
6922 * electric.el (electric-indent-mode): Enable by default.
6923 * loadup.el: Preload "electric".
6924
6925 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6926
6927 * emacs-lisp/helpers.el (string-empty-p): New function.
6928 (string-blank-p): New function.
6929
6930 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6931
6932 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6933 (Bug#14029).
6934
6935 2013-11-29 Andreas Politz <politza@fh-trier.de>
6936 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6937 allow non-lambda lists as functions.
6938 (imenu--in-alist): Don't recurse into non-subalists.
6939 (imenu): Don't pass function itself as an argument (Bug#14029).
6940
6941 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6942
6943 * progmodes/python.el (python-mode-map): Remove binding for ":".
6944 (python-indent-electric-colon): Remove command.
6945 (python-indent-post-self-insert-function): Integrate the previous code
6946 of python-indent-electric-colon. Make it conditional on
6947 electric-indent-mode.
6948 (python-mode): Add ?: to electric-indent-chars.
6949 Move python-indent-post-self-insert-function to the end of
6950 post-self-insert-hook.
6951
6952 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6953
6954 * doc-view.el (doc-view-goto-page): Update mode-line.
6955
6956 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6957
6958 2013-11-27 Glenn Morris <rgm@gnu.org>
6959
6960 * international/charprop.el, international/uni-bidi.el:
6961 * international/uni-category.el, international/uni-combining.el:
6962 * international/uni-comment.el, international/uni-decimal.el:
6963 * international/uni-decomposition.el, international/uni-digit.el:
6964 * international/uni-lowercase.el, international/uni-mirrored.el:
6965 * international/uni-name.el, international/uni-numeric.el:
6966 * international/uni-old-name.el, international/uni-titlecase.el:
6967 * international/uni-uppercase.el:
6968 Remove generated files from VCS repository.
6969
6970 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6971
6972 * filenotify.el (file-notify-add-watch): Don't special-case
6973 w32notify when computing the directory to watch.
6974
6975 2013-11-27 Glenn Morris <rgm@gnu.org>
6976
6977 Make bootstrap without generated uni-*.el files possible again.
6978 * loadup.el: Update command-line-args checking for unidata-gen.
6979 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6980 * composite.el, international/characters.el:
6981 Handle unicode tables being undefined.
6982
6983 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6984 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6985 (compile-main): Depend on leim rule.
6986 (leim): New rule.
6987 * loadup.el: Move leim-list.el to leim/ subdirectory.
6988 * startup.el (normal-top-level): No more leim directory.
6989 * international/ja-dic-cnv.el (skkdic-convert):
6990 Disable version-control and autoloads in output files.
6991 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6992 Disable version-control and autoloads in output files.
6993 * leim/quail: Move here from ../leim.
6994 * leim/quail/hangul.el (hangul-input-method-activate):
6995 Add autoload cookie.
6996 (generated-autoload-load-name): Set file-local value.
6997 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6998 (generated-autoload-load-name): Set file-local value.
6999
7000 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
7001
7002 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7003 (eww-add-bookmark): Ask confirmation when add to bookmarks.
7004 (eww-quit): Ask confirmation before quitting eww.
7005
7006 2013-11-26 Eli Zaretskii <eliz@gnu.org>
7007
7008 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
7009 reading output from Diff on MS-Windows and MS-DOS.
7010
7011 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
7012
7013 * emacs-lisp/helpers.el (string-reverse): New function.
7014
7015 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
7016
7017 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
7018 names on MS Windows, like "/[::1]:".
7019
7020 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
7021 SWITCHES.
7022
7023 2013-11-26 Glenn Morris <rgm@gnu.org>
7024
7025 * progmodes/python.el (python-indent-guess-indent-offset):
7026 Avoid corner-case error. (Bug#15975)
7027
7028 Preload leim-list.el. (Bug#4789)
7029 * loadup.el: Load leim-list.el when found.
7030 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
7031
7032 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
7033
7034 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
7035
7036 * emacs-lisp/helpers.el (string-join): New function.
7037
7038 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
7039
7040 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7041 Mark as obsolete and replace it with a symbol property.
7042 (byte-compile-form): Use new 'interactive-only property.
7043 * comint.el, files.el, replace.el, simple.el:
7044 Apply new 'interactive-only properly.
7045
7046 2013-11-25 Martin Rudalics <rudalics@gmx.at>
7047
7048 * window.el (display-buffer-at-bottom): Make sure that
7049 split-window-sensibly creates the new window on bottom
7050 (Bug#15961).
7051
7052 2013-11-23 David Kastrup <dak@gnu.org>
7053
7054 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
7055 on the conflict markers when available.
7056 (smerge--get-marker): New function.
7057 (smerge-end-re, smerge-base-re): Add subgroup.
7058
7059 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
7060
7061 * frame.el (handle-focus-in, handle-focus-out): Add missing
7062 interactive spec.
7063
7064 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
7065
7066 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7067 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
7068
7069 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
7070
7071 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
7072 (gomoku--last-pos): New var.
7073 (gomoku--intangible-chars): New const.
7074 (gomoku--intangible): New function.
7075 (gomoku-mode): Use it. Derive from special-mode.
7076 (gomoku-move-up): Adjust line count.
7077 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
7078 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
7079 Simplify accordingly.
7080
7081 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
7082 Remove blink-cursor code.
7083 (blink-cursor-timer-function, blink-cursor-suspend):
7084 Don't special-case GUIs.
7085 (blink-cursor-mode): Use focus-in/out-hook.
7086
7087 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
7088
7089 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
7090 work when annotation is invisible (Bug#13886).
7091
7092 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7093
7094 * json.el (json-alist-p): Only return non-nil if the alist has
7095 simple keys (Bug#13518).
7096
7097 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
7098
7099 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
7100 when control-statement is the first statement in a buffer (Bug#15956).
7101
7102 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
7103
7104 * imenu.el (imenu-generic-skip-comments-and-strings):
7105 New option (Bug#15560).
7106 (imenu--generic-function): Use it.
7107
7108 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
7109
7110 * minibuffer.el (completion--in-region-1): Scroll the correct window.
7111 (Bug#13898)
7112
7113 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
7114
7115 * emacs-lisp/helpers.el: Add some string helpers.
7116 (string-trim-left): Removes leading whitespace.
7117 (string-trim-right): Removes trailing whitespace.
7118 (string-trim): Removes leading and trailing whitespace.
7119
7120 * subr.el (string-suffix-p): New function.
7121
7122 2013-11-23 Glenn Morris <rgm@gnu.org>
7123
7124 * progmodes/python.el (python-shell-send-file):
7125 Add option to delete file when done. (Bug#15647)
7126 (python-shell-send-string, python-shell-send-region): Use it.
7127
7128 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
7129
7130 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
7131 to set buffer-read-only to t, never to nil. (Bug#15938)
7132
7133 * textmodes/tex-mode.el (latex-noindent-environments):
7134 Add safe-local-variable property. (Bug#15936)
7135
7136 2013-11-23 Glenn Morris <rgm@gnu.org>
7137
7138 * textmodes/enriched.el (enriched-mode): Doc fix.
7139 * emacs-lisp/authors.el (authors-renamed-files-alist):
7140 Add enriched.doc -> enriched.txt.
7141
7142 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
7143
7144 2013-11-22 Leo Liu <sdl.web@gmail.com>
7145
7146 * progmodes/octave.el (inferior-octave-startup): Spit out error
7147 message.
7148
7149 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
7150
7151 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7152 Improve docstring.
7153 Add :version.
7154 (ruby-encoding-magic-comment-style): Add :version.
7155
7156 2013-11-22 Leo Liu <sdl.web@gmail.com>
7157
7158 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
7159 (Bug#15076)
7160 (octave-help-mode): Adapt to change to help-mode-finish to use
7161 derived-mode-p on 2013-09-17.
7162 (inferior-octave-prompt): Also match octave-gui.
7163 (octave-kill-process): Don't ask twice. (Bug#10564)
7164
7165 2013-11-22 Leo Liu <sdl.web@gmail.com>
7166
7167 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
7168 (inferior-octave-startup, inferior-octave-check-process)
7169 (inferior-octave-track-window-width-change)
7170 (octave-completion-at-point, octave-eldoc-function): Use it.
7171 (octave-kill-process): Provide confirmation. (Bug#10564)
7172
7173 2013-11-21 Leo Liu <sdl.web@gmail.com>
7174
7175 * progmodes/octave.el (octave-mode, inferior-octave-mode):
7176 Fix obsolete variable comment-use-global-state.
7177
7178 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7179
7180 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
7181 Add `octave-source-file'.
7182 (octave-source-file): New function. (Bug#15935)
7183
7184 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
7185
7186 * net/eww.el (eww-local-regex): New variable.
7187 (eww): Use it to detect localhost and similar.
7188
7189 2013-11-21 Leo Liu <sdl.web@gmail.com>
7190
7191 Add completion for command `ag'.
7192 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
7193 (pcomplete/ag): New function.
7194 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
7195
7196 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7197
7198 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
7199 (bug#14646).
7200 (make-obsolete): Remove interactive spec.
7201
7202 2013-11-21 Glenn Morris <rgm@gnu.org>
7203
7204 * startup.el (command-line-1): Use path-separator with -L.
7205
7206 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
7207
7208 * emacs-lisp/package.el (describe-package-1): Add package archive
7209 to shown fields.
7210
7211 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7212
7213 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7214 Change default to "# encoding: %s" to differentiate it from the
7215 default Ruby encoding comment template.
7216
7217 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
7218
7219 * ses.el (ses-mode): Doc fix. (Bug#14748)
7220
7221 2013-11-20 Leo Liu <sdl.web@gmail.com>
7222
7223 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
7224
7225 2013-11-19 Dan Nicolaescu <dann@gnu.org>
7226
7227 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
7228 when rebase or bisect are in progress.
7229
7230 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
7231
7232 * filenotify.el (file-notify-add-watch): Doc fix.
7233
7234 2013-11-19 Leo Liu <sdl.web@gmail.com>
7235
7236 * obsolete/rcompile.el: Mark obsolete.
7237
7238 * progmodes/compile.el (compilation-start)
7239 (compilation-goto-locus, compilation-find-file):
7240 Pass no-display-ok and handle nil value from display-buffer.
7241 (Bug#13594)
7242
7243 * window.el (display-buffer-alist, display-buffer): Document the
7244 new parameter no-display-ok. Return either a window or nil
7245 but never a non-window value.
7246
7247 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7248
7249 * electric.el (electric-indent-mode-map): Remove.
7250 (electric-indent-mode): Change the global-map instead (bug#15915).
7251
7252 * textmodes/text-mode.el (paragraph-indent-minor-mode):
7253 Use add-function.
7254
7255 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
7256
7257 * emacs-lisp/nadvice.el (remove-function): Align with
7258 add-function's behavior.
7259
7260 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
7261 (gdb--string-regexp): New constant.
7262 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
7263 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
7264 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
7265 submatch 1.
7266 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
7267 Adjust use accordingly.
7268 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
7269
7270 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
7271
7272 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
7273 interpolation curlies (Bug#15914).
7274
7275 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
7276
7277 * calc/calc.el (calc-context-sensitive-enter): New variable.
7278 (calc-enter): Use `calc-context-sensitive-enter'.
7279
7280 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
7281
7282 * progmodes/cfengine.el: Version bump.
7283 (cfengine-cf-promises): New defcustom to locate cf-promises.
7284 (cfengine3-vartypes): Add new "data" type.
7285 (cfengine3--current-word): New function to get current name-like
7286 word or its bounds.
7287 (cfengine3--current-function): New function to look up a CFEngine
7288 function's definition.
7289 (cfengine3-format-function-docstring): New function.
7290 (cfengine3-make-syntax-cache): New function.
7291 (cfengine3-documentation-function): New function: ElDoc glue.
7292 (cfengine3-completion-function): New function: completion glue.
7293 (cfengine3-mode): Set `compile-command',
7294 `eldoc-documentation-function', and add to
7295 `completion-at-point-functions'.
7296
7297 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
7298
7299 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7300 `tramp-current-connection'.
7301
7302 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
7303
7304 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
7305 nil/self/true/false with "end of symbol".
7306
7307 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
7308
7309 * subr.el (version-regexp-alist): Fix a typo.
7310
7311 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
7312
7313 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
7314 "en_US.utf8" and "LC_CTYPE" to "".
7315 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
7316 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
7317
7318 2013-11-15 Leo Liu <sdl.web@gmail.com>
7319
7320 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
7321
7322 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7323
7324 * progmodes/gud.el (ctl-x-map):
7325 Remove C-x SPC binding. (Bug#12342)
7326 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
7327
7328 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
7329
7330 * subr.el (version-regexp-alist):
7331 Recognize hg, svn and darcs versions as snapshot versions.
7332
7333 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
7334 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
7335 (ruby--encoding-comment-required-p): Extract from
7336 `ruby-mode-set-encoding'.
7337 (ruby-mode-set-encoding): Add the ability to always insert an
7338 utf-8 encoding comment. Fix and simplify coding comment update
7339 logic.
7340
7341 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
7342
7343 * net/tramp-gvfs.el (top): Run init code only when
7344 `tramp-gvfs-enabled' is not nil.
7345 (tramp-gvfs-enabled): Check also :system bus.
7346
7347 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7348
7349 Sync with upstream verilog-mode revision 78e66ba.
7350 * progmodes/verilog-mode.el (verilog-end-of-defun)
7351 (verilog-type-completion, verilog-get-list): Remove unused funcs.
7352 (verilog-get-end-of-defun): Remove unused argument.
7353 (verilog-comment-depth): Remove unused local `e'.
7354 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
7355 Don't pass arg to verilog-get-end-of-defun.
7356
7357 2013-11-14 Glenn Morris <rgm@gnu.org>
7358
7359 * obsolete/assoc.el (aget): Prefix dynamic variable.
7360
7361 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
7362
7363 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7364
7365 * widget.el, hfy-cmap.el: Remove bogus package version number.
7366
7367 2013-11-13 Glenn Morris <rgm@gnu.org>
7368
7369 * replace.el (replace-eval-replacement):
7370 Try to give more helpful error message. (Bug#15836)
7371
7372 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7373 (archive-7z-update): Avoid custom type mismatches.
7374
7375 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
7376
7377 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
7378
7379 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
7380 address can be empty.
7381
7382 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
7383 Accept nil SWITCHES.
7384 (tramp-gvfs-handle-write-region): Implement APPEND.
7385
7386 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
7387
7388 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
7389 binary "|" operator and closing block args delimiter.
7390 Remove FIXME comment referring to Ruby 1.8-only syntax.
7391 (ruby-smie--implicit-semi-p): Not after "|" operator.
7392 (ruby-smie--closing-pipe-p): New function.
7393 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
7394 (ruby-smie-rules): Indent after "|".
7395
7396 2013-11-12 Glenn Morris <rgm@gnu.org>
7397
7398 * ps-print.el (ps-face-attribute-list):
7399 Handle anonymous faces. (Bug#15827)
7400
7401 2013-11-12 Martin Rudalics <rudalics@gmx.at>
7402
7403 * window.el (display-buffer-other-frame): Fix doc-string.
7404 (Bug#15868)
7405
7406 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7407
7408 * subr.el (force-mode-line-update): Delete, move to buffer.c.
7409
7410 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
7411
7412 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
7413 (tramp-sh-handle-file-local-copy): Don't write a message when
7414 saving temporary files.
7415
7416 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
7417 both directories are remote.
7418 (tramp-smb-handle-directory-files): Do not return double entries.
7419 Do not expand full file names.
7420 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
7421 (tramp-smb-handle-write-region): Implement APPEND.
7422 (tramp-smb-get-stat-capability): Fix a stupid bug.
7423
7424 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7425
7426 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
7427
7428 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7429
7430 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
7431 throwing error over malformed let/let* (bug#15814).
7432
7433 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7434
7435 * iswitchb.el (iswitchb-mode): Mark obsolete.
7436
7437 2013-11-11 Glenn Morris <rgm@gnu.org>
7438
7439 * international/uni-bidi.el, international/uni-category.el:
7440 * international/uni-name.el, international/uni-numeric.el:
7441 Regenerate for Unicode 6.3.0.
7442
7443 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
7444
7445 * net/tramp.el (tramp-methods):
7446 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
7447 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
7448
7449 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
7450
7451 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7452 Force highlighting text after Summary keyword in doc face for rpm.
7453
7454 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
7455
7456 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
7457 available and the word has no wildcards, append one to the grep pattern.
7458 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
7459 (ispell-complete-word): Call `ispell-lookup-words' with the value
7460 independent of `ispell-look-p'.
7461
7462 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7463
7464 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
7465 Not after "||".
7466 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
7467 their parent.
7468
7469 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7470
7471 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
7472 (ruby-font-lock-keywords): Use backquote.
7473
7474 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7475
7476 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7477 (ruby-smie--backward-token): Only consider full-string matches.
7478
7479 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
7480
7481 * faces.el (describe-face): Add distant-foreground.
7482
7483 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
7484
7485 * progmodes/ruby-mode.el: Improve encoding comment handling.
7486 (ruby-encoding-magic-comment-style): New option.
7487 (ruby-custom-encoding-magic-comment-template): New option.
7488 (ruby--insert-coding-comment, ruby--detect-encoding):
7489 New functions extracted from `ruby-mode-set-encoding'.
7490 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
7491 to control the style of the auto-inserted encoding comment.
7492
7493 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7494
7495 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
7496 Use `smie-backward-sexp' with token argument.
7497
7498 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
7499
7500 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7501 Remove instrumentation code.
7502
7503 2013-11-08 Glenn Morris <rgm@gnu.org>
7504
7505 * progmodes/autoconf.el (autoconf-mode):
7506 Tweak comment-start-skip. (Bug#15822)
7507
7508 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7509
7510 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
7511 at bobp (bug#15826).
7512 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
7513
7514 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
7515
7516 * man.el (Man-start-calling): New macro, extracted from
7517 Man-getpage-in-background.
7518 (Man-getpage-in-background): Use it.
7519 (Man-update-manpage): New command.
7520 (Man-mode-map): Bind it.
7521
7522 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7523
7524 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
7525 of "and", "or", "&&" and "||".
7526 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
7527 argument. Prohibit opening curly brace because it could only be a
7528 block opener in that position.
7529 (ruby-smie--forward-token, ruby-smie--backward-token):
7530 Separate "|" from "&" or "*" going after it. That can happen in block
7531 arguments.
7532 (ruby-smie--indent-to-stmt): New function, seeks the end of
7533 previous statement or beginning of buffer.
7534 (ruby-smie-rules): Use it.
7535 (ruby-smie-rules): Check if there's a ":" before a curly block
7536 opener candidate; if there is, it's a hash.
7537
7538 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7539
7540 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
7541 (cl--block-wrapper): Fix last accidental change.
7542
7543 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
7544
7545 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7546 Instrument, in order to hunt failure on hydra.
7547
7548 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7549
7550 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
7551 malformed bindings form (bug#15814).
7552
7553 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
7554
7555 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
7556 "." compared to " @ ". This incidentally fixes some indentation
7557 examples with "do".
7558 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
7559 (ruby-smie-grammar): New tokens: "and" and "or".
7560 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7561 Exclude "and" and "or". Remove "do" in order to work around token
7562 priorities.
7563 (ruby-smie-rules): Add all infix tokens. Handle the case of
7564 beginning-of-buffer.
7565
7566 2013-11-06 Glenn Morris <rgm@gnu.org>
7567
7568 * Makefile.in (setwins_almost, setwins_for_subdirs):
7569 Avoid accidental matches.
7570
7571 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7572
7573 * menu-bar.el (popup-menu): Use key-binding.
7574
7575 2013-11-06 Eli Zaretskii <eliz@gnu.org>
7576
7577 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7578 menus, support also the menus produced by minor modes.
7579 (Bug#15817)
7580
7581 2013-11-06 Leo Liu <sdl.web@gmail.com>
7582
7583 * thingatpt.el (thing-at-point-looking-at): Add optional arg
7584 DISTANCE to bound the search. All uses changed. (Bug#15808)
7585
7586 2013-11-06 Glenn Morris <rgm@gnu.org>
7587
7588 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7589 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7590 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7591
7592 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7593
7594 * electric.el (electric-indent-just-newline): New command.
7595 (electric-indent-mode-map): New keymap.
7596 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7597 Re-add :group which weren't redundant.
7598
7599 * electric.el (electric-indent-local-mode): New minor mode.
7600 (electric-indent-functions-without-reindent): New var.
7601 (electric-indent-post-self-insert-function): Use it.
7602 * emacs-lisp/gv.el (buffer-local-value): Add setter.
7603
7604 2013-11-05 Eli Zaretskii <eliz@gnu.org>
7605
7606 * international/quail.el (quail-help): Be more explicit about the
7607 meaning of the labels shown on the keys. (Bug#15800)
7608
7609 * startup.el (normal-top-level): Load the subdirs.el files before
7610 setting the locale environment. (Bug#15805)
7611
7612 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
7613
7614 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7615 via arguments so as to get the right ones (bug#15418).
7616
7617 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7618
7619 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
7620
7621 Fix problems found while writing a test suite.
7622
7623 * net/tramp-compat.el (tramp-compat-load): New defun.
7624 * net/tramp.el (tramp-handle-load): Use it.
7625
7626 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7627 "(numberp ok-if-already-exists)" correctly.
7628
7629 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
7630
7631 * international/characters.el (glyphless-char-display-control):
7632 Add usage note.
7633
7634 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
7635
7636 * progmodes/python.el (python-mode):
7637 * progmodes/scheme.el (scheme-mode):
7638 * progmodes/prolog.el (prolog-mode):
7639 * progmodes/ruby-mode.el (ruby-mode):
7640 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7641 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7642
7643 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7644
7645 * rect.el (rectangle--highlight-for-redisplay):
7646 * emacs-lisp/smie.el (smie--next-indent-change):
7647 Use buffer-chars-modified-tick.
7648
7649 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7650
7651 * electric.el (electric-indent-post-self-insert-function):
7652 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7653
7654 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
7655
7656 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7657
7658 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7659
7660 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7661 (bug#15786).
7662
7663 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7664
7665 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
7666
7667 * progmodes/python.el: Fix up last change.
7668 (python-shell--save-temp-file): New function.
7669 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
7670 `string' comes from the current buffer.
7671 (python-shell-send-string-no-output): Remove `msg' arg.
7672 (python--use-fake-loc): New var.
7673 (python-shell-buffer-substring): Obey it. Try to compensate for the
7674 extra coding line added by python-shell--save-temp-file.
7675 (python-shell-send-region): Use python-shell--save-temp-file and
7676 python-shell-send-file directly. Add `nomain' argument.
7677 (python-shell-send-buffer): Use python-shell-send-region.
7678 (python-electric-pair-string-delimiter): New function.
7679 (python-mode): Use it.
7680
7681 2013-11-04 Eli Zaretskii <eliz@gnu.org>
7682
7683 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7684 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7685 environment and decoding all of the default-directory's to here
7686 from command-line.
7687 (command-line): Decode also argv[0].
7688
7689 * loadup.el: Error out if default-directory is a multibyte string
7690 when we are dumping.
7691
7692 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7693
7694 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7695
7696 * emacs-lisp/package.el (package-menu-mode)
7697 (package-menu--print-info, package-menu--archive-predicate):
7698 Add Archive column to package list.
7699
7700 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
7701
7702 Fix problems found while writing a test suite.
7703
7704 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7705 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7706 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7707 to nil when running original file name handler. Otherwise,
7708 there are problems with constructs like "$$FOO".
7709
7710 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7711 for `localname'.
7712
7713 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7714
7715 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7716
7717 * subr.el (version<, version<=, version=):
7718 Update docstrings with information for snapshot versions.
7719
7720 * helpers.el: New library for misc helper functions.
7721 (hash-table-keys): New function returning a list of hash keys.
7722 (hash-table-values): New function returning a list of hash values.
7723
7724 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7725
7726 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7727 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7728
7729 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
7730
7731 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7732 checking whether point is after a 1-letter word.
7733
7734 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7735
7736 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7737 Don't infloop when expanding region over `multiline' syntax-type that
7738 begins a line (bug#15778).
7739
7740 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7741
7742 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7743 Make it into a proper minor mode.
7744 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
7745 (rectangle-mark-mode-map): New keymap.
7746 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7747
7748 2013-11-04 Glenn Morris <rgm@gnu.org>
7749
7750 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7751
7752 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7753
7754 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7755 (ruby-smie-rules): Use smie-rule-parent instead.
7756
7757 * emacs-lisp/smie.el (smie-rule-parent): Always call
7758 smie-indent-virtual rather than only for hanging tokens.
7759 (smie--next-indent-change): New helper command.
7760
7761 2013-11-03 Glenn Morris <rgm@gnu.org>
7762
7763 * Makefile.in (abs_srcdir): Remove.
7764 (emacs): Unset EMACSLOADPATH.
7765
7766 2013-11-02 Glenn Morris <rgm@gnu.org>
7767
7768 * Makefile.in (EMACS): Use a relative filename.
7769 (abs_top_builddir): Remove.
7770 (custom-deps, finder-data, autoloads): Use --chdir.
7771
7772 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7773
7774 Use relative filenames in TAGS files.
7775 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7776 (lisptagsfiles4, TAGS): Use relative file names.
7777 (TAGS-LISP): Remove.
7778 (maintainer-clean): No more TAGS-LISP file.
7779
7780 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7781 (lisptagsfiles4): Use absolute filenames again.
7782 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7783 Remove all *loaddefs files, not just the first. Remove esh-groups.
7784 (maintainer-clean): Delete TAGS, TAGS-LISP.
7785
7786 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7787
7788 * emacs-lisp/package.el (package-version-join):
7789 Recognize snapshot versions.
7790
7791 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7792
7793 * subr.el (version-regexp-alist): Add support for snapshot versions.
7794
7795 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7796
7797 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7798 New function, replacement for `smie-rule-parent' for when we want to
7799 skip over our direct parent if it's an assignment token..
7800 (ruby-smie-rules): Use it.
7801
7802 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7803
7804 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7805 unconditionally. Remove now unnecessary forward declarations.
7806 Remove XEmacs-specific setup.
7807 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7808 (ruby-font-lock-syntactic-keywords)
7809 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7810 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7811 (ruby-here-doc-end-syntax): Remove.
7812 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7813 defined as function.
7814
7815 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7816
7817 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7818
7819 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7820
7821 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7822 table and abbrev table, `define-derived-mode' does that for us
7823 anyway.
7824
7825 2013-11-01 Glenn Morris <rgm@gnu.org>
7826
7827 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7828 files is atomic for some time, so no parallel compilation issues).
7829
7830 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7831
7832 * faces.el (face-x-resources): Add :distant-foreground.
7833 (region): Use :distant-foreground for gtk and ns.
7834
7835 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7836
7837 Allow multiple bibliographies when BibLaTeX is used rather than
7838 BibTeX.
7839 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7840 (reftex-locate-bibliography-files): Us it.
7841
7842 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7843
7844 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7845 allow comments in pbm files.
7846
7847 * term/w32-win.el (dynamic-library-alist): Support newer versions
7848 of libjpeg starting with v7: look only for the DLL from the
7849 version against which Emacs was built.
7850 Support versions of libpng beyond 1.4.x.
7851 Support libtiff v4.x.
7852
7853 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7854
7855 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7856 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7857 Add property :safe.
7858 (ruby-deep-arglist): Add property :type.
7859
7860 2013-10-31 Glenn Morris <rgm@gnu.org>
7861
7862 * Makefile.in (custom-deps, finder-data): No need to setq the target
7863 variables, we are in the right directory and the defaults work fine.
7864
7865 2013-10-30 Glenn Morris <rgm@gnu.org>
7866
7867 * Makefile.in (autoloads): Do not use abs_lisp.
7868
7869 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7870 `newline' does not respect `standard-output', so use `princ'.
7871
7872 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7873
7874 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7875 * buff-menu.el (Buffer-menu--unmark): New function.
7876 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7877
7878 2013-10-30 Glenn Morris <rgm@gnu.org>
7879
7880 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7881
7882 * emacs-lisp/package.el (lm-homepage): Declare.
7883
7884 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7885 Fix doc typos.
7886
7887 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7888
7889 * Makefile.in (finder-data, autoloads, update-subdirs)
7890 (compile-main, compile-clean, compile-always, bootstrap-clean):
7891 Check return value of cd.
7892 (compile-calc): Remove.
7893
7894 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7895
7896 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7897
7898 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7899 (byte-compile-and-folded): New function.
7900 (=, <, >, <=, >=): Use it.
7901
7902 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7903 (path-separator, null-device, buffer-file-coding-system)
7904 (lpr-headers-switches): Check system-type before modifying them.
7905 (find-buffer-file-type-coding-system): Mark obsolete.
7906 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7907 find-file-not-found-set-buffer-file-coding-system.
7908 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7909 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7910 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7911 (w32-direct-print-region-helper, w32-direct-print-region-function)
7912 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7913 * startup.el (normal-top-level-add-subdirs-to-load-path):
7914 * ps-print.el (ps-print-region-function):
7915 * lpr.el (print-region-function): Use new name.
7916
7917 * subr.el (custom-declare-variable-early): Remove function.
7918 (custom-declare-variable-list): Remove var.
7919 (error, user-error): Remove `while' loop.
7920 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7921 (user-emacs-directory-warning, locate-user-emacs-file):
7922 Move to files.el.
7923 * simple.el (read-quoted-char-radix, read-quoted-char):
7924 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7925 Move from subr.el.
7926 * custom.el (custom-declare-variable-list): Don't process
7927 custom-declare-variable-list.
7928
7929 * progmodes/python.el (python-shell-get-buffer): New function.
7930 (python-shell-get-process): Use it.
7931 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7932 Python which encoding was used. Don't split-string since we only care
7933 about the first line. Return the temp-file, if applicable.
7934 (python-shell-send-region): Tell compile.el how to turn locations in
7935 the temp-file into locations in the source buffer.
7936
7937 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7938
7939 * subr.el (undefined): Add missing behavior from the C code for
7940 unbound keys.
7941
7942 * rect.el: Use lexical-binding. Add new rectangular region support.
7943 (rectangle-mark): New command.
7944 (rectangle--region): New var.
7945 (deactivate-mark-hook): Reset rectangle--region.
7946 (rectangle--extract-region, rectangle--insert-for-yank)
7947 (rectangle--highlight-for-redisplay)
7948 (rectangle--unhighlight-for-redisplay): New functions.
7949 (region-extract-function, redisplay-unhighlight-region-function)
7950 (redisplay-highlight-region-function): Use them to handle
7951 rectangular region.
7952 * simple.el (region-extract-function): New var.
7953 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7954 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7955 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7956 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7957 (redisplay-unhighlight-region-function)
7958 (redisplay-highlight-region-function): New vars.
7959 (redisplay--update-region-highlight): New function.
7960 (pre-redisplay-function): Use it.
7961 (exchange-point-and-mark): Don't deactivate the mark before
7962 reactivate-it anyway.
7963 * comint.el (comint-kill-region): Remove yank-handler argument.
7964 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7965 (delete-char): Remove property, since it's now part of their
7966 default behavior.
7967 (self-insert-iso): Remove property since this command doesn't exist.
7968
7969 * emacs-lisp/package.el (package--download-one-archive)
7970 (describe-package-1): Don't query the user about final newline.
7971
7972 2013-10-29 Daniel Colascione <dancol@dancol.org>
7973
7974 * net/tramp.el (tramp-methods): Document new functionality.
7975 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7976 tramp-hostname-checker if method provides one instead of scanning
7977 argument list for "%h" to decide hostname acceptability.
7978
7979 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7980
7981 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7982 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7983 Handle COPY-CONTENTS. (Bug#15737)
7984
7985 2013-10-28 Daiki Ueno <ueno@gnu.org>
7986
7987 * epa-file.el
7988 (epa-file-cache-passphrase-for-symmetric-encryption):
7989 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7990
7991 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7992
7993 * image.el (defimage, image-load-path): Doc fixes.
7994
7995 2013-10-27 Alan Mackenzie <acm@muc.de>
7996
7997 Indent statements in macros following "##" correctly.
7998 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7999 Modify the "#" arm of a cond form to handle "#" and "##" operators.
8000
8001 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
8002
8003 * linum.el (linum-update-window): Fix boundary test (bug#13446).
8004
8005 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
8006
8007 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
8008 after `=' is probably a new expression.
8009
8010 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8011
8012 * man.el (man-imenu-title): New option.
8013 (Man-mode-map): Add menu. (Bug#15722)
8014 (Man-mode): Add imenu to menu.
8015
8016 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
8017
8018 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
8019 specific in what the first arg can be: a non-keyword word,
8020 string/regexp/percent literal opener, opening paren, or unary
8021 operator followed directly by word.
8022
8023 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8024
8025 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
8026 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
8027 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
8028 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
8029 Remove vars, they do not apply any more.
8030 (prolog-mode-abbrev-table): Remove redundant declaration.
8031 (prolog-upper-case-string, prolog-lower-case-string): Remove.
8032 (prolog-use-smie): Remove.
8033 (prolog-smie-rules): Add indentation rule for the if-then-else layout
8034 supported by prolog-electric-if-then-else-flag.
8035 (prolog-mode-variables, prolog-menu): Use setq-local.
8036 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
8037 Remove binding to `Backspace' since this key doesn't exist anyway.
8038 Remove bindings for electric self-inserting keys.
8039 (prog-mode): Assume it's defined.
8040 (prolog-post-self-insert): New function.
8041 (prolog-mode): Use it.
8042 (prolog-indent-line, prolog-indent-level)
8043 (prolog-find-indent-of-matching-paren)
8044 (prolog-indentation-level-of-line, prolog-goto-comment-column)
8045 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
8046 (prolog-goto-next-paren, prolog-in-string-or-comment)
8047 (prolog-tokenize, prolog-inside-mline-comment)
8048 (prolog-find-start-of-mline-comment): Remove functions.
8049 (prolog-find-unmatched-paren, prolog-clause-end)
8050 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
8051 (prolog-electric--if-then-else): Rename from
8052 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
8053 (prolog-tokenize-searchkey): Remove const.
8054 (prolog-clause-info): Use forward-sexp.
8055 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
8056 (prolog-electric-if-then-else): Remove commands.
8057 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
8058 for use in post-self-insert-hook.
8059 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
8060 for use in post-self-insert-hook.
8061 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
8062 for use in post-self-insert-hook.
8063 (prolog-electric--underscore): Rename from prolog-electric--underscore;
8064 adapt it for use in post-self-insert-hook.
8065
8066 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
8067
8068 * emacs-lisp/ert.el (ert-run-tests-interactively):
8069 Use `completing-read'. (Bug#9756)
8070
8071 2013-10-25 Eli Zaretskii <eliz@gnu.org>
8072
8073 * simple.el (line-move): Call line-move-1 instead of
8074 line-move-visual when the current window hscroll is zero, but
8075 temporary-goal-column indicates we will need to hscroll as result
8076 of the movement. (Bug#15712)
8077
8078 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
8079
8080 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
8081 capitalization. Use :visible instead of :active.
8082 Fix `ruby-indent-exp' reference. Add menu items for the generic
8083 commands that are used with SMIE.
8084 (ruby-do-end-to-brace): Insert space after `{'.
8085
8086 2013-10-25 John Anthony <john@jo.hnanthony.com>
8087
8088 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
8089
8090 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
8091
8092 2013-10-25 Glenn Morris <rgm@gnu.org>
8093
8094 * vc/vc.el (vc-print-log): Don't use a working revision unless
8095 one was explicitly specified. (Bug#15322)
8096
8097 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8098
8099 * subr.el (add-to-list): Preserve return value in compiler-macro
8100 (bug#15692).
8101
8102 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8103
8104 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
8105 result. Ask user to retry using '-all' flag. (Bug#15701)
8106
8107 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8108
8109 * emacs-lisp/smie.el: New smie-config system.
8110 (smie-config): New defcustom.
8111 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
8112 (smie-config-guess, smie-config-save): New commands.
8113 (smie-config--mode-local, smie-config--buffer-local)
8114 (smie-config--trace, smie-config--modefuns): New vars.
8115 (smie-config--advice, smie-config--mode-hook)
8116 (smie-config--setter, smie-config-local, smie-config--get-trace)
8117 (smie-config--guess-value, smie-config--guess): New functions.
8118 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
8119 text properties. Treat "string fence" syntax like string syntax.
8120
8121 * progmodes/sh-script.el (sh-use-smie): Change default.
8122 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
8123 (sh-var-value): Simplify by CSE.
8124 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
8125 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
8126 is used.
8127 (sh-guess-basic-offset): Use cl-incf.
8128 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
8129
8130 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
8131
8132 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
8133 (bug#15699).
8134
8135 2013-10-24 Glenn Morris <rgm@gnu.org>
8136
8137 * Makefile.in (abs_top_srcdir): Remove.
8138 (update-subdirs): Use relative path to update-subdirs.
8139
8140 2013-10-24 Eli Zaretskii <eliz@gnu.org>
8141
8142 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
8143 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
8144 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
8145 Call unmsys--file-name before expand-file-name, not after it.
8146
8147 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
8148
8149 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
8150 (ert-test-skipped): New error.
8151 (ert-skip, ert-stats-skipped): New defuns.
8152 (ert--skip-unless): New macro.
8153 (ert-test-skipped): New struct.
8154 (ert--run-test-debugger, ert-test-result-type-p)
8155 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
8156 (ert--stats-set-test-and-result, ert-char-for-test-result)
8157 (ert-string-for-test-result, ert-run-tests-batch)
8158 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
8159 Handle skipped tests. (Bug#9803)
8160
8161 2013-10-24 Glenn Morris <rgm@gnu.org>
8162
8163 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
8164
8165 * Makefile.in (abs_top_srcdir): New, set by configure.
8166 (update-subdirs): Correct build-aux location.
8167
8168 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
8169
8170 * vc/vc.el (vc-print-root-log): Always set `default-directory'
8171 value, whether we could auto-deduce `backend', or not.
8172
8173 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
8174 with parameters" example. Simplify the "is it block or is it
8175 hash" check, but also make it more thorough.
8176
8177 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
8178
8179 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
8180
8181 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
8182
8183 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
8184 { if it is hanging.
8185
8186 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
8187 :before ";".
8188
8189 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
8190
8191 * progmodes/compile.el (compilation-directory-matcher)
8192 (compilation-page-delimiter):
8193 Support GNU Make-4.0 directory quoting. (Bug#15678)
8194
8195 2013-10-23 Leo Liu <sdl.web@gmail.com>
8196
8197 * ido.el (ido-tidy): Handle read-only text.
8198
8199 2013-10-23 Glenn Morris <rgm@gnu.org>
8200
8201 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
8202 (emacs, compile, compile-always):
8203 Quote entities that might contain whitespace.
8204 (custom-deps, finder-data, autoloads): Use abs_lisp.
8205 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8206 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8207 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
8208
8209 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
8210
8211 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
8212 Use `following-char'.
8213
8214 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
8215
8216 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
8217 * progmodes/ruby-mode.el (ruby-smie-rules):
8218 Remove corresponding workaround. Fix indentation rule of ";" so it
8219 also applies when ";" is the parent.
8220
8221 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
8222
8223 * frame.el (display-screens, display-pixel-height)
8224 (display-pixel-width, display-mm-width, display-backing-store)
8225 (display-save-under, display-planes, display-color-cells)
8226 (display-visual-class, display-monitor-attributes-list):
8227 Mention the optional ‘display’ argument in doc strings.
8228
8229 2013-10-22 Michael Gauland <mikelygee@amuri.net>
8230
8231 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
8232 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
8233
8234 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8235
8236 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
8237 TODO. Add "." after " @ ".
8238 (ruby-smie--at-dot-call): New function. Checks if point at method
8239 call with explicit target.
8240 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
8241 to the method name tokens when it precedes them.
8242 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
8243 (ruby-smie-rules): Add rule for indentation before and after "."
8244 token.
8245
8246 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
8247
8248 * textmodes/remember.el (remember-diary-extract-entries):
8249 Avoid add-to-list.
8250
8251 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
8252 an instruction.
8253
8254 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8255
8256 * progmodes/ruby-mode.el (ruby-smie-grammar):
8257 Add (almost) all infix operators.
8258 (ruby-smie--implicit-semi-p): Add new operator chars.
8259
8260 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8261 `smie-down-list'.
8262 (ruby-smie--args-separator-p): Check that there's no newline
8263 between method call and its arguments.
8264
8265 2013-10-20 Alan Mackenzie <acm@muc.de>
8266
8267 Allow comma separated lists after Java "implements".
8268
8269 * progmodes/cc-engine.el (c-backward-over-enum-header):
8270 Parse commas.
8271 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
8272 from a "disallowed" list in enum fontification.
8273
8274 2013-10-20 Johan Bockgård <bojohan@gnu.org>
8275
8276 * startup.el (default-frame-background-mode): Remove unused defvar.
8277
8278 * progmodes/verilog-mode.el (verilog-mode): Don't set
8279 comment-indent-function globally.
8280
8281 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
8282
8283 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
8284 Move Info menu item creation to ns-win.el.
8285
8286 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
8287 in menu bar.
8288
8289 * menu-bar.el: Move GNUstep specific menus...
8290
8291 * term/ns-win.el (ns-initialize-window-system): ... to here.
8292
8293 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8294
8295 * simple.el (newline): Only run post-self-insert-hook when
8296 called interactively.
8297
8298 2013-10-19 Johan Bockgård <bojohan@gnu.org>
8299
8300 * icomplete.el (icomplete-with-completion-tables): Add :version.
8301
8302 2013-10-19 Alan Mackenzie <acm@muc.de>
8303
8304 Fix fontification bugs with constructors and const.
8305
8306 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
8307 CASE 2) Remove the check for the absence of a suffix construct
8308 after a function declaration with only types (no identifiers) in
8309 the parentheses. Also, accept a function declaration with just a
8310 type inside the parentheses, if this type can be positively
8311 recognised as such, or if a prefix keyword like "explicit" nails
8312 down the construct as a declaration.
8313
8314 2013-10-19 Eli Zaretskii <eliz@gnu.org>
8315
8316 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
8317 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
8318 the problem whereby selecting a menu item that leads to a
8319 minibuffer prompt moves the cursor out of the minibuffer window,
8320 making it hard to type at the prompt. Suggested by Stefan Monnier
8321 <monnier@iro.umontreal.ca>.
8322
8323 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
8324
8325 * menu-bar.el: Don't make Services menu.
8326
8327 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8328
8329 * ffap.el: Handle "/usr/include/c++/<version>" directories.
8330 (ffap-alist): Use ffap-c++-mode for c++-mode.
8331 (ffap-c++-path): New variable.
8332 (ffap-c++-mode): New function.
8333
8334 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
8335
8336 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
8337
8338 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
8339
8340 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
8341 introduced on 2013-09-08, which results in an infinite loop
8342 requesting a password.
8343
8344 2013-10-18 Glenn Morris <rgm@gnu.org>
8345
8346 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
8347
8348 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
8349
8350 Sync with upstream verilog-mode revision 1a6ecec7.
8351 * progmodes/verilog-mode.el (verilog-mode-version): Update.
8352 (verilog-mode-release-date): Remove.
8353 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
8354 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
8355 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
8356 (verilog-auto-tieoff-ignore-regexp)
8357 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
8358 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
8359 (verilog-signals-with, verilog-dir-cache-preserving)
8360 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
8361 Doc fixes.
8362 (verilog-case-fold): New option, to control case folding in
8363 regexp searches, bug597.
8364 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
8365 (verilog-string-match-fold, verilog-in-paren-count)
8366 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
8367 (verilog-at-close-struct-p): New functions.
8368 (verilog-beg-block-re-ordered, verilog-extended-case-re)
8369 (verilog-forward-sexp, verilog-set-auto-endcomments)
8370 (verilog-leap-to-case-head): Handle "unique0" case.
8371 (verilog-in-constraint-re): New constant.
8372 (verilog-keywords, verilog-type-font-keywords):
8373 Add some SystemVerilog 1800-2012 keywords.
8374 (verilog-label-be): Remove unimplemented argument, bug669.
8375 (verilog-batch-execute-func): When batch expanding clear
8376 create-lockfiles to prevent spurious user locks when a file ends
8377 up not changing.
8378 (verilog-calculate-indent, verilog-calc-1)
8379 (verilog-at-close-constraint-p, verilog-at-constraint-p)
8380 (verilog-do-indent): Fix indentation of nested constraints
8381 and structures.
8382 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
8383 (verilog-auto-inst-param): Use verilog-string-match-fold.
8384 (verilog-read-inst-module-matcher):
8385 Fix AUTOINST on gate primitives with #1.
8386 (verilog-read-decls): Fix double-declaring user-defined typed signals.
8387 Reads all user-defined typed variables.
8388 (verilog-read-defines): Fix reading definitions inside comments, bug647.
8389 (verilog-signals-matching-regexp)
8390 (verilog-signals-not-matching-regexp, verilog-auto):
8391 Respect verilog-case-fold.
8392 (verilog-diff-report): Fix line count.
8393 (verilog-auto-assign-modport): Remove unused local `modi'.
8394 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
8395 better handle multidimensional arrays.
8396 Fix packed array ports misadding bit index in AUTOINST, bug637.
8397 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
8398 to not double-declare existing outputs and inputs, respectively.
8399 (verilog-template-map): Bind U to verilog-sk-uvm-component.
8400 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
8401 (verilog-sk-uvm-component): New skeleton.
8402 (verilog-submit-bug-report): Add verilog-case-fold,
8403 remove verilog-mode-release-date.
8404
8405 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
8406
8407 * subr.el (sit-for): Call (input-pending-p t) so as to behave
8408 as before.
8409
8410 2013-10-18 Reuben Thomas <rrt@sc3d.org>
8411
8412 * textmodes/remember.el (remember): Set buffer-offer-save in
8413 remember buffers (bug#13566).
8414
8415 2013-10-18 Daniel Colascione <dancol@dancol.org>
8416
8417 When evaluating forms in ielm, direct standard output to ielm
8418 buffer. Add new ielm-return-for-effect command. Remove trailing
8419 whitespace throughout.
8420
8421 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
8422 (ielm-return-for-effect): New command.
8423 (ielm-send-input): Accept optional `for-effect' parameter.
8424 (ielm-eval-input): Accept optional `for-effect' parameter.
8425 Bind `standard-output' to stream we create using
8426 `ielm-standard-output-impl'. Suppress printing result when
8427 `for-effect'.
8428 (ielm-standard-output-impl): New function.
8429 (inferior-emacs-lisp-mode): Explain new features in documentation.
8430
8431 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
8432
8433 Code cleanup.
8434
8435 * net/tramp.el (tramp-debug-message): Do not check for connection
8436 buffer.
8437 (tramp-message): Use "vector" connection property.
8438
8439 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
8440 (tramp-equal-remote, tramp-eshell-directory-change)
8441 * net/tramp-adb.el (tramp-adb-handle-copy-file)
8442 (tramp-adb-handle-rename-file)
8443 * net/tramp-cmds.el (tramp-list-remote-buffers)
8444 (tramp-cleanup-connection, tramp-cleanup-this-connection)
8445 * net/tramp-compat.el (tramp-compat-process-running-p)
8446 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
8447 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
8448 (tramp-gvfs-handle-rename-file)
8449 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8450 (tramp-set-file-uid-gid)
8451 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8452 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
8453 of `file-remote-p'.
8454
8455 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
8456 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8457 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
8458 (tramp-gw-open-network-stream): Suppress unrelated traces.
8459
8460 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
8461 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8462 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8463 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
8464 connection property.
8465
8466 * net/tramp-cache.el (top): Suppress traces when reading
8467 persistency file.
8468
8469 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8470 Refactor common code. Improve debug message.
8471 (tramp-maybe-open-connection)
8472 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
8473 connection buffer too early.
8474
8475 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
8476 from `tramp-smb-actions-with-acl'.
8477 (tramp-smb-actions-set-acl): New defconst.
8478 (tramp-smb-handle-copy-directory)
8479 (tramp-smb-action-get-acl): New defun, renamed from
8480 `tramp-smb-action-with-acl'.
8481 (tramp-smb-action-set-acl): New defun.
8482 (tramp-smb-handle-set-file-acl): Rewrite.
8483
8484 2013-10-17 Glenn Morris <rgm@gnu.org>
8485
8486 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
8487
8488 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8489
8490 * skeleton.el (skeleton-newline): Remove.
8491 (skeleton-internal-1): Use (insert "\n") instead.
8492
8493 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
8494 let-bindings.
8495
8496 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
8497 forward-sexp-function while we redo its job (bug#15613).
8498
8499 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
8500
8501 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
8502 represented by lists.
8503
8504 2013-10-16 Glenn Morris <rgm@gnu.org>
8505
8506 * tmm.el (tmm--history): New dynamic variable.
8507 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
8508
8509 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
8510
8511 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
8512 (tramp-smb-errors): Add error messages.
8513 (tramp-smb-actions-with-acl): New defconst.
8514 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
8515 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
8516 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
8517 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
8518 (tramp-smb-get-stat-capability): Fix tests.
8519
8520 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
8521
8522 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
8523 (bug#15580).
8524
8525 2013-10-16 Glenn Morris <rgm@gnu.org>
8526
8527 * ansi-color.el (ansi-color-drop-regexp):
8528 Add 1J, 1K, 2K. (Bug#15617)
8529
8530 * files.el (hack-local-variables--warned-lexical): New.
8531 (hack-local-variables):
8532 Warn about misplaced lexical-binding. (Bug#15616)
8533
8534 * net/eww.el (eww-render): Always set eww-current-url,
8535 and update header line. (Bug#15622)
8536 (eww-display-html): ... Rather than just doing it here.
8537
8538 2013-10-15 Eli Zaretskii <eliz@gnu.org>
8539
8540 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
8541 menu navigations commands.
8542
8543 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
8544
8545 * progmodes/subword.el (subword-capitalize): Be careful when
8546 the search for [[:alpha:]] fails (bug#15580).
8547
8548 2013-10-14 Eli Zaretskii <eliz@gnu.org>
8549
8550 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
8551 to commands that scroll the menu.
8552
8553 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
8554
8555 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
8556 Handle methods ending with `?' and `!'.
8557
8558 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
8559
8560 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8561 `japanese-cp932' to `cp932' to fix the problem where saving a
8562 source file written in Shift_JIS twice would end up having
8563 `coding: japanese-cp932' which Ruby could not recognize.
8564 (ruby-mode-set-encoding): Add support for encodings mapped to nil
8565 in `ruby-encoding-map'.
8566 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8567 doesn't need to be explicitly declared in magic comment.
8568 (ruby-encoding-map): Add type declaration for better customize UI.
8569
8570 2013-10-13 Glenn Morris <rgm@gnu.org>
8571
8572 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8573 Occur buffers are read-only. http://bugs.debian.org/720775
8574
8575 * emacs-lisp/authors.el (authors-fixed-entries):
8576 Comment out old alpha stuff.
8577
8578 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
8579
8580 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8581 to `after-save-hook' instead of `before-save-hook'.
8582 (ruby-mode-set-encoding): Use the value of coding system used to
8583 write the file. Call `basic-save-buffer-1' after modifying the
8584 buffer.
8585
8586 2013-10-13 Alan Mackenzie <acm@muc.de>
8587
8588 Fix indentation/fontification of Java enum with
8589 "implements"/generic.
8590
8591 * progmodes/cc-engine.el (c-backward-over-enum-header):
8592 Extracted from the three other places and enhanced to handle generics.
8593 (c-inside-bracelist-p): Uses new function above.
8594 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8595 function above.
8596 (c-font-lock-enum-tail): Uses new function above.
8597
8598 2013-10-13 Kenichi Handa <handa@gnu.org>
8599
8600 * international/mule-cmds.el (select-safe-coding-system): Remove a
8601 superfluous condition in chekcing whether a coding system is safe
8602 or not.
8603
8604 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
8605
8606 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
8607
8608 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
8609
8610 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
8611
8612 2013-10-13 Glenn Morris <rgm@gnu.org>
8613
8614 * menu-bar.el (menu-bar-update-buffers):
8615 Unify Buffers menu prompt string. (Bug#15576)
8616
8617 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
8618
8619 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8620 Add some entries.
8621 (authors-fixed-entries): Use accented form of name.
8622
8623 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8624
8625 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8626 method calls (bug#15594).
8627 (ruby-smie--args-separator-p): New function.
8628 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8629 recognize paren-free method calls.
8630
8631 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8632 internals of universal-argument.
8633
8634 2013-10-11 Eli Zaretskii <eliz@gnu.org>
8635
8636 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8637 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8638 dropped menu on second mouse click on the menu bar.
8639
8640 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8641
8642 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8643 (explicit-shell-file-name): Declare.
8644 (sh--vars-before-point, sh--cmd-completion-table): New functions.
8645 (sh-completion-at-point-function): New function.
8646 (sh-mode): Use it.
8647 (sh-smie--keyword-p): Remove unused argument.
8648 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8649 vars.
8650 (sh-set-shell): Always setup SMIE, even if we use the
8651 old indentation code.
8652
8653 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
8654
8655 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8656 cases of ? and =.
8657 (ruby-smie-rules): Simplify the "do" rule. The cases when the
8658 predicate would return nil are almost non-existent.
8659 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8660
8661 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8662 cache also after commands that modify the buffer but don't move
8663 point.
8664
8665 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8666
8667 * env.el (substitute-env-in-file-name): New function.
8668 (substitute-env-vars): Extend the meaning of the optional arg.
8669
8670 2013-10-10 Eli Zaretskii <eliz@gnu.org>
8671
8672 * term/w32-win.el (dynamic-library-alist): Define separate lists
8673 of GIF DLLs for versions before and after 5.0.0 of giflib.
8674 (Bug#15531)
8675
8676 2013-10-10 João Távora <joaotavora@gmail.com>
8677
8678 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8679 not locked, use last revision and current source as
8680 defaults. (Bug#15569)
8681
8682 2013-10-10 Masatake YAMATO <yamato@redhat.com>
8683
8684 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8685 menu-bar is hidden.
8686
8687 2013-10-10 Martin Rudalics <rudalics@gmx.at>
8688
8689 * window.el (pop-to-buffer-same-window): Fix doc-string.
8690 (Bug#15492)
8691
8692 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8693
8694 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8695
8696 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8697
8698 * calendar/icalendar.el (icalendar-import-file):
8699 Fix interactive spec. (Bug#15482)
8700
8701 2013-10-10 Glenn Morris <rgm@gnu.org>
8702
8703 * desktop.el (desktop-save): Default to saving in .emacs.d,
8704 since PWD is no longer in desktop-path by default. (Bug#15319)
8705
8706 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8707 now that text mode has a menu with the same entry.
8708 (menu-bar-text-mode-auto-fill): Remove now unused func.
8709 * textmodes/text-mode.el (text-mode-map):
8710 Use auto-fill help text from menu-bar.el.
8711
8712 2013-10-10 John Anthony <john@jo.hnanthony.com>
8713
8714 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8715
8716 2013-10-09 Juri Linkov <juri@jurta.org>
8717
8718 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8719 instead of this-command-keys. Add universal-argument-more and
8720 universal-argument-minus to the list of prefix commands. (Bug#15568)
8721
8722 2013-10-09 Glenn Morris <rgm@gnu.org>
8723
8724 * vc/vc-svn.el (vc-svn-create-repo):
8725 Expand paths in file://... url. (Bug#15446)
8726
8727 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8728 Add some entries.
8729 (authors): Remove unused local variables.
8730
8731 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8732
8733 * profiler.el: Create a more coherent calltree from partial backtraces.
8734 (profiler-format): Hide the tail with `invisible' so that C-s can still
8735 find the hidden elements.
8736 (profiler-calltree-depth): Don't recurse so enthusiastically.
8737 (profiler-function-equal): New hash-table-test.
8738 (profiler-calltree-build-unified): New function.
8739 (profiler-calltree-build): Use it.
8740 (profiler-report-make-name-part): Indent the calltree less.
8741 (profiler-report-mode): Add visibility specs for profiler-format.
8742 (profiler-report-expand-entry, profiler-report-toggle-entry):
8743 Expand the whole subtree when provided with a prefix arg.
8744
8745 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8746
8747 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8748 iuwu-mod token.
8749 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8750 hanging iuwu-mod token.
8751 (ruby-smie--forward-token): Do not include a dot after a token in
8752 that token.
8753 (ruby-smie--backward-token): Likewise.
8754
8755 2013-10-08 Juri Linkov <juri@jurta.org>
8756
8757 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8758 to isearch-other-control-char.
8759 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8760 and isearch-post-command-hook to post-command-hook.
8761 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8762 and isearch-post-command-hook from post-command-hook.
8763 (isearch-unread-key-sequence)
8764 (isearch-reread-key-sequence-naturally)
8765 (isearch-lookup-scroll-key, isearch-other-control-char)
8766 (isearch-other-meta-char): Remove functions.
8767 (isearch-pre-command-hook, isearch-post-command-hook):
8768 New functions based on isearch-other-meta-char rewritten
8769 relying on the new behavior of overriding-terminal-local-map
8770 that does not replace the local keymaps any more. (Bug#15200)
8771
8772 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8773
8774 Support menus on text-mode terminals.
8775 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8776 functionality.
8777
8778 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8779
8780 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8781 Move here from mouse.el.
8782 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8783 and arrow keys.
8784 (tty-menu-navigation-map): New map for TTY menu navigation.
8785
8786 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8787
8788 * frame.el (display-mouse-p): Report text-mode mouse as available
8789 on w32.
8790 (display-popup-menus-p): Report availability if mouse is
8791 available; don't condition on window-system.
8792
8793 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8794 (tty-menu-selected-face): New faces.
8795
8796 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8797
8798 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8799 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8800 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8801 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8802 New constants.
8803 (lisp-mode-variables): New `elisp' argument.
8804 (emacs-lisp-mode): Use it.
8805 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8806 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8807
8808 * indent.el: Use lexical-binding.
8809 (indent-region): Add progress reporter.
8810 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8811 last step.
8812 (indent--next-tab-stop): New function to implement this behavior.
8813 (tab-to-tab-stop, move-to-tab-stop): Use it.
8814
8815 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8816
8817 * indent.el (indent-rigidly--current-indentation): New function.
8818 (indent-rigidly-map): New var.
8819 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8820
8821 2013-10-08 Bastien Guerry <bzg@gnu.org>
8822
8823 * register.el (insert-register): Fix 2013-10-07 change.
8824
8825 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8826
8827 * progmodes/perl-mode.el: Use lexical-binding.
8828 Remove redundant :group args.
8829 (perl-nochange): Change default to be closer to other major modes's
8830 standard behavior.
8831 (perl-indent-line): Don't consider text on current line as a
8832 valid beginning of function from which to indent.
8833
8834 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8835 with more than one argument (bug#15538).
8836
8837 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8838
8839 * vc/pcvs.el: Use lexical-binding.
8840 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8841 environment of `eval'.
8842 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8843 than a list of expressions. Adjust callers.
8844 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8845
8846 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8847
8848 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8849 case of the dot in a chained method call being on the following line.
8850
8851 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8852
8853 * electric.el (electric-indent-inhibit): New var.
8854 (electric-indent-post-self-insert-function): Use it.
8855 * progmodes/python.el (python-mode): Set it.
8856
8857 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8858 open braces.
8859
8860 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8861
8862 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8863 (css-mode): Use electric-indent-chars.
8864
8865 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8866 (font-lock-beg, font-lock-end): Move before first use.
8867 (nxml-mode): Use syntax-propertize-function.
8868 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8869 (nxml-extend-after-change-region): Remove.
8870 * nxml/xmltok.el: Use lexical-binding.
8871 (xmltok-save): Use `declare'.
8872 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8873 * nxml/nxml-util.el: Use lexical-binding.
8874 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8875 Use `declare'.
8876 * nxml/nxml-ns.el: Use lexical-binding.
8877 (nxml-ns-save): Use `declare'.
8878 (nxml-ns-prefixes-for): Avoid add-to-list.
8879 * nxml/rng-match.el: Use lexical-binding.
8880 (rng--ipattern): Use cl-defstruct.
8881 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8882 (rng-cons-group-after, rng-subst-group-after)
8883 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8884 Use closures instead of `(lambda...).
8885
8886 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8887
8888 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8889 of BEG and END.
8890
8891 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8892 Use `tramp-handle-insert-file-contents'.
8893 (tramp-gvfs-handle-insert-file-contents): Remove function.
8894
8895 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8896 Use `save-restriction' in order to keep markers.
8897
8898 * net/trampver.el: Update release number.
8899
8900 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8901
8902 * progmodes/compile.el (compilation-parse-errors):
8903 Use compilation--put-prop.
8904 (compilation--ensure-parse): Check compilation-multiline.
8905
8906 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8907
8908 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8909 lexical-binding.
8910
8911 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8912
8913 * progmodes/ruby-mode.el: Fix recently added tests.
8914 (ruby-smie-grammar): Add - and +.
8915 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8916 (ruby-smie--backward-id): New functions.
8917 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8918 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8919 any more.
8920
8921 2013-10-07 Leo Liu <sdl.web@gmail.com>
8922
8923 * register.el (register-preview-delay)
8924 (register-preview-functions): New variables.
8925 (register-read-with-preview, register-preview)
8926 (register-describe-oneline): New functions.
8927 (point-to-register, window-configuration-to-register)
8928 (frame-configuration-to-register, jump-to-register)
8929 (number-to-register, view-register, insert-register)
8930 (copy-to-register, append-to-register, prepend-to-register)
8931 (copy-rectangle-to-register): Use register-read-with-preview to
8932 read register. (Bug#15525)
8933
8934 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8935
8936 * net/network-stream.el (network-stream-open-starttls): Don't add
8937 --insecure if it's already present, because that gnutls-cli
8938 rejects getting that parameter twice.
8939
8940 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8941
8942 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8943 keyword, too.
8944
8945 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8946
8947 * newcomment.el (comment-use-global-state): Change default value
8948 to t, mark obsolete (Bug#15251).
8949 (comment-beginning): In addition to `comment-to-syntax', check the
8950 value of `comment-use-global-state'.
8951
8952 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8953
8954 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8955 (ruby-comment-column): Follow the global default, by default.
8956 (ruby-smie-grammar): Add assignment syntax.
8957 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8958 open-paren, a comma, or a \.
8959 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8960 and line continuations.
8961 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8962 followed by implicit semi-colons. Add rule for string concatenation
8963 and for indentation at BOB.
8964 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8965
8966 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8967 calling next-sexp, since next-token may have skipped chars which
8968 next-sexp doesn't know should be skipped!
8969
8970 2013-10-05 Leo Liu <sdl.web@gmail.com>
8971
8972 * progmodes/octave.el (octave-send-region):
8973 Call compilation-forget-errors.
8974
8975 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8976
8977 * vc/vc-svn.el (vc-svn-find-admin-dir):
8978 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8979 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8980 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8981 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8982
8983 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8984
8985 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8986
8987 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8988
8989 * subr.el (read-passwd): Hide chars even when called within a context
8990 where after-change-functions is disabled (bug#15501).
8991 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8992 until we removed ourself from overriding-terminal-local-map.
8993
8994 2013-10-04 Leo Liu <sdl.web@gmail.com>
8995
8996 * progmodes/octave.el (inferior-octave-mode):
8997 Call compilation-forget-errors.
8998
8999 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
9000
9001 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
9002
9003 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
9004
9005 * net/secrets.el (secrets-create-collection): Add optional
9006 argument ALIAS. Use proper Label keyword. Append ALIAS as
9007 dbus-call-method argument. (Bug#15516)
9008
9009 2013-10-04 Leo Liu <sdl.web@gmail.com>
9010
9011 * progmodes/octave.el (inferior-octave-error-regexp-alist)
9012 (inferior-octave-compilation-font-lock-keywords): New variables.
9013 (compilation-error-regexp-alist)
9014 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
9015 (inferior-octave-mode): Use compilation-shell-minor-mode.
9016
9017 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
9018
9019 * minibuffer.el (completion--replace): Be careful that `end' might be
9020 a marker.
9021
9022 2013-10-03 Daiki Ueno <ueno@gnu.org>
9023
9024 Add support for package signature checking.
9025 * emacs-lisp/package.el (url-http-file-exists-p)
9026 (epg-make-context, epg-context-set-home-directory)
9027 (epg-verify-string, epg-context-result-for)
9028 (epg-signature-status, epg-signature-to-string)
9029 (epg-check-configuration, epg-configuration)
9030 (epg-import-keys-from-file): Declare.
9031 (package-check-signature): New user option.
9032 (package-unsigned-archives): New user option.
9033 (package-desc): Add `signed' field.
9034 (package-load-descriptor): Set `signed' field if .signed file exists.
9035 (package--archive-file-exists-p): New function.
9036 (package--check-signature): New function.
9037 (package-install-from-archive): Check package signature.
9038 (package--download-one-archive): Check archive signature.
9039 (package-delete): Remove .signed file.
9040 (package-import-keyring): New command.
9041 (package-refresh-contents): Import default keyring.
9042 (package-desc-status): Add "unsigned" status.
9043 (describe-package-1, package-menu--print-info)
9044 (package-menu-mark-delete, package-menu--find-upgrades)
9045 (package-menu--status-predicate): Support "unsigned" status.
9046
9047 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9048
9049 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
9050 the new compilation scheme using the new byte-codes.
9051
9052 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
9053 (byte-pophandler): New byte codes.
9054 (byte-goto-ops): Adjust accordingly.
9055 (byte-compile--use-old-handlers): New var.
9056 (byte-compile-catch): Use new byte codes depending on
9057 byte-compile--use-old-handlers.
9058 (byte-compile-condition-case--old): Rename from
9059 byte-compile-condition-case.
9060 (byte-compile-condition-case--new): New function.
9061 (byte-compile-condition-case): New function that dispatches depending
9062 on byte-compile--use-old-handlers.
9063 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
9064 when we can.
9065
9066 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
9067 Optimize under `condition-case' and `catch' if
9068 byte-compile--use-old-handlers is nil.
9069 (disassemble-offset): Handle new bytecodes.
9070
9071 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9072
9073 * subr.el (error): Use `declare'.
9074 (decode-char, encode-char): Use advertised-calling-convention instead
9075 of the docstring to discourage use of the `restriction' arg.
9076
9077 2013-10-03 Daiki Ueno <ueno@gnu.org>
9078
9079 * epg.el (epg-verify-file): Add a comment saying that it does not
9080 notify verification error as a return value nor a signal.
9081 (epg-verify-string): Ditto.
9082
9083 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
9084
9085 * progmodes/compile.el (compilation-start): Try globbing the arg to
9086 `cd' (bug#15417).
9087
9088 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
9089
9090 Sync with Tramp 2.2.8.
9091
9092 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
9093 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
9094 * net/trampver.el: Update release number.
9095
9096 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
9097
9098 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
9099 and default-process-coding-system for darwin only.
9100
9101 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
9102
9103 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
9104
9105 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
9106
9107 * vc/vc-git.el (vc-git-grep): Disable pager.
9108
9109 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
9110
9111 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
9112 Use :url instead of :homepage, as per
9113 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
9114
9115 * newcomment.el (comment-beginning): When `comment-use-syntax' is
9116 non-nil, use `syntax-ppss' (Bug#15251).
9117
9118 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9119
9120 * progmodes/octave.el (inferior-octave-startup-file):
9121 Prefer ~/.emacs.d/init_octave.m.
9122
9123 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
9124
9125 * emacs-lisp/package.el (package-desc-from-define):
9126 Accept additional arguments as plist, convert them to an alist and store
9127 them in the `extras' slot.
9128 (package-generate-description-file): Convert extras alist back to
9129 plist and append to the `define-package' form arguments.
9130 (package--alist-to-plist): New function.
9131 (package--ac-desc): Add `extras' slot.
9132 (package--add-to-archive-contents): Check if the archive-contents
9133 vector is long enough, and if it is, pass its `extras' slot value
9134 to `package-desc-create'.
9135 (package-buffer-info): Call `lm-homepage', pass the returned value
9136 to `package-desc-from-define'.
9137 (describe-package-1): Render the homepage button (Bug#13291).
9138
9139 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9140 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
9141
9142 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
9143
9144 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
9145 and default-process-coding-system to utf-8-unix (Bug#15402).
9146
9147 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
9148
9149 * subr.el (looking-back): Do not recommend using looking-back.
9150
9151 2013-09-28 Alan Mackenzie <acm@muc.de>
9152
9153 Fix indentation/fontification of Java enum with "implements".
9154
9155 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
9156 regexp which matches "implements", etc., in Java.
9157 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
9158 specifier clauses coming after "enum".
9159 * progmodes/cc-fonts.el (c-font-lock-declarations)
9160 (c-font-lock-enum-tail): Check for extra specifier clauses coming
9161 after "enum".
9162
9163 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
9164
9165 * faces.el (region): Change ns_selection_color to
9166 ns_selection_fg_color, add ns_selection_bg_color.
9167
9168 2013-09-28 Leo Liu <sdl.web@gmail.com>
9169
9170 * progmodes/octave.el (inferior-octave-completion-table)
9171 (inferior-octave-completion-at-point): Minor tweaks.
9172
9173 * textmodes/ispell.el (ispell-lookup-words): Rename from
9174 lookup-words. (Bug#15460)
9175 (lookup-words): Obsolete.
9176 (ispell-complete-word, ispell-command-loop): All uses changed.
9177
9178 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9179
9180 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
9181 (octave-mode-menu): Add octave-send-buffer.
9182 (octave-send-buffer): New function.
9183
9184 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9185
9186 * progmodes/octave.el (octave-mode-map): Add key binding for
9187 octave-lookfor.
9188 (octave-mode-menu): Add octave-lookfor.
9189 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
9190 octave-lookfor.
9191 (octave-lookfor): New function.
9192
9193 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9194
9195 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
9196 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
9197 its convention.
9198 (cl--loop-set-iterator-function): New function.
9199 (cl-loop): Adjust accordingly, so as not to use cl-subst.
9200 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
9201 Bind `it' with `let' instead of substituting it with `cl-subst'.
9202 (cl--unused-var-p): New function.
9203 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
9204 Eliminate some unused variable warnings (bug#15326).
9205
9206 2013-09-27 Tassilo Horn <tsdh@gnu.org>
9207
9208 * doc-view.el (doc-view-scale-reset): Rename from
9209 `doc-view-reset-zoom-level'.
9210 (doc-view-scale-adjust): New command.
9211 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
9212 `doc-view-scale-adjust'.
9213
9214 2013-09-26 Tassilo Horn <tsdh@gnu.org>
9215
9216 * doc-view.el (doc-view-reset-zoom-level): New command.
9217 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
9218 zoom commands (bug#15466).
9219
9220 2013-09-26 Kenichi Handa <handa@gnu.org>
9221
9222 * international/quail.el (quail-help): Make it not a command.
9223
9224 2013-09-26 Leo Liu <sdl.web@gmail.com>
9225
9226 * minibuffer.el (completion-all-sorted-completions): Make args
9227 optional as they are.
9228
9229 2013-09-25 Daniel Colascione <dancol@dancol.org>
9230
9231 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
9232 specs are and that they're not evaluated.
9233
9234 2013-09-24 Sam Steingold <sds@gnu.org>
9235
9236 * midnight.el (clean-buffer-list-kill-regexps)
9237 (clean-buffer-list-kill-buffer-names): Update for the new Man
9238 buffer naming which includes the object name.
9239
9240 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9241
9242 * eshell/esh-cmd.el (eshell--sep-terms): New var.
9243 (eshell-parse-command, eshell-parse-pipeline): Use it since
9244 eshell-separate-commands requires a dynamic scoped var.
9245 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
9246
9247 2013-09-23 Leo Liu <sdl.web@gmail.com>
9248
9249 * autoinsert.el (auto-insert-alist): Make the value of
9250 lexical-binding match its file setting.
9251
9252 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
9253
9254 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
9255
9256 * autoarg.el (autoarg-kp-digit-argument):
9257 * electric.el (Electric-command-loop):
9258 * kmacro.el (kmacro-step-edit-insert):
9259 Do not set universal-argument-num-events.
9260
9261 2013-09-22 Leo Liu <sdl.web@gmail.com>
9262
9263 * files.el (interpreter-mode-alist): Add octave.
9264
9265 2013-09-21 Alan Mackenzie <acm@muc.de>
9266
9267 C++: fontify identifier in declaration following "public:" correctly.
9268 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
9269 to match "public", etc.
9270 (c-decl-prefix-re): Add ":" into the C++ value.
9271 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
9272 bit. Add a check for a ":" preceded by "public", etc.
9273
9274 2013-09-21 Eli Zaretskii <eliz@gnu.org>
9275
9276 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
9277 recognized by GDB 7.5 and later.
9278
9279 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
9280
9281 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
9282
9283 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9284
9285 * subr.el (internal--call-interactively): New const.
9286 (called-interactively-p): Use it (bug#3984).
9287
9288 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
9289
9290 * vc/pcvs.el (cvs-mode-ignore):
9291 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
9292 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
9293
9294 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9295
9296 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
9297 (eshell-ls-orig-insert-directory): Remove.
9298 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
9299 (eshell-ls-use-in-dired): Use advice-add/remove.
9300 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
9301 Add `orig-fun' arg for use in :around advice.
9302 Make it check (redundantly) eshell-ls-use-in-dired.
9303
9304 2013-09-19 Glenn Morris <rgm@gnu.org>
9305
9306 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
9307
9308 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
9309
9310 * emacs-lisp/eieio.el (class-parent): Undo previous change.
9311
9312 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
9313
9314 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
9315 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
9316 (tramp-get-remote-python): New defuns.
9317 (tramp-get-remote-uid-with-perl)
9318 (tramp-get-remote-gid-with-perl): New defuns. Perl code
9319 contributed by yary <not.com@gmail.com> (tiny change).
9320 (tramp-get-remote-uid-with-python)
9321 (tramp-get-remote-gid-with-python): New defuns. Python code
9322 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
9323 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
9324
9325 2013-09-19 Glenn Morris <rgm@gnu.org>
9326
9327 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
9328
9329 * eshell/em-unix.el (eshell-remove-entries):
9330 Rename argument to avoid name-clash with global `top-level'.
9331
9332 * eshell/esh-proc.el (eshell-kill-process-function):
9333 Remove eshell-reset-after-proc from eshell-kill-hook if present.
9334 (eshell-reset-after-proc): Remove unused arg `proc'.
9335
9336 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
9337 (directory-files-and-attributes): Mark unused arg.
9338
9339 * eshell/em-unix.el (eshell-remove-entries):
9340 Remove unused arg `path'. Update callers.
9341
9342 * eshell/em-hist.el (eshell-hist-parse-arguments):
9343 Remove unused arg `silent'. Update callers.
9344
9345 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
9346 Fix (f)boundp mix-up.
9347
9348 * eshell/em-smart.el (eshell-smart-scroll-window)
9349 (eshell-disable-after-change):
9350 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
9351
9352 2013-09-18 Alan Mackenzie <acm@muc.de>
9353
9354 Fix fontification of type when followed by "const".
9355 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
9356 "known" types from fontification.
9357
9358 2013-09-18 Glenn Morris <rgm@gnu.org>
9359
9360 * emacs-lisp/chart.el (x-display-color-cells): Declare.
9361 (chart-face-list): Drop Emacsen without display-color-p.
9362
9363 * net/eww.el (libxml-parse-html-region): Declare.
9364 (eww-display-html): Explicit error if no libxml2 support.
9365
9366 * doc-view.el (doc-view-mode): Silence --without-x compilation.
9367
9368 * image.el (image-type-from-buffer, image-multi-frame-p):
9369 Remove --without-x warning/error.
9370
9371 * mouse.el (mouse-yank-primary):
9372 * term.el (term-mouse-paste):
9373 Reorder to silence --without-x compilation.
9374
9375 * mpc.el (doc-view-mode): Silence --without-x compilation.
9376
9377 * mail/rmailmm.el (rmail-mime-set-bulk-data):
9378 Silence --without-x compilation.
9379
9380 * progmodes/gud.el (gud-find-file, gud-mode):
9381 Silence --without-x compilation.
9382 (tooltip-mode): Declare.
9383
9384 * wdired.el (dired-backup-overwrite): Remove declaration.
9385 (wdired-mode-map): Add doc string.
9386
9387 * custom.el (x-get-resource): Declare.
9388
9389 * eshell/em-glob.el (ange-cache):
9390 * eshell/em-unix.el (ange-cache): Declare.
9391
9392 * faces.el (x-display-list, x-open-connection, x-get-resource):
9393 Declare.
9394
9395 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
9396 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
9397 Declare.
9398
9399 * frame.el (x-display-grayscale-p, x-display-name): Declare.
9400
9401 * net/gnutls.el (gnutls-log-level): Declare.
9402
9403 * net/shr.el (image-size, image-animate): Declare.
9404
9405 * simple.el (font-info): Declare.
9406
9407 * subr.el (x-popup-dialog): Declare.
9408
9409 * term/common-win.el (x-select-enable-primary)
9410 (x-last-selected-text-primary, x-last-selected-text-clipboard):
9411 Declare.
9412
9413 * term/ns-win.el (x-handle-args): Declare.
9414
9415 * term/x-win.el (x-select-enable-clipboard): Declare.
9416
9417 * term/w32-win.el (create-default-fontset): Declare.
9418
9419 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
9420 Declare.
9421
9422 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
9423 (fit-frame-to-buffer): Explicit error if --without-x.
9424 (mouse-autoselect-window-select): Silence compiler.
9425
9426 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9427
9428 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
9429 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
9430 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
9431 * eshell/esh-util.el (eshell-sublist):
9432 Remove unused local variables.
9433
9434 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
9435
9436 * textmodes/two-column.el: Make 2C-split work for --without-x.
9437 (scroll-bar-columns): Autoload.
9438 (top-level): Require fringe when compiling.
9439
9440 2013-09-18 Leo Liu <sdl.web@gmail.com>
9441
9442 * subr.el (add-hook): Robustify to handle closure as well.
9443
9444 2013-09-17 Glenn Morris <rgm@gnu.org>
9445
9446 * simple.el (messages-buffer-mode-map): Unbind "g".
9447
9448 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9449
9450 * help-mode.el (help-mode-finish): Use derived-mode-p.
9451 Remove obsolete highlighting.
9452
9453 * play/life.el (life-mode): Use define-derived-mode. Derive from
9454 special-mode.
9455 (life): Let-bind inhibit-read-only.
9456 (life-setup): Avoid `setq'. Use `life-mode'.
9457
9458 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
9459 which should not be needed any more.
9460 (package-menu-refresh, package-menu-describe-package): Use user-error.
9461
9462 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
9463 (eshell-post-rewrite-command-hook): Make obsolete.
9464 (eshell-parse-command): Simplify.
9465 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
9466 (eshell--cmd): Declare.
9467 (eshell-parse-pipeline): Remove unused var `final-p'.
9468 Pass a dynvar to eshell-post-rewrite-command-hook.
9469 Implement the new eshell-post-rewrite-command-function.
9470 (eshell-invoke-directly): Remove unused arg `input'.
9471 * eshell/esh-io.el (eshell-io-initialize):
9472 Use eshell-post-rewrite-command-function (bug#15399).
9473 (eshell--apply-redirections): Rename from eshell-apply-redirections;
9474 adjust to new calling convention.
9475 (eshell-create-handles): Rename args to avoid clashing with dynvar
9476 `standard-output'.
9477
9478 2013-09-17 Glenn Morris <rgm@gnu.org>
9479
9480 * simple.el (messages-buffer-mode): New major mode.
9481 (messages-buffer): New function.
9482 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
9483 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
9484 (ert-run-test): Use `messages-buffer' function.
9485 (ert--force-message-log-buffer-truncation): Ignore read-only.
9486 * help.el (view-echo-area-messages): Use `messages-buffer' function.
9487 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
9488
9489 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9490
9491 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
9492
9493 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
9494
9495 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9496
9497 * icomplete.el (icomplete-in-buffer): New var.
9498 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
9499 vars and replace them with functions.
9500 (icomplete-minibuffer-setup): Adjust accordingly.
9501 (icomplete--completion-table, icomplete--completion-predicate)
9502 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
9503 New functions.
9504 (icomplete-forward-completions, icomplete-backward-completions)
9505 (icomplete-simple-completing-p, icomplete-exhibit)
9506 (icomplete-completions): Use them.
9507 (icomplete--in-region-buffer): New var.
9508 (icomplete--in-region-setup): New function.
9509 (icomplete-mode): Use it.
9510
9511 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
9512 (bug#15379).
9513 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
9514 return args and options.
9515 (eshell-eval-using-options): Use the new return value of
9516 eshell--do-opts to set the options's vars in their scope.
9517 (eshell--set-option): Rename from eshell-set-option.
9518 Add arg `opt-vals'.
9519 (eshell--process-option): Rename from eshell-process-option.
9520 Add arg `opt-vals'.
9521 (eshell--process-args): Use an `opt-vals' alist to store the options's
9522 values during their processing and return them additionally to the
9523 remaining args.
9524
9525 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
9526
9527 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
9528 continuation character an operator, as far as indentation is
9529 concerned (Bug#15369).
9530
9531 2013-09-15 Martin Rudalics <rudalics@gmx.at>
9532
9533 * window.el (window--state-put-2): Don't process buffer state
9534 when buffer doesn't exist any more (Bug#15382).
9535
9536 2013-09-15 Glenn Morris <rgm@gnu.org>
9537
9538 * eshell/em-unix.el (eshell/rm):
9539 Make -f ignore missing files. (Bug#15373)
9540
9541 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
9542 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
9543 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
9544
9545 2013-09-14 Glenn Morris <rgm@gnu.org>
9546
9547 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
9548
9549 2013-09-13 Glenn Morris <rgm@gnu.org>
9550
9551 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
9552 (dired-guess-default): Make `file' available in the env. (Bug#15363)
9553
9554 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
9555
9556 * frame.el (x-focus-frame): Mark as declared in frame.c.
9557
9558 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9559
9560 * ls-lisp.el: Use advice-add.
9561 (original-insert-directory): Remove.
9562 (ls-lisp--insert-directory): Rename from insert-directory; add
9563 `orig-fun' argument.
9564 (insert-directory): Advise.
9565
9566 2013-09-13 Eli Zaretskii <eliz@gnu.org>
9567
9568 * term.el (term-emulate-terminal): Decode the command string
9569 before passing it to term-command-hook. (Bug#15337)
9570
9571 2013-09-13 Glenn Morris <rgm@gnu.org>
9572
9573 * eshell/esh-util.el (ange-cache): Move declaration earlier.
9574
9575 * eshell/esh-ext.el (eshell-search-path): Declare.
9576
9577 * eshell/em-prompt.el (eshell/pwd): Autoload it.
9578 Otherwise an error occurs if eshell-dirs module not loaded.
9579
9580 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9581
9582 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
9583
9584 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9585 `tramp-check-proper-host'. Check for a valid method name.
9586
9587 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9588 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9589 * net/tramp-sh.el (tramp-maybe-open-connection):
9590 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9591
9592 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9593 also for hash values.
9594
9595 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9596
9597 * term/ns-win.el (parameters): Don't declare as dynamic.
9598 (before-make-frame-hook): Don't add ineffective function.
9599
9600 * eshell/*.el: Use lexical-binding (bug#15231).
9601
9602 2013-09-12 Kenichi Handa <handa@gnu.org>
9603
9604 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9605
9606 2013-09-12 Glenn Morris <rgm@gnu.org>
9607
9608 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9609 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9610
9611 * subr.el (do-after-load-evaluation): Also give compiler warnings
9612 when obsolete files are used (except by obsolete files).
9613
9614 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9615 in the status output, assume `filename' is the first. (Bug#15322)
9616
9617 * vc/vc.el (vc-deduce-fileset): Doc fix.
9618
9619 * calc/calc-help.el (Info-goto-node):
9620 * progmodes/cperl-mode.el (Info-find-node):
9621 * vc/ediff.el (Info-goto-node): Update declarations.
9622
9623 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9624
9625 * vc/vc-bzr.el (vc-compilation-mode): Declare.
9626 (vc-bzr-pull): Require vc-dispatcher.
9627 * vc/vc-git.el (vc-compilation-mode): Declare.
9628 (vc-git-pull): Require vc-dispatcher.
9629
9630 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9631
9632 * progmodes/octave.el (help-button-action): Declare.
9633
9634 * shell.el (shell-directory-tracker): Output error as a message
9635 rather than just returning it as a string.
9636 (shell-process-pushd): Remove useless use of message.
9637
9638 * dframe.el (dframe-timer-fn):
9639 * files.el (dir-locals-read-from-file):
9640 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9641 (mpc-format):
9642 * reveal.el (reveal-post-command):
9643 * saveplace.el (load-save-place-alist-from-file):
9644 * shell.el (shell-resync-dirs):
9645 * w32-common-fns.el (x-get-selection-value):
9646 * emacs-lisp/copyright.el (copyright-find-copyright):
9647 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9648 * emulation/tpu-edt.el (tpu-copy-keyfile):
9649 * play/bubbles.el (bubbles--mark-neighbourhood):
9650 * progmodes/executable.el
9651 (executable-make-buffer-file-executable-if-script-p):
9652 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9653
9654 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9655
9656 Cleanup Eshell to rely less on dynamic scoping.
9657 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9658 last-value, and ext-command here. Bind `args' closer to `body'.
9659 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9660 (eshell--args): Declare new dynamic var.
9661 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
9662 last-value, and ext-command. Pass `args' to `body'.
9663 (eshell-process-args): Bind eshell--args.
9664 (eshell-set-option): Use eshell--args.
9665 * eshell/eshell.el (eshell): Use derived-mode-p.
9666 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9667 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9668 (eshell-glob-function): Declare.
9669 * eshell/esh-util.el: Require cl-lib.
9670 (eshell-read-hosts-file): Avoid add-to-list.
9671 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9672 `err'.
9673 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9674 Declare.
9675 (eshell/diff): Remove unused var `err'.
9676 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9677 `killflag'.
9678 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9679 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9680 first use.
9681 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9682 Move declaration before first use.
9683 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9684 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9685 rely on cl-return.
9686
9687 2013-09-12 Glenn Morris <rgm@gnu.org>
9688
9689 * term/ns-win.el (global-map): Remove binding for ispell-next,
9690 deleted 1999-05-29. (Bug#15357)
9691
9692 2013-09-11 Glenn Morris <rgm@gnu.org>
9693
9694 * echistory.el (electric-command-history): Remove call to deleted func.
9695
9696 * play/landmark.el (landmark-mode): Fix typos.
9697
9698 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9699 Check cvs-sort-ignore-file is bound.
9700
9701 * savehist.el: No need for cl when compiling on Emacs.
9702
9703 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9704
9705 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9706 (bug#15338).
9707 (eshell-self-insert-command, eshell-send-invisible):
9708 Remove unused argument.
9709 (eshell-handle-control-codes): Remove unused var `orig'.
9710 Avoid delete-backward-char.
9711
9712 * files.el (set-auto-mode): Simplify a bit further.
9713
9714 2013-09-11 Glenn Morris <rgm@gnu.org>
9715
9716 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9717 (set-auto-mode): Don't regexp-quote elements.
9718 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9719 * progmodes/cc-mode.el (interpreter-mode-alist):
9720 * progmodes/ruby-mode.el (interpreter-mode-alist):
9721 Revert previous change.
9722
9723 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9724
9725 * play/snake.el (snake-mode):
9726 * play/mpuz.el (mpuz-mode):
9727 * play/landmark.el (lm-mode):
9728 * play/blackbox.el (blackbox-mode):
9729 * play/5x5.el (5x5-mode):
9730 * obsolete/options.el (Edit-options-mode):
9731 * net/quickurl.el (quickurl-list-mode):
9732 * net/newst-treeview.el (newsticker-treeview-mode):
9733 * mail/rmailsum.el (rmail-summary-mode):
9734 * mail/mspools.el (mspools-mode):
9735 * locate.el (locate-mode):
9736 * ibuffer.el (ibuffer-mode):
9737 * emulation/ws-mode.el (wordstar-mode):
9738 * emacs-lisp/debug.el (debugger-mode):
9739 * array.el (array-mode):
9740 * net/eudc.el (eudc-mode): Use define-derived-mode.
9741 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9742 Move initialization into declaration.
9743 (mairix-searches-mode): Use define-derived-mode.
9744 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9745 (eudc-edit-hotlist): Use dolist.
9746 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9747 (Man-mode): Use define-derived-mode.
9748 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9749 (Info-edit-mode): Use define-derived-mode.
9750 (Info-cease-edit): Use Info-mode.
9751 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9752 into declaration.
9753 (eshell-mode): Use define-derived-mode.
9754 * chistory.el (command-history-mode-map): Rename from
9755 command-history-map.
9756 (command-history-mode): Use define-derived-mode.
9757 (Command-history-setup): Remove function.
9758 * calc/calc.el (calc-trail-mode-map): New var.
9759 (calc-trail-mode): Use define-derived-mode.
9760 (calc-trail-buffer): Set calc-main-buffer manually.
9761 * bookmark.el (bookmark-insert-annotation): New function.
9762 (bookmark-edit-annotation): Use it.
9763 (bookmark-edit-annotation-mode): Make it a proper major mode.
9764 (bookmark-send-edited-annotation): Use derived-mode-p.
9765 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9766 closer to its ideal place. Use \' to match EOS.
9767
9768 * profiler.el (profiler-calltree-find): Use function-equal.
9769
9770 2013-09-10 Glenn Morris <rgm@gnu.org>
9771
9772 * files.el (interpreter-mode-alist): Convert to regexps.
9773 (set-auto-mode): Adapt for this. (Bug#15306)
9774 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9775 Comment out unused variable.
9776 * progmodes/cc-mode.el (interpreter-mode-alist):
9777 * progmodes/python.el (interpreter-mode-alist):
9778 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9779 * progmodes/sh-script.el (sh-set-shell):
9780 No longer use interpreter-mode-alist to get list of shells.
9781
9782 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9783
9784 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9785
9786 * simple.el: Use set-temporary-overlay-map for universal-argument.
9787 (universal-argument-map): Don't use default-bindings (bug#15317).
9788 Bind switch-frame explicitly. Replace universal-argument-minus with
9789 a conditional binding.
9790 (universal-argument-num-events, saved-overriding-map): Remove.
9791 (restore-overriding-map): Remove.
9792 (universal-argument--mode): Rename from save&set-overriding-map,
9793 and rewrite.
9794 (universal-argument, universal-argument-more, negative-argument)
9795 (digit-argument): Adjust accordingly.
9796 (universal-argument-minus): Remove.
9797 (universal-argument-other-key): Remove.
9798
9799 * subr.el (with-demoted-errors): Add `format' argument.
9800
9801 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9802
9803 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9804 `tramp-cleanup-connection'.
9805
9806 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9807 parameters KEEP-DEBUG and KEEP-PASSWORD.
9808
9809 * net/tramp.el (tramp-file-name-handler):
9810 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9811 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9812 (tramp-maybe-open-connection):
9813 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9814 Use `tramp-cleanup-connection'.
9815
9816 * net/tramp-sh.el (tramp-maybe-open-connection):
9817 Catch 'uname-changed inside the progress reporter.
9818
9819 2013-09-10 Glenn Morris <rgm@gnu.org>
9820
9821 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9822
9823 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9824 returns "alternate access method" in mode (eg "-rw-r--r--.").
9825
9826 2013-09-08 Glenn Morris <rgm@gnu.org>
9827
9828 * saveplace.el (load-save-place-alist-from-file):
9829 Demote errors. (Bug#15305)
9830
9831 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9832
9833 Improve compatibility with older Emacsen, and XEmacs.
9834
9835 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9836 only if it is bound. It isn't for XEmacs.
9837 (with-tramp-progress-reporter): Do not let-bind `result'.
9838 This yields to scoping errors in XEmacs.
9839 (tramp-handle-make-auto-save-file-name): New function, moved from
9840 tramp-sh.el.
9841
9842 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9843 for `make-auto-save-file-name'.
9844 (tramp-adb--gnu-switches-to-ash):
9845 Use `tramp-compat-replace-regexp-in-string'.
9846
9847 * net/tramp-cache.el (tramp-cache-print): Call
9848 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9849
9850 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9851 bound. It isn't for XEmacs.
9852
9853 * net/tramp-compat.el (tramp-compat-copy-file):
9854 Catch `wrong-number-of-arguments' error.
9855 (tramp-compat-replace-regexp-in-string): New defun.
9856
9857 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9858 for `make-auto-save-file-name'.
9859 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9860 `copy-file'.
9861 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9862 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9863 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9864
9865 * net/tramp-gw.el (tramp-gw-open-network-stream):
9866 Use `tramp-compat-replace-regexp-in-string'.
9867
9868 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9869 Call `tramp-handle-make-auto-save-file-name'.
9870 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9871 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9872 (tramp-sh-file-inotifywait-process-filter):
9873 Use `tramp-compat-replace-regexp-in-string'.
9874 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9875
9876 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9877 for `make-auto-save-file-name'.
9878 (tramp-smb-handle-copy-directory):
9879 Call `tramp-compat-replace-regexp-in-string'.
9880 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9881 (tramp-smb-handle-copy-file): Improve error message.
9882 (tramp-smb-handle-rename-file): Rename directly only in case
9883 `newname' does not exist yet. This is a restriction of smbclient.
9884 (tramp-smb-maybe-open-connection): Rerun the function only when
9885 `auth-sources' is non-nil.
9886
9887 2013-09-08 Kenichi Handa <handa@gnu.org>
9888
9889 * international/characters.el: Set category "^" (Combining) for
9890 more characters.
9891
9892 2013-09-07 Alan Mackenzie <acm@muc.de>
9893
9894 Correctly fontify Java class constructors.
9895 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9896 in Java Mode.
9897 (c-recognize-typeless-decls): Set the Java value to t.
9898 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9899 While handling a "(", add a check for, effectively, Java, and handle a
9900 "typeless" declaration there.
9901
9902 2013-09-07 Roland Winkler <winkler@gnu.org>
9903
9904 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9905 field subtitle for entry type book.
9906
9907 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9908
9909 * minibuffer.el: Make minibuffer-complete call completion-in-region
9910 rather than other way around.
9911 (completion--some, completion-pcm--find-all-completions):
9912 Don't delay signals when debugging.
9913 (minibuffer-completion-contents): Beware fields within the
9914 minibuffer contents.
9915 (completion-all-sorted-completions): Use defvar-local.
9916 (completion--do-completion, completion--cache-all-sorted-completions)
9917 (completion-all-sorted-completions, minibuffer-force-complete):
9918 Add args `beg' and `end'.
9919 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9920 (minibuffer-complete): Use completion-in-region.
9921 (completion-complete-and-exit): New fun, extracted from
9922 minibuffer-complete-and-exit.
9923 (minibuffer-complete-and-exit): Use it.
9924 (completion--complete-and-exit): Rename from
9925 minibuffer--complete-and-exit.
9926 (completion-in-region--single-word): New function, extracted from
9927 minibuffer-complete-word.
9928 (minibuffer-complete-word): Use it.
9929 (display-completion-list): Make `common-substring' argument obsolete.
9930 (completion--in-region): Call completion--in-region-1 instead of
9931 minibuffer-complete.
9932 (completion-help-at-point): Pass boundaries to
9933 minibuffer-completion-help as args rather than via an overlay.
9934 (completion-pcm--string->pattern): Use `any-delim'.
9935 (completion-pcm--optimize-pattern): New function.
9936 (completion-pcm--pattern->regex): Handle `any-delim'.
9937 * icomplete.el (icomplete-forward-completions)
9938 (icomplete-backward-completions, icomplete-completions):
9939 Adjust calls to completion-all-sorted-completions and
9940 completion--cache-all-sorted-completions.
9941 (icomplete-with-completion-tables): Default to t.
9942 * emacs-lisp/crm.el (crm--current-element): Rename from
9943 crm--select-current-element. Don't put an overlay but return the
9944 boundaries instead.
9945 (crm--completion-command): Take two new args to bind to the boundaries.
9946 (crm-completion-help): Adjust accordingly.
9947 (crm-complete): Use completion-in-region.
9948 (crm-complete-word): Use completion-in-region--single-word.
9949 (crm-complete-and-exit): Use completion-complete-and-exit.
9950
9951 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9952
9953 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9954 than dynamically.
9955
9956 2013-09-06 Juri Linkov <juri@jurta.org>
9957
9958 * info.el (Info-display-images-node): When image file doesn't exist
9959 display text version of the image if it's provided in the Info file.
9960 Otherwise, display the location of missing image from SRC attribute.
9961 Add help-echo text property from ALT attribute. (Bug#15279)
9962
9963 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9964
9965 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9966 (edit-abbrevs-mode): Use define-derived-mode.
9967
9968 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9969 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9970 that it's defined.
9971 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9972 Use define-derived-mode.
9973
9974 * epg.el (epg-start-encrypt): Minor CSE simplification.
9975
9976 2013-09-06 William Xu <william.xwl@gmail.com>
9977
9978 * arc-mode.el: Add support for 7za (bug#15264).
9979 (archive-7z-program): New var.
9980 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9981 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9982 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9983
9984 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9985
9986 Remove URL syntax.
9987
9988 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9989 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9990 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9991 (tramp-postfix-host-format, tramp-file-name-regexp)
9992 (tramp-completion-file-name-regexp)
9993 (tramp-completion-dissect-file-name)
9994 (tramp-handle-substitute-in-file-name): Remove 'url case.
9995 (tramp-file-name-regexp-url)
9996 (tramp-completion-file-name-regexp-url): Remove constants.
9997
9998 2013-09-06 Glenn Morris <rgm@gnu.org>
9999
10000 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
10001
10002 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
10003
10004 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
10005 keywords" below "here-doc beginnings" (Bug#15270).
10006
10007 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
10008
10009 * subr.el (pop): Use `car-safe'.
10010 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
10011 to detect unused `pop' return value.
10012
10013 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
10014 var `block-regexp'.
10015 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
10016 (python-fill-string): Remove unused var `marker'.
10017 (python-skeleton-add-menu-items): Remove unused var `items'.
10018
10019 * international/mule-cmds.el: Require CL.
10020 (find-coding-systems-for-charsets): Avoid add-to-list.
10021 (sanitize-coding-system-list): New function, extracted from
10022 select-safe-coding-system-interactively.
10023 (select-safe-coding-system-interactively): Use it.
10024 (read-input-method-name): Accept symbols for `default'.
10025
10026 * emacs-lisp/advice.el (defadvice): Add indent rule.
10027
10028 2013-09-05 Daniel Hackney <dan@haxney.org>
10029
10030 * dired-x.el:
10031 * net/ange-ftp.el:
10032 * net/browse-url.el:
10033 * net/dbus.el:
10034 * net/eudc.el:
10035 * net/eudcb-ldap.el:
10036 * net/eww.el:
10037 * net/imap.el:
10038 * printing.el:
10039 * vc/ediff-diff.el:
10040 * vc/ediff-init.el:
10041 * vc/ediff-merg.el:
10042 * vc/ediff-mult.el:
10043 * vc/ediff-util.el:
10044 * vc/ediff-wind.el:
10045 * vc/ediff.el:
10046 * vc/emerge.el:
10047 * vc/pcvs.el:
10048 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
10049 byte compiler. Remove some unused let-bound variables.
10050
10051 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
10052
10053 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
10054 a "ref-cell", since it gets better optimized (bug#14883).
10055
10056 2013-09-05 Glenn Morris <rgm@gnu.org>
10057
10058 * progmodes/cc-awk.el (c-forward-sws): Declare.
10059
10060 2013-09-04 Glenn Morris <rgm@gnu.org>
10061
10062 * generic-x.el [rul-generic-mode]: Require cc-mode.
10063 (c++-mode-syntax-table): Declare.
10064 (rul-generic-mode-syntax-table): Init in the defvar.
10065
10066 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
10067
10068 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
10069 (vc-do-command, vc-set-async-update):
10070 * vc/vc-mtn.el (vc-mtn-dir-status):
10071 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
10072 (vc-hg-pull, vc-hg-merge-branch):
10073 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
10074 (vc-git-merge-branch):
10075 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
10076 (vc-cvs-dir-status-files):
10077 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
10078 (vc-bzr-dir-status-files):
10079 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
10080 * vc/vc-annotate.el: Use lexical-binding.
10081 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
10082 (vc-sentinel-movepoint): Declare.
10083 (vc-annotate): Don't use `goto-line'.
10084 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
10085 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
10086 (vc-sentinel-movepoint): Declare.
10087 * vc/vc-svn.el: Use lexical-binding.
10088 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
10089 * vc/vc-sccs.el:
10090 * vc/vc-rcs.el: Use lexical-binding.
10091
10092 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
10093 `deleted'. Don't drop errors silently.
10094
10095 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
10096
10097 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
10098
10099 * vc/vc.el (vc-ignore): Rewrite.
10100 (vc-default-ignore): New function.
10101 (vc-default-ignore-completion-table): Use find-ignore-file.
10102
10103 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
10104 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
10105 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
10106 Remove. Most code moved to vc.el.
10107
10108 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
10109
10110 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
10111 * net/tramp-smb.el (tramp-smb-get-file-entries):
10112 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
10113 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
10114
10115 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
10116 Update call to it.
10117 (eww-change-select): Remove unused var `properties'.
10118 (eww-make-unique-file-name): Remove unused var `base'.
10119
10120 * finder.el (finder-compile-keywords): Don't mess with windows.
10121
10122 * calculator.el (calculator-funcall): Fix typo in last change.
10123
10124 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
10125
10126 * emacs-lisp/package.el (package-activate-1): Don't let a missing
10127 <pkg>-autoloads.el file stop us.
10128
10129 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
10130 warnings, and factor out common code.
10131
10132 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
10133
10134 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
10135 two-character operators and whether the character preceding them
10136 changes their meaning (Bug#15208).
10137
10138 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
10139
10140 Format code sent to Python shell for robustness.
10141 * progmodes/python.el (python-shell-buffer-substring):
10142 New function.
10143 (python-shell-send-region, python-shell-send-buffer): Use it.
10144
10145 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
10146
10147 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
10148 * net/tramp.el (tramp-user-error): ... here.
10149 (tramp-find-method, tramp-check-proper-host)
10150 (tramp-dissect-file-name, tramp-debug-message)
10151 (tramp-handle-shell-command):
10152 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10153 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
10154
10155 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
10156
10157 2013-09-02 Martin Rudalics <rudalics@gmx.at>
10158
10159 * avoid.el (mouse-avoidance-point-position)
10160 (mouse-avoidance-too-close-p): Handle case where posn-at-point
10161 returns nil.
10162
10163 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
10164
10165 * progmodes/python.el (python-shell-completion-get-completions):
10166 Drop use of deleted `comint-last-prompt-overlay'.
10167 (python-nav-if-name-main): New command.
10168
10169 2013-09-01 Glenn Morris <rgm@gnu.org>
10170
10171 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10172 Avoid leading space in $wins. Otherwise the sed command used by
10173 eg compile-main ends up containing "/*.el". (Bug#15170)
10174
10175 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
10176
10177 2013-08-30 Glenn Morris <rgm@gnu.org>
10178
10179 * emacs-lisp/bytecomp.el (byte-recompile-directory):
10180 Fix is-this-a-directory logic. (Bug#15220)
10181
10182 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10183
10184 * textmodes/css-mode.el: Use SMIE.
10185 (css-smie-grammar): New var.
10186 (css-smie--forward-token, css-smie--backward-token)
10187 (css-smie-rules): New functions.
10188 (css-mode): Use them.
10189 (css-navigation-syntax-table): Remove var.
10190 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
10191 (css-indent-calculate, css-indent-line): Remove functions.
10192
10193 Misc changes to reduce use of `(lambda...); and other cleanups.
10194 * cus-edit.el: Use lexical-binding.
10195 (customize-push-and-save, customize-apropos)
10196 (custom-buffer-create-internal): Use closures.
10197 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
10198 * progmodes/ada-xref.el: Use setq.
10199 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
10200 * dframe.el: Use lexical-binding.
10201 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
10202 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
10203 * descr-text.el: Use lexical-binding.
10204 (describe-text-widget, describe-text-sexp, describe-property-list):
10205 Use closures.
10206 * comint.el (comint-history-isearch-push-state): Use a closure.
10207 * calculator.el: Use lexical-binding.
10208 (calculator-number-to-string): Make it work with lexical-binding.
10209 (calculator-funcall): Same and use cl-letf.
10210
10211 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
10212 (lisp--company-doc-string, lisp--company-location): New functions.
10213 (lisp-completion-at-point): Use them to improve Company support.
10214
10215 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
10216 params of lambda expressions.
10217 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
10218 (ruby-smie--opening-pipe-p): New function.
10219 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
10220 symbols and matched |...| for formal params.
10221 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
10222 from being treated as hanging. Handle "rescue".
10223
10224 2013-08-29 Glenn Morris <rgm@gnu.org>
10225
10226 * progmodes/cc-engine.el (c-pull-open-brace):
10227 Move definition before use.
10228
10229 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10230
10231 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
10232 are immutable. Don't use `unsafe' any more.
10233 (cl--defsubst-expand): Don't substitute at the same time as keeping
10234 a residual unused let-binding. Don't use `unsafe' any more.
10235
10236 2013-08-29 Glenn Morris <rgm@gnu.org>
10237
10238 * calendar/cal-china.el (calendar-chinese-year-cache):
10239 Recenter on 2015.
10240
10241 * nxml/nxml-util.el (nxml-debug-clear-inside):
10242 Use cl-loop rather than loop.
10243
10244 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
10245
10246 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
10247
10248 2013-08-28 Glenn Morris <rgm@gnu.org>
10249
10250 * progmodes/antlr-mode.el: No need to require cc-mode twice.
10251
10252 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
10253
10254 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
10255
10256 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10257
10258 * simple.el (repeat-complex-command--called-interactively-skip):
10259 New function.
10260 (repeat-complex-command): Use it (bug#14136).
10261
10262 * progmodes/cc-mode.el: Minor cleanup of var declarations.
10263 (c-define-abbrev-table): Add `doc' argument.
10264 (c-mode-abbrev-table, c++-mode-abbrev-table)
10265 (objc-mode-abbrev-table, java-mode-abbrev-table)
10266 (idl-mode-abbrev-table, pike-mode-abbrev-table)
10267 (awk-mode-abbrev-table): Use it.
10268 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
10269 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
10270 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
10271 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
10272 Move initialization into the declaration; and remove any
10273 autoload cookie.
10274
10275 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
10276 and dynamic let binding.
10277
10278 * vc/smerge-mode.el: Remove redundant :group args.
10279
10280 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
10281 to load-path.
10282
10283 2013-08-28 Juri Linkov <juri@jurta.org>
10284
10285 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
10286 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
10287 (isearch-other-meta-char): Handle an undefined shifted printing
10288 character by downshifting it. (Bug#15200)
10289
10290 2013-08-28 Juri Linkov <juri@jurta.org>
10291
10292 * isearch.el (isearch-search): Change regexp error message for
10293 non-regexp searches. (Bug#15166)
10294
10295 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
10296
10297 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
10298 for portability to hosts where /bin/sh has problems.
10299
10300 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10301
10302 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
10303
10304 2013-08-27 Juri Linkov <juri@jurta.org>
10305
10306 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
10307 in the keyboard macro. (Bug#15126)
10308
10309 2013-08-27 Juri Linkov <juri@jurta.org>
10310
10311 * isearch.el (isearch-quote-char): Comment out converting unibyte
10312 to multibyte, thus syncing with its `quoted-insert' counterpart.
10313 (Bug#15166)
10314
10315 2013-08-27 Martin Rudalics <rudalics@gmx.at>
10316
10317 * window.el (display-buffer-use-some-window): Add missing
10318 argument in call of get-largest-window (Bug#15185).
10319 Reported by Stephen Leake.
10320
10321 2013-08-27 Glenn Morris <rgm@gnu.org>
10322
10323 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
10324
10325 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
10326
10327 * progmodes/python.el (python-font-lock-keywords): Don't return nil
10328 from a matcher-function unless there's no more matches (bug#15161).
10329
10330 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10331
10332 * minibuffer.el: Revert change from 2013-08-20.
10333
10334 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
10335 with text property `tramp-default', if appropriate.
10336 (tramp-check-proper-host): New defun.
10337 (tramp-dissect-file-name): Do not check hostname. Revert change
10338 of 2013-03-18.
10339 (tramp-backtrace): Make VEC-OR-PROC optional.
10340
10341 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10342 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10343 * net/tramp-sh.el (tramp-maybe-open-connection):
10344 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10345 Apply `tramp-check-proper-host'.
10346
10347 2013-08-26 Tassilo Horn <tsdh@gnu.org>
10348
10349 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
10350 lambda expression in order to have `describe-variable' display it.
10351
10352 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10353
10354 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
10355 BUF can be optional. (Bug#15186)
10356
10357 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
10358
10359 * progmodes/flymake.el (flymake-get-real-file-name-function):
10360 Fix broken customization. (Bug#15184)
10361
10362 2013-08-25 Alan Mackenzie <acm@muc.de>
10363
10364 Improve indentation of bracelists defined by macros (without "=").
10365
10366 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
10367 expansion begins with "{", regard it as bracelist when it doesn't
10368 contain a ";".
10369
10370 Parse C++ inher-intro when there's a template split over 2 lines.
10371
10372 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
10373 rigorously the search for "class" etc. followed by ":".
10374
10375 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
10376 random languages a regexp which never matches rather than nil.
10377
10378 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
10379
10380 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
10381 (c-awk-regexp-one-line-possibly-open-char-list-re)
10382 (c-awk-one-line-possibly-open-regexp-re)
10383 (c-awk-one-line-non-syn-ws*-re): Remove.
10384 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
10385 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
10386 (c-awk-space*-unclosed-regexp-/-re): New constants.
10387 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
10388 aren't regexp delimiters.
10389
10390 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
10391 handling for a rare situation in AWK Mode involving unterminated
10392 strings/regexps.
10393
10394 2013-08-23 Glenn Morris <rgm@gnu.org>
10395
10396 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
10397
10398 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
10399
10400 * files.el (create-file-buffer): If the result would begin with
10401 spaces, prepend a "|" instead of removing them. (Bug#15162)
10402
10403 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10404
10405 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
10406 text-properties (bug#15155).
10407
10408 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
10409 exist any more.
10410 (calc-keypad-redraw): Remove unused var `pad'.
10411 (calc-keypad-press): Remove unused var `menu'.
10412
10413 2013-08-23 Martin Rudalics <rudalics@gmx.at>
10414
10415 * window.el (display-buffer-pop-up-frame):
10416 Call pop-up-frame-function with BUFFER current so `make-frame' will
10417 use it as the new frame's buffer (Bug#15133).
10418
10419 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10420
10421 * calendar/timeclock.el: Minor cleanups.
10422 (timeclock-ask-before-exiting, timeclock-use-display-time):
10423 Use `symbol'.
10424 (timeclock-modeline-display): Define as alias before the
10425 actual definition.
10426 (timeclock-mode-line-display): Use define-minor-mode.
10427 (timeclock-day-list-template): Make it a function, add an argument.
10428 (timeclock-day-list-required, timeclock-day-list-length)
10429 (timeclock-day-list-debt, timeclock-day-list-span)
10430 (timeclock-day-list-break): Adjust calls accordingly.
10431
10432 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
10433
10434 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
10435 Use read--expression so that completion works again.
10436
10437 2013-08-21 Sam Steingold <sds@gnu.org>
10438
10439 Add rudimentary inferior shell interaction
10440 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
10441 (sh-set-shell): Reset it.
10442 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
10443 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
10444
10445 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
10446
10447 * align.el: Use lexical-binding.
10448 (align-region): Simplify accordingly.
10449
10450 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
10451
10452 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
10453
10454 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
10455 `non-essential' up.
10456
10457 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
10458
10459 * net/tramp.el:
10460 * net/tramp-adb.el:
10461 * net/tramp-cmds.el:
10462 * net/tramp-ftp.el:
10463 * net/tramp-gvfs.el:
10464 * net/tramp-gw.el:
10465 * net/tramp-sh.el: Don't wrap external variable declarations by
10466 `eval-when-compile'.
10467
10468 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10469
10470 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
10471 now that Emacs supports ImageMagick animations.
10472
10473 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
10474
10475 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
10476 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
10477
10478 2013-08-16 Martin Rudalics <rudalics@gmx.at>
10479
10480 * window.el (mouse-autoselect-window-select): Do autoselect when
10481 mouse pointer is on margin.
10482
10483 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
10484
10485 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
10486
10487 2013-08-16 Glenn Morris <rgm@gnu.org>
10488
10489 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
10490 Handle "Remote Directory" response of some clients. (Bug#15058)
10491
10492 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
10493 Tweak warning. (Bug#14926)
10494
10495 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
10496 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
10497
10498 * image-mode.el (image-mode-map): Add menu items to reverse,
10499 increase, decrease, reset animation speed.
10500 (image--set-speed, image-increase-speed, image-decrease-speed)
10501 (image-reverse-speed, image-reset-speed): New functions.
10502 (image-mode-map): Add bindings for speed commands.
10503
10504 * image.el (image-animate-get-speed, image-animate-set-speed):
10505 New functions.
10506 (image-animate-timeout): Respect image :speed property.
10507
10508 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10509
10510 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
10511 previous line (bug#15101).
10512 (debugger-eval-expression, debugger-record-expression):
10513 Use read--expression (bug#15102).
10514
10515 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
10516
10517 Remove byte compiler warnings, visible when compiling with
10518 `byte-compile-force-lexical-warnings' set to t.
10519
10520 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
10521 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
10522 (tramp-handle-unhandled-file-name-directory)
10523 (tramp-handle-file-notify-add-watch, tramp-action-login)
10524 (tramp-action-succeed, tramp-action-permission-denied)
10525 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
10526 arguments with "_".
10527
10528 * net/tramp-adb.el (tramp-adb-parse-device-names)
10529 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
10530 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
10531 (tramp-adb-handle-file-truename): Remove unused arguments.
10532
10533 * net/tramp-cache.el (tramp-flush-directory-property)
10534 (tramp-flush-connection-property, tramp-list-connections)
10535 (tramp-parse-connection-properties): Prefix unused arguments with "_".
10536
10537 * net/tramp-compat.el (tramp-compat-make-temp-file):
10538 Rename FILENAME to F.
10539
10540 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10541 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
10542 (tramp-zeroconf-parse-workstation-device-names)
10543 (tramp-zeroconf-parse-webdav-device-names)
10544 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
10545
10546 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10547 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
10548
10549 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
10550 arguments.
10551 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
10552 (tramp-sh-handle-insert-file-contents-literally)
10553 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
10554 with "_".
10555 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
10556 Remove unused variables.
10557
10558 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10559 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10560 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10561
10562 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10563 Make them a defconst.
10564 (tramp-uuencode-region): Remove unused variable.
10565
10566 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
10567
10568 * frameset.el (frameset--prop-setter): New function.
10569 (frameset-prop): Add gv-setter declaration.
10570 (frameset-filter-minibuffer): Deal with the case that the minibuffer
10571 parameter was already set in FILTERED. Doc fix.
10572 (frameset--record-minibuffer-relationships): Allow saving a
10573 minibufferless frame without its corresponding minibuffer frame.
10574 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10575 frame, if the frame id matches.
10576 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10577 frames before orphaned ones.
10578 (frameset-restore): Warn about orphaned windows, instead of error out.
10579
10580 2013-08-14 Martin Rudalics <rudalics@gmx.at>
10581
10582 * window.el (window-make-atom): Don't overwrite parameter
10583 already present.
10584 (display-buffer-in-atom-window): Handle special case where we
10585 split an already atomic window.
10586 (window--major-non-side-window, display-buffer-in-side-window)
10587 (window--side-check): Ignore minibuffer window when walking
10588 window tree.
10589 (window-deletable-p): Return 'frame only if no other frame uses
10590 our minibuffer window.
10591 (record-window-buffer): Run buffer-list-update-hook.
10592 (split-window): Make sure window--check-frame won't destroy an
10593 existing atomic window in case the new window gets nested
10594 inside.
10595 (display-buffer-at-bottom): Ignore minibuffer window when
10596 walking window tree. Don't split a side window.
10597 (pop-to-buffer): Don't set-buffer here, the select-window call
10598 should do that.
10599 (mouse-autoselect-window-select): Autoselect only if we are in the
10600 text portion of the window.
10601
10602 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10603
10604 * net/shr.el (shr-parse-image-data): New function to grab both the
10605 data itself and the Content-Type.
10606 (shr-put-image): Use it.
10607
10608 * net/eww.el (eww-display-image): Ditto.
10609
10610 * image.el (image-content-type-suffixes): New variable.
10611
10612 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10613
10614 * progmodes/python.el (python-imenu--build-tree)
10615 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10616
10617 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
10618
10619 * simple.el (backward-word): Mention the optional argument.
10620
10621 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10622
10623 * frameset.el (frameset--make): Rename constructor from make-frameset.
10624 (frameset-p, frameset-valid-p): Don't autoload.
10625 (frameset-valid-p): Use normal accessors.
10626
10627 2013-08-13 Glenn Morris <rgm@gnu.org>
10628
10629 * progmodes/compile.el (compile-command): Tweak example in doc.
10630 * obsolete/scribe.el (scribe-mode):
10631 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
10632
10633 * mail/feedmail.el (feedmail-confirm-outgoing)
10634 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10635
10636 * cus-start.el (truncate-partial-width-windows): Fix type.
10637
10638 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10639
10640 * net/shr.el (shr-table-horizontal-line): Fix custom type.
10641
10642 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10643
10644 * emacs-lisp/timer.el (timer--time-setter): New function.
10645 (timer--time): Use it as gv-setter.
10646
10647 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10648 setter is not a symbol.
10649
10650 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
10651
10652 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10653 if sending fails. This makes debugging easier.
10654
10655 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
10656
10657 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10658 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10659 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10660
10661 2013-08-12 Eli Zaretskii <eliz@gnu.org>
10662
10663 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10664
10665 2013-08-12 Glenn Morris <rgm@gnu.org>
10666
10667 * format.el (format-annotate-function):
10668 Handle read-only text properties in the source. (Bug#14887)
10669
10670 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10671
10672 * net/eww.el (eww-display-html): Ignore coding system errors.
10673 One web site uses "utf-8lias" as the coding system.
10674
10675 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
10676
10677 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10678
10679 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
10680
10681 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10682 (tutorial--detailed-help): Remove unused local variables.
10683 (tutorial--save-tutorial-to): Use ignore-errors.
10684 (help-with-tutorial): Use looking-at-p.
10685
10686 * view.el (view-buffer-other-window, view-buffer-other-frame):
10687 Mark unused arguments.
10688
10689 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10690 (woman-select-symbol-fonts, woman, woman-find-file)
10691 (woman-insert-file-contents, woman-non-underline-faces):
10692 Use string-match-p.
10693 (woman1-unquote): Move declaration.
10694
10695 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10696 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10697 argument. Remove unused local variable.
10698 (xml-parse-elem-type): Use string-match-p.
10699 (xml-substitute-numeric-entities): Use ignore-errors.
10700
10701 * calculator.el (calculator): Mark unused argument.
10702 (calculator-paste, calculator-quit, calculator-integer-p):
10703 Use ignore-errors.
10704 (calculator-string-to-number, calculator-decimal, calculator-exp)
10705 (calculator-op-or-exp): Use string-match-p.
10706
10707 * dired.el (dired-buffer-more-recently-used-p): Declare.
10708 (dired-insert-set-properties, dired-insert-old-subdirs):
10709 Use ignore-errors.
10710
10711 * dired-aux.el (dired-compress): Use ignore-errors.
10712 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10713 (dired-do-async-shell-command, dired-do-shell-command)
10714 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10715 (dired-insert-subdir-validate): Use string-match-p.
10716 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10717 (dired-add-entry): Use string-match-p, looking-at-p.
10718 (dired-insert-subdir-newpos): Remove unused local variable.
10719
10720 * filenotify.el (file-notify-callback): Remove unused local variable.
10721
10722 * filesets.el (filesets-error): Mark unused argument.
10723 (filesets-which-command-p, filesets-filter-dir-names)
10724 (filesets-directory-files, filesets-get-external-viewer)
10725 (filesets-ingroup-get-data): Use string-match-p.
10726
10727 * find-file.el (ff-other-file-name, ff-other-file-name)
10728 (ff-find-the-other-file, ff-cc-hh-converter):
10729 Remove unused local variables.
10730 (ff-get-file-name): Use string-match-p.
10731 (ff-all-dirs-under): Use ignore-errors.
10732
10733 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10734 (follow-select-if-visible): Remove unused local variable.
10735
10736 * forms.el (read-file-filter): Move declaration.
10737 (forms--make-format, forms--make-parser, forms-insert-record):
10738 Quote function with #'.
10739 (forms--update): Use string-match-p. Quote function with #'.
10740
10741 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10742 (help-make-xrefs): Use looking-at-p.
10743 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10744
10745 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10746 (ibuffer-confirm-operation-on): Use string-match-p.
10747
10748 * msb.el (msb-item-handler, msb-dired-item-handler):
10749 Mark unused arguments.
10750
10751 * ses.el (ses-decode-cell-symbol)
10752 (ses-kill-override): Remove unused local variable.
10753 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10754 (ses-load): Use ignore-errors, looking-at-p.
10755 (ses-jump-safe): Use ignore-errors.
10756 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10757
10758 * tabify.el (untabify, tabify): Mark unused arguments.
10759
10760 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10761 Mark unused argument.
10762 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10763 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10764
10765 * emacs-lisp/timer.el (timer--time): Define setter with
10766 gv-define-setter to avoid deprecation warning.
10767
10768 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10769 (*record-cmpl-statistics-p*): Remove (was commented out).
10770 (cmpl-statistics-block): Remove (body was commented out).
10771 All callers changed.
10772 (add-completions-from-buffer, load-completions-from-file):
10773 Remove unused variables.
10774
10775 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10776
10777 * filecache.el (file-cache-delete-file-list):
10778 Print message only when told so.
10779 (file-cache-files-matching): Use #' in mapconcat argument.
10780
10781 * ffap.el (ffap-url-at-point): Fix reference to variable
10782 thing-at-point-default-mail-uri-scheme.
10783
10784 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10785
10786 * subr.el (define-error): New function.
10787 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10788 error-file-not-found and define with define-error.
10789 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10790 and define with define-error.
10791 * userlock.el (file-locked, file-supersession):
10792 * simple.el (mark-inactive):
10793 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10794 * progmodes/ada-mode.el (ada-mode-errors):
10795 * play/life.el (life-extinct):
10796 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10797 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10798 * nxml/rng-util.el (rng-error):
10799 * nxml/rng-uri.el (rng-uri-error):
10800 * nxml/rng-match.el (rng-compile-error):
10801 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10802 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10803 * nxml/nxml-rap.el (nxml-scan-error):
10804 * nxml/nxml-outln.el (nxml-outline-error):
10805 * net/soap-client.el (soap-error):
10806 * net/gnutls.el (gnutls-error):
10807 * net/ange-ftp.el (ftp-error):
10808 * mpc.el (mpc-proc-error):
10809 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10810 (json-number-format, json-string-escape, json-string-format)
10811 (json-key-format, json-object-format):
10812 * jka-compr.el (compression-error):
10813 * international/quail.el (quail-error):
10814 * international/kkc.el (kkc-error):
10815 * emacs-lisp/ert.el (ert-test-failed):
10816 * calc/calc.el (calc-error, inexact-result, math-overflow)
10817 (math-underflow):
10818 * bookmark.el (bookmark-error-no-filename):
10819 * epg.el (epg-error): Define with define-error.
10820
10821 * time.el (display-time-event-handler)
10822 (display-time-next-load-average): Don't call sit-for since it seems
10823 unnecessary (bug#15045).
10824
10825 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10826 Use #' instead of ' to quote functions.
10827 (checkdoc-output-mode): Use setq-local.
10828 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10829 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10830 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10831 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10832 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10833 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10834 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10835 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10836
10837 * ido.el (ido-completion-help): Fix up compiler warning.
10838
10839 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10840
10841 * frameset.el (frameset-p): Add autoload cookie.
10842 (frameset--jump-to-register): New function, based on code moved from
10843 register.el.
10844 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10845
10846 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10847 (frameset-restore, frameset-save, frameset-session-filter-alist):
10848 Remove declarations.
10849 (register-alist): Doc fix.
10850 (frameset-to-register): Move to frameset.el.
10851 (jump-to-register, describe-register-1): Remove frameset-specific code.
10852
10853 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10854
10855 * allout-widgets.el (allout-widgets-pre-command-business)
10856 (allout-widgets-post-command-business)
10857 (allout-widgets-after-change-handler)
10858 (allout-decorate-item-and-context, allout-set-boundary-marker)
10859 (allout-body-modification-handler)
10860 (allout-graphics-modification-handler): Mark ignored arguments.
10861 (allout-widgets-post-command-business)
10862 (allout-widgets-exposure-change-processor)
10863 (allout-widgets-exposure-undo-processor)
10864 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10865 (allout-parse-item-at-point, allout-decorate-item-guides)
10866 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10867 * allout.el (epa-passphrase-callback-function): Declare.
10868 (allout-overlay-insert-in-front-handler)
10869 (allout-overlay-interior-modification-handler)
10870 (allout-isearch-end-handler, allout-chart-siblings)
10871 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10872 (allout-yank-processing, allout-process-exposed)
10873 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10874 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10875 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10876 (lisp-indent-defform): Mark ignored arguments.
10877 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10878 (calculate-lisp-indent): Remove unused variables.
10879 * international/characters.el (indian-2-column, arabic-2-column)
10880 (tibetan): Mark ignored arguments.
10881 (use-cjk-char-width-table): Mark ignored arguments.
10882 Remove unused variables.
10883 * international/fontset.el (build-default-fontset-data)
10884 (x-compose-font-name, create-fontset-from-fontset-spec):
10885 Mark ignored arguments.
10886 (fontset-plain-name): Remove unused variables.
10887 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10888 (keyboard-coding-system): Mark ignored arguments.
10889 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10890 * help.el (resize-temp-buffer-window):
10891 * window.el (display-buffer-in-major-side-window)
10892 (display-buffer-in-side-window, display-buffer-in-previous-window):
10893 Remove unused variables.
10894 * isearch.el (isearch-forward-symbol):
10895 * version.el (emacs-bzr-version-bzr):
10896 * international/mule-cmds.el (current-language-environment):
10897 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10898 (x-handle-display):
10899 * term/pc-win.el (x-list-fonts, x-display-planes)
10900 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10901 (x-server-version, x-display-screens, x-display-mm-height)
10902 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10903 (x-selection-owner-p, x-own-selection-internal)
10904 (x-disown-selection-internal, x-get-selection-internal)
10905 (msdos-initialize-window-system):
10906 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10907 * term/x-win.el (x-handle-no-bitmap-icon):
10908 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10909 (vc-default-find-file-hook, vc-default-extra-menu):
10910 Mark ignored arguments.
10911
10912 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10913
10914 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10915 break-condition in the context of the debugged code (bug#12685).
10916
10917 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10918
10919 * comint.el:
10920 Do not use an overlay to highlight the last prompt. (Bug#14744)
10921 (comint-mode): Make comint-last-prompt buffer local.
10922 (comint-last-prompt): New variable.
10923 (comint-last-prompt-overlay): Remove. Superseded by
10924 comint-last-prompt.
10925 (comint-snapshot-last-prompt, comint-output-filter):
10926 Use comint-last-prompt.
10927
10928 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10929
10930 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10931 (frameset-save): Check validity of the resulting frameset.
10932
10933 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10934
10935 * ido.el (ido-record-command): Add doc string.
10936
10937 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10938
10939 * frameset.el (frameset): Do not disable creation of the default
10940 frameset-p predicate. Doc fix.
10941 (frameset-valid-p): New function, copied from the old predicate-p.
10942 Add additional checks.
10943 (frameset-restore): Check with frameset-valid-p.
10944 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10945 (frameset-name, frameset-description, frameset-properties)
10946 (frameset-states): Add docstring.
10947 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10948 (frameset-filter-alist): Doc fixes.
10949
10950 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10951
10952 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10953
10954 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10955
10956 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10957 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10958 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10959 (byte-compile-normal-call): Remove obsolescence check.
10960
10961 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10962
10963 * frameset.el (frameset-restore): Doc fix.
10964
10965 * register.el (frameset-frame-id, frameset-frame-with-id)
10966 (frameset-p, frameset-restore, frameset-save): Declare.
10967 (register-alist): Document framesets.
10968 (frameset-session-filter-alist): Declare.
10969 (frameset-to-register): New function.
10970 (jump-to-register): Implement jumping to framesets. Doc fix.
10971 (describe-register-1): Describe framesets.
10972
10973 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10974
10975 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10976
10977 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10978 Use lexical-binding.
10979
10980 * frameset.el (frameset): Use type vector, not list (incompatible
10981 change). Do not declare a new constructor, use the default one.
10982 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10983 `name' and `description', respectively, and add read-only slot
10984 `timestamp'. Doc fixes.
10985 (frameset-copy, frameset-persistent-filter-alist)
10986 (frameset-filter-alist, frameset-switch-to-gui-p)
10987 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10988 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10989 (frameset-filter-iconified, frameset-keep-original-display-p):
10990 Doc fixes.
10991 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10992 Rename from frameset-filter-(save|restore)-param. All callers changed.
10993 Doc fix.
10994 (frameset-p): Adapt to change to vector and be more thorough.
10995 Change arg name to OBJECT. Doc fix.
10996 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10997 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10998 All callers changed.
10999 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
11000 All callers changed.
11001 (frameset--record-minibuffer-relationships): Rename from
11002 frameset--process-minibuffer-frames. All callers changed.
11003 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
11004 Use new default constructor (again). Doc fix.
11005 (frameset--find-frame-if): Rename from `frameset--find-frame'.
11006 All callers changed.
11007 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
11008 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
11009 Doc fix.
11010 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
11011 PARAMETERS and WINDOW-STATE, respectively.
11012 (frameset-restore): Add new keyword argument PREDICATE.
11013 Reset frameset--target-display to nil. Doc fix.
11014
11015 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
11016
11017 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
11018 (bat-mode): Use it.
11019 (bat-mode-syntax-table): Mark \n as end-of-comment.
11020 (bat-font-lock-keywords): Remove comment rule.
11021
11022 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
11023 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
11024
11025 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
11026 (byte-compile-callargs-warn): Use `push'.
11027 (byte-compile-arglist-warn): Ignore higher-order "calls".
11028 (byte-compile-file-form-autoload): Use `pcase'.
11029 (byte-compile-function-form): If quoting a symbol, check that it exists.
11030
11031 2013-08-07 Eli Zaretskii <eliz@gnu.org>
11032
11033 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
11034 and add a few popular commands found in batch files.
11035 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
11036 (dos-mode): Doc fixes.
11037
11038 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
11039
11040 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
11041 (dos-mode): Use setq-local. Add space after "rem".
11042 (dos-mode-syntax-table): Don't use "w" for symbol chars.
11043 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
11044
11045 2013-08-07 Arni Magnusson <arnima@hafro.is>
11046
11047 * progmodes/dos.el: New file.
11048 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
11049 dos-mode.
11050
11051 2013-08-06 Glenn Morris <rgm@gnu.org>
11052
11053 * calendar/calendar.el: Add new faces, and day-header-array.
11054 (calendar-weekday-header, calendar-weekend-header)
11055 (calendar-month-header): New faces.
11056 (calendar-day-header-construct): New function.
11057 (calendar-day-header-width): Also :set calendar-day-header-array.
11058 (calendar-american-month-header, calendar-european-month-header)
11059 (calendar-iso-month-header): Use calendar- faces.
11060 (calendar-generate-month):
11061 Use calendar-day-header-array for day headers; apply faces to them.
11062 (calendar-mode): Check calendar-font-lock-keywords non-nil.
11063 (calendar-abbrev-construct): Add optional maxlen argument.
11064 (calendar-day-name-array): Doc fix.
11065 (calendar-day-name-array, calendar-abbrev-length)
11066 (calendar-day-abbrev-array):
11067 Also :set calendar-day-header-array, and maybe redraw.
11068 (calendar-day-header-array): New option. (Bug#15007)
11069 (calendar-font-lock-keywords): Set to nil and make obsolete.
11070 (calendar-day-name): Add option to use header array.
11071
11072 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11073
11074 * net/shr.el (shr-render-td): Remove debugging.
11075 (shr-render-td): Make width computation consistent by defaulting
11076 all zero-width columns to 10 characters. This may not be optimal,
11077 but it's at least consistent.
11078 (shr-make-table-1): Redo last change to fix the real problem in
11079 colspan handling.
11080
11081 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
11082
11083 * files.el (cache-long-line-scans):
11084 Make obsolete alias to `cache-long-scans'.
11085
11086 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
11087
11088 * frameset.el (frameset, frameset-filter-alist)
11089 (frameset-filter-params, frameset-save, frameset--reuse-frame)
11090 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
11091 (frameset-compute-pos): Rename from frameset--compute-pos,
11092 and add docstring.
11093 (frameset-move-onscreen): Use frameset-compute-pos.
11094 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11095
11096 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
11097 Fix typos in docstrings.
11098
11099 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
11100
11101 * frame.el (get-other-frame): Tiny cleanup.
11102
11103 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
11104
11105 * vc/vc.el (vc-default-ignore-completion-table):
11106 Silence byte-compiler warning.
11107
11108 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
11109 slot, which can indeed be nil.
11110 (frameset-live-filter-alist, frameset-persistent-filter-alist):
11111 Move entry for `left' from persistent to live filter alist.
11112 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
11113 Doc fixes.
11114 (frameset-filter-params): When restoring a frame, copy items added to
11115 `filtered', to avoid unwittingly modifying the original parameters.
11116 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
11117 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
11118
11119 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
11120 to use looking-at-p instead of looking-at. (Bug#15028)
11121
11122 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11123
11124 Revert introduction of isearch-filter-predicates (bug#14714).
11125 Rely on add-function instead.
11126 * isearch.el (isearch-filter-predicates): Rename it back to
11127 isearch-filter-predicate.
11128 (isearch-message-prefix): Use advice-function-mapc and advice
11129 properties to get the isearch-message-prefix.
11130 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
11131 instead of run-hook-with-args-until-failure.
11132 (isearch-filter-visible): Not obsolete any more.
11133 * loadup.el: Preload nadvice.
11134 * replace.el (perform-replace): Revert to funcall
11135 instead of run-hook-with-args-until-failure.
11136 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
11137 * dired-aux.el (dired-isearch-filenames-mode): Rename from
11138 dired-isearch-filenames-toggle; make it into a proper minor mode.
11139 Use add/remove-function.
11140 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
11141 Call the minor-mode rather than add/remove-hook.
11142 (dired-isearch-filter-filenames):
11143 Remove isearch-message-prefix property.
11144 * info.el (Info--search-loop): New function, extracted from Info-search.
11145 Funcall isearch-filter-predicate instead of
11146 run-hook-with-args-until-failure isearch-filter-predicates.
11147 (Info-search): Use it.
11148 (Info-mode): Use isearch-filter-predicate instead of
11149 isearch-filter-predicates.
11150
11151 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11152
11153 Do not call to `selected-window' where it is assumed by default.
11154 Affected functions are `window-minibuffer-p', `window-dedicated-p',
11155 `window-hscroll', `window-width', `window-height', `window-buffer',
11156 `window-frame', `window-start', `window-point', `next-window'
11157 and `window-display-table'.
11158 * abbrev.el (abbrev--default-expand):
11159 * bs.el (bs--show-with-configuration):
11160 * buff-menu.el (Buffer-menu-mouse-select):
11161 * calc/calc.el (calc):
11162 * calendar/calendar.el (calendar-generate-window):
11163 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
11164 (diary-make-entry):
11165 * comint.el (send-invisible, comint-dynamic-complete-filename)
11166 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
11167 * completion.el (complete):
11168 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
11169 * disp-table.el (describe-current-display-table):
11170 * doc-view.el (doc-view-insert-image):
11171 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
11172 * ehelp.el (with-electric-help):
11173 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11174 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
11175 * emacs-lisp/helper.el (Helper-help-scroller):
11176 * emulation/cua-base.el (cua--post-command-handler-1):
11177 * eshell/esh-mode.el (eshell-output-filter):
11178 * ffap.el (ffap-gnus-wrapper):
11179 * help-macro.el (make-help-screen):
11180 * hilit-chg.el (highlight-compare-buffers):
11181 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
11182 * hl-line.el (global-hl-line-highlight):
11183 * icomplete.el (icomplete-simple-completing-p):
11184 * isearch.el (isearch-done):
11185 * jit-lock.el (jit-lock-stealth-fontify):
11186 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
11187 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
11188 * mpc.el (mpc-tagbrowser, mpc):
11189 * net/rcirc.el (rcirc-any-buffer):
11190 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
11191 * play/landmark.el (landmark-max-width, landmark-max-height):
11192 * play/zone.el (zone):
11193 * progmodes/compile.el (compilation-goto-locus):
11194 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
11195 * progmodes/etags.el (find-tag-other-window):
11196 * progmodes/fortran.el (fortran-column-ruler):
11197 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
11198 * progmodes/verilog-mode.el (verilog-point-text):
11199 * reposition.el (reposition-window):
11200 * rot13.el (toggle-rot13-mode):
11201 * server.el (server-switch-buffer):
11202 * shell.el (shell-dynamic-complete-command)
11203 (shell-dynamic-complete-environment-variable):
11204 * simple.el (insert-buffer, set-selective-display)
11205 (delete-completion-window):
11206 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
11207 (speedbar-recenter):
11208 * startup.el (fancy-splash-head):
11209 * textmodes/ispell.el (ispell-command-loop):
11210 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
11211 * tutorial.el (help-with-tutorial):
11212 * vc/add-log.el (add-change-log-entry):
11213 * vc/compare-w.el (compare-windows):
11214 * vc/ediff-help.el (ediff-indent-help-message):
11215 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
11216 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
11217 (ediff-setup-control-frame):
11218 * vc/emerge.el (emerge-position-region):
11219 * vc/pcvs-util.el (cvs-bury-buffer):
11220 * window.el (walk-windows, mouse-autoselect-window-select):
11221 * winner.el (winner-set-conf, winner-undo): Related users changed.
11222
11223 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11224
11225 * frameset.el (frameset--set-id): Doc fix.
11226 (frameset-frame-id, frameset-frame-id-equal-p)
11227 (frameset-locate-frame-id): New functions.
11228 (frameset--process-minibuffer-frames, frameset--reuse-frame)
11229 (frameset-restore): Use them.
11230
11231 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11232
11233 Do not call to `selected-frame' where it is assumed by default.
11234 Affected functions are `raise-frame', `redraw-frame',
11235 `frame-first-window', `frame-terminal' and `delete-frame'.
11236 * calendar/appt.el (appt-disp-window):
11237 * epg.el (epg-wait-for-completion):
11238 * follow.el (follow-delete-other-windows-and-split)
11239 (follow-avoid-tail-recenter):
11240 * international/mule.el (set-terminal-coding-system):
11241 * mail/rmail.el (rmail-mail-return):
11242 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
11243 * progmodes/f90.el (f90-add-imenu-menu):
11244 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
11245 * server.el (server-switch-buffer):
11246 * simple.el (delete-completion-window):
11247 * talk.el (talk):
11248 * term/xterm.el (terminal-init-xterm-modify-other-keys)
11249 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
11250 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
11251 * vc/ediff.el (ediff-documentation): Related users changed.
11252 * frame.el (selected-terminal): Remove the leftover.
11253
11254 2013-08-05 Glenn Morris <rgm@gnu.org>
11255
11256 * calendar/calendar.el (calendar-generate-month):
11257 Fix for calendar-column-width != 1 + calendar-day-digit-width.
11258 (calendar-generate-month, calendar-font-lock-keywords):
11259 Fix for calendar-day-header-width > length of any day name.
11260
11261 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11262
11263 * desktop.el (desktop-clear): Use new name of sort predicate.
11264
11265 * frameset.el (frameset): Add docstring. Move :version property to its
11266 own `version' slot.
11267 (frameset-copy): Rename from copy-frameset.
11268 (frameset-p): Check more thoroughly.
11269 (frameset-prop): Do not check for :version, which is no longer a prop.
11270 (frameset-live-filter-alist, frameset-persistent-filter-alist):
11271 Use new :never value instead of t.
11272 (frameset-filter-alist): Expand and clarify docstring.
11273 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
11274 (frameset-filter-minibuffer, frameset-filter-save-param)
11275 (frameset-filter-restore-param, frameset-filter-iconified):
11276 Add pointer to docstring of frameset-filter-alist.
11277 (frameset-filter-params): Rename filter values to be more meaningful:
11278 :never instead of t, and reverse the meanings of :save and :restore.
11279 (frameset--process-minibuffer-frames): Clarify error message.
11280 (frameset-save): Avoid unnecessary and confusing call to framep.
11281 Use new BOA constructor for framesets.
11282 (frameset--reuse-list): Doc fix.
11283 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
11284 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
11285 (frameset-minibufferless-first-p): Doc fix.
11286 Rename from frameset-sort-frames-for-deletion.
11287 (frameset-restore): Doc fixes. Use new function names.
11288 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11289
11290 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11291
11292 * desktop.el (desktop-restore-forces-onscreen)
11293 (desktop-restore-reuses-frames): Document :keyword constant values.
11294 (desktop-filter-parameters-alist): Remove, now identical to
11295 frameset-filter-alist.
11296 (desktop--filter-tty*): Remove, moved to frameset.el.
11297 (desktop-save-frameset, desktop-restore-frameset):
11298 Do not pass :filters argument.
11299
11300 * frameset.el (frameset-live-filter-alist)
11301 (frameset-persistent-filter-alist): New variables.
11302 (frameset-filter-alist): Use them. Add autoload cookie.
11303 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
11304 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
11305 `frameset--id' (it's supposed to be internal to frameset.el).
11306 (frameset--process-minibuffer-frames): Ditto. Doc fix.
11307 (frameset--initial-params): New function.
11308 (frameset--get-frame): Use it. Doc fix.
11309 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
11310 Accept :all, not 'all.
11311 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
11312 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
11313 with fbound symbols. Fix frame id matching, and remove matching ids if
11314 the frame being restored is deleted. Obey :delete.
11315
11316 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11317
11318 * subr.el (macrop): New function.
11319 (text-clone--maintaining): New var.
11320 (text-clone--maintain): Rename from text-clone-maintain. Use it
11321 instead of inhibit-modification-hooks.
11322
11323 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
11324 a proxy, so as handle autoloads and redefinitions of the target.
11325 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
11326
11327 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
11328 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
11329 (pcase--mutually-exclusive-p): New function.
11330 (pcase--split-consp): Use it.
11331 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
11332 mutually exclusive with the current predicate.
11333
11334 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
11335 (edebug-macrop): Remove. Use `macrop' instead.
11336 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
11337 (ad-macro-p):
11338 * eshell/esh-cmd.el (eshell-macrop):
11339 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
11340
11341 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11342
11343 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
11344 (advice-mapc): New function, using it.
11345 (advice-function-member-p): New function.
11346 (advice--normalize): Store the cdr in advice--saved-rewrite since
11347 that's the part that will be changed.
11348 (advice--symbol-function): New function.
11349 (advice-remove): Handle removal before the function is defined.
11350 Adjust to new advice--saved-rewrite.
11351 (advice-member-p): Use advice-function-member-p and
11352 advice--symbol-function.
11353
11354 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11355
11356 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
11357 (frameset-filter-minibuffer): Doc fix.
11358 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
11359 (frameset--set-id, frameset--process-minibuffer-frames)
11360 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
11361 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
11362
11363 * desktop.el (desktop-clear): Only delete frames when called
11364 interactively and desktop-restore-frames is non-nil. Doc fix.
11365 (desktop-read): Set desktop-saved-frameset to nil.
11366
11367 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
11368
11369 * vc/vc.el (vc-ignore): Rewrite.
11370 (vc-default-ignore-completion-table, vc--read-lines)
11371 (vc--add-line, vc--remove-regexp): New functions.
11372
11373 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
11374 (vc-svn-ignore-completion-table): New function.
11375
11376 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
11377 (vc-hg-ignore-completion-table)
11378 (vc-hg-find-ignore-file): New functions.
11379
11380 * vc/vc-git.el (vc-git-ignore): Rewrite.
11381 (vc-git-ignore-completion-table)
11382 (vc-git-find-ignore-file): New functions.
11383
11384 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
11385
11386 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
11387 (vc-bzr-ignore-completion-table)
11388 (vc-bzr-find-ignore-file): New functions.
11389
11390 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
11391
11392 * frameset.el (frameset-prop): New function and setter.
11393 (frameset-save): Do not modify frame list passed by the caller.
11394
11395 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11396
11397 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
11398
11399 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
11400
11401 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
11402 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
11403
11404 * custom.el (custom-initialize-default, custom-initialize-set)
11405 (custom-initialize-reset, custom-initialize-changed): Affect the
11406 toplevel-default-value (bug#6275, bug#14586).
11407 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
11408 for bug#6275.
11409
11410 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11411
11412 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11413 Add cl-def* expressions.
11414
11415 * frameset.el (frameset-filter-params): Fix order of arguments.
11416
11417 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11418
11419 Move code related to saving frames to frameset.el.
11420 * desktop.el: Require frameset.
11421 (desktop-restore-frames): Doc fix.
11422 (desktop-restore-reuses-frames): Rename from
11423 desktop-restoring-reuses-frames.
11424 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
11425 (desktop-clear): Clear frames too.
11426 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
11427 (desktop--filter-tty*, desktop-save, desktop-read):
11428 Use frameset functions.
11429 (desktop-before-saving-frames-functions, desktop--filter-*-color)
11430 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11431 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
11432 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
11433 (desktop--process-minibuffer-frames, desktop-save-frames)
11434 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
11435 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
11436 (desktop--sort-states, desktop-restoring-frames-p)
11437 (desktop-restore-frames): Remove. Most code moved to frameset.el.
11438 (desktop-restoring-frameset-p, desktop-restore-frameset)
11439 (desktop--check-dont-save, desktop-save-frameset): New functions.
11440 (desktop--app-id): New constant.
11441 (desktop-first-buffer, desktop-buffer-ok-count)
11442 (desktop-buffer-fail-count): Move before first use.
11443 * frameset.el: New file.
11444
11445 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11446
11447 * files.el: Use lexical-binding.
11448 (dir-locals-read-from-file): Remove unused `err' variable.
11449 (hack-dir-local-variables--warned-coding): New var.
11450 (hack-dir-local-variables): Use it to avoid repeated warnings.
11451 (make-backup-file-name--default-function): New function.
11452 (make-backup-file-name-function): Use it as default.
11453 (buffer-stale--default-function): New function.
11454 (buffer-stale-function): Use it as default.
11455 (revert-buffer-insert-file-contents--default-function): New function.
11456 (revert-buffer-insert-file-contents-function): Use it as default.
11457 (insert-directory): Avoid add-to-list.
11458
11459 * autorevert.el (auto-revert-handler): Simplify.
11460 Use buffer-stale--default-function.
11461
11462 2013-08-01 Tassilo Horn <tsdh@gnu.org>
11463
11464 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
11465
11466 * whitespace.el (whitespace-ensure-local-variables): New function.
11467 (whitespace-cleanup-region): Call it.
11468 (whitespace-turn-on): Call it.
11469
11470 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
11471
11472 Complete file name handlers.
11473
11474 * net/tramp.el (tramp-handle-set-visited-file-modtime)
11475 (tramp-handle-verify-visited-file-modtime)
11476 (tramp-handle-file-notify-rm-watch): New functions.
11477 (tramp-call-process): Do not bind `default-directory'.
11478
11479 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11480 Order alphabetically.
11481 <access-file, add-name-to-file, dired-call-process>:
11482 <dired-compress-file, file-acl, file-notify-rm-watch>:
11483 <file-ownership-preserved-p, file-selinux-context>:
11484 <make-directory-internal, make-symbolic-link, set-file-acl>:
11485 <set-file-selinux-context, set-visited-file-modtime>:
11486 <verify-visited-file-modtime>: Add handler.
11487 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
11488
11489 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11490 <file-notify-add-watch, file-notify-rm-watch>:
11491 <set-file-times, set-visited-file-modtime>:
11492 <verify-visited-file-modtime>: Add handler.
11493 (with-tramp-gvfs-error-message)
11494 (tramp-gvfs-handle-set-visited-file-modtime)
11495 (tramp-gvfs-fuse-file-name): Remove.
11496 (tramp-gvfs-handle-file-notify-add-watch)
11497 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
11498 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
11499
11500 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11501 Order alphabetically.
11502 <file-notify-rm-watch>: Use default Tramp handler.
11503 <executable-find>: Remove private handler.
11504 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
11505 `default-directory'.
11506 (tramp-sh-handle-executable-find)
11507 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
11508 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11509 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
11510 Do not use `format' in `tramp-message'.
11511
11512 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
11513 <file-notify-rm-watch, set-visited-file-modtime>:
11514 <verify-visited-file-modtime>: Add handler.
11515 (tramp-smb-call-winexe): Do not bind `default-directory'.
11516
11517 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
11518
11519 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
11520
11521 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
11522
11523 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
11524 use it.
11525 (log-view-diff-changeset): Same.
11526 (log-view-diff-common): Call backend command `previous-revision'
11527 to find out the previous revision, in both cases. Swap the
11528 variables `to' and `fr', so that `fr' usually refers to the
11529 earlier revision (Bug#14989).
11530
11531 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
11532
11533 * ibuf-ext.el (ibuffer-filter-by-filename):
11534 Make it work with dired buffers too.
11535
11536 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
11537
11538 * emacs-lisp/re-builder.el (reb-color-display-p):
11539 * files.el (save-buffers-kill-terminal):
11540 * net/browse-url.el (browse-url):
11541 * server.el (server-save-buffers-kill-terminal):
11542 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
11543 Prefer nil to selected-frame for the first arg of frame-parameter.
11544
11545 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
11546
11547 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
11548
11549 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
11550
11551 * minibuffer.el (completion--twq-all): Try and preserve each
11552 completion's case choice (bug#14907).
11553
11554 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11555
11556 * net/network-stream.el (open-network-stream): Mention the new
11557 :nogreeting parameter.
11558 (network-stream-open-starttls): Use the :nogreeting parameter
11559 (bug#14938).
11560
11561 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11562
11563 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11564 more natural than popping.
11565
11566 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
11567 (shr-urlify): Highlight under mouse.
11568
11569 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11570
11571 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11572
11573 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11574
11575 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
11576 buffer for output.
11577
11578 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
11579 point-min==1. Fix search string. Fix parentheses missing.
11580
11581 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
11582 assume point-min==1. Fix search string. Fix parentheses missing.
11583
11584 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11585
11586 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
11587 buffer for output.
11588
11589 2013-07-29 Eli Zaretskii <eliz@gnu.org>
11590
11591 * frame.el (frame-notice-user-settings): Avoid inflooping when the
11592 initial frame is minibuffer-less. (Bug#14841)
11593
11594 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
11595
11596 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11597 option.
11598
11599 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11600 (tramp-maybe-open-connection): Use it.
11601
11602 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11603
11604 * desktop.el (desktop--make-frame): Include `minibuffer' in the
11605 minimal set of parameters passed when creating a frame, because
11606 the minibuffer status of a frame cannot be changed later.
11607
11608 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
11609
11610 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11611 replace-regexp-in-string and inadvertent omissions in previous change.
11612 (todo-filter-items): Ensure only file names are comma-separated in
11613 name of filtered items buffer.
11614
11615 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11616
11617 * desktop.el: Optionally force offscreen frames back onscreen.
11618 (desktop-restoring-reuses-frames): New option.
11619 (desktop--compute-pos, desktop--move-onscreen): New functions.
11620 (desktop--make-frame): Use desktop--move-onscreen.
11621
11622 2013-07-27 Alan Mackenzie <acm@muc.de>
11623
11624 Fontify a Java generic method as a function.
11625 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11626 value to t.
11627
11628 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
11629
11630 * calendar/todo-mode.el: Add command to rename todo files.
11631 (todo-rename-file): New command.
11632 (todo-key-bindings-t): Add key binding for it. Change the
11633 bindings of todo-filter-regexp-items(-multifile) to use `x'
11634 instead of `r', since the latter is better suited to the new
11635 renaming command.
11636
11637 2013-07-27 Alan Mackenzie <acm@muc.de>
11638
11639 Make Java try-with-resources statement parse properly.
11640 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11641 (c-block-stmt-1-2-key): New language constants/variables.
11642 * progmodes/cc-engine.el (c-beginning-of-statement-1)
11643 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11644 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11645 with c-block-stmt-1-2-key.
11646
11647 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
11648
11649 * desktop.el (desktop--make-frame): Apply most frame parameters after
11650 creating the frame to force (partially or totally) offscreen frames to
11651 be restored as such.
11652
11653 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
11654
11655 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11656 (Bug#14948)
11657
11658 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11659
11660 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11661 `base' arg of backtrace-frame.
11662
11663 2013-07-26 Eli Zaretskii <eliz@gnu.org>
11664
11665 * simple.el (list-processes): Doc fix.
11666
11667 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11668
11669 * desktop.el (desktop--select-frame):
11670 Try harder to reuse existing frames.
11671
11672 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11673
11674 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11675 (edebug-eval): Use backtrace-eval.
11676 (edebug--display, edebug--recursive-edit): Don't let-bind the
11677 edebug-outer-* vars that keep track of variables we locally let-bind.
11678 (edebug-outside-excursion): Don't restore outside values of locally
11679 let-bound vars.
11680 (edebug--display): Use user-error.
11681 (cl-lexical-debug, cl-debug-env): Remove.
11682
11683 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11684
11685 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11686 are restored to be sure that they are visible before deleting any
11687 remaining ones.
11688
11689 2013-07-26 Matthias Meulien <orontee@gmail.com>
11690
11691 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11692 vc-print-root-log. (Bug#14948)
11693
11694 2013-07-26 Richard Stallman <rms@gnu.org>
11695
11696 Add aliases for encrypting mail.
11697 * epa.el (epa-mail-aliases): New option.
11698 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11699 Bind inhibit-read-only so read-only text doesn't ruin everything.
11700 (epa-mail-default-recipients): New subroutine broken out.
11701 Handle epa-mail-aliases.
11702
11703 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11704
11705 Add support for lexical variables to the debugger's `e' command.
11706 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11707 vars, except for debugger-outer-match-data.
11708 (debugger-frame-number): Move check for "on a function call" from
11709 callers into it. Add `skip-base' argument.
11710 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11711 (debugger-env-macro): Only reset the state stored in non-variables,
11712 i.e. current-buffer and match-data.
11713 (debugger-eval-expression): Rewrite using backtrace-eval.
11714 * subr.el (internal--called-interactively-p--get-frame): Remove.
11715 (called-interactively-p):
11716 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11717 `base' arg of backtrace-frame instead.
11718
11719 2013-07-26 Glenn Morris <rgm@gnu.org>
11720
11721 * align.el (align-regexp): Doc fix. (Bug#14857)
11722 (align-region): Explicit error if subexpression missing/does not match.
11723
11724 * simple.el (global-visual-line-mode):
11725 Do not duplicate the mode lighter. (Bug#14858)
11726
11727 2013-07-25 Martin Rudalics <rudalics@gmx.at>
11728
11729 * window.el (display-buffer): In display-buffer bind
11730 split-window-keep-point to t, bug#14829.
11731
11732 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11733
11734 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11735 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11736 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11737 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11738 Change accordingly.
11739 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11740 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11741
11742 2013-07-25 Glenn Morris <rgm@gnu.org>
11743
11744 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11745
11746 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11747
11748 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11749 parameter to modify-frame-parameters if the value has not changed;
11750 this is a workaround for bug#14949.
11751 (desktop--make-frame): On cl-delete-if call, check parameter name,
11752 not full parameter.
11753
11754 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11755
11756 * vc/vc.el (vc-ignore): New function.
11757
11758 * vc/vc-svn.el (vc-svn-ignore): New function.
11759
11760 * vc/vc-hg.el (vc-hg-ignore): New function.
11761
11762 * vc/vc-git.el (vc-git-ignore): New function.
11763
11764 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11765 (vc-dir-ignore): New function.
11766
11767 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11768 (cvs-append-to-ignore): Move here from pcvs.el.
11769
11770 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11771
11772 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11773
11774 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11775
11776 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11777 (desktop-restore-frames): Warn when deleting an existing frame failed.
11778
11779 2013-07-24 Glenn Morris <rgm@gnu.org>
11780
11781 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11782
11783 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11784
11785 * filenotify.el (file-notify-supported-p):
11786 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11787 Remove functions.
11788
11789 * autorevert.el (auto-revert-use-notify)
11790 (auto-revert-notify-add-watch):
11791 * net/tramp.el (tramp-file-name-for-operation):
11792 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11793 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11794 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11795 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11796 Remove `file-notify-supported-p' entry.
11797
11798 2013-07-24 Glenn Morris <rgm@gnu.org>
11799
11800 * printing.el: Replace all uses of deleted ps-windows-system,
11801 ps-lp-system, ps-flatten-list with lpr- versions.
11802
11803 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11804
11805 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11806 checked with memq (bug#14935).
11807
11808 * files.el (revert-buffer-function): Use a non-nil default.
11809 (revert-buffer-preserve-modes): Declare var to
11810 provide access to the `preserve-modes' argument.
11811 (revert-buffer): Let-bind it.
11812 (revert-buffer--default): New function, extracted from revert-buffer.
11813
11814 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11815
11816 * lpr.el: Signal print errors more prominently.
11817 (print-region-function): Don't default to nil.
11818 (lpr-print-region): New function, extracted from print-region-1.
11819 Check lpr's return value and signal an error in case of problem.
11820 (print-region-1): Use it.
11821 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11822 versions instead.
11823 (ps-printer-name): Default to nil.
11824 (ps-printer-name-option): Default to lpr-printer-switch.
11825 (ps-print-region-function): Don't default to nil.
11826 (ps-postscript-code-directory): Simplify default.
11827 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11828 (ps-string-list, ps-eval-switch, ps-flatten-list)
11829 (ps-flatten-list-1): Remove.
11830 (ps-multibyte-buffer): Avoid setq.
11831 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11832 (print-region-function, ps-print-region-function): Don't set them here.
11833
11834 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11835
11836 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11837 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11838 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11839 (ido-decorations): Doc fix.
11840
11841 * ansi-color.el: Fix old URL.
11842
11843 2013-07-23 Michael R. Mauger <michael@mauger.com>
11844
11845 * progmodes/sql.el: Version 3.3
11846 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11847 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11848 (sql-interactive-remove-continuation-prompt): Rewrite, use
11849 functions above. Fix continuation prompt and complete output line
11850 handling.
11851 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11852 redirected output buffer.
11853 (sql-mode): Restore deleted code (Bug#13591).
11854
11855 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11856
11857 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11858
11859 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11860
11861 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11862
11863 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11864 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11865 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11866
11867 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11868
11869 * desktop.el (desktop-clear): Simplify; remove useless checks
11870 against invalid buffer names.
11871 (desktop-list*): Use cl-list*.
11872 (desktop-buffer-info, desktop-create-buffer): Simplify.
11873
11874 2013-07-23 Leo Liu <sdl.web@gmail.com>
11875
11876 * bookmark.el (bookmark-make-record): Restore NAME as a default
11877 value. (Bug#14933)
11878
11879 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11880
11881 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11882 extracted from autoload--insert-text.
11883 (autoload--insert-text): Remove.
11884 (autoload--print-cookie-text): New function, extracted from
11885 autoload--insert-cookie-text.
11886 (autoload--insert-cookie-text): Remove.
11887 (autoload-generate-file-autoloads): Adjust calls accordingly.
11888
11889 * winner.el (winner-hook-installed-p): Remove.
11890 (winner-mode): Simplify accordingly.
11891
11892 * subr.el (add-to-list): Fix compiler-macro when `append' is
11893 not constant. Don't use `cl-member' for the base case.
11894
11895 * progmodes/subword.el: Fix boundary case (bug#13758).
11896 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11897 own group.
11898 (subword-backward-regexp): Make it a constant.
11899 (subword-forward-internal): Don't treat a trailing capital as the
11900 beginning of a word.
11901
11902 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11903
11904 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11905 global value of tabulated-list-revert-hook (bug#14930).
11906
11907 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11908
11909 * desktop.el: Require 'cl-lib.
11910 (desktop-before-saving-frames-functions): New hook.
11911 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11912 for frames being saved. Rename from desktop--save-minibuffer-frames.
11913 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11914 Do not save frames with non-nil `desktop-dont-save' parameter.
11915 Filter out deleted frames.
11916 (desktop--find-frame): Use cl-find-if.
11917 (desktop--select-frame): Use cl-(first|second|third) to access values
11918 of desktop-mini.
11919 (desktop--make-frame): Use cl-delete-if.
11920 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11921 (desktop-restore-frames): Use cl-(first|second|third) to access values
11922 of desktop-mini. Look for visible frame at the end, not while
11923 restoring frames.
11924
11925 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11926 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11927 Use string-match-p, looking-at-p (bug#14927).
11928
11929 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11930
11931 * desktop.el (desktop-saved-frame-states):
11932 Rename from desktop--saved-states; all users changed.
11933 (desktop-save-frames): Rename from desktop--save-frames.
11934 Do not save state to desktop file.
11935 (desktop-save): Save desktop-saved-frame-states to desktop file
11936 and reset to nil.
11937 (desktop-restoring-frames-p): New function.
11938 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11939 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11940 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11941
11942 * desktop.el: Correctly restore iconified frames.
11943 (desktop--filter-iconified-position): New function.
11944 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11945
11946 2013-07-20 Glenn Morris <rgm@gnu.org>
11947
11948 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11949 Let `message' do the formatting.
11950 (def-gdb-preempt-display-buffer): Add explicit format.
11951
11952 * image-dired.el (image-dired-track-original-file):
11953 Use with-current-buffer.
11954 (image-dired-track-thumbnail): Use with-current-buffer.
11955 Avoid changing point of wrong window.
11956
11957 * image-dired.el (image-dired-track-original-file):
11958 Avoid changing point of wrong window. (Bug#14909)
11959
11960 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11961
11962 * progmodes/gdb-mi.el (gdb-done-or-error):
11963 Guard against "%" in gdb output. (Bug#14127)
11964
11965 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11966
11967 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11968 (Bug#14826)
11969
11970 * international/mule.el (coding-system-iso-2022-flags): Fix last
11971 change.
11972
11973 2013-07-20 Kenichi Handa <handa@gnu.org>
11974
11975 * international/mule.el (coding-system-iso-2022-flags):
11976 Add `8-bit-level-4'. (Bug#8522)
11977
11978 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11979
11980 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11981 (bug#14815).
11982
11983 * net/eww.el (eww-process-text-input): Allow inputting when the
11984 point is at the start of the line, as the properties aren't
11985 front-sticky.
11986
11987 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11988 degenerate widths.
11989
11990 2013-07-19 Richard Stallman <rms@gnu.org>
11991
11992 * epa.el (epa-popup-info-window): Doc fix.
11993
11994 * subr.el (split-string): New arg TRIM.
11995
11996 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11997
11998 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11999 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
12000
12001 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
12002
12003 * filenotify.el (file-notify--library): Rename from
12004 `file-notify-support'. Do not autoload. Adapt all uses.
12005 (file-notify-supported-p): New defun.
12006
12007 * autorevert.el (auto-revert-use-notify):
12008 Use `file-notify-supported-p' instead of `file-notify-support'.
12009 Adapt docstring.
12010 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
12011
12012 * net/tramp.el (tramp-file-name-for-operation):
12013 Add `file-notify-supported-p'.
12014
12015 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
12016 New defun.
12017 (tramp-sh-file-name-handler-alist): Add it as handler for
12018 `file-notify-supported-p '.
12019
12020 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
12021 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12022 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
12023 Add `ignore' as handler for `file-notify-*' functions.
12024
12025 2013-07-17 Eli Zaretskii <eliz@gnu.org>
12026
12027 * simple.el (line-move-partial, line-move): Don't start vscroll or
12028 scroll-up if the current line is not taller than the window.
12029 (Bug#14881)
12030
12031 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
12032
12033 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
12034 highlight question marks in the method names as strings.
12035 (ruby-block-beg-keywords): Inline.
12036 (ruby-font-lock-keyword-beg-re): Extract from
12037 `ruby-font-lock-keywords'.
12038
12039 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
12040
12041 * frame.el (blink-cursor-blinks): New defcustom.
12042 (blink-cursor-blinks-done): New defvar.
12043 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
12044 (blink-cursor-timer-function): Check if number of blinks has been
12045 done on X and NS.
12046 (blink-cursor-suspend, blink-cursor-check): New defuns.
12047
12048 2013-07-15 Glenn Morris <rgm@gnu.org>
12049
12050 * edmacro.el (edmacro-format-keys): Fix previous change.
12051
12052 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
12053
12054 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
12055 The hack didn't work outside English locales anyway.
12056
12057 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
12058
12059 * simple.el (define-alternatives): Rename from alternatives-define,
12060 per RMS' suggestion.
12061
12062 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
12063
12064 * desktop.el (desktop-restore-frames): Change default to t.
12065 (desktop-restore-in-current-display): Now offer more options.
12066 (desktop-restoring-reuses-frames): New customization option.
12067 (desktop--saved-states): Doc fix.
12068 (desktop-filter-parameters-alist): New variable, renamed and expanded
12069 from desktop--excluded-frame-parameters.
12070 (desktop--target-display): New variable.
12071 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
12072 (desktop--filter-tty*, desktop--filter-*-color)
12073 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
12074 (desktop--filter-save-desktop-parm)
12075 (desktop-restore-in-original-display-p): New functions.
12076 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
12077 (desktop--save-minibuffer-frames): New function, inspired by a similar
12078 function from Martin Rudalics.
12079 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
12080 (desktop--restore-in-this-display-p): Remove.
12081 (desktop--find-frame): Rename from desktop--find-frame-in-display
12082 and add predicate argument.
12083 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
12084 (desktop--reuse-list): New variable.
12085 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
12086 New functions.
12087 (desktop--restore-frames): Add support for "minibuffer-special" frames.
12088
12089 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
12090
12091 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
12092
12093 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
12094
12095 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12096 Highlight conversion methods on Kernel.
12097
12098 2013-07-13 Alan Mackenzie <acm@muc.de>
12099
12100 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
12101 and comment it out. This out-commenting enables certain C++
12102 declarations to be parsed correctly.
12103
12104 2013-07-13 Eli Zaretskii <eliz@gnu.org>
12105
12106 * international/mule.el (define-coding-system): Doc fix.
12107
12108 * simple.el (default-font-height): Don't call font-info if the
12109 frame's default font didn't change since the frame was created.
12110 (Bug#14838)
12111
12112 2013-07-13 Leo Liu <sdl.web@gmail.com>
12113
12114 * ido.el (ido-read-file-name): Guard against non-symbol value.
12115
12116 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
12117
12118 * progmodes/python.el (python-imenu--build-tree): Fix corner case
12119 in nested defuns.
12120
12121 2013-07-13 Leo Liu <sdl.web@gmail.com>
12122
12123 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
12124 ido-set-matches call. (Bug#6852)
12125
12126 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
12127
12128 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
12129 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
12130 Ruby 2.0.
12131 (ruby-font-lock-keywords): Distinguish calls to functions with
12132 module-like names from module references. Highlight character
12133 literals.
12134
12135 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
12136
12137 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
12138 (gdb-send): Handle continued commands. (Bug#14847)
12139
12140 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
12141
12142 * desktop.el (desktop--v2s): Remove unused local variable.
12143 (desktop-save-buffer): Make defvar-local; adjust docstring.
12144 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
12145 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
12146
12147 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
12148
12149 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
12150
12151 2013-07-12 Eli Zaretskii <eliz@gnu.org>
12152
12153 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
12154 (Bug#14842)
12155
12156 2013-07-12 Glenn Morris <rgm@gnu.org>
12157
12158 * doc-view.el: Require cl-lib at runtime too.
12159 (doc-view-remove-if): Remove.
12160 (doc-view-search-next-match, doc-view-search-previous-match):
12161 Use cl-remove-if.
12162
12163 * edmacro.el: Require cl-lib at runtime too.
12164 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
12165 (edmacro-mismatch, edmacro-subseq): Remove.
12166
12167 * shadowfile.el: Require cl-lib.
12168 (shadow-remove-if): Remove.
12169 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
12170 Use cl-remove-if.
12171
12172 * wid-edit.el: Require cl-lib.
12173 (widget-choose): Use cl-remove-if.
12174 (widget-remove-if): Remove.
12175
12176 * progmodes/ebrowse.el: Require cl-lib at runtime too.
12177 (ebrowse-delete-if-not): Remove.
12178 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
12179 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
12180 Use cl-delete-if-not.
12181
12182 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
12183
12184 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
12185 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
12186
12187 2013-07-12 Leo Liu <sdl.web@gmail.com>
12188
12189 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
12190
12191 2013-07-11 Glenn Morris <rgm@gnu.org>
12192
12193 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
12194 (edebug-gensym-index, edebug-gensym):
12195 Remove reimplementation of cl-gensym.
12196 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
12197
12198 * thumbs.el: Require cl-lib at run-time too.
12199 (thumbs-gensym-counter, thumbs-gensym):
12200 Remove reimplementation of cl-gensym.
12201 (thumbs-temp-file): Use cl-gensym.
12202
12203 * emacs-lisp/ert.el: Require cl-lib at runtime too.
12204 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
12205 (ert--intersection, ert--set-difference, ert--set-difference-eq)
12206 (ert--union, ert--gensym-counter, ert--gensym-counter)
12207 (ert--coerce-to-vector, ert--remove*, ert--string-position)
12208 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
12209 (ert-make-test-unbound, ert--expand-should-1)
12210 (ert--expand-should, ert--should-error-handle-error)
12211 (should-error, ert--explain-equal-rec)
12212 (ert--plist-difference-explanation, ert-select-tests)
12213 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
12214 Use cl-lib functions rather than reimplementations.
12215
12216 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
12217
12218 * net/tramp.el (tramp-methods): Extend docstring.
12219 (tramp-connection-timeout): New defcustom.
12220 (tramp-error-with-buffer): Reset timestamp only when appropriate.
12221 (with-tramp-progress-reporter): Simplify.
12222 (tramp-process-actions): Improve messages.
12223
12224 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
12225 * net/tramp-sh.el (tramp-maybe-open-connection):
12226 Use `tramp-connection-timeout'.
12227 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
12228 (Bug#14808)
12229
12230 2013-07-11 Leo Liu <sdl.web@gmail.com>
12231
12232 * ido.el (ido-read-file-name): Conform to the requirements of
12233 read-file-name. (Bug#11861)
12234 (ido-read-directory-name): Conform to the requirements of
12235 read-directory-name.
12236
12237 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
12238
12239 * subr.el (delay-warning): New function.
12240
12241 2013-07-10 Eli Zaretskii <eliz@gnu.org>
12242
12243 * simple.el (default-line-height): New function.
12244 (line-move-partial, line-move): Use it instead of computing the
12245 line height inline.
12246 (line-move-partial): Always compute ROWH. If the last line is
12247 partially-visible, but its text is completely visible, allow
12248 cursor to enter such a partially-visible line.
12249
12250 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
12251
12252 Improve error messages. (Bug#14808)
12253
12254 * net/tramp.el (tramp-current-connection): New defvar, moved from
12255 tramp-sh.el.
12256 (tramp-message-show-progress-reporter-message): Remove, not
12257 needed anymore.
12258 (tramp-error-with-buffer): Show message in minibuffer.
12259 Discard input before waiting. Reset connection timestamp.
12260 (with-tramp-progress-reporter): Improve messages.
12261 (tramp-process-actions): Use progress reporter. Delete process in
12262 case of error. Improve messages.
12263
12264 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
12265 Call `tramp-error-with-buffer' with vector and buffer.
12266 (tramp-current-connection): Remove.
12267 (tramp-maybe-open-connection): The car of
12268 `tramp-current-connection' are the first 3 slots of the vector.
12269
12270 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
12271
12272 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
12273 inside continued strings.
12274
12275 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
12276
12277 Timestamp fixes for undo (Bug#14824).
12278 * files.el (clear-visited-file-modtime): Move here from fileio.c.
12279
12280 2013-07-10 Leo Liu <sdl.web@gmail.com>
12281
12282 * files.el (require-final-newline): Allow safe local value.
12283 (Bug#14834)
12284
12285 2013-07-09 Leo Liu <sdl.web@gmail.com>
12286
12287 * ido.el (ido-read-directory-name): Handle fallback.
12288 (ido-read-file-name): Update DIR to ido-current-directory.
12289 (Bug#1516)
12290 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
12291
12292 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
12293
12294 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
12295 "autoload". Remove "warn lower camel case" section, previously
12296 commented out. Highlight negation char. Do not highlight the
12297 target in singleton method definitions.
12298
12299 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12300
12301 * faces.el (tty-setup-hook): Declare the hook.
12302
12303 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
12304 and detect when a guard/pred depends on local vars (bug#14773).
12305 (pcase--u1): Adjust caller.
12306
12307 2013-07-08 Eli Zaretskii <eliz@gnu.org>
12308
12309 * simple.el (line-move-partial, line-move): Account for
12310 line-spacing.
12311 (line-move-partial): Avoid setting vscroll when the last
12312 partially-visible line in window is of default height.
12313
12314 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12315
12316 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
12317 been used a while.
12318
12319 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
12320
12321 * subr.el (read-quoted-char): Remove unused local variable `char'.
12322
12323 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
12324
12325 * vc/ediff.el (ediff-version): Version update.
12326 (ediff-files-command, ediff3-files-command, ediff-merge-command)
12327 (ediff-merge-with-ancestor-command, ediff-directories-command)
12328 (ediff-directories3-command, ediff-merge-directories-command)
12329 (ediff-merge-directories-with-ancestor-command): New functions.
12330 All are command-line interfaces to ediff: to facilitate calling
12331 Emacs with the appropriate ediff functions invoked.
12332
12333 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
12334 New function.
12335 (viper-save-kill-buffer): Check if buffer is modified.
12336
12337 * emulation/viper.el (viper-version): Version update.
12338 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
12339
12340 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
12341
12342 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
12343 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
12344 (viper-intercept-ESC-key): Simplify.
12345 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
12346 don't use kbd.
12347 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
12348 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
12349 (viper-setup-ESC-to-escape): New functions.
12350 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
12351 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
12352
12353 2013-07-07 Eli Zaretskii <eliz@gnu.org>
12354
12355 * simple.el (default-font-height, window-screen-lines):
12356 New functions.
12357 (line-move, line-move-partial): Use them instead of
12358 frame-char-height and window-text-height. This makes scrolling
12359 text smoother when the buffer's default face uses a font that is
12360 different from the frame's default font.
12361
12362 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
12363
12364 * files.el (write-file): Do not display confirm dialog for NS,
12365 it does its own dialog, which can't be canceled (Bug#14578).
12366
12367 2013-07-06 Eli Zaretskii <eliz@gnu.org>
12368
12369 * simple.el (line-move-partial): Adjust the row returned by
12370 posn-at-point for the current window-vscroll. (Bug#14567)
12371
12372 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
12373
12374 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
12375 (tramp-sh-file-inotifywait-process-filter): Handle file names with
12376 spaces.
12377
12378 2013-07-06 Martin Rudalics <rudalics@gmx.at>
12379
12380 * window.el (window-state-put-stale-windows): New variable.
12381 (window--state-put-2): Save list of windows without matching buffer.
12382 (window-state-put): Remove "bufferless" windows if possible.
12383
12384 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12385
12386 * simple.el (alternatives-define): Remove leftover :group keyword.
12387 Tweak docstring.
12388
12389 2013-07-06 Leo Liu <sdl.web@gmail.com>
12390
12391 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
12392 (ido-enable-virtual-buffers): New variable.
12393 (ido-buffer-internal, ido-toggle-virtual-buffers)
12394 (ido-make-buffer-list): Use it.
12395 (ido-exhibit): Support turning on and off virtual buffers
12396 automatically.
12397
12398 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12399
12400 * simple.el (alternatives-define): New macro.
12401
12402 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
12403
12404 * subr.el (read-quoted-char): Use read-key.
12405 (sit-for): Let read-event decode tty input (bug#14782).
12406
12407 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
12408
12409 * calendar/todo-mode.el: Add handling of file deletion, both by
12410 mode command and externally. Fix various related bugs.
12411 Clarify Commentary and improve some documentation strings and code.
12412 (todo-delete-file): New command.
12413 (todo-check-file): New function.
12414 (todo-show): Handle external deletion of the file we're trying to
12415 show (bug#14688). Replace called-interactively-p by an optional
12416 prefix argument to avoid problematic interaction with catch form
12417 when byte compiled (bug#14702).
12418 (todo-quit): Handle external deletion of the archive's todo file.
12419 Make sure the buffer that was visiting the archive file is still
12420 live before trying to bury it.
12421 (todo-category-completions): Handle external deletion of any
12422 category completion files.
12423 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
12424 of todo files, in case of external deletion.
12425 (todo-add-file): Replace unnecessary setq by let-binding.
12426 (todo-find-archive): Check whether there are any archives.
12427 Replace unnecessary setq by let-binding.
12428 (todo-archive-done-item): Use find-file-noselect to get the
12429 archive buffer whether or not the archive already exists.
12430 Remove superfluous code. Use file size instead of buffer-file-name to
12431 check if the archive is new; if it is, update list of archives.
12432 (todo-default-todo-file): Allow nil to be a valid value for when
12433 there are no todo files.
12434 (todo-reevaluate-default-file-defcustom): Use corrected definition
12435 of todo-default-todo-file.
12436 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
12437 (todo-delete-category, todo-show-categories-table)
12438 (todo-category-number): Clarify comment.
12439 (todo-filter-items): Clarify documentation string.
12440 (todo-show-current-file, todo-display-as-todo-file)
12441 (todo-reset-and-enable-done-separator): Tweak documentation string.
12442 (todo-done-separator): Make separator length window-width, since
12443 bug#2749 is now fixed.
12444
12445 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
12446
12447 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12448 Support both "gvfs-monitor-dir" and "inotifywait".
12449 (tramp-sh-file-inotifywait-process-filter): Rename from
12450 `tramp-sh-file-notify-process-filter'.
12451 (tramp-sh-file-gvfs-monitor-dir-process-filter)
12452 (tramp-get-remote-gvfs-monitor-dir): New defuns.
12453
12454 2013-07-05 Leo Liu <sdl.web@gmail.com>
12455
12456 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
12457
12458 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12459
12460 * frame.el (display-pixel-height, display-pixel-width)
12461 (display-mm-height, display-mm-width): Mention behavior on
12462 multi-monitor setups in docstrings.
12463 (w32-display-monitor-attributes-list): Declare function.
12464 (display-monitor-attributes-list): Use it.
12465
12466 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
12467
12468 * filenotify.el: New package.
12469
12470 * autorevert.el (top): Require filenotify.el.
12471 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
12472 instead.
12473 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12474 (auto-revert-notify-handler): Use `file-notify-*' functions.
12475
12476 * subr.el (file-notify-handle-event): Move function to filenotify.el.
12477
12478 * net/tramp.el (tramp-file-name-for-operation):
12479 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
12480
12481 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
12482 for `file-notify-add-watch' and `file-notify-rm-watch'.
12483 (tramp-process-sentinel): Improve trace.
12484 (tramp-sh-handle-file-notify-add-watch)
12485 (tramp-sh-file-notify-process-filter)
12486 (tramp-sh-handle-file-notify-rm-watch)
12487 (tramp-get-remote-inotifywait): New defuns.
12488
12489 2013-07-03 Juri Linkov <juri@jurta.org>
12490
12491 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
12492 call of `occur-read-primary-args' to interactive spec.
12493
12494 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
12495 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
12496
12497 2013-07-03 Matthias Meulien <orontee@gmail.com>
12498
12499 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
12500 `Buffer-menu-multi-occur'. Add it to the menu.
12501 (Buffer-menu-mode): Document it in docstring.
12502 (Buffer-menu-multi-occur): New command. (Bug#14673)
12503
12504 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12505
12506 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
12507 keywords and built-ins.
12508
12509 2013-07-03 Glenn Morris <rgm@gnu.org>
12510
12511 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
12512
12513 Make info-xref checks case-sensitive by default
12514 * info.el (Info-find-node, Info-find-in-tag-table)
12515 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
12516 Add option for exact case matching of nodes.
12517 * info-xref.el (info-xref): New custom group.
12518 (info-xref-case-fold): New option.
12519 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
12520
12521 2013-07-03 Leo Liu <sdl.web@gmail.com>
12522
12523 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
12524
12525 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12526
12527 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
12528 middle of block statement initially, lower the depth. Remove
12529 FIXME comment, not longer valid. Remove middle of block statement
12530 detection, no need to do that anymore since we've been using
12531 `ruby-parse-region' here.
12532
12533 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
12534
12535 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
12536
12537 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
12538
12539 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
12540
12541 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
12542
12543 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
12544 (desktop-restore-in-current-display): New customization option.
12545 (desktop--excluded-frame-parameters): Add `font'.
12546 (desktop--save-frames): Rename from desktop--save-windows.
12547 (desktop--restore-in-this-display-p): New function.
12548 (desktop--make-full-frame): Remove unwanted width/height from
12549 full(width|height) frames.
12550 (desktop--restore-frames): Rename from desktop--restore-windows.
12551 Obey desktop-restore-current-display. Do not delete old frames or
12552 select a new frame unless we were able to restore at least one frame.
12553
12554 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
12555
12556 * files.el (find-file-noselect): Simplify conditional expression.
12557
12558 * textmodes/remember.el (remember-append-to-file):
12559 Don't mix `find-buffer-visiting' and `get-file-buffer'.
12560
12561 Add `remember-notes' function to store random notes across Emacs
12562 restarts.
12563 * textmodes/remember.el (remember-data-file): Add :set callback to
12564 affect notes buffer (if any).
12565 (remember-notes): New command.
12566 (remember-notes-buffer-name, bury-remember-notes-on-kill):
12567 New defcustoms for the `remember-notes' function.
12568 (remember-notes-save-and-bury-buffer): New command.
12569 (remember-notes-mode-map): New variable.
12570 (remember-mode): New minor mode.
12571 (remember-notes--kill-buffer-query): New function.
12572 * startup.el (initial-buffer-choice): Add notes to custom type.
12573
12574 2013-06-30 Eli Zaretskii <eliz@gnu.org>
12575
12576 * bindings.el (right-char, left-char): Don't call sit-for, this is
12577 no longer needed. Use arithmetic comparison only for numerical
12578 arguments.
12579
12580 * international/mule-cmds.el (select-safe-coding-system):
12581 Handle the case of FROM being a string correctly. (Bug#14755)
12582
12583 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12584
12585 * net/shr.el (shr-make-table-1): Add a sanity check that allows
12586 progression on degenerate tables.
12587 (shr-rescale-image): ImageMagick animated images currently don't work.
12588
12589 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
12590
12591 Some fixes and improvements for desktop frame restoration.
12592 It is still experimental and disabled by default.
12593 * desktop.el (desktop--save-windows): Put the selected frame at
12594 the head of the list.
12595 (desktop--make-full-frame): New function.
12596 (desktop--restore-windows): Try to re-select the frame that was
12597 selected upon saving. Do not abort if some frames fail to restore,
12598 just show an error message and continue. Set up maximized frames
12599 so they have default non-maximized dimensions.
12600
12601 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
12602
12603 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12604 Don't start heredoc inside a string or comment.
12605
12606 2013-06-29 Eli Zaretskii <eliz@gnu.org>
12607
12608 * bindings.el (visual-order-cursor-movement): New defcustom.
12609 (right-char, left-char): Provide visual-order cursor motion by
12610 calling move-point-visually. Update the doc strings.
12611
12612 2013-06-28 Kenichi Handa <handa@gnu.org>
12613
12614 * international/mule.el (define-coding-system): New coding system
12615 properties :inhibit-null-byte-detection,
12616 :inhibit-iso-escape-detection, and :prefer-utf-8.
12617 (set-buffer-file-coding-system): If :charset-list property of
12618 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12619 appropriate for setting.
12620
12621 * international/mule-cmds.el (select-safe-coding-system):
12622 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12623 multibyte characters, return utf-8 (or one of its siblings).
12624
12625 * international/mule-conf.el (prefer-utf-8): New coding system.
12626 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12627 files.
12628
12629 2013-06-28 Ivan Kanis <ivan@kanis.fr>
12630
12631 * net/shr.el (shr-render-region): New function.
12632
12633 * net/eww.el: Autoload `eww-browse-url'.
12634
12635 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
12636
12637 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12638 Adapt to `package-desc-version' being a list.
12639 Use `package--ac-desc-version' to retrieve version from a package
12640 archive element.
12641
12642 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
12643
12644 New experimental feature to save&restore window and frame setup.
12645 * desktop.el (desktop-save-windows): New defcustom.
12646 (desktop--saved-states): New var.
12647 (desktop--excluded-frame-parameters): New defconst.
12648 (desktop--filter-frame-parms, desktop--find-frame-in-display)
12649 (desktop--restore-windows, desktop--save-windows): New functions.
12650 (desktop-save): Call `desktop--save-windows'.
12651 (desktop-read): Call `desktop--restore-windows'.
12652
12653 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12654
12655 * net/shr.el (add-face-text-property): Remove compat definition.
12656
12657 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12658
12659 * info.el (Info-try-follow-nearest-node): Move search for footnote
12660 above search for node name to prevent missing a footnote (bug#14717).
12661
12662 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12663
12664 * obsolete/otodo-mode.el: Add obsolescence info to file header.
12665
12666 2013-06-27 Leo Liu <sdl.web@gmail.com>
12667
12668 * net/eww.el (eww-read-bookmarks): Check file size.
12669
12670 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12671
12672 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12673 advice--pending if newdef is nil or an autoload (bug#13820).
12674 (advice-mapc): New function.
12675
12676 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12677
12678 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12679 probably.
12680 (eww-mode-map): Add a menu bar.
12681 (eww-add-bookmark): New command.
12682 (eww-bookmark-mode): New mode and commands.
12683 (eww-add-bookmark): Remove newlines from the title.
12684 (eww-bookmark-browse): Don't bug out if it's the only window.
12685
12686 2013-06-26 Glenn Morris <rgm@gnu.org>
12687
12688 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12689 (hfy-size): Handle ttys. (Bug#14668)
12690
12691 * info-xref.el: Update for Texinfo 5 change in *note format.
12692 (info-xref-node-re, info-xref-note-re): New constants.
12693 (info-xref-check-buffer): Use info-xref-note-re.
12694
12695 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12696
12697 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12698
12699 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12700 nil terminate the loop (bug#14718).
12701
12702 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12703
12704 * net/eww.el: Rework history traversal. When going forward/back,
12705 put these actions into the history, too, so that they can be
12706 replayed.
12707 (eww-render): Move the history reset to the correct buffer.
12708
12709 2013-06-25 Juri Linkov <juri@jurta.org>
12710
12711 * files-x.el (modify-dir-local-variable): Change the header comment
12712 in the file with directory local variables. (Bug#14692)
12713
12714 * files-x.el (read-file-local-variable-value): Add `default'.
12715 (Bug#14710)
12716
12717 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12718
12719 * net/eww.el (eww-make-unique-file-name): Create a unique file
12720 name before saving to entering `y' accidentally asynchronously.
12721
12722 2013-06-25 Ivan Kanis <ivan@kanis.fr>
12723
12724 * net/eww.el (eww-download): New command and keystroke.
12725
12726 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12727
12728 * net/eww.el (eww-copy-page-url): Change name of command.
12729
12730 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12731 be more consistent with Info and dired.
12732
12733 * net/eww.el (eww-mode-map): Ditto.
12734
12735 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12736
12737 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12738 packages from archives.
12739 (package-archive-contents): Change format; include obsolete packages.
12740 (package-desc): Use `dir' to mark builtin packages.
12741 (package--from-builtin): Set the `dir' field to `builtin'.
12742 (generated-autoload-file, version-control): Declare.
12743 (package-compute-transaction): Change first arg and return value to be
12744 lists of package-descs. Adjust to new package-archive-contents format.
12745 (package--add-to-archive-contents): Adjust to new
12746 package-archive-contents format.
12747 (package-download-transaction): Arg is now a list of package-descs.
12748 (package-install): If `pkg' is a package name, pass it as
12749 a requirement, so it is subject to the usual (e.g. disabled) checks.
12750 (describe-package): Accept package-desc as well.
12751 (describe-package-1): Describe a specific package-desc. Add links to
12752 other package-descs for the same package name.
12753 (package-menu-describe-package): Pass the actual package-desc.
12754 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12755 works correctly.
12756 (package-desc-status): New function.
12757 (package-menu--refresh): New function, extracted
12758 from package-menu--generate.
12759 (package-menu--generate): Use it.
12760 (package-delete): Update package-alist.
12761 (package-menu-execute): Don't call package-initialize.
12762
12763 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12764 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12765 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12766 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12767 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12768 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12769
12770 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12771
12772 * window.el (window--state-get-1): Workaround for bug#14527.
12773 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12774
12775 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12776
12777 * net/eww.el (eww-back-url): Implement the history by stashing all
12778 the data into a list.
12779 (eww-forward-url): Allow going forward in the history, too.
12780
12781 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12782
12783 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12784 for values and use read--expression for expressions (bug#14710).
12785 (read-file-local-variable): Avoid setq.
12786 (read-file-local-variable-mode): Use minor-mode-list.
12787
12788 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12789
12790 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12791 for DOI URLs.
12792
12793 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12794
12795 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12796 Update imenu-support when dialect changes.
12797
12798 2013-06-25 Leo Liu <sdl.web@gmail.com>
12799
12800 * ido.el (ido-read-internal): Allow forward slash on windows.
12801
12802 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12803
12804 * net/eww.el (eww): Start of strings is \\`, not ^.
12805
12806 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12807
12808 * net/shr.el (shr-browse-url): Fix interactive spec.
12809
12810 * net/eww.el (eww): Add a trailing slash to domain names.
12811
12812 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12813
12814 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12815
12816 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12817
12818 * net/shr.el (shr-browse-url): Use an external browser if given a
12819 prefix.
12820
12821 * net/eww.el (eww-external-browser): Move to shr.
12822
12823 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12824
12825 * net/eww.el (eww): Work more correctly for file: URLs.
12826 (eww-detect-charset): Allow quoted charsets.
12827 (eww-yank-page-url): New command and keystroke.
12828
12829 2013-06-24 Daiki Ueno <ueno@gnu.org>
12830
12831 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12832 file name of gpg executable.
12833 (epg-context-program): New function.
12834 (epg-context-home-directory): New function.
12835 (epg-context-set-program): New function.
12836 (epg-context-set-home-directory): New function.
12837 (epg--start): Use `epg-context-program' instead of
12838 'epg-gpg-program'.
12839 (epg--list-keys-1): Likewise.
12840
12841 2013-06-24 Leo Liu <sdl.web@gmail.com>
12842
12843 * ido.el (ido-read-internal): Fix bug#14620.
12844
12845 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12846
12847 * faces.el (face-documentation): Simplify.
12848 (read-face-attribute, tty-find-type, x-resolve-font-name):
12849 Use `string-match-p'.
12850 (list-faces-display): Use `string-match-p'. Simplify.
12851 (face-spec-recalc): Check face to avoid face alias loops.
12852 (read-color): Use `string-match-p' and non-capturing parenthesis.
12853
12854 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12855
12856 * net/shr.el (shr-rescale-image): Use the new
12857 :max-width/:max-height functionality.
12858
12859 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12860
12861 * net/eww.el (eww-search-prefix): New variable.
12862 (eww): Use it.
12863 (eww-external-browser): New variable.
12864 (eww-mode-map): New keystroke.
12865 (eww-browse-with-external-browser): New command.
12866
12867 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12868
12869 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12870
12871 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12872 Don't skip aligning the next header field when padding is 0;
12873 otherwise, field width is not respected unless the title is as
12874 wide as the field.
12875
12876 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12877
12878 * emacs-lisp/package.el (package-el-version): Remove.
12879 (package-process-define-package): Fix inf-loop.
12880 (package-install): Allow symbols as arguments again.
12881
12882 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12883
12884 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12885 add some more keyword-like methods.
12886 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12887
12888 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12889
12890 * bs.el (bs-buffer-show-mark): Make defvar-local.
12891 (bs-mode): Use setq-local.
12892
12893 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12894 (emacs-lock--try-unlocking): Make defvar-local.
12895
12896 2013-06-22 Glenn Morris <rgm@gnu.org>
12897
12898 * play/cookie1.el (cookie-apropos): Minor simplification.
12899
12900 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12901
12902 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12903
12904 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12905 `regexp-opt', it breaks the build during dumping.
12906
12907 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12908
12909 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12910 Highlight keyword-like methods on Kernel and Module with
12911 font-lock-builtin-face.
12912 (auto-mode-alist): Consolidate different entries into one regexp
12913 and add more *file-s.
12914
12915 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12916
12917 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12918
12919 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12920 (diary-entry): Use it in the action of this button type instead of
12921 diary-goto-entry.
12922
12923 * calendar/todo-mode.el: New version.
12924 (todo-add-category): Append new category to end of file and give
12925 it the highest number, instead of putting it at the beginning and
12926 giving it 0. Incorporate noninteractive functionality.
12927 (todo-forward-category): Adapt to 1-based category numbering.
12928 Allow skipping over archived categories.
12929 (todo-backward-category): Derive from todo-forward-category.
12930 (todo-backward-item, todo-forward-item): Make noninteractive and
12931 delegate interactive part to new commands. Make sensitive to done items.
12932 (todo-categories): Make value an alist of category names and
12933 vectors of item counts.
12934 (todo-category-beg): Make a defconst.
12935 (todo-category-number): Use 1 instead of 0 as initial value.
12936 (todo-category-select): Make sensitive to overlays, optional item
12937 highlighting and done items.
12938 (todo-delete-item): Make sensitive to overlays and marked and done items.
12939 (todo-edit-item): Make sensitive to overlays and editing of
12940 date/time header optional. Add format checks.
12941 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12942 no-op if point is not on an item. Advertise using todo-edit-quit.
12943 (todo-edit-mode): Make sensitive to new format, font-locking, and
12944 multiple todo files.
12945 (todo-insert-item, todo-insert-item-here): Derive from
12946 todo-basic-insert-item and extend functionality.
12947 (todo-item-end, todo-item-start): Make sensitive to done items.
12948 (todo-item-string): Don't return text properties. Restore point.
12949 (todo-jump-to-category): Make sensitive to multiple todo files and
12950 todo archives. Use extended category completion.
12951 (todo-lower-item, todo-raise-item): Rename to *-priority and
12952 derive from todo-set-item-priority.
12953 (todo-mode): Derive from special-mode. Make sensitive to new
12954 format, font-locking and multiple todo files. Make read-only.
12955 (todo-mode-map): Don't suppress digit keys, so they can supply
12956 prefix arguments. Add many new key bindings.
12957 (todo-prefix): Insert as an overlay instead of file text.
12958 Change semantics from diary date expression to purely visual mark.
12959 (todo-print): Rename to todo-print-buffer. Make buffer display
12960 features printable. Remove option to restrict number of items
12961 printed. Add option to print to file.
12962 (todo-print-function): Rename to todo-print-buffer-function.
12963 (todo-quit): Extend to handle exiting new todo modes.
12964 (todo-remove-item): Make sensitive to overlays.
12965 (todo-save): Extend to buffers of filtered items.
12966 (todo-show): Make sensitive to done items, multiple todo files and
12967 new todo modes. Offer to convert legacy todo file before creating
12968 first new todo file.
12969 (todo-show-priorities): Rename to todo-top-priorities.
12970 Change semantics of value 0.
12971 (todo-top-priorities): Rename to todo-filter-top-priorities,
12972 derive from todo-filter-items and extend functionality.
12973 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12974 and extend functionality to other types of filtered items.
12975 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12976 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12977 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12978 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12979 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12980 (todo-edit-mode-hook, todo-entry-prefix-function)
12981 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12982 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12983 (todo-initials, todo-insert-threshold, todo-item-string-start)
12984 (todo-line-string, todo-menu, todo-mode-hook)
12985 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12986 (todo-print-priorities, todo-remove-separator)
12987 (todo-save-top-priorities-too, todo-string-count-lines)
12988 (todo-string-multiline-p, todo-time-string-format)
12989 (todo-tmp-buffer-name): Remove.
12990 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12991 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12992 (todo-edit-category-diary-inclusion)
12993 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12994 (todo-edit-file, todo-edit-item-date-day)
12995 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12996 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12997 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12998 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12999 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
13000 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
13001 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
13002 (todo-filter-top-priorities-multifile, todo-find-archive)
13003 (todo-find-filtered-items-file, todo-go-to-source-item)
13004 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
13005 (todo-jump-to-archive-category, todo-lower-category)
13006 (todo-mark-category, todo-marked-item-p, todo-merge-category)
13007 (todo-move-category, todo-move-item, todo-next-button)
13008 (todo-next-item, todo-padded-string, todo-powerset)
13009 (todo-previous-button, todo-previous-item)
13010 (todo-print-buffer-to-file, todo-raise-category)
13011 (todo-rename-category, todo-repair-categories-sexp, todo-search)
13012 (todo-set-category-number, todo-set-item-priority)
13013 (todo-set-top-priorities-in-category)
13014 (todo-set-top-priorities-in-file, todo-show-categories-table)
13015 (todo-sort-categories-alphabetically-or-numerically)
13016 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
13017 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
13018 (todo-toggle-item-header, todo-toggle-item-highlighting)
13019 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
13020 (todo-toggle-view-done-items, todo-toggle-view-done-only)
13021 (todo-unarchive-items, todo-unmark-category): New commands.
13022 (todo-absolute-file-name, todo-add-to-buffer-list)
13023 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
13024 (todo-basic-insert-item, todo-category-completions)
13025 (todo-category-number, todo-category-string-matcher-1)
13026 (todo-category-string-matcher-2, todo-check-filtered-items-file)
13027 (todo-check-format, todo-clear-matches)
13028 (todo-comment-string-matcher, todo-convert-legacy-date-time)
13029 (todo-current-category, todo-date-string-matcher)
13030 (todo-define-insertion-command, todo-diary-expired-matcher)
13031 (todo-diary-goto-entry, todo-diary-item-p)
13032 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
13033 (todo-display-categories, todo-display-sorted, todo-done-item-p)
13034 (todo-done-item-section-p, todo-done-separator)
13035 (todo-done-string-matcher, todo-files, todo-filter-items)
13036 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
13037 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
13038 (todo-insert-category-line, todo-insert-item-from-calendar)
13039 (todo-insert-sort-button, todo-insert-with-overlays)
13040 (todo-insertion-command-name, todo-insertion-key-bindings)
13041 (todo-label-to-key, todo-longest-category-name-length)
13042 (todo-make-categories-list, todo-mode-external-set)
13043 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
13044 (todo-modes-set-3, todo-multiple-filter-files)
13045 (todo-nondiary-marker-matcher, todo-prefix-overlays)
13046 (todo-read-category, todo-read-date, todo-read-dayname)
13047 (todo-read-file-name, todo-read-time)
13048 (todo-reevaluate-category-completions-files-defcustom)
13049 (todo-reevaluate-default-file-defcustom)
13050 (todo-reevaluate-filelist-defcustoms)
13051 (todo-reevaluate-filter-files-defcustom)
13052 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
13053 (todo-reset-done-separator, todo-reset-done-separator-string)
13054 (todo-reset-done-string, todo-reset-global-current-todo-file)
13055 (todo-reset-highlight-item, todo-reset-nondiary-marker)
13056 (todo-reset-prefix, todo-set-categories)
13057 (todo-set-date-from-calendar, todo-set-show-current-file)
13058 (todo-set-top-priorities, todo-short-file-name)
13059 (todo-show-current-file, todo-sort, todo-time-string-matcher)
13060 (todo-total-item-counts, todo-update-buffer-list)
13061 (todo-update-categories-display, todo-update-categories-sexp)
13062 (todo-update-count, todo-validate-name, todo-y-or-n-p):
13063 New functions.
13064 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
13065 New major modes.
13066 (todo-categories, todo-display, todo-edit, todo-faces)
13067 (todo-filtered): New defgroups.
13068 (todo-archived-only, todo-button, todo-category-string, todo-date)
13069 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
13070 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
13071 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
13072 (todo-add-item-if-new-category, todo-always-add-time-string)
13073 (todo-categories-align, todo-categories-archived-label)
13074 (todo-categories-category-label, todo-categories-diary-label)
13075 (todo-categories-done-label, todo-categories-number-separator)
13076 (todo-categories-todo-label, todo-categories-totals-label)
13077 (todo-category-completions-files, todo-completion-ignore-case)
13078 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
13079 (todo-done-separator-string, todo-done-string)
13080 (todo-files-function, todo-filter-done-items, todo-filter-files)
13081 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
13082 (todo-initial-category, todo-initial-file, todo-item-mark)
13083 (todo-legacy-date-time-regexp, todo-mode-line-function)
13084 (todo-nondiary-marker, todo-number-prefix)
13085 (todo-print-buffer-function, todo-show-current-file)
13086 (todo-show-done-only, todo-show-first, todo-show-with-done)
13087 (todo-skip-archived-categories, todo-top-priorities-overrides)
13088 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
13089 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
13090 New defcustoms.
13091 (todo-category-done, todo-date-pattern, todo-date-string-start)
13092 (todo-diary-items-buffer, todo-done-string-start)
13093 (todo-filtered-items-buffer, todo-item-start)
13094 (todo-month-abbrev-array, todo-month-name-array)
13095 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
13096 (todo-top-priorities-buffer): New defconsts.
13097 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
13098 (todo-categories-with-marks, todo-category-string-face)
13099 (todo-comment-face, todo-comment-string, todo-current-todo-file)
13100 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
13101 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
13102 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
13103 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
13104 (todo-font-lock-keywords, todo-global-current-todo-file)
13105 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
13106 (todo-insertion-commands-args)
13107 (todo-insertion-commands-args-genlist)
13108 (todo-insertion-commands-names, todo-insertion-map)
13109 (todo-key-bindings-t, todo-key-bindings-t+a)
13110 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
13111 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
13112 (todo-nondiary-face, todo-print-buffer, todo-time-face)
13113 (todo-visited): New variables.
13114
13115 2013-06-21 Glenn Morris <rgm@gnu.org>
13116
13117 * play/cookie1.el (cookie-apropos): Add optional display argument.
13118 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
13119 (psychoanalyze-pinhead): Use cookie-doctor.
13120
13121 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13122
13123 * emacs-lisp/package.el (tar-get-file-descriptor)
13124 (tar--extract): Declare.
13125
13126 2013-06-21 Eduard Wiebe <usenet@pusto.de>
13127
13128 Extend flymake's warning predicate to be a function (bug#14217).
13129 * progmodes/flymake.el (flymake-warning-predicate): New.
13130 (flymake-parse-line): Use it.
13131 (flymake-warning-re): Make obsolete alias to
13132 `flymake-warning-predicate'.
13133
13134 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13135
13136 * emacs-lisp/package.el (package-alist): Include obsolete packages.
13137 (package-obsolete-list): Remove.
13138 (package-activate): Remove min-version argument. Add `force' argument.
13139 Adjust to new package-alist format.
13140 (package-mark-obsolete): Remove.
13141 (package-unpack): Force reload of the package's autoloads.
13142 (package-installed-p): Check builtins if the installed package is not
13143 recent enough.
13144 (package-initialize): Don't reset package-obsolete-list.
13145 Don't specify which package version to activate.
13146 (package-process-define-package, describe-package-1)
13147 (package-menu--generate): Adjust to new package-alist format.
13148
13149 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13150
13151 * allout-widgets.el (allout-widgets-mode-off)
13152 (allout-widgets-mode-on, allout-widgets-pre-command-business)
13153 (allout-widgets-post-command-business)
13154 (allout-widgets-after-copy-or-kill-function)
13155 (allout-widgets-after-undo-function, allout-test-range-overlaps)
13156 (allout-decorate-item-and-context)
13157 (allout-graphics-modification-handler): Fix typos in docstrings.
13158 (allout-get-or-create-parent-widget): Use `looking-at-p'.
13159
13160 * cmuscheme.el (scheme-start-file): Doc fix.
13161 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
13162 (scheme-input-filter): Use `string-match-p'.
13163
13164 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
13165
13166 * dired-x.el: Use Dired consistently in docstrings.
13167
13168 * dired.el: Use Dired consistently in docstrings.
13169 (dired-readin, dired-mode): Use `setq-local'.
13170 (dired-switches-alist): Make defvar-local.
13171 (dired-buffers-for-dir): Use `zerop'.
13172 (dired-safe-switches-p, dired-switches-escape-p)
13173 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
13174 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
13175 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
13176 (dired-goto-next-nontrivial-file): Use `string-match-p'.
13177 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
13178 (dired-toggle-marks, dired-mark-files-containing-regexp)
13179 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
13180 (dired-flag-auto-save-files, dired-flag-backup-files):
13181 Use `looking-at-p'.
13182 (dired-mark-files-regexp, dired-build-subdir-alist):
13183 Use `string-match-p', `looking-at-p'.
13184
13185 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
13186 (direct-print-region-helper): Use `string-match-p'.
13187
13188 2013-06-21 Leo Liu <sdl.web@gmail.com>
13189
13190 * comint.el (comint-redirect-results-list-from-process):
13191 Fix infinite loop.
13192
13193 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13194
13195 * net/eww.el (eww-update-header-line-format): Quote % characters.
13196
13197 2013-06-21 Glenn Morris <rgm@gnu.org>
13198
13199 * play/cookie1.el (cookie): New custom group.
13200 (cookie-file): New option.
13201 (cookie-check-file): New function.
13202 (cookie): Make it interactive. Make start and end messages optional.
13203 Interactively, display the result. Default to cookie-file.
13204 (cookie-insert): Default to cookie-file.
13205 (cookie-snarf): Make start and end messages optional.
13206 Default to cookie-file. Use with-temp-buffer.
13207 (cookie-read): Rename from read-cookie.
13208 Make start and end messages optional. Default to cookie-file.
13209 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
13210 Do not autoload it.
13211 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
13212 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
13213
13214 2013-06-21 Leo Liu <sdl.web@gmail.com>
13215
13216 * progmodes/octave.el (octave-mode): Backward compatibility fix.
13217
13218 2013-06-21 Glenn Morris <rgm@gnu.org>
13219
13220 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
13221
13222 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13223 Daniel Hackney <dan@haxney.org>
13224
13225 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
13226 Consolidate the single-file vs tarball code.
13227 (package-desc-suffix): New function.
13228 (package-desc-full-name): Don't bother inlining it.
13229 (package-load-descriptor): Return the new package-desc.
13230 (package-mark-obsolete): Remove unused arg `package'.
13231 (package-unpack): Make it work for single files as well.
13232 Make it update package-alist.
13233 (package--make-autoloads-and-stuff): Rename from
13234 package--make-autoloads-and-compile. Don't compile any more.
13235 (package--compile): New function.
13236 (package-generate-description-file): New function, extracted from
13237 package-unpack-single.
13238 (package-unpack-single): Remove.
13239 (package--with-work-buffer): Add indentation and debugging info.
13240 (package-download-single): Remove.
13241 (package-install-from-archive): Rename from package-download-tar, make
13242 it take a pkg-desc, and make it work for single files as well.
13243 (package-download-transaction): Simplify.
13244 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
13245 external tar program.
13246 (package-install-from-buffer): Remove `pkg-desc' argument.
13247 Use package-tar-file-info for tar-mode buffers.
13248 (package-install-file): Simplify accordingly.
13249 (package-archive-base): Change to take a pkg-desc.
13250 * tar-mode.el (tar--check-descriptor): New function, extracted from
13251 tar-get-descriptor.
13252 (tar-get-descriptor): Use it.
13253 (tar-get-file-descriptor): New function.
13254 (tar--extract): New function, extracted from tar-extract.
13255 (tar--extract): Use it.
13256 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
13257 case the summary uses non-ascii. Adjust to new calling convention of
13258 package-tar-file-info.
13259
13260 2013-06-21 Leo Liu <sdl.web@gmail.com>
13261
13262 * comint.el (comint-redirect-results-list-from-process):
13263 Fix random delay. (Bug#14681)
13264
13265 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13266
13267 * profiler.el (profiler-format-number): Use log, not log10.
13268
13269 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13270
13271 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
13272
13273 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13274
13275 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
13276 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
13277 yet available.
13278 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
13279 (AUTOGENEL): ... here.
13280 * emacs-lisp/cl-macs.el (cl--sublis): New function.
13281 (cl--defsubst-expand): Use it.
13282
13283 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
13284
13285 * subr.el (log10): Move here from C code, and declare as obsolete.
13286 All uses of (log10 X) replaced with (log X 10).
13287
13288 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13289
13290 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
13291 Declare with `defvar-local'.
13292 (tabulated-list-use-header-line, tabulated-list-entries)
13293 (tabulated-list-padding, tabulated-list-printer)
13294 (tabulated-list-sort-key): Declare with `defvar-local'.
13295 (tabulated-list-init-header, tabulated-list-print-fake-header):
13296 Use `setq-local'.
13297
13298 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
13299
13300 * arc-mode.el (archive-mode): Add `archive-write-file' to
13301 `write-contents-functions' also for remote files. (Bug#14652)
13302
13303 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13304
13305 * cus-edit.el (custom-commands): Fix typos.
13306 (custom-display): Fix tooltip text.
13307 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
13308 Fix typos in docstrings.
13309 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
13310 (custom-unlispify-menu-entry, custom-magic-value-create)
13311 (custom-add-see-also, custom-group-value-create): Use ?\s.
13312 (custom-guess-type, customize-apropos, editable-field)
13313 (custom-face-value-create): Use `string-match-p'.
13314 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
13315
13316 * custom.el (custom-load-symbol): Use `string-match-p'.
13317
13318 * ansi-color.el: Convert to lexical binding.
13319 (ansi-colors): Fix URL.
13320 (ansi-color-context, ansi-color-context-region): Use defvar-local.
13321 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
13322 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
13323
13324 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13325
13326 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
13327
13328 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
13329
13330 2013-06-19 Tom Tromey <tromey@redhat.com>
13331
13332 * net/eww.el (eww-top-url): Remove.
13333 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
13334 (eww-render): Set new variables. Don't set eww-top-url.
13335 (eww-handle-link): Handle "prev", "home", and "contents".
13336 Downcase the rel text.
13337 (eww-top-url): Choose best top URL.
13338
13339 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13340
13341 * net/eww.el: Rewrite to implement form elements "by hand" instead of
13342 relying in widget.el. Using widget.el leads to too many
13343 user interface inconsistencies.
13344 (eww-self-insert): Implement entering commands in text fields.
13345 (eww-process-text-input): New function to make text input field editing
13346 work.
13347 (eww-submit): Rewrite to use the new-style form methods.
13348 (eww-select-display): Display the correct selected item.
13349 (eww-change-select): Implement changing the select value.
13350 (eww-toggle-checkbox): Implement radio/checkboxes.
13351 (eww-update-field): Fix compilation error.
13352 (eww-tag-textarea): Implement <textarea>.
13353
13354 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
13355 we don't shadow mode-specific bindings.
13356
13357 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
13358 nothing to push.
13359
13360 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
13361
13362 2013-06-19 Glenn Morris <rgm@gnu.org>
13363
13364 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
13365
13366 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13367
13368 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
13369 not needed.
13370
13371 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
13372
13373 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13374
13375 * net/browse-url.el (browse-url-browser-function):
13376 `eww-browse-url' has the right calling signature, `eww' does not.
13377
13378 2013-06-19 Glenn Morris <rgm@gnu.org>
13379
13380 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13381 Only eval autoloaded macros.
13382 (byte-compile-autoload): Only give the macro warning for macros.
13383
13384 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
13385 (ps-underlined-faces): Declare.
13386
13387 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
13388 (speedbar-add-supported-extension): Declare.
13389
13390 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
13391 Don't include a date stamp in the header of the generated file;
13392 it leads to needless differences between output files.
13393
13394 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13395
13396 * net/secrets.el (secrets-struct-secret-content-type):
13397 Replace check of introspection data by a test call of "CreateItem".
13398 Some servers do not offer introspection.
13399
13400 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
13401
13402 * electric.el (electric-pair-mode): Improve interaction with
13403 electric-layout-mode.
13404 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
13405 (electric-pair-syntax): Use text-mode-syntax-table in comments
13406 and strings.
13407 (electric-pair--insert): New function.
13408 (electric-pair-post-self-insert-function): Use it and
13409 electric--after-char-pos.
13410
13411 2013-06-19 Leo Liu <sdl.web@gmail.com>
13412
13413 * progmodes/octave.el (octave-help): Fix regexp.
13414
13415 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13416
13417 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
13418 (shr-table-horizontal-line): Allow nil as a value, and change the
13419 default.
13420 (shr-insert-table-ruler): Respect the nil value.
13421
13422 2013-06-18 Tom Tromey <tromey@barimba>
13423
13424 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13425 New defvars.
13426 (eww-open-file): New defun.
13427 (eww-render): Initialize new variables.
13428 (eww-display-html): Handle "link" and "a".
13429 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
13430 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
13431 (eww-back-url): Rename from eww-previous-url.
13432 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13433 New defuns.
13434
13435 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
13436
13437 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
13438 Distinguish ternary operator tokens from slash symbol and slash
13439 char literal.
13440
13441 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13442
13443 Convert symbol prettification into minor mode and global minor mode.
13444
13445 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
13446 `prog-prettify-symbols', and make a local defvar instead of defcustom.
13447 (prettify-symbols--keywords): Rename from
13448 `prog-prettify-symbols-alist' and make a local defvar.
13449 (prettify-symbols--compose-symbol): Rename from
13450 `prog--prettify-font-lock-compose-symbol'.
13451 (prettify-symbols--make-keywords): Rename from
13452 `prog-prettify-font-lock-symbols-keywords' and simplify.
13453 (prog-prettify-install): Remove.
13454 (prettify-symbols-mode): New minor mode, based on
13455 `prog-prettify-install'.
13456 (turn-on-prettify-symbols-mode): New function.
13457 (global-prettify-symbols-mode): New globalized minor mode.
13458
13459 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13460 * progmodes/cfengine.el (cfengine3-mode):
13461 * progmodes/perl-mode.el (perl-mode): Don't call
13462 `prog-prettify-install'; set `prettify-symbols-alist' instead.
13463
13464 2013-06-18 Juri Linkov <juri@jurta.org>
13465
13466 * files-x.el (modify-file-local-variable-message): New function.
13467 (modify-file-local-variable)
13468 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
13469 and call `modify-file-local-variable-message' when it's non-nil.
13470 (add-file-local-variable, delete-file-local-variable)
13471 (add-file-local-variable-prop-line)
13472 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
13473 and use it. (Bug#9820)
13474
13475 2013-06-18 Juri Linkov <juri@jurta.org>
13476
13477 * emulation/vi.el (vi-shell-op):
13478 * emulation/vip.el (vip-execute-com, ex-command):
13479 * emulation/viper-cmd.el (viper-exec-bang):
13480 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
13481 the call of `shell-command-on-region'. (Bug#14637)
13482
13483 * simple.el (shell-command-on-region): Doc fix.
13484
13485 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13486
13487 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
13488 (bug#14633).
13489
13490 2013-06-18 Glenn Morris <rgm@gnu.org>
13491
13492 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
13493
13494 * newcomment.el (comment-search-forward, comment-search-backward):
13495 Doc fix. (Bug#14376)
13496
13497 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13498
13499 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
13500 (buffer-face-mode-invoke): Doc fix.
13501
13502 2013-06-18 Matthias Meulien <orontee@gmail.com>
13503
13504 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
13505 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
13506
13507 2013-06-18 Glenn Morris <rgm@gnu.org>
13508
13509 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
13510 Replace obsolete function generic-make-keywords with its expansion.
13511
13512 * progmodes/python.el (ffap-alist): Declare.
13513
13514 * textmodes/reftex.el (bibtex-mode-map): Declare.
13515
13516 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13517
13518 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
13519 (package-unpack, package-unpack-single): Return the pkg-dir.
13520 (package-download-transaction): Use it to update package-alist.
13521
13522 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13523
13524 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
13525 possible choice.
13526
13527 2013-06-17 Juri Linkov <juri@jurta.org>
13528
13529 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
13530
13531 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13532
13533 * emacs-lisp/package.el (package-load-descriptor):
13534 Remove `with-syntax-table' call, `read' doesn't need it.
13535 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
13536
13537 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13538
13539 * startup.el (command-line): Expand package name returned by
13540 `package--description-file' (bug#14639).
13541
13542 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13543
13544 * emacs-lisp/package.el (package-load-descriptor): Do not call
13545 `emacs-lisp-mode', just use its syntax table.
13546
13547 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13548
13549 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
13550 `font-lock-extra-managed-props' if any prettifying keyword is added.
13551 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
13552 (prog-mode): Use `setq-local'.
13553
13554 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13555
13556 * international/characters.el (standard-case-table): Set syntax of ?»
13557 and ?« to punctuation.
13558
13559 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
13560
13561 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13562 Save relevant match data before calling `syntax-ppss' (bug#14595).
13563
13564 2013-06-15 Juri Linkov <juri@jurta.org>
13565
13566 * files-x.el (modify-file-local-variable-prop-line): Add local
13567 variables to the end of the existing comment on the first line.
13568 Use `file-auto-mode-skip' to skip interpreter magic line,
13569 and also skip XML declaration.
13570
13571 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13572
13573 * startup.el (package--builtin-versions): New var.
13574 (package-subdirectory-regexp): Remove.
13575 (package--description-file): Hard code its value instead.
13576
13577 * emacs-lisp/package.el: Don't activate packages older than builtin.
13578 (package-obsolete-list): Rename from package-obsolete-alist, and make
13579 it into a simple list of package-desc.
13580 (package-strip-version): Remove.
13581 (package-built-in-p): Use package--builtin-versions.
13582 (package-mark-obsolete): Simplify.
13583 (package-process-define-package): Mark it obsolete if older than the
13584 builtin version.
13585 (package-handle-response): Use line-end-position.
13586 (package-read-archive-contents, package--download-one-archive):
13587 Simplify.
13588 (package--add-to-archive-contents): Skip if older than the builtin or
13589 installed version.
13590 (package-menu-describe-package): Fix last change.
13591 (package-list-unversioned): New var.
13592 (package-menu--generate): Use it.
13593
13594 * emacs-lisp/autoload.el: Manage package--builtin-versions.
13595 (autoload--insert-text, autoload--insert-cookie-text): New functions.
13596 (autoload-builtin-package-versions): New variable.
13597 (autoload-generate-file-autoloads): Use them.
13598 Remove the list of autoloaded functions/macros from the
13599 (autoload...) comments.
13600
13601 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13602
13603 2013-06-15 Eli Zaretskii <eliz@gnu.org>
13604
13605 * simple.el (line-move-partial): Don't jump to the next screen
13606 line as soon as it becomes visible. Instead, continue enlarging
13607 the vscroll until the portion of a tall screen line that's left on
13608 display is about the height of the frame's default font.
13609 (Bug#14567)
13610
13611 2013-06-15 Glenn Morris <rgm@gnu.org>
13612
13613 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13614 compilation-error-regexp-alist void, or local while let-bound.
13615
13616 * progmodes/make-mode.el (makefile-mode-syntax-table):
13617 Treat "=" as punctuation. (Bug#14614)
13618
13619 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
13620
13621 * help-fns.el (describe-variable):
13622 Add extra line for permanent-local variables.
13623
13624 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
13625
13626 * progmodes/scheme.el (scheme-font-lock-keywords-2):
13627 Add export, import, library. (Bug#9164)
13628 (library): Set indent function.
13629
13630 2013-06-14 Glenn Morris <rgm@gnu.org>
13631
13632 * term/xterm.el (xterm--query):
13633 Stop after first matching handler. (Bug#14615)
13634
13635 2013-06-14 Ivan Kanis <ivan@kanis.fr>
13636
13637 Add support for dired in saveplace.
13638 * dired.el (dired-initial-position-hook): New variable.
13639 (dired-initial-position): Call hook to place cursor position.
13640 * saveplace.el (save-place-to-alist): Add dired position.
13641 (save-place-dired-hook): New function.
13642
13643 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
13644
13645 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13646 through a symbol rather than letrec.
13647
13648 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
13649 (package-desc): Add `dir' field.
13650 (package-desc-full-name): New function.
13651 (package-load-descriptor): Combine the two arguments. Don't use `load'.
13652 (package-maybe-load-descriptor): Remove.
13653 (package-load-all-descriptors): Just call package-load-descriptor.
13654 (package--disabled-p): New function.
13655 (package-desc-vers, package-desc-doc): Remove aliases.
13656 (package--dir): Remove function.
13657 (package-activate): Check if a package is disabled.
13658 (package-process-define-package): New function, extracted from
13659 define-package.
13660 (define-package): Turn into a place holder.
13661 (package-unpack-single, package-tar-file-info):
13662 Use package--description-file.
13663 (package-compute-transaction): Use package--disabled-p.
13664 (package-download-transaction): Don't call
13665 package-maybe-load-descriptor since they're all loaded anyway.
13666 (package-install): Change argument to be a pkg-desc.
13667 (package-delete): Use a single pkg-desc argument.
13668 (describe-package-1): Use package-desc-dir instead of package--dir.
13669 Use package-desc property instead of package-symbol.
13670 (package-install-button-action): Adjust accordingly.
13671 (package--push): Rewrite.
13672 (package-menu--print-info): Adjust accordingly. Change the ID format
13673 to be a pkg-desc.
13674 (package-menu-describe-package, package-menu-get-status)
13675 (package-menu--find-upgrades, package-menu-mark-upgrades)
13676 (package-menu-execute, package-menu--name-predicate):
13677 Adjust accordingly.
13678 * startup.el (package--description-file): New function.
13679 (command-line): Use it.
13680 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13681 Use package-desc-version.
13682
13683 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13684 (byte-compile-preprocess): Use it.
13685 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13686 can't quite recognize.
13687 (byte-compile-add-to-list): Remove.
13688 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13689 (cconv-closure-convert): Add assertion.
13690
13691 * emacs-lisp/map-ynp.el: Use lexical-binding.
13692 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13693 Factor out some repeated code.
13694
13695 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13696
13697 * subr.el (with-eval-after-load): New macro.
13698 (eval-after-load): Allow form to be a function.
13699 take advantage of lexical-binding.
13700 (do-after-load-evaluation): Use dolist and adjust to new format.
13701 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13702
13703 2013-06-13 Juri Linkov <juri@jurta.org>
13704
13705 * replace.el (perform-replace): Display "symbol " and other search
13706 modes from `isearch-message-prefix' in the *Help* buffer.
13707
13708 * isearch.el (isearch-query-replace): Add " symbol" and other
13709 possible search modes from `isearch-message-prefix' to the prompt.
13710 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13711 when reading a regexp to collect.
13712
13713 2013-06-13 Juri Linkov <juri@jurta.org>
13714
13715 * isearch.el (word-search-regexp): Match whitespace if the search
13716 string begins or ends in whitespace. The LAX arg is applied to
13717 both ends of the search string. Use `regexp-quote' and explicit
13718 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13719 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13720 boundaries are replaced with symbol boundaries, and characters
13721 between symbols match non-word non-symbol syntax. (Bug#14602)
13722
13723 2013-06-13 Juri Linkov <juri@jurta.org>
13724
13725 * isearch.el (isearch-del-char): Don't exceed the length of
13726 `isearch-string' by the prefix arg. (Bug#14563)
13727
13728 2013-06-13 Juri Linkov <juri@jurta.org>
13729
13730 * isearch.el (isearch-yank-word, isearch-yank-line)
13731 (isearch-char-by-name, isearch-quote-char)
13732 (isearch-printing-char, isearch-process-search-char):
13733 Add optional count prefix arg. (Bug#14563)
13734
13735 * international/isearch-x.el
13736 (isearch-process-search-multibyte-characters):
13737 Add optional count prefix arg.
13738
13739 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13740
13741 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13742 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13743 lexical-binding.
13744
13745 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13746
13747 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13748
13749 2013-06-13 Glenn Morris <rgm@gnu.org>
13750
13751 * startup.el (tty-handle-args):
13752 Don't just discard "--" and anything after. (Bug#14608)
13753
13754 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13755
13756 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13757
13758 Implement changes in Secret Service API. Make it backward compatible.
13759 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13760 (secrets-create-item): Use it. Prefix properties with interface.
13761
13762 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13763
13764 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13765 (term-emulate-terminal): Respect term-suppress-hard-newline.
13766
13767 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13768
13769 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13770 Only remove a `thumb-file' overlay. (Bug#14548)
13771
13772 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13773
13774 * mail/reporter.el (reporter-submit-bug-report):
13775 Handle missing package-name. (Bug#14600)
13776
13777 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13778
13779 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13780 (reftex-citation-prompt, reftex-default-bibliography)
13781 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13782 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13783 (reftex-bib-sort-author, reftex-bib-sort-year)
13784 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13785 (reftex-extract-bib-entries-from-thebibliography)
13786 (reftex-get-bibkey-default, reftex-get-bib-names)
13787 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13788 (reftex-format-bib-entry, reftex-parse-bibitem)
13789 (reftex-format-bibitem, reftex-do-citation)
13790 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13791 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13792 (reftex-insert-bib-matches, reftex-format-citation)
13793 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13794 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13795 existing comments into docstrings.
13796
13797 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13798
13799 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13800
13801 2013-06-12 Andreas Schwab <schwab@suse.de>
13802
13803 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13804 for auto-save files.
13805
13806 2013-06-12 Glenn Morris <rgm@gnu.org>
13807
13808 * ido.el (ido-delete-ignored-files): Remove.
13809 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13810 Go back to calling ido-ignore-item-p directly.
13811
13812 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13813
13814 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13815
13816 * ido.el (ido-delete-ignored-files): New function,
13817 split from ido-make-file-list-1.
13818 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13819 (ido-make-file-list-1): Use ido-delete-ignored-files.
13820
13821 2013-06-12 Leo Liu <sdl.web@gmail.com>
13822
13823 * progmodes/octave.el (inferior-octave-startup)
13824 (inferior-octave-completion-table)
13825 (inferior-octave-track-window-width-change)
13826 (octave-eldoc-function-signatures, octave-help)
13827 (octave-find-definition): Use single quoted strings.
13828 (inferior-octave-startup-args): Change default value.
13829 (inferior-octave-startup): Do not hard code "-i" and
13830 "--no-line-editing".
13831 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13832 (inferior-octave-directory-tracker): Use it.
13833 (octave-goto-function-definition): Robustify.
13834 (octave-help): Support highlighting operators in 'See also'.
13835 (octave-find-definition): Find subfunctions only in Octave mode.
13836
13837 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13838
13839 * help-fns.el (help-fns--compiler-macro): If the handler function is
13840 named, then put a link to it.
13841 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13842 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13843 (cl-typep): Use it.
13844 (cl-eval-when): Simplify debug spec.
13845 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13846 compiler-macro function instead of setting `compiler-macro-file'.
13847
13848 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13849
13850 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13851 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13852
13853 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13854 Daniel Hackney <dan@haxney.org>
13855
13856 First part of Daniel Hackney's patch to package.el.
13857 * emacs-lisp/package.el: Use defstruct.
13858 (package-desc): New, main struct.
13859 (package--bi-desc, package--ac-desc): New structs, used to describe the
13860 format in external files.
13861 (package-desc-vers): Replace with package-desc-version accessor.
13862 (package-desc-doc): Replace with package-desc-summary accessor.
13863 (package-activate-1): Remove `package' arg since the pkg-vec now
13864 includes the name.
13865 (define-package): Use package-desc-from-define.
13866 (package-unpack-single): Change file-name arg to be a symbol.
13867 (package--add-to-archive-contents): Use package-desc-create and new
13868 accessor functions to package--ac-desc.
13869 (package-buffer-info, package-tar-file-info): Return a package-desc.
13870 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13871 arg to be a package-desc.
13872 (package-install-file): Adjust accordingly. Use \' to match EOS.
13873 (package--from-builtin): New function.
13874 (describe-package-1, package-menu--generate): Use it.
13875 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13876 (package-generate-autoloads): Idem and return the name of the file.
13877 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13878 Change pkg-info arg to be a package-desc.
13879 Use package-make-ac-desc.
13880 (package-upload-file): Use \' to match EOS.
13881 * finder.el (finder-compile-keywords): Use package-make-builtin.
13882
13883 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13884
13885 * vc/vc.el (vc-deduce-fileset): Change error message.
13886 (vc-read-backend): New function.
13887 (vc-next-action): Use it.
13888
13889 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13890
13891 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13892 (prolog-font-lock-keywords): Use regexp-opt instead.
13893 Don't manually highlight strings.
13894 (prolog-mode-variables): Simplify comment-start-skip.
13895 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13896
13897 * emacs-lisp/generic.el (generic--normalise-comments)
13898 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13899 (generic-mode-set-comments): Use them.
13900 (generic-bracket-support): Use setq-local.
13901 (generic-make-keywords-list): Declare obsolete.
13902
13903 2013-06-11 Glenn Morris <rgm@gnu.org>
13904
13905 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13906 Prettify after setting font-lock-defaults. (Bug#14574)
13907
13908 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13909
13910 * replace.el (query-replace, occur-read-regexp-defaults-function)
13911 (replace-search):
13912 * subr.el (declare-function, number-sequence, local-set-key)
13913 (substitute-key-definition, locate-user-emacs-file)
13914 (with-silent-modifications, split-string, eval-after-load):
13915 Fix typos, remove unneeded backslashes and reflow some docstrings.
13916
13917 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13918
13919 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13920 default for Elisp files.
13921
13922 2013-06-11 Glenn Morris <rgm@gnu.org>
13923
13924 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13925 although define-derived-mode was doing this anyway. (Bug#14583)
13926
13927 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13928
13929 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13930 Fix make-variable-buffer-local call to refer to the correct variable.
13931
13932 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13933
13934 * eshell/em-term.el (eshell-visual-commands)
13935 (eshell-visual-subcommands, eshell-visual-options):
13936 Add summary line to docstrings. Add cross-references.
13937
13938 2013-06-10 Glenn Morris <rgm@gnu.org>
13939
13940 * epa.el (epa-read-file-name): New function. (Bug#14510)
13941 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13942
13943 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13944
13945 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13946 output redirection to be ignored with visual commands.
13947
13948 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13949
13950 * eshell/em-term.el (eshell-visual-command-p): New function.
13951 (eshell-term-initialize): Move long lambda to separate function
13952 eshell-visual-command-p.
13953 * eshell/em-dirs.el (eshell-dirs-initialize):
13954 * eshell/em-script.el (eshell-script-initialize):
13955 Add missing #' to lambda.
13956
13957 2013-06-08 Leo Liu <sdl.web@gmail.com>
13958
13959 * progmodes/octave.el (octave-add-log-current-defun): New function.
13960 (octave-mode): Set add-log-current-defun-function.
13961 (octave-goto-function-definition): Do not move point if not found.
13962 (octave-find-definition): Enhance to try subfunctions first.
13963
13964 2013-06-08 Glenn Morris <rgm@gnu.org>
13965
13966 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13967 (byte-compile-backward-char, byte-compile-backward-word):
13968 Improve previous change, to handle non-explicit nil.
13969
13970 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13971
13972 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13973 (smie--opener/closer-at-point): New function.
13974 (smie--matching-block-data): Use it. Don't match from right after an
13975 opener or right before a closer. Obey smie-blink-matching-inners.
13976 Don't signal a mismatch for repeated inners like "switch..case..case".
13977
13978 2013-06-07 Leo Liu <sdl.web@gmail.com>
13979
13980 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13981 to t. (Bug#14303)
13982 (octave-function-header-regexp): Fix. (Bug#14570)
13983 (octave-help-mode-finish-hook, octave-help-mode-finish):
13984 Remove. Just use temp-buffer-show-hook.
13985
13986 * newcomment.el (comment-search-backward): Revert last change.
13987 (Bug#14434)
13988
13989 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13990
13991 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13992
13993 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13994 through xargs, to avoid failure due to MS-Windows limitations on
13995 command-line length.
13996
13997 2013-06-06 Glenn Morris <rgm@gnu.org>
13998
13999 * font-lock.el (lisp-font-lock-keywords-2):
14000 Treat user-error like error.
14001
14002 * emacs-lisp/bytecomp.el (byte-compile-char-before)
14003 (byte-compile-backward-char, byte-compile-backward-word):
14004 Handle explicit nil arguments. (Bug#14565)
14005
14006 2013-06-05 Alan Mackenzie <acm@muc.de>
14007
14008 * isearch.el (isearch-allow-prefix): New user option.
14009 (isearch-other-meta-char): Don't exit isearch when a prefix
14010 argument is typed whilst `isearch-allow-prefix' is non-nil.
14011 (Bug#9706)
14012
14013 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14014
14015 * autorevert.el (auto-revert-notify-handler): Use memq.
14016 Hide assertion failure.
14017
14018 * skeleton.el: Use cl-lib.
14019 (skeleton-further-elements): Use defvar-local.
14020 (skeleton-insert): Use cl-progv.
14021
14022 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
14023
14024 * progmodes/prog-mode.el (prog-prettify-symbols)
14025 (prog-prettify-install): Update docstrings.
14026
14027 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14028
14029 * simple.el: Move all the prog-mode code to prog-mode.el.
14030 * progmodes/prog-mode.el: New file.
14031 * loadup.el: Add prog-mode.el.
14032
14033 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
14034
14035 * simple.el (prog-prettify-symbols): Add version.
14036 (prog-prettify-install): Add convenience function to prettify symbols.
14037
14038 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
14039 (perl--augmented-font-lock-keywords-1)
14040 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
14041 variables and use it.
14042
14043 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
14044 (cfengine3-mode): Remove unneeded variable and use it.
14045
14046 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
14047 (lisp--augmented-font-lock-keywords-1)
14048 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
14049 Remove unneeded variables and use it.
14050
14051 2013-06-05 João Távora <joaotavora@gmail.com>
14052
14053 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
14054 to point when opening the connection. (Bug#14380)
14055
14056 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14057
14058 * subr.el (load-history-regexp, load-history-filename-element)
14059 (eval-after-load, after-load-functions, do-after-load-evaluation)
14060 (eval-next-after-load, display-delayed-warnings)
14061 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
14062 definition of save-match-data.
14063 (overriding-local-map): Remove accidental obsolescence declaration.
14064
14065 * emacs-lisp/edebug.el (edebug-result): Move before first use.
14066
14067 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
14068
14069 Generalize symbol prettify support to prog-mode and implement it
14070 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
14071 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
14072 (prog--prettify-font-lock-compose-symbol)
14073 (prog-prettify-font-lock-symbols-keywords): New variables and
14074 functions to support symbol prettification.
14075 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
14076 (lisp--augmented-font-lock-keywords-1)
14077 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
14078 (lisp--prettify-symbols-alist): Implement prettify of lambda.
14079 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
14080 (cfengine3--prettify-symbols-alist, cfengine3-mode):
14081 Implement prettify of -> => :: strings.
14082 * progmodes/perl-mode.el (perl-prettify-symbols)
14083 (perl--font-lock-compose-symbol)
14084 (perl--font-lock-symbols-keywords): Move to prog-mode.
14085 (perl--prettify-symbols-alist): Prettify -> => :: strings.
14086 (perl-font-lock-keywords-1)
14087 (perl-font-lock-keywords-2): Remove explicit prettify support.
14088 (perl--augmented-font-lock-keywords)
14089 (perl--augmented-font-lock-keywords-1)
14090 (perl--augmented-font-lock-keywords-2, perl-mode):
14091 Implement prettify support.
14092
14093 2013-06-05 Leo Liu <sdl.web@gmail.com>
14094
14095 Re-implement SMIE matching block highlight using
14096 show-paren-data-function. (Bug#14395)
14097 * emacs-lisp/smie.el (smie-matching-block-highlight)
14098 (smie--highlight-matching-block-overlay)
14099 (smie--highlight-matching-block-lastpos)
14100 (smie-highlight-matching-block)
14101 (smie-highlight-matching-block-mode): Remove.
14102 (smie--matching-block-data-cache): New variable.
14103 (smie--matching-block-data): New function.
14104 (smie-setup): Use smie--matching-block-data for
14105 show-paren-data-function.
14106
14107 * progmodes/octave.el (octave-mode-menu): Fix.
14108 (octave-find-definition): Skip garbage lines.
14109
14110 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14111
14112 Fix compilation error with simultaneous dynamic+lexical scoping.
14113 Add warning when a defvar appears after the first let-binding.
14114 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
14115 (byte-compile-close-variables): Initialize it.
14116 (byte-compile--declare-var): New function.
14117 (byte-compile-file-form-defvar)
14118 (byte-compile-file-form-define-abbrev-table)
14119 (byte-compile-file-form-custom-declare-variable): Use it.
14120 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
14121 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
14122 (byte-compile-bind): Handle dynamic bindings that shadow
14123 lexical bindings.
14124 (byte-compile-unbind): Make arg non-optional.
14125 (byte-compile-let): Simplify.
14126 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
14127 (cconv--analyse-function, cconv-analyse-form): Populate it.
14128 Protect byte-compile-bound-variables to limit the scope of defvars.
14129 (cconv-analyse-form): Add missing rule for (defvar <foo>).
14130 Remove unneeded rule for `declare'.
14131
14132 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
14133 so as to avoid depending on cl-adjoin at run-time.
14134 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
14135
14136 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
14137 (macroexp--warn-and-return): Use it.
14138
14139 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14140
14141 * subr.el: Convert to lexical binding.
14142 (overriding-local-map): Make obsolete.
14143 (add-to-list): Doc fix. Add compiler macro.
14144 (read-key): Swap values of local maps.
14145
14146 2013-06-05 Leo Liu <sdl.web@gmail.com>
14147
14148 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
14149
14150 2013-06-04 Leo Liu <sdl.web@gmail.com>
14151
14152 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
14153 (compilation-auto-jump): Suppress the "Mark set" message to give
14154 way to exit message.
14155
14156 2013-06-04 Alan Mackenzie <acm@muc.de>
14157
14158 Remove faulty optimisation from indentation calculation.
14159 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
14160 search limit based on 2000 characters back from indent-point.
14161
14162 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14163
14164 * eshell/em-term.el (cl-lib): Require `cl-lib'.
14165
14166 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
14167
14168 * emacs-lisp/lisp.el: Use lexical-binding.
14169 (lisp--local-variables-1, lisp--local-variables): New functions.
14170 (lisp--local-variables-completion-table): New var.
14171 (lisp-completion-at-point): Use it complete let-bound vars.
14172
14173 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
14174 eagerly (bug#14422).
14175
14176 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
14177
14178 * autorevert.el (auto-revert-notify-enabled)
14179 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
14180 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
14181 (auto-revert-notify-handler): Handle also gfilenotify.
14182
14183 * subr.el (file-notify-handle-event): New defun. Replacing ...
14184 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
14185 Remove.
14186
14187 2013-06-03 Juri Linkov <juri@jurta.org>
14188
14189 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
14190 `M-s h .'. (Bug#14427)
14191
14192 * hi-lock.el (highlight-symbol-at-point): New alias for the new
14193 command `hi-lock-face-symbol-at-point'.
14194 (hi-lock-face-symbol-at-point): New command.
14195 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
14196 (hi-lock-menu): Add `highlight-symbol-at-point'.
14197 (hi-lock-mode): Doc fix.
14198
14199 * isearch.el (isearch-forward-symbol-at-point): New command.
14200 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
14201 (isearch-highlight-regexp): Add a regexp which matches
14202 words/symbols for word/symbol mode.
14203
14204 * subr.el (find-tag-default-bounds): New function with the body
14205 mostly moved from `find-tag-default'.
14206 (find-tag-default): Move most code to `find-tag-default-bounds',
14207 call it and apply `buffer-substring-no-properties' afterwards.
14208
14209 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14210
14211 * eshell/em-term.el (eshell-term-initialize):
14212 Use `cl-intersection' rather than `intersection'.
14213
14214 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
14215
14216 * vc/log-view.el: Doc fix.
14217 (log-view-mode-map): Copy keymap from `special-mode-map'.
14218
14219 2013-06-02 Eric Ludlam <zappo@gnu.org>
14220
14221 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
14222 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
14223 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
14224 (eieio-unbound, eieio-default-superclass)
14225 (eieio--define-field-accessors, method-static, method-before)
14226 (method-primary, method-after, method-num-lists)
14227 (method-generic-before, method-generic-primary)
14228 (method-generic-after, method-num-slots)
14229 (eieio-specialized-key-to-generic-key)
14230 (eieio--check-type, class-v, class-p)
14231 (eieio-class-name, define-obsolete-function-alias)
14232 (eieio-class-parents-fast, eieio-class-children-fast)
14233 (same-class-fast-p, class-constructor, generic-p)
14234 (generic-primary-only-p, generic-primary-only-one-p)
14235 (class-option-assoc, class-option, eieio-object-p)
14236 (class-abstract-p, class-method-invocation-order)
14237 (eieio-defclass-autoload-map, eieio-defclass-autoload)
14238 (eieio-class-un-autoload, eieio-defclass)
14239 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
14240 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
14241 (eieio--defgeneric-init-form, eieio-defgeneric-form)
14242 (eieio-defgeneric-reset-generic-form)
14243 (eieio-defgeneric-form-primary-only)
14244 (eieio-defgeneric-reset-generic-form-primary-only)
14245 (eieio-defgeneric-form-primary-only-one)
14246 (eieio-defgeneric-reset-generic-form-primary-only-one)
14247 (eieio-unbind-method-implementations)
14248 (eieio--defmethod, eieio--typep)
14249 (eieio-perform-slot-validation, eieio-validate-slot-value)
14250 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
14251 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
14252 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
14253 (eieio-slot-name-index, eieio-class-slot-name-index)
14254 (eieio-set-defaults, eieio-initarg-to-attribute)
14255 (eieio-attribute-to-initarg, eieio-c3-candidate)
14256 (eieio-c3-merge-lists, eieio-class-precedence-c3)
14257 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
14258 (eieio-class-precedence-list, eieio-generic-call-methodname)
14259 (eieio-generic-call-arglst, eieio-generic-call-key)
14260 (eieio-generic-call-next-method-list)
14261 (eieio-pre-method-execution-functions, eieio-generic-call)
14262 (eieio-generic-call-primary-only, eieiomt-method-list)
14263 (eieiomt-optimizing-obarray, eieiomt-install)
14264 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
14265 (eieio-generic-form, eieio-defmethod, make-obsolete)
14266 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
14267 (defclass): Remove `eval-and-compile' from macro.
14268 (call-next-method, shared-initialize): Instead of using
14269 `scoped-class' variable, use new eieio--scoped-class, and
14270 eieio--with-scoped-class.
14271 (initialize-instance): Rename local variable 'scoped-class' to
14272 'this-class' to remove ambiguitity from old global.
14273
14274 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
14275 eieio.el.
14276 (eieio--scoped-class-stack): New variable.
14277 (eieio--scoped-class): New fcn.
14278 (eieio--with-scoped-class): New scoping macro.
14279 (eieio-defclass): Use pushnew instead of add-to-list.
14280 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
14281 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
14282 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
14283 `scoped-class' variable, use new eieio--scoped-class, and
14284 eieio--with-scoped-class.
14285
14286 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
14287
14288 2013-06-02 Tassilo Horn <tsdh@gnu.org>
14289
14290 * eshell/esh-ext.el (eshell-external-command): Pass args to
14291 `eshell-find-interpreter'.
14292 (eshell-find-interpreter): Add new second parameter ARGS.
14293
14294 * eshell/em-script.el (eshell-script-initialize): Add second arg
14295 to the function added as MATCH to `eshell-interpreter-alist'.
14296
14297 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
14298 the function added as MATCH to `eshell-interpreter-alist'.
14299
14300 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
14301 (eshell-visual-options): New defcustom.
14302 (eshell-escape-control-x): Adapt docstring.
14303 (eshell-term-initialize): Test `eshell-visual-subcommands' and
14304 `eshell-visual-options' in addition to `eshell-visual-commands'.
14305 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
14306
14307 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
14308
14309 * progmodes/python.el (python-indent-block-enders): Add break,
14310 continue and raise keywords.
14311
14312 2013-06-01 Glenn Morris <rgm@gnu.org>
14313
14314 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
14315
14316 Plain (f)boundp silences compilation warnings since Emacs 22.1.
14317 * progmodes/cc-cmds.el (delete-forward-p):
14318 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
14319 * progmodes/cc-engine.el (buffer-syntactic-context):
14320 * progmodes/cc-fonts.el (face-property-instance):
14321 * progmodes/cc-mode.el (set-keymap-parents):
14322 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
14323 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
14324 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
14325 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
14326 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
14327
14328 * progmodes/cc-vars.el (other): Emacs has this widget since
14329 at least 21.1, so don't (re)define it.
14330
14331 * eshell/em-cmpl.el (eshell-cmpl-initialize):
14332 Replace the obsolete alias pcomplete-arg-quote-list.
14333
14334 2013-06-01 Leo Liu <sdl.web@gmail.com>
14335
14336 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
14337 punctuation syntax.
14338 (inferior-octave-minimal-columns)
14339 (inferior-octave-last-column-width): New variables.
14340 (inferior-octave-track-window-width-change): New function.
14341 (inferior-octave-mode): Adjust column width so that Octave output,
14342 for example from 'ls', can fit into the window nicely.
14343
14344 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14345
14346 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14347 Highlight expansions inside regexp literals.
14348
14349 2013-05-31 Glenn Morris <rgm@gnu.org>
14350
14351 * obsolete/sym-comp.el (symbol-complete):
14352 Replace obsolete completion-annotate-function.
14353
14354 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
14355
14356 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14357
14358 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14359 New function, checks if point is inside a literal that allows
14360 expression expansion.
14361 (ruby-syntax-propertize-expansion): Use it.
14362 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
14363 around the body.
14364
14365 2013-05-30 Juri Linkov <juri@jurta.org>
14366
14367 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
14368 to "\M-si".
14369 (isearch-invisible): New variable.
14370 (isearch-forward): Doc fix.
14371 (isearch-mode): Set `isearch-invisible'
14372 to the value of `search-invisible'.
14373 (isearch-toggle-case-fold): Doc fix.
14374 (isearch-toggle-invisible): New command.
14375 (isearch-query-replace): Let-bind `search-invisible'
14376 to the value of `isearch-invisible'.
14377 (isearch-search): Use `isearch-invisible' instead of
14378 `search-invisible'. Let-bind `search-invisible'
14379 to the value of `isearch-invisible'. (Bug#11378)
14380
14381 2013-05-30 Juri Linkov <juri@jurta.org>
14382
14383 * replace.el (perform-replace): Avoid `isearch-range-invisible'
14384 call when `query-flag' is nil and `search-invisible' is non-nil.
14385 (Bug#11746)
14386
14387 2013-05-30 Glenn Morris <rgm@gnu.org>
14388
14389 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
14390
14391 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
14392 (cc-require): Suppress spurious "noruntime" warnings.
14393 (cc-require-when-compile): Use fboundp, for sake of compiler.
14394
14395 * progmodes/cc-mode.el: Move load of cc-vars before that of
14396 cc-langs (which in turn loads cc-vars), to quieten compiler.
14397
14398 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14399
14400 * paren.el: Simplify the code.
14401 (show-paren-mode): Always start the timer.
14402 (show-paren--idle-timer): Rename from show-paren-idle-timer.
14403 (show-paren--overlay, show-paren--overlay-1): Rename from
14404 show-paren-overlay and show-paren-overlay-1, and initialize to an
14405 overlay rather than to nil.
14406 (show-paren-function): Misc cleanup and simplifications.
14407
14408 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14409
14410 * paren.el (show-paren-data-function): New hook.
14411 (show-paren--default): New function, extracted from show-paren-function.
14412 (show-paren-function): Use show-paren-data-function.
14413
14414 2013-05-30 Glenn Morris <rgm@gnu.org>
14415
14416 * ielm.el (ielm-map, ielm-complete-symbol):
14417 Use completion-at-point rather than obsolete functions.
14418 (inferior-emacs-lisp-mode): Doc fix.
14419 Set completion-at-point-functions, rather than
14420 comint-dynamic-complete-functions.
14421
14422 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
14423 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
14424 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
14425
14426 * image.el (image-animated-p): Tweak definition.
14427
14428 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
14429 (rlogin-process-connection-type): Tweak default. Add set-after.
14430 (rlogin-host): Doc fix.
14431 (rlogin): Tweak prompt.
14432 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
14433
14434 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
14435 * progmodes/tcl.el (inferior-tcl-mode-map):
14436 Use completion-at-point rather than obsolete alias.
14437
14438 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
14439
14440 * minibuffer.el (read-file-name-completion-ignore-case):
14441 Move before completion--in-region, for eager macro expansion.
14442
14443 2013-05-29 Juri Linkov <juri@jurta.org>
14444
14445 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
14446 for total count of matching lines. Add `global-matches' for total
14447 count of matches. Rename `matches' to `lines' for count of
14448 matching lines. Add `matches' for count of matches.
14449 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
14450 to `prev-line' for line number of prev match endpt.
14451 Increment `matches' for every match. Print the number of
14452 matching lines in the header.
14453 (occur-context-lines): Rename `lines' to `curr-line'.
14454 Rename `prev-lines' to `prev-line'. (Bug#14017)
14455
14456 2013-05-29 Juri Linkov <juri@jurta.org>
14457
14458 * replace.el (perform-replace): Add `skip-read-only-count',
14459 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
14460 Increment them for corresponding conditions and report the number
14461 of skipped occurrences in the final message. (Bug#11746)
14462 (query-replace, query-replace-regexp, query-replace-regexp-eval)
14463 (replace-string, replace-regexp): Doc fix.
14464
14465 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14466
14467 * emacs-lisp/trace.el (trace--read-args): Provide a default.
14468
14469 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
14470 prog-mode-map (bug#14504).
14471
14472 2013-05-29 Leo Liu <sdl.web@gmail.com>
14473
14474 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
14475 (octave-help): Small simplification.
14476
14477 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
14478 off the highlight first.
14479
14480 2013-05-29 Glenn Morris <rgm@gnu.org>
14481
14482 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
14483 Handle idlwave-last-system-routine-info-cons-cell being nil.
14484
14485 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14486 (idlwave-write-paths): Simplify via with-temp-buffer.
14487
14488 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
14489 * emulation/cua-rect.el: Also load cua-base at run time.
14490
14491 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
14492 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
14493 (cperl-imenu-on-info): Require imenu.
14494
14495 2013-05-28 Alan Mackenzie <acm@muc.de>
14496
14497 Handle "capitalised keywords" correctly.
14498 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
14499
14500 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
14501
14502 * eshell/em-unix.el: Add -r option to cp.
14503
14504 2013-05-28 Glenn Morris <rgm@gnu.org>
14505
14506 * vc/vc-arch.el (vc-exec-after): Declare.
14507 (vc-switches): Autoload.
14508 * vc/vc-bzr.el: No need to require vc when compiling.
14509 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
14510 (vc-resynch-buffer, vc-dir-refresh): Declare.
14511 (vc-setup-buffer, vc-switches): Autoload.
14512 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
14513 (vc-resynch-buffer): Declare.
14514 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
14515 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
14516 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
14517 (grep-read-regexp, grep-read-files, grep-expand-template)
14518 (vc-dir-refresh): Declare.
14519 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
14520 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
14521 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
14522 * vc/vc-mtn.el (vc-exec-after): Declare.
14523 (vc-switches): Autoload.
14524 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
14525 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
14526 (vc-file-tree-walk): Declare.
14527 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
14528 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
14529 (vc-tag-precondition, vc-rename-master): Autoload.
14530 * vc/vc-svn.el (vc-exec-after): Declare.
14531 (vc-switches, vc-setup-buffer): Autoload.
14532 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
14533 Autoload.
14534 (vc-resynch-buffer): Declare.
14535
14536 * obsolete/fast-lock.el (byte-compile-warnings):
14537 Don't warn about obsolete features in this obsolete file.
14538
14539 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
14540 Move definition before use.
14541
14542 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
14543 (dun-unix-verbs): Remove dun-zippy.
14544 (dun-zippy): Remove function.
14545
14546 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
14547
14548 2013-05-27 Juri Linkov <juri@jurta.org>
14549
14550 * replace.el (replace-search): New function with code moved out
14551 from `perform-replace'.
14552 (replace-highlight, replace-dehighlight): Move function definitions
14553 up closer to `replace-search'. (Bug#11746)
14554
14555 2013-05-27 Juri Linkov <juri@jurta.org>
14556
14557 * replace.el (perform-replace): Ignore invisible matches.
14558 In addition to checking `query-replace-skip-read-only', also
14559 filter out matches by calling `run-hook-with-args-until-failure'
14560 on `isearch-filter-predicates', and also check `search-invisible'
14561 for t or call `isearch-range-invisible'.
14562 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
14563
14564 2013-05-27 Juri Linkov <juri@jurta.org>
14565
14566 * isearch.el (isearch-filter-predicates): Rename from
14567 `isearch-filter-predicate'. Doc fix. (Bug#11378)
14568 (isearch-message-prefix): Display text from the property
14569 `isearch-message-prefix' of the currently active filters.
14570 (isearch-search): Don't compare `isearch-filter-predicate' with
14571 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
14572 on `isearch-filter-predicates'. Also check `search-invisible' for t
14573 or call `isearch-range-invisible'.
14574 (isearch-filter-visible): Make obsolete.
14575 (isearch-lazy-highlight-search):
14576 Call `run-hook-with-args-until-failure' on
14577 `isearch-filter-predicates' and use `isearch-range-invisible'.
14578
14579 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14580 `isearch-filter-predicates' instead of `funcall'ing
14581 `isearch-filter-predicate'.
14582 (Info-mode): Set `Info-isearch-filter' to
14583 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14584
14585 * dired-aux.el (dired-isearch-filter-predicate-orig):
14586 Remove variable.
14587 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14588 (dired-isearch-filenames-end): Add and remove
14589 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14590 instead of changing the value of `isearch-filter-predicate'.
14591 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14592 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14593 Put property `isearch-message-prefix' to "filename " on
14594 `dired-isearch-filter-filenames'.
14595
14596 * wdired.el (wdired-change-to-wdired-mode):
14597 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14598 locally instead of changing `isearch-filter-predicate'.
14599 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14600
14601 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
14602
14603 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14604 return the commit hash (Bug#14459). Also set the
14605 `vc-git-detached' property.
14606 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14607 (vc-git-mode-line-string): Use the same help-echo format whether
14608 in detached mode or not, because we know the actual revision now.
14609 When in detached mode, shorten the revision to 7 chars.
14610
14611 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14612
14613 * emacs-lisp/easy-mmode.el (define-minor-mode):
14614 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14615 mode hook and provide a docstring.
14616
14617 2013-05-27 Alan Mackenzie <acm@muc.de>
14618
14619 Remove spurious syntax-table text properties inserted by C-y.
14620 * progmodes/cc-mode.el (c-after-change): Also clear hard
14621 syntax-table property with value nil.
14622
14623 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
14624
14625 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14626 when reading the events; the buffer layout shall not be changed.
14627
14628 2013-05-27 Leo Liu <sdl.web@gmail.com>
14629
14630 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14631 New variable.
14632 (inferior-octave-directory-tracker): Automatically re-sync
14633 default-directory.
14634 (octave-help): Improve handling of 'See also'.
14635
14636 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14637
14638 * doc-view.el: Minor naming convention tweaks.
14639 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14640
14641 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14642 even if there's no `display' property yet (bug#14435).
14643
14644 2013-05-25 Eli Zaretskii <eliz@gnu.org>
14645
14646 * subr.el (unmsys--file-name): Rename from reveal-filename.
14647
14648 * Makefile.in (custom-deps, finder-data, autoloads)
14649 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14650 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14651 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14652
14653 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14654
14655 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14656 error-completion on the first 2 args of condition-case (bug#14446).
14657 Don't burp at EOB.
14658
14659 2013-05-25 Leo Liu <sdl.web@gmail.com>
14660
14661 * comint.el (comint-previous-matching-input): Do not flood the
14662 *Messages* buffer with trivial messages.
14663
14664 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14665
14666 * progmodes/flymake.el (flymake-nop): Don't return a string.
14667 (flymake-set-at): Fix typo.
14668
14669 * simple.el (read--expression): New function, extracted from
14670 eval-expression. Set completion-at-point-functions (bug#14465).
14671 (eval-expression, eval-minibuffer): Use it.
14672
14673 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
14674
14675 * progmodes/flymake.el (flymake-save-buffer-in-file)
14676 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14677 (flymake-selected-frame, flymake-log, flymake-ins-after)
14678 (flymake-set-at, flymake-get-buildfile-from-cache)
14679 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14680 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14681 Refine the doc string.
14682 (flymake-get-file-name-mode-and-masks): Reformat.
14683 (flymake-get-real-file-name-function): Fix a minor bug.
14684
14685 2013-05-24 Juri Linkov <juri@jurta.org>
14686
14687 * progmodes/grep.el (grep-mode-font-lock-keywords):
14688 Support =linenumber= format used by git-grep for lines with
14689 function names. (Bug#13549)
14690
14691 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14692
14693 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14694 0 after a semi-colon; it works better for smie-auto-fill.
14695 (octave--indent-new-comment-line): New function.
14696 (octave-indent-new-comment-line): Use it (indirectly).
14697 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14698 modify comment-line-break-function.
14699
14700 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14701 (smie-setup): Use add-function to set it.
14702
14703 2013-05-24 Sam Steingold <sds@gnu.org>
14704
14705 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14706 argument (before the `interactive' argument).
14707
14708 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14709
14710 * image-mode.el (image-mode-winprops): Add winprops to
14711 image-mode-winprops-alist before running
14712 image-mode-new-window-functions.
14713 * doc-view.el (doc-view-new-window-function): Don't delay
14714 doc-view-goto-page via timers (bug#14435).
14715
14716 2013-05-24 Tassilo Horn <tsdh@gnu.org>
14717
14718 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14719 (doc-view-desktop-save-buffer): New function.
14720 (doc-view-restore-desktop-buffer): New function.
14721 (desktop-buffer-mode-handlers):
14722 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14723 handler.
14724 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14725 `desktop-save-buffer' function.
14726
14727 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
14728
14729 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14730 (tramp-gvfs-file-name-handler): Raise a user error when
14731 `tramp-gvfs-enabled' is nil.
14732 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14733 Do not raise a user error when loading package. (Bug#14447)
14734
14735 * net/xesam.el: Move to obsolete/.
14736
14737 2013-05-24 Glenn Morris <rgm@gnu.org>
14738
14739 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14740
14741 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14742
14743 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14744 (Info-find-node, Man-getpage-in-background): Declare.
14745
14746 * mail/unrmail.el (unrmail):
14747 Replace obsolete detect-coding-with-priority.
14748
14749 * net/socks.el (socks-split-string): Use this rather than split-string.
14750 (socks-nslookup-host): Update for above change.
14751 (dynamic-choice, s5-dynamic-choice-match)
14752 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14753 Comment out unused code.
14754
14755 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14756 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14757 (gud-tooltip-echo-area): Make obsolete.
14758 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14759
14760 * progmodes/js.el (js--optimize-arglist): Declare.
14761
14762 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14763
14764 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14765 (ediff-window-C): Declare.
14766
14767 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14768 Tweak requires to silence compiler.
14769
14770 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14771 (he-search-string, he-tried-table, he-expand-list)
14772 (he-init-string, he-string-member, he-substitute-string)
14773 (he-reset-string): Declare.
14774
14775 * obsolete/options.el (list-options): Use custom-variable-p,
14776 rather than obsolete alias.
14777
14778 2013-05-23 Sam Steingold <sds@gnu.org>
14779
14780 * simple.el (shell-command-on-region): Pass the `replace' argument
14781 down to `call-process-region' to comply with the doc as reported on
14782 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14783
14784 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14785
14786 * emacs-lisp/smie.el (smie-indent-forward-token)
14787 (smie-indent-backward-token): Handle string tokens (bug#14381).
14788
14789 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14790
14791 * ielm.el (ielm-menu): New menu.
14792 (inferior-emacs-lisp-mode): Set comment-start.
14793
14794 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14795
14796 * textmodes/reftex.el (reftex-ref-style-toggle):
14797 Fix deactivate action.
14798
14799 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14800 Add cleveref macros.
14801
14802 * textmodes/reftex-parse.el
14803 (reftex-locate-bibliography-files): Accept options for
14804 bibliography commands.
14805 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14806 Add addbibresource. Basic Biblatex support.
14807
14808 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14809
14810 * net/tramp-gvfs.el (top):
14811 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14812 when loading package. (Bug#14447)
14813
14814 2013-05-23 Glenn Morris <rgm@gnu.org>
14815
14816 * progmodes/js.el: No need to load comint when compiling.
14817 (ring-insert, comint-send-string, comint-send-input)
14818 (comint-last-input-end, ido-chop): Declare.
14819
14820 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14821 * vc/ediff-mult.el: Adjust requires.
14822 (ediff-directories-internal, ediff-directory-revisions-internal)
14823 (ediff-patch-file-internal): Declare.
14824 * vc/ediff-ptch.el: Adjust requires.
14825 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14826 (ediff-find-file): Autoload.
14827 * vc/ediff-util.el: No need to load ediff when compiling.
14828 (ediff-regions-internal): Declare.
14829 * vc/ediff-wind.el: Adjust requires.
14830 (ediff-compute-toolbar-width): Define when compiling.
14831 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14832 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14833 (dired-get-filename, dired-get-marked-files)
14834 (ediff-last-dir-patch, ediff-patch-default-directory)
14835 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14836 (ediff-patch-buffer-internal): Declare.
14837
14838 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14839 (ispell-process, ispell-buffer-local-words, lm-summary)
14840 (lm-section-start, lm-section-end): Declare.
14841 (checkdoc-ispell-init): Simplify.
14842
14843 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14844 (he-string-member, he-reset-string, he-substitute-string): Declare.
14845
14846 * eshell/em-ls.el: Adjust requires.
14847 (eshell-glob-regexp): Declare.
14848 * eshell/em-tramp.el: Adjust requires.
14849 (eshell-parse-command): Autoload.
14850 * eshell/em-xtra.el: Adjust requires.
14851 (eshell-parse-command): Autoload.
14852 * eshell/esh-ext.el: Adjust requires.
14853 (eshell-parse-command, eshell-close-handles): Autoload.
14854 * eshell/esh-io.el: Adjust requires.
14855 (eshell-output-filter): Autoload.
14856 * eshell/esh-util.el: No need to load tramp when compiling.
14857 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14858 Declare.
14859 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14860 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14861 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14862 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14863 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14864 * eshell/esh-opt.el, eshell/esh-proc.el:
14865 * eshell/esh-var.el: Adjust requires.
14866 * eshell/eshell.el: Do not require esh-util twice.
14867 (eshell-add-input-to-history): Declare.
14868 (eshell-command): Check history module is active before using it.
14869
14870 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14871
14872 2013-05-22 Leo Liu <sdl.web@gmail.com>
14873
14874 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14875
14876 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14877
14878 * autorevert.el (auto-revert-notify-add-watch)
14879 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14880 it indicates changes in file modification time.
14881
14882 2013-05-22 Glenn Morris <rgm@gnu.org>
14883
14884 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14885 Always delete the autoloaded function from the noruntime and
14886 unresolved functions lists.
14887
14888 * allout.el: No need to load epa, epg, overlay when compiling.
14889 (epg-context-set-passphrase-callback, epg-list-keys)
14890 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14891 (epg-key-user-id-list): Declare.
14892
14893 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14894 (viper-set-parsing-style-toggling-macro)
14895 (viper-set-emacs-state-searchstyle-macros):
14896 Use called-interactively-p on Emacs.
14897 (viper-looking-back): Make it an obsolete alias. Update callers.
14898 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14899 Use looking-back rather than viper-looking-back.
14900 (viper-tmp-insert-at-eob, viper-enlarge-region)
14901 (viper-read-string-with-history, viper-register-to-point)
14902 (viper-append-to-register, viper-change-state-to-vi)
14903 (viper-backward-char-carefully, viper-forward-char-carefully)
14904 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14905 (viper-change-state-to-emacs): Declare.
14906 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14907 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14908 * emulation/viper-mous.el: Do not load viper-cmd.
14909 (viper-backward-char-carefully, viper-forward-char-carefully)
14910 (viper-forward-word, viper-adjust-window): Declare.
14911
14912 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14913
14914 * progmodes/idlw-help.el (idlwave-help-fontify):
14915 Use called-interactively-p.
14916
14917 * term/w32console.el (w32-get-console-codepage)
14918 (w32-get-console-output-codepage): Declare.
14919
14920 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14921 Remove unnecessary declarations.
14922 (dframe-message): Doc fix.
14923
14924 * info.el (dframe-select-attached-frame, dframe-current-frame):
14925 Declare.
14926
14927 * speedbar.el (speedbar-message): Make it an obsolete alias.
14928 Update all callers.
14929 (speedbar-with-attached-buffer)
14930 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14931 (speedbar-with-writable): Use backquote.
14932 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14933 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14934 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14935 rather than speedbar- aliases.
14936 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14937 (speedbar-make-specialized-keymap, speedbar-insert-button)
14938 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14939 (speedbar-do-function-pointer): Declare.
14940 (rmail-speedbar-button, rmail-speedbar-find-file)
14941 (rmail-speedbar-move-message):
14942 Use dframe-with-attached-buffer rather than speedbar- alias.
14943 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14944 (dframe-message, speedbar-make-specialized-keymap)
14945 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14946 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14947 (speedbar-insert-button, dframe-select-attached-frame)
14948 (dframe-maybee-jump-to-attached-frame)
14949 (speedbar-change-initial-expansion-list)
14950 (speedbar-previously-used-expansion-list-name): Declare.
14951 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14952 Use dframe-message, dframe-with-attached-buffer rather than
14953 speedbar- aliases.
14954 (gud-sentinel): Silence compiler.
14955 * progmodes/vhdl-mode.el (speedbar-refresh)
14956 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14957 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14958 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14959 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14960 (speedbar-file-lists, speedbar-make-tag-line)
14961 (speedbar-line-directory, speedbar-goto-this-file)
14962 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14963 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14964 (speedbar-make-button, speedbar-reset-scanners)
14965 (speedbar-files-item-info, speedbar-line-text)
14966 (speedbar-find-file-in-frame, speedbar-set-timer)
14967 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14968 (speedbar-with-writable): Do not (re)define it.
14969 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14970 rather than speedbar- alias.
14971
14972 2013-05-21 Leo Liu <sdl.web@gmail.com>
14973
14974 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14975 menu items.
14976 (octave-mode): Tweak fill-nobreak-predicate.
14977 (inferior-octave-startup): Check process to avoid infinite loop.
14978 (inferior-octave): Pop to buffer first to show abornmal process
14979 exit information.
14980
14981 2013-05-21 Glenn Morris <rgm@gnu.org>
14982
14983 * printing.el (pr-menu-bar): Define when compiling.
14984
14985 2013-05-21 Leo Liu <sdl.web@gmail.com>
14986
14987 * progmodes/octave.el (octave-auto-fill): Remove.
14988 (octave-indent-new-comment-line): Improve.
14989 (octave-mode): Use auto fill mode through
14990 comment-line-break-function and fill-nobreak-predicate.
14991 (octave-goto-function-definition): Support DEFUN_DLD.
14992 (octave-beginning-of-defun): Small tweak.
14993 (octave-help): Show parent directory.
14994
14995 2013-05-21 Glenn Morris <rgm@gnu.org>
14996
14997 * files.el (dired-unmark):
14998 * progmodes/gud.el (gdb-input): Update declarations.
14999
15000 * calculator.el (electric, ehelp): No need to load when compiling.
15001 (Electric-command-loop, electric-describe-mode): Declare.
15002
15003 * doc-view.el (doc-view-current-converter-processes): Move before use.
15004
15005 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15006 Move MODE-set-explicitly definition before use.
15007
15008 * international/mule-diag.el (mule-diag):
15009 Don't use obsolete window-system-version.
15010
15011 * mail/feedmail.el (smtpmail): No need to load when compiling.
15012 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
15013
15014 * mail/mail-utils.el (rfc822): No need to load when compiling.
15015 (rfc822-addresses): Autoload it.
15016 (mail-strip-quoted-names): Trivial simplification.
15017
15018 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
15019 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
15020
15021 * net/snmp-mode.el (tempo): Don't duplicate requires.
15022
15023 * progmodes/prolog.el (info): No need to load when compiling.
15024 (comint): Require before shell requires it.
15025 (Info-goto-node): Autoload it.
15026 (Info-follow-nearest-node): Declare.
15027 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
15028
15029 * textmodes/artist.el (picture-mode-exit): Declare.
15030
15031 * textmodes/reftex-parse.el (reftex-parse-from-file):
15032 Trivial rewrite so the compiler can parse it better.
15033
15034 2013-05-20 Leo Liu <sdl.web@gmail.com>
15035
15036 * progmodes/octave.el (octave-help-mode-map)
15037 (octave-help-mode-finish-hook): New variables.
15038 (octave-help-mode, octave-help-mode-finish): New functions.
15039 (octave-help): Use octave-help-mode.
15040
15041 2013-05-20 Glenn Morris <rgm@gnu.org>
15042
15043 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
15044
15045 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
15046
15047 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
15048 start at point, so that expansion starting right after opening
15049 slash in a regexp is recognized.
15050 (ruby-syntax-before-regexp-re): New defvar, extracted from
15051 ruby-syntax-propertize-function. Since the value of this regexp
15052 is looked up at runtime now, we should be able to turn
15053 `ruby-syntax-methods-before-regexp' into a defcustom later.
15054 (ruby-syntax-propertize-function): Split regexp matching into two
15055 parts, for opening and closing slashes. That allows us to skip
15056 over string interpolations and support multiline regexps.
15057 Don't call `ruby-syntax-propertize-expansions', instead use another rule
15058 for them, which calls `ruby-syntax-propertize-expansion'.
15059 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
15060 call to `ruby-syntax-propertize-function'.
15061 (ruby-syntax-propertize-expansion): Extracted from
15062 `ruby-syntax-propertize-expansions'. Handles one expansion.
15063 (ruby-syntax-propertize-percent-literal): Leave point right after
15064 the percent symbol, so that the expression expansion rule can
15065 propertize the contents.
15066 (ruby-syntax-propertize-heredoc): Leave point at bol following the
15067 heredoc openers.
15068 (ruby-syntax-propertize-expansions): Remove.
15069
15070 2013-05-18 Juri Linkov <juri@jurta.org>
15071
15072 * man.el (Man-default-man-entry): Remove `-' from the end
15073 of the default value. (Bug#14400)
15074
15075 2013-05-18 Glenn Morris <rgm@gnu.org>
15076
15077 * comint.el (comint-password-prompt-regexp):
15078 Allow "password for XXX" where XXX contains colons (eg https://...).
15079
15080 2013-05-18 Leo Liu <sdl.web@gmail.com>
15081
15082 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
15083 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
15084 (octave-source-directories): Don't check process.
15085 (octave-source-directories, octave-find-definition): Doc fix.
15086
15087 2013-05-18 Glenn Morris <rgm@gnu.org>
15088
15089 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
15090 Remove backspace/delete bindings. (Bug#14392)
15091
15092 * cus-dep.el (custom-make-dependencies): Sort the output.
15093 (custom-versions-load-alist): Convert comment to doc.
15094
15095 2013-05-17 Leo Liu <sdl.web@gmail.com>
15096
15097 * newcomment.el (comment-search-backward): Stricter in finding
15098 comment start. (Bug#14303)
15099
15100 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
15101 (octave-comment-start-skip): Properly anchored.
15102
15103 2013-05-17 Leo Liu <sdl.web@gmail.com>
15104
15105 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
15106 Clean up when turned off. (Bug#14395)
15107 (smie--highlight-matching-block-overlay): No longer buffer-local.
15108 (smie-highlight-matching-block): Adjust.
15109
15110 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
15111
15112 Doc string fix for "nanoseconds" (Bug#14406).
15113 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
15114 Fix doc string typo that had "nanoseconds" instead of "microseconds".
15115
15116 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
15117
15118 * calc/calc-units.el (math-extract-units): Preserve powers
15119 of units.
15120
15121 2013-05-17 Leo Liu <sdl.web@gmail.com>
15122
15123 * subr.el (delete-consecutive-dups): New function.
15124 * ido.el (ido-set-matches-1): Use it.
15125 * progmodes/octave.el (inferior-octave-completion-table): Use it.
15126 * ido.el (ido-remove-consecutive-dups): Remove.
15127
15128 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
15129
15130 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15131 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
15132 regexp-opt's `words'.
15133
15134 2013-05-16 Leo Liu <sdl.web@gmail.com>
15135
15136 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
15137 (smie--highlight-matching-block-overlay)
15138 (smie--highlight-matching-block-lastpos)
15139 (smie--highlight-matching-block-timer): New variables.
15140 (smie-highlight-matching-block): New function.
15141 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
15142 (smie-setup): Conditionally enable smie-blink-matching-open.
15143
15144 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
15145
15146 Sync with upstream verilog-mode r840.
15147 * progmodes/verilog-mode.el (verilog-mode-version)
15148 (verilog-mode-release-date): Update.
15149 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
15150 (verilog-sig-tieoff): Fix string error on
15151 AUTORESET with colon define, bug594. Reported by Andrew Hou.
15152 (verilog-read-decls): Fix parameters confusing
15153 AUTOINST interfaces, bug565. Reported by Leith Johnson.
15154
15155 2013-05-16 Eli Zaretskii <eliz@gnu.org>
15156
15157 * subr.el (reveal-filename): New function.
15158
15159 * loadup.el: Compute Emacs executable versions on MS-Windows,
15160 where executables have the .exe extension. Add a hard link
15161 emacs-XX.YY.ZZ.exe on MS-Windows.
15162
15163 * Makefile.in (XARGS_LIMIT): New variable.
15164 (custom-deps, finder-data, autoloads)
15165 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
15166 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
15167 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
15168 (compile-main): Limit xargs according to $(XARGS_LIMIT).
15169
15170 2013-05-16 Leo Liu <sdl.web@gmail.com>
15171
15172 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
15173 (octave-mode-menu, octave-mode-map): Remove its uses.
15174
15175 2013-05-16 Reto Zimmermann <reto@gnu.org>
15176
15177 Sync with upstream vhdl mode v3.34.2.
15178 * progmodes/vhdl-mode.el: Use `push' throughout.
15179 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
15180 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
15181 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
15182 (vhdl-actual-generic-name): New option to derive actual generic name.
15183 (vhdl-port-paste-signals): Replace formal by actual generics.
15184 (vhdl-beautify): New name for old group vhdl-align. Update users.
15185 (vhdl-beautify-options): New option.
15186 (vhdl-last-input-event): New compat alias. Use throughout.
15187 (vhdl-goto-line): Replace user level function `goto-line'.
15188 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
15189 vhdl-fix-statement-buffer.
15190 (vhdl-create-mode-menu): Add some entries.
15191 (vhdl-align-region-groups): Respect vhdl-beautify-options.
15192 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
15193 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
15194 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
15195 to force statements on one line.
15196 (vhdl-remove-trailing-spaces-region):
15197 New, split from vhdl-remove-trailing-spaces.
15198 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
15199 Respect vhdl-beautify-options.
15200 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
15201 (vhdl-update-sensitivity-list): Not add with index if exists without.
15202 Not include array index with signal. Ignore keywords in comments.
15203 (vhdl-get-visible-signals): Regexp tweaks.
15204 (vhdl-template-component-inst): Handle empty library.
15205 (vhdl-template-type): Add template for 'enum' type.
15206 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
15207 Use vhdl-replace-string.
15208 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
15209 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
15210 (vhdl-speedbar-initialize): Update for above name change.
15211 (vhdl-compose-wire-components): Fix in handling of constants.
15212 (vhdl-error-regexp-emacs-alist): New variable.
15213 (vhdl-error-regexp-add-emacs): New function;
15214 adds support for new compile.el (Emacs 22+)
15215 (vhdl-generate-makefile-1): Change target order for single lib. units.
15216 Allow use of absolute file names.
15217
15218 2013-05-16 Leo Liu <sdl.web@gmail.com>
15219
15220 * simple.el (prog-indent-sexp): Indent enclosing defun.
15221
15222 2013-05-15 Glenn Morris <rgm@gnu.org>
15223
15224 * cus-start.el (show-trailing-whitespace): Move to editing basics.
15225 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
15226 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
15227 (whitespace-highlight): Move to whitespace group.
15228
15229 * comint.el (comint-source):
15230 * pcmpl-linux.el (pcmpl-linux):
15231 * shell.el (shell-faces):
15232 * eshell/esh-opt.el (eshell-opt):
15233 * international/ccl.el (ccl): Remove empty custom groups.
15234
15235 * completion.el (dynamic-completion-mode):
15236 * jit-lock.el (jit-lock-debug-mode):
15237 * minibuffer.el (completion-in-region-mode):
15238 * type-break.el (type-break-mode-line-message-mode)
15239 (type-break-query-mode):
15240 * emulation/tpu-edt.el (tpu-edt-mode):
15241 * progmodes/subword.el (global-subword-mode, global-superword-mode):
15242 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15243 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
15244
15245 * term/xterm.el (xterm): Change parent group to terminals.
15246
15247 * master.el (master): Remove empty custom group.
15248 (master-mode): Remove unused :group argument.
15249 * textmodes/refill.el (refill): Remove empty custom group.
15250 (refill-mode): Remove unused :group argument.
15251
15252 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
15253
15254 * cus-dep.el: Provide a feature.
15255 (custom-make-dependencies): Ignore dotfiles (dir-locals).
15256 Don't mistakenly ignore files whose basenames match a basename
15257 from preloaded-file-list (eg cedet/ede/simple.el).
15258 Add a fallback method for getting :group.
15259
15260 2013-05-15 Juri Linkov <juri@jurta.org>
15261
15262 * isearch.el (isearch-char-by-name): Rename from
15263 `isearch-insert-char-by-name'. Doc fix.
15264 (isearch-forward): Mention `isearch-char-by-name' in
15265 the docstring. (Bug#13348)
15266
15267 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
15268 `exit-minibuffer' instead of
15269 `isearch-nonincremental-exit-minibuffer'.
15270 (isearch-edit-string): Remove mention of
15271 `isearch-nonincremental-exit-minibuffer' from docstring.
15272 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
15273 (isearch-forward-exit-minibuffer)
15274 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
15275
15276 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15277
15278 * loadup.el: Just use unversioned DOC.
15279
15280 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
15281 literals as extending to EOB.
15282 (nxml-last-fontify-end): Remove unused variable.
15283 (nxml-after-change1): Use with-silent-modifications.
15284 (nxml-extend-after-change-region): Simplify.
15285 (nxml-extend-after-change-region1): Remove function.
15286 (nxml-after-change1): Don't adjust for dependent regions.
15287 (nxml-fontify-matcher): Simplify.
15288 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
15289 (xmltok-add-dependent): Remove function.
15290 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
15291 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
15292 (xmltok-scan-prolog-after-processing-instruction-open): Treat
15293 unclosed <[[, <?, comment, and other literals as extending to EOB.
15294 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
15295 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
15296 Remove functions.
15297 (rng-do-some-validation-1): Don't mark dependent regions.
15298 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
15299 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
15300 (nxml-clear-dependent-regions): Remove functions.
15301 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
15302 (nxml-ensure-scan-up-to-date):
15303 Don't clear&mark dependent regions.
15304
15305 2013-05-15 Leo Liu <sdl.web@gmail.com>
15306
15307 * progmodes/octave.el (octave-goto-function-definition):
15308 Improve and fix callers.
15309
15310 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15311
15312 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
15313 the setter (bug#14387).
15314
15315 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
15316 surrounding group (bug#14402).
15317
15318 2013-05-14 Juri Linkov <juri@jurta.org>
15319
15320 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
15321 (Bug#14390)
15322
15323 2013-05-14 Glenn Morris <rgm@gnu.org>
15324
15325 * progmodes/f90.el (f90-imenu-generic-expression):
15326 Fix typo in 2013-05-08 change. (Bug#14402)
15327
15328 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15329
15330 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
15331 Remove signals for which replies are never received.
15332
15333 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15334
15335 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
15336 (gdb-handler-alist, gdb-handler-number): Remove variables.
15337 (gdb-handler-list): New variable.
15338 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
15339 (gdb-pending-handler-p, gdb-handle-reply)
15340 (gdb-remove-all-pending-triggers): New functions.
15341 (gdb-discard-unordered-replies): New defcustom.
15342 (gdb-handler): New defstruct.
15343 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
15344 instead of gdb-pending-triggers. Update docstring.
15345 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
15346 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
15347 (gdb-var-update-handler, def-gdb-auto-update-trigger)
15348 (def-gdb-auto-update-handler, gdb-get-changed-registers)
15349 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
15350 (gdb-frame-handler): Pending triggers are now automatically managed.
15351 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
15352 Remove argument.
15353 (gdb-input): Automatically handles pending triggers. Update docstring.
15354 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
15355 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
15356 Update comments.
15357 (gdb-done-or-error): Now use gdb-handle-reply.
15358
15359 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15360
15361 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
15362 gdb-debug-log.
15363
15364 2013-05-14 Glenn Morris <rgm@gnu.org>
15365
15366 * subr.el (user-emacs-directory-warning): New option.
15367 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
15368
15369 2013-05-14 Leo Liu <sdl.web@gmail.com>
15370
15371 * progmodes/octave.el (octave-font-lock-keywords): Fix error
15372 during redisplay.
15373 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
15374 (octave-font-lock-texinfo-comment): Fix invalid search bound
15375 error: wrong side of point.
15376
15377 2013-05-14 Glenn Morris <rgm@gnu.org>
15378
15379 * progmodes/flymake.el (flymake-xml-program): New option.
15380 (flymake-xml-init): Use it.
15381
15382 * term/xterm.el: Provide a feature.
15383
15384 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
15385
15386 2013-05-13 Glenn Morris <rgm@gnu.org>
15387
15388 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
15389 Add compat aliases as a hack workaround. (Bug#14384)
15390
15391 2013-05-13 Leo Liu <sdl.web@gmail.com>
15392
15393 * progmodes/octave.el (octave-indent-comment): Fix indentation for
15394 ###, and %!.
15395 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
15396 C-M-q.
15397 (octave-comment-start-skip): Include %!.
15398 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
15399
15400 2013-05-12 Leo Liu <sdl.web@gmail.com>
15401
15402 * progmodes/octave.el (inferior-octave-startup): Store the value
15403 of __octave_srcdir__ for octave-source-directories.
15404 (inferior-octave-check-process): New function refactored out of
15405 inferior-octave-send-list-and-digest.
15406 (octave-source-directories)
15407 (octave-find-definition-filename-function): New variables.
15408 (octave-source-directories)
15409 (octave-find-definition-default-filename): New functions.
15410 (octave-find-definition): Improve to find functions implemented in C++.
15411
15412 2013-05-12 Glenn Morris <rgm@gnu.org>
15413
15414 * calendar/diary-lib.el (diary-outlook-format-1):
15415 Don't include dayname in the output. (Bug#14349)
15416
15417 2013-05-11 Glenn Morris <rgm@gnu.org>
15418
15419 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
15420
15421 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
15422 Treat cc-provide like provide.
15423
15424 2013-05-11 Kevin Ryde <user42@zip.com.au>
15425
15426 * cus-dep.el (custom-make-dependencies):
15427 Use generated-autoload-load-name for the sake of files such
15428 such cedet/semantic/bovine/c.el, where the base file name
15429 is not in load-path. (Bug#5277)
15430
15431 2013-05-11 Glenn Morris <rgm@gnu.org>
15432
15433 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
15434 Provide features.
15435
15436 2013-05-11 Leo Liu <sdl.web@gmail.com>
15437
15438 * progmodes/octave.el (octave-indent-comment): Improve.
15439 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
15440 (octave-eldoc-function-signatures, octave-eldoc-function):
15441 New functions.
15442 (octave-mode, inferior-octave-mode): Add eldoc support.
15443
15444 2013-05-11 Richard Stallman <rms@gnu.org>
15445
15446 * epa.el (epa-decrypt-file): Take output file name as argument
15447 and read it using `interactive'.
15448
15449 2013-05-11 Leo Liu <sdl.web@gmail.com>
15450
15451 * progmodes/octave.el (octave-beginning-of-line)
15452 (octave-end-of-line): Check before using up-list because it jumps
15453 out of more syntactic contructs since moving to smie.
15454 (octave-indent-comment): New function.
15455 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
15456 (octave-begin-keywords, octave-end-keywords)
15457 (octave-reserved-words, octave-smie-bnf-table)
15458 (octave-smie-rules): Add new keywords from Octave 3.6.4.
15459
15460 2013-05-11 Glenn Morris <rgm@gnu.org>
15461
15462 * faces.el (internal-face-x-get-resource):
15463 * frame.el (ns-display-monitor-attributes-list):
15464 * calc/calc-aent.el (math-to-radians-2):
15465 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
15466 Fix declarations.
15467
15468 * calc/calc-menu.el: Make it loadable in isolation.
15469
15470 * net/eudcb-bbdb.el: Make it loadable without bbdb.
15471 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
15472 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
15473 (eudc-bbdb-query-internal): Require 'bbdb.
15474
15475 * lpr.el (lpr-headers-switches):
15476 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
15477
15478 * progmodes/sql.el (sql-login-params): Fix and improve :type.
15479
15480 * emulation/edt-mapper.el: In batch mode, error rather than hang.
15481
15482 * term.el (term-set-escape-char): Make it idempotent.
15483
15484 2013-05-10 Leo Liu <sdl.web@gmail.com>
15485
15486 * progmodes/octave.el (inferior-octave-completion-table):
15487 No longer a function and all uses changed. Use cache to speed up
15488 completion due to bug#11906.
15489 (octave-beginning-of-defun): Re-write to be more general.
15490
15491 2013-05-10 Glenn Morris <rgm@gnu.org>
15492
15493 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
15494
15495 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
15496
15497 * comint.el (comint-redirect-send-command-to-process): Use :around
15498 rather than :override for comint-redirect-filter.
15499 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
15500 Call it instead of comint-redirect-original-filter-function (which
15501 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
15502
15503 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
15504
15505 * frame.el (display-monitor-attributes-list): Add NS case.
15506 (ns-display-monitor-attributes-list): Declare.
15507
15508 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
15509
15510 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
15511
15512 2013-05-09 Glenn Morris <rgm@gnu.org>
15513
15514 * international/fontset.el (vertical-centering-font-regexp):
15515 Set standard-value.
15516
15517 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
15518
15519 * bookmark.el (bookmark-search-delay):
15520 * cus-start.el (vertical-centering-font-regexp):
15521 * ps-mule.el (ps-mule-font-info-database-default):
15522 * ps-print.el (ps-default-fg, ps-default-bg):
15523 * type-break.el (type-break-good-break-interval):
15524 * whitespace.el (whitespace-indentation-regexp)
15525 (whitespace-space-after-tab-regexp):
15526 * emacs-lisp/testcover.el (testcover-1value-functions)
15527 (testcover-noreturn-functions, testcover-progn-functions)
15528 (testcover-prog1-functions):
15529 * emulation/viper-init.el (viper-emacs-state-cursor-color):
15530 * eshell/em-glob.el (eshell-glob-translate-alist):
15531 * play/tetris.el (tetris-tty-colors):
15532 * progmodes/cpp.el (cpp-face-default-list):
15533 * progmodes/flymake.el (flymake-allowed-file-name-masks):
15534 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
15535 (idlwave-help-browser-generic-args):
15536 * progmodes/make-mode.el (makefile-special-targets-list):
15537 * progmodes/python.el (python-shell-virtualenv-path):
15538 * progmodes/verilog-mode.el (verilog-active-low-regexp)
15539 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
15540 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
15541 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
15542 * textmodes/reftex-vars.el (reftex-format-label-function):
15543 * textmodes/remember.el (remember-diary-file): Fix custom types.
15544
15545 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
15546 Add :version.
15547
15548 2013-05-09 Leo Liu <sdl.web@gmail.com>
15549
15550 * progmodes/octave.el (inferior-octave-completion-at-point):
15551 Restore file completion. (Bug#14300)
15552 (inferior-octave-startup): Fix incorrect highlighting for the
15553 first prompt.
15554
15555 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15556
15557 * progmodes/ruby-mode.el: First cut at SMIE support.
15558 (ruby-use-smie): New var.
15559 (ruby-smie-grammar): New constant.
15560 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15561 (ruby-smie--forward-token, ruby-smie--backward-token)
15562 (ruby-smie-rules): New functions.
15563 (ruby-mode-variables): Setup SMIE if applicable.
15564
15565 2013-05-08 Eli Zaretskii <eliz@gnu.org>
15566
15567 * simple.el (line-move-visual): Signal beginning/end of buffer
15568 only if vertical-motion moved less than it was requested. Avoids
15569 silly incorrect error messages when there are display strings with
15570 multiple newlines at EOL.
15571
15572 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15573
15574 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15575 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15576 (prolog-char-quote-workaround):
15577 * progmodes/cperl-mode.el (cperl-under-as-char):
15578 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15579 Mark as obsolete.
15580 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15581 their declaration.
15582 (vhdl-mode-syntax-table-init): Remove.
15583
15584 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15585 last change.
15586
15587 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15588 syntax for "_".
15589 (ld-script-font-lock-keywords):
15590 Change regexps to use things like \_< and \_>.
15591
15592 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15593 Change all regexps to use things like \_< and \_>.
15594
15595 * progmodes/autoconf.el (autoconf-definition-regexp)
15596 (autoconf-font-lock-keywords, autoconf-current-defun-function):
15597 Handle a _ with symbol syntax.
15598 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15599
15600 * progmodes/ada-mode.el (ada-mode-abbrev-table):
15601 Consolidate declaration.
15602 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15603 the declaration.
15604 (ada-create-syntax-table): Remove.
15605 (ada-capitalize-word): Don't mess with the syntax of "_" since it
15606 already has the right syntax nowadays.
15607 (ada-goto-next-word): Don't change the syntax of "_".
15608
15609 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15610 with-wrapper-hook.
15611
15612 2013-05-08 Sam Steingold <sds@gnu.org>
15613
15614 * thingatpt.el (thing-at-point): Accept optional second argument
15615 NO-PROPERTIES to strip the text properties from the return value.
15616 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15617 to `thing-at-point' instead of stripping the properties ourselves.
15618 Also, when `thing-at-point' fails to find a url, prepend "http://"
15619 to the filename at point on the assumption that the user is
15620 pointing at something like gnu.org/gnu.
15621
15622 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
15623
15624 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15625 * faces.el (crm-separator):
15626 Silence byte-compiler.
15627
15628 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15629 (tool-bar-map): Remove unneeded defvars.
15630
15631 2013-05-08 Leo Liu <sdl.web@gmail.com>
15632
15633 Re-work a fix for bug#10994 based on Le Wang's patch.
15634 * ido.el (ido-remove-consecutive-dups): New helper.
15635 (ido-completing-read): Use it.
15636 (ido-chop): Revert fix for bug#10994.
15637
15638 2013-05-08 Adam Spiers <emacs@adamspiers.org>
15639
15640 * cus-edit.el (custom-save-variables):
15641 Pretty-print long values. (Bug#14187)
15642
15643 2013-05-08 Glenn Morris <rgm@gnu.org>
15644
15645 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15646 (m4-mode-syntax-table): Init in the defvar.
15647 (m4-mode-abbrev-table): Let define-derived-mode define it.
15648
15649 2013-05-08 Tom Tromey <tromey@redhat.com>
15650
15651 * progmodes/m4-mode.el (m4-mode-syntax-table):
15652 Do not treat "_" as word constituent. (Bug#14167)
15653
15654 2013-05-07 Glenn Morris <rgm@gnu.org>
15655
15656 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15657 Remove explicit eshell-isearch-cancel-map.
15658
15659 * progmodes/f90.el (f90-smart-end-names): New option.
15660 (f90-smart-end): Doc fix.
15661 (f90-end-block-optional-name): New constant.
15662 (f90-block-match): Respect f90-smart-end-names.
15663
15664 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15665
15666 * progmodes/octave.el (octave-smie-forward-token): Be more careful
15667 about implicit semi-colons (bug#14218).
15668
15669 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15670
15671 * frame.el (display-monitor-attributes-list)
15672 (frame-monitor-attributes): New functions.
15673
15674 2013-05-06 Leo Liu <sdl.web@gmail.com>
15675
15676 * progmodes/octave.el (octave-syntax-propertize-function): Change
15677 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15678 (octave-font-lock-keywords): Use octave-operator-regexp.
15679 (octave-completion-at-point): Rename from
15680 octave-completion-at-point-function.
15681 (inferior-octave-directory-tracker): Robustify.
15682 (octave-text-functions): Remove and fix its uses. No such things
15683 any more.
15684
15685 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15686
15687 * emacs-lisp/trace.el (trace--display-buffer): New function.
15688 (trace-make-advice): Use it.
15689
15690 2013-05-06 Juri Linkov <juri@jurta.org>
15691
15692 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15693 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15694 Doc fix.
15695 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15696 in the help string. (Bug#12985)
15697
15698 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15699
15700 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15701
15702 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15703
15704 * progmodes/perl-mode.el: Add support for here documents.
15705 (perl-syntax-propertize-function): Match here-doc markers.
15706 (perl-syntax-propertize-special-constructs): Find their end.
15707 (perl-imenu-generic-expression): Use [:alnum:].
15708
15709 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15710 (advice--add-function): Refresh the advice if already present
15711 (bug#14317).
15712
15713 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
15714
15715 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15716
15717 2013-05-06 Glenn Morris <rgm@gnu.org>
15718
15719 * w32-fns.el (w32-charset-info-alist): Declare.
15720
15721 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15722 of its defcustom properties.
15723 (eshell-cmpl-initialize): No need to load pcomplete.
15724
15725 * generic-x.el: No need to require comint when compiling.
15726
15727 * net/eudc-export.el: Make it loadable without bbdb.
15728 (top-level): Use require rather than load-library.
15729 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15730 (eudc-batch-export-records-to-bbdb)
15731 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15732 Require bbdb.
15733
15734 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15735
15736 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15737 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15738 some tweaks, instead.
15739
15740 2013-05-05 Leo Liu <sdl.web@gmail.com>
15741
15742 * progmodes/octave.el (octave-font-lock-keywords)
15743 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15744 (inferior-octave-send-list-and-digest): Improve error message.
15745 (octave-mode, inferior-octave-mode): Use setq-local.
15746 (octave-help): Set info-lookup-mode.
15747
15748 2013-05-05 Richard Stallman <rms@gnu.org>
15749
15750 * vc/compare-w.el (compare-windows-whitespace):
15751 Treat no-break space as whitespace.
15752
15753 * mail/rmailsum.el (rmail-summary-rmail-update):
15754 Detect empty summary and don't change selected message.
15755 (rmail-summary-goto-msg): Likewise.
15756
15757 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15758 Doc fixes, rename args.
15759
15760 2013-05-05 Alan Mackenzie <acm@muc.de>
15761
15762 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15763
15764 2013-05-05 Juri Linkov <juri@jurta.org>
15765
15766 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15767 to not add the length of the summary segment to the return value.
15768 (Bug#14125)
15769
15770 2013-05-05 Leo Liu <sdl.web@gmail.com>
15771
15772 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15773 (inferior-octave-output-filter): Remove.
15774 (octave-send-region, inferior-octave-startup): Fix callers.
15775 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15776 (octave-binary-file-extensions): New user variable.
15777 (octave-find-definition): Confirm if opening binary files.
15778 (octave-help-file): Use octave-find-definition to get the binary
15779 confirmation.
15780 (octave-help): Adjust for octave-help-file change.
15781
15782 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15783
15784 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15785 Merge the two entries that handle function definitions.
15786 (pascal--syntax-propertize): New const.
15787 (pascal-mode): Use it. Use setq-local.
15788
15789 2013-05-04 Glenn Morris <rgm@gnu.org>
15790
15791 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15792 (diary-from-outlook): Respect diary-from-outlook-function.
15793
15794 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15795
15796 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15797 Move the declaration from C.
15798 (read-minibuffer, eval-minibuffer): Move from C.
15799 (completion-setup-function): Avoid minibuffer-completion-contents.
15800
15801 2013-05-03 Leo Liu <sdl.web@gmail.com>
15802
15803 * progmodes/octave.el (octave-font-lock-keywords): Do not
15804 dehighlight 'end' in comments or strings.
15805 (octave-completing-read, octave-goto-function-definition):
15806 New helpers.
15807 (octave-help-buffer): New user variable.
15808 (octave-help-file, octave-help-function): New button types.
15809 (octave-help): New command and bind it to C-h ;.
15810 (octave-find-definition): New command and bind it to M-.
15811 (user-error): Alias to error if not defined.
15812
15813 2013-05-02 Leo Liu <sdl.web@gmail.com>
15814
15815 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15816 for \. (bug#14332)
15817 (octave-font-lock-keywords): Include [ and {.
15818
15819 2013-05-02 Leo Liu <sdl.web@gmail.com>
15820
15821 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15822 (inferior-octave): Remove calling comint-mode and return the buffer.
15823 (inferior-octave-startup): Cosmetic changes.
15824
15825 2013-05-02 Leo Liu <sdl.web@gmail.com>
15826
15827 * progmodes/octave.el (octave-syntax-propertize-function):
15828 Include the case when ' is at line beginning. (Bug#14336)
15829
15830 2013-05-02 Glenn Morris <rgm@gnu.org>
15831
15832 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15833 * desktop.el (vc-dir-mode): Just autoload it here.
15834
15835 2013-05-02 Alan Mackenzie <acm@muc.de>
15836
15837 Eliminate variable c-standard-font-lock-fontify-region-function.
15838 * progmodes/cc-mode.el
15839 (c-standard-font-lock-fontify-region-function): Remove.
15840 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15841
15842 2013-05-01 Leo Liu <sdl.web@gmail.com>
15843
15844 * progmodes/octave.el: Compatible with older emacs-24 releases.
15845 (inferior-octave-has-built-in-variables): Remove. Built-in
15846 variables were removed from Octave in 2007.
15847 (inferior-octave-startup): Fix uses.
15848 (comint-line-beginning-position): Remove compatibility code for
15849 emacs 21.
15850
15851 2013-05-01 Juri Linkov <juri@jurta.org>
15852
15853 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15854
15855 2013-05-01 Juri Linkov <juri@jurta.org>
15856
15857 * comint.el (comint-previous-matching-input): Don't print message
15858 "History item: %d" when `isearch-mode' is active.
15859 (comint-history-isearch-message): Print message "History item: %d"
15860 when `comint-input-ring-index' is not empty and this function is
15861 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15862
15863 2013-05-01 Leo Liu <sdl.web@gmail.com>
15864
15865 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15866 definitions. Use completion-at-point to insert keywords.
15867 (octave-abbrev-start): Remove.
15868 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15869
15870 2013-04-30 Leo Liu <sdl.web@gmail.com>
15871
15872 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15873 change.
15874
15875 2013-04-30 Alan Mackenzie <acm@muc.de>
15876
15877 Handle arbitrarily long C++ member initialisation lists.
15878 * progmodes/cc-engine.el (c-back-over-member-initializers):
15879 new function.
15880 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15881 (most) member init lists.
15882
15883 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15884
15885 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15886 variable.
15887
15888 2013-04-30 Leo Liu <sdl.web@gmail.com>
15889
15890 * progmodes/octave.el (octave-variables): Remove. No builtin
15891 variables any more. All converted to functions.
15892 (octave-font-lock-keywords, octave-completion-at-point-function):
15893 Fix uses.
15894 (octave-font-lock-texinfo-comment): New user variable.
15895 (octave-texinfo-font-lock-keywords): New variable for texinfo
15896 comment block.
15897 (octave-function-comment-block): New face.
15898 (octave-font-lock-texinfo-comment): New function.
15899 (octave-mode): Font lock texinfo comment block.
15900
15901 2013-04-29 Leo Liu <sdl.web@gmail.com>
15902
15903 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15904 indexing expression.
15905 (octave-continuation-string): Do not use \.
15906 (inferior-octave-complete-impossible): Remove.
15907 (inferior-octave-completion-table)
15908 (inferior-octave-completion-at-point): Remove its uses.
15909 (inferior-octave-startup): completion_matches was introduced to
15910 Octave in 1996 so safe to assume it.
15911 (octave-function-file-comment): Improve to follow how Octave does it.
15912 (octave-update-function-file-comment): Tweak.
15913
15914 2013-04-29 Leo Liu <sdl.web@gmail.com>
15915
15916 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15917 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15918 (octave-function-file-comment): Fix typo.
15919 (octave-sync-function-file-names): Use read-char-choice.
15920
15921 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15922
15923 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15924 to t for the less important warnings.
15925
15926 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15927
15928 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15929
15930 2013-04-27 Glenn Morris <rgm@gnu.org>
15931
15932 * vc/log-view.el (log-view-current-entry):
15933 Treat "---" separator lines as part of the following rev. (Bug#14169)
15934
15935 2013-04-27 Juri Linkov <juri@jurta.org>
15936
15937 * subr.el (read-number): Doc fix about using it by interactive
15938 code letter `n'. (Bug#14254)
15939
15940 2013-04-27 Juri Linkov <juri@jurta.org>
15941
15942 * desktop.el (desktop-auto-save-timeout): New option.
15943 (desktop-file-checksum): New variable.
15944 (desktop-save): Add optional arg `auto-save' and don't auto-save
15945 if nothing changed.
15946 (desktop-auto-save-timer): New variable.
15947 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15948 (after-init-hook): Call `desktop-auto-save-set-timer'.
15949 Suggested by Reuben Thomas <rrt@sc3d.org> in
15950 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15951
15952 2013-04-27 Leo Liu <sdl.web@gmail.com>
15953
15954 * progmodes/octave.el (octave-function-file-p)
15955 (octave-skip-comment-forward, octave-function-file-comment)
15956 (octave-update-function-file-comment): New functions.
15957 (octave-mode-map): Bind C-c ; to
15958 octave-update-function-file-comment.
15959 (octave-mode-menu): Add octave-update-function-file-comment.
15960 (octave-mode, inferior-octave-mode): Fix doc-string.
15961 (octave-insert-defun): Conform to Octave's coding convention.
15962 (Bug#14285)
15963
15964 * files.el (basic-save-buffer): Don't let errors in
15965 before-save-hook prevent saving buffer.
15966
15967 2013-04-20 Roland Winkler <winkler@gnu.org>
15968
15969 * faces.el (read-face-name): Use completing-read if arg multiple
15970 is nil.
15971
15972 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15973
15974 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15975 displayed, move point to after the totals line.
15976 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15977 for the details.
15978
15979 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15980
15981 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15982 Add current dir to the load-path.
15983 (package-generate-autoloads): Don't rely on
15984 autoload-ensure-default-file.
15985
15986 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15987
15988 * textmodes/remember.el (remember-store-in-files): Document that
15989 the file name format is passed to `format-time-string'.
15990
15991 2013-04-26 Leo Liu <sdl.web@gmail.com>
15992
15993 * progmodes/octave.el (octave-sync-function-file-names): New function.
15994 (octave-mode): Use it in before-save-hook.
15995
15996 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15997
15998 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15999 (bug#14274).
16000
16001 * progmodes/octave.el (octave-smie-forward-token): Properly skip
16002 \n and comment, even if it's not an implicit ; (bug#14218).
16003
16004 2013-04-26 Glenn Morris <rgm@gnu.org>
16005
16006 * subr.el (read-number): Once more use `read' rather than
16007 `string-to-number', to trap non-numeric input. (Bug#14254)
16008
16009 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
16010
16011 * emacs-lisp/syntax.el (syntax-propertize-multiline):
16012 Use `syntax-multiline' text property consistently instead of
16013 `font-lock-multiline'. (Bug#14237)
16014
16015 2013-04-26 Glenn Morris <rgm@gnu.org>
16016
16017 * emacs-lisp/shadow.el (list-load-path-shadows):
16018 No longer necessary to check for duplicate simple.el, since
16019 2012-07-07 change to init_lread to not include installation lisp
16020 directories in load-path when running uninstalled. (Bug#14270)
16021
16022 2013-04-26 Leo Liu <sdl.web@gmail.com>
16023
16024 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
16025 (octave-mode, inferior-octave-mode): Use setq-local.
16026 (octave-not-in-string-or-comment-p): Rename to
16027 octave-in-string-or-comment-p.
16028 (octave-in-comment-p, octave-in-string-p)
16029 (octave-in-string-or-comment-p): Replace defsubst with defun.
16030
16031 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
16032
16033 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
16034
16035 2013-04-25 Bastien Guerry <bzg@gnu.org>
16036
16037 * textmodes/remember.el (remember-data-directory)
16038 (remember-directory-file-name-format): Fix custom types.
16039
16040 2013-04-25 Leo Liu <sdl.web@gmail.com>
16041
16042 * progmodes/octave.el (octave-completion-at-point-function):
16043 Make use of inferior octave process.
16044 (octave-initialize-completions): Remove.
16045 (inferior-octave-completion-table): New function.
16046 (inferior-octave-completion-at-point): Use it.
16047 (octave-completion-alist): Remove.
16048
16049 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16050
16051 * progmodes/opascal.el: Use font-lock and syntax-propertize.
16052 (opascal-mode-syntax-table): New var.
16053 (opascal-literal-kind, opascal-is-literal-end)
16054 (opascal-literal-token-at): Rewrite.
16055 (opascal--literal-start-re, opascal-font-lock-keywords)
16056 (opascal--syntax-propertize): New constants.
16057 (opascal-font-lock-defaults): Adjust.
16058 (opascal-mode): Use them. Set comment-<foo> variables as well.
16059 (delphi-comment-face, opascal-comment-face, delphi-string-face)
16060 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
16061 (delphi-other-face, opascal-other-face): Remove face variables.
16062 (opascal-save-state): Remove macro.
16063 (opascal-fontifying-progress-step): Remove constant.
16064 (opascal--ignore-changes): Remove var.
16065 (opascal-set-token-property, opascal-parse-next-literal)
16066 (opascal-is-stable-literal, opascal-complete-literal)
16067 (opascal-is-literal-start, opascal-face-of)
16068 (opascal-parse-region, opascal-parse-region-until-stable)
16069 (opascal-fontify-region, opascal-after-change)
16070 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
16071 (opascal-debug-parse-region, opascal-debug-parse-window)
16072 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
16073 (opascal-debug-fontify-buffer): Remove.
16074 (opascal-debug-mode-map): Adjust accordingly.
16075
16076 2013-04-25 Leo Liu <sdl.web@gmail.com>
16077
16078 Merge octave-mod.el and octave-inf.el into octave.el with some
16079 cleanups.
16080 * progmodes/octave.el: New file renamed from octave-mod.el.
16081 * progmodes/octave-inf.el: Merged into octave.el.
16082 * progmodes/octave-mod.el: Renamed to octave.el.
16083
16084 2013-04-25 Tassilo Horn <tsdh@gnu.org>
16085
16086 * textmodes/reftex-vars.el
16087 (reftex-label-ignored-macros-and-environments): New defcustom.
16088
16089 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
16090
16091 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16092
16093 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
16094 (smie-indent-keyword): Improve the check to ensure that the next
16095 comment is really on the same line.
16096 (smie-indent-comment): Don't align with a subsequent closer (or eob).
16097
16098 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
16099 semi-colons if the line is not otherwise empty (bug#14218).
16100
16101 2013-04-25 Glenn Morris <rgm@gnu.org>
16102
16103 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
16104
16105 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
16106
16107 * progmodes/opascal.el (opascal-set-token-property): Rename from
16108 opascal-set-text-properties and only set `token' (bug#14134).
16109 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
16110 (opascal-literal-text-properties): Remove.
16111 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
16112 Adjust callers.
16113
16114 2013-04-24 Reuben Thomas <rrt@sc3d.org>
16115
16116 * textmodes/remember.el (remember-handler-functions): Add an
16117 option for a new handler `remember-store-in-files'.
16118 (remember-data-directory, remember-directory-file-name-format):
16119 New options.
16120 (remember-store-in-files): New function to store remember notes
16121 as separate files within a directory.
16122
16123 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
16124
16125 * progmodes/compile.el (compilation-next-error-function):
16126 Pass "formats" to compilation-find-file (bug#11777).
16127
16128 2013-04-24 Glenn Morris <rgm@gnu.org>
16129
16130 * vc/vc-bzr.el (vc-bzr-print-log):
16131 * vc/vc-hg.el (vc-hg-print-log):
16132 * vc/vc-svn.el (vc-svn-print-log):
16133 Fix START-REVISION with LIMIT != 1. (Bug#14168)
16134
16135 * vc/vc-bzr.el (vc-bzr-print-log):
16136 * vc/vc-cvs.el (vc-cvs-print-log):
16137 * vc/vc-git.el (vc-git-print-log):
16138 * vc/vc-hg.el (vc-hg-print-log):
16139 * vc/vc-mtn.el (vc-mtn-print-log):
16140 * vc/vc-rcs.el (vc-rcs-print-log):
16141 * vc/vc-sccs.el (vc-sccs-print-log):
16142 * vc/vc-svn.el (vc-svn-print-log):
16143 * vc/vc.el (vc-print-log-internal): Doc fixes.
16144
16145 2013-04-23 Glenn Morris <rgm@gnu.org>
16146
16147 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
16148 Remove venerable code attempting to avoid substitute-command-keys.
16149
16150 2013-04-23 Tassilo Horn <tsdh@gnu.org>
16151
16152 * textmodes/reftex-vars.el (reftex-label-regexps):
16153 Call `reftex-compile-variables' after changes to this variable.
16154
16155 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
16156
16157 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
16158 Use lexical-binding.
16159 (jit-lock-force-redisplay): Use markers, check buffer's continued
16160 existence and beware narrowed buffers.
16161 (jit-lock-fontify-now): Adjust call accordingly.
16162
16163 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
16164
16165 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
16166 to avoid misleading the user.
16167
16168 2013-04-22 Leo Liu <sdl.web@gmail.com>
16169
16170 * info-look.el: Prefer latex2e.info. (Bug#14240)
16171
16172 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
16173
16174 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
16175
16176 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
16177 * net/tramp.el (tramp-call-process): ... here.
16178 (tramp-set-completion-function, tramp-parse-putty):
16179 * net/tramp-adb.el (tramp-adb-execute-adb-command):
16180 * net/tramp-gvfs.el (tramp-gvfs-send-command):
16181 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
16182 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
16183 (tramp-call-local-coding-command): Use `tramp-call-process'
16184 instead of `tramp-compat-call-process'.
16185
16186 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
16187 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
16188 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
16189 (tramp-find-inline-compress): Improve traces.
16190 (tramp-maybe-send-script): Check for Perl binary.
16191 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
16192
16193 2013-04-22 Daiki Ueno <ueno@gnu.org>
16194
16195 * epg.el (epg-context-pinentry-mode): New function.
16196 (epg-context-set-pinentry-mode): New function.
16197 (epg--start): Pass --pinentry-mode option to gpg command.
16198
16199 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
16200
16201 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
16202 `comint-dynamic-complete' is obsolete since 24.1, replaced by
16203 `completion-at-point'. (Bug#13774)
16204
16205 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
16206 default key binding for `describe-distribution' has been moved to
16207 `C-h C-o'. (Bug#13970)
16208
16209 2013-04-21 Glenn Morris <rgm@gnu.org>
16210
16211 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
16212 Add doc strings.
16213 (vc-print-log): Clarify interactive prompt.
16214
16215 2013-04-20 Glenn Morris <rgm@gnu.org>
16216
16217 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
16218 No longer include timestamp etc information.
16219
16220 2013-04-20 Roland Winkler <winkler@gnu.org>
16221
16222 * faces.el (read-face-name): Bug fix, return just one face if arg
16223 multiple is nil. (Bug#14209)
16224
16225 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16226
16227 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
16228 (remove-function): Autoload.
16229
16230 * comint.el (comint-redirect-original-filter-function): Remove.
16231 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
16232 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
16233 (vc-cvs-annotate-command):
16234 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
16235 * progmodes/prolog.el (prolog-consult-compile):
16236 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
16237 Use add/remove-function instead.
16238 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
16239 (gud-tooltip-process-output, gud-tooltip-tips):
16240 Use add/remove-function instead.
16241 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
16242 (scheme-interaction-mode, exit-scheme-interaction-mode):
16243 Use add/remove-function instead.
16244
16245 * vc/vc-dispatcher.el: Use lexical-binding.
16246 (vc--process-sentinel): Rename from vc-process-sentinel.
16247 Change last arg to be the code to run. Don't use vc-previous-sentinel
16248 and vc-sentinel-commands any more.
16249 (vc-exec-after): Allow code to be a function. Use add/remove-function.
16250 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
16251
16252 2013-04-19 Masatake YAMATO <yamato@redhat.com>
16253
16254 * progmodes/sh-script.el (sh-imenu-generic-expression):
16255 Handle function names with a single character. (Bug#14111)
16256
16257 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
16258
16259 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
16260 for subroutines defined in an eval (bug#14182).
16261
16262 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16263
16264 * bookmark.el (bookmark-completing-read): Improve handling of empty
16265 string (bug#14176).
16266
16267 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16268
16269 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
16270
16271 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
16272
16273 New faster Imenu implementation (bug#14058).
16274 * progmodes/python.el:
16275 (python-imenu-prev-index-position):
16276 (python-imenu-format-item-label-function)
16277 (python-imenu-format-parent-item-label-function)
16278 (python-imenu-format-parent-item-jump-label-function):
16279 New vars.
16280 (python-imenu-format-item-label)
16281 (python-imenu-format-parent-item-label)
16282 (python-imenu-format-parent-item-jump-label)
16283 (python-imenu--put-parent, python-imenu--build-tree)
16284 (python-imenu-create-index, python-imenu-create-flat-index)
16285 (python-util-popn): New functions.
16286 (python-mode): Set imenu-create-index-function to
16287 python-imenu-create-index.
16288
16289 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16290
16291 * winner.el (winner-active-region): Use region-active-p, activate-mark
16292 and deactivate-mark (bug#14225).
16293
16294 * simple.el (deactivate-mark): Don't inline it.
16295
16296 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
16297
16298 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
16299
16300 2013-04-18 Tassilo Horn <tsdh@gnu.org>
16301
16302 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
16303 file extensions from the archive-mode entry in order to prefer
16304 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
16305
16306 2013-04-18 Leo Liu <sdl.web@gmail.com>
16307
16308 * bindings.el (help-event-list): Add ?\?.
16309
16310 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16311
16312 * subr.el (with-wrapper-hook): Declare obsolete.
16313 * simple.el (filter-buffer-substring-function): New hook.
16314 (filter-buffer-substring): Use it.
16315 (filter-buffer-substring-functions): Mark obsolete.
16316 * minibuffer.el (completion-in-region-function): New hook.
16317 (completion-in-region): Use it.
16318 (completion-in-region-functions): Mark obsolete.
16319 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
16320 * abbrev.el (abbrev-expand-function): New hook.
16321 (expand-abbrev): Use it.
16322 (abbrev-expand-functions): Mark obsolete.
16323 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
16324 and :filter-return.
16325
16326 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16327
16328 * progmodes/python.el (python-nav--syntactically): Fix cornercases
16329 and do not care about match data.
16330
16331 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16332
16333 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
16334 completion tables when completing error conditions and
16335 `declare' arguments.
16336 (lisp-complete-symbol, field-complete): Mark as obsolete.
16337 (check-parens): Unmatched parens are user errors.
16338 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
16339
16340 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
16341
16342 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
16343 command changed buffer (ie. `flyspell-pre-buffer' is not current
16344 buffer), which prevents making decisions based on invalid value of
16345 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
16346 cause an error when `flyspell-pre-point' was nil after switching
16347 buffers.
16348 (flyspell-post-command-hook): No longer needs to change buffers when
16349 checking pre-word. While at it remove unnecessary progn.
16350
16351 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
16352
16353 * textmodes/ispell.el (ispell-add-per-file-word-list):
16354 Fix `flyspell-correct-word-before-point' error when accepting
16355 words and `coment-padding' is an integer by using
16356 `comment-normalize-vars' (Bug #14214).
16357
16358 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16359
16360 New defun movement commands.
16361 * progmodes/python.el (python-nav--syntactically)
16362 (python-nav--forward-defun, python-nav-backward-defun)
16363 (python-nav-forward-defun): New functions.
16364
16365 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16366
16367 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
16368 (python-syntax-context): Use named compiler-macro for backwards
16369 compatibility with Emacs 24.x.
16370
16371 2013-04-17 Leo Liu <sdl.web@gmail.com>
16372
16373 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
16374 octave-hide-process-buffer.
16375
16376 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16377
16378 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
16379 (bug#14216).
16380
16381 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
16382
16383 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
16384 Fix adjustment of offset when receiving incomplete responses from GDB
16385 (bug#14129).
16386
16387 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16388
16389 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
16390 python-mode-abbrev-table.
16391 (python-skeleton-define): Adjust accordingly.
16392 (python-mode-abbrev-table): New table that inherits from it so that
16393 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
16394
16395 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
16396 (abbrev-symbol): Use it.
16397 (abbrev--before-point): Use it since we already handle inheritance.
16398
16399 2013-04-16 Leo Liu <sdl.web@gmail.com>
16400
16401 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
16402 binding to info-lookup-symbol.
16403
16404 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
16405
16406 * minibuffer.el (completion--twq-all):
16407 * term/ns-win.el (ns-initialize-window-system):
16408 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
16409
16410 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16411
16412 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
16413 global bindings.
16414
16415 * doc-view.el (doc-view-start-process): Handle url-handler directories.
16416
16417 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
16418
16419 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
16420 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
16421 to nil.
16422 (ruby-end-of-defun): Remove the unused arg, change the docstring
16423 to reflect that this function is only used as the value of
16424 `end-of-defun-function'.
16425 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
16426 to reflect an earlier change that beginning/end-of-defun functions
16427 jump between methods in a class definition, as well as top-level
16428 functions.
16429
16430 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16431
16432 * minibuffer.el (minibuffer-complete): Don't just scroll
16433 a *Completions* that's been iconified.
16434 (minibuffer-force-complete): Make sure repetitions do cycle when going
16435 through completion-in-region -> minibuffer-complete.
16436
16437 2013-04-15 Alan Mackenzie <acm@muc.de>
16438
16439 Correct the placement of c-cpp-delimiters when there're #s not at
16440 col 0.
16441
16442 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
16443 place a submatch around the #.
16444 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
16445 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
16446 on the #, not BOL.
16447
16448 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16449
16450 * emacs-lisp/nadvice.el: Properly test names when adding advice.
16451 (advice--member-p): New arg `name'.
16452 (advice--add-function, advice-member-p): Use it (bug#14202).
16453
16454 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
16455
16456 Reformulate java imenu-generic-expression.
16457 The old expression contained ill formed regexps.
16458
16459 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
16460 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
16461 (cc-imenu-java-method-arg-regexp): New defconsts.
16462 (cc-imenu-java-build-type-args-regex): New defun.
16463 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
16464 handling of spaces in the regexp.
16465
16466 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16467
16468 * textmodes/ispell.el (ispell-command-loop): Remove
16469 flyspell highlight of a word when ispell accepts it (bug #14178).
16470
16471 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
16472
16473 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
16474 uses code from the previous `ange-ftp-run-real-handler'.
16475 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
16476 only in case that function exist. This is needed for proper
16477 unloading of Tramp.
16478
16479 2013-04-15 Tassilo Horn <tsdh@gnu.org>
16480
16481 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
16482
16483 * textmodes/reftex.el (reftex-compile-variables): Use it.
16484
16485 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16486
16487 * files.el (normal-mode): Only use default major-mode if no other mode
16488 was specified.
16489
16490 * emacs-lisp/trace.el (trace-values): New function.
16491
16492 * files.el: Allow : in local variables (bug#14089).
16493 (hack-local-variable-regexp): New var.
16494 (hack-local-variables-prop-line, hack-local-variables): Use it.
16495
16496 2013-04-13 Roland Winkler <winkler@gnu.org>
16497
16498 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
16499 data before it gets modified by bibtex-beginning-of-entry.
16500
16501 2013-04-13 Roland Winkler <winkler@gnu.org>
16502
16503 * textmodes/bibtex.el (bibtex-url): Doc fix.
16504
16505 2013-04-13 Roland Winkler <winkler@gnu.org>
16506
16507 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
16508 does not visit a BibTeX file, exclude it from the list of buffers
16509 returned by bibtex-initialize.
16510
16511 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
16512
16513 * window.el (split-window): Remove interactive form, since as a
16514 command this function is a special case of split-window-below.
16515 Correct doc string.
16516
16517 2013-04-12 Roland Winkler <winkler@gnu.org>
16518
16519 * faces.el (read-face-name): Do not override value of arg default.
16520 Allow single faces and strings as default values. Remove those
16521 elements from return value that are not faces.
16522 (describe-face): Simplify.
16523 (face-at-point): New optional args thing and multiple so that this
16524 function can provide the same functionality previously provided by
16525 read-face-name.
16526 (make-face-bold, make-face-unbold, make-face-italic)
16527 (make-face-unitalic, make-face-bold-italic, invert-face)
16528 (modify-face, read-face-and-attribute): Use face-at-point.
16529
16530 * cus-edit.el (customize-face, customize-face-other-window)
16531 * cus-theme.el (custom-theme-add-face)
16532 * face-remap.el (buffer-face-set)
16533 * facemenu.el (facemenu-set-face): Use face-at-point.
16534
16535 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
16536
16537 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
16538
16539 2013-04-10 Tassilo Horn <tsdh@gnu.org>
16540
16541 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
16542 off leading { and trailing } from field values.
16543
16544 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16545
16546 * emacs-lisp/timer.el (timer--check): New function.
16547 (timer--time, timer-set-function, timer-event-handler): Use it.
16548 (timer-set-idle-time): Simplify.
16549 (timer--activate): CSE.
16550 (timer-event-handler): Give more info in error message.
16551 (internal-timer-start-idle): New function, moved from C.
16552
16553 * mpc.el (mpc-proc): Add `restart' argument.
16554 (mpc-proc-cmd): Use it.
16555 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
16556 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
16557 less often.
16558
16559 2013-04-10 Masatake YAMATO <yamato@redhat.com>
16560
16561 * progmodes/sh-script.el: Implement `sh-mode' own
16562 `add-log-current-defun-function' (bug#14112).
16563 (sh-current-defun-name): New function.
16564 (sh-mode): Use the function.
16565
16566 2013-04-09 Bastien Guerry <bzg@gnu.org>
16567
16568 * simple.el (choose-completion-string): Fix docstring (bug#14163).
16569
16570 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
16571
16572 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16573
16574 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16575 timer (bug#14156).
16576
16577 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
16578
16579 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16580 declaration.
16581
16582 2013-04-07 Leo Liu <sdl.web@gmail.com>
16583
16584 * pcmpl-x.el: New file.
16585
16586 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
16587
16588 Do not set x-display-name until X connection is established.
16589 This is needed to prevent from weird situation described at
16590 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16591 * frame.el (make-frame): Set x-display-name after call to
16592 window system initialization function, not before.
16593 * term/x-win.el (x-initialize-window-system): Add optional
16594 display argument and use it.
16595 * term/w32-win.el (w32-initialize-window-system):
16596 * term/ns-win.el (ns-initialize-window-system):
16597 * term/pc-win.el (msdos-initialize-window-system):
16598 Add compatible optional display argument.
16599
16600 2013-04-06 Eli Zaretskii <eliz@gnu.org>
16601
16602 * files.el (normal-backup-enable-predicate): On MS-Windows and
16603 MS-DOS compare truenames of temporary-file-directory and of the
16604 file, so that 8+3 aliases (usually found in $TEMP on Windows)
16605 don't fail comparison by compare-strings. Also, compare file
16606 names case-insensitively on MS-Windows and MS-DOS.
16607
16608 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16609
16610 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16611 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16612
16613 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
16614
16615 * whitespace.el (whitespace-color-on, whitespace-color-off):
16616 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16617
16618 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
16619
16620 * ispell.el (ispell-set-spellchecker-params):
16621 Really set `ispell-args' for all equivs.
16622
16623 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16624
16625 * ido.el (ido-completions): Use extra elements of ido-decorations
16626 (bug#14143).
16627 (ido-decorations): Update docstring.
16628
16629 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
16630
16631 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16632 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16633 nil during initialization, in order not to miss changes since the
16634 file was opened. (Bug#14140)
16635
16636 2013-04-05 Leo Liu <sdl.web@gmail.com>
16637
16638 * kmacro.el (kmacro-call-macro): Fix bug#14135.
16639
16640 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
16641
16642 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16643
16644 2013-04-04 Glenn Morris <rgm@gnu.org>
16645
16646 * electric.el (electric-pair-inhibit-predicate): Add :version.
16647
16648 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16649
16650 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16651 when a package is required several times (bug#14082).
16652
16653 2013-04-04 Roland Winkler <winkler@gnu.org>
16654
16655 * faces.el (read-face-name): Behave as promised by the docstring.
16656 Assume that arg default is a list of faces.
16657 (describe-face): Call read-face-name with list of default faces.
16658
16659 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16660
16661 * bookmark.el: Fix deletion of bookmarks (bug#13972).
16662 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16663 (bookmark-bmenu-execute-deletions): Only skip first line if it's
16664 the header.
16665 (bookmark-exit-hook-internal): Save even if list is empty.
16666
16667 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
16668
16669 * emacs-lisp/package.el (package-pinned-packages): New var.
16670 (package--add-to-archive-contents): Obey it (bug#14118).
16671
16672 2013-04-03 Alan Mackenzie <acm@muc.de>
16673
16674 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16675 Also adapt to the new values of element 7 of a parse state.
16676
16677 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16678 parameter `not-in-delimiter'. Handle being inside comment opener.
16679 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16680 character in case we're typing a '*' after a '/'.
16681 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16682 instead by passing the parameter to c-state-pp-to-literal.
16683
16684 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16685 for elt. 7 of a parse state.
16686
16687 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16688
16689 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16690 * international/latin1-disp.el, international/mule-util.el:
16691 * language/cyril-util.el, language/european.el, language/ind-util.el:
16692 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16693 * language/tibetan.el, language/viet-util.el:
16694 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16695
16696 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16697
16698 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16699 (electric-pair-post-self-insert-function): Use it.
16700 (electric-pair-default-inhibit): New function, extracted from
16701 electric-pair-post-self-insert-function.
16702
16703 2013-03-31 Roland Winkler <winkler@gnu.org>
16704
16705 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16706
16707 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16708
16709 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16710
16711 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
16712
16713 Un-indent after "pass" and "return" statements (Bug#13888)
16714 * progmodes/python.el (python-indent-block-enders): New var.
16715 (python-indent-calculate-indentation): Use it.
16716
16717 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
16718
16719 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16720 defun. Defining it as defalias could introduce too eager
16721 byte-compiler optimization. (Bug#14030)
16722
16723 2013-03-30 Chong Yidong <cyd@gnu.org>
16724
16725 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16726
16727 2013-03-30 Leo Liu <sdl.web@gmail.com>
16728
16729 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16730 (kmacro-execute-from-register): Pass the keyboard macro to
16731 kmacro-call-macro or repeating won't work correctly.
16732
16733 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16734
16735 * progmodes/subword.el: Back to using `forward-symbol'.
16736
16737 * subr.el (forward-whitespace, forward-symbol)
16738 (forward-same-syntax): Move from thingatpt.el.
16739
16740 2013-03-29 Leo Liu <sdl.web@gmail.com>
16741
16742 * kmacro.el (kmacro-to-register): New command.
16743 (kmacro-execute-from-register): New function.
16744 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16745
16746 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16747
16748 * mpc.el: Use defvar-local and setq-local.
16749 (mpc--proc-connect): Connection failures are not bugs.
16750 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16751 (mpc-volume-map): Bind to the up-events.
16752
16753 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16754
16755 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16756 instead of `forward-symbol'.
16757
16758 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16759
16760 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16761 (edebug--recursive-edit): Use it.
16762 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16763 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16764
16765 2013-03-28 Leo Liu <sdl.web@gmail.com>
16766
16767 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16768
16769 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16770
16771 * facemenu.el (list-colors-callback): New defvar.
16772 (list-colors-redisplay): New function.
16773 (list-colors-display): Install list-colors-redisplay as the
16774 revert-buffer-function. (Bug#14063)
16775
16776 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16777
16778 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16779 and suffixes don't overlap (bug#14061).
16780
16781 * case-table.el: Use lexical-binding.
16782 (case-table-get-table): New function.
16783 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16784
16785 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16786
16787 * progmodes/subword.el: Add `superword-mode' to do word motion
16788 over symbol_words (parallels and leverages `subword-mode' which
16789 does word motion inside MixedCaseWords).
16790
16791 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16792
16793 * eshell/em-unix.el: Move su and sudo to...
16794 * eshell/em-tramp.el: ...Eshell tramp module.
16795
16796 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16797
16798 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16799 Change return value to be a sexp. Delay `get-buffer' to after
16800 restoring the desktop (bug#13951).
16801
16802 2013-03-26 Leo Liu <sdl.web@gmail.com>
16803
16804 * register.el: Move semantic tag handling back to
16805 cedet/semantic/senator.el. (Bug#14052)
16806
16807 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16808
16809 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16810 into the prompt either (bug#13963).
16811
16812 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16813
16814 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16815 part of "(error-foo)".
16816
16817 2013-03-24 Juri Linkov <juri@jurta.org>
16818
16819 * replace.el (list-matching-lines-prefix-face): New defcustom.
16820 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16821 `occur-engine' if `face-differs-from-default-p' returns t.
16822 (occur-engine): Add `,' inside backquote construct to evaluate
16823 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16824 Pass `prefix-face' to the functions `occur-context-lines' and
16825 `occur-engine-add-prefix'.
16826 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16827 `prefix-face' and propertize the prefix with `prefix-face'.
16828 (Bug#14017)
16829
16830 2013-03-24 Leo Liu <sdl.web@gmail.com>
16831
16832 * nxml/rng-valid.el (rng-validate-while-idle)
16833 (rng-validate-quick-while-idle): Guard against deleted buffer.
16834 (Bug#13999)
16835
16836 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16837 is the last entry in kill-buffer-hook.
16838
16839 * files.el (kill-buffer-hook): Doc fix.
16840
16841 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16842
16843 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16844 Make it safe-local.
16845
16846 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16847
16848 2013-03-23 Leo Liu <sdl.web@gmail.com>
16849
16850 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16851 Remove.
16852
16853 * nxml/rng-valid.el (rng-validate-mode)
16854 (rng-after-change-function, rng-do-some-validation):
16855 * nxml/rng-maint.el (rng-validate-buffer):
16856 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16857 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16858 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16859 (nxml-extend-after-change-region): Use with-silent-modifications.
16860
16861 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16862 timer-idle-list.
16863
16864 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16865 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16866 timer-idle-list. (Bug#13999)
16867
16868 2013-03-23 Juri Linkov <juri@jurta.org>
16869
16870 * info.el (info-index-match): New face.
16871 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16872 main pattern and add text properties with the new face to matches
16873 in index entries relative to the beginning of the index entry.
16874 (Bug#14015)
16875
16876 2013-03-21 Eric Ludlam <zappo@gnu.org>
16877
16878 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16879 Inhibit read only while inserting objects.
16880
16881 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16882
16883 * progmodes/cfengine.el: Update docs to mention
16884 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16885 symbol motion. Remove "_" from the word syntax.
16886
16887 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16888
16889 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16890 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16891
16892 2013-03-20 Juri Linkov <juri@jurta.org>
16893
16894 * info.el (Info-next-reference-or-link)
16895 (Info-prev-reference-or-link): New functions.
16896 (Info-next-reference, Info-prev-reference): Use them.
16897 (Info-try-follow-nearest-node): Handle footnote navigation.
16898 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16899
16900 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16901
16902 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16903 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16904
16905 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16906
16907 Suppress unnecessary non-ASCII chatter during build process.
16908 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16909 (batch-skkdic-convert): Suppress most of the chatter.
16910 It's not needed so much now that machines are faster,
16911 and its non-ASCII component was confusing; see Dmitry Gutov in
16912 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16913
16914 2013-03-20 Leo Liu <sdl.web@gmail.com>
16915
16916 * ido.el (ido-chop): Fix bug#10994.
16917
16918 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16919
16920 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16921 Remove vars.
16922 (whitespace-color-on, whitespace-color-off):
16923 Use `font-lock-fontify-buffer' (Bug#13817).
16924
16925 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16926
16927 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16928 remapping in mode-line.
16929 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16930
16931 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16932
16933 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16934 value for `whitespace-line' face (Bug#13875).
16935 (whitespace-font-lock-keywords): Change description.
16936 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16937 the constructed keywords instead.
16938 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16939
16940 2013-03-19 Leo Liu <sdl.web@gmail.com>
16941
16942 * progmodes/compile.el (compilation-display-error): New command.
16943 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16944 C-o. (Bug#13992)
16945
16946 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16947
16948 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16949
16950 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16951
16952 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16953
16954 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16955
16956 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16957
16958 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16959 * net/tramp-gvfs.el (top):
16960 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16961 (tramp-handle-shell-command): Use it.
16962 (tramp-dissect-file-name): Raise an error when hostname is a
16963 method name, and neither method nor user is specified.
16964
16965 * net/trampver.el: Update release number.
16966
16967 2013-03-18 Leo Liu <sdl.web@gmail.com>
16968
16969 Make sure eldoc can be turned off properly.
16970 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16971 eldoc-mode.
16972 (eldoc-display-message-p): Revert last change.
16973 (eldoc-display-message-no-interference-p)
16974 (eldoc-print-current-symbol-info): Tweak.
16975
16976 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16977
16978 * doc-view.el (doc-view-new-window-function): Check the new window
16979 overlay's display property instead the char property of the
16980 buffer's first char. Use `with-selected-window' instead of
16981 `save-window-excursion' with `select-window'.
16982 (doc-view-document->bitmap): Check the current doc-view overlay's
16983 display property instead the char property of the buffer's first char.
16984
16985 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16986
16987 Automate the build of ja-dic.el (Bug#13984).
16988 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16989 from the input, rather than assume that it's been done for us by the
16990 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16991 the current date into a ja-dic.el comment, as that complicates
16992 regression testing.
16993
16994 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16995
16996 * whitespace.el: Fix double evaluation.
16997 (whitespace-space, whitespace-hspace, whitespace-tab)
16998 (whitespace-newline, whitespace-trailing, whitespace-line)
16999 (whitespace-space-before-tab, whitespace-indentation)
17000 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
17001 obsolete defvars.
17002 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
17003 (whitespace-color-on): Use a single font-lock-add-keywords call.
17004 Fix double-evaluation of face variables.
17005
17006 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
17007
17008 * net/tramp-adb.el (tramp-adb-parse-device-names):
17009 Use `start-process' instead of `call-process'. Otherwise, the
17010 function might be blocked under MS Windows. (Bug#13299)
17011
17012 2013-03-17 Leo Liu <sdl.web@gmail.com>
17013
17014 Extend eldoc to display info in the mode-line. (Bug#13978)
17015 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
17016 (eldoc-mode-line-string): New variable.
17017 (eldoc-minibuffer-message): New function.
17018 (eldoc-message-function): New variable.
17019 (eldoc-message): Use it.
17020 (eldoc-display-message-p)
17021 (eldoc-display-message-no-interference-p):
17022 Support eldoc-post-insert-mode.
17023
17024 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
17025 (eval-expression): Run it.
17026
17027 2013-03-17 Roland Winkler <winkler@gnu.org>
17028
17029 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
17030 strings in the list of return values.
17031
17032 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
17033
17034 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
17035 radix before checking for HMS forms.
17036
17037 2013-03-16 Leo Liu <sdl.web@gmail.com>
17038
17039 * progmodes/scheme.el: Add indentation and font-locking for λ.
17040 (Bug#13975)
17041
17042 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
17043
17044 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
17045 token before point (bug#13942).
17046
17047 2013-03-16 Leo Liu <sdl.web@gmail.com>
17048
17049 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
17050
17051 2013-03-16 Eli Zaretskii <eliz@gnu.org>
17052
17053 * startup.el (command-line-normalize-file-name): Fix handling of
17054 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
17055 <xfq.free@gmail.com> in
17056 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
17057
17058 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
17059
17060 Sync with Tramp 2.2.7.
17061
17062 * net/trampver.el: Update release number.
17063
17064 2013-03-14 Tassilo Horn <tsdh@gnu.org>
17065
17066 * doc-view.el: Fix bug#13887.
17067 (doc-view-insert-image): Don't modify overlay associated to
17068 non-live windows, and implement horizontal centering of image in
17069 case it's smaller than the window.
17070 (doc-view-new-window-function): Force redisplay of new windows on
17071 doc-view buffers.
17072
17073 2013-03-13 Karl Fogel <kfogel@red-bean.com>
17074
17075 * saveplace.el (save-place-alist-to-file): Don't sort
17076 `save-place-alist', just pretty-print it (bug#13882).
17077
17078 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
17079
17080 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
17081 Check whether `default-file-name-coding-system' is bound.
17082 It isn't in XEmacs.
17083
17084 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
17085
17086 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
17087 backquotes for `obsolete' (bug#13929).
17088
17089 * international/mule.el (find-auto-coding): Include file name in
17090 obsolescence warning (bug#13922).
17091
17092 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
17093
17094 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
17095 for CFEngine 3-specific indentation.
17096 (cfengine3-indent-line): Use it. Fix up category regex.
17097 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
17098
17099 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17100
17101 * type-break.el (type-break-file-name):
17102 * textmodes/remember.el (remember-data-file):
17103 * strokes.el (strokes-file):
17104 * shadowfile.el (shadow-initialize):
17105 * saveplace.el (save-place-file):
17106 * ps-bdf.el (bdf-cache-file):
17107 * progmodes/idlwave.el (idlwave-config-directory):
17108 * net/quickurl.el (quickurl-url-file):
17109 * international/kkc.el (kkc-init-file-name):
17110 * ido.el (ido-save-directory-list-file):
17111 * emulation/viper.el (viper-custom-file-name):
17112 * emulation/vip.el (vip-startup-file):
17113 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
17114 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
17115
17116 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
17117
17118 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
17119 * language/thai-word.el: Switch to UTF-8.
17120
17121 See ChangeLog.16 for earlier changes.
17122
17123 ;; Local Variables:
17124 ;; coding: utf-8
17125 ;; End:
17126
17127 Copyright (C) 2011-2015 Free Software Foundation, Inc.
17128
17129 This file is part of GNU Emacs.
17130
17131 GNU Emacs is free software: you can redistribute it and/or modify
17132 it under the terms of the GNU General Public License as published by
17133 the Free Software Foundation, either version 3 of the License, or
17134 (at your option) any later version.
17135
17136 GNU Emacs is distributed in the hope that it will be useful,
17137 but WITHOUT ANY WARRANTY; without even the implied warranty of
17138 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17139 GNU General Public License for more details.
17140
17141 You should have received a copy of the GNU General Public License
17142 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.